Hello All:

I've been following this excellent list for a while, and been able to solve most
of my problems with the patches provided. Keep up the good work.

Thanks in advance for any help anyone can offer.

I haven't yelled for help before, because I'm working with our own hardware.
I don't want to waste anyones time, chasing a software problem that doesn't exist.
And YES, I've had my share of hardware problems.
But they are all gone now, "YEH RIGHT". :-) Until the next one shows up.

Also I realize that most people don't have a system configuration, that is like mine.
So tracking problems can be difficult.
I'm open to any patches, debugging, & hardware finger pointing, that anyone wants to 
provide.
I hope that I can provide some usefull information, to help fix some of the other 
problems,
not only mine.

NOTE:
I've noticed in other threads, corrupt file transfer problems, with USB-2.0.
I've seen block compare errors on my system as well. Not every time, but they are 
there.
I haven't tracked this, because I've been banging my head against the wall, on this
current problem.
I'll run some tests with 256mb transfers, to see what I can find.
256mb is all I can do, that is my largest part. 4mb/sec write, 6mb/sec read.
I don't use usb-storage & have seen this problem.

If anyone wants more information, or wants me to try something, unrelated to my current
problem, just ask. I'll do if I can.

Here is a problem I discovered by accident, because I was too lazy change parts, from
USB-1.1 to USB-2.0.

At first I thought I was chasing a hardware problem. 
Now I'm not so sure, because I can reproduce the problem, with off the shelf hardware.

This is what I have:

System-2:
Eval-Tech 660 CPU board, Intel Celeron 900MZ, 3 PCI-USB2.0 boards (NEC upd72100)
This is a development system with off the shelf parts.

System-5:
Eval-Tech 660 CPU board, Intel Celeron 1000MZ, 3 (NEC upd72101)
This system has our own PCI board with the host controllers.



The main differances between the 72100 & 72101 are:
72100 160-pin, 72101 144-pin
72100 EHCI 0.95, 72101 EHCI 1.0
I have a pdf doc from NEC on the 72100 vs 72101. I can e-mail to anyone
that wants it.

Test parts:
12 USB 2.0 256mb flash drives
12 USB 1.1  16mb flash drives

I have narrowed this down to the most simple test that fails & which will
run on both hardware. All of the additional features of our board are disabled.
The 2 systems "in theory" :-), should be the same.

Changes to kernel modules:
I added controller info to some of the debug messages, so I know where the failures
are.
With 6 OHCI controllers, I can have 6 device numbers that are the same.
I turned off the printing of the config info.
Just too much output, with 12 devices.


********** REQUEST ***********
Would it be possible for someone to add the controller info to the debug
messages, in the proper way.
I just stuck in what I needed, without any thought as to format.
******************************


Test software:
2.4.21-pre4 kernel.
All I/O is done using libusb.
Hotplug is disabled.
usb-storage is NOT used.
All transactions to the device are done via RBC commands. (BCB, data, CSW)
The test forks 12 processes that read from 1 device.

For the 256mb parts, read 50mb, in 64k blocks.
For the  16mb parts, read 15mb, in 64k blocks.

Some of the error codes, -75 EOVERFLOW,  I can' find in any of the source I'm running.
I'm probably blind!

***************************************************************************************************
Test 1:
#lsmod
Module                  Size  Used by    Not tainted
ehci-hcd               23808   0  (unused)
usb-ohci               22944   0  (unused)
usb-uhci               24260   0  (unused)
usbcore                77152   1  [ehci-hcd usb-ohci usb-uhci]

EHCI driver loaded, 256mb parts, PASSES, on both systems.

***************************************************************************************************
Test 2:
#lsmod
Module                  Size  Used by    Not tainted
usb-ohci               22944   0  (unused)
usb-uhci               24260   0  (unused)
usbcore                77152   1  [usb-ohci usb-uhci]

OHCI driver loaded, 256mb parts, PASSES on System-2 ONLY.


Here is some of the more interesting out from System-5:
Almost all of the failures occure on 00:12, 00:11 & 00:13 rarely failed.
Also these failures occure randomly, within the test. The block count is different.
00:12 fails, somehow every time.
--------------------------------------------------------------------------------
When this happens, I have to unload & reload the whole USB subsystem,
to get the machine back to a runable state. This only happened 2 times out of 100.
I've seen this failure on both hardware.

<3>usb-ohci.c: OHCI Unrecoverable Error, controller usb-00:12.1 disabled
<7>usb-ohci.c: OHCI controller usb-00:12.1 state
<7>usb-ohci.c: control: 0x000000af HCFS=operational BLE IE PLE CBSR=3
<7>usb-ohci.c: cmdstatus: 0x00000004 SOC=0 BLF
<7>usb-ohci.c: intrstatus: 0x00000074 RHSC FNO UE SF
<7>usb-ohci.c: intrenable: 0x80000013 MIE UE WDH SO
<7>usb-ohci.c: ed_periodcurrent 07124670
<7>usb-ohci.c: ed_bulkhead 07124060
<7>usb-ohci.c: hcca frame #f142
<7>usb-ohci.c: roothub.a: 0f000a02 POTPGT=15 OCPM NPS NDP=2
<7>usb-ohci.c: roothub.b: 00060000 PPCM=0006 DR=0000
<7>usb-ohci.c: roothub.status: 00000000
<7>usb-ohci.c: roothub.portstatus [0] = 0x00000103 PPS PES CCS
<7>usb-ohci.c: roothub.portstatus [1] = 0x00000103 PPS PES CCS
<7>usb-ohci.c: USB HC reset_hc usb-00:12.1: ctrl = 0xaf ;
<7>usb-ohci.c:  USB-error/status: 8 : c71c60c0
<7>usb-ohci.c: 00:12.0-1 RET URB:[f19b] dev:32,ep: 1-I,type:BULK,flags:   
0,len:4083/4096,stat:-75(ffffffb5)
<4>00:12.0-1 usbdevfs: USBDEVFS_BULK failed dev 32 ep 0x81 len 4096 ret -75
<4>usb_control/bulk_msg: timeout
<7>usb-ohci.c: 00:12.1-1 UNLINK URB:[f142] dev:29,ep: 1-I,type:BULK,flags:   
0,len:0/4096,stat:-115(ffffff8d)
<4>00:12.1-1 usbdevfs: USBDEVFS_BULK failed dev 29 ep 0x81 len 4096 ret -110
<4>usb_control/bulk_msg: timeout
<7>usb-ohci.c: 00:12.1-2 UNLINK URB:[f142] dev:31,ep: 1-I,type:BULK,flags:   
0,len:0/4096,stat:-115(ffffff8d)
<4>00:12.1-2 usbdevfs: USBDEVFS_BULK failed dev 31 ep 0x81 len 4096 ret -110

--------------------------------------------------------------------------------
<3>usb-ohci.c: OHCI Unrecoverable Error, controller usb-00:12.1 disabled
<7>usb-ohci.c: OHCI controller usb-00:12.1 state
<7>usb-ohci.c: control: 0x000000af HCFS=operational BLE IE PLE CBSR=3
<7>usb-ohci.c: cmdstatus: 0x00000004 SOC=0 BLF
<7>usb-ohci.c: intrstatus: 0x00000074 RHSC FNO UE SF
<7>usb-ohci.c: intrenable: 0x80000013 MIE UE WDH SO
<7>usb-ohci.c: ed_periodcurrent 00401080
<7>usb-ohci.c: ed_bulkhead 07101060
<7>usb-ohci.c: ed_bulkcurrent 07101670
<7>usb-ohci.c: donehead 07101670
<7>usb-ohci.c: hcca frame #4d97
<7>usb-ohci.c: roothub.a: 0f000a02 POTPGT=15 OCPM NPS NDP=2
<7>usb-ohci.c: roothub.b: 00060000 PPCM=0006 DR=0000
<7>usb-ohci.c: roothub.status: 00000000
<7>usb-ohci.c: roothub.portstatus [0] = 0x00000103 PPS PES CCS
<7>usb-ohci.c: roothub.portstatus [1] = 0x00000103 PPS PES CCS
<7>usb-ohci.c: USB HC reset_hc usb-00:12.1: ctrl = 0xaf ;
<7>usb-ohci.c:  USB-error/status: 8 : c5fb2140
<7>usb-ohci.c: 00:12.0-2 RET URB:[4df6] dev: 6,ep: 1-I,type:BULK,flags:   
0,len:4087/4096,stat:-75(ffffffb5)
<4>00:12.0-2 usbdevfs: USBDEVFS_BULK failed dev 6 ep 0x81 len 4096 ret -75
<4>usb_control/bulk_msg: timeout
<7>usb-ohci.c: 00:12.1-1 UNLINK URB:[4d97] dev: 4,ep: 1-I,type:BULK,flags:   
0,len:0/4096,stat:-115(ffffff8d)
<4>00:12.1-1 usbdevfs: USBDEVFS_BULK failed dev 4 ep 0x81 len 4096 ret -110
<4>usb_control/bulk_msg: timeout
<7>usb-ohci.c: 00:12.1-2 UNLINK URB:[4d97] dev: 5,ep: 1-I,type:BULK,flags:   
0,len:0/4096,stat:-115(ffffff8d)
<4>00:12.1-2 usbdevfs: USBDEVFS_BULK failed dev 5 ep 0x81 len 4096 ret -110

--------------------------------------------------------------------------------
<7>usb-ohci.c:  USB-error/status: 8 : c1f0b000
<7>usb-ohci.c: 00:12.0-1 RET URB:[8373] dev: 2,ep: 1-I,type:BULK,flags:   
0,len:4083/4096,stat:-75(ffffffb5)
<7>usb-ohci.c:  USB-error/status: 8 : c2b2e100
<7>usb-ohci.c: 00:12.1-2 RET URB:[8317] dev: 3,ep: 1-I,type:BULK,flags:   
0,len:4089/4096,stat:-75(ffffffb5)
<4>00:12.0-1 usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x81 len 4096 ret -75
<4>00:12.1-2 usbdevfs: USBDEVFS_BULK failed dev 3 ep 0x81 len 4096 ret -75
<7>usb-ohci.c:  USB-error/status: 8 : c1f0b000
<7>usb-ohci.c: 00:12.0-2 RET URB:[9029] dev: 3,ep: 1-I,type:BULK,flags:   
0,len:4084/4096,stat:-75(ffffffb5)
<4>00:12.0-2 usbdevfs: USBDEVFS_BULK failed dev 3 ep 0x81 len 4096 ret -75
<7>usb-ohci.c:  USB-error/status: 8 : c2b2e040
<7>usb-ohci.c: 00:12.1-1 RET URB:[8fd1] dev: 2,ep: 1-I,type:BULK,flags:   
0,len:4053/4096,stat:-75(ffffffb5)
<4>00:12.1-1 usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x81 len 4096 ret -75


--------------------------------------------------------------------------------

**** This is wierd!! *****       len:-1538905515/4096

<7>usb-ohci.c:  USB-error/status: 3 : cb292080
<7>usb-ohci.c: 00:12.0-1 RET URB:[a59e] dev: 9,ep: 1-I,type:BULK,flags:   
0,len:-1538905515/4096,stat:-84(ffffffac)
<4>00:12.0-1 usbdevfs: USBDEVFS_BULK failed dev 9 ep 0x81 len 4096 ret -84
<7>usb-ohci.c:  USB-error/status: 8 : cb30e0c0
<7>usb-ohci.c: 00:12.1-2 RET URB:[a54a] dev:10,ep: 1-I,type:BULK,flags:   
0,len:4083/4096,stat:-75(ffffffb5)
<4>00:12.1-2 usbdevfs: USBDEVFS_BULK failed dev 10 ep 0x81 len 4096 ret -75



--------------------------------------------------------------------------------
***** So is this ***** len:4096/4096

<7>usb-ohci.c:  USB-error/status: 8 : cb30e040
<7>usb-ohci.c: 00:12.1-2 RET URB:[ 235] dev:14,ep: 1-I,type:BULK,flags:   
0,len:4096/4096,stat:-75(ffffffb5)
<7>usb-ohci.c:  USB-error/status: 8 : cb292100
<7>usb-ohci.c: 00:12.0-1 RET URB:[ 293] dev:13,ep: 1-I,type:BULK,flags:   
0,len:4083/4096,stat:-75(ffffffb5)
<4>00:12.0-1 usbdevfs: USBDEVFS_BULK failed dev 13 ep 0x81 len 4096 ret -75
<4>00:12.1-2 usbdevfs: USBDEVFS_BULK failed dev 14 ep 0x81 len 4096 ret -75



***************************************************************************************************
Test 3:
#lsmod
Module                  Size  Used by    Not tainted
usb-ohci               22944   0  (unused)
usb-uhci               24260   0  (unused)
usbcore                77152   1  [usb-ohci usb-uhci]

OHCI driver loaded, 16mb parts

This is consistant with both machines. Port 2 of all the controllers fail.
This is the only reason I don't think this is a hardware problem.

--------------------------------------------------------------------------------
<7>usb-ohci.c: 00:11.0-2 RET URB:[765f] dev: 5,ep: 2-I,type:BULK,flags:   
0,len:3200/4096,stat:-110(ffffff92)
<4>00:11.0-2 usbdevfs: USBDEVFS_BULK failed dev 5 ep 0x82 len 4096 ret -110
<7>usb-ohci.c:  USB-error/status: 5 : cc6a4000
<7>usb-ohci.c: 00:11.1-2 RET URB:[789a] dev: 3,ep: 2-I,type:BULK,flags:   
0,len:3584/4096,stat:-110(ffffff92)
<4>00:11.1-2 usbdevfs: USBDEVFS_BULK failed dev 3 ep 0x82 len 4096 ret -110
<7>usb-ohci.c:  USB-error/status: 5 : cbaba000
<7>usb-ohci.c: 00:12.0-2 RET URB:[7c18] dev: 3,ep: 2-I,type:BULK,flags:   
0,len:3584/4096,stat:-110(ffffff92)
<4>00:12.0-2 usbdevfs: USBDEVFS_BULK failed dev 3 ep 0x82 len 4096 ret -110
<7>usb-ohci.c:  USB-error/status: 5 : cc47d100
<7>usb-ohci.c: 00:12.1-2 RET URB:[7d44] dev: 3,ep: 2-I,type:BULK,flags:   
0,len:3584/4096,stat:-110(ffffff92)
<4>00:12.1-2 usbdevfs: USBDEVFS_BULK failed dev 3 ep 0x82 len 4096 ret -110
<7>usb-ohci.c:  USB-error/status: 5 : cc2f70c0
<7>usb-ohci.c: 00:13.0-2 RET URB:[80a8] dev: 3,ep: 2-I,type:BULK,flags:   
0,len:1856/4096,stat:-110(ffffff92)
<4>00:13.0-2 usbdevfs: USBDEVFS_BULK failed dev 3 ep 0x82 len 4096 ret -110
<7>usb-ohci.c:  USB-error/status: 5 : cf1110c0
<7>usb-ohci.c: 00:13.1-2 RET URB:[81df] dev: 3,ep: 2-I,type:BULK,flags:   
0,len:2560/4096,stat:-110(ffffff92)
<4>00:13.1-2 usbdevfs: USBDEVFS_BULK failed dev 3 ep 0x82 len 4096 ret -110



-- 
Gary A. Gorgen                  | "From ideas to PRODUCTS"
                                | Tunxis Design Inc.
[EMAIL PROTECTED]                | 10470 Pineville Ave. Cupertino, Ca. 95014
                                | Phone: (408) 973-1542


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to