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

Bug#732939: linux-image-3.11-2-686-pae: Data corruption with ASMedia ASM1061 SATA IDE Controller in AHCI-Mode



Control: tag -1 moreinfo

On Sun, 2013-12-22 at 22:22 +0100, Daniel Koch wrote:
> Package: src:linux
> Version: 3.11.10-1
> Severity: critical
> Justification: causes serious data loss
> 
> Dear Maintainer,
> 
> As mentioned here
> http://www.linuxquestions.org/questions/linux-hardware-18/hard-drive-corruption-with-asm1062-sata-controller-4175469744/ by somebody else using the ASMedia in AHCI-Mode causes serious data corruption. Almost every mainboard should be configured using AHCI by default which makes this bug critical. 
> 
> I am currently facing this bug on my own. I replaced the mainboard in
> my NAS with an ASRock Z77 Pro4-M which has two SATA Ports using the
> asm1060 controller and was configured to use AHCI by the manufacture.
> After replacing the device i booted the system and everything looked
> fine. Some hours later i noticed the data corruption on the
> ext4-filesystem and i had to run fscks which took very long. The
> linux-raid device stores 12 TB and the system has 4 GB RAM which
> caused fsck to stop with " cannot allocate memory " so i had to
> started it again and again. I noticed that fsck was fixing the same
> inodes several timesy. After finding the threat on linuxquestions.org
> i set ACHI to IDE and fsck is now going forward and stopped to fix the
> same inodes again and again which makes me belive that the corruption
> has stopped. 
> Also i wrote files with the same content and created sha1sums of them
> which do match . I dont want to check if the would differ when using
> AHCI. 
[...]

Did the kernel log any I/O error messages (not from ext4) while writing
through the ASRock controller in AHCI mode?

Do you have a single hard drive connected to each port or are you using
a port multiplier?

Ben.

-- 
Ben Hutchings
Unix is many things to many people,
but it's never been everything to anybody.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: