Modules error after compile 2.6.8.1 kernel
I decided to move to slackware distro from debian (mandrake earlier). I made full install of Slackware 10, installed what I need and then made next step - compiling new kernel 2.6.8.1. It's worth to ment that the system didn't recover my parallel port so I wasn't able to use my printer. I did a few configs but in most cases I had problems inserting modules. At the end
I got something similar to this: version magic '2.6.8.1 K7 gcc-3.3' should be '2.6.8.1-K7 preempt K7 gcc-3.3' insmod: error inserting '/lib/xxxx.ko': -1 Invalid Whats the problem ? When I was trying to insert realtek 8139 into kernel I got this error : FATAL 8139too modules not found or similar and thereof the network card didn't work. After all when I tried to boot with kernel 2.6.8.1 today in the morning it can not boot from partition althought yesterday everything was ok. Could you please give me some advice on above problems. |
Re: Modules error after compile 2.6.8.1 kernel
Quote:
|
Did you
"make modules" and then "make modules_install"? Did you copy system-2.6.8.1 to /boot/system.map and .config to /boot config? I've compiled the same kernel and everything is "chiky baby"; I've even rebooted my laptop now just to see if everything is good. It loads quite fast as i have compiled the few moduled i need the most on the kernel. My only problem is that I think a few problems ocurr during boot. There is no hotplug start and no services run, and that is why is loads in blistering speed. Probably that is why the laptop doesn't power down... |
Like most people here I'm not an expert on Slackware. However I have red a lot of articles about so I was able to compile kernel which was almost OK. The only thing I need to know is how to eliminate the errors mentioned on earlier post. I don't need your suggestions - if you're not going to help me do better say nothing.
|
Sorry eyeliner this post was ment to be the answer to the guy called himself 320mb
|
I have forgotten to copy the System.map to /boot/System.map I try and run it again. Thanx ;). Do I really need to copy .config to /boot/.config too ?
|
no you don't need that. Besides, if you edit the Makefile and change the install_path to /boot/ then you won't have to worry about copying files to the boot folder, it will be done automatically.
The best bet is to get the generic slackware 2.6.8.1 .config file and then just remove what you're certain you don't need. Look on any slackware mirror and you'll find the .config. Best of luck. |
Hey mathias1975, does it work?
I don't know if the above files ARE mandatory, but as i had my share of problems with kernels, i do it all like i said. I don't know why, I'm somewhat afraid that the auto install feature overrides any previous one (and it did!!). Maybe I'll start to create a new directory in /boot after each kernel so to keep a better control of all files. Cheers. |
I have made everything once again sticking install_path = /boot/ into Makefile as suggested by KMcD. Everything works just fine except i still encounter problems with parallel port - it doesn't want to load on the begining - I have put it as a module. I think that the problem described by me on the begining of the thread was connected with some mess I did between old and new kernel files. I find it important to do all the things carefully.
|
Tell me about it.
I am with an almost useless system because I triffled with a precompiled kernel, modules and headers. As of now, no services run at boot, so no net and network. Probably we stumbled on the same thing. As I can't do much with the services, i'll have to reinstall. Damn... |
Quote:
Once I have the 2.6.8.1 kernel stable I'll install it to /boot/ and change the makefile to reflect this. You won't mess up your system as long as you backup the stable boot folder and it modules. |
KMcD: Where could I find this 2.6.8.1 generic config file?
I would be interested in looking at it. Don't see it on the mirror I downloaded from. cheers |
try this link, on the HEAnet mirror, based in Ireland.
Just download, rename to .config and move to /usr/src/linux-2.6.8.1/ When on the mirror ftp site, look for testing/source/linux-2.6.x/ should be there. |
All times are GMT -5. The time now is 07:49 PM. |