[SOLVED] Can't see HD after SATA III controller installation

Forum rules
Before you post please read this

[SOLVED] Can't see HD after SATA III controller installation

Postby powerhouse on Fri Jan 04, 2013 7:23 pm

Today I installed a Transcend SATA3 (6Gb/s) + USB-3 combo PCIe card and hooked up a SATAII drive to it (WD5000AAK). USB works just fine. Also, lspci shows the SATA controller of the card, an ASMedia Technology Inc. ASM1062 SATA controller.

The problem is, I can't find the damn drive - it doesn't show up anywhere: fdisk -l, gparted, df, you name it. It's like it's not there.

I'm running Linux Mint 13 Maya 64bit with Xen hypervisor 4.1.

Now, when I boot LM14 from a USB stick all drives - including the WD5000AAK mentioned above - are visible and I can mount the drive and all is fine (just copied the whole drive content to another drive).

I want to use that drive and the SATA PCIe controller card is of no use to me if I can't get it working.

Any ideas? Perhaps a missing driver (kernel module)?

The SATA controller chip is an ASM1062 (ASMedia). I have another one on board that I have passed through to the Windows VM, so that is not in use by Linux. There is also a PCI bridge on the card (PLX Technology, Inc. Device 8603), could that be a culprit too?

Code: Select all
lspci -vvv
...
0c:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01) (prog-if 01 [AHCI 1.0])
   Subsystem: ASUSTeK Computer Inc. Device 84b7
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0, Cache Line Size: 64 bytes
   Interrupt: pin A routed to IRQ 384
   Region 0: I/O ports at b050 [size=8]
   Region 1: I/O ports at b040 [size=4]
   Region 2: I/O ports at b030 [size=8]
   Region 3: I/O ports at b020 [size=4]
   Region 4: I/O ports at b000 [size=32]
   Region 5: Memory at fa400000 (32-bit, non-prefetchable) [size=512]
   Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit-
      Address: fee007d8  Data: 0000
   Capabilities: [78] Power Management version 3
      Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
      Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [80] Express (v2) Legacy Endpoint, MSI 00
      DevCap:   MaxPayload 512 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us
         ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
      DevCtl:   Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
         RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
         MaxPayload 128 bytes, MaxReadReq 512 bytes
      DevSta:   CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
      LnkCap:   Port #1, Speed 5GT/s, Width x1, ASPM unknown, Latency L0 <512ns, L1 <2us
         ClockPM- Surprise- LLActRep- BwNot-
      LnkCtl:   ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
         ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
      LnkSta:   Speed 5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
      DevCap2: Completion Timeout: Range ABC, TimeoutDis+
      DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
      LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
          Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
          Compliance De-emphasis: -6dB
      LnkSta2: Current De-emphasis Level: -6dB
   Capabilities: [100 v1] Virtual Channel
      Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
      Arb:   Fixed- WRR32- WRR64- WRR128-
      Ctrl:   ArbSelect=Fixed
      Status:   InProgress-
      VC0:   Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
         Arb:   Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
         Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
         Status:   NegoPending- InProgress-
   Kernel driver in use: ahci
...


and

Code: Select all
lshw -class storage -class disk
  *-storage               
       description: SATA controller
       product: ASM1062 Serial ATA Controller
       vendor: ASMedia Technology Inc.
       physical id: 0
       bus info: pci@0000:07:00.0
       version: 01
       width: 32 bits
       clock: 33MHz
       capabilities: storage msi pm pciexpress ahci_1.0 cap_list rom
       configuration: driver=pciback latency=0
       resources: irq:17 ioport:c050(size=8) ioport:c040(size=4) ioport:c030(size=8) ioport:c020(size=4) ioport:c000(size=32) memory:fa210000-fa2101ff memory:fa200000-fa20ffff
  *-storage
       description: SATA controller
       product: ASM1062 Serial ATA Controller
       vendor: ASMedia Technology Inc.
       physical id: 0
       bus info: pci@0000:0c:00.0
       version: 01
       width: 32 bits
       clock: 33MHz
       capabilities: storage msi pm pciexpress ahci_1.0 bus_master cap_list
       configuration: driver=ahci latency=0
       resources: irq:384 ioport:b050(size=8) ioport:b040(size=4) ioport:b030(size=8) ioport:b020(size=4) ioport:b000(size=32) memory:fa400000-fa4001ff
  *-storage
       description: SATA controller
       product: X79 series chipset 6-Port SATA AHCI Controller
       vendor: Intel Corporation
       physical id: 1f.2
       bus info: pci@0000:00:1f.2
       logical name: scsi0
       logical name: scsi1
       logical name: scsi2
       logical name: scsi3
       logical name: scsi4
       logical name: scsi5
       version: 05
       width: 32 bits
       clock: 66MHz
       capabilities: storage msi pm ahci_1.0 bus_master cap_list emulated
       configuration: driver=ahci latency=0
       resources: irq:382 ioport:f090(size=8) ioport:f080(size=4) ioport:f070(size=8) ioport:f060(size=4) ioport:f020(size=32) memory:fa945000-fa9457ff
     *-disk:0
          description: ATA Disk
          product: SanDisk SDSSDX12
          physical id: 0
          bus info: scsi@0:0.0.0
          logical name: /dev/sda
          version: R201
          serial: 120541400048
          size: 111GiB (120GB)
          capabilities: partitioned partitioned:dos
          configuration: ansiversion=5 signature=00045b4c
     *-disk:1
          description: ATA Disk
          product: WDC WD20EARX-00P
          vendor: Western Digital
          physical id: 1
          bus info: scsi@1:0.0.0
          logical name: /dev/sdb
          version: 51.0
          serial: WD-WMAZA7652495
          size: 1863GiB (2TB)
          capabilities: gpt-1.00 partitioned partitioned:gpt
          configuration: ansiversion=5 guid=8653b3b6-ead9-46f9-ad33-5db4b7dca052
     *-disk:2
          description: ATA Disk
          product: WDC WD20EARX-00P
          vendor: Western Digital
          physical id: 2
          bus info: scsi@2:0.0.0
          logical name: /dev/sdc
          version: 51.0
          serial: WD-WMAZA9049582
          size: 1863GiB (2TB)
          capabilities: gpt-1.00 partitioned partitioned:gpt
          configuration: ansiversion=5 guid=2fa8ff6b-e799-47d9-832b-efed2e81c437
     *-disk:3
          description: ATA Disk
          product: WDC WD20EARS-00M
          vendor: Western Digital
          physical id: 3
          bus info: scsi@3:0.0.0
          logical name: /dev/sdd
          version: 51.0
          serial: WD-WCAZA0368760
          size: 1863GiB (2TB)
          capabilities: gpt-1.00 partitioned partitioned:gpt
          configuration: ansiversion=5 guid=5adfb6c9-43db-4fec-9eb8-2bea93cd9f90
     *-disk:4
          description: ATA Disk
          product: WDC WD1001FALS-0
          vendor: Western Digital
          physical id: 4
          bus info: scsi@4:0.0.0
          logical name: /dev/sde
          version: 05.0
          serial: WD-WMATV1475532
          size: 931GiB (1TB)
          capabilities: gpt-1.00 partitioned partitioned:gpt
          configuration: ansiversion=5 guid=d10d627d-9e11-4d0b-b6c2-3e1fb5ae1edd
     *-cdrom
          description: DVD-RAM writer
          product: DVDRAM GH22NS70
          vendor: HL-DT-ST
          physical id: 5
          bus info: scsi@5:0.0.0
          logical name: /dev/cdrom
          logical name: /dev/cdrw
          logical name: /dev/dvd
          logical name: /dev/dvdrw
          logical name: /dev/sr0
          version: EX00
          capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
          configuration: ansiversion=5 status=nodisc
Last edited by powerhouse on Fri Jan 04, 2013 8:21 pm, edited 1 time in total.
Asus Sabertooth X79, i7 3930K CPU, 8x4GB Kingston DDR3 RAM, Noctua NH-D14 CPU cooler, Sapphire 7770 GPU, PNY Quadro 2000 GPU, Asus Xonar Essence STX, Sandisk Extreme 120GB SSD + various HD, Corsair 500R case, SeaSonic 660W Gold X PS
powerhouse
Level 5
Level 5
 
Posts: 579
Joined: Thu May 03, 2012 3:54 am

Linux Mint is funded by ads and donations.
 

Re: Can't see HD after SATA III controller installation

Postby powerhouse on Fri Jan 04, 2013 8:20 pm

I found a workaround. As mentioned in my first post, I already have one ASMedia AMS1062 SATA controller onboard which I had passed through for use with Windows. See here:
Code: Select all
lshw -class storage -class disk
  *-storage               
       description: SATA controller
       product: ASM1062 Serial ATA Controller
       vendor: ASMedia Technology Inc.
       physical id: 0
       bus info: pci@0000:07:00.0
       version: 01
       width: 32 bits
       clock: 33MHz
       capabilities: storage msi pm pciexpress ahci_1.0 cap_list rom
       configuration: driver=pciback latency=0
       resources: irq:17 ioport:c050(size=8) ioport:c040(size=4) ioport:c030(size=8) ioport:c020(size=4) ioport:c000(size=32) memory:fa210000-fa2101ff memory:fa200000-fa20ffff


So far I'm not using this controller under Windows - it's an external eSATA port that I hoped to be using for external backup drives.

I then disabled the pci-passthrough of that SATA controller and voila - the Transcend ASM1062 SATA controller card and the connected HDD are now recognized.

If only the onboard Marvell SATA controller was any good, it would have saved me a lot of trouble and money.

Anyway, I consider this kind of solved. But if anyone has a good idea to get both the HDD on one ASM1062 and the other ASM1062 passed through to Windows (using pciback, or stub), that would be great.
Asus Sabertooth X79, i7 3930K CPU, 8x4GB Kingston DDR3 RAM, Noctua NH-D14 CPU cooler, Sapphire 7770 GPU, PNY Quadro 2000 GPU, Asus Xonar Essence STX, Sandisk Extreme 120GB SSD + various HD, Corsair 500R case, SeaSonic 660W Gold X PS
powerhouse
Level 5
Level 5
 
Posts: 579
Joined: Thu May 03, 2012 3:54 am


Return to Mounting Partitions

Who is online

Users browsing this forum: No registered users and 2 guests