Skip to main content

Cara Mengetahui Hardisk ATA di DMESG

Bila anda mendapati output dmesg seperti dibawah ini

[74519.295544] ata4.00: exception Emask 0x10 SAct 0x100000 SErr 0x40d0202 action 0xe frozen
[74519.295796] ata4.00: irq_stat 0x00000040, connection status changed
[74519.295942] ata4: SError: { RecovComm Persist PHYRdyChg CommWake 10B8B DevExch }
[74519.296191] ata4.00: failed command: READ FPDMA QUEUED
[74519.296325] ata4.00: cmd 60/08:a0:a0:18:c3/00:00:ab:00:00/40 tag 20 ncq 4096 in
res 40/00:a0:a0:18:c3/00:00:ab:00:00/40 Emask 0x10 (ATA bus error)
[74519.296845] ata4.00: status: { DRDY }
[74519.296982] ata4: hard resetting link
[74523.999834] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[74524.002150] ata4.00: configured for UDMA/33
[74524.012770] ata4: EH complete

pasti bingung itu apaan ata4? itu hardisk yang mana (kalo pake beberapa hardisk yang pasti makin bingung). Pake lshw ngga nemu juga

$ lshw -class disk -short
H/W path       Device     Class       Description
=================================================
/0/1/0.0.0     /dev/sda   disk        2TB WDC WD20EZRX-00D
/0/2/0.0.0     /dev/sdb   disk        2TB ST2000DM001-1CH1
/0/3/0.0.0     /dev/sdc   disk        2TB WDC WD20EZRX-00D
/0/5/0.0.0     /dev/sdd   disk        256GB KingFast

Solusi

Biar ketauan itu hardisk yang mana parsing data dmesg

dmesg | grep ata4 | head -10

output perintah diatas

[    1.511420] ata4: SATA max UDMA/133 abar m1024@0xfcfffc00 port 0xfcfffd80 irq 22
[    1.971020] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.971807] ata4.00: ATA-9: ST2000DM001-1CH164, CC27, max UDMA/133[    1.971809] ata4.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    1.972649] ata4.00: configured for UDMA/133
[ 1737.793400] ata4.00: exception Emask 0x10 SAct 0x60000 SErr 0x40d0202 action 0xe frozen
[ 1737.793623] ata4.00: irq_stat 0x00000040, connection status changed
[ 1737.793740] ata4: SError: { RecovComm Persist PHYRdyChg CommWake 10B8B DevExch }
[ 1737.793959] ata4.00: failed command: READ FPDMA QUEUED
[ 1737.794077] ata4.00: cmd 60/08:88:b8:8a:c3/00:00:ab:00:00/40 tag 17 ncq 4096 in

baris ata4.00: ATA-9: ST2000DM001-1CH164, CC27, max UDMA/133 merupakan model dari hardisk yang digunakan, jadi bisa di bandingkan hasilnya dengan hasil perintah lshw -class disk -short, jadi hasilnya

/0/2/0.0.0     /dev/sdb   disk        2TB ST2000DM001-1CH1

tommy

Adi bekasta encari e, ja pe la lit renggetna.

Leave a Reply

Your email address will not be published. Required fields are marked *