SATA disks disabled on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings,

This is my first post, after having been searching around. A major
source of information was this[1] thread but it's old and the OP
changed hardware.

This is mine:
* Asus M2nPV-VM motherboard
* BIOS version 5005 (this was the last version ever released)
* Phenom II X4 910e CPU
* 8GiB DDR2 RAM (dual-channel 800MHz)
* 4 SATA drives:
** 2 Toshiba DTACA100 (ports SATA1 and 3)
** 2 WD Reds WD10EFRX (ports SATA2 and 4)
* ATI/AMD Radeon HD 5450 on a PCIe slot

The toshibas comprise a RAID1, on top of which is LVM with Debian
stable Wheezy 7.5, linux 3.2.0-4-amd64. My boot parameters are:
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="iommu=noaperture acpi_enforce_resources=lax"
(no AGP and i'm trying to get lm-sensors to work)

The Reds have nothing yet (i'm RTFMing on ZFS) and they are the
problem: randomly, one or the other get disabled at boot.

>From lspci:
00:0d.0 IDE interface: NVIDIA Corporation MCP51 IDE (rev a1)
00:0e.0 IDE interface: NVIDIA Corporation MCP51 Serial ATA Controller (rev a1)
00:0f.0 IDE interface: NVIDIA Corporation MCP51 Serial ATA Controller (rev a1)

>From dmesg:
    # dmesg |grep ata4
    [    0.914589] ata4: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma
0xf308 irq 20
    [    2.356417] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [    2.364553] ata4.00: ATA-9: WDC WD10EFRX-68PJCN0, 01.01A01, max UDMA/133
    [    2.364556] ata4.00: 268435455 sectors, multi 1: LBA NCQ (depth 31/32)
    [    2.372541] ata4.00: n_sectors mismatch 268435455 != 1953525168
    [    2.372543] ata4.00: revalidation failed (errno=-19)
    [    2.372590] ata4: limiting SATA link speed to 1.5 Gbps
    [    2.372592] ata4.00: limiting speed to UDMA/133:PIO3
    [    7.824219] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [    7.833088] ata4.00: n_sectors mismatch 268435455 != 1953525168
    [    7.833091] ata4.00: revalidation failed (errno=-19)
    [    7.833135] ata4.00: disabled

It happens mostly with ata4 but it's also happened with ata2. The
issue seems to be this:
    [    2.364556] ata4.00: 268435455 sectors, multi 1: LBA NCQ (depth 31/32)
It should be LBA48 NCQ

These are the BIOS settings that seem relevant:

    extended IDE drive: auto
    access mode: auto
    SATA controller 1,2: enabled
    SATA DMA transfer: enabled
    SATA port 3,4: enabled
    SATA2 DMA transfer: enabled
    Plug'n'play OS: yes

I have no clue whether this is because of the drives (hope not!), if
so, how can i go around it (forcing LBA48)? Or a misconfiguration
somewhere. The disks
are new and pass SMART tests.

Could this be ACPI/APIC related? Something about sata_nv?

Any pointers for further debugging/solutions would be welcome.

Cheers,
Nuno

[1] http://lkml.iu.edu/hypermail/linux/kernel/0709.1/1614.html
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux