Hi,

I'm having trouble with ehci on a 440epx based board, Things
seems to go wrong after a reset of ehci controller. The board
is running Linux 2.6.22, version tagged DENX-v2.6.22 from Denx
git (git://www.denx.de/git/linux-2.6-denx.git).

The problem can be reproduced on the AMCC Sequoia board,
compiling ehci and ohci as modules, along with usb debug
messages. Inserting, removing and inserting back the ehci-hcd
module triggers the error (See below for the full dmesg) :

ppc-soc-ehci ppc-soc-ehci.0: reset command 01000b (park)=0
ithresh=1 period=256 Reset RUN
ppc-soc-ehci ppc-soc-ehci.0: startup error -110

Those reset errors also happen when plugging some cheap usb
keys.

So far, i've tried to set park=3 and log2_irq_thresh=3 as
these are the powerup values on the 440epx, but it doesn't
make any differences.

Any ideas about this ?

Benoît Monin.
Adeneo


sh-3.00# modprobe ehci-hcd
ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
In ehci_hcd_ppc_soc_drv_probe
ppc-soc-ehci ppc-soc-ehci.0: Break Memory Transfer (BMT) has
beed enabled!
ppc-soc-ehci ppc-soc-ehci.0: PPC-SOC EHCI
kernel/drivers/usb/core/inode.c: creating file 'devices'
kernel/drivers/usb/core/inode.c: creating file '001'
ppc-soc-ehci ppc-soc-ehci.0: new USB bus registered, assigned
bus number 1
ppc-soc-ehci ppc-soc-ehci.0: log2_irq_thresh 0
ppc-soc-ehci ppc-soc-ehci.0: park 0
ppc-soc-ehci ppc-soc-ehci.0: irq 26, io mem 0xe0000300
ppc-soc-ehci ppc-soc-ehci.0: reset command 080b02 park=3
ithresh=8 period=1024 Reset HALT
ppc-soc-ehci ppc-soc-ehci.0: init command 010009 (park)=0
ithresh=1 period=256 RUN
ppc-soc-ehci ppc-soc-ehci.0: USB 0.0 started, EHCI 1.00,
driver 10 Dec 2004
usb usb1: default language 0x0409
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: PPC-SOC EHCI
usb usb1: Manufacturer: Linux 2.6.22 ehci_hcd
usb usb1: SerialNumber: PPC-SOC EHCI
usb usb1: usb_probe_device
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: individual port power switching
hub 1-0:1.0: individual port over-current protection
hub 1-0:1.0: Single TT
hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
hub 1-0:1.0: power on to power good time: 20ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: enabling power on all ports
kernel/drivers/usb/core/inode.c: creating file '001'
hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000


sh-3.00# modprobe -r ehci-hcd
ppc-soc-ehci ppc-soc-ehci.0: remove, state 1
ppc-soc-ehci ppc-soc-ehci.0: roothub graceful disconnect
usb usb1: USB disconnect, address 1
usb usb1: unregistering device
usb usb1: usb_disable_device nuking all URBs
ppc-soc-ehci ppc-soc-ehci.0: shutdown urb cfc8fa80 pipe
40408180 ep1in-intr
usb usb1: unregistering interface 1-0:1.0
usb_endpoint usbdev1.1_ep81: ep_device_release called for
usbdev1.1_ep81
usb_endpoint usbdev1.1_ep00: ep_device_release called for
usbdev1.1_ep00
ppc-soc-ehci ppc-soc-ehci.0: stop
ppc-soc-ehci ppc-soc-ehci.0: ...powerdown ports...
ppc-soc-ehci ppc-soc-ehci.0: reset command 01000b (park)=0
ithresh=1 period=256 Reset RUN
ppc-soc-ehci ppc-soc-ehci.0: irq normal 0 err 0 reclaim 0 (lost 0)
ppc-soc-ehci ppc-soc-ehci.0: complete 0 unlink 0
ppc-soc-ehci ppc-soc-ehci.0: ehci_stop completed status 0008 FLR
ppc-soc-ehci ppc-soc-ehci.0: USB bus 1 deregistered


sh-3.00# modprobe ehci-hcd
ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
In ehci_hcd_ppc_soc_drv_probe
ppc-soc-ehci ppc-soc-ehci.0: Break Memory Transfer (BMT) has
beed enabled!
ppc-soc-ehci ppc-soc-ehci.0: PPC-SOC EHCI
kernel/drivers/usb/core/inode.c: creating file 'devices'
kernel/drivers/usb/core/inode.c: creating file '001'
ppc-soc-ehci ppc-soc-ehci.0: new USB bus registered, assigned
bus number 1
ppc-soc-ehci ppc-soc-ehci.0: log2_irq_thresh 0
ppc-soc-ehci ppc-soc-ehci.0: park 0
ppc-soc-ehci ppc-soc-ehci.0: irq 26, io mem 0xe0000300
ppc-soc-ehci ppc-soc-ehci.0: reset command 01000b (park)=0
ithresh=1 period=256 Reset RUN
ppc-soc-ehci ppc-soc-ehci.0: startup error -110
ppc-soc-ehci ppc-soc-ehci.0: USB bus 1 deregistered
ppc-soc-ehci: probe of ppc-soc-ehci.0 failed with error -110




Créez votre adresse électronique [EMAIL PROTECTED] 
1 Go d'espace de stockage, anti-spam et anti-virus intégrés.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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