Greetings.
I have an interesting problem with a USB to SATA adapter that I am connecting to USB 3 port on my Pogo v4.
When I connect the adapter directly to the USB 3 port, I get a kernel crash.
When I connect the adapter to the same USB 3 port through a USB 2 hub, the kernel does not crash, and I can mount the attached SATA hard drive.
I'm booting off a USB flash drive connected to the top USB connector.
Here are the boot logs for when the USB to SATA adapter is connected directly:
$this->bbcode_second_pass_code('', '
U-Boot 1.1.4 (Oct 1 2011 - 12:06:06) Cloud Engines 1.1.2 (3.4.27) PHYADDR=0
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006918B4
Soc: 88F6192 A1 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 200Mhz , TClock = 166Mhz
DRAM CAS Latency = 3 tRP = 3 tRAS = 8 tRCD=3
DRAM CS[0] base 0x00000000 size 128MB
DRAM Total size 128MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: PPV4A3
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 1 0
Unknown command 'usb' - try 'help'
NAND read: device 0 offset 0x100000, size 0x73d0c
474380 bytes read: OK
## Starting application at 0x00800000 ...
U-Boot 1.1.4 (Jan 13 2012 - 22:33:21) Arch Linux ARM (PPV4 r1) PHYADDR=0
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFD60
Soc: 88F6192 A1 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 200Mhz , TClock = 166Mhz
DRAM CAS Latency = 3 tRP = 3 tRAS = 8 tRCD=3
DRAM CS[0] base 0x00000000 size 128MB
DRAM Total size 128MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: PPV4A3
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 1 0
(Re)start USB...
USB: scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
No Fat FS detected
IDE device 0 not available
....
.
......
............
.........................
...................................................
......................................................................................................
...........................................................................
2869736 bytes read
## Booting image at 00800000 ...
Image Name: Linux-3.1.10-16-ARCH
Created: 2013-02-12 1:17:35 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2869672 Bytes = 2.7 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 10.022194] xhci_hcd 0000:00:01.0: Failed to enable MSI-X
[ 10.027577] xhci_hcd 0000:00:01.0: failed to allocate MSI entry
[ 10.850236] usb 1-1.1: device descriptor read/64, error -32
[ 11.039807] rtc-mv rtc-mv: internal RTC not ticking
[ 11.050756] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 11.420237] usb 1-1.3: device descriptor read/64, error -32
[ 11.610111] usb 1-1.3: device descriptor read/64, error -32
[ 11.711532] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
[ 11.719854] [<c000d290>] (unwind_backtrace+0x0/0xe0) from [<c03cc914>] (panic+0x58/0x198)
[ 11.728016] [<c03cc914>] (panic+0x58/0x198) from [<c052fc2c>] (mount_block_root+0x230/0x280)
[ 11.736472] [<c052fc2c>] (mount_block_root+0x230/0x280) from [<c052ff3c>] (prepare_namespace+0x160/0x1c0)
[ 11.746038] [<c052ff3c>] (prepare_namespace+0x160/0x1c0) from [<c052f8c8>] (kernel_init+0x11c/0x14c)
[ 11.755169] [<c052f8c8>] (kernel_init+0x11c/0x14c) from [<c000945c>] (kernel_thread_exit+0x0/0x8)
')
Here are the boot logs for when USB to SATA adapter is connected via the USB 2 hub:
$this->bbcode_second_pass_code('', '
U-Boot 1.1.4 (Oct 1 2011 - 12:06:06) Cloud Engines 1.1.2 (3.4.27) PHYADDR=0
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006918B4
Soc: 88F6192 A1 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 200Mhz , TClock = 166Mhz
DRAM CAS Latency = 3 tRP = 3 tRAS = 8 tRCD=3
DRAM CS[0] base 0x00000000 size 128MB
DRAM Total size 128MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: PPV4A3
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 1 0
Unknown command 'usb' - try 'help'
NAND read: device 0 offset 0x100000, size 0x73d0c
474380 bytes read: OK
## Starting application at 0x00800000 ...
U-Boot 1.1.4 (Jan 13 2012 - 22:33:21) Arch Linux ARM (PPV4 r1) PHYADDR=0
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFD60
Soc: 88F6192 A1 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 200Mhz , TClock = 166Mhz
DRAM CAS Latency = 3 tRP = 3 tRAS = 8 tRCD=3
DRAM CS[0] base 0x00000000 size 128MB
DRAM Total size 128MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB
Flash: 0 kB
CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: PPV4A3
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 1 0
(Re)start USB...
USB: scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
No Fat FS detected
IDE device 0 not available
....
.
......
............
.........................
...................................................
......................................................................................................
...........................................................................
2869736 bytes read
## Booting image at 00800000 ...
Image Name: Linux-3.1.10-16-ARCH
Created: 2013-02-12 1:17:35 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2869672 Bytes = 2.7 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 10.021907] xhci_hcd 0000:00:01.0: Failed to enable MSI-X
[ 10.027290] xhci_hcd 0000:00:01.0: failed to allocate MSI entry
[ 10.849854] usb 1-1.1: device descriptor read/64, error -32
[ 11.039443] rtc-mv rtc-mv: internal RTC not ticking
[ 11.050386] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 11.419855] usb 1-1.3: device descriptor read/64, error -32
[ 11.609854] usb 1-1.3: device descriptor read/64, error -32
[ 11.879853] usb 1-1.3: device descriptor read/64, error -32
[ 12.069836] usb 1-1.3: device descriptor read/64, error -32
[ 12.453601] sd 1:0:0:0: [sda] No Caching mode page present
[ 12.459071] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 12.468349] sd 1:0:0:0: [sda] No Caching mode page present
[ 12.474091] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 12.484476] sd 1:0:0:0: [sda] No Caching mode page present
[ 12.490184] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 12.689467] usb 1-1.3: device not accepting address 7, error -32
Welcome to [0;36mArch Linux ARM[0m!
<snip>
')
Any suggestions?