Usb drive not detected on TS 109

Printers, HDDs, USB/eSATA drives, 3rd-party programs

Usb drive not detected on TS 109

Postby sbresin » Sat Jun 30, 2012 12:34 am

Hi,

Just got a TS 109, which is not able to detect an external usb disk. The same disk is detected by a TS 219p+. 109's Fimware is the latest available 3.3.2 Build 0918T.
On some topics, some people say one needs to boot without plugging the exteral drive. Some other say the opposite. In both case it does not work.

What could be done or test?

Thanks

Stanislas
sbresin
Easy as a breeze
 
Posts: 459
Joined: Sun Jan 08, 2012 10:50 pm
NAS Model: TS-119P+

Re: Usb drive not detected on TS 109

Postby schumaku » Sat Jun 30, 2012 3:49 am

The USB port(s) work with other disks?

# lsusb -v
...

Or check the Kernel messages after plugging:

# dmesg
...
User avatar
schumaku
Guru
 
Posts: 29512
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Usb drive not detected on TS 109

Postby sbresin » Sat Jun 30, 2012 7:59 am

hi

tried a couple of disks unsuccessfully

# lsusb -v

Error, cannot open USBIDS File "${datarootdir}/usb.ids", No such file or directory

Or check the Kernel messages after plugging:
# dmesg

IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 5
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 104K
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: checktime reached, running e2fsck is recommended
EXT3 FS on sda4, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
sysinfo: Module loaded.
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
create proc entry succeed!
ufsd: module license 'Commercial product' taints kernel.
ufsd: driver loaded at bf02a000 built on Jan 22 2009 17:59:21
UFSD version 7.01 (Jan 11 2009, 14:38:20)
NTFS read/write support included
$Id: ufsdvfs.c,v 1.190 2009/01/06 15:48:41 shura Exp $
eth0: mac address changed
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 530132k swap on /dev/sda2. Priority:-1 extents:1
usb 1-1: USB disconnect, address 4
usb 1-1: new high speed USB device using ehci_platform and address 5
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: mounting fs with errors, running e2fsck is recommended
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
EXT3-fs: file extents enabled
scsi: unknown opcode 0x0c
eth0: link down
eth0: link up<5>, full duplex<5>, speed 100 Mbps<5>
usb 1-1: reset high speed USB device using ehci_platform and address 5
usb 1-1: device descriptor read/64, error -71
usb-storage: device scan complete
usb 1-1: USB disconnect, address 5
usb 1-1: new high speed USB device using ehci_platform and address 6
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 128 rq 6 len 255 ret -71
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 128 rq 6 len 255 ret -71
usb 1-1: reset high speed USB device using ehci_platform and address 6
usb 1-1: device descriptor read/64, error -71
usb 1-1: device firmware changed
scsi: Device offlined - not ready after error recovery: host 4 channel 0 id 0 lun 0
usb 1-1: USB disconnect, address 6
usb-storage: device scan complete
Unable to handle kernel NULL pointer dereference at virtual address 00000008
pgd = c0004000
[00000008] *pgd=00000000
Internal error: Oops: 17 [#1]
Modules linked in: ufsd vfat msdos fat usb_storage sysinfo
CPU: 0
PC is at sysfs_hash_and_remove+0xc/0x140
LR is at class_device_del+0xcc/0x148
pc : [<c0130d00>] lr : [<c01fcbd0>] Tainted: P
sp : c0a05db0 ip : c0a05dd0 fp : c0a05dcc
r10: 00000001 r9 : c0a21000 r8 : c031b5dc
r7 : c031b63c r6 : c031b644 r5 : c0692e48 r4 : c031b63c
r3 : c0692d90 r2 : c0a3cb20 r1 : c0063240 r0 : 00000000
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: A005317F Table: 07090000 DAC: 00000017
Process khubd (pid: 14, stack limit = 0xc0a041a0)
Stack: (0xc0a05db0 to 0xc0a06000)
5da0: c031b63c c0692e48 c031b644 c031b63c
5dc0: c0a05df4 c0a05dd0 c01fcbd0 c0130d04 00000020 c0692e48 c0692d90 c7173828
5de0: c0a05e84 00000000 c0a05e0c c0a05df8 c01fcc64 c01fcb14 c0692c00 c0692c00
5e00: c0a05e2c c0a05e10 c0241cc8 c01fcc5c c01d1dcc c7173800 c7d30580 c71737f8
5e20: c0a05e4c c0a05e30 c0242034 c0241c78 c7173804 c7173804 c7173808 c7d22678
5e40: c0a05e64 c0a05e50 c0241134 c0241fac c7173800 c7173800 c0a05e7c c0a05e68
5e60: c023b104 c0241104 c7173a04 c7173800 c0a05eac c0a05e80 bf0050ac c023b100
5e80: c0a05eac 00000000 c026ecf4 c7d22660 bf011bb0 c7d2269c c0a211e4 c7d12414
5ea0: c0a05ec4 c0a05eb0 c0267cc8 bf005008 c7d22678 bf011bd0 c0a05ee4 c0a05ec8
5ec0: c01fb9a4 c0267c8c c7d22678 c7d22678 c031c908 c7d2269c c0a05f04 c0a05ee8
5ee0: c01fbb74 c01fb948 c7d22678 c725e468 c7d2269c c0a211e4 c0a05f24 c0a05f08
5f00: c01fabe0 c01fbaec c7d22660 c7d22678 00000000 c725e400 c0a05f44 c0a05f28
5f20: c026eda8 c01fab84 c0a05f64 c725e400 c725e440 ffffffff c0a05f64 c0a05f48
5f40: c0269eec c026ed18 00000101 00000000 c7d0610c c7d060e0 c0a05ff4 c0a05f68
5f60: c026b3cc c0269e18 c0046cd0 c00b91dc c0b80d10 00000000 c7d061f8 c7d061f8
5f80: c7d061e0 c0a21000 00000000 c0b80ce0 c00d1844 c0a05fac c0a05fac 00000000
5fa0: 00000000 c0b80ce0 c00d1844 c0a05fac c0a05fac 00000000 c026b09c 00000101
5fc0: 01010000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5fe0: 00000000 00000000 00000000 c0a05ff8 c00befa0 c026b0ac 1328e630 3ab4d639
Backtrace:
[<c0130cf4>] (sysfs_hash_and_remove+0x0/0x140) from [<c01fcbd0>] (class_device_del+0xcc/0x148)
r7 = C031B63C r6 = C031B644 r5 = C0692E48 r4 = C031B63C
[<c01fcb04>] (class_device_del+0x0/0x148) from [<c01fcc64>] (class_device_unregister+0x18/0x24)
r8 = 00000000 r7 = C0A05E84 r6 = C7173828 r5 = C0692D90
r4 = C0692E48
[<c01fcc4c>] (class_device_unregister+0x0/0x24) from [<c0241cc8>] (scsi_remove_device+0x60/0xd0)
r4 = C0692C00
[<c0241c68>] (scsi_remove_device+0x0/0xd0) from [<c0242034>] (__scsi_remove_target+0x98/0xd4)
r6 = C71737F8 r5 = C7D30580 r4 = C7173800
[<c0241f9c>] (__scsi_remove_target+0x0/0xd4) from [<c0241134>] (scsi_forget_host+0x40/0x6c)
r6 = C7D22678 r5 = C7173808 r4 = C7173804
[<c02410f4>] (scsi_forget_host+0x0/0x6c) from [<c023b104>] (scsi_remove_host+0x14/0x70)
r5 = C7173800 r4 = C7173800
[<c023b0f0>] (scsi_remove_host+0x0/0x70) from [<bf0050ac>] (storage_disconnect+0xb4/0x1a0 [usb_storage])
r5 = C7173800 r4 = C7173A04
[<bf004ff8>] (storage_disconnect+0x0/0x1a0 [usb_storage]) from [<c0267cc8>] (usb_unbind_interface+0x4c/0x78)
r8 = C7D12414 r7 = C0A211E4 r6 = C7D2269C r5 = BF011BB0
r4 = C7D22660
[<c0267c7c>] (usb_unbind_interface+0x0/0x78) from [<c01fb9a4>] (device_release_driver+0x6c/0x7c)
r5 = BF011BD0 r4 = C7D22678
[<c01fb938>] (device_release_driver+0x0/0x7c) from [<c01fbb74>] (bus_remove_device+0x98/0xd0)
r6 = C7D2269C r5 = C031C908 r4 = C7D22678
[<c01fbadc>] (bus_remove_device+0x0/0xd0) from [<c01fabe0>] (device_del+0x6c/0xa4)
r7 = C0A211E4 r6 = C7D2269C r5 = C725E468 r4 = C7D22678
[<c01fab74>] (device_del+0x0/0xa4) from [<c026eda8>] (usb_disable_device+0xa0/0x11c)
r6 = C725E400 r5 = 00000000 r4 = C7D22678
[<c026ed08>] (usb_disable_device+0x0/0x11c) from [<c0269eec>] (usb_disconnect+0xe4/0x174)
r6 = FFFFFFFF r5 = C725E440 r4 = C725E400
[<c0269e08>] (usb_disconnect+0x0/0x174) from [<c026b3cc>] (hub_thread+0x330/0xab8)
r7 = C7D060E0 r6 = C7D0610C r5 = 00000000 r4 = 00000101
[<c026b09c>] (hub_thread+0x0/0xab8) from [<c00befa0>] (do_exit+0x0/0xae8)
Code: 00200200 e1a0c00d e92dd8f0 e24cb004 (e5903008)
rule type=2, num=0

thanks
sbresin
Easy as a breeze
 
Posts: 459
Joined: Sun Jan 08, 2012 10:50 pm
NAS Model: TS-119P+

Re: Usb drive not detected on TS 109

Postby schumaku » Sat Jun 30, 2012 5:25 pm

Small correction ref. lsusb:

[~] # cd /mnt/ext/usr/local/share/
[/mnt/ext/usr/local/share] # lsusb
...
[/mnt/ext/usr/local/share] # lsusb -v
...

Would you mind to re-apply the firmware using the process as shown here http://wiki.qnap.com/wiki/Manually_Updating_Firmware please?
User avatar
schumaku
Guru
 
Posts: 29512
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Usb drive not detected on TS 109

Postby sbresin » Sun Jul 01, 2012 10:59 pm

After fw update, disk was detected and formated to NTFS. 2 files were even copied successfully. However after rebooting the disk was not detected anymore...

lsusb -v does detect it though

[/mnt/ext/usr/local/share] # lsusb
Bus 002 Device 004: ID 1bcf:0c31
Bus 002 Device 002: ID 05e3:0607 Genesys Logic, Inc.
Bus 002 Device 001: ID 0000:0000 Virtual Hub
Bus 001 Device 001: ID 0000:0000 Virtual Hub

[/mnt/ext/usr/local/share] # lsusb -v
Bus 002 Device 004: ID 1bcf:0c31
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1bcf
idProduct 0x0c31
bcdDevice 1.32
iManufacturer 1 Sunplus Innovation Technology
iProduct 2 USB to Serial-ATA bridge
iSerial 3 FF3160023A0000000000005FF00FFB
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 5 Bulk Only Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 512
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 512
bInterval 0
Language IDs: (length=4)
0409 English(US)

Bus 002 Device 002: ID 05e3:0607 Genesys Logic, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 2
bMaxPacketSize0 64
idVendor 0x05e3 Genesys Logic, Inc.
idProduct 0x0607
bcdDevice 8.01
iManufacturer 0
iProduct 1 USB2.0 Hub
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 1
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 1
bInterval 12
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 2
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 1
bInterval 12
Language IDs: (length=4)
0409 English(US)

Bus 002 Device 001: ID 0000:0000 Virtual Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 1
bMaxPacketSize0 8
idVendor 0x0000 Virtual
idProduct 0x0000 Hub
bcdDevice 2.06
iManufacturer 3 Linux 2.6.12.6-arm1 ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 ehci_platform.16781
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 2
bInterval 12
Language IDs: (length=4)
0409 English(US)

Bus 001 Device 001: ID 0000:0000 Virtual Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 1
bMaxPacketSize0 8
idVendor 0x0000 Virtual
idProduct 0x0000 Hub
bcdDevice 2.06
iManufacturer 3 Linux 2.6.12.6-arm1 ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 ehci_platform.4523
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 2
bInterval 12
Language IDs: (length=4)
0409 English(US)

thanks
sbresin
Easy as a breeze
 
Posts: 459
Joined: Sun Jan 08, 2012 10:50 pm
NAS Model: TS-119P+


Return to Hardware & Software Compatibility

Who is online

Users browsing this forum: PeterGravelle, praneet and 1 guest