Re: installing mac os x after

2003-01-06 Thread Rogerio Brito
On Jan 06 2003, florian wrote:
> i currently have a debian and mac os 9 installed. i was wondering if it
> could cause any trouble, if i install mac os
> 10.2 over the partion, which currently mac os 9 is using..

I don't think it would cause you a problem, except that MacOS X may
monopolize the boot process after it is installed.

If that is the case, then you can just re-run ybin after booting into
Linux (just hold the "option" key pressed right after the boot's
chime and select the Linux partition in the graphical bootloader).


[]s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Re: kernel compilation on powerbook g4(II)

2003-06-10 Thread Rogerio Brito

José Salavert Torres wrote:
I try to compile mol modules with this kernel and Ican't modversions.h is 
missing ???


Well, first of all, you'll have to make sure that you've compiled a
kernel before you compile modules for that kernel.

You'll also have to make sure to use a recent mol-modules-sources (like
the one in unstable) to use with recent benh kernels.

And don't forget to correct manually the ide-cd.h file, if the one
you're using declares, on line 440, the variable as "__u8 short"
(substitute that with "__u16").

Hope that this helps, Roger...

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogério Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Problems with SMP

2001-10-06 Thread Rogerio Brito

Hi, All.

Now, that I could get a 2.4 kernel compiled for my quite old
PowerMac 9500/180MP, I would like to get SMP working. This
machine is quite slow for a lot of tasks, including rendering
web pages. So, getting the second CPU working would actually
be a great boost of speed.

I have compiled a SMP kernel, but these are the messages that
I receive when the kernel is booting:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(...)
PowerMac motherboard: PowerMac 9500/9600
(...)
Entering SMP Mode...
Processor 1 is stuck.
(...)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

After this, /proc/cpuinfo only shows information about the
first CPU.

So, is this a known bug? Would the cause of this problem be
that I am booting with BootX? Should I send more information
to linux-kernel? Which information would be necessary?

I think that I'm falling in love with the PowerPC architecture
and if I get a bit more of speed, I'd love to help compiling
packages from the Debian repository or to help with anything
that I can to make Debian better.


Thanks in advance for any information, Roger...

P.S.: I'm attaching the complete dmesg output to give context to the
excerpts above.
Total memory = 64MB; using 128kB for hash table (at c036)
Linux version 2.4.10-ben0-2 ([EMAIL PROTECTED]) (gcc version 2.95.4 20010902 
(Debian prerelease)) #1 SMP Thu Oct 4 20:51:34 BRT 2001
Found a Grand Central mac-io controller, rev: 2, mapped at 0xfdd04000
PowerMac motherboard: PowerMac 9500/9600
Cache coherency enabled for bandit/PSX at 
Found Bandit PCI host bridge at 0xf200. Firmware bus number: 0->0
Cache coherency enabled for bandit/PSX at 
Found Bandit PCI host bridge at 0xf400. Firmware bus number: 1->1
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/sda8
System has 32 possible interrupts
GMT Delta read from XPRAM: -180 minutes, DST: off
via_calibrate_decr: ticks per jiffy = 112500 (675005 ticks)
Console: colour dummy device 80x25
Calibrating delay loop... 359.62 BogoMIPS
Memory: 60928k available (1212k kernel code, 1892k data, 240k init, 0k highmem)
AGP special page: 0xc3fff000
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Entering SMP Mode...
Processor 1 is stuck.
PCI: Probing PCI hardware
Macintosh CUDA driver v0.5 for Unified ADB.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Console: switching to colour frame buffer device 104x39
fb0: IMS TT (IBM) frame buffer; 4MB vram; chip version 2
MacOS display is /bandit/IMS,tt128mbA
input0: Macintosh mouse button emulation
pty: 256 Unix98 ptys configured
block: 128 slots per queue, batch=16
fd0: SWIM3 floppy controller 
eth0: MACE at 00:05:02:1c:29:41, chip revision 25.64
SCSI subsystem driver Revision: 1.00
scsi0 : MESH
mesh: target 0 synchronous at 10.0 MB/s
  Vendor: QUANTUM   Model: FIREBALL_TM3200S  Rev: 300N
  Type:   Direct-Access  ANSI SCSI revision: 02
mesh: target 3 synchronous at 10.0 MB/s
  Vendor: MATSHITA  Model: CD-ROM CR-8008Rev: 8.0h
  Type:   CD-ROM ANSI SCSI revision: 02
scsi1 : 53C94
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 6281856 512-byte hdwr sectors (3216 MB)
Partition check:
 sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
PowerMac Z8530 serial driver version 2.0
tty00 at 0xc5420020 (irq = 15) is a Z8530 ESCC, port = modem
tty01 at 0xc5427000 (irq = 16) is a Z8530 ESCC, port = printer
Macintosh non-volatile memory driver v1.0
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
adb: starting probe task...
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 240k init 8k chrp 8k prep
adb devices: [2]: 2 2 [3]: 3 1
ADB keyboard at 2, handler set to 3
ADB HID on ID 2 not yet registered, packet 0x2c, 0xb9, 0xff, 0x0
Detected ADB keyboard, type ANSI.
input1: ADB HID on ID 2:2.02
ADB mouse at 3, handler set to 2
input2: ADB HID on ID 3:3.01
adb: finished probe task...
Adding Swap: 257508k swap-space (priority -1)


Problems with java applets on PPC

2002-06-08 Thread Rogerio Brito

Dear people,

I am trying to access my bank which, unfortunately, uses a
Java applet for password input (yes, I know it is stupid, but
I can't change the bank -- otherwise, I wouldn't receive the
financial support for my graduate study).

The problem is that when mozilla/galeon/etc tries to load the
applet in https://www2.bancobrasil.com.br/aapf/aai/login.pbk,
the place of the java applet shows "loading java applet" (or
something similar) and then browser immediately dies.

I'm currently using Debian's sid on an iBook 2, 600MHz, combo
(powerpc) and I installed the last version of the blackdown
Java sdk for powerpc (1.3.1 fcs02b).

When I go to other pages with applets (like java.sun.com), the
applets work fine, but that particular page seems to have a
problem and I unfortunately don't know anything about Java.

Debian's mozilla just dies silently, but Mozilla 1.0 compiled
for PowerPC/Linux taken from mozilla.org shows a backtrace
after the crash (I'm sending it with this message).

The crash is 100% reproducible with this computer.

BTW, the applet works with "other" operating systems (read:
MacOS X), which would indicate that probably the problem is
not with the applet.

So, is there any help? I'd love to be able to access my bank
with Linux. Is the problem the fact that the page is using
Secure HTTP?

Any comments are welcome. Please let me know if any extra
information is needed.



Thanks for any help, Roger.

P.S.: As a side comment, the Blackdown project announced that they
would release Debian packages of their last release, but it seems that
they haven't released anything yet. Is there any information on the
progress of the packaging available?
FATAL ERROR in native method: Native code expects wrong return type from Java 
callback
at sun.plugin.protocol.https.BrowserHttpsInputStream.readStream(Native 
Method)
at 
sun.plugin.protocol.https.BrowserHttpsInputStream.read(BrowserHttpsInputStream.java:167)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
at 
java.net.URLConnection.guessContentTypeFromStream(URLConnection.java:1160)
at 
sun.plugin.protocol.https.BrowserHttpsURLConnection.getInputStream(BrowserHttpsURLConnection.java:321)
at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:135)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:43)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:56)
at 
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:88)
at 
sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:72)
at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:500)
at sun.misc.URLClassPath$JarLoader.(URLClassPath.java:462)
at sun.misc.URLClassPath$2.run(URLClassPath.java:258)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:247)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:224)
at sun.misc.URLClassPath.getResource(URLClassPath.java:137)
at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:129)
at 
sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:269)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:468)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:586)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1316)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at 
sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:131)
at 
sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:127)
at java.lang.Thread.run(Thread.java:484)
SIGABRT   6*   abort (generated by abort(3) routine, also SIGIOT)
si_signo [6]: SIGABRT   6*   abort (generated by abort(3) routine, also 
SIGIOT)
si_errno [0]: Success
si_code [0]: SI_USER [pid: 8577, uid: 1000]
stackpointer=0x7dffe4ac

Full thread dump Classic VM (Blackdown-1.3.1-02b-FCS, native threads):
"Thread-4" (TID:0x30cef228, sys_thread_t:0x10411218, state:R, native 
ID:0x480e) prio=4
a