LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 09-12-2006, 10:20 AM   #1
lrolstad
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Rep: Reputation: 0
Modules wont load, slackware 10.2


I am using slackware 10.2 on a HP Pavilion DV4000. I have been updating the kernal from 2.4.* to kernel 2.6.13. That has not been a problem it loaded and all is good. After that i tryed to recompile my kernel so i can get my ipw2200 Wireless network card to work. I followed a "howto" someone made on this site, anyway when i was finished recompiling i rebootet the computer. The kernel loads but E.g the mouse, nettwork card, soundcard dosen't work. I belive that is because of the modules dosen't load or whatever you call it.

I am sorry if i am not clear in my issue here, I really hope someone can help me cause this is the second time i have to reinstall slackware, because of my kernel recompiling. :P
 
Old 09-12-2006, 03:26 PM   #2
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 43
Your problem is kernel configuration. You should start with one of Slackware's kernel configs. They can be found in something like pub/linux/distributions/slackware/slackware-10.2/kernels/test26.s/config on the Slackware download sites. Take that config and copy it to the base directory where the 2.6 kernel sources are. BUT, when you copy it, you have to copy to a file called .config so that when you run "make menuconfig" and add the support for your wireless card, settings are already there for the rest of the kernel. Each of Slackware's kernels come with config files so you should start with that. The default configs that come with kernel sources, from kernel.org for example, don't really produce good kernels without heavy modification.

One other thing that I do (and you don't have to), is to get rid of the initrd image. Slackware includes this so the kernel is more generic. All you have to do is configure the kernel with *built in* (NOT as modules) support for the file system that your kernel resides on. In other words, say "y" to "reiserfs support" if that is your filesystem. You're never going to unload that module anyway because your system will not have access to the filesystem, and hence your hard disk!

One last thing, you can start with Slackware config for a kernel with a newer kernel and just run make oldconfig for the things that have changed between 2.6.13 for example and the current kernel from kernel.org. Same steps apply, "oldconfig" just makes upgrades easier.

Last edited by meetscott; 09-13-2006 at 10:25 AM.
 
Old 09-13-2006, 05:18 AM   #3
lrolstad
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Original Poster
Rep: Reputation: 0
The funny thing is that slackbook.org dosen't mention anything about that, but ill try it. last time i compiled the kernel it woulden't even boot i got kernel panic, something about mounting root fs if i am not mistaking.

Anyway i'll try it mabye i can get i to work, cause without my wlan card its useless :P
 
Old 09-13-2006, 10:31 AM   #4
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 43
I haven't looked at the Slackbook in a long time but kernel compilation is something that I ended up learning with an enormous amount of trial and error. Lot's of bad kernels before I could start using them. Then I wondered if the kernel configs were included somewhere for each of the Slackware kernels. Of course I found them in the most obvious place! This isn't too tough to do so post back if you run into any trouble.
 
Old 09-14-2006, 02:24 PM   #5
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
What howto did you follow? It sounds to me like what happened is, after compiling and copying the new kernel, you forgot to "make modules && make modules_install" or forgot to copy the new System.map file to /boot. And if you use LILO run the lilo command as root to detect the new kernel. Kernel compiling is one of those things that you really can't learn just by reading. You have to try, fail, try again, fail again and keep trying until you get it right.
 
Old 09-15-2006, 04:15 AM   #6
lrolstad
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Original Poster
Rep: Reputation: 0
yeah, i think it was because i diden't copy the system.map
Any way got the kernel booting in the end, but it was so much problems with the Wlan issues so i decided to change to a distro that supported my Wlan card. Thanks for all the help i got!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe: FATAL: Could not load /lib/modules/.../modules.dep Ankardo Debian 9 02-01-2011 05:09 PM
FATAL: Could not load /lib/modules/2.6.14-default/modules.dep no such file exist dr_zayus69 Linux - Software 3 12-26-2005 06:44 PM
kernel change all of a sudden? Modules wont load Gates1026 Linux - General 4 04-06-2004 11:58 AM
FATAL: could not load /lib/modules/2.6.1/modules.dep Fr33B33R Slackware 3 01-12-2004 05:40 AM
Making custom kernel..but drivers and modules wont load on boot skoal Linux - General 10 12-06-2001 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration