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, 04 Jan 2009 19:03:23 +1000
From:	Adam Nielsen <a.nielsen@...kadi.net>
To:	Christoph Hellwig <hch@...radead.org>
CC:	LKML Mailinglist <linux-kernel@...r.kernel.org>
Subject: Re: XFS internal error xfs_da_do_buf(1) at line 2015 of file fs/xfs/xfs_da_btree.c

> This is a typical result of a power loss scenario with write caches
> enabled and without barriers.  Given that md can't pass through barriers
> did you disable the write caches on your disk?

No, I didn't realise I had to do that...in fact I didn't even realise SATA 
disks *had* write caches, I thought the cache was for reading only...

> Run xfs_repair over it to fix up the directory, and make sure to
> configure your disks properly so that it doesn't happen again..

Will do, thanks for the advice!  Is there any standard way to disable write 
caching on a SATA disk?  hdparm -W seems to do the trick, but then I can't run 
that until the system is up and running, leaving a small window of opportunity 
for something to go wrong.

Thanks again,
Adam.

--
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