Re: MOL on FC4
Mattias Nissler <[email protected]> Sun, 20 Nov 2005 12:45:56 +0100
| Newsgroups | gmane.linux.ports.ppc.mol.general |
|---|---|
| Message-ID | <1132487156.30246.20.camel@localhost> |
On Sat, 2005-11-19 at 18:28 -0800, Jesse Keating wrote: > On Sun, 2005-11-20 at 00:19 +0100, Mattias Nissler wrote: > > It seems the tun.c is missing. For the 2.6 trees it should be a symlink > > to $(KERNEL_SOURCE)/drivers/net/tun.c > > > > You should check > > > > a) whether the obj-ppc/build/src/netdriver/tun.c file exists and is a > > symlink > > b) if it is one, where it points to and whether the destination exists. > > It should point into the linux source tree for 2.6 kernels. > > > > What you can also try is disabling the TUN build configuration option. > > As far as I have checked it will only built the tun kernel module that > > you can get from the kernel sources as well. > > Ok, I got the modules to load, and I've installed the mol package. Now > however, startmol things that the mol.ko module isn't loaded, however it > is... > > [root@obi-wan ~]# startmol --test > /usr/lib/mol/0.9.70/bin/mol: /usr/lib/libpng12.so.0: no version information available (required by /usr/lib/mol/0.9.70/bin/mol) > Mac-on-Linux 0.9.70 [Mar 27 2004 12:18] > Copyright (C) 1997-2004 Samuel Rydh > Starting MOL session 0 > Loading Mac-on-Linux kernel module: > /usr/lib/mol/0.9.70/modules/2.6.14-1.1637_FC4/mol.ko > Creating the /dev/sheep_net device node. > Loading SheepNet kernel module: > /usr/lib/mol/0.9.70/modules/2.6.14-1.1637_FC4/sheep.ko > Creating the /dev/net/tun device node. > Loading tun driver kernel module: > /usr/lib/mol/0.9.70/modules/2.6.14-1.1637_FC4/tun.ko > Removing stale lockfile /var/lock/mol-0 > Fatal error: Error: The MOL kernel module is not loaded > > Any thoughts about this? Strange. You say the mol module is loaded? Does /dev/mol exist? I don't have any clue... I would now sit down and run MOL in gdb to see what actually triggers the ioctl failure that yields this error (see src/cpu/ppc/init.c). Mattias