molstart --test gives:
Mac-on-Linux 0.9.71-pre1 [Aug 27 2004 16:38]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 0
The kernel module '/usr/lib/mol/0.9.71/modules/2.6.10/sheep.o' appears to be missing.
Running in PowerPC 7400 mode, 48 MB RAM
Timebase: 33.29 MHz, Bus: 133.16 MHz, Clock: 466 MHz
Failed to lookup IRQ
Using USB mouse on /dev/input/mice
...
*******************************************
* Testing performance *
*******************************************
(bunch of output)
******************************************* * Self-test successful * *******************************************
cleaning up... Terminating threads... DONE
but startmol gives: -----> Can't open /dev/sheep_net, please check module is present ! Failed to initialize the sheep-<eth0> device DHCP nameserver exported: 206.15.168.70 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
which is where it hangs until (after a *long* while) I get the message:
Failed to initialize the sheep-</etc/mol> device SIOCGIFFLAGS: No such device
So, I try to rebuild mol-kmods with CONFIG_SHEEP enabled in the config file, which gets me the following messages during the build:
Building modules, stage 2.
Kernel source : /usr/src/yellowdog/BUILD/mol-kmods-0.9.71/kernel/2.6.10
Module compiled for : 2.6.10
Running kernel : 2.6.10
/usr/src/yellowdog/BUILD/mol-kmods-0.9.71/obj-ppc/build/src/netdriver/sheep.c: In function `sheep_net_receiver':
/usr/src/yellowdog/BUILD/mol-kmods-0.9.71/obj-ppc/build/src/netdriver/sheep.c:154: error: union has no member named `ethernet'
/usr/src/yellowdog/BUILD/mol-kmods-0.9.71/obj-ppc/build/src/netdriver/sheep.c:168: error: union has no member named `ethernet'
There was another patch (sheep.patch), but that was supposed to be necessary only if I changed the system includes to the new kernel source (which I don't beleive I have). Is there anything else I'm missing here?
Joseph E. Sacco, Ph.D. wrote:
(1) Get the MOL SRPM from a source CD or YDL site and then install / unpack it using: rpm -ivh mol-0.9.71-0.ydl.1.src.rpm
(2) cd /usr/src/yellowdog/SOURCES
(3) unpack the gzipped tar file
tar zxvf mol-0.9.71.tgz
(2) apply alloc_h.patch
(3) apply sheep.patch *only* if you are using linux-2.6 kernel headers, i.e., you changed /usr/include/linux and /usr/include/asm. If you have not updated the kernel include files that came with YDL-4.0, you do not need to apply this patch.
(4) repackage the source
tar zcvf mol-0.9.71.tgz mol-0.9.71
(5) edit mol-0.9.71-config uncomment CONFIG_TAP and CONFIG_SHEEP
(6) Build MOL RPM's cd /usr/src/yellowdog/SPECS rpmbuild -bb mol.spec
(7) Reinstall MOL RPM's rpm -e mol mol-kmods
cd /usr/src/yellowdog/RPMS/ppc
rpm -ivh mol-0.9.71-0.ydl.1.ppc.rpm \ mol-kmods-0.9.71-0.ydl.1.ppc.rpm
-Joseph
_______________________________________________ yellowdog-general mailing list [email protected] http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com'
