Mailing List Archive

Mac on Linux?
I’m trying to install/run MOL, and I’m running into trouble. I haven’t yet
found a howto document, so I’m not getting anywhere very fast.



When I try to invoke startmol, I’m told that I need to run molvconfig.
Unfortunately, however, emerge mol doesn’t create a molvconfig command.



I tried downloading the tarball and doing the install manually, but it
errors out in the end and doesn’t build molvconfig before it dies.



Any help would be greatly appreciated.



Mark M. Hart


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006
Re: Mac on Linux? [ In reply to ]
On 5/6/06, Mark M. Hart <markmhart@gmail.com> wrote:
>
>
>
> I'm trying to install/run MOL, and I'm running into trouble. I haven't yet
> found a howto document, so I'm not getting anywhere very fast.
>
>
>
> When I try to invoke startmol, I'm told that I need to run molvconfig.
> Unfortunately, however, emerge mol doesn't create a molvconfig command.

What version of mol do you run? I'm running mol-0.9.71_pre8 and
molvconfig is present (/usr/bin/molvconfig)

By the way I don't know which version of MacOS you want to run but if
you want to run OSX the proper command is : 'startmol -X'

Nicolas

>
>
>
> I tried downloading the tarball and doing the install manually, but it
> errors out in the end and doesn't build molvconfig before it dies.
>
>
>
> Any help would be greatly appreciated.
>
>
>
> Mark M. Hart
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006
>

--
gentoo-ppc-user@gentoo.org mailing list
Re: Mac on Linux? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark M. Hart wrote:
> I?m trying to install/run MOL, and I?m running into trouble. I haven?t
> yet found a howto document, so I?m not getting anywhere very fast.
>
> When I try to invoke startmol, I?m told that I need to run molvconfig.
> Unfortunately, however, emerge mol doesn?t create a molvconfig command.
>
> I tried downloading the tarball and doing the install manually, but it
> errors out in the end and doesn?t build molvconfig before it dies.
>
> Any help would be greatly appreciated.
>
> Mark M. Hart
>

molvconfig is only available when you enable the fbcon use flag since
it's only appropriate when you're using MOL fullscreen on a virtual
terminal. If you don't want to use MOL this way, make sure you turn off
the virtual terminal switching in /etc/mol/molrc.video. If you do want
to use MOL on a virtual terminal (recommended since it's faster)
re-emerge MOL with the fbcon use flag set.

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEXNP1wGq7BLLARfoRApYgAJ9TYBI4bXLQH9xt0qdGJ32c8mKPrACgxWWp
lA1Uj5mtcD90RmkqruE/Wsc=
=rU/Q
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list
RE: Mac on Linux? [ In reply to ]
I enabled fbcon use flag and re-emerged mol. I ran molvconfig and set up a
ton of video modes.

When I try to do startmol (from within X/Kde and without) I get a black
screen with a blinking cursor in the upper left. Anything I type gets
echoed to the screen but that's it.

Thanks!

Mark M. Hart

-----Original Message-----
From: Joseph Jezak [mailto:josejx@gentoo.org]
Sent: Saturday, May 06, 2006 9:51 AM
To: gentoo-ppc-user@lists.gentoo.org
Subject: Re: [gentoo-ppc-user] Mac on Linux?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark M. Hart wrote:
> I?m trying to install/run MOL, and I?m running into trouble. I haven?t
> yet found a howto document, so I?m not getting anywhere very fast.
>
> When I try to invoke startmol, I?m told that I need to run molvconfig.
> Unfortunately, however, emerge mol doesn?t create a molvconfig command.
>
> I tried downloading the tarball and doing the install manually, but it
> errors out in the end and doesn?t build molvconfig before it dies.
>
> Any help would be greatly appreciated.
>
> Mark M. Hart
>

molvconfig is only available when you enable the fbcon use flag since
it's only appropriate when you're using MOL fullscreen on a virtual
terminal. If you don't want to use MOL this way, make sure you turn off
the virtual terminal switching in /etc/mol/molrc.video. If you do want
to use MOL on a virtual terminal (recommended since it's faster)
re-emerge MOL with the fbcon use flag set.

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEXNP1wGq7BLLARfoRApYgAJ9TYBI4bXLQH9xt0qdGJ32c8mKPrACgxWWp
lA1Uj5mtcD90RmkqruE/Wsc=
=rU/Q
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
gentoo-ppc-user@gentoo.org mailing list
Re: Mac on Linux? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark M. Hart wrote:
> I enabled fbcon use flag and re-emerged mol. I ran molvconfig and set up a
> ton of video modes.
>
> When I try to do startmol (from within X/Kde and without) I get a black
> screen with a blinking cursor in the upper left. Anything I type gets
> echoed to the screen but that's it.
>
> Thanks!
>
> Mark M. Hart

You didn't say what you were trying to run (OS9/OSX) but if you're
running OSX, you need to use startmol -X. It defaults to OS9 if you
just type startmol (as it says in the startmol man page).

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEXSczwGq7BLLARfoRAjSYAJ97v+ZzbN9NL7CoCp/GB541jGkqSwCghU6w
+xec4msWl417KYLTP/+BL+U=
=qxVV
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list
RE: Mac on Linux? [ In reply to ]
I'm trying to run OS 9.

Thanks!

Mark M. Hart


-----Original Message-----
From: Joseph Jezak [mailto:josejx@gentoo.org]
Sent: Saturday, May 06, 2006 3:46 PM
To: gentoo-ppc-user@lists.gentoo.org
Subject: Re: [gentoo-ppc-user] Mac on Linux?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark M. Hart wrote:
> I enabled fbcon use flag and re-emerged mol. I ran molvconfig and set up
a
> ton of video modes.
>
> When I try to do startmol (from within X/Kde and without) I get a black
> screen with a blinking cursor in the upper left. Anything I type gets
> echoed to the screen but that's it.
>
> Thanks!
>
> Mark M. Hart

You didn't say what you were trying to run (OS9/OSX) but if you're
running OSX, you need to use startmol -X. It defaults to OS9 if you
just type startmol (as it says in the startmol man page).

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEXSczwGq7BLLARfoRAjSYAJ97v+ZzbN9NL7CoCp/GB541jGkqSwCghU6w
+xec4msWl417KYLTP/+BL+U=
=qxVV
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
gentoo-ppc-user@gentoo.org mailing list
Re: Mac on Linux? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark M. Hart wrote:
> I'm trying to run OS 9.
>
> Thanks!
>
> Mark M. Hart

If the OS9 install is on the same partition as OSX, that won't work.
Barring that, you've probably neglected to configure something in
/etc/mol. What do the debugging messages say when you run startmol? If
you're doing it from a console, it should print some info. When it
switches to the blinking cursor, it's switched to another console, but
MOL hasn't started. You should be able to switch back with the normal
console switch keys.

Just for when you get that fixed, you'll also need to make sure that the
sheep module is built (USE="sheep") when using OS9, it won't run
otherwise. Which kernel are you using?

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEXTCLwGq7BLLARfoRAtoPAJ4rpzXKzIWcfwVDuCpZkCT36SRx8QCdFjlH
b0uUpetcMiyMTGpQkm/cyu4=
=ZLNa
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list
RE: Mac on Linux? [ In reply to ]
I'm using 2.6.15-gentoo-r1.

I am sure that something is printing out before the screen goes blank, but
the only key combo I can use to get out of the blank screen is ctrl-alt-del,
which switches me to runlevel 6 and reboots the system.

I'll try starting mol and redirecting the output to a file, maybe it'll
capture something useful.

Thanks!

Mark M. Hart

-----Original Message-----
From: Joseph Jezak [mailto:josejx@gentoo.org]
Sent: Saturday, May 06, 2006 4:26 PM
To: gentoo-ppc-user@lists.gentoo.org
Subject: Re: [gentoo-ppc-user] Mac on Linux?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark M. Hart wrote:
> I'm trying to run OS 9.
>
> Thanks!
>
> Mark M. Hart

If the OS9 install is on the same partition as OSX, that won't work.
Barring that, you've probably neglected to configure something in
/etc/mol. What do the debugging messages say when you run startmol? If
you're doing it from a console, it should print some info. When it
switches to the blinking cursor, it's switched to another console, but
MOL hasn't started. You should be able to switch back with the normal
console switch keys.

Just for when you get that fixed, you'll also need to make sure that the
sheep module is built (USE="sheep") when using OS9, it won't run
otherwise. Which kernel are you using?

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEXTCLwGq7BLLARfoRAtoPAJ4rpzXKzIWcfwVDuCpZkCT36SRx8QCdFjlH
b0uUpetcMiyMTGpQkm/cyu4=
=ZLNa
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
gentoo-ppc-user@gentoo.org mailing list
Re: Mac on Linux? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark M. Hart wrote:
> I'm using 2.6.15-gentoo-r1.
>
> I am sure that something is printing out before the screen goes blank, but
> the only key combo I can use to get out of the blank screen is ctrl-alt-del,
> which switches me to runlevel 6 and reboots the system.
>
> I'll try starting mol and redirecting the output to a file, maybe it'll
> capture something useful.
>
> Thanks!
>
> Mark M. Hart

Try alt + fn + f1 - f6, those should switch virtual terminals, if that
doesn't work try without the fn as well. If you still can't get it, try
ssh'ing in and starting mol from that console.

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEXUx3wGq7BLLARfoRAgKLAJ4zkEr6DH/RTNQyXXosWIppjPxQawCgwEHi
A0h7oLuNc6yB/7LBtNUvZqE=
=ilPl
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list
RE: Mac on Linux? [ In reply to ]
Mac-on-Linux 0.9.71-pre8 [May 6 2006 11:12]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 0
The kernel module '/usr/lib/mol/0.9.71/modules/2.6.15-gentoo-r1/sheep.o'
appears to be missing.
Running in PowerPC 750 mode, 96 MB RAM
Timebase: 16.70 MHz, Bus: 66.82 MHz, Clock: 233 MHz
Using USB mouse on /dev/input/mice
OHCI USB controller registered
Could not open '/var/lib/mol/x11.kbd'
Fullscreen video on VT 9.
Could not open '/var/lib/mol/console.kbd'
Cache enabled for console-video
Video driver(s): [xvideo] [console_video]

640* 480, depth 8,15,32 { 59.9, 72.1, 74.9, 89.9, 99.7 } Hz
640* 480, depth 8 { 116.6 } Hz
800* 600, depth 8,15,32 { 56.2, 60.3, 70.0, 72.1, 89.9 } Hz
800* 600, depth 8 { 94.8 } Hz
800* 600, depth 8,15,32 { 99.9 } Hz
1024* 768, depth 8,15,32 { 60.0, 70.0 } Hz
1024* 768, depth 8 { 74.8 } Hz
1024* 768, depth 8,15,32 { 75.0 } Hz
1152* 768, depth 8,15,32 { 54.7 } Hz
1280* 854, depth 8,15,32 { 60.0 } Hz
1152* 864, depth 8,15,32 { 59.9 } Hz
1280*1024, depth 8,15,32 { 0.0, 60.0, 60.0 } Hz
1440* 960, depth 8,15 { 0.0 } Hz
1600*1024, depth 8,15 { 0.0 } Hz
1600*1200, depth 8,15 { 0.0 } Hz
1680*1050, depth 8,15 { 0.0 } Hz

-----> Can't open /dev/sheep_net, please check module is present !
Failed to initialize the sheep-<eth0> device
FATAL: Module ip_tables not found.
iptables v1.3.4: can't initialize iptables table `nat': iptables who? (do
you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Ethernet Interface (port 1) 'tun-<tun0>' @ 00:00:0D:EA:DB:EE

ip/mask: 192.168.40.2/255.255.255.0 gw: 192.168.40.1
broadcast: 192.168.40.255 nameserver: 192.168.40.1



Signal INT
One more to kill emulator
Signal INT
One more to kill emulator

Thanks!

Mark M. Hart

-----Original Message-----
From: Joseph Jezak [mailto:josejx@gentoo.org]
Sent: Saturday, May 06, 2006 6:25 PM
To: gentoo-ppc-user@lists.gentoo.org
Subject: Re: [gentoo-ppc-user] Mac on Linux?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark M. Hart wrote:
> I'm using 2.6.15-gentoo-r1.
>
> I am sure that something is printing out before the screen goes blank, but
> the only key combo I can use to get out of the blank screen is
ctrl-alt-del,
> which switches me to runlevel 6 and reboots the system.
>
> I'll try starting mol and redirecting the output to a file, maybe it'll
> capture something useful.
>
> Thanks!
>
> Mark M. Hart

Try alt + fn + f1 - f6, those should switch virtual terminals, if that
doesn't work try without the fn as well. If you still can't get it, try
ssh'ing in and starting mol from that console.

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEXUx3wGq7BLLARfoRAgKLAJ4zkEr6DH/RTNQyXXosWIppjPxQawCgwEHi
A0h7oLuNc6yB/7LBtNUvZqE=
=ilPl
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
gentoo-ppc-user@gentoo.org mailing list
Re: Mac on Linux? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark M. Hart wrote:
> Mac-on-Linux 0.9.71-pre8 [May 6 2006 11:12]
> Copyright (C) 1997-2004 Samuel Rydh
> Starting MOL session 0
> The kernel module '/usr/lib/mol/0.9.71/modules/2.6.15-gentoo-r1/sheep.o'
> appears to be missing.
> Running in PowerPC 750 mode, 96 MB RAM
> Timebase: 16.70 MHz, Bus: 66.82 MHz, Clock: 233 MHz
> Using USB mouse on /dev/input/mice
> OHCI USB controller registered
> Could not open '/var/lib/mol/x11.kbd'
> Fullscreen video on VT 9.
> Could not open '/var/lib/mol/console.kbd'
> Cache enabled for console-video
> Video driver(s): [xvideo] [console_video]
>
> 640* 480, depth 8,15,32 { 59.9, 72.1, 74.9, 89.9, 99.7 } Hz
> 640* 480, depth 8 { 116.6 } Hz
> 800* 600, depth 8,15,32 { 56.2, 60.3, 70.0, 72.1, 89.9 } Hz
> 800* 600, depth 8 { 94.8 } Hz
> 800* 600, depth 8,15,32 { 99.9 } Hz
> 1024* 768, depth 8,15,32 { 60.0, 70.0 } Hz
> 1024* 768, depth 8 { 74.8 } Hz
> 1024* 768, depth 8,15,32 { 75.0 } Hz
> 1152* 768, depth 8,15,32 { 54.7 } Hz
> 1280* 854, depth 8,15,32 { 60.0 } Hz
> 1152* 864, depth 8,15,32 { 59.9 } Hz
> 1280*1024, depth 8,15,32 { 0.0, 60.0, 60.0 } Hz
> 1440* 960, depth 8,15 { 0.0 } Hz
> 1600*1024, depth 8,15 { 0.0 } Hz
> 1600*1200, depth 8,15 { 0.0 } Hz
> 1680*1050, depth 8,15 { 0.0 } Hz
>
> -----> Can't open /dev/sheep_net, please check module is present !
> Failed to initialize the sheep-<eth0> device
> FATAL: Module ip_tables not found.
> iptables v1.3.4: can't initialize iptables table `nat': iptables who? (do
> you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
> Ethernet Interface (port 1) 'tun-<tun0>' @ 00:00:0D:EA:DB:EE
>
> ip/mask: 192.168.40.2/255.255.255.0 gw: 192.168.40.1
> broadcast: 192.168.40.255 nameserver: 192.168.40.1
>
>
>
> Signal INT
> One more to kill emulator
> Signal INT
> One more to kill emulator
>
> Thanks!
>
> Mark M. Hart

You'll need to take a look at what the ebuild says when you emerge it,
there's a list of kernel components you need to add. It looks like
you're missing IP Masquerading and the sheep module I mentioned that you
would need.

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEXjzswGq7BLLARfoRAkozAJ9tDjARzv4UTOhRJXHntLkVB3YjoQCfV7C3
N/nWFE6yBy2Hq4Fv3yVFsgk=
=0q3X
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list
RE: Mac on Linux? [ In reply to ]
Here's after re-emerging with USE="sheep"
I actually got a window for a split-second with the mac-on-linux penguin
symbol.

Please let me know how to re-emerge with the network masquerading enabled;
do I do a USE="nat" or USE="tun" or something like that?

Anyway, here goes:

startmol
Mac-on-Linux 0.9.71-pre8 [May 7 2006 11:11]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 0
The kernel module '/usr/lib/mol/0.9.71/modules/2.6.15-gentoo-r1/tun.o'
appears to be missing.
Running in PowerPC 750 mode, 96 MB RAM
Timebase: 16.70 MHz, Bus: 66.82 MHz, Clock: 233 MHz
Using USB mouse on /dev/input/mice
OHCI USB controller registered
Could not open '/var/lib/mol/x11.kbd'
Fullscreen video on VT 9.
Could not open '/var/lib/mol/console.kbd'
Cache enabled for console-video
Video driver(s): [xvideo] [console_video]

640* 480, depth 8,15,32 { 59.9, 72.1, 74.9, 89.9, 99.7 } Hz
640* 480, depth 8 { 116.6 } Hz
800* 600, depth 8,15,32 { 56.2, 60.3, 70.0, 72.1, 89.9 } Hz
800* 600, depth 8 { 94.8 } Hz
800* 600, depth 8,15,32 { 99.9 } Hz
1024* 768, depth 8,15,32 { 60.0, 70.0 } Hz
1024* 768, depth 8 { 74.8 } Hz
1024* 768, depth 8,15,32 { 75.0 } Hz
1152* 768, depth 8,15,32 { 54.7 } Hz
1280* 854, depth 8,15,32 { 60.0 } Hz
1152* 864, depth 8,15,32 { 59.9 } Hz
1280*1024, depth 8,15,32 { 0.0, 60.0, 60.0 } Hz
1440* 960, depth 8,15 { 0.0 } Hz
1600*1024, depth 8,15 { 0.0 } Hz
1600*1200, depth 8,15 { 0.0 } Hz
1680*1050, depth 8,15 { 0.0 } Hz

Ethernet Interface (port 1) 'sheep-<eth0>' @ FE:FD:DE:AD:BE:EF [nodhcp]

FATAL: Module ip_tables not found.
iptables v1.3.4: can't initialize iptables table `nat': iptables who? (do
you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Ethernet Interface (port 2) 'tun-<tun0>' @ 00:00:0D:EA:DB:EE

ip/mask: 192.168.40.2/255.255.255.0 gw: 192.168.40.1
broadcast: 192.168.40.255 nameserver: 192.168.40.1

ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat
returned error: No such device
ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned
error: No such device
ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default

CD /dev/cdrom CD/DVD <read-only> ------
------> /dev/hda6 is linux-mounted with write privileges.
HFS+ /dev/hda6 os 9.0 system <read-only> 1024 MB

SCSI devices:

SCSI /dev/cdrom [CDROM/DVD driver]


>> =============================================================
>> Mac-on-Linux OpenFirmware 0.9.70

>> --- No bootable disk was found! -----------------------------
>> If this is an oldworld machine, try booting from the MacOS
>> install CD and install MacOS from within MOL.
>> -------------------------------------------------------------
cleaning up...
FATAL: Module ip_tables not found.
iptables v1.3.4: can't initialize iptables table `nat': iptables who? (do
you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Terminating threads...
DONE
markmhart@mac2 ~ $

Thanks!

Mark M. Hart

-----Original Message-----
From: Joseph Jezak [mailto:josejx@gentoo.org]
Sent: Sunday, May 07, 2006 11:31 AM
To: gentoo-ppc-user@lists.gentoo.org
Subject: Re: [gentoo-ppc-user] Mac on Linux?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark M. Hart wrote:
> Mac-on-Linux 0.9.71-pre8 [May 6 2006 11:12]
> Copyright (C) 1997-2004 Samuel Rydh
> Starting MOL session 0
> The kernel module '/usr/lib/mol/0.9.71/modules/2.6.15-gentoo-r1/sheep.o'
> appears to be missing.
> Running in PowerPC 750 mode, 96 MB RAM
> Timebase: 16.70 MHz, Bus: 66.82 MHz, Clock: 233 MHz
> Using USB mouse on /dev/input/mice
> OHCI USB controller registered
> Could not open '/var/lib/mol/x11.kbd'
> Fullscreen video on VT 9.
> Could not open '/var/lib/mol/console.kbd'
> Cache enabled for console-video
> Video driver(s): [xvideo] [console_video]
>
> 640* 480, depth 8,15,32 { 59.9, 72.1, 74.9, 89.9, 99.7 } Hz
> 640* 480, depth 8 { 116.6 } Hz
> 800* 600, depth 8,15,32 { 56.2, 60.3, 70.0, 72.1, 89.9 } Hz
> 800* 600, depth 8 { 94.8 } Hz
> 800* 600, depth 8,15,32 { 99.9 } Hz
> 1024* 768, depth 8,15,32 { 60.0, 70.0 } Hz
> 1024* 768, depth 8 { 74.8 } Hz
> 1024* 768, depth 8,15,32 { 75.0 } Hz
> 1152* 768, depth 8,15,32 { 54.7 } Hz
> 1280* 854, depth 8,15,32 { 60.0 } Hz
> 1152* 864, depth 8,15,32 { 59.9 } Hz
> 1280*1024, depth 8,15,32 { 0.0, 60.0, 60.0 } Hz
> 1440* 960, depth 8,15 { 0.0 } Hz
> 1600*1024, depth 8,15 { 0.0 } Hz
> 1600*1200, depth 8,15 { 0.0 } Hz
> 1680*1050, depth 8,15 { 0.0 } Hz
>
> -----> Can't open /dev/sheep_net, please check module is present !
> Failed to initialize the sheep-<eth0> device
> FATAL: Module ip_tables not found.
> iptables v1.3.4: can't initialize iptables table `nat': iptables who? (do
> you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
> Ethernet Interface (port 1) 'tun-<tun0>' @ 00:00:0D:EA:DB:EE
>
> ip/mask: 192.168.40.2/255.255.255.0 gw: 192.168.40.1
> broadcast: 192.168.40.255 nameserver: 192.168.40.1
>
>
>
> Signal INT
> One more to kill emulator
> Signal INT
> One more to kill emulator
>
> Thanks!
>
> Mark M. Hart

You'll need to take a look at what the ebuild says when you emerge it,
there's a list of kernel components you need to add. It looks like
you're missing IP Masquerading and the sheep module I mentioned that you
would need.

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEXjzswGq7BLLARfoRAkozAJ9tDjARzv4UTOhRJXHntLkVB3YjoQCfV7C3
N/nWFE6yBy2Hq4Fv3yVFsgk=
=0q3X
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
gentoo-ppc-user@gentoo.org mailing list
Re: Mac on Linux? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark M. Hart wrote:
> Here's after re-emerging with USE="sheep"
> I actually got a window for a split-second with the mac-on-linux penguin
> symbol.
>
> Please let me know how to re-emerge with the network masquerading enabled;
> do I do a USE="nat" or USE="tun" or something like that?
>
> Anyway, here goes:
>
> startmol
> Mac-on-Linux 0.9.71-pre8 [May 7 2006 11:11]
> Copyright (C) 1997-2004 Samuel Rydh
> Starting MOL session 0
> The kernel module '/usr/lib/mol/0.9.71/modules/2.6.15-gentoo-r1/tun.o'
> appears to be missing.
> Running in PowerPC 750 mode, 96 MB RAM
> Timebase: 16.70 MHz, Bus: 66.82 MHz, Clock: 233 MHz
> Using USB mouse on /dev/input/mice
> OHCI USB controller registered
> Could not open '/var/lib/mol/x11.kbd'
> Fullscreen video on VT 9.
> Could not open '/var/lib/mol/console.kbd'
> Cache enabled for console-video
> Video driver(s): [xvideo] [console_video]
>
> 640* 480, depth 8,15,32 { 59.9, 72.1, 74.9, 89.9, 99.7 } Hz
> 640* 480, depth 8 { 116.6 } Hz
> 800* 600, depth 8,15,32 { 56.2, 60.3, 70.0, 72.1, 89.9 } Hz
> 800* 600, depth 8 { 94.8 } Hz
> 800* 600, depth 8,15,32 { 99.9 } Hz
> 1024* 768, depth 8,15,32 { 60.0, 70.0 } Hz
> 1024* 768, depth 8 { 74.8 } Hz
> 1024* 768, depth 8,15,32 { 75.0 } Hz
> 1152* 768, depth 8,15,32 { 54.7 } Hz
> 1280* 854, depth 8,15,32 { 60.0 } Hz
> 1152* 864, depth 8,15,32 { 59.9 } Hz
> 1280*1024, depth 8,15,32 { 0.0, 60.0, 60.0 } Hz
> 1440* 960, depth 8,15 { 0.0 } Hz
> 1600*1024, depth 8,15 { 0.0 } Hz
> 1600*1200, depth 8,15 { 0.0 } Hz
> 1680*1050, depth 8,15 { 0.0 } Hz
>
> Ethernet Interface (port 1) 'sheep-<eth0>' @ FE:FD:DE:AD:BE:EF [nodhcp]
>
> FATAL: Module ip_tables not found.
> iptables v1.3.4: can't initialize iptables table `nat': iptables who? (do
> you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
> Ethernet Interface (port 2) 'tun-<tun0>' @ 00:00:0D:EA:DB:EE
>
> ip/mask: 192.168.40.2/255.255.255.0 gw: 192.168.40.1
> broadcast: 192.168.40.255 nameserver: 192.168.40.1
>
> ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
> ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver
> returned error: No such device
> ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
> ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat
> returned error: No such device
> ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name
> ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned
> error: No such device
> ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device
> ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
>
> CD /dev/cdrom CD/DVD <read-only> ------
> ------> /dev/hda6 is linux-mounted with write privileges.
> HFS+ /dev/hda6 os 9.0 system <read-only> 1024 MB
>
> SCSI devices:
>
> SCSI /dev/cdrom [CDROM/DVD driver]
>
>
>>> =============================================================
>>> Mac-on-Linux OpenFirmware 0.9.70
>
>>> --- No bootable disk was found! -----------------------------
>>> If this is an oldworld machine, try booting from the MacOS
>>> install CD and install MacOS from within MOL.
>>> -------------------------------------------------------------
> cleaning up...
> FATAL: Module ip_tables not found.
> iptables v1.3.4: can't initialize iptables table `nat': iptables who? (do
> you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
> Terminating threads...
> DONE
> markmhart@mac2 ~ $
>
> Thanks!
>
> Mark M. Hart

They're *kernel* options. You need to enable these options in your
*kernel* and recompile with support for the things below.

- From the ebuild:

If errors with networking occur, make sure you have the following
kernel functions enabled:
For connecting to Linux:
Universal TUN/TAP device driver support (CONFIG_TUN)
For the dhcp server:
Packet Socket (CONFIG_PACKET)
For NAT:
Network packet filtering (CONFIG_NETFILTER)
Connection tracking (CONFIG_IP_NF_CONNTRACK)
IP tables support (CONFIG_IP_NF_IPTABLES)
Packet filtering (CONFIG_IP_NF_FILTER)
Full NAT (CONFIG_IP_NF_NAT)
MASQUERADE target support (CONFIG_IP_NF_TARGET_MASQUERADE)

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEXlzZwGq7BLLARfoRAsaNAJ0TqxTB++KGQ04xK+jKXNU6fDXeBACg1KQD
MPAUcLCVhC8qapflFCdhTYI=
=eGzl
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list
RE: Mac on Linux? [ In reply to ]
Thanks!

Mark M. Hart
-----Original Message-----
From: Joseph Jezak [mailto:josejx@gentoo.org]
Sent: Sunday, May 07, 2006 1:47 PM
To: gentoo-ppc-user@lists.gentoo.org
Subject: Re: [gentoo-ppc-user] Mac on Linux?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark M. Hart wrote:
> Here's after re-emerging with USE="sheep"
> I actually got a window for a split-second with the mac-on-linux penguin
> symbol.
>
> Please let me know how to re-emerge with the network masquerading enabled;
> do I do a USE="nat" or USE="tun" or something like that?
>
> Anyway, here goes:
>
> startmol
> Mac-on-Linux 0.9.71-pre8 [May 7 2006 11:11]
> Copyright (C) 1997-2004 Samuel Rydh
> Starting MOL session 0
> The kernel module '/usr/lib/mol/0.9.71/modules/2.6.15-gentoo-r1/tun.o'
> appears to be missing.
> Running in PowerPC 750 mode, 96 MB RAM
> Timebase: 16.70 MHz, Bus: 66.82 MHz, Clock: 233 MHz
> Using USB mouse on /dev/input/mice
> OHCI USB controller registered
> Could not open '/var/lib/mol/x11.kbd'
> Fullscreen video on VT 9.
> Could not open '/var/lib/mol/console.kbd'
> Cache enabled for console-video
> Video driver(s): [xvideo] [console_video]
>
> 640* 480, depth 8,15,32 { 59.9, 72.1, 74.9, 89.9, 99.7 } Hz
> 640* 480, depth 8 { 116.6 } Hz
> 800* 600, depth 8,15,32 { 56.2, 60.3, 70.0, 72.1, 89.9 } Hz
> 800* 600, depth 8 { 94.8 } Hz
> 800* 600, depth 8,15,32 { 99.9 } Hz
> 1024* 768, depth 8,15,32 { 60.0, 70.0 } Hz
> 1024* 768, depth 8 { 74.8 } Hz
> 1024* 768, depth 8,15,32 { 75.0 } Hz
> 1152* 768, depth 8,15,32 { 54.7 } Hz
> 1280* 854, depth 8,15,32 { 60.0 } Hz
> 1152* 864, depth 8,15,32 { 59.9 } Hz
> 1280*1024, depth 8,15,32 { 0.0, 60.0, 60.0 } Hz
> 1440* 960, depth 8,15 { 0.0 } Hz
> 1600*1024, depth 8,15 { 0.0 } Hz
> 1600*1200, depth 8,15 { 0.0 } Hz
> 1680*1050, depth 8,15 { 0.0 } Hz
>
> Ethernet Interface (port 1) 'sheep-<eth0>' @ FE:FD:DE:AD:BE:EF [nodhcp]
>
> FATAL: Module ip_tables not found.
> iptables v1.3.4: can't initialize iptables table `nat': iptables who? (do
> you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
> Ethernet Interface (port 2) 'tun-<tun0>' @ 00:00:0D:EA:DB:EE
>
> ip/mask: 192.168.40.2/255.255.255.0 gw: 192.168.40.1
> broadcast: 192.168.40.255 nameserver: 192.168.40.1
>
> ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
> ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver
> returned error: No such device
> ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
> ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat
> returned error: No such device
> ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name
> ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer
returned
> error: No such device
> ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device
> ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
>
> CD /dev/cdrom CD/DVD <read-only> ------
> ------> /dev/hda6 is linux-mounted with write privileges.
> HFS+ /dev/hda6 os 9.0 system <read-only> 1024 MB
>
> SCSI devices:
>
> SCSI /dev/cdrom [CDROM/DVD driver]
>
>
>>> =============================================================
>>> Mac-on-Linux OpenFirmware 0.9.70
>
>>> --- No bootable disk was found! -----------------------------
>>> If this is an oldworld machine, try booting from the MacOS
>>> install CD and install MacOS from within MOL.
>>> -------------------------------------------------------------
> cleaning up...
> FATAL: Module ip_tables not found.
> iptables v1.3.4: can't initialize iptables table `nat': iptables who? (do
> you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
> Terminating threads...
> DONE
> markmhart@mac2 ~ $
>
> Thanks!
>
> Mark M. Hart

OK, fine, in the kernel. I did a genconfig --menuconfig and couldn't find
these options in the menus. So, do I need to specify them on the genconfig
command line? And if so, what is the proper way? I did a genconfig --help
but got little support from that. There is no man entry for genconfig.

Thank you SO MUCH for all the help you are giving me, I REALLY appreciate
it.

---------- Your entry below ----------------

They're *kernel* options. You need to enable these options in your
*kernel* and recompile with support for the things below.

- From the ebuild:

If errors with networking occur, make sure you have the following
kernel functions enabled:
For connecting to Linux:
Universal TUN/TAP device driver support (CONFIG_TUN)
For the dhcp server:
Packet Socket (CONFIG_PACKET)
For NAT:
Network packet filtering (CONFIG_NETFILTER)
Connection tracking (CONFIG_IP_NF_CONNTRACK)
IP tables support (CONFIG_IP_NF_IPTABLES)
Packet filtering (CONFIG_IP_NF_FILTER)
Full NAT (CONFIG_IP_NF_NAT)
MASQUERADE target support (CONFIG_IP_NF_TARGET_MASQUERADE)

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEXlzZwGq7BLLARfoRAsaNAJ0TqxTB++KGQ04xK+jKXNU6fDXeBACg1KQD
MPAUcLCVhC8qapflFCdhTYI=
=eGzl
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
gentoo-ppc-user@gentoo.org mailing list
Re: Mac on Linux? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> OK, fine, in the kernel. I did a genconfig --menuconfig and couldn't find
> these options in the menus. So, do I need to specify them on the genconfig
> command line? And if so, what is the proper way? I did a genconfig --help
> but got little support from that. There is no man entry for genconfig.
>
> Thank you SO MUCH for all the help you are giving me, I REALLY appreciate
> it.
>

No worries. :)

Okay, so a trick to find things in the menuconfig is to use the "/" key.
This lets you search for an option to enable. You should be able to
find the options previously mentioned in your config using this trick.

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEX3miwGq7BLLARfoRAmNMAJ4/2OzYrBWm9rQAkoLklJ7wbcJbWQCg00Ol
82cZExQHXqms3nA9PqJKDdc=
=vuPd
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list
RE: Mac on Linux? [ In reply to ]
I did the kernel rebuild (took HOURS on my slow old mac) and tried again.
Here's what I got (got fullscreen penguin hugging apple, then happy mac and
9.0 splash, then screen closed):

mac2 ~ # startmol
Mac-on-Linux 0.9.71-pre8 [May 7 2006 13:35]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 0
Loading Mac-on-Linux kernel module:
/usr/lib/mol/0.9.71/modules/2.6.15-gentoo-r1/mol.ko
Loading SheepNet kernel module:
/usr/lib/mol/0.9.71/modules/2.6.15-gentoo-r1/sheep.ko
Running in PowerPC 750 mode, 96 MB RAM
Timebase: 16.70 MHz, Bus: 66.82 MHz, Clock: 233 MHz
Using USB mouse on /dev/input/mice
OHCI USB controller registered
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Could not connect to X server :0.0
Fullscreen video on VT 9.
Could not open '/var/lib/mol/console.kbd'
Cache enabled for console-video
Video driver(s): [console_video]

640* 480, depth 8,15,32 { 59.9, 72.1, 74.9, 89.9, 99.7 } Hz
640* 480, depth 8 { 116.6 } Hz
800* 600, depth 8,15,32 { 56.2, 60.3, 70.0, 72.1, 89.9 } Hz
800* 600, depth 8 { 94.8 } Hz
800* 600, depth 8,15,32 { 99.9 } Hz
1024* 768, depth 8,15,32 { 60.0, 70.0 } Hz
1024* 768, depth 8 { 74.8 } Hz
1024* 768, depth 8,15,32 { 75.0 } Hz
1152* 768, depth 8,15,32 { 54.7 } Hz
1280* 854, depth 8,15,32 { 60.0 } Hz
1152* 864, depth 8,15,32 { 59.9 } Hz
1280*1024, depth 8,15,32 { 0.0, 60.0, 60.0 } Hz

Autoswitching to console
Ethernet Interface (port 1) 'sheep-<eth0>' @ FE:FD:DE:AD:BE:EF [nodhcp]

DHCP nameserver exported: 66.214.48.27
Ethernet Interface (port 2) 'tun-<tun0>' @ 00:00:0D:EA:DB:EE

ip/mask: 192.168.40.2/255.255.255.0 gw: 192.168.40.1
broadcast: 192.168.40.255 nameserver: 192.168.40.1

ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat
returned error: No such device
ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned
error: No such device
ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default

CD /dev/cdrom CD/DVD <read-only> ------
------> /dev/hda6 is linux-mounted with write privileges.
HFS+ /dev/hda6 os 9.0 system <read-only> 1024 MB

SCSI devices:

SCSI /dev/cdrom [CDROM/DVD driver]


>> =============================================================
>> Mac-on-Linux OpenFirmware 0.9.70

>> --- No bootable disk was found! -----------------------------
>> If this is an oldworld machine, try booting from the MacOS
>> install CD and install MacOS from within MOL.
>> -------------------------------------------------------------
cleaning up...
Terminating threads...
DONE
mac2 ~ #

Thanks!

Mark M. Hart

-----Original Message-----
From: Joseph Jezak [mailto:josejx@gentoo.org]
Sent: Monday, May 08, 2006 10:02 AM
To: gentoo-ppc-user@lists.gentoo.org
Subject: Re: [gentoo-ppc-user] Mac on Linux?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> OK, fine, in the kernel. I did a genconfig --menuconfig and couldn't find
> these options in the menus. So, do I need to specify them on the
genconfig
> command line? And if so, what is the proper way? I did a genconfig
--help
> but got little support from that. There is no man entry for genconfig.
>
> Thank you SO MUCH for all the help you are giving me, I REALLY appreciate
> it.
>

No worries. :)

Okay, so a trick to find things in the menuconfig is to use the "/" key.
This lets you search for an option to enable. You should be able to
find the options previously mentioned in your config using this trick.

- -Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEX3miwGq7BLLARfoRAmNMAJ4/2OzYrBWm9rQAkoLklJ7wbcJbWQCg00Ol
82cZExQHXqms3nA9PqJKDdc=
=vuPd
-----END PGP SIGNATURE-----
--
gentoo-ppc-user@gentoo.org mailing list

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006


--
gentoo-ppc-user@gentoo.org mailing list