1 |
Adam Carter wrote: |
2 |
> On Mon, Jul 22, 2019 at 7:47 PM <pat@××××××××.org <mailto:pat@××××××××.org>> wrote: |
3 |
> |
4 |
> Hi, |
5 |
> |
6 |
> Since last week my gentoo installation start to randomly freeze. The |
7 |
> first I've detected was during huge disk usage, another was during |
8 |
> hibernation, etc. I think it might be related to HDD problems, but I |
9 |
> want to be sure. In kernel log there are some errors, but I'm not able |
10 |
> to decide if those causes the freezing or not (I've saw such messages |
11 |
> earlier too, so I'm not sure). So, is there a good diagnostic tool to |
12 |
> check HW and mainly HDD? What I need to decide is if buying new HDD will |
13 |
> fix the issue or not |
14 |
> |
15 |
> |
16 |
> Install smartmontools then |
17 |
> |
18 |
> # smartctl -a /dev/sda |
19 |
> |
20 |
> |
21 |
|
22 |
I think Adam answered the OP but I just wanted to understand the kernel log: |
23 |
|
24 |
- the errors are from device pcieport 0000:00:1c.0 |
25 |
- according to "pci 0000:00:1c.0: [8086:9d14] type 01 class 0x060400", this is should be a |
26 |
PCI bridge. |
27 |
|
28 |
So the error may come from the bridge itself or from a device attached to the bridge, I |
29 |
suppose? |
30 |
|
31 |
- the disk is attached to ata1: "ata1.00: ATA-10: ST2000LM015-2E8174, SDM1, max UDMA/133" |
32 |
- ata1 is "ata1: SATA max UDMA/133 abar m2048@0xd1133000 port 0xd1133100 irq 122" |
33 |
|
34 |
Is there a way to understand where the ata1 is physically attached to? |
35 |
In other words, can one tell from the log if the error comes from the ata1 device or |
36 |
something else? |
37 |
|
38 |
thanks, |
39 |
|
40 |
raffaele |