lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 25 Apr 2010 10:47:25 -0600
From:	Robert Hancock <hancockrwd@...il.com>
To:	Richard Genoud <richard.genoud@...il.com>
CC:	linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [bug ?] device reported invalid CHS sector 0 / NCQ disabled due
 to  excessive errors

On 04/25/2010 09:16 AM, Richard Genoud wrote:
> Hi !
>
> I've bought a new motherboard (asus P7P55D) and I'm seeing annoying
> errors about NCQ.
> To reproduce the problem, I compile a kernel with -j4.
> At some point, the compilation freezes, it seems that nothing is
> written to the hdds for something like 1 or 2 minutes.
> Then, all starts again and I can see in the logs a lot of "device
> reported invalid CHS sector 0".
> Sometimes, after that, NCQ is disabled.
>
> It happens on disks on my RAID 1 array (sda/sdb, ext4 formatted), but
> not on my third disk (sdc, ext3 formatted)
>
> kernel is from ubuntu (with the commit
> 8da854cb02156c90028233ae1e85ce46a1d3f82c (hpet erratum for intel P55))
> I tried with 2.6.34-rc5, and the problem is still there.
>
> Does this ring a bell ? (maybe it's not kernel related, and it's a
> problem with my HDDs...)

Usually this sort of thing is some kind of hardware problem - either a 
firmware bug in the drive, or else a SATA link communication problem 
like a bad cable, or the drives not getting clean power under load.

>
> Apr 21 19:20:03 desktop kernel: [  119.920702] ata2: hard resetting link
> Apr 21 19:20:03 desktop kernel: [  120.449693] ata2: SATA link up 3.0
> Gbps (SStatus 123 SControl 300)
> Apr 21 19:20:03 desktop kernel: [  120.451774] ata2.00: configured for UDMA/133
> Apr 21 19:20:03 desktop kernel: [  120.451782] ata2.00: device
> reported invalid CHS sector 0
> Apr 21 19:20:03 desktop kernel: [  120.451786] ata2.00: device
> reported invalid CHS sector 0
> Apr 21 19:20:03 desktop kernel: [  120.451790] ata2.00: device
> reported invalid CHS sector 0
> Apr 21 19:20:03 desktop kernel: [  120.451801] ata2: EH complete

The log is missing the detail messages indicating what actually happened 
- can you post the output from dmesg instead?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ