MOL on Powerbook G3's

Marcelo A. Ferreira Gomes mol-general@lists.maconlinux.org
Mon, 28 Oct 2002 12:47:32 -0300


At 12:05 +0100 28/10/2002, Jamie Maynard wrote:
>Hi did you check out my recent (end of September) HOWTO for Yellow Dog Linu=
x
>2.3 much of the content of this post applies to both 2.2 and 2.1.  To get
>the kmods working download the mol-kmods-0.9.65.src.rpm from the MOL web
>site and rebuild it using the following command:
>
># rpm --rebuild <src-rpm>
>
>And then install the recently created RPM which will be located in
>/usr/src/rpm/RPMS/ppc/
>
>This will provide you with MOL kmods suitable for your kernel.

This is the right procedure to try. But I have tried a desperate 
approach that worked for me in the past. If the above procedure 
fails, you could try to read the docs on insmod. It has a "force" 
flag, that makes it possible to force the loading of modules not 
specifically compiled for your kernel. Since your kernel version is 
close to the one the mol module was compiled for (2.4.18-0.8a vs 
2.4.18), it stands a big chance to work.

All you have to do is to manually insmod the mol module before 
running startmol. I don't have the details here (I'm running native 
Mac OS right now), but if you don't have the knowledge to figure them 
out, then this procedure is too dangerous for you to try. A full 
backup is never a bad idea, anyway.

Be warned: while it might actually work for you, there's no 
guarantee, and there is even a possibility that this procedure 
introduces instability or system crashes (kernel panic), freezing 
both linux and mol sides. The best scenario is everything working 
just fine, the worst is you losing all of your files.

>Jamie
>
>On 27/10/02 2:46 pm, "Paris Pender" <parisp@newton.hep.upenn.edu> wrote:
>
>  > Hi,
>  >
>  > I have tried upgrading to MOL 0.9.65 and running it, but this version
>  > lacks
>  > kernel support for my machine (even when installing the associated kmod=
s
>  > rpm as well).  0.9.65 has support for kernel 2.4.18, but I have kernel
>  > 2.4.18-0.8a.... which, despite the short suffix, makes MOL spit out a f=
ew
>  > lines which say that there was an error with the kernel.  (Here, I'm us=
ing
>  > the -a option for startmol to allow a kernel mismatch.)  When I try to
>  > take
>  > the kernel modules from MOL 0.9.60 and put them in the 0.9.65 folder, M=
OL
>  > realizes that I'm trying to do something tricky, and thusly scolds me.
>  >
>  > As for the lists, from what I've seen via searches, the only messages
>  > which
>  > were relevant to my problem were either for a slightly different system
>  > setup (i.e. a different laptop, Mac OS, or something else), or were
>  > threads
>  > which abruptly stopped just before they might answer my question.  So, =
no
>  > luck on that front either.
>  >
>  > So.. I'm still confused about how to make this work.  The setup
>  > instructions
>  > in the YDL install book made it sound very easy, but for some reason it
>  > just won't go.
>  >
>  > PTP
>  >
>  > On Sat, 26 Oct 2002, Jamie Maynard wrote:
>  >
>  >> Hi
>  >>
>  >> First off you may want to try upgrading to the latest version of MOL.
>  >> 0.9.60 is 5 versions out of date and there have been many 
>improvements since
>  >> the 0.9.60 release of MOL.
>  >>
>  >> Try this first.  Also I suggest looking at the archives as other 
>people have
>  >> reported similar problems with other types of hardware.  If you can't =
find
>  >> anything post back and we'll see If we can't help more.
>  >>
>  >> Jamie
>  >>
>  >>
>  >> On 26/10/02 8:14 pm, "Paris Pender" <parisp@newton.hep.upenn.edu> wrot=
e:
>  >>
>  >>> Hi,
>  >>>
>  >>> I've been trying to get MOL to work on my Powerbook G3 (1998 version,=
 I
>  >>> think), running a 300 MHz G3 with 64 Megs of RAM, and a 2 gig HD.  I'=
m
>  >>> running YDL, kernel 2.4.18-0.8a, in oldworld mode, and MOL version
>  >>> 0.9.60.  On the mac side I run OS 8.6.
>  >>>
>  >>> The problem is the following:  after typing in startmol, a window=
 pops up
>  >>> and I see the 'happy mac' face, but then nothing else happens.  MOL i=
s
>  >>> using up about 95% of my CPU, but isn't doing anything in its X-windo=
w.
>  >>> The onlyu thing I've done so far, besides running molvconfig, is to c=
opy
>  >>> the Mac OS ROM file from my install CD into my system folder
>  >>> (incidentally, copying it to the linux side and trying to get MOL to =
use
>  >>> it there doesn't work either), and change around a couple of the defa=
ult
>  >>> lines of the molrc file to suite my RAM specifications.  Any other
>  >>> fiddling with the molrc file, or various MOL configurations have not
>  >>> produced any effect.
>  >>>
>  >>> So, I'm wondering -- is there some trick to getting MOL to work on
>  >>> Powebooks?  It would be great if I could run my mac off the linux sid=
e,
>  >>> but thus far i've not been able to get the program to get past the 'h=
appy
>  >>> mac' face.  I've put MOL's output below.  Thanks for any help.
>  >>>
>  >>> PTP
>  >>>
>  >>>
>  >>> Copyright (C) 1997-2001 Samuel Rydh <samuel@ibrium.se>
>  >>> Version 0.9.60
>  >>> Configuration file: /etc/molrc
>  >>> Library directory: /usr/lib/mol
>  >>> Session 0. Lockfile '/var/lock/mol-0'
>  >>> The session save/restore feature is disabled
>  >>> OF device tree: oftrees/oftree.nw
>  >>> DEC frequency: 16 MHz, 165:10 mticks/usec
>  >>> 55MB RAM mapped at 0x40000000
>  >>> Running in PowerPC G3 mode
>  >>> Using Linux keycodes
>  >>> Using nvram-image 'nvram/nvram.nw'
>  >>> Video module 'xvideo' installed.
>  >>> Running on VT 8.
>  >>> Using usb mouse on /dev/input/mice
>  >>> Cache enabled for console-video
>  >>> Video module 'console_video' installed.
>  >>>
>  >>> MODE:  640* 480, depth 8,15   { 0.0 } Hz
>  >>> MODE:  800* 600, depth 8,15,32   { 60.3 } Hz
>  >>> MODE: 1024* 768, depth 8,15,32   { 60.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 8, 60.3 Hz  [offs:0, rb:800]
>  >>>
>  >>> HFS  images/moldisk.i MOL                <read-only>     0 MB
>  >>> HFS+ /dev/hda9        trace              <read-only>  5000 MB
>  >>>
>  >>> Loading 'System Folder/Mac OS ROM' from /dev/hda9
>  >>>
>  >>> Mapping GC at 80800000
>  >>> RTAS instantiated at 00004000
>  >>> ************ WARNING, phandle =3D=3D 0 ***********
>  >>> ********* of_quiesce *********
>  >>>>>> Unimplemented RTAS 'set-time-of-day' (7/1)
>  >>> 000007D2   0000000A   0000001A   0000000E   0000000F   00000019
>  >>> 00000000
>  >>> <*> kOpenCommand
>  >>> X connection to :0.0 broken (explicit kill or server shutdown).
>  >>> Exiting due to a crashed thread
>  >>> cleaning up...
>  >>> ***** SIGNAL Hangup in thread async-io thread *****
>  >>> HUP: _pid 0, _uid 0. Last RVEC 0

-- 
<suporte [at] mac [dot] com>: n=E3o =E9 ".br", mas =E9 mais BR que os outros=
=2E
:-)