Project

General

Profile

SATA HDD problem

Added by Dmitry Gorulko over 12 years ago

Hello!
I am trying to connect SATA HDD to Industrial IO devkit, but there is a problem. Boot log:

U-Boot > run flashargs
U-Boot > bootm
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.34-rc1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2177200 Bytes =  2.1 MB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.34-rc1 (root@mitydsp) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Thu Mar 31 19:35:51 EDT 2011
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: MityDSP-L138
Peripheral Config Block Found
Enet_Config = 2
PHYMask = 0x8
No LCD Configured
UART[0] = 0, 0, 0, 115200
UART[1] = 1, 1, 0, 115200
UART[2] = 0, 0, 0, 115200
SPI[0] = 0, 0, 00, 0, 0
SPI[1] = 1, 1, 01, 0, 30000000
Memory policy: ECC disabled, Data cache writethrough
DaVinci da850/omap-l138/am18xx variant 0x1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 24384
Kernel command line: mem=96M console=ttyS1,115200n8 mtdparts=nand:128M(rootfs),-(userfs) root=/dev/mtdblock0 rw,noatime rootfstype=jffs2
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 96MB = 96MB total
Memory: 92736k/92736k available, 5568k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff000000 - 0xffe00000   (  14 MB)
    vmalloc : 0xc6800000 - 0xfea00000   ( 898 MB)
    lowmem  : 0xc0000000 - 0xc6000000   (  96 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc002b000   ( 140 kB)
      .text : 0xc002b000 - 0xc041d000   (4040 kB)
      .data : 0xc0438000 - 0xc0468840   ( 195 kB)
Experimental preemptable hierarchical RCU implementation.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 144 gpio irqs
regulator: core version 0.5
NET: Registered protocol family 16
mityomapl138_init...
mityomapl138_setup_nand: using 16 bit data
EMAC: MII PHY configured, RMII PHY will not be functional
mityomapl138_init: setting phy_mask to 8
mityomapl138_init: no LCD device enabled
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
regulator: VDCDC1: 1150 <--> 1350 mV at 1200 mV
regulator: VDCDC2: 1710 <--> 1910 mV at 3300 mV
regulator: VDCDC3: 1120 <--> 1320 mV at 1800 mV
regulator: LDO1: 1800 mV
regulator: LDO2: 3300 mV
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
Switching to clocksource timer0_1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 181
io scheduler noop registered (default)
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
console [ttyS1] enabled
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
brd: module loaded
at24 1-0050: 256 byte 24c02 EEPROM (read-only)
MityOMAPL138: Found MAC = 00:50:c2:bf:8c:7c
MityOMAPL138: Part Number = L138-FX-225-RC
MityOMAPL138: setting max frequency to 456 MHz
ahci ahci: forcing PORTS_IMPL to 0x1
ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc
scsi0 : ahci
ata1: SATA max UDMA/133 irq 67
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron NAND 256MiB 3,3V 16-bit)
Creating 2 MTD partitions on "davinci_nand.1":
0x000000000000-0x000008000000 : "rootfs" 
0x000008000000-0x000010000000 : "homefs" 
davinci_nand davinci_nand.1: controller rev. 2.5
spi_davinci spi_davinci.1: Controller at 0xfef0e000
console [netcon0] enabled
netconsole: network logging started
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci ohci.0: DA8xx OHCI
ohci ohci.0: new USB bus registered, assigned bus number 1
Waiting for USB PHY clock good...
ohci ohci.0: irq 59, io mem 0x01e25000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
omap_rtc: RTC power up reset detected
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
No device for DAI AD73311
Asahi Kasei AK4104 ALSA SoC Codec Driver
No device for DAI AK4535
Cirrus Logic CS4270 ALSA SoC Codec Driver
No device for codec dsd1791
No device for DAI dsd1791
No device for DAI PCM3008 HiFi
No device for DAI SSM2602
No device for DAI tlv320aic23
No device for DAI UDA134X
No device for DAI WM8510 HiFi
No device for DAI WM8728
No device for DAI WM8750
No device for DAI WM8971
No device for DAI WM8990 ADC/DAC Primary
asoc: dsd1791 <-> davinci-i2s mapping ok
soc-audio soc-audio.0: DSD1791 Audio Codec
ALSA device list:
  #0: MityDSP-L138 INDIO (dsd1791)
TCP cubic registered
NET: Registered protocol family 17
Clocks: disable unused i2c1
Clocks: disable unused emac
Clocks: disable unused lcdc
Clocks: disable unused spi0
Clocks: disable unused mcbsp0
Clocks: disable unused mcbsp1
Clocks: disable unused vpif
regulator_init_complete: incomplete constraints, leaving LDO2 on
regulator_init_complete: incomplete constraints, leaving LDO1 on
regulator_init_complete: incomplete constraints, leaving VDCDC3 on
regulator_init_complete: incomplete constraints, leaving VDCDC2 on
regulator_init_complete: incomplete constraints, leaving VDCDC1 on
emac-mii: probed
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
ata1: SATA link down (SStatus 0 SControl 300)
ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050202 action 0xe frozen t4
ata1: irq_stat 0x00000040, connection status changed
ata1: SError: { RecovComm Persist PHYRdyChg CommWake DevExch }
ata1: hard resetting link
ata1: SATA link down (SStatus 0 SControl 300)
ata1: EH complete
ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050202 action 0xe frozen
ata1: irq_stat 0x00400040, connection status changed
ata1: SError: { RecovComm Persist PHYRdyChg CommWake DevExch }
ata1: limiting SATA link speed to 1.5 Gbps
ata1: hard resetting link
INFO: task swapper:1 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
swapper       D c02f4c54     0     1      0 0x00000000
[<c02f4c54>] (schedule+0x328/0x3c0) from [<c005d134>] (async_synchronize_cookie_domain+0xe0/0x198)
[<c005d134>] (async_synchronize_cookie_domain+0xe0/0x198) from [<c005d210>] (async_synchronize_full+0x18/0x40)
[<c005d210>] (async_synchronize_full+0x18/0x40) from [<c01a0dc0>] (wait_for_device_probe+0x88/0x9c)
[<c01a0dc0>] (wait_for_device_probe+0x88/0x9c) from [<c0009114>] (prepare_namespace+0x38/0x1c8)
[<c0009114>] (prepare_namespace+0x38/0x1c8) from [<c0008484>] (kernel_init+0x118/0x160)
[<c0008484>] (kernel_init+0x118/0x160) from [<c002c938>] (kernel_thread_exit+0x0/0x8)
INFO: task async/0:816 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
async/0       D c02f4c54     0   816      2 0x00000000
[<c02f4c54>] (schedule+0x328/0x3c0) from [<c01cc628>] (ata_port_wait_eh+0x8c/0x114)
[<c01cc628>] (ata_port_wait_eh+0x8c/0x114) from [<c01c3610>] (async_port_probe+0xe4/0x11c)
[<c01c3610>] (async_port_probe+0xe4/0x11c) from [<c005cdd0>] (async_thread+0x124/0x300)
[<c005cdd0>] (async_thread+0x124/0x300) from [<c0056000>] (kthread+0x78/0x80)
[<c0056000>] (kthread+0x78/0x80) from [<c002c938>] (kernel_thread_exit+0x0/0x8)
INFO: task swapper:1 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
swapper       D c02f4c54     0     1      0 0x00000000
[<c02f4c54>] (schedule+0x328/0x3c0) from [<c005d134>] (async_synchronize_cookie_domain+0xe0/0x198)
[<c005d134>] (async_synchronize_cookie_domain+0xe0/0x198) from [<c005d210>] (async_synchronize_full+0x18/0x40)
[<c005d210>] (async_synchronize_full+0x18/0x40) from [<c01a0dc0>] (wait_for_device_probe+0x88/0x9c)
[<c01a0dc0>] (wait_for_device_probe+0x88/0x9c) from [<c0009114>] (prepare_namespace+0x38/0x1c8)
[<c0009114>] (prepare_namespace+0x38/0x1c8) from [<c0008484>] (kernel_init+0x118/0x160)
[<c0008484>] (kernel_init+0x118/0x160) from [<c002c938>] (kernel_thread_exit+0x0/0x8)
INFO: task async/0:816 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
async/0       D c02f4c54     0   816      2 0x00000000
[<c02f4c54>] (schedule+0x328/0x3c0) from [<c01cc628>] (ata_port_wait_eh+0x8c/0x114)
[<c01cc628>] (ata_port_wait_eh+0x8c/0x114) from [<c01c3610>] (async_port_probe+0xe4/0x11c)
[<c01c3610>] (async_port_probe+0xe4/0x11c) from [<c005cdd0>] (async_thread+0x124/0x300)
[<c005cdd0>] (async_thread+0x124/0x300) from [<c0056000>] (kthread+0x78/0x80)
[<c0056000>] (kthread+0x78/0x80) from [<c002c938>] (kernel_thread_exit+0x0/0x8)
INFO: task swapper:1 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
swapper       D c02f4c54     0     1      0 0x00000000
[<c02f4c54>] (schedule+0x328/0x3c0) from [<c005d134>] (async_synchronize_cookie_domain+0xe0/0x198)
[<c005d134>] (async_synchronize_cookie_domain+0xe0/0x198) from [<c005d210>] (async_synchronize_full+0x18/0x40)
[<c005d210>] (async_synchronize_full+0x18/0x40) from [<c01a0dc0>] (wait_for_device_probe+0x88/0x9c)
[<c01a0dc0>] (wait_for_device_probe+0x88/0x9c) from [<c0009114>] (prepare_namespace+0x38/0x1c8)
[<c0009114>] (prepare_namespace+0x38/0x1c8) from [<c0008484>] (kernel_init+0x118/0x160)
[<c0008484>] (kernel_init+0x118/0x160) from [<c002c938>] (kernel_thread_exit+0x0/0x8)
INFO: task async/0:816 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
async/0       D c02f4c54     0   816      2 0x00000000
[<c02f4c54>] (schedule+0x328/0x3c0) from [<c01cc628>] (ata_port_wait_eh+0x8c/0x114)
[<c01cc628>] (ata_port_wait_eh+0x8c/0x114) from [<c01c3610>] (async_port_probe+0xe4/0x11c)
[<c01c3610>] (async_port_probe+0xe4/0x11c) from [<c005cdd0>] (async_thread+0x124/0x300)
[<c005cdd0>] (async_thread+0x124/0x300) from [<c0056000>] (kthread+0x78/0x80)
[<c0056000>] (kthread+0x78/0x80) from [<c002c938>] (kernel_thread_exit+0x0/0x8)
...

I am using new SATA HDD (Seagate ST1000DM03) which works fine when connected to PC. I have tried to use a couple of another HDDs (both are WD) and there is no such problem. Any advice?

Thank you!


Replies (2)

RE: SATA HDD problem - Added by Michael Williamson over 12 years ago

Looks like the drive you are using is a SATA III (Gen3) Drive. There is an errata from TI for the OMAP-L138/AM-1808 that says that SATA III drives will work sync up with the controller on the part. They advise in the errata to use jumper settings to limit the capability/link speed of the drive to SATA II, if they are available.

Sorry.

-Mike

RE: SATA HDD problem - Added by Dmitry Gorulko over 12 years ago

Thanks, Mike. You are right.

    (1-2/2)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)