[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel compiling for power pc



Rainer Gutkas wrote:
After requesting how to get an orinoco driver monitor support I've comiled the
kernel-source-2.6.8 package with the orinoco patch applied.

result: kernel panick on boot
before there was a thousand times the message:modconf error- couldn't
open /lib/modules/modules.dep no such file or directory

the funny thing is that it was there but something wen't wrong.

I tried to follow the howto's I found or got mailed....

So I guess somebody here knows what I gotta do to get that thing right...

THX,

Rainer

Just check out the for_linus branch here:

http://savannah.nongnu.org/projects/orinoco

and build the drivers against the appropriate kernel headers/source.

It sounds like you've messed up somewhere along the kernel compilation. The easier approach
is to simply build the drivers outside the source tree. This way you can drop the new binaries
in place without having to patch/compile the kernel sources.

You'll need this small patch to compile the CVS drivers.

diff -Nru orinoco-cvs/orinoco_cs.c orinoco-build/orinoco_cs.c
--- orinoco-cvs/orinoco_cs.c    2005-02-26 22:21:55.000000000 -0800
+++ orinoco-build/orinoco_cs.c  2005-02-27 15:00:07.000000000 -0800
@@ -428,7 +428,7 @@
        SET_MODULE_OWNER(dev);
        card->node.major = card->node.minor = 0;

-       SET_NETDEV_DEV(dev, &handle_to_dev(handle));
+       dev->name[0] = '\0';
        /* Tell the stack we exist */
        if (register_netdev(dev) != 0) {
                printk(KERN_ERR PFX "register_netdev() failed\n");



	-Eric

--
"Education is what remains after one has forgotten everything he learned in school."
	- Albert Einstein

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: