Mol on 603

Anne et Bertrand mol-general@lists.maconlinux.org
Tue, 9 Jul 2002 01:31:40 +0200


I finally compiled  mol-0.9.64 and modules against my 2.4.4 kernel,
without moldeb and the tun module.

But I didn't have success in running mol yet.

Here is what I have with startmol --test :

Mac-on-Linux 0.9.64 Copyright (C) 1997-2002 Samuel Rydh
Config dir: /etc/mol
Data dir: /usr/share/mol/0.9.64
Session 0. Lockfile: /var/lock/mol-0
Removing stale lockfile /var/lock/mol-0
Debugger nub disabled
The session save/restore feature is disabled
OF device tree: oftrees/oftree.elf
Timebase frequency: 10.00 MHz
48MB RAM mapped at 0x40000000
Unknown processor id (0007)
Running in PowerPC G3 mode
Using Linux keycodes
No nvram found in device tree


And when I try  startmol in Xwindow mode, a window opens, mol finds
the rom file on the HFS partition, loads it and then mol's window
dies... but mol is still running without any CPU activity.
Here is the terminal output :

Mac-on-Linux 0.9.64 Copyright (C) 1997-2002 Samuel Rydh
Config dir: /etc/mol
Data dir: /usr/share/mol/0.9.64
Session 0. Lockfile: /var/lock/mol-0
Removing stale lockfile /var/lock/mol-0
Debugger nub disabled
The session save/restore feature is disabled
OF device tree: oftrees/oftree.nw
Timebase frequency: 10.00 MHz
48MB RAM mapped at 0x40000000
Unknown processor id (0007)
Running in PowerPC G3 mode
Using Linux keycodes
Using nvram-image '/var/lib/mol/nvram.nw'
Could not open '/var/lib/mol/x11.kbd'
Video module 'xvideo' installed.

MODE:  640* 480, depth 8,15   { 0.0 } Hz
MODE:  800* 600, depth 8,15   { 0.0 } Hz
MODE: 1024* 768, depth 8,15   { 0.0 } Hz
MODE: 1152* 864, depth 8,15   { 0.0 } Hz
MODE: 1280*1024, depth 8,15   { 0.0 } Hz
MODE: 1600*1200, depth 8,15   { 0.0 } Hz

Starting in video mode 800*600, depth 15, 0.0 Hz  [offs:0, rb:1600]
----> Sound Disabled. Failed to open /dev/dsp

HFS  images/moldisk.i MOL                <read-only>     0 MB HFS
/dev/sda5        Mac_externe        <read-write> 2500 MB HFS
/dev/sda6        Darwin             <read-write> 1339 MB HFS
/dev/hda5        Mac_interne        <read-write>  400 MB ------>
/dev/hda9 is linux-mounted with write privileges.
No volumes found in '/dev/sdb'

Searching /dev/hda5 for a 'Mac OS ROM' file

**** HINT ***********************************************
*  The ROM search can be speeded up by adding the line
*    macos_rompath: 'Dossier Systme:Mac OS ROM'
*  to the /etc/molrc file.
*********************************************************
Loading 'Dossier Systme:Mac OS ROM' from /dev/hda5

Mapping GC at 80800000

And here is what I get if I try to launch mol in console mode :

Mac-on-Linux 0.9.64 Copyright (C) 1997-2002 Samuel Rydh
Config dir: /etc/mol
Data dir: /usr/share/mol/0.9.64
Session 0. Lockfile: /var/lock/mol-0
Removing stale lockfile /var/lock/mol-0
Debugger nub disabled
The session save/restore feature is disabled
OF device tree: oftrees/oftree.nw
Timebase frequency: 10.00 MHz
48MB RAM mapped at 0x40000000
Unknown processor id (0007)
Running in PowerPC G3 mode
Using Linux keycodes
Using nvram-image '/var/lib/mol/nvram.nw'
Running on VT 8.
Could not open '/var/lib/mol/console.kbd'
Using usb mouse on /dev/input/mice
Cache enabled for console-video
Video module 'console_video' installed.

MODE:  640* 480, depth 8,15,32   { 59.9, 72.1, 74.9, 89.9, 99.7 } Hz
MODE:  800* 600, depth 8,15,32   { 56.2, 60.3, 70.0, 72.1, 74.8, 74.9,
89.9, 99.9 } Hz
MODE: 1024* 768, depth 8,15   { 60.0, 70.0, 72.2, 75.0, 75.0 } Hz
MODE: 1152* 864, depth 8,15   { 59.9 } Hz
MODE: 1280*1024, depth 8   { 60.0 } Hz

Starting in video mode 1024*768, depth 15, 60.0 Hz  [offs:0, rb:2048]
----> Sound Disabled. Failed to open /dev/dsp

HFS  images/moldisk.i MOL                <read-only>     0 MB HFS
/dev/sda5        Mac_externe        <read-write> 2500 MB HFS
/dev/sda6        Darwin             <read-write> 1339 MB HFS
/dev/hda5        Mac_interne        <read-write>  400 MB ------>
/dev/hda9 is linux-mounted with write privileges.
No volumes found in '/dev/sdb'

Searching /dev/hda5 for a 'Mac OS ROM' file

**** HINT ***********************************************
*  The ROM search can be speeded up by adding the line
*    macos_rompath: 'Dossier Systme:Mac OS ROM'
*  to the /etc/molrc file.
*********************************************************
Loading 'Dossier Systme:Mac OS ROM' from /dev/hda5

Mapping GC at 80800000
***** SIGNAL 1 [Hangup] in thread async-io thread *****
HUP: _pid 0, _uid 0. Last RVEC 0
Exiting due to a crashed thread
cleaning up...
async: safe_state never reached!

More  : I've got several kernel oops  during mol's boot process :

Jul  9 00:42:22Jul  9 00:42:22 localhost kernel: Oops: kernel access of 
bad area, sig: 11
Jul  9 00:42:22 localhost kernel: NIP: C78E2E08 XER: 20000000 LR: 
C78E2F5C SP: C3C11E10 REGS: c3c11d60 TRAP: 0300
Jul  9 00:42:22 localhost kernel: MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 
IR/DR: 11
Jul  9 00:42:22 localhost kernel: DAR: 00000000, DSISR: 20000000
Jul  9 00:42:22 localhost kernel: TASK = c3c10000[23619] 'mol' Last 
syscall: 201 Jul  9 00:42:22 localhost kernel: last math c22a2000 last 
altivec 00000000
Jul  9 00:42:22 localhost kernel: GPR00: 00000000 C3C11E10 C3C10000 
C06DF104 00000000 00000000 C06DF3C4 C04004A8 Jul  9 00:42:22 localhost 
kernel: GPR08: 00000000 00002000 002C3C81 00000000 48222888 1006D47C 
00000000 00000000 Jul  9 00:42:22 localhost kernel: GPR16: 20222404 
0EF39A00 0EF590FC 00000000 00009032 03C11E80 00000000 C0004490 Jul  9 
00:42:22 localhost kernel: GPR24: C00041C0 100450E0 30026AAC 7FFFF7E4 
C78F0000 C06DC000 C06DC000 00000000 Jul  9 00:42:22 localhost kernel: 
Call backtrace: Jul  9 00:42:22 localhost kernel: C78E2160 C78E2F5C 
C78DF8B8 C78DE2C4 C78E631C C000421C 1000CA8C Jul  9 00:42:22 localhost 
kernel: 100036BC 0FC39E30 00000000  localhost kernel: Oops: kernel 
access of bad area, sig: 11
Jul  9 00:42:22 localhost kernel: NIP: C78E2E08 XER: 20000000 LR: 
C78E2F5C SP: C3C11E10 REGS: c3c11d60 TRAP: 0300
Jul  9 00:42:22 localhost kernel: MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 
IR/DR: 11
Jul  9 00:42:22 localhost kernel: DAR: 00000000, DSISR: 20000000
Jul  9 00:42:22 localhost kernel: TASK = c3c10000[23619] 'mol' Last 
syscall: 201 Jul  9 00:42:22 localhost kernel: last math c22a2000 last 
altivec 00000000
Jul  9 00:42:22 localhost kernel: GPR00: 00000000 C3C11E10 C3C10000 
C06DF104 00000000 00000000 C06DF3C4 C04004A8 Jul  9 00:42:22 localhost 
kernel: GPR08: 00000000 00002000 002C3C81 00000000 48222888 1006D47C 
00000000 00000000 Jul  9 00:42:22 localhost kernel: GPR16: 20222404 
0EF39A00 0EF590FC 00000000 00009032 03C11E80 00000000 C0004490 Jul  9 
00:42:22 localhost kernel: GPR24: C00041C0 100450E0 30026AAC 7FFFF7E4 
C78F0000 C06DC000 C06DC000 00000000 Jul  9 00:42:22 localhost kernel: 
Call backtrace: Jul  9 00:42:22 localhost kernel: C78E2160 C78E2F5C 
C78DF8B8 C78DE2C4 C78E631C C000421C 1000CA8C Jul  9 00:42:22 localhost 
kernel: 100036BC 0FC39E30 00000000 

Any idea ?

I'll try to recompuile binutils and then mol.
And then i'll try to download a newer kernel if it doesn't work



Bertrand Dekoninck