SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
Originally posted by eyeliner I don't know why, I'm somewhat afraid that the auto install
feature overrides any previous one (and it did!!).
I know what you mean. My standard practise is to now create a new folder for each kernel I'm testing and install the test image to this new folder. For instance on my pc I have the default 2.4.26 kernel installed in /boot/, a test 2.4.27 kernel installed at /boot.27/ and a test 2.6.8.1 installed at /boot6.x/
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.