-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Hi,
I'm having some interesting issues with Micro-SD support. Wondering if anyone else has had the same thing or knows what's going on.
When I use a Micro-SD card I can see it on boot and mount it fine, I can even list files and directories, and I can query the usb SD controller via lsusb. When I try to access the files after a small amount of access, the USB device appears to disconnect. Here's the output of logread from doing a cat of a file on the Micro-SD:
root@OpenWrt:/# logread -f
Sat Apr 23 15:37:18 2016 kern.info kernel: [ 106.430000] usb 1-1: USB disconnect, device number 2
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.440000] scsi 0:0:0:0: rejecting I/O to offline device
Sat Apr 23 15:37:18 2016 kern.info kernel: [ 106.440000] scsi 0:0:0:0: [sda] killing request
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.440000] scsi 0:0:0:0: rejecting I/O to offline device
Sat Apr 23 15:37:18 2016 kern.info kernel: [ 106.440000] scsi 0:0:0:0: [sda] killing request
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.440000] scsi 0:0:0:0: rejecting I/O to dead device
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.440000] ntfs: (device sda1): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x41730.
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.440000] ntfs: (device sda1): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x41731.
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.440000] ntfs: (device sda1): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x41732.
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.440000] ntfs: (device sda1): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x41733.
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.440000] ntfs: (device sda1): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x41734.
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.440000] ntfs: (device sda1): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x41735.
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.440000] ntfs: (device sda1): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x41736.
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.440000] ntfs: (device sda1): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x41737.
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.440000] ntfs: (device sda1): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x41738.
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.440000] ntfs: (device sda1): ntfs_end_buffer_async_read(): Buffer I/O error, logical block 0x41739.
Sat Apr 23 15:37:18 2016 kern.info kernel: [ 106.560000] scsi 0:0:0:0: [sda]
Sat Apr 23 15:37:18 2016 kern.warn kernel: [ 106.560000] Result: hostbyte=0x01 driverbyte=0x00
Sat Apr 23 15:37:18 2016 kern.info kernel: [ 106.570000] scsi 0:0:0:0: [sda] CDB:
Sat Apr 23 15:37:18 2016 kern.warn kernel: [ 106.570000] cdb[0]=0x28: 28 00 00 04 16 32 00 00 80 00
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.570000] blk_update_request: I/O error, dev sda, sector 267826
Sat Apr 23 15:37:18 2016 kern.info kernel: [ 106.580000] scsi 0:0:0:0: [sda]
Sat Apr 23 15:37:18 2016 kern.warn kernel: [ 106.580000] Result: hostbyte=0x01 driverbyte=0x00
Sat Apr 23 15:37:18 2016 kern.info kernel: [ 106.590000] scsi 0:0:0:0: [sda] CDB:
Sat Apr 23 15:37:18 2016 kern.warn kernel: [ 106.590000] cdb[0]=0x28: 28 00 00 04 16 b2 00 00 80 00
Sat Apr 23 15:37:18 2016 kern.err kernel: [ 106.600000] blk_update_request: I/O error, dev sda, sector 267954
Does anyone know what's happening? The drive and USB SD card reader are no longer visible in lsusb after this happens, so it looks like the USB SD card reader is being disconnected.