LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2004, 12:53 AM   #1
superdupershant
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Rep: Reputation: 0
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.
 
Old 01-16-2004, 02:10 AM   #2
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
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
 
Old 01-16-2004, 12:41 PM   #3
superdupershant
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Does hotplug still work with kernel 2.6.1?
 
Old 01-17-2004, 06:13 AM   #4
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
Certainly does.
 
Old 01-17-2004, 03:42 PM   #5
superdupershant
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Original Poster
Rep: Reputation: 0
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.
 
Old 01-19-2004, 01:24 AM   #6
superdupershant
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Original Poster
Rep: Reputation: 0
is there some new virtual filesystem such as proc that I need to mount?
 
Old 01-19-2004, 01:44 AM   #7
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
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...
 
Old 01-19-2004, 01:22 PM   #8
superdupershant
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Original Poster
Rep: Reputation: 0
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.
 
Old 01-21-2004, 08:17 AM   #9
delta9
Member
 
Registered: Dec 2003
Distribution: Gentoo
Posts: 66

Rep: Reputation: 15
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!
 
Old 01-22-2004, 11:17 AM   #10
superdupershant
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Anyone out there has hotplug working in 2.6.1??????????????????
 
Old 01-22-2004, 10:29 PM   #11
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
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...
 
Old 01-22-2004, 10:54 PM   #12
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
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....)
 
Old 01-23-2004, 11:47 PM   #13
superdupershant
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Original Poster
Rep: Reputation: 0
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!!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Auto Hardware detect / Service Manager tfrye10 Red Hat 0 06-22-2005 06:01 PM
auto detect disconnect / connect vb7prog Linux - Networking 1 11-18-2004 04:26 AM
how to auto detect when connected to internet? rohan208 Programming 2 07-24-2004 05:00 PM
X Windows Auto-detect Brother Michael Debian 3 05-13-2004 12:53 PM
CD-ROM drives don't auto-detect (sometimes) justin19fl General 2 07-29-2001 10:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:58 PM.

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