Eric Biederman said: Andrew this sounds like a bug in the usb stack somewhere. In that it cannot reinitialize itself from the state it leaves the hardware in.
That is the classic driver problem when hardware fails on boot up in a kernel that has been kexec'd. Anyway the kernel gets to user space and only has problem when talking to usb. Begin forwarded message: Date: Sat, 5 Mar 2005 07:03:13 -0800 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bug 4294] New: kexec : on reboot, kernel hangs when reading /proc/bus/usb/devices http://bugme.osdl.org/show_bug.cgi?id=4294 Summary: kexec : on reboot, kernel hangs when reading /proc/bus/usb/devices Kernel Version: 2.6.11-mm1 Status: NEW Severity: normal Owner: [EMAIL PROTECTED] Submitter: [EMAIL PROTECTED] Distribution: mandrake 10.2 beta 3 Hardware Environment: desktop with Asus A7V133 motherboard (chipset Via 82c...), Athlon XP 1600+. see below the output of lspci -v. Software Environment: # kexec --version kexec 1.101 released 15 February 2005 Problem Description: When I reboot with a kernel loaded by kexec, my rc.sysinit hangs the following line : grep -e "^I.*Cls=08" /proc/bus/usb/devices I have to press sysrq-B to reboot. Sysrq-T does not produce any output (excepted "Sysrq : show state"). An interesting workaround is to unload the uhci-hcd module before rebooting. In this case, the system reboots fine (does not hang) Steps to reproduce: - modify /sbin/halt.local to call "/sbin/kexec -e" - load the current kernel with "kexec --load ..." - type "reboot"... output of lspci -v ------------------ 00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03) Subsystem: ASUSTeK Computer Inc. A7V133/A7V133-C Mainboard Flags: bus master, medium devsel, latency 8 Memory at e4000000 (32-bit, prefetchable) [size=64M] Capabilities: <available only to root> 00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP] (prog-if 00 [Normal decode]) Flags: bus master, 66Mhz, medium devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 Memory behind bridge: d6000000-d7efffff Prefetchable memory behind bridge: d7f00000-e3ffffff Capabilities: <available only to root> 00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40) Subsystem: ASUSTeK Computer Inc. A7V133/A7V133-C Mainboard Flags: bus master, stepping, medium devsel, latency 0 Capabilities: <available only to root> 00:04.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP]) Flags: bus master, medium devsel, latency 32 I/O ports at d800 [size=16] Capabilities: <available only to root> 00:04.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16) (prog-if 00 [UHCI]) Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller Flags: bus master, medium devsel, latency 32, IRQ 5 I/O ports at d400 [size=32] Capabilities: <available only to root> 00:04.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16) (prog-if 00 [UHCI]) Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller Flags: bus master, medium devsel, latency 32, IRQ 5 I/O ports at d000 [size=32] Capabilities: <available only to root> 00:04.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40) Subsystem: ASUSTeK Computer Inc. A7V133/A7V133-C Mainboard Flags: medium devsel, IRQ 9 Capabilities: <available only to root> 00:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02) Subsystem: Ensoniq Creative Sound Blaster AudioPCI128 Flags: bus master, slow devsel, latency 32, IRQ 5 I/O ports at a400 [size=64] Capabilities: <available only to root> 00:0a.0 FireWire (IEEE 1394): Agere Systems (former Lucent Microelectronics) FW323 (rev 04) (prog-if 10 [OHCI]) Subsystem: Pinnacle Systems Inc.: Unknown device 000e Flags: bus master, medium devsel, latency 32, IRQ 10 Memory at d5800000 (32-bit, non-prefetchable) [size=4K] Capabilities: <available only to root> 00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS) Flags: medium devsel, IRQ 5 I/O ports at a000 [size=32] 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2) (prog-if 00 [VGA]) Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11 Memory at d6000000 (32-bit, non-prefetchable) [size=16M] Memory at d8000000 (32-bit, prefetchable) [size=128M] Expansion ROM at d7ff0000 [disabled] [size=64K] Capabilities: <available only to root> ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
