LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-07-2004, 11:38 PM   #1
andrewb758
Member
 
Registered: Jan 2003
Location: Columbus, OH USA
Distribution: Debian unstable
Posts: 63

Rep: Reputation: 15
PCI hotplugging appears to be broken in 2.6.1


I've seen questions about this problem but no clear solutions. I am trying to upgrade the kernel of a clean Slackware 9.1 system (which I installed immediately before trying to do this) to 2.6.1 from 2.4.22. The compiled kernel loads successfully, but no modules for PCI devices load automatically as they did in 2.4.22. USB hotplugging seems to be fine, and the rc.modules script loads parallel port support manually. If I load a module for a PCI device at the command line, everything is fine and the device functions (e.g. 'modprobe 8139too' allows me to get on-line).

Slackware 9.1 claims 2.6.x readiness, and indeed, it sports module-init-tools 0.9.14. I checked versions of various packages against the list in Documentation/Changes. Only procps was a few releases out-of-date, and I tried upgrading it on a previous system and it didn't have any effects.

I know a lot of people are having this problem. If you've had it, have you found anything that works for you? If not, do you know what could be wrong? Suggestions are appreciated!
 
Old 02-08-2004, 02:03 AM   #2
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 45
Quote:
Originally posted by andrewb758
PCI hotplugging appears to be broken in 2.6.1
Did you do 'make config' , 'make oldconfig' , 'make menuconfig' or what?

Did you enable this when you were compiling the kernel?

I ask because I remember specifically being asked this when I did mine and I answered YES. I don't think it is enabled by default.

I did make oldconfig and it took all the default answers to the stuff that wasn't "new".

Peace,
Whitehat

Last edited by Whitehat; 02-08-2004 at 02:19 AM.
 
Old 02-08-2004, 10:09 AM   #3
andrewb758
Member
 
Registered: Jan 2003
Location: Columbus, OH USA
Distribution: Debian unstable
Posts: 63

Original Poster
Rep: Reputation: 15
Truth be told, I've tried both 'make oldconfig' and 'make menuconfig'. I used oldconfig with a .config file from another 2.6.1 attempt (where I went through all the options one by one using xconfig) and then I used menuconfig to tweak various settings to try to get PCI modules to load at bootup.

I've tried compiling PCI hotplugging into the kernel and as a module (which I can't imagine would work for bootup). I assume that I have an ACPI hotplug controller (this board is less than two months old), and I've tried both compiling in and module for that as well. I've also tried disabling the ACPI hotplug option and compiling with no controller selected.

As you can see, I've been through just about everything and I'm running out of ideas.
 
Old 02-12-2004, 11:24 AM   #4
doffer
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
Something else to check:

Have you updated /etc/modprobe.conf yet?

If not then (as root) do the following:

/sbin/generate-modprobe.conf /etc/modprobe.conf

This fixed the problem for me

TTFN

Dan
 
Old 02-29-2004, 05:21 AM   #5
speedlinuxer
LQ Newbie
 
Registered: Feb 2004
Location: Wiesbaden
Distribution: SuSE 9.0
Posts: 1

Rep: Reputation: 0
__Hi,
I also searched for a long time, but after installing the hotplug packet from sourceforge suse 9.0 (Kernel 2.6.3) is able to load modules via hotplug.

Download the srpm from sourceforge.net
( http://sourceforge.net/project/showf...ckage_id=13684)

copy the src-rpm to "/usr/src/packages/SRPMS/

make your rpm via "rpmbuild --rebuild hotplug-2004_01_05-1.src.rpm "

you will get two packages in "/usr/src/packages/RPM/noarch/"

- hotplug-2004_01_05-1.noarch.rpm
-hotplug-base-2004_01_05-1.noarch.rpm

install both (rpm -Uvh *.rpm) and restart.

On my System it works - for example i needed the usblp driver for printing. Bevor installing the new hotplug package I need to load it manually via modprobe now it works automatically like in kernel 2.4.

Hope I could have helped you!

Greetz

Ruben
 
Old 02-29-2004, 06:58 PM   #6
andrewb758
Member
 
Registered: Jan 2003
Location: Columbus, OH USA
Distribution: Debian unstable
Posts: 63

Original Poster
Rep: Reputation: 15
Fixed

I'm using 2.6.3 right now...I came across a patch against the PCI hotplug scripts and applied it--everything works fine now. I wish I could remember where I found that patch, though.
 
  


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
livna repo appears to be broken? Is it me or livna? jamesjoy Linux - Newbie 2 11-06-2005 07:09 AM
Hotplugging Amol Patki LinuxQuestions.org Member Intro 1 04-06-2005 04:05 PM
pci hotplugging off, how? mandrakemikael Mandriva 2 01-02-2005 09:50 PM
Kernel hotplugging eqxro Linux - General 1 06-29-2004 06:46 PM
Hotplugging Broken and Corrupt /var/run/hotplug revmyo Linux - Software 0 01-21-2004 01:18 PM


All times are GMT -5. The time now is 02:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration