Hi all !

I have a custom board based on a MPC823 processor running Denx Linux kernel
2.4.4 with Brad Parker's USB host controller driver. 

To test our USB harware, we use an aplication that copies a file from an USB
pendrive into memory and then compares memory file with pendrive file, and
if they are equal, it continues doing the same test continuously.

The aplication doesn't fail for  several hours, sometimes 14 other times 30
hours, but suddenly, an error ocurs (see below).

Someone can give an idea of what is happening?

Thanks in advance. 


.......
<4>m8xxhci: initializing controller
<4>m8xxhci_setup()
<6>usb.c: new USB bus registered, assigned bus number 1
<4>m8xxhci_start_controller()
<4>m8xxhci: MPC823e (mask 1)
<4>m8xxhci: USING CLK1 for USB clock!
<4>m8xxhci: ring sizes: rx 32, tx 40
<4>m8xxhci: enable USB controller
<4>m8xxhci_timer_setup()
<4>m8xxhci: timer, intfreq 74, busfreq 74, count 4625
<4>m8xxhci: timer bytes/count 0.27
<4>m8xxhci: USING TIMER2 FOR SOF!
<4>m8xxhci: timer2 started
<4>m8xxhci: usb bus is NOT idle
<7>usb.c: kmalloc IF c0711a60, numif 1
<7>usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
<7>usb.c: USB device number 1 default language ID 0x0
<6>Product: USB MPC8xx Root Hub
<6>SerialNumber: ff000a00
<6>hub.c: USB hub found
<6>hub.c: 1 port detected
<7>hub.c: standalone hub
<7>hub.c: individual port power switching
<7>hub.c: no over-current protection
<7>hub.c: power on to power good time: 2ms
<7>hub.c: hub controller current requirement: 0mA
<7>hub.c: port removable status: R
<7>hub.c: local power source is good
<7>hub.c: no over-current condition exists
<4>rh_submit_urb() int pipe
<7>hub.c: enabling power on all ports
<4>rh_port_power(1)
<7>usb.c: hub driver claimed interface c0711a60
<4>m8xxhci: initializing done
<4>idle_bus() 1; d+ zero, d- one, connect hi-sp
<7>hub.c: port 1 connection change
<7>hub.c: port 1, portstatus 101, change 1, 12 Mb/s
<4>rh_port_reset(1)
<7>hub.c: port 1, portstatus 103, change 0, 12 Mb/s
<6>hub.c: USB new device connect on bus1/1, assigned device number 2
<7>usb.c: kmalloc IF c0711ac0, numif 1
<7>usb.c: new device strings: Mfr=0, Product=1, SerialNumber=0
<7>usb.c: USB device number 2 default language ID 0x409
<6>Product: General Purpose USB Hub
<6>hub.c: USB hub found
<6>hub.c: 2 ports detected
<7>hub.c: standalone hub
<7>hub.c: individual port power switching
<7>hub.c: individual port over-current protection
<7>hub.c: power on to power good time: 100ms
<7>hub.c: hub controller current requirement: 100mA
<7>hub.c: port removable status: RR
<7>hub.c: local power source is good
<7>hub.c: no over-current condition exists
<7>hub.c: enabling power on all ports
<7>usb.c: hub driver claimed interface c0711ac0
<7>hub.c: port 2 connection change
<7>hub.c: port 2, portstatus 101, change 1, 12 Mb/s
<7>hub.c: port 2, portstatus 103, change 10, 12 Mb/s
<6>hub.c: USB new device connect on bus1/1/2, assigned device number 3
<7>usb.c: kmalloc IF c0711b40, numif 1
<7>usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
<7>usb.c: USB device number 3 default language ID 0x409
<6>Manufacturer:         
<6>Product: USB DISK Pro    
<6>SerialNumber: 07440F160880
<6>scsi0 : SCSI emulation for USB Mass Storage devices
<4>  Vendor:           Model: USB DISK Pro      Rev: 1.00
<4>  Type:   Direct-Access                      ANSI SCSI revision: 02
<4>Detected scsi removable disk sda at scsi0, channel 0, id 0, lun 0
<4>SCSI device sda: 240640 512-byte hdwr sectors (123 MB)
<4>sda: Write Protect is off
<6>Partition check:
<6> sda: sda1
<7>WARNING: USB Mass Storage data integrity not assured
<7>USB Mass Storage device found at 3
<7>usb.c: usb-storage driver claimed interface c0711b40
<4>unlink_urb(urb=c07e9ec0,qtype=3) status -115
<4>unlink_urb(urb=c07e9ec0) done
<4>unlink_urb(urb=c07e9ec0,qtype=3) status -115
<4>unlink_urb(urb=c07e9ec0) done
<4>usb_control/bulk_msg: timeout
<4>unlink_urb(urb=c07e98c0,qtype=2) status -115
<4>unlink_urb(urb=c07e98c0) done
<4>usb_control/bulk_msg: timeout
<4>unlink_urb(urb=c07e98c0,qtype=2) status -115
<4>unlink_urb(urb=c07e98c0) done
<4>usb_control/bulk_msg: timeout
<4>unlink_urb(urb=c07e98c0,qtype=2) status -115
<4>unlink_urb(urb=c07e98c0) done
<3>hub.c: get_port_status(2) failed (err = -110)
<7>hub.c: port 2 of hub 2 not enabled, trying reset again...
<4>usb_control/bulk_msg: timeout
<4>unlink_urb(urb=c07e98c0,qtype=2) status -115
<4>unlink_urb(urb=c07e98c0) done
<4>usb_control/bulk_msg: timeout
<4>unlink_urb(urb=c07e98c0,qtype=2) status -115
<4>unlink_urb(urb=c07e98c0) done
<3>hub.c: get_port_status(2) failed (err = -110)
<7>hub.c: port 2 of hub 2 not enabled, trying reset again...
<4>usb_control/bulk_msg: timeout
<4>unlink_urb(urb=c07e98c0,qtype=2) status -115
<4>unlink_urb(urb=c07e98c0) done
<4>usb_control/bulk_msg: timeout
<4>unlink_urb(urb=c07e98c0,qtype=2) status -115
<4>unlink_urb(urb=c07e98c0) done
<3>hub.c: get_port_status(2) failed (err = -110)
<7>hub.c: port 2 of hub 2 not enabled, trying reset again...
<4>usb_control/bulk_msg: timeout
<4>unlink_urb(urb=c07e98c0,qtype=2) status -115
<4>unlink_urb(urb=c07e98c0) done
<4>usb_control/bulk_msg: timeout
<4>unlink_urb(urb=c07e98c0,qtype=2) status -115
<4>unlink_urb(urb=c07e98c0) done
<3>hub.c: get_port_status(2) failed (err = -110)
<7>hub.c: port 2 of hub 2 not enabled, trying reset again...
<4>usb_control/bulk_msg: timeout
<4>unlink_urb(urb=c07e98c0,qtype=2) status -115
<4>unlink_urb(urb=c07e98c0) done
<4>usb_control/bulk_msg: timeout
<4>unlink_urb(urb=c07e98c0,qtype=2) status -115
<4>unlink_urb(urb=c07e98c0) done
<3>hub.c: get_port_status(2) failed (err = -110)
<7>hub.c: port 2 of hub 2 not enabled, trying reset again...
<3>hub.c: Cannot enable port 2 of hub 2, disabling port.
<3>hub.c: Maybe the USB cable is bad?
<4>usb_control/bulk_msg: timeout
<4>unlink_urb(urb=c07e98c0,qtype=2) status -115
<4>unlink_urb(urb=c07e98c0) done
<3>hub.c: cannot disable port 2 of hub 2 (err = -110)
<2>usb-storage: host_reset() requested but not implemented
<6>scsi: device set offline - command error recover failed: host 0 channel 0
id 0 lun 0
<4>SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 6050000
<4> I/O error: dev 08:01, sector 2875
<4> I/O error: dev 08:01, sector 2875
<4>dev = 08:01, ino = 46003
<4>Filesystem panic (dev 08:01).
<4>  msdos_write_inode: unable to read i-node block
<4>  File system has been set read-only
<4> I/O error: dev 08:01, sector 2875
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed
<4> I/O error: dev 08:01, sector 2875
<4>Directory sread (sector 0xb3b) failed





Igor Luri Bravo
Tecnico I+D Software
Fagor Automation S. Coop.
P. O. Box 144
E-20500 Mondragón-Arrasate
Tel. ++34 943 71 92 00 - ++34 943 03 98 00
Fax. ++34 943 79 17 12
www.fagorautomation.com <http://www.fagorautomation.com> 

*       Este mensaje y los documentos que, en su caso, lleve anexos, pueden
contener información confidencial. Por ello, se informa a quien lo reciba
por error que la información contenida en el mismo es reservada y su uso no
autorizado está prohibido legalmente, por lo que en tal caso le rogamos que
nos lo comunique por la misma vía , se abstenga de realizar copias del
mensaje o remitirlo o entregarlo a otra persona y proceda a borrarlo de
inmediato.
*        Mezu honek eta txertatuta eraman ditzakeen dokumentuek informazio
konfidentziala izan dezakete. Hori dela eta, nahi gabe hartzen duenari
jakinarazten zaio bertako informazioa erreserbatua  dela eta baimenik gabe
erabiltzea legez debekatuta dagoela; horregatik, bide beretik guri
jakinarazteko eskatzen diogu, eta aldi berean  mezuaren kopiarik ez egiteko,
beste pertsona bati ez emateko eta berehala ezabatzeko erregutzen diogu."
*       This message together with any documents attached may contain
confidential information. You are informed that if you should receive it by
mistake, the information it contains is reserved and its use is not
authorized. It is legally prohibited. If you have received this message by
mistake, please let us know as soon as possible by e-mail. Do not make any
copies of the message, nor send it or give it to anybody else. Please delete
it right away.



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to