LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-05-2006, 10:31 AM   #1
elyk
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 241

Rep: Reputation: 49
Hotplug slowness


I don't need to reboot my computer too often, but over the past few days I've been swapping out winmodems to see if they'll work. I noticed that hotplug seems to take a really long time to load. Then, when I was checking my logs while trying to get a modem to work I noticed this in /var/log/messages
Code:
Jan  5 07:05:27 slackbox kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Jan  5 07:05:27 slackbox kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Jan  5 07:05:27 slackbox kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Jan  5 07:05:27 slackbox kernel: pciehp: PCI Express Hot Plug Controller Driver version: 0.5
These 4 lines are repeated around 39 times over about 15 seconds. It also occurs before I was swapping winmodems, so that shouldn't be the cause of the problem. I don't have any PCI Express devices, either. What's wrong here?

-elyk
 
Old 01-05-2006, 01:38 PM   #2
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
forget the winmodems if they are causing hotplug problems, get an external serial hardware modem, Linux and KDE's KPPP work great with them...
 
Old 01-05-2006, 01:41 PM   #3
shadowhunter
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Slackware 10.2 + FRG + 2.6.15
Posts: 232

Rep: Reputation: 30
Hotplug speeds up when you compile you drivers in your kernel...

Really speeds up.

Check it for yourself.

Geert.
 
Old 01-05-2006, 06:14 PM   #4
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Along the same lines, if you don't need those modules, recompile without them. Then you won't have issues with them.

In the future, hotplug speed will not be an issue. Hotplug is being deprecated. Just gotta wait for PV to:

1) Release Slackware as 2.6 default
2) Start using a newer UDEV/kernel combo

Might be awhile, though. PV seems to like stable (one of the reasons a lot of people like Slackware), and UDEV seems to change FAST. I believe UDEV is turned off by default right now, even.
 
Old 01-06-2006, 05:54 AM   #5
migs
LQ Newbie
 
Registered: Nov 2005
Location: Manila, Philippines
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
Quote:
Originally Posted by elyk
I don't need to reboot my computer too often, but over the past few days I've been swapping out winmodems to see if they'll work. I noticed that hotplug seems to take a really long time to load. Then, when I was checking my logs while trying to get a modem to work I noticed this in /var/log/messages
Code:
Jan  5 07:05:27 slackbox kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Jan  5 07:05:27 slackbox kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Jan  5 07:05:27 slackbox kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Jan  5 07:05:27 slackbox kernel: pciehp: PCI Express Hot Plug Controller Driver version: 0.5
These 4 lines are repeated around 39 times over about 15 seconds. It also occurs before I was swapping winmodems, so that shouldn't be the cause of the problem. I don't have any PCI Express devices, either. What's wrong here?

-elyk
you can add pciehp and shpchp to your /etc/hotplug/blacklist to keep them from loading. speeds things up right along when booting.
 
Old 01-06-2006, 08:26 AM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Quote:
Originally Posted by shilo
Might be awhile, though. PV seems to like stable (one of the reasons a lot of people like Slackware), and UDEV seems to change FAST. I believe UDEV is turned off by default right now, even.
I think you are correct, Shilo. I know I had to turn it on in my recompile to get my Alps Touchpad to work. On the upside, tho, my USB devices startup alot faster.
 
Old 01-07-2006, 03:05 AM   #7
elyk
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 241

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by shadowhunter
Hotplug speeds up when you compile you drivers in your kernel...
Well... the winmodem is why I'm still using the default kernel. It needs a 2.4.x kernel to run so I haven't bothered to recompile it. I should be done with that modem in a few days (back to sweet, sweet broadband at college) so I'll give the 2.6.15 kernel a try.

-elyk
 
Old 01-09-2006, 04:55 PM   #8
b0rgri0t
LQ Newbie
 
Registered: Jan 2006
Location: Modesto, Ca
Distribution: Slackware 10.2 Kernel 2.6.15
Posts: 27

Rep: Reputation: 15
If one were to enable UDEV then would you disable hotplug?
 
Old 01-09-2006, 05:46 PM   #9
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
b0rgri0t- not yet.
 
  


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
slowness Britten Ubuntu 3 11-27-2005 04:15 AM
Interesting slowness (Gnome) berkay Linux - Newbie 1 08-13-2004 05:54 PM
Firmware/Hotplug problem with Hauppauge DEC2540-T, Hotplug and MythTV bezoomny Linux - Hardware 0 05-17-2004 01:37 PM
Site Slowness jeremy LQ Suggestions & Feedback 0 04-01-2003 09:47 PM
Unregular slowness... KillerCheeto Linux - Networking 2 02-01-2003 10:56 AM

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

All times are GMT -5. The time now is 02:37 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