pb while loading tun module

David Bélanger mol-general@lists.maconlinux.org
Thu, 13 May 2004 19:58:04 -0400


Hi,

I get the same problem.

If you are using the devfs for devices, you should, you are on Gentoo.

You can do this work around.

1) stop mol if it is running
2) rm /dev/net/tun
3) modprobe tun
4) start mol

If step 2 is not done, modprobe cannot load tun.  The /dev/net/tun will
be recreated in step 3 well tun gets loaded.

I have no real clue of what is going wrong.

David

On Thu, May 13, 2004 at 11:03:58PM +0200, Benoit Chesneau wrote:
> I've some problem with mol while loading tun module. It tell met this
> module is already inserted, but when I do lsmod, I don't find it. Any id
> why ?
> 
> - Benoît
> 
> Output of startmol -X :
> 
> Mac-on-Linux 0.9.70-gentoo -gentoo  [May 13 2004 22:58]
> Copyright (C) 1997-2004 Samuel Rydh
> Starting MOL session 1
> Loading Mac-on-Linux kernel module:
>    /usr/lib/mol/0.9.70/modules/2.6.6/mol.ko
> Loading tun driver kernel module:
>    /usr/lib/mol/0.9.70/modules/2.6.6/tun.ko
> insmod: error inserting '/usr/lib/mol/0.9.70/modules/2.6.6/tun.ko': -1
> File exists
> Running in PowerPC 7400 mode, 256 MB RAM
> Timebase: 33.33 MHz, Bus: 133.32 MHz, Clock: 1000 MHz
> Using USB mouse on /dev/input/mice
> OHCI USB controller registered
> Could not open '/var/lib/mol/x11.kbd'
> Video driver(s): [xvideo]
>  
>      640* 480, depth 8,32   { 0.0 } Hz
>      800* 600, depth 8,32   { 0.0 } Hz
>     1024* 768, depth 8,32   { 0.0 } Hz
>     1152* 864, depth 8,32   { 0.0 } Hz
>     1280*1024, depth 8,32   { 0.0 } Hz
>     1600*1200, depth 8,32   { 0.0 } Hz
>  
> Failed to open /dev/net/tun: No such device
> Failed to initialize the tun-<tun1> device
> ALSA sound driver (device 'default')
> MOL SCSI controller registered
>  
>  
>     <No SCSI Devices>
>  
>     CD   /dev/cdrom       CD-ROM         <read-only>   ------
> ----> /dev/hda2 might be a boot-strap partition.
> ------> /dev/hda5 is linux-mounted with write privileges.
> Could not open '/dev/hda5' with read-write permissions
>     Unembedded HFS+ /dev/hda6                       <rw> 10638 MB
> No volumes found in '/dev/hdb'
> No volumes found in '/dev/sda'
> No volumes found in '/dev/sdb'
>  
> USB device connect (1:2)
> USB device connect (2:5)
> USB device connect (2:4)
>  
> >> ==================================================
> >> MacOS X Boot Loader 0.9.70
> >> Candidate boot volume: /mol-blk@0/disk@0:0
> >> /mol-blk@0/disk@0:0,\mach_kernel (3832636 bytes)
> >> /mol-blk@0/disk@0:0,\System\Library\Extensions.mkext
> >> ==================================================
>  
> <*> MOL acceleration for 10.3
> <*> Block Driver v1.1
> USBDEVFS_RESET: Connection timed out
> CLEARHALT: Broken pipe
> CLEARHALT: Broken pipe
> ioctl: CDROM_DRIVE_STATUS: Invalid argument
> <*> MolAudio 1.2
> Mounting MOL driver disk
> + Video Driver v1.12
> 
> _______________________________________________
> mol-general mailing list
> mol-general@lists.maconlinux.org
> http://lists.maconlinux.org/mailman/listinfo/mol-general
> 

-- 

---

David Bélanger
Graduate Student
School of Computer Science
McGill University
Office: MC226

Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt