View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001252 | fss5pv210_Linux | Ethernet | public | 2012-08-22 12:33 | 2012-08-30 07:57 |
Reporter | Keller | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | armStoneA8-V1.1 | ||||
Target Version | fss5pv210-V2.0 | Fixed in Version | fss5pv210-V2.0 | ||
Summary | 0001252: WLAN via USB does not work for big messages | ||||
Description | If trying to send large packets, the WLAN transmission stops working. | ||||
Steps To Reproduce | Call ping -s 360 <IP> However packet sizes smaller than 360 do work. | ||||
Forum Link | |||||
|
When EHCI is disabled that is not an issue: # dmesg | grep usb usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb usbcore: registered new interface driver rt2800usb usb usb1: New USB device found, idVendor=1d6b, idProduct=0001 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: S5PV210 OHCI Host Controller usb usb1: Manufacturer: Linux 3.3.7-F+S+ ohci_hcd usb usb1: SerialNumber: s5pv210-ohci usbcore: registered new interface driver usb-storage usbcore: registered new interface driver uvcvideo usb 1-1: new full-speed USB device number 2 using s5pv210-ohci usbcore: registered new interface driver usbhid usbhid: USB HID core driver usb 1-1: New USB device found, idVendor=0424, idProduct=2514 usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 1-1.2: new full-speed USB device number 3 using s5pv210-ohci usb 1-1.2: New USB device found, idVendor=148f, idProduct=2770 usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1.2: Product: 802.11 n WLAN usb 1-1.2: Manufacturer: Ralink usb 1-1.2: SerialNumber: 1.0 usb 1-1.2: reset full-speed USB device number 3 using s5pv210-ohci # ping -s 361 10.0.0.8 PING 10.0.0.8 (10.0.0.8): 361 data bytes 369 bytes from 10.0.0.8: seq=0 ttl=128 time=42.592 ms 369 bytes from 10.0.0.8: seq=1 ttl=128 time=43.204 ms 369 bytes from 10.0.0.8: seq=2 ttl=128 time=47.032 ms 369 bytes from 10.0.0.8: seq=3 ttl=128 time=48.806 ms --- 10.0.0.8 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max = 42.592/45.408/48.806 ms |
|
This is a common EHCI problem on all S5PV210 Linux boards. We can reproduce this also by using mass storage device and copy large files. Here we see lot of NAK with IN transaction on USB when write the copied data to stick. And we see lot of invalid transactions. Here you see output when plug a usb mass storage device (with 4 port usb hub) and then mounting the device and copy a large file. After reading the file we get the NAKs and linux reinit the usb. usb 1-1: new high-speed USB device number 2 using s5p-ehci usb 1-1: New USB device found, idVendor=0409, idProduct=005a usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 hub 1-1:1.0: USB hub found hub 1-1:1.0: 4 ports detected usb 1-1.1: new high-speed USB device number 3 using s5p-ehci usb 1-1.1: New USB device found, idVendor=090c, idProduct=1000 usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1.1: Product: USB DISK usb 1-1.1: Manufacturer: SMI Corporation usb 1-1.1: SerialNumber: AA04012900007471 scsi0 : usb-storage 1-1.1:1.0 scsi 0:0:0:0: Direct-Access FlashPen Fancy 1100 PQ: 0 ANSI: 0 CCS sd 0:0:0:0: [sda] 1957888 512-byte logical blocks: (1.00 GB/956 MiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] No Caching mode page present sd 0:0:0:0: [sda] Assuming drive cache: write through sd 0:0:0:0: [sda] No Caching mode page present sd 0:0:0:0: [sda] Assuming drive cache: write through sda: sda1 sd 0:0:0:0: [sda] No Caching mode page present sd 0:0:0:0: [sda] Assuming drive cache: write through sd 0:0:0:0: [sda] Attached SCSI removable disk # mount /dev/sda1 /mnt # cd /mnt # ls test.mp3 # cp test.mp3 test.yy # usb 1-1.1: USB disconnect, device number 3 sd 0:0:0:0: Device offlined - not ready after error recovery sd 0:0:0:0: [sda] Unhandled error code sd 0:0:0:0: [sda] Result: hostbyte=0x01 driverbyte=0x00 sd 0:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 00 00 34 00 00 02 00 end_request: I/O error, dev sda, sector 52 Buffer I/O error on device sda1, logical block 20 lost page write due to I/O error on sda1 Buffer I/O error on device sda1, logical block 21 lost page write due to I/O error on sda1 sd 0:0:0:0: [sda] Unhandled error code sd 0:0:0:0: [sda] Result: hostbyte=0x01 driverbyte=0x00 sd 0:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 00 01 23 00 00 02 00 end_request: I/O error, dev sda, sector 291 Buffer I/O error on device sda1, logical block 259 lost page write due to I/O error on sda1 Buffer I/O error on device sda1, logical block 260 lost page write due to I/O error on sda1 usb 1-1.1: new high-speed USB device number 4 using s5p-ehci usb 1-1.1: New USB device found, idVendor=090c, idProduct=1000 usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1.1: Product: USB DISK usb 1-1.1: Manufacturer: SMI Corporation usb 1-1.1: SerialNumber: AA04012900007471 scsi1 : usb-storage 1-1.1:1.0 scsi 1:0:0:0: Direct-Access FlashPen Fancy 1100 PQ: 0 ANSI: 0 CCS sd 1:0:0:0: [sdb] 1957888 512-byte logical blocks: (1.00 GB/956 MiB) sd 1:0:0:0: [sdb] Write Protect is off sd 1:0:0:0: [sdb] No Caching mode page present sd 1:0:0:0: [sdb] Assuming drive cache: write through sd 1:0:0:0: [sdb] No Caching mode page present sd 1:0:0:0: [sdb] Assuming drive cache: write through sdb: sdb1 sd 1:0:0:0: [sdb] No Caching mode page present sd 1:0:0:0: [sdb] Assuming drive cache: write through sd 1:0:0:0: [sdb] Attached SCSI removable disk |
|
commit 6a8ae088258dde93fa4599ce8891d8bbf73745ad Author: Daniel Kuhne <kuhne@fs-net.de> Date: Tue Aug 28 18:05:12 2012 +0200 USB: EHCI, change packet buffer out threshold. This resolves bug 0001252 |