You are not logged in.
Pages: 1
I have Arch running on my laptop (Sony V505 series). Everything works fine, but when I do a shutdown, the kernel panics every time. There is nothing in the logs. I could take a picture of the console after the panic if that will help.
Mark
ed: OK, I stand corrected ... it does not panic every time. I did a shutdown just now, intending to write down any obviously pertinent bits in the panic message, but it did not panic. I *seem* to remember something related to USB in there.
Offline
what kernel?
The impossible missions are the only ones which succeed.
Offline
Linux yen 2.6.9-ARCH #1 SMP Tue Oct 26 11:33:54 PDT 2004 i686 Intel(R) Pentium(R) M processor 1500MHz GenuineIntel GNU/Linux
Mark
Offline
Oh, and I noticed the message on the homepage. I have all three modules loaded:
yen mark ~/ISO $ lsmod | grep hcd
ohci_hcd 22660 0
ehci_hcd 31748 0
uhci_hcd 33680 0
yen mark ~/ISO $
I am using hotplug.
Mark
Offline
Same problem here, 2.6.9 Kernel. Hotplug, khubd seem to be the problem.
Possible related issue, on startup I get an error along the lines of:
hotplug.functions, line 113, pnp.distmap not found.
The little research I've done so far tells me the Slackware hotplug package includes the pnp.distmap file, however, I can't find it on my system.
And, the last odd thing. I also get proc/bus/usb does not exist on startup, and I'm not using the SCSI kernel.
Any ideas are welcome.
Update 15NOV04:
I got pnp.distmap from: http://cvs.sourceforge.net/viewcvs.py/l … iew=markup and put it in /etc/hotplug. No more pnp.distmap not found on boot up.
carb $ now; uname -a; uptime
Sun 03Jul11 14:54:25 CDT -0500
Linux carb 2.6.17-ARCH #1 SMP PREEMPT Fri Jul 7 09:15:53 CEST 2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
14:54:25 up 1463 days, 9:24, 1 user, load average: 1.00, 1.00, 1.00
Offline
I did some testing with my Gentoo installation on this same machine ... things work fine with kernel 2.6.7 but I get these same crashes on shutdown with both 2.6.8 and 2.6.9.
The kernel does not panic *every* time I do a shutdown, but it does panic most times ... maybe about 75%. The last normal shutdown message I see before the panic is the Hotplug shutdown line.
Mark
Offline
An update: Over the past few weeks I have burned through a number of differant distros, eventually coming back to Arch. I'm typing this from a clean install of 0.7 beta 2 and I am still getting the crash/panic during most of my shutdowns ... but not all of them.
Mark
Offline
if you know the modules of all your devices, I would suggest removing hotplug at boot time.
udev uses hotplug internally, for actual "hot plugged" devices, such as usb and things of that nature. Running the hotplug daemon at boot is only for "cold plugged" devices - which are already part of the computer when booted.
If you know the modules for all the cold plugged devices (video card, sound card, etc etc) there is no reason to run it at boot.
Try removing the hotplug daemon, and see if the same thing happens.
DISCLAIMER: I am very much against the hotplug daemon, I think it sucks and causes too much module bloat.
Offline
Thanks, I'll give it a shot. I'll just save a copy of my lsmod output for reference.
Mark
Offline
Thanks, I'll give it a shot. I'll just save a copy of my lsmod output for reference.
Mark
good idea - FYI not all the modules that hotplug loads are needed... like joydev and things like that...
Offline
For sure. I'll start with the ones I know (network, sound, usb etc) and work form there. My current lsmod has:
Module Size Used by
eth1394 22664 0
ohci_hcd 22660 0
ipw2200 117484 0
ieee80211 34116 1 ipw2200
ieee80211_crypt 5508 1 ieee80211
eepro100 31372 0
mii 5632 1 eepro100
ohci1394 35588 0
ieee1394 114360 2 eth1394,ohci1394
snd_intel8x0m 19400 1
snd_intel8x0 36428 1
snd_ac97_codec 73808 2 snd_intel8x0m,snd_intel8x0
snd_pcm_oss 56488 0
snd_mixer_oss 21376 1 snd_pcm_oss
snd_pcm 101508 3 snd_intel8x0m,snd_intel8x0,snd_pcm_oss
snd_timer 27140 1 snd_pcm
snd_page_alloc 10248 3 snd_intel8x0m,snd_intel8x0,snd_pcm
gameport 5120 1 snd_intel8x0
snd_mpu401_uart 8704 1 snd_intel8x0
snd_rawmidi 26276 1 snd_mpu401_uart
snd_seq_device 8456 1 snd_rawmidi
snd 58980 14 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 10848 1 snd
usb_storage 70848 0
ehci_hcd 31748 0
uhci_hcd 33680 0
shpchp 101252 0
pci_hotplug 13060 1 shpchp
tsdev 8128 0
evdev 9984 0
sonypi 24404 3
ntfs 156432 1
3c59x 40104 0
Offline
This seems to have worked! I would like to continue running hotplug but I guess I'll have to wait for the next kernel release and see if it stops puking. I wish Arch kept older kernels around because this was never a problem with 2.6.7, only 2.6.8 and 2.6.9. So, "something has changed".
Thanks,
Mark
Offline
i too got some of those weird crashes after playing with my usb device. however, i never used hotplug before... so i dont know how much hotplug-related this problem is.
/me crossing my fingers for next kernel release.
Offline
This seems to have worked! I would like to continue running hotplug but I guess I'll have to wait for the next kernel release and see if it stops puking. I wish Arch kept older kernels around because this was never a problem with 2.6.7, only 2.6.8 and 2.6.9. So, "something has changed".
Thanks,
Mark
why do you want to continue running hotplug. the hotplug daemon is only used during bootup.
for plugging devices in on a running system, that's done by udev.. which calls hotplug internally.
the hotplgu daemon (the one in rc.conf) does nothing if you know your system modules... and it actually slows down boot...
Offline
why do you want to continue running hotplug. the hotplug daemon is only used during bootup.
for plugging devices in on a running system, that's done by udev.. which calls hotplug internally.
the hotplgu daemon (the one in rc.conf) does nothing if you know your system modules... and it actually slows down boot...
It also loads modules for the different interfaces. If you don't explictly load the firewire modules, and don't run hotplug, and plug in a firewire device nothing will happen. Your choice is to load all the modules by hand for the different device busses you have or run hotplug and let it load them all for you.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
Pages: 1