Mol on 603 : early boot with kernel 2.4.18

Anne et Bertrand mol-general@lists.maconlinux.org
Wed, 10 Jul 2002 22:35:39 +0200


I've dowloaded the latest binaries from the ftp site of mol and am 
following my tests.

No success with my 2.4.4-6.2mdk kernel : I've got kernel oops and a 
crashed thread as with my own compilation of mol.src.rpm.

It's better with the 2.4.18-6.1 kernel : mol now boots, but is 
infinitly looping with a friendly mac screen at early boot of MacOS.

Here is the terminal output of startmol --test :

Config dir: /etc/mol
Data dir: /usr/share/mol/0.9.64
The kernel module '/usr/lib/mol/0.9.64/modules/2.4.18-6.1mdk/tun.o' 
appears to be missing.
Session 0. 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
60MB RAM mapped at 0x40000000
Unknown processor id (0007)
Running in PowerPC G3 mode
Using Linux keycodes
No nvram found in device tree
<*>  ******************************
  *    Testing performance     *
  ******************************

<*>  nop calibration     200.00 %
<*> --------- USER MODE ----------
<*>  li                  200.00 %
<*>  lwz 3,0(0)          124.99 %
<*>  lfd 3,0(0)          115.71 %
<*>  stfd 3,0(0)         117.65 %
<*>  b +4                 58.82 %
<*>  mftb                 62.50 %
<*>  mfctr                62.50 %
<*>  mtlr                 62.50 %
<*>  mflr                 61.59 %
<*>  isync                30.30 %
<*>  mfcr                 62.50 %
<*>  mtcrf 1,3            62.50 %
<*> --------- PRIVILEGED MODE ----
<*>  mfmsr                 0.60 %
<*>  mfmsr 3 . mtmsr 3     0.40 %
<*>  tlbie 3               0.88 %
<*>  tlbsync               0.97 %
<*>  mfsr                  0.93 %
<*>  mtsr                  0.58 %
<*>  mfsrin                0.85 %
<*>  mtsrin                0.77 %
<*>  mtsrr1                0.93 %
<*>  mfsrr1                0.95 %
<*>  mfdec                 0.59 %
<*>  mtdec                 0.75 %
<*>  mtdbatu 0,3           0.13 %
<*>  mtdbatl 0,3           0.15 %
<*>  mtibatu 0,3           0.15 %
<*>  mtibatl 0,3           0.14 %
<*>  mfspr 3, HID0         0.17 %
<*>  mtspr HID0,3          0.18 %
<*>  mfspr 3, HID1         0.19 %
<*>  mfspr 3, DBAR         0.17 %
<*>  ******************************
  *    Self-test successful    *
  ******************************

cleaning up...
Terminating threads...
DONE


And here is the log of startmol :

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
Debugger nub disabled
The session save/restore feature is disabled
OF device tree: oftrees/oftree.nw
Timebase frequency: 10.00 MHz
60MB 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.
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,15   { 60.0 } Hz
MODE: 1600*1200, depth 8,15   { 0.0 } Hz

Starting in video mode 640*480, depth 15, 72.1 Hz  [offs:0, rb:1280]
SIOCGIFFLAGS: No such device
Failed to initialize the sheep-<eth0> device
----> 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 No volumes 
found in '/dev/sdb'
No volumes found in '/dev/hdc'
HFS  /dev/hda5        Mac_interne        <read-write>  400 MB 
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
RTAS instantiated at 00004000
************ WARNING, phandle == 0 ***********
********* of_quiesce *********
>>> Unimplemented RTAS 'set-time-of-day' (7/1)
   000007D2   00000007   0000000A   00000016   00000021   00000006   
00000000 <*> kOpenCommand
X connection to :0.0 broken (explicit kill or server shutdown).
cleaning up...
Terminating threads...
DONE

And finally here is the output of startmol --linux

Mac-on-Linux 0.9.64 Copyright (C) 1997-2002 Samuel Rydh
Starting MOL session 3
Config dir: /etc/mol
Data dir: /usr/share/mol/0.9.64
Session 3. Lockfile: /var/lock/mol-3
Debugger nub disabled
The session save/restore feature is disabled
OF device tree: oftrees/oftree.linux
Timebase frequency: 10.00 MHz
64MB RAM mapped at 0x40000000
Unknown processor id (0007)
Running in PowerPC G3 mode
Using Linux keycodes
MOL PIC found
No nvram found in device tree
Could not open '/var/lib/mol/x11.kbd'
Video module 'xvideo' installed.
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,15   { 60.0 } Hz
MODE: 1600*1200, depth 8,15   { 0.0 } Hz

Starting in video mode 640*480, depth 15, 72.1 Hz  [offs:0, rb:1280]
HACK: Mapping framebuffer to 81000000

----> (disk_open) Opening /BK/debian: No such file or directory
Disk /dev/sda7                           <read-only>   500 MB 
Linux commandline: root=/dev/mol
Mapping GC at 80800000
X connection to :0.0 broken (explicit kill or server shutdown).
cleaning up...
Terminating threads...
DONE


B. Dekoninck