1 |
On Wednesday, August 05, 2015 5:34:43 PM Bryan Gardiner wrote: |
2 |
> Hello list, |
3 |
> |
4 |
> On my most recent update, I had some build failures that led me to |
5 |
> find that some files on my root partition have been corrupted. This |
6 |
> is a new Asus N550JK laptop, a mostly-stable amd64 install with |
7 |
> gentoo-sources-4.0.5 and ext4-root-in-LVM-in-LUKS-on-HDD, and Debian |
8 |
> lives in there too (no problems showed up verifying Debian's packages; |
9 |
> I installed Debian on Jul 1 and used it for a week before getting time |
10 |
> to set up Gentoo). |
11 |
> |
12 |
> These are the package merge times, package names, and files that I |
13 |
> found to be corrupted via qcheck (there were also a couple Python |
14 |
> headers that I fixed by rebuilding). They appear to be filled with |
15 |
> random data. The binpkg contents in /usr/portage/packages are okay, |
16 |
> so I don't know when the files were corrupted; their mtimes haven't |
17 |
> been updated since the packages were installed. |
18 |
> |
19 |
> Thu-Jul-30-22:40:23-2015 app-arch/p7zip-9.20.1-r5 |
20 |
/usr/lib64/p7zip/Lang/va.txt |
21 |
> Thu-Jul-30-22:40:23-2015 app-arch/p7zip-9.20.1-r5 |
22 |
/usr/lib64/p7zip/help/cmdline/switches/large_pages.htm |
23 |
> Sun-Jul-19-22:34:30-2015 dev-libs/libzip-1.0.1 |
24 |
/usr/share/man/man3/zip_error_get_sys_type.3.bz2 |
25 |
> Sun-Jul-26-22:35:28-2015 dev-python/pygments-2.0.1-r1 |
26 |
/usr/lib64/python2.7/site-packages/pygments/styles/pastie.pyc |
27 |
> Wed-Jul-08-23:34:56-2015 media-libs/tiff-4.0.3-r6 |
28 |
/usr/share/man/man3/TIFFGetField.3tiff.bz2 |
29 |
> Thu-Jul-30-10:05:31-2015 sci-mathematics/scilab-5.5.2 |
30 |
/usr/share/scilab/modules/compatibility_functions/macros/%b_l_s.bin |
31 |
> -(from-stage3-on-Jul-8)- sys-apps/acl-2.2.52-r1 |
32 |
/usr/share/man/man3/acl_set_file.3.bz2 |
33 |
> |
34 |
> I haven't had any unclean shutdowns, it looks like OpenRC is |
35 |
> unmounting things cleanly on shutdown, and suspend appears to work |
36 |
> fine. |
37 |
> |
38 |
> After I make a fresh backup of my files, how would you recommend |
39 |
> troubleshooting this? Run memtest or a hard drive tester? Since the |
40 |
> files seemingly corrupted themselves after install without being |
41 |
> touched, I'm highly suspicious of the hard drive, but would like to |
42 |
> rule other things out (if say for example that CONFIG_X86_INTEL_PSTATE |
43 |
> CPU clock booster is dangerous, or nvidia-drivers, or ...). Haven't |
44 |
> checked for corruption on /home yet. |
45 |
> |
46 |
> This is the disk: |
47 |
> |
48 |
> *-disk |
49 |
> description: ATA Disk |
50 |
> product: ST1000LM024 HN-M |
51 |
> vendor: Seagate |
52 |
> physical id: 0.0.0 |
53 |
> bus info: scsi@4:0.0.0 |
54 |
> logical name: /dev/sda |
55 |
> version: 0001 |
56 |
> size: 931GiB (1TB) |
57 |
> capabilities: gpt-1.00 partitioned partitioned:gpt |
58 |
> configuration: ansiversion=5 |
59 |
> guid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx sectorsize=4096 |
60 |
> |
61 |
> Thanks for any help you can provide, |
62 |
> Bryan |
63 |
|
64 |
You can use badblocks to rule out a bad drive (be sure to read the |
65 |
documentation first if you haven't). But I would guess that something LUKS |
66 |
related is more likely. There may be clues in your log files (probably around |
67 |
the time when you installed these packages). |
68 |
|
69 |
-- |
70 |
Fernando Rodriguez |