Re: sata device failed to IDENTIFY...
On Mon, Mar 23, 2009 at 3:07 AM, rizwan ahmad rizwan...@gmail.com wrote: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) ata1.00: qc timeout (cmd 0xec) ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) I'm seeing the same exact thing on a Freescale MPC8610 HPCD board. This happens only on 2.6.30. It works fine on 2.6.29. Unfortunately, my rootfs is on my SATA drive, so it will be a bit difficult to boot and get an lspci output. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
Re: sata device failed to IDENTIFY...
i am using VIA VT6421 PCI Cards and data types in the sata driver which is sata_via.c is okey i mean it is unsigned long long and interrupt number is also okey. -- View this message in context: http://www.nabble.com/sata-device-failed-to-IDENTIFY...-tp22655709p22758040.html Sent from the linuxppc-dev mailing list archive at Nabble.com. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
RE: sata device failed to IDENTIFY...
What PCI Sata card is this ? Is you device tree entrees are correct for PCI ? Especially the interrupt numbers etc ? Also check your ioremap() function in the SATA driver. Make sure that data type of physical address in the driver using is unsigned long long instead of unsigned long -Original Message- From: linuxppc-dev-bounces+tmarri=amcc@ozlabs.org [mailto:linuxppc-dev-bounces+tmarri=amcc@ozlabs.org] On Behalf Of rizwan ahmad Sent: Thursday, March 26, 2009 6:57 AM To: linuxppc-dev@ozlabs.org Subject: Re: sata device failed to IDENTIFY... output of lspci -vv -bash-3.2# lspci -vv 00:0c.0 Class 0c03: Unknown device 1106:3038 (rev 62) Subsystem: Unknown device 1106:3038 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Ste-Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbor-Latency: 128 Interrupt: pin A routed to IRQ 25 Region 4: I/O ports at ffe0 [size=32] Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3)Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:0c.1 Class 0c03: Unknown device 1106:3038 (rev 62) Subsystem: Unknown device 1106:3038 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Ste-Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbor-Latency: 128 Interrupt: pin B routed to IRQ 25 Region 4: I/O ports at ffc0 [size=32] Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3)Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:0c.2 Class 0c03: Unknown device 1106:3104 (rev 65) (prog-if 20) Subsystem: Unknown device 1106:3104 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Ste-Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbor-Latency: 128 Interrupt: pin C routed to IRQ 25 Region 0: Memory at af00 (32-bit, non-prefetchable) [size=256] Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3)Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:0c.3 Class 0104: Unknown device 1106:3249 (rev 50) Subsystem: Unknown device 1106:3249 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Ste-Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbor-Latency: 128 Interrupt: pin A routed to IRQ 25 Region 0: I/O ports at ffb0 [size=16] Region 1: I/O ports at ffa0 [size=16] Region 2: I/O ports at ff90 [size=16] Region 3: I/O ports at ff80 [size=16] Region 4: I/O ports at ff60 [size=32] Region 5: I/O ports at fe00 [size=256] Expansion ROM at ignored [disabled] Capabilities: [e0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3ho)Status: D0 PME-Enable- DSel=0 DScale=0 PME- -bash-3.2# -- View this message in context: http://www.nabble.com/sata-device-failed-to-IDENTIFY...-tp22655709p22722 574.html Sent from the linuxppc-dev mailing list archive at Nabble.com. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
Re: sata device failed to IDENTIFY...
output of lspci -vv -bash-3.2# lspci -vv 00:0c.0 Class 0c03: Unknown device 1106:3038 (rev 62) Subsystem: Unknown device 1106:3038 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Ste-Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbor-Latency: 128 Interrupt: pin A routed to IRQ 25 Region 4: I/O ports at ffe0 [size=32] Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3)Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:0c.1 Class 0c03: Unknown device 1106:3038 (rev 62) Subsystem: Unknown device 1106:3038 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Ste-Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbor-Latency: 128 Interrupt: pin B routed to IRQ 25 Region 4: I/O ports at ffc0 [size=32] Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3)Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:0c.2 Class 0c03: Unknown device 1106:3104 (rev 65) (prog-if 20) Subsystem: Unknown device 1106:3104 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Ste-Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbor-Latency: 128 Interrupt: pin C routed to IRQ 25 Region 0: Memory at af00 (32-bit, non-prefetchable) [size=256] Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3)Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:0c.3 Class 0104: Unknown device 1106:3249 (rev 50) Subsystem: Unknown device 1106:3249 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Ste-Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbor-Latency: 128 Interrupt: pin A routed to IRQ 25 Region 0: I/O ports at ffb0 [size=16] Region 1: I/O ports at ffa0 [size=16] Region 2: I/O ports at ff90 [size=16] Region 3: I/O ports at ff80 [size=16] Region 4: I/O ports at ff60 [size=32] Region 5: I/O ports at fe00 [size=256] Expansion ROM at ignored [disabled] Capabilities: [e0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3ho)Status: D0 PME-Enable- DSel=0 DScale=0 PME- -bash-3.2# -- View this message in context: http://www.nabble.com/sata-device-failed-to-IDENTIFY...-tp22655709p22722574.html Sent from the linuxppc-dev mailing list archive at Nabble.com. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
RE: sata device failed to IDENTIFY...
Can you post your lspci -vvv dump . From: linuxppc-dev-bounces+tmarri=amcc@ozlabs.org on behalf of rizwan ahmad Sent: Mon 3/23/2009 1:07 AM To: linuxppc-dev@ozlabs.org Subject: sata device failed to IDENTIFY... BM/AMCC PowerPC 440 GR Rev. B Board: AMCC YELLOWSTONE VCO: 1066 MHz CPU: 533 MHz PLB: 133 MHz OPB: 66 MHz PER: 66 MHz PCI: 33 MHz I2C: ready DRAM: 256 MB FLASH: 32 MB PCI: Bus Dev VenId DevId Class Int 00 0c 1106 3038 0c03 00 00 0c 1106 3038 0c03 00 00 0c 1106 3104 0c03 00 00 0c 1106 3249 0104 0e In:serial Out: serial Err: serial Net: ppc_440x_eth0, ppc_440x_eth1 Hit any key to stop autoboot: 0 = tftp 20 z2 Waiting for PHY auto negotiation to complete.. done Using ppc_440x_eth0 device TFTP from server 192.168.0.100; our IP address is 192.168.0.101 Filename 'z2'. Load address: 0x20 Loading: T # # # done Bytes transferred = 1283382 (139536 hex) = bootm ## Booting image at 0020 ... Image Name: Linux-2.6.19 Created: 2009-03-22 9:52:51 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size:1283318 Bytes = 1.2 MB Load Address: Entry Point: Verifying Checksum ... OK Uncompressing Kernel Image ... OK Linux version 2.6.19 (r...@debian) (gcc version 4.2.2) #10 Sun Mar 22 02:51:52 9AMCC PowerPC 440GR Yellowstone Platform Zone PFN ranges: DMA 0 -65536 Normal 65536 -65536 early_node_map[1] active PFN ranges 0:0 -65536 Built 1 zonelists. Total pages: 65024 Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.100:/opt/eldk4.2/ppc_4xlMisrouted IRQ fixup and polling support enabled This may significantly impact system performance PID hash table entries: 1024 (order: 10, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 257024k available (1940k kernel code, 668k data, 148k init, 0k highmem) Mount-cache hash table entries: 512 NET: Registered protocol family 16 PCI: Probing PCI hardware SCSI subsystem initialized NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 8192 bind 4096) TCP reno registered io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled serial8250: ttyS0 at MMIO 0x0 (irq = 0) is a 16550A serial8250: ttyS1 at MMIO 0x0 (irq = 1) is a 16550A RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize PPC 4xx OCP EMAC driver, version 3.54 mal0: initialized, 4 TX channels, 2 RX channels zmii0: bridge in RMII mode eth0: emac0, MAC 00:10:ec:00:89:89 eth0: found Generic MII PHY (0x01) eth1: emac1, MAC 00:10:ec:80:89:89 eth1: found Generic MII PHY (0x03) in init_module Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx sata_via :00:0c.3: routed to hard irq line 9 ata1: SATA max UDMA/133 cmd 0xFFB0 ctl 0xFFBA bmdma 0xFF60 irq 25 ata2: SATA max UDMA/133 cmd 0xFFA0 ctl 0xFFAA bmdma 0xFF68 irq 25 scsi0 : sata_via ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) ata1.00: qc timeout (cmd 0xec) ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) ata1.00: qc timeout (cmd 0xec) ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) ata1.00: qc timeout (cmd 0xec) in err_mask becoz of exec ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) scsi1 : sata_via ata2: SATA link down (SStatus 0 SControl 310) ATA: abnormal status 0x7F on port 0xFFA7 TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 eth0: link is up, 100 FDX, pause enabled IP-Config: Complete: device=eth0, addr=192.168.0.101, mask=255.255.0.0, gw=192.168.0.100, host=ppc, domain=, nis-domain=(none), bootserver=192.168.0.100, rootserver=192.168.0.100, rootpath= Looking up port of RPC 13/2 on 192.168.0.100 Looking up port of RPC 15/1 on 192.168.0.100 VFS: Mounted root (nfs filesystem). Freeing unused kernel memory: 148k init INIT: version 2.86 booting Welcome to DENX Embedded Linux Environment