Click to See Complete Forum and Search --> : kmod error 8??


Llhorian
11-17-2000, 02:36 PM
I just installed Slackware 7.1 and before I'm going to say that it's great I'd like to get it working properly http://www.linuxnewbie.org/ubb/smile.gif

Everything set up pretty wel but dhcpcd wouldn't work because apparently it couldn't see my eth0, probably the kernel actually.
So I set up to get the kernel source and recompiled it but now when I start up with that kernel I get an error streaming endlessly past the screen.
Apparently kmod tells me that modprobe can't find or won't do some file or other and gives error 8.
(Yes I know that was extremely vague but you can't exactly capture an error that streams so fast and so long down your screen you have to reboot. And I have to use another linux partition now because eth0 still won't be recognised by the old kernel of course)

So what does it mean when kmod givers error 8 on trying modprobe? I have a lot of things in the kernel in modules because I always like to keep my kernel as small as possible.
So is there a way to solve this or should I just compile everything permanently into the kernel (no modules at all) ?

------------------
--Llhorian
'Linux, it's a little bit different.'

Luthor
11-17-2000, 02:47 PM
Did you make sure to include ELF binary support (and not as a module)? http://www.linuxnewbie.org/ubb/smile.gif


Boot to previous kernel (you DID leave the old kernel bootable didn't you) or a rescue disk and try to reconfig and recompile.


------------------
Luthor St. James
(aka [AcK]BillTheCat)

[This message has been edited by Luthor (edited 17 November 2000).]

Llhorian
11-17-2000, 02:56 PM
Originally posted by Luthor:
Did you make sure to include ELF binary support (and not as a module)? http://www.linuxnewbie.org/ubb/smile.gif


Ah... http://www.linuxnewbie.org/ubb/smile.gif

Yes I kept the old kernel in its place I booted the new kernel from floppy first to see if it worked before I install it.

------------------
--Llhorian
'Linux, it's a little bit different.'

Luthor
11-17-2000, 04:11 PM
smart move http://www.linuxnewbie.org/ubb/smile.gif

pretty sure I had to learn that one the hard way... http://www.linuxnewbie.org/ubb/redface.gif



------------------
Luthor St. James
(aka [AcK]BillTheCat)

Danger Fan
11-17-2000, 04:30 PM
did you uncomment your ethernet card type in the /etc/rc.d/rc.modules file?

Llhorian
11-17-2000, 04:34 PM
Well I compiled ELF file support in and it would boot at least. Still the modules wouldn't load and it gave this error:
modprobe: Can't open dependencies file /lib/modules/2.2.17/modules.dep (No such file or directory)

And it's true, there is no modules.dep file there. How do I solve this?
(Slackware is driving me crazy)

------------------
--Llhorian
'Linux, it's a little bit different.'

Danger Fan
11-17-2000, 04:53 PM
i'm having a similar problem with my parallel port. when i try "modprobe ppa", it says something like "ppa not found". but it should work, cause i've gotten it to work before. this all started when i compiled the 2.2.17 kernel.

Luthor
11-17-2000, 05:01 PM
hmmm...

try "depmod -a 2.2.17" to rebuild it



------------------
Luthor St. James
(aka [AcK]BillTheCat)

Luthor
11-17-2000, 05:05 PM
btw, due to oddities like these and the fact my system rarely changes and has more than enough ram, I got rid of all modules and compiled directly into kernel.

I love to re-config and play with kernel options and modules, but module probs always seemed to get in my way (like the "make modules" debacle of the earlier 2.4.x series).


Not worth it to me http://www.linuxnewbie.org/ubb/smile.gif



------------------
Luthor St. James
(aka [AcK]BillTheCat)