Alan Stern ha scritto:

On Fri, 23 Sep 2005, Patrizio Bassi wrote:

What happens if you rmmod ehci-hcd and leave uhci-hcd loaded?


i wrote in the dmesg:

eth1: Setting promiscuous mode.
uhci_hcd 0000:00:0a.1: HC isn't running!
hub 3-0:1.0: PM: resume from 1, parent usb3 still 1

I can't tell from these messages exactly what's wrong. In fact, it looks like the third line should have been printed _before_ the second line.

What do you get in the system log if you turn on CONFIG_USB_DEBUG?

Alan Stern




actually i haven't debug enabled.

I can't tell what's wrong without the debugging messages.

Alan Stern


[BOTH EHCI AND UHCI LOADED, TRYING TO SUSPEND]

Stopping tasks: =============|
Freeing memory... done (37548 pages freed)
usb usb4: usb suspend
uhci_hcd 0000:00:0a.1: suspend_rh
usb usb3: usb suspend
uhci_hcd 0000:00:0a.0: suspend_rh
usb usb2: usb suspend
uhci_hcd 0000:00:04.2: suspend_rh
usb usb1: usb suspend
ACPI: PCI interrupt for device 0000:00:0d.0 disabled
ACPI: PCI interrupt for device 0000:00:0a.2 disabled
ehci_hcd 0000:00:0a.2: --> PCI D3
Could not suspend device 0000:00:0a.2: error -22
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10 ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
eth1: Setting promiscuous mode.
uhci_hcd 0000:00:04.2: wakeup_rh
usb usb1: usb resume
hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0000
uhci_hcd 0000:00:0a.0: wakeup_rh
usb usb2: usb resume
hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0000
uhci_hcd 0000:00:0a.1: wakeup_rh
usb usb3: usb resume
hub 3-0:1.0: state 5 ports 2 chg 0000 evt 0000
ehci_hcd 0000:00:0a.2: resume root hub
usb usb4: usb resume
hub 4-0:1.0: state 5 ports 4 chg 0000 evt 0000
Some devices failed to suspend
Restarting tasks... done
uhci_hcd 0000:00:04.2: suspend_rh (auto-stop)
uhci_hcd 0000:00:0a.0: suspend_rh (auto-stop)
uhci_hcd 0000:00:0a.1: suspend_rh (auto-stop)

[UNLOAD EHCI]


ehci_hcd 0000:00:0a.2: remove, state 1
ehci_hcd 0000:00:0a.2: roothub graceful disconnect
usb usb4: USB disconnect, address 1
usb usb4: usb_disable_device nuking all URBs
ehci_hcd 0000:00:0a.2: shutdown urb dca7ce00 pipe 40408180 ep1in-intr
usb usb4: unregistering interface 4-0:1.0
usb 4-0:1.0: hotplug
usb usb4: unregistering device
usb usb4: hotplug
ehci_hcd 0000:00:0a.2: stop
ehci_hcd 0000:00:0a.2: reset command 01000b (park)=0 ithresh=1 period=256 Reset RUN
ehci_hcd 0000:00:0a.2: irq normal 0 err 0 reclaim 0 (lost 0)
ehci_hcd 0000:00:0a.2: complete 0 unlink 0
ehci_hcd 0000:00:0a.2: ehci_stop completed status 1000 Halt
Trying to free free IRQ11
ehci_hcd 0000:00:0a.2: USB bus 4 deregistered
ACPI: PCI interrupt for device 0000:00:0a.2 disabled


[ONLY UHCI LOADED, TRYING TO SUSPEND AGAIN]


Stopping tasks: =============|
Freeing memory... done (0 pages freed)
uhci_hcd 0000:00:0a.1: suspend_rh
usb usb3: usb suspend
uhci_hcd 0000:00:0a.0: suspend_rh
usb usb2: usb suspend
uhci_hcd 0000:00:04.2: suspend_rh
usb usb1: usb suspend
ACPI: PCI interrupt for device 0000:00:0d.0 disabled
uhci_hcd 0000:00:0a.1: uhci_suspend
ACPI: PCI interrupt for device 0000:00:0a.1 disabled
uhci_hcd 0000:00:0a.1: --> PCI D3
Could not suspend device 0000:00:0a.1: error -22
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10 ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
eth1: Setting promiscuous mode.
uhci_hcd 0000:00:04.2: wakeup_rh
usb usb1: usb resume
hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0000
uhci_hcd 0000:00:0a.0: wakeup_rh
usb usb2: usb resume
hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0000
uhci_hcd 0000:00:0a.1: HC isn't running!
usb usb3: can't resume, status -19
hub 3-0:1.0: PM: resume from 1, parent usb3 still 1
hub 3-0:1.0: hub_port_status failed (err = -113)
hub 3-0:1.0: hub_port_status failed (err = -113)
hub 3-0:1.0: activate --> -113
hub 3-0:1.0: state 6 ports 2 chg 0000 evt 0000
hub 3-0:1.0: hub_port_status failed (err = -113)
hub 3-0:1.0: hub_port_status failed (err = -113)
Some devices failed to suspend
Restarting tasks... done
uhci_hcd 0000:00:04.2: suspend_rh (auto-stop)
uhci_hcd 0000:00:0a.0: suspend_rh (auto-stop)

[UNLOADING UHCI MODULE TOO...]

uhci_hcd 0000:00:0a.1: remove, state 4
uhci_hcd 0000:00:0a.1: roothub graceful disconnect
usb usb3: USB disconnect, address 1
usb usb3: usb_disable_device nuking all URBs
usb usb3: unregistering interface 3-0:1.0
usb 3-0:1.0: hotplug
usb usb3: unregistering device
usb usb3: hotplug
Trying to free free IRQ9
uhci_hcd 0000:00:0a.1: USB bus 3 deregistered
ACPI: PCI interrupt for device 0000:00:0a.1 disabled
uhci_hcd 0000:00:0a.0: remove, state 1
uhci_hcd 0000:00:0a.0: roothub graceful disconnect
usb usb2: USB disconnect, address 1
usb usb2: usb_disable_device nuking all URBs
uhci_hcd 0000:00:0a.0: shutdown urb c16c2720 pipe 40408180 ep1in-intr
usb usb2: unregistering interface 2-0:1.0
usb 2-0:1.0: hotplug
usb usb2: unregistering device
usb usb2: hotplug
uhci_hcd 0000:00:0a.0: USB bus 2 deregistered
ACPI: PCI interrupt for device 0000:00:0a.0 disabled
uhci_hcd 0000:00:04.2: remove, state 1
uhci_hcd 0000:00:04.2: roothub graceful disconnect
usb usb1: USB disconnect, address 1
usb usb1: usb_disable_device nuking all URBs
uhci_hcd 0000:00:04.2: shutdown urb c16c2a20 pipe 40408180 ep1in-intr
usb usb1: unregistering interface 1-0:1.0
usb 1-0:1.0: hotplug
usb usb1: unregistering device
usb usb1: hotplug
uhci_hcd 0000:00:04.2: USB bus 1 deregistered
ACPI: PCI interrupt for device 0000:00:04.2 disabled


[FINALLY SUSPEND WORKS, RESUME TOO!!]


Stopping tasks: =============|
Freeing memory... done (0 pages freed)
ACPI: PCI interrupt for device 0000:00:0d.0 disabled
ACPI: PCI interrupt for device 0000:00:09.0 disabled
swsusp: Need to copy 8820 pages
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
eth0: Setting promiscuous mode.
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10 ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
eth1: Setting promiscuous mode.
Restarting tasks... done




Even if the problem is with ehci and uhci modules, it seems to be always related
to the PCI card, and usb 2.0 controller by VIA

0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03) 0000:00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
0000:00:04.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:04.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) 0000:00:04.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:04.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:09.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30) 0000:00:0a.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50) 0000:00:0a.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
0000:00:0a.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
0000:00:0b.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev 01)
0000:00:0d.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74) 0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 RF/SG AGP






-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to