Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-16-2004, 12:53 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 9
Rep:
|
Kernel 2.6.1 hardware auto detect? devfs maybe?
Hi everyone, I compilied kernel 2.6.1 on my slack 9.1 box and when I booted up I noticed that the kernel was no longer autodetecting my hardware such has my nics. Previouslly in kernel 2.4.23 the kernel would automatically load the right modules. I know I have the right modules compiled and module support is compiled, they are all in /lib/modules/2.6.1, also I've got hotplug and the latest module-init-tools. I'm thinking maybe its a devfs or ACPI issue. Any Ideas! Thank You.
|
|
|
01-16-2004, 02:10 AM
|
#2
|
Member
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122
Rep:
|
Check that you have the appropriate alias entries in your /etc/modprobe.conf for your hardware.
The generate-modprobe.conf script does a reasonable job of converting your modules.conf over but sometimes misses some things.
Also note the module names, some have changed slightly since 2.4
|
|
|
01-16-2004, 12:41 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Posts: 9
Original Poster
Rep:
|
Does hotplug still work with kernel 2.6.1?
|
|
|
01-17-2004, 06:13 AM
|
#4
|
Member
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122
Rep:
|
Certainly does.
|
|
|
01-17-2004, 03:42 PM
|
#5
|
LQ Newbie
Registered: Jul 2003
Posts: 9
Original Poster
Rep:
|
So I ran
generate-modprobe.conf /etc/modprobe.conf
And still nothing when I boot up the kernel doesn't load any of the modules.
|
|
|
01-19-2004, 01:24 AM
|
#6
|
LQ Newbie
Registered: Jul 2003
Posts: 9
Original Poster
Rep:
|
is there some new virtual filesystem such as proc that I need to mount?
|
|
|
01-19-2004, 01:44 AM
|
#7
|
Member
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122
Rep:
|
Theres sysfs which should be mounted on /sys
mount sysfs -t sysfs /sys
You may want to double check that
a) you've run depmod
b) the module names you want to load are correct in /etc/modprobe.conf.
a quick
find /lib/modules/`uname -r`/kernel -name \*.ko should give you a list of what you have.
One which seems to catch most is them building the new e100 driver but still trying to load the old eepro100.
HTH some...
|
|
|
01-19-2004, 01:22 PM
|
#8
|
LQ Newbie
Registered: Jul 2003
Posts: 9
Original Poster
Rep:
|
I know the modules are there and they work fine, I can modprobe sis900 and it comes up and the device works fine, its just that used to happen automatically now it doesn't. When I plug in my usb camera it used to automatically bring up usb-storage now in 2.6.1 it doesn't, i have to manually modprobe usb-storage.
|
|
|
01-21-2004, 08:17 AM
|
#9
|
Member
Registered: Dec 2003
Distribution: Gentoo
Posts: 66
Rep:
|
I'm having the same problem and I've read a LOT of similar threads but nobody seems to have the definite answer as to how to get the modules loaded automatically running kernel 2.6.x.
Some suggest to uncomment the needed modules in /etc/rc.d/rc.modules but I want to have them loaded automatically! 
|
|
|
01-22-2004, 11:17 AM
|
#10
|
LQ Newbie
Registered: Jul 2003
Posts: 9
Original Poster
Rep:
|
Anyone out there has hotplug working in 2.6.1??????????????????
|
|
|
01-22-2004, 10:29 PM
|
#11
|
Member
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122
Rep:
|
Will build devfs support in and restore my hotplug stuff (currently
testing udev)
Will let you know what I come up with.
Note however I'm running a custom from-source OS, not slackware...
|
|
|
01-22-2004, 10:54 PM
|
#12
|
Senior Member
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032
Rep:
|
Quote:
Originally posted by delta9
I'm having the same problem and I've read a LOT of similar threads but nobody seems to have the definite answer as to how to get the modules loaded automatically running kernel 2.6.x.
Some suggest to uncomment the needed modules in /etc/rc.d/rc.modules but I want to have them loaded automatically!
|
Whoa, you can do that? I've always just had my usbstorage built into the kernel. If I can get that hotpluged, I might see a noticable change in speed for my 200mhz POS.... "" goes for my TI USB cable for my calculators(Assuming I'll ever get it to work with TiLP or anything....)
|
|
|
01-23-2004, 11:47 PM
|
#13
|
LQ Newbie
Registered: Jul 2003
Posts: 9
Original Poster
Rep:
|
yea with slack 9.1 on a 2.4.2* kernel I was able to plug in any piece of hardware and hte kernel would bring up the modules, but with 2.6.1 it doesn't even load nic drivers!!!!
|
|
|
All times are GMT -5. The time now is 11:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|