Re: Re: MOL not working on Lenny - tun0 problem

2008-09-23 Thread Bin Zhang
Hi,

On Tue, Sep 23, 2008 at 5:36 AM, Michael Fox [EMAIL PROTECTED] wrote:
 Hi Gaudenz:

 Thanks for replying.  I recognize your name on some previous
 communication about problems in MOL in Debian Lenny so I'm hoping you
 can help.  I was attempting to start up a MacOS 9.2.1 disk, although I
 also tried to start up a disk image that had been successfully created
 with MOL running on openSUSE 11.0 ppc and was copied to my Debian Lenny
 installation.  In both cases, the result was the same.  Here is the full
 output:

 debian:/home/mfox# startmol

 Mac-on-Linux 0.9.73-SVN [Aug 8 2008 16:45]

 Copyright (C) 1997-2004 Samuel Rydh

 Starting MOL session 0

 Loading Mac-on-Linux kernel module:

 insmod /lib/modules/2.6.26-1-powerpc/extra/mol/mol.ko

 Creating the /dev/sheep_net device node.

 Loading SheepNet kernel module:

 insmod /lib/modules/2.6.26-1-powerpc/extra/mol/sheep.ko

 Loading tun driver kernel module:

 insmod /lib/modules/2.6.26-1-powerpc/kernel/drivers/net/tun.ko

 Running in PowerPC 7400 mode, 256 MB RAM

 Timebase: 18.43 MHz, Bus: 166.40 MHz, Clock: 1333 MHz

 Using USB mouse on /dev/input/mice

 OHCI USB controller registered

 No protocol specified

 Could not connect to X server :0.0

 Fullscreen video on VT 8.

 Could not open '/var/lib/mol/console.kbd'

 Cache enabled for console-video

 Video driver(s): [console_video]


 1024* 768, depth 8,15,32 { 60.0, 70.0, 75.0 } Hz

 1280* 854, depth 8,15,32 { 0.0, 60.0 } Hz


 No video mode match the default one.

 Autoswitching to console

 --- The network interface 'eth0' is not configured!

 Failed to initialize the sheep-eth0 device

 DHCP nameserver exported: 192.168.1.1

 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


 ALSA sound driver loaded (device 'default')


 Available Disks:

 CD /dev/cdrom CD/DVD read-only --

 HFS /home/mfox/os... OS9-MOL rw 1024 MB BOOT

 HFS /dev/hda2 Untitled rw 128 MB

 Unembedded HFS+ /dev/hda3 rw 40852 MB

 Unembedded HFS+ /dev/hda5 rw 7296 MB

  /dev/hda7 might be a boot-strap partition.

 -- /dev/hda9 is linux-mounted with write privileges.

 Could not open '/dev/hda9' with read-write permissions

 HFS /dev/hda11 Untitled rw 128 MB

  (disk_open) Device /dev/hda13 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda14 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda15 is zero length, refusing to use it.:
 Bad file descriptor

  /dev/hda16 might be a boot-strap partition.

  (disk_open) Device /dev/hda17 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda18 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda19 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda20 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda21 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda22 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda23 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda24 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda25 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda26 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda27 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda28 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda29 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda30 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hda31 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hdb1 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hdb2 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hdb3 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hdb4 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hdb5 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hdb6 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hdb7 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hdb8 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hdb9 is zero length, refusing to use it.:
 Bad file descriptor

  (disk_open) Device /dev/hdb10 is zero length, refusing to use it.:
 Bad file 

Re: Re: Re: MOL not working on Lenny - tun0 problem

2008-09-23 Thread Michael Fox
Problem solved! MOL works now that I changed
the /usr/share/mol/config/molrc.post from
of_image:  ${drv}/openbios to of_image:  ${drv}/of

Actually, in this file there were two listings with the offending line, with 
the first (line 92) actually listed as 
of_image:   ${dbin}/{drv}/openbios
I had to remove the {dbin} as well to make it work.

Both MacOS9 and MacOSX (10.4.11) work in MOL.  But here is the bonus - not only 
do they work, but in MacOSX, the internet connection automatically worked 
(picked up from Debian?) and so does iTunes.  Neither of these work in the 
openSUSE 11 version of MOL.  Thanks to both of you.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re: MOL not working on Lenny - tun0 problem

2008-09-22 Thread Michael Fox
Hi Gaudenz:

Thanks for replying.  I recognize your name on some previous
communication about problems in MOL in Debian Lenny so I'm hoping you
can help.  I was attempting to start up a MacOS 9.2.1 disk, although I
also tried to start up a disk image that had been successfully created
with MOL running on openSUSE 11.0 ppc and was copied to my Debian Lenny
installation.  In both cases, the result was the same.  Here is the full
output:

debian:/home/mfox# startmol 

Mac-on-Linux 0.9.73-SVN [Aug 8 2008 16:45] 

Copyright (C) 1997-2004 Samuel Rydh 

Starting MOL session 0 

Loading Mac-on-Linux kernel module: 

insmod /lib/modules/2.6.26-1-powerpc/extra/mol/mol.ko 

Creating the /dev/sheep_net device node. 

Loading SheepNet kernel module: 

insmod /lib/modules/2.6.26-1-powerpc/extra/mol/sheep.ko 

Loading tun driver kernel module: 

insmod /lib/modules/2.6.26-1-powerpc/kernel/drivers/net/tun.ko 

Running in PowerPC 7400 mode, 256 MB RAM 

Timebase: 18.43 MHz, Bus: 166.40 MHz, Clock: 1333 MHz 

Using USB mouse on /dev/input/mice 

OHCI USB controller registered 

No protocol specified 

Could not connect to X server :0.0 

Fullscreen video on VT 8. 

Could not open '/var/lib/mol/console.kbd' 

Cache enabled for console-video 

Video driver(s): [console_video] 


1024* 768, depth 8,15,32 { 60.0, 70.0, 75.0 } Hz 

1280* 854, depth 8,15,32 { 0.0, 60.0 } Hz 


No video mode match the default one. 

Autoswitching to console 

--- The network interface 'eth0' is not configured! 

Failed to initialize the sheep-eth0 device 

DHCP nameserver exported: 192.168.1.1 

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 


ALSA sound driver loaded (device 'default') 


Available Disks: 

CD /dev/cdrom CD/DVD read-only -- 

HFS /home/mfox/os... OS9-MOL rw 1024 MB BOOT 

HFS /dev/hda2 Untitled rw 128 MB 

Unembedded HFS+ /dev/hda3 rw 40852 MB 

Unembedded HFS+ /dev/hda5 rw 7296 MB 

 /dev/hda7 might be a boot-strap partition. 

-- /dev/hda9 is linux-mounted with write privileges. 

Could not open '/dev/hda9' with read-write permissions 

HFS /dev/hda11 Untitled rw 128 MB 

 (disk_open) Device /dev/hda13 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda14 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda15 is zero length, refusing to use it.:
Bad file descriptor 

 /dev/hda16 might be a boot-strap partition. 

 (disk_open) Device /dev/hda17 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda18 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda19 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda20 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda21 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda22 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda23 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda24 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda25 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda26 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda27 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda28 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda29 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda30 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hda31 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hdb1 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hdb2 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hdb3 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hdb4 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hdb5 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hdb6 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hdb7 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hdb8 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hdb9 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hdb10 is zero length, refusing to use it.:
Bad file descriptor 

 (disk_open) Device /dev/hdb11 is zero length, refusing to use it.:
Bad file descriptor