Bug 5532
Summary: | USB mulltiple copying problem | ||
---|---|---|---|
Product: | Drivers | Reporter: | Pavel Kysilka (goldenfish) |
Component: | USB | Assignee: | Alan Stern (stern) |
Status: | REJECTED INVALID | ||
Severity: | normal | CC: | greg, stern |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.14 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 5089 | ||
Attachments: |
lsmod, lsusb,kernel.log,lspci,kernel_config
ehci diagnostic patch dd after ehci diagnostic patch dd after patch - debug - right dd command random test log |
Description
Pavel Kysilka
2005-11-01 13:53:23 UTC
Created attachment 6442 [details]
lsmod, lsusb,kernel.log,lspci,kernel_config
system information and kernel.log (3MB - usb-debug )
The errors in your logfile for the flash memory device are typical of a bad USB connection: a cable or connector not capable of handling high-speed USB signals. The CD drive seemed to be okay all the until the end of the log -- I can't tell what happened then. Sometimes these problems are caused by vendors who use substandard cables to attach the USB ports on the motherboard with the USB connectors in the computer case. Maybe in your system the connectors don't provide enough protection against crosstalk between adjacent ports. What happens if you do "rmmod ehci-hcd" before running your test? That will force everything to go at full speed instead of high speed, which should make the USB bus more resistant to noise. Created attachment 6484 [details]
ehci diagnostic patch
Can you try the attached patch and tell me if it fires when this
bad stuff is happening?
I retest mulltiple copying with "rmmod ehci-hcd" ==> no errors. Mulltiple copying OK. I make next test: goldenfish@prog3:~/kernel_patch/usb_2.6.14_err$ lsmod | grep hci ehci_hcd 51208 0 uhci_hcd 34188 0 prog3:/home/goldenfish/kernel_patch/usb_2.6.14_err# dd if=/dev/sr0 of=/dev/zero ;dd if=/dev/sda1 of=/dev/zero; 1323264+0 records in 1323264+0 records out 677511168 bytes transferred in 251.586729 seconds (2692953 bytes/sec) 246256+0 records in 246256+0 records out 126083072 bytes transferred in 18.874895 seconds (6679935 bytes/sec) prog3:/home/goldenfish/kernel_patch/usb_2.6.14_err# connection schema for all testing: Intel 865GBF motherboard |_ flash memory |_ cable |_ USB CDRW Booth device are USB2 cappable. I retest patch in next hours. I was tested ehci diagnostic patch. cdrom copying with dd - OK. no errors. flash memoty copying with dd - KO. process is cycled. this eat 100% CPU. no errors in console. I killed this process. prog3:/home/goldenfish/kernel_patch/usb_2.6.14_err# date Sun Nov 6 23:15:20 CET 2005 prog3:/home/goldenfish/kernel_patch/usb_2.6.14_err# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 11535376 10729948 219460 98% / tmpfs 517248 4 517244 1% /dev/shm /dev/scd0 661632 661632 0 100% /cdrom /dev/sda1 122870 101320 21550 83% /floppy prog3:/home/goldenfish/kernel_patch/usb_2.6.14_err# dd if=/dev/sda1 if=/dev/zero 50545495+0 records in 50545494+0 records out 25879292928 bytes transferred in 1253.973368 seconds (20637833 bytes/sec) prog3:/home/goldenfish/kernel_patch/usb_2.6.14_err# date Sun Nov 6 23:37:32 CET 2005 prog3:/home/goldenfish/kernel_patch/usb_2.6.14_err# kernel log in attachment(17MB of log bzipped). Created attachment 6485 [details]
dd after ehci diagnostic patch
100kB bzip2. 17MB of data.
Ooops. My fault. dd if=/dev/sda1 if=/dev/zero ^^^^^^^^^^^^^^^^ I retest your patch once time. Created attachment 6486 [details]
dd after patch - debug - right dd command
there is kernel log from testing dd. error persist.
i was used right dd command. sorry for previous error.
Whatever went wrong in the last test affected both devices at the same time. The flash device was able to recover and continue its transfer; the CD drive never recovered. The diagnostic patch did not get triggered. Reassigning to alan, as he seems to have it under control, thanks alan :) Can you try plugging the flash memory device into different USB ports? Maybe some ports work better than others. Created attachment 6592 [details]
random test log
Hi,
i was tested today random pluging of usb devices and mulltiple copy.
Error is independent on the usb device(cdrom of flash). I got also any error
with flash memory.
Any copying without error. Any copying with error.
See the log.
Files: - today_kernel.log - today kernel.log - 99MB
Another file - test copying with lsusb. - small files
bzip2 attachment has 630 kB size.
Tested with 2.6.15-rc1 kernel/2.6.14 .
I think your EHCI controller is faulty. You can try buying an add-on PCI USB controller card. OK. Close this bug, please. I retest cable connection and this bug in next days. I will be send in next days notice to Intel company about this bug, if needed. link with info about my motherboard: http://www.intel.com/products/motherboard/d865gbf/index.htm thanks for help. Ok, closed. |