I am now using a customized DM357 board and MV 5.0 with Linux kurnel 2.6.18.
I am now facing a problem:
We extend the USB port of DM357 using a USB HUB.
1) If two USB network cards are connected to the HUB at the same time, they all work well.
2) If two USB hard device are connected to the HUB at the same time, they also all work well.
However, when one USB network card and one USB hard device are connected at the same time to the USB HUB then I have problem. Firstly the USB hard device is mounted in mmt\hd,
if the network card is not actived, then the USB hard device works ok. However, once "ifconfig up" is done for the network card, then "ls" is used
in the directory of mmt\hd, the error occurs as ERROR1 shown in the follows. If the MV5 USB-patch (pro50-0001 - pro50-2318. ) is used, in the stage 3,
new errors occur as shown in the following ERROR 2.
Any help will be appreciated!! Thank you!
Stone lu
I am now facing a problem:
We extend the USB port of DM357 using a USB HUB.
1) If two USB network cards are connected to the HUB at the same time, they all work well.
2) If two USB hard device are connected to the HUB at the same time, they also all work well.
However, when one USB network card and one USB hard device are connected at the same time to the USB HUB then I have problem. Firstly the USB hard device is mounted in mmt\hd,
if the network card is not actived, then the USB hard device works ok. However, once "ifconfig up" is done for the network card, then "ls" is used
in the directory of mmt\hd, the error occurs as ERROR1 shown in the follows. If the MV5 USB-patch (pro50-0001 - pro50-2318. ) is used, in the stage 3,
new errors occur as shown in the following ERROR 2.
Any help will be appreciated!! Thank you!
Stone lu
(ERROR1):
root@SEED_DVS357_v1.1:/mnt/hd# rm bb~
usb 1-1.4: reset high speed USB device using musb_hdrc and address 4
Unable to handle kernel NULL pointer dereference at virtual address 00000014
pgd = c0004000
[00000014] *pgd=00000000
Internal error: Oops: 17 [#1]
Modules linked in:
CPU: 0
PC is at musb_h_disable+0x104/0x164
LR is at hcd_endpoint_disable+0x18c/0x19c
pc : [<c028a208>] lr : [<c026eef8>] Not tainted
sp : cb1edda8 ip : cb1eddd0 fp : cb1eddcc
r10: cb18f4ec r9 : ffffff94 r8 : a0000013
r7 : cb1ad400 r6 : 00000000 r5 : cb4503a0 r4 : cb18f4e0
r3 : cb4502e0 r2 : 00000000 r1 : 00000081 r0 : cb1ad524
Flags: nzCv IRQs off FIQs on Mode SVC_32 Segment kernel
Control: 5317F
Table: 8C310000 DAC: 00000017
Process usb-storage (pid: 268, stack limit = 0xcb1ec258)
Stack: (0xcb1edda8 to 0xcb1ee000)
dda0: c00d12e0 cb1ec000 cb18f4d8 cb1dafa8 cb1ad400 cb18f4e0
ddc0: cb1eddfc cb1eddd0 c026eef8 c028a114 c03d6c88 00000001 00000000 cb1dafa8
dde0: cb1d4800 cb1dafa8 00000004 cb1e1c60 cb1ede0c cb1ede00 c026ff70 c026ed7c
de00: cb1ede2c cb1ede10 c026ffa4 c026ff10 00000000 cb1e1c00 cb1d4800 00000000
de20: cb1ede6c cb1ede30 c0271820 c026ff84 00000000 00000000 00000000 00000000
de40: 00001388 00000000 cb1dafa8 cb1d4800 00000001 cb8caba0 00000118 cb1895c0
de60: cb1edecc cb1ede70 c026b6d0 c027173c 00000001 00000000 00000000 00000000
de80: 00001388 00000000 cb1ede88 0112de88 00000200 13fd4000 01031840 01030201
dea0: cb1eded4 cb1e1c00 cb1d1000 cb1d1004 cb1d4800 00000000 cb1e6060 00000001
dec0: cb1edef4 cb1eded0 c026b850 c026b460 cb1d469c 00000001 00000003 00040000
dee0: cb1d46b4 cb1d469c cb1edf0c cb1edef8 c027aeb0 c026b784 cb1d469c cb1ec000
df00: cb1edf64 cb1edf10 c027bf88 c027ae7c cb1edf5c cb1edf20 c03492b4 c0043d60
df20: 0000000a 00000001 cb1a1960 c0043b1c 00100100 00200200 ffffffff cb1d469c
df40: cb1ec000 cb1d473c 00040000 00000002 00070000 cb1edf7c cb1edf74 cb1edf68
df60: c027ad64 c027bcd8 cb1edfcc cb1edf78 c027cb80 c027ad64 00000000 00000000
df80: 00000009 cb1a1a70 c0349b30 cb1ec000 cb1ec000 c027c9d4 cb0ddd50 00000000
dfa0: 00000000 cb1d469c cb1ec000 c027c9d4 cb0ddd50 00000000 00000000 00000000
dfc0: cb1edff4 cb1edfd0 c005ef10 c027c9e4 ffffffff ffffffff 00000000 00000000
dfe0: 00000000 00000000 00000000 cb1edff8 c004b894 c005ee38 c4a8a698 20183018
Backtrace:
[<c028a104>] (musb_h_disable+0x0/0x164) from [<c026eef8>] (hcd_endpoint_disable+0x18c/0x19c)
r8 = CB18F4E0 r7 = CB1AD400 r6 = CB1DAFA8 r5 = CB18F4D8
r4 = CB1EC000
[<c026ed6c>] (hcd_endpoint_disable+0x0/0x19c) from [<c026ff70>] (usb_disable_endpoint+0x70/0x74)
[<c026ff00>] (usb_disable_endpoint+0x0/0x74) from [<c026ffa4>] (usb_disable_interface+0x30/0x4c)
[<c026ff74>] (usb_disable_interface+0x0/0x4c) from [<c0271820>] (usb_set_interface+0xf4/0x188)
r7 = 00000000 r6 = CB1D4800 r5 = CB1E1C00 r4 = 00000000
[<c027172c>] (usb_set_interface+0x0/0x188) from [<c026b6d0>] (usb_reset_device+0x280/0x324)
[<c026b450>] (usb_reset_device+0x0/0x324) from [<c026b850>] (usb_reset_composite_device+0xdc/0x188)
[<c026b774>] (usb_reset_composite_device+0x0/0x188) from [<c027aeb0>] (usb_stor_port_reset+0x44/0x7c)
[<c027ae6c>] (usb_stor_port_reset+0x0/0x7c) from [<c027bf88>] (usb_stor_invoke_transport+0x2c0/0x350)
r5 = CB1EC000 r4 = CB1D469C
[<c027bcc8>] (usb_stor_invoke_transport+0x0/0x350) from [<c027ad64>] (usb_stor_transparent_scsi_command+0x10/0x14)
[<c027ad54>] (usb_stor_transparent_scsi_command+0x0/0x14) from [<c027cb80>] (usb_stor_control_thread+0x1ac/0x288)
[<c027c9d4>] (usb_stor_control_thread+0x0/0x288) from [<c005ef10>] (kthread+0xe8/0x128)
[<c005ee28>] (kthread+0x0/0x128) from [<c004b894>] (do_exit+0x0/0xa24)
r7 = 00000000 r6 = 00000000 r5 = 00000000 r4 = 00000000
Code: e1a00006 e2022080 e1a01005 ebfffe61 (e5963014)
<6>note: usb-storage[268] exited with preempt_count 1
(ERROR2):
root@SEED_DVS357_v1.1:/mnt/hd# ls
usb 1-1.4: reset high speed USB device using musb_hdrc and address 4
usb 1-1.4: reset high speed USB device using musb_hdrc and address 4
usb 1-1.4: reset high speed USB device using musb_hdrc and address 4
usb 1-1.4: reset high speed USB device using musb_hdrc and address 4
usb 1-1.4: reset high speed USB device using musb_hdrc and address 4
sd 0:0:0:0: scsi: Device offlined - not ready after error recovery
sd 0:0:0:0: SCSI error: return code = 0x00050000
end_request: I/O error, dev sda, sector 257257180
Buffer I/O error on device sda6, logical block 1034
EXT3-fs error (device sda6): ext3_readdir: directory #2 contains a hole at offset 0
Aborting journal on device sda6.
sd 0:0:0:0: rejecting I/O to offline device
Buffer I/O error on device sda6, logical block 0
lost page write due to I/O error on sda6
ext3_abort called.
EXT3-fs error (device sda6): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only