Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Bah! Going crazy over this!
Device: DNS 323
Firmware: 1.07
Module: usb-storage.ko (one without debug messages)
1) Bought External Harddrive case, Packard Bell Carbon. HDD inside is 1TB WD Green
2) Loaded the module with insmod, all fine this far and it shows correct output via 'lsmod'
3) Connected the HDD and i get same messages as OP (error -71 blabla)
Troubleshooting:
1) I changed the HDD to smaller one WD320gb. Same result
2) Bought active USB HUB, connected it. D-link seems to recognize the hub, but after that it just hits the shitter after few seconds. See output below:
ehci_platform ehci_platform.20865: EHCI Host Controller
ehci_platform ehci_platform.20865: new USB bus registered, assigned bus number 1
ehci_platform ehci_platform.20865: irq 17, io mem 0x00000000
ehci_platform ehci_platform.20865: park 0
ehci_platform ehci_platform.20865: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_platform ehci_platform.86401: EHCI Host Controller
ehci_platform ehci_platform.86401: new USB bus registered, assigned bus number 2
ehci_platform ehci_platform.86401: irq 12, io mem 0x00000000
ehci_platform ehci_platform.86401: park 0
ehci_platform ehci_platform.86401: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
usb 1-1.4: USB disconnect, address 6
usb 1-1.4: new high speed USB device using ehci_platform and address 7
usb 1-1.4: USB disconnect, address 7
usb 1-1.4: new high speed USB device using ehci_platform and address 8
usb 1-1.4: unable to read config index 0 descriptor/start
usb 1-1.4: can't read configurations, error -71
usb 1-1.4: new high speed USB device using ehci_platform and address 9
usb-storage: device found at 13
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 1-1.4: USB disconnect, address 13
usb 1-1.4: new high speed USB device using ehci_platform and address 14
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 14
usb-storage: waiting for device to settle before scanning
usb 1-1.4: USB disconnect, address 14
usb 1-1.4: new high speed USB device using ehci_platform and address 15
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 15
usb-storage: waiting for device to settle before scanning
hub 1-1:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 1-1:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 1-1:1.0: Cannot enable port 4. Maybe the USB cable is bad?
hub 1-1:1.0: Cannot enable port 4. Maybe the USB cable is bad?
>>> No it's not <<<
scsi: Device offlined - not ready after error recovery: host 5 channel 0 id 0 lun 0
usb-storage: device scan complete
usb 1-1.4: USB disconnect, address 15
usb 1-1.4: new high speed USB device using ehci_platform and address 16
usb 1-1.4: unable to read config index 0 descriptor/start
usb 1-1.4: can't read configurations, error -71
usb 1-1.4: new high speed USB device using ehci_platform and address 17
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 17
usb-storage: waiting for device to settle before scanning
usb 1-1.4: USB disconnect, address 17
scsi: Device offlined - not ready after error recovery: host 6 channel 0 id 0 lun 0
usb-storage: device scan complete
And after that it just crashes and dumps:
Unable to handle kernel NULL pointer dereference at virtual address 00000008
pgd = c0004000
[00000008] *pgd=00000000
Internal error: Oops: 17 [#1]
Modules linked in: usb_storage usblp sd_mod
CPU: 0
PC is at sysfs_hash_and_remove+0xc/0x148
LR is at class_device_del+0xc4/0x100
pc : [<c00c7e7c>] lr : [<c015b43c>] Not tainted
sp : c0ddfdd4 ip : c0ddfdf4 fp : c0ddfdf0
r10: c0d63000 r9 : c0dac5f4 r8 : c02af9ec
r7 : c02af98c r6 : c02af9f4 r5 : c2dc3a2c r4 : c02af9ec
r3 : c2dc3990 r2 : a0000013 r1 : c026bb30 r0 : 00000000
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: A005317F Table: 01988000 DAC: 00000017
Process khubd (pid: 14, stack limit = 0xc0dde194)
Stack: (0xc0ddfdd4 to 0xc0de0000)
fdc0: c02af9ec c2dc3a2c c02af9f4
fde0: c02af98c c0ddfe14 c0ddfdf4 c015b43c c00c7e80 c2dc3a2c c2dc3990 c19b0828
fe00: c0d631d0 00000004 c0ddfe28 c0ddfe18 c015b48c c015b388 c2dc3800 c0ddfe44
fe20: c0ddfe2c c0199970 c015b488 c19b0800 c0dac0a0 c19b07f8 c0ddfe60 c0ddfe48
fe40: c0199a78 c0199924 c19b0804 c19b0808 c2280118 c0ddfe78 c0ddfe64 c0198b78
fe60: c01999f0 c19b0800 c19b0800 c0ddfe90 c0ddfe7c c01918cc c0198b48 c19b09e8
fe80: c19b0800 c0ddfea8 c0ddfe94 bf00bb78 c01918c8 c22800e0 bf01030c c0ddfec0
fea0: c0ddfeac c01ba47c bf00baec c22800f4 bf01032c c0ddfedc c0ddfec4 c015a05c
fec0: c01ba440 c22800f4 c2dc3c64 c2280118 c0ddfef0 c0ddfee0 c015a2ac c015a004
fee0: c22800f4 c0ddff0c c0ddfef4 c015921c c015a264 c22800f4 00000001 c2dc3c00
ff00: c0ddff28 c0ddff10 c01c199c c01591c4 c2dc3c00 c2dc3c40 ffffffff c0ddff48
ff20: c0ddff2c c01bc9f8 c01c190c 00000101 00000001 00000001 c3892cc0 c0ddff7c
ff40: c0ddff4c c01bd9a4 c01bc928 c0ddff58 c01bb6ac c3892cc0 00000004 00000001
ff60: c0d63000 c0dac5f4 00000000 c0dac5e0 c0ddffac c0ddff80 c01bdf90 c01bd954
ff80: 01010001 c0ddffc0 c0ddffc0 c0dde000 c0ddffc4 c02b0c80 00000000 00000000
ffa0: c0ddfff4 c0ddffb0 c01be098 c01bdcec 00000000 c3836ce0 c00663c4 c0ddffd0
ffc0: c0ddffd0 00000000 c3836ce0 c00663c4 c0ddffd0 c0ddffd0 00000000 00000000
ffe0: 00000000 00000000 00000000 c0ddfff8 c0053b78 c01be080 f7c217c1 8f82d45e
Backtrace:
[<c00c7e70>] (sysfs_hash_and_remove+0x0/0x148) from [<c015b43c>] (class_device_del+0xc4/0x100)
r7 = C02AF98C r6 = C02AF9F4 r5 = C2DC3A2C r4 = C02AF9EC
[<c015b378>] (class_device_del+0x0/0x100) from [<c015b48c>] (class_device_unregister+0x14/0x20)
r8 = 00000004 r7 = C0D631D0 r6 = C19B0828 r5 = C2DC3990
r4 = C2DC3A2C
[<c015b478>] (class_device_unregister+0x0/0x20) from [<c0199970>] (scsi_remove_device+0x5c/0xcc)
r4 = C2DC3800
[<c0199914>] (scsi_remove_device+0x0/0xcc) from [<c0199a78>] (__scsi_remove_target+0x98/0xcc)
r6 = C19B07F8 r5 = C0DAC0A0 r4 = C19B0800
[<c01999e0>] (__scsi_remove_target+0x0/0xcc) from [<c0198b78>] (scsi_forget_host+0x40/0x6c)
r6 = C2280118 r5 = C19B0808 r4 = C19B0804
[<c0198b38>] (scsi_forget_host+0x0/0x6c) from [<c01918cc>] (scsi_remove_host+0x14/0x70)
r5 = C19B0800 r4 = C19B0800
[<c01918b8>] (scsi_remove_host+0x0/0x70) from [<bf00bb78>] (storage_disconnect+0x9c/0xb8 [usb_storage])
r5 = C19B0800 r4 = C19B09E8
[<bf00badc>] (storage_disconnect+0x0/0xb8 [usb_storage]) from [<c01ba47c>] (usb_unbind_interface+0x4c/0x78)
r5 = BF01030C r4 = C22800E0
[<c01ba430>] (usb_unbind_interface+0x0/0x78) from [<c015a05c>] (device_release_driver+0x68/0x78)
r5 = BF01032C r4 = C22800F4
[<c0159ff4>] (device_release_driver+0x0/0x78) from [<c015a2ac>] (bus_remove_device+0x58/0x94)
r6 = C2280118 r5 = C2DC3C64 r4 = C22800F4
[<c015a254>] (bus_remove_device+0x0/0x94) from [<c015921c>] (device_del+0x68/0x98)
r4 = C22800F4
[<c01591b4>] (device_del+0x0/0x98) from [<c01c199c>] (usb_disable_device+0xa0/0x124)
r6 = C2DC3C00 r5 = 00000001 r4 = C22800F4
[<c01c18fc>] (usb_disable_device+0x0/0x124) from [<c01bc9f8>] (usb_disconnect+0xe0/0x174)
r6 = FFFFFFFF r5 = C2DC3C40 r4 = C2DC3C00
[<c01bc918>] (usb_disconnect+0x0/0x174) from [<c01bd9a4>] (hub_port_connect_change+0x60/0x398)
r7 = C3892CC0 r6 = 00000001 r5 = 00000001 r4 = 00000101
[<c01bd944>] (hub_port_connect_change+0x0/0x398) from [<c01bdf90>] (hub_events+0x2b4/0x394)
[<c01bdcdc>] (hub_events+0x0/0x394) from [<c01be098>] (hub_thread+0x28/0x104)
[<c01be070>] (hub_thread+0x0/0x104) from [<c0053b78>] (do_exit+0x0/0x34c)
r7 = 00000000 r6 = 00000000 r5 = 00000000 r4 = 00000000
Code: 00200200 e1a0c00d e92dd8f0 e24cb004 (e5903008)
So tired of this
edit: If i kill lpd daemon it even shows the hdd name in webpage under Status -> Printer
Manufacturer: Packard Bell
Product: USB2.0 HubCarbon
But that's about it :<
Last edited by zsh (2009-06-26 17:38:17)
Offline
Hi guys,
Hoping to get a response back, trying to connect and mount an external 400GB Seagate hard drive to my DNS-323 USB, please see my putty log and let me know why I am unable to get it working.
Thanks.
root@DNS323:~# dmesg
root@DNS323:~# insmod /mnt/HD_a2/lnx_bin/usb-storage.ko
root@DNS323:~# dmesg
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
root@DNS323:~# dmesg
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
root@DNS323:~# mount -t ntfs /dev/sdc1 /mnt/HD_a2/usb_drive
mount: mounting /dev/sdc1 on /mnt/HD_a2/usb_drive failed: No such device
root@DNS323:~# mount -t ntfs /dev/sdc1 /mnt/HD_a2/usb_drive
root@DNS323:~# dmesg
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
root@DNS323:~# insmod /mnt/HD_a2/lnx_bin/ntfs.ko
root@DNS323:~# dmesg
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
NTFS driver 2.1.22 [Flags: R/O MODULE].
root@DNS323:~# mount -t ntfs /dev/sdc1 /mnt/HD_a2/usb_drive
mount: mounting /dev/sdc1 on /mnt/HD_a2/usb_drive failed: No such device or address
root@DNS323:~# dmesg
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
NTFS driver 2.1.22 [Flags: R/O MODULE].
root@DNS323:~#
root@DNS323:~# dmesg
usb 1-1: new high speed USB device using ehci_platform and address 2
usb-storage: USB Mass Storage device detected
usb-storage: -- associate_dev
usb-storage: Vendor: 0x0bc2, Product: 0x0502, Revision: 0x0200
usb-storage: Interface Subclass: 0x06, Protocol: 0x50
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1
usb-storage: GetMaxLUN command result is 1, data is 0
usb-storage: *** thread sleeping.
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage: 12 00 00 00 24 00
usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_buf: xfer 36 bytes
usb-storage: Status code 0; transferred 36/36
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x1 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
Vendor: ST340083 Model: 2A Rev: 4.40
Type: Direct-Access ANSI SCSI revision: 00
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command TEST_UNIT_READY (6 bytes)
usb-storage: 00 00 00 00 00 00
usb-storage: Bulk Command S 0x43425355 T 0x2 L 0 F 0 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x2 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command READ_CAPACITY (10 bytes)
usb-storage: 25 00 00 00 00 00 00 00 00 00
usb-storage: Bulk Command S 0x43425355 T 0x3 L 8 F 128 Trg 0 LUN 0 CL 10
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_buf: xfer 8 bytes
usb-storage: Status code 0; transferred 8/8
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x3 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
SCSI device sdc: 781422768 512-byte hdwr sectors (400088 MB)
sdc: assuming drive cache: write through
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command TEST_UNIT_READY (6 bytes)
usb-storage: 00 00 00 00 00 00
usb-storage: Bulk Command S 0x43425355 T 0x4 L 0 F 0 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x4 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command READ_CAPACITY (10 bytes)
usb-storage: 25 00 00 00 00 00 00 00 00 00
usb-storage: Bulk Command S 0x43425355 T 0x5 L 8 F 128 Trg 0 LUN 0 CL 10
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_buf: xfer 8 bytes
usb-storage: Status code 0; transferred 8/8
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x5 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
SCSI device sdc: 781422768 512-byte hdwr sectors (400088 MB)
sdc: assuming drive cache: write through
sdc:<7>usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command READ_10 (10 bytes)
usb-storage: 28 00 00 00 00 00 00 00 08 00
usb-storage: Bulk Command S 0x43425355 T 0x6 L 4096 F 128 Trg 0 LUN 0 CL 10
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 4096 bytes, 1 entries
usb-storage: Status code 0; transferred 4096/4096
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x6 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
sdc1
Attached scsi disk sdc at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg2 at scsi2, channel 0, id 0, lun 0, type 0
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad LUN (0:1)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (1:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (2:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (3:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (4:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (5:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (6:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (7:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: device scan complete
root@DNS323:~#
root@DNS323:~# mount -t ntfs /dev/sdc1 /mnt/HD_a2/usb_drive
root@DNS323:~# dmesg
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x5 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
SCSI device sdc: 781422768 512-byte hdwr sectors (400088 MB)
sdc: assuming drive cache: write through
sdc:<7>usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command READ_10 (10 bytes)
usb-storage: 28 00 00 00 00 00 00 00 08 00
usb-storage: Bulk Command S 0x43425355 T 0x6 L 4096 F 128 Trg 0 LUN 0 CL 10
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 4096 bytes, 1 entries
usb-storage: Status code 0; transferred 4096/4096
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x6 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
sdc1
Attached scsi disk sdc at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg2 at scsi2, channel 0, id 0, lun 0, type 0
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad LUN (0:1)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (1:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (2:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (3:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (4:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (5:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (6:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (7:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: device scan complete
getblk(): invalid block size -1036789120 requested
hardsect size: 512
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c05ac000
[00000000] *pgd=00fce031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
Modules linked in: ntfs usb_storage usblp sd_mod
CPU: 0
PC is at __bread+0x10/0x30
LR is at __getblk_slow+0x98/0x17c
pc : [<c0090974>] lr : [<c00903fc>] Not tainted
sp : c157fdf4 ip : 00000000 fp : c157fe00
r10: c20db000 r9 : c20db000 r8 : 2e937c82
r7 : 00000001 r6 : c20db000 r5 : c233da80 r4 : c1aa5600
r3 : c029e9a4 r2 : 00000000 r1 : 004b19c9 r0 : 00000000
Flags: nZCv IRQs on FIQs on Mode SVC_32 Segment user
Control: A005317F Table: 005AC000 DAC: 00000015
Process mount (pid: 32545, stack limit = 0xc157e194)
Stack: (0xc157fdf4 to 0xc1580000)
fde0: c157fe24 c157fe04 bf031928
fe00: c0090974 00000000 c233da80 c20db000 c1aa5600 00000001 c157fe50 c157fe28
fe20: bf033320 bf03190c c2c2f91c c1aa5600 c2c2f900 00008000 c20db000 c20db000
fe40: c20db000 c157fe94 c157fe54 c009575c bf0331cc 31636473 ffffff00 c286b000
fe60: c2d3ebc0 0000000a c0e35cc0 c2d3ebc0 c286b000 c0e35cc0 c286b000 fffffff4
fe80: bf03b99c 00008000 c157fea8 c157fe98 bf0339ac c009564c bf0331bc c157fed0
fea0: c157feac c00959a8 bf0339a0 ffffffff c286b000 c20db000 00008000 c157ff08
fec0: 00000000 c157fef8 c157fed4 c00ac02c c0095958 00008000 00000000 c1cb2000
fee0: 00000000 c286b000 c157ff08 c157ff70 c157fefc c00ac6f8 c00abfb8 c286b000
ff00: c20db000 c16c5000 c1720114 c0e35b40 c20db000 c157ff78 00008000 00000001
ff20: 00000001 00000000 c157ff54 c157ff40 c00ac56c c0256ae8 20000013 c00ac4fc
ff40: 00001000 c157ff70 00000000 00000000 beb92e8a c1cb2000 00008000 c157e000
ff60: 000b1018 c157ffa4 c157ff74 c00acb20 c00ac5b8 c20db000 c20db000 c286b000
ff80: c16c5000 000b1018 beb92e94 beb92e85 00000015 c0024f44 00000000 c157ffa8
ffa0: c0024dc0 c00aca8c 000b1018 c002c9f4 beb92e8a beb92e94 beb92e85 00008000
ffc0: 000b1018 beb92e94 beb92e85 000b1018 00008000 beb92da0 000b1018 00000000
ffe0: 400526cc beb92748 0004ef6c 400526d8 20000010 beb92e8a 40029a44 40029ab4
Backtrace:
[<c0090964>] (__bread+0x0/0x30) from [<bf031928>] (read_ntfs_boot_sector+0x2c/0x26c [ntfs])
[<bf0318fc>] (read_ntfs_boot_sector+0x0/0x26c [ntfs]) from [<bf033320>] (ntfs_fill_super+0x164/0x7ac [ntfs])
r8 = 00000001 r7 = C1AA5600 r6 = C20DB000 r5 = C233DA80
r4 = 00000000
[<bf0331bc>] (ntfs_fill_super+0x0/0x7ac [ntfs]) from [<c009575c>] (get_sb_bdev+0x120/0x17c)
[<c009563c>] (get_sb_bdev+0x0/0x17c) from [<bf0339ac>] (ntfs_get_sb+0x1c/0x24 [ntfs])
r8 = 00008000 r7 = BF03B99C r6 = FFFFFFF4 r5 = C286B000
r4 = C0E35CC0
[<bf033990>] (ntfs_get_sb+0x0/0x24 [ntfs]) from [<c00959a8>] (do_kern_mount+0x60/0x108)
[<c0095948>] (do_kern_mount+0x0/0x108) from [<c00ac02c>] (do_new_mount+0x84/0xb8)
[<c00abfa8>] (do_new_mount+0x0/0xb8) from [<c00ac6f8>] (do_mount+0x150/0x16c)
[<c00ac5a8>] (do_mount+0x0/0x16c) from [<c00acb20>] (sys_mount+0xa4/0xe8)
[<c00aca7c>] (sys_mount+0x0/0xe8) from [<c0024dc0>] (ret_fast_syscall+0x0/0x2c)
r8 = C0024F44 r7 = 00000015 r6 = BEB92E85 r5 = BEB92E94
r4 = 000B1018
Code: e1a0c00d e92dd800 e24cb004 ebffffda (e5903000)
root@DNS323:~#
Last edited by dll2002dll (2009-07-25 05:38:46)
Offline
b8b wrote:
Can you plug in USB external HDD's as well, or only flash devices?
*** How about USB external keyboard, mouse, VGA?
- Jerry Kaidor
Offline
I know this is an old page but I searched and cannot find any solution to the problem. Me too getting the
> Internal error: Oops: 17 [#1]
I confirmed that this is related to the ntfs.ko module. As for the same enclosure and disk, I was able to use it sucessfully after I reformated to ext3. It just doesn't work with ntfs.ko.
I think we probably need an updated version of ntfs.ko for my kernel. Did anybody find one working?
/mnt # uname -a
Linux dns323 2.6.12.6-arm1 #31 Thu Mar 26 18:20:41 CST 2009 armv5tejl unknown
Thanks in advance.
Offline
Hi to all!
I have a DNS-323 HW B3, FW 1.08.
Today I tried to attach my external 2,5" USB drive to the NAS, but it doesn't seem to work.
Model: Samsung HM641JI
Enclosure: CnMemory 2,5" Sata -> USB Bridge
Initializing USB Mass Storage driver... scsi2 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 13 usb-storage: waiting for device to settle before scanning usbcore: registered new driver usb-storage USB Mass Storage support registered. usb 1-1: USB disconnect, address 13 usb 1-1: new high speed USB device using ehci_platform and address 14 scsi3 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 14 usb-storage: waiting for device to settle before scanning usb 1-1: reset high speed USB device using ehci_platform and address 14 usb 1-1: device descriptor read/64, error -71 usb 1-1: device firmware changed scsi: Device offlined - not ready after error recovery: host 3 channel 0 id 0 lun 0 usb 1-1: USB disconnect, address 14 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: usb_storage usblp sd_mod CPU: 0 PC is at sysfs_hash_and_remove+0xc/0x148 LR is at class_device_del+0xc4/0x100 pc : [<c00c80c8>] lr : [<c016d4dc>] Not tainted sp : c38a1dd4 ip : c38a1df4 fp : c38a1df0 r10: c3993800 r9 : c38de9b4 r8 : c02c4634 r7 : c02c45d4 r6 : c02c463c r5 : c2965e2c r4 : c02c4634 r3 : c2965d90 r2 : a0000013 r1 : c027dc30 r0 : 00000000 Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment kernel Control: A005317F Table: 03DC0000 DAC: 00000017 Process khubd (pid: 14, stack limit = 0xc38a0194) Stack: (0xc38a1dd4 to 0xc38a2000) 1dc0: c02c4634 c2965e2c c02c463c 1de0: c02c45d4 c38a1e14 c38a1df4 c016d4dc c00c80cc c2965e2c c2965d90 c2965028 1e00: c39939c4 00000001 c38a1e28 c38a1e18 c016d52c c016d428 c2965c00 c38a1e44 1e20: c38a1e2c c01aba10 c016d528 c2965000 c2484f00 c2964ff8 c38a1e60 c38a1e48 1e40: c01abb18 c01ab9c4 c2965004 c2965008 c38de198 c38a1e78 c38a1e64 c01aac18 1e60: c01aba90 c2965000 c2965000 c38a1e90 c38a1e7c c01a396c c01aabe8 c29651e8 1e80: c2965000 c38a1ea8 c38a1e94 bf00bb78 c01a3968 c38de160 bf01030c c38a1ec0 1ea0: c38a1eac c01cc51c bf00baec c38de174 bf01032c c38a1edc c38a1ec4 c016c0fc 1ec0: c01cc4e0 c38de174 c3993064 c38de198 c38a1ef0 c38a1ee0 c016c34c c016c0a4 1ee0: c38de174 c38a1f0c c38a1ef4 c016b2bc c016c304 c38de174 00000001 c3993000 1f00: c38a1f28 c38a1f10 c01d3a3c c016b264 c3993000 c3993040 ffffffff c38a1f48 1f20: c38a1f2c c01cea98 c01d39ac 00000101 00000000 00000001 c38ce7a0 c38a1f7c 1f40: c38a1f4c c01cfa44 c01ce9c8 c38a1f7c c38a1f5c c38ce7a0 00000001 00000001 1f60: c3993800 c38de9b4 00000000 c38de9a0 c38a1fac c38a1f80 c01d0030 c01cf9f4 1f80: 01010000 c38a1fc0 c38a1fc0 c38a0000 c38a1fc4 c02c58c8 00000000 00000000 1fa0: c38a1ff4 c38a1fb0 c01d0138 c01cfd8c 00000000 c3875ce0 c00663c4 c38a1fd0 1fc0: c38a1fd0 00000000 c3875ce0 c00663c4 c38a1fd0 c38a1fd0 00000000 00000000 1fe0: 00000000 00000000 00000000 c38a1ff8 c0053b78 c01d0120 75f824be 02f4d3f5 Backtrace: [<c00c80bc>] (sysfs_hash_and_remove+0x0/0x148) from [<c016d4dc>] (class_device_del+0xc4/0x100) r7 = C02C45D4 r6 = C02C463C r5 = C2965E2C r4 = C02C4634 [<c016d418>] (class_device_del+0x0/0x100) from [<c016d52c>] (class_device_unregister+0x14/0x20) r8 = 00000001 r7 = C39939C4 r6 = C2965028 r5 = C2965D90 r4 = C2965E2C [<c016d518>] (class_device_unregister+0x0/0x20) from [<c01aba10>] (scsi_remove_device+0x5c/0xcc) r4 = C2965C00 [<c01ab9b4>] (scsi_remove_device+0x0/0xcc) from [<c01abb18>] (__scsi_remove_target+0x98/0xcc) r6 = C2964FF8 r5 = C2484F00 r4 = C2965000 [<c01aba80>] (__scsi_remove_target+0x0/0xcc) from [<c01aac18>] (scsi_forget_host+0x40/0x6c) r6 = C38DE198 r5 = C2965008 r4 = C2965004 [<c01aabd8>] (scsi_forget_host+0x0/0x6c) from [<c01a396c>] (scsi_remove_host+0x14/0x70) r5 = C2965000 r4 = C2965000 [<c01a3958>] (scsi_remove_host+0x0/0x70) from [<bf00bb78>] (storage_disconnect+0x9c/0xb8 [usb_storage]) r5 = C2965000 r4 = C29651E8 [<bf00badc>] (storage_disconnect+0x0/0xb8 [usb_storage]) from [<c01cc51c>] (usb_unbind_interface+0x4c/0x78) r5 = BF01030C r4 = C38DE160 [<c01cc4d0>] (usb_unbind_interface+0x0/0x78) from [<c016c0fc>] (device_release_driver+0x68/0x78) r5 = BF01032C r4 = C38DE174 [<c016c094>] (device_release_driver+0x0/0x78) from [<c016c34c>] (bus_remove_device+0x58/0x94) r6 = C38DE198 r5 = C3993064 r4 = C38DE174 [<c016c2f4>] (bus_remove_device+0x0/0x94) from [<c016b2bc>] (device_del+0x68/0x98) r4 = C38DE174 [<c016b254>] (device_del+0x0/0x98) from [<c01d3a3c>] (usb_disable_device+0xa0/0x124) r6 = C3993000 r5 = 00000001 r4 = C38DE174 [<c01d399c>] (usb_disable_device+0x0/0x124) from [<c01cea98>] (usb_disconnect+0xe0/0x174) r6 = FFFFFFFF r5 = C3993040 r4 = C3993000 [<c01ce9b8>] (usb_disconnect+0x0/0x174) from [<c01cfa44>] (hub_port_connect_change+0x60/0x398) r7 = C38CE7A0 r6 = 00000001 r5 = 00000000 r4 = 00000101 [<c01cf9e4>] (hub_port_connect_change+0x0/0x398) from [<c01d0030>] (hub_events+0x2b4/0x394) [<c01cfd7c>] (hub_events+0x0/0x394) from [<c01d0138>] (hub_thread+0x28/0x104) [<c01d0110>] (hub_thread+0x0/0x104) from [<c0053b78>] (do_exit+0x0/0x34c) r7 = 00000000 r6 = 00000000 r5 = 00000000 r4 = 00000000 Code: 00200200 e1a0c00d e92dd8f0 e24cb004 (e5903008)
Is it possible to get the drive running by replacing the usb-storage.ko to a newer version? I tried to run the drive with an active usb-hub, but this could not solve the problem - but the hub is usb 2.0 capable. Is it possible to force the chipset to run in OHCI-mode?
Could the drive maybe be supported if i ran debian on the NAS?
Edit: It would be really nice if someone had an idea how to get the harddisk to run at the USB-port!
Could the problem be solved if I would buy an other adaptor?
Last edited by Pago (2010-06-28 13:25:58)
Offline
NOT SUPPORTED: ST912082 3AS
Is there any hints what is the issue ?!
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb 1-1: new high speed USB device using ehci_platform and address 14
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 14
usb-storage: waiting for device to settle before scanning
usb 1-1: reset high speed USB device using ehci_platform and address 14
usb 1-1: device descriptor read/64, error -71
usb 1-1: device firmware changed
scsi: Device offlined - not ready after error recovery: host 2 channel 0 id 0 lun 0
usb 1-1: USB disconnect, address 14
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: usb_storage usblp sd_mod
CPU: 0
PC is at sysfs_hash_and_remove+0xc/0x148
LR is at class_device_del+0xc4/0x100
pc : [<c00c7e7c>] lr : [<c015b43c>] Not tainted
sp : c0ddfdd4 ip : c0ddfdf4 fp : c0ddfdf0
r10: c0d63800 r9 : c0dac9b4 r8 : c02af9ec
r7 : c02af98c r6 : c02af9f4 r5 : c2085e2c r4 : c02af9ec
r3 : c2085d90 r2 : a0000013 r1 : c026bb30 r0 : 00000000
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: A005317F Table: 02DD8000 DAC: 00000017
Process khubd (pid: 14, stack limit = 0xc0dde194)
Stack: (0xc0ddfdd4 to 0xc0de0000)
fdc0: c02af9ec c2085e2c c02af9f4
fde0: c02af98c c0ddfe14 c0ddfdf4 c015b43c c00c7e80 c2085e2c c2085d90 c2621428
fe00: c0d639c4 00000001 c0ddfe28 c0ddfe18 c015b48c c015b388 c2085c00 c0ddfe44
fe20: c0ddfe2c c0199970 c015b488 c2621400 c0dac220 c26213f8 c0ddfe60 c0ddfe48
fe40: c0199a78 c0199924 c2621404 c2621408 c0dac318 c0ddfe78 c0ddfe64 c0198b78
fe60: c01999f0 c2621400 c2621400 c0ddfe90 c0ddfe7c c01918cc c0198b48 c26215e8
fe80: c2621400 c0ddfea8 c0ddfe94 bf00bb78 c01918c8 c0dac2e0 bf01030c c0ddfec0
fea0: c0ddfeac c01ba47c bf00baec c0dac2f4 bf01032c c0ddfedc c0ddfec4 c015a05c
fec0: c01ba440 c0dac2f4 c2621c64 c0dac318 c0ddfef0 c0ddfee0 c015a2ac c015a004
fee0: c0dac2f4 c0ddff0c c0ddfef4 c015921c c015a264 c0dac2f4 00000001 c2621c00
ff00: c0ddff28 c0ddff10 c01c199c c01591c4 c2621c00 c2621c40 ffffffff c0ddff48
ff20: c0ddff2c c01bc9f8 c01c190c 00000101 00000000 00000001 c0d618a0 c0ddff7c
ff40: c0ddff4c c01bd9a4 c01bc928 c0ddff7c c0ddff5c c0d618a0 00000001 00000001
ff60: c0d63800 c0dac9b4 00000000 c0dac9a0 c0ddffac c0ddff80 c01bdf90 c01bd954
ff80: 01010000 c0ddffc0 c0ddffc0 c0dde000 c0ddffc4 c02b0c80 00000000 00000000
ffa0: c0ddfff4 c0ddffb0 c01be098 c01bdcec 00000000 c3836ce0 c00663c4 c0ddffd0
ffc0: c0ddffd0 00000000 c3836ce0 c00663c4 c0ddffd0 c0ddffd0 00000000 00000000
ffe0: 00000000 00000000 00000000 c0ddfff8 c0053b78 c01be080 f7c217c1 8f82d45e
Backtrace:
[<c00c7e70>] (sysfs_hash_and_remove+0x0/0x148) from [<c015b43c>] (class_device_del+0xc4/0x100)
r7 = C02AF98C r6 = C02AF9F4 r5 = C2085E2C r4 = C02AF9EC
[<c015b378>] (class_device_del+0x0/0x100) from [<c015b48c>] (class_device_unregister+0x14/0x20)
r8 = 00000001 r7 = C0D639C4 r6 = C2621428 r5 = C2085D90
r4 = C2085E2C
[<c015b478>] (class_device_unregister+0x0/0x20) from [<c0199970>] (scsi_remove_device+0x5c/0xcc)
r4 = C2085C00
[<c0199914>] (scsi_remove_device+0x0/0xcc) from [<c0199a78>] (__scsi_remove_target+0x98/0xcc)
r6 = C26213F8 r5 = C0DAC220 r4 = C2621400
[<c01999e0>] (__scsi_remove_target+0x0/0xcc) from [<c0198b78>] (scsi_forget_host+0x40/0x6c)
r6 = C0DAC318 r5 = C2621408 r4 = C2621404
[<c0198b38>] (scsi_forget_host+0x0/0x6c) from [<c01918cc>] (scsi_remove_host+0x14/0x70)
r5 = C2621400 r4 = C2621400
[<c01918b8>] (scsi_remove_host+0x0/0x70) from [<bf00bb78>] (storage_disconnect+0x9c/0xb8 [usb_storage])
r5 = C2621400 r4 = C26215E8
[<bf00badc>] (storage_disconnect+0x0/0xb8 [usb_storage]) from [<c01ba47c>] (usb_unbind_interface+0x4c/0x78)
r5 = BF01030C r4 = C0DAC2E0
[<c01ba430>] (usb_unbind_interface+0x0/0x78) from [<c015a05c>] (device_release_driver+0x68/0x78)
r5 = BF01032C r4 = C0DAC2F4
[<c0159ff4>] (device_release_driver+0x0/0x78) from [<c015a2ac>] (bus_remove_device+0x58/0x94)
r6 = C0DAC318 r5 = C2621C64 r4 = C0DAC2F4
[<c015a254>] (bus_remove_device+0x0/0x94) from [<c015921c>] (device_del+0x68/0x98)
r4 = C0DAC2F4
[<c01591b4>] (device_del+0x0/0x98) from [<c01c199c>] (usb_disable_device+0xa0/0x124)
r6 = C2621C00 r5 = 00000001 r4 = C0DAC2F4
[<c01c18fc>] (usb_disable_device+0x0/0x124) from [<c01bc9f8>] (usb_disconnect+0xe0/0x174)
r6 = FFFFFFFF r5 = C2621C40 r4 = C2621C00
[<c01bc918>] (usb_disconnect+0x0/0x174) from [<c01bd9a4>] (hub_port_connect_change+0x60/0x398)
r7 = C0D618A0 r6 = 00000001 r5 = 00000000 r4 = 00000101
[<c01bd944>] (hub_port_connect_change+0x0/0x398) from [<c01bdf90>] (hub_events+0x2b4/0x394)
[<c01bdcdc>] (hub_events+0x0/0x394) from [<c01be098>] (hub_thread+0x28/0x104)
[<c01be070>] (hub_thread+0x0/0x104) from [<c0053b78>] (do_exit+0x0/0x34c)
r7 = 00000000 r6 = 00000000 r5 = 00000000 r4 = 00000000
Code: 00200200 e1a0c00d e92dd8f0 e24cb004 (e5903008)
Offline
They are working properly all on a hub, and are formatted as ext3. Flash drive is used for logs and running Optware. HDDs are used for weekly rsync'd backup from internal 2TB HDDs. Both external hard drives are capable of going to standby mode and turning off themselves.
PQI 4GB flash drive
SAMSUNG G3 Station 2TB external HDD
TEVION 2TB external HDD (Western Digital WD20EARS inside)
Host scsi4: usb-storage
Vendor: PQI
Product: PQI USB Flash Drive
Protocol: Transparent SCSI
Transport: Bulk
Host scsi5: usb-storage
Vendor: JMicron
Product: Samsung G3 Station
Protocol: Transparent SCSI
Transport: Bulk
Host scsi6: usb-storage
Vendor: ASMedia
Product: AS2105
Protocol: Transparent SCSI
Transport: Bulk
Last edited by Rival (2012-02-22 15:17:06)
Offline