반응형
Notice
Recent Posts
Recent Comments
Link
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Archives
Today
Total
관리 메뉴

/var/log/messages

dmesg가 출력할 수 있는 메세지 종류 - hard resetting link 본문

SUSE

dmesg가 출력할 수 있는 메세지 종류 - hard resetting link

로만로만 2024. 4. 14. 19:05
반응형

이 메시지는 주로 SATA 연결에 문제가 있을 때 나타납니다.

 

SATA 케이블이란?

SATA(시리얼 ATA)는 컴퓨터의 저장 장치와 메인보드를 연결하는 표준 인터페이스입니다. 기존의 병렬 ATA(PATA)보다 빠른 데이터 전송 속도를 제공하며, 더 얇고 유연한 케이블을 사용하여 컴퓨터 내부의 공간 활용도를 높입니다. SATA는 데이터를 직렬 방식으로 전송하기 때문에 더 효율적이며, 현재 대부분의 하드 드라이브와 SSD에서 사용되고 있습니다. 이 이미지는 SATA 케이블이 디스크와 메인 보드를 연결한 사례입니다.

 

https://sports.donga.com/it/article/all/20111122/42066066/1

 

이 에러가 나타나는 경우는 SATA 케이블 자체 문제, 드라이브 식별 실패, SATA 링크 속도 설정 등등 여러 경우에서 에러가 발생할 수 있습니다.

 

예시:
ata2.00: exception Emask 0x0 SAct 0x2 SErr 0x0 action 0x6 frozen

ata2.00: cmd 60/48:08:6f:13:3a/00:00:01:00:00/40 tag 1 ncq 36864 in

res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)

ata2.00: status: { DRDY }

ata2: hard resetting link

ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

ata2.00: configured for UDMA/133

ata2: EH complete

SCSI device sdb: 490350672 512-byte hdwr sectors (251060 MB)

sdb: Write Protect is off

sdb: Mode Sense: 00 3a 00 00

SCSI device sdb: drive cache: write back

 

ATA (Advanced Technology Attachment)

ATA는 스토리지 장치를 컴퓨터 시스템에 연결하기 위한 표준 인터페이스입니다.

이 로그 메시지는 ATA 장치(일반적으로 하드 드라이브나 SSD)와의 통신 문제를 나타냅니다. 특히, 장치가 명령을 완료하지 못하고 타임아웃(timeout)이 발생하여 시스템이 해당 SATA 링크를 재설정하려고 시도한 상황을 보여줍니다. 문제 해결을 위해 구체적이고 단계별로 접근하는 것이 중요합니다.

 

DRDY ERR:

DRDYDevice Ready의 약자로, 하드웨어 장치가 데이터 전송을 위해 준비되었음을 나타내는 신호입니다

이 메시지는 주로 디스크 읽기/쓰기 작업 중에 문제가 발생했음을 나타냅니다.

 

예시:

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:40:00:09:41/00:05:16:00:00/e0 tag 21 dma 688128 out

res 41/10:40:00:09:41/00:05:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:c0:40:0e:41/00:02:16:00:00/e0 tag 15 dma 360448 out

res 41/10:c0:40:0e:41/00:02:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:40:00:11:41/00:05:16:00:00/e0 tag 31 dma 688128 out

res 41/10:40:00:11:41/00:05:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:40:00:09:41/00:05:16:00:00/e0 tag 7 dma 688128 out

res 41/10:40:00:09:41/00:05:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:c0:40:0e:41/00:02:16:00:00/e0 tag 15 dma 360448 out

res 41/10:c0:40:0e:41/00:02:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:40:00:11:41/00:05:16:00:00/e0 tag 23 dma 688128 out

res 41/10:40:00:11:41/00:05:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:40:00:09:41/00:05:16:00:00/e0 tag 0 dma 688128 out

res 41/10:40:00:09:41/00:05:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:c0:40:0e:41/00:02:16:00:00/e0 tag 8 dma 360448 out

res 41/10:c0:40:0e:41/00:02:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:40:00:11:41/00:05:16:00:00/e0 tag 16 dma 688128 out

res 41/10:40:00:11:41/00:05:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:40:00:09:41/00:05:16:00:00/e0 tag 31 dma 688128 out

res 41/10:40:00:09:41/00:05:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:c0:40:0e:41/00:02:16:00:00/e0 tag 7 dma 360448 out

res 41/10:c0:40:0e:41/00:02:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:40:00:11:41/00:05:16:00:00/e0 tag 17 dma 688128 out

res 41/10:40:00:11:41/00:05:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:40:00:09:41/00:05:16:00:00/e0 tag 25 dma 688128 out

res 41/10:40:00:09:41/00:05:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:c0:40:0e:41/00:02:16:00:00/e0 tag 2 dma 360448 out

res 41/10:c0:40:0e:41/00:02:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:40:00:11:41/00:05:16:00:00/e0 tag 10 dma 688128 out

res 41/10:40:00:11:41/00:05:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:40:00:09:41/00:05:16:00:00/e0 tag 18 dma 688128 out

res 41/10:40:00:09:41/00:05:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] sd 3:0:0:0: [sdb] tag#18 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE

[Mon May 10 20:37:04 2021] sd 3:0:0:0: [sdb] tag#18 Sense Key : Illegal Request [current]

[Mon May 10 20:37:04 2021] sd 3:0:0:0: [sdb] tag#18 Add. Sense: Logical block address out of range

[Mon May 10 20:37:04 2021] sd 3:0:0:0: [sdb] tag#18 CDB: Write(10) 2a 00 16 41 09 00 00 05 40 00

[Mon May 10 20:37:04 2021] blk_update_request: I/O error, dev sdb, sector 373360896 op 0x1:(WRITE) flags 0x4000 phys_seg 168 prio class 0

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:c0:40:0e:41/00:02:16:00:00/e0 tag 1 dma 360448 out

res 41/10:c0:40:0e:41/00:02:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] sd 3:0:0:0: [sdb] tag#1 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE

[Mon May 10 20:37:04 2021] sd 3:0:0:0: [sdb] tag#1 Sense Key : Illegal Request [current]

[Mon May 10 20:37:04 2021] sd 3:0:0:0: [sdb] tag#1 Add. Sense: Logical block address out of range

[Mon May 10 20:37:04 2021] sd 3:0:0:0: [sdb] tag#1 CDB: Write(10) 2a 00 16 41 0e 40 00 02 c0 00

[Mon May 10 20:37:04 2021] blk_update_request: I/O error, dev sdb, sector 373362240 op 0x1:(WRITE) flags 0x0 phys_seg 88 prio class 0

[Mon May 10 20:37:04 2021] EXT4-fs warning (device sdb1): ext4_end_bio:315: I/O error 10 writing to inode 10095089 (offset 8388608 size 1871872 starting block 46670368)

[Mon May 10 20:37:04 2021] Buffer I/O error on device sdb1, logical block 46669856

[Mon May 10 20:37:04 2021] Buffer I/O error on device sdb1, logical block 46669857

[Mon May 10 20:37:04 2021] Buffer I/O error on device sdb1, logical block 46669858

[Mon May 10 20:37:04 2021] Buffer I/O error on device sdb1, logical block 46669859

[Mon May 10 20:37:04 2021] Buffer I/O error on device sdb1, logical block 46669860

[Mon May 10 20:37:04 2021] Buffer I/O error on device sdb1, logical block 46669861

[Mon May 10 20:37:04 2021] Buffer I/O error on device sdb1, logical block 46669862

[Mon May 10 20:37:04 2021] Buffer I/O error on device sdb1, logical block 46669863

[Mon May 10 20:37:04 2021] Buffer I/O error on device sdb1, logical block 46669864

[Mon May 10 20:37:04 2021] Buffer I/O error on device sdb1, logical block 46669865

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:40:00:11:41/00:05:16:00:00/e0 tag 7 dma 688128 out

res 41/10:40:00:11:41/00:05:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] sd 3:0:0:0: [sdb] tag#7 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE

[Mon May 10 20:37:04 2021] sd 3:0:0:0: [sdb] tag#7 Sense Key : Illegal Request [current]

[Mon May 10 20:37:04 2021] sd 3:0:0:0: [sdb] tag#7 Add. Sense: Logical block address out of range

[Mon May 10 20:37:04 2021] sd 3:0:0:0: [sdb] tag#7 CDB: Write(10) 2a 00 16 41 11 00 00 05 40 00

[Mon May 10 20:37:04 2021] blk_update_request: I/O error, dev sdb, sector 373362944 op 0x1:(WRITE) flags 0x4000 phys_seg 168 prio class 0

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:04 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:04 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:04 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:04 2021] ata4.00: cmd 35/00:08:40:16:41/00:01:16:00:00/e0 tag 13 dma 135168 out

res 41/10:08:40:16:41/00:01:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:04 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:04 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:04 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:04 2021] ata4: EH complete

[Mon May 10 20:37:05 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:05 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:05 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:05 2021] ata4.00: cmd 35/00:08:40:16:41/00:01:16:00:00/e0 tag 30 dma 135168 out

res 41/10:08:40:16:41/00:01:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:05 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:05 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:05 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:05 2021] ata4: EH complete

[Mon May 10 20:37:05 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:05 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:05 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:05 2021] ata4.00: cmd 35/00:08:40:16:41/00:01:16:00:00/e0 tag 5 dma 135168 out

res 41/10:08:40:16:41/00:01:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:05 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:05 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:05 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:05 2021] ata4: EH complete

[Mon May 10 20:37:05 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:05 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:05 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:05 2021] ata4.00: cmd 35/00:08:40:16:41/00:01:16:00:00/e0 tag 28 dma 135168 out

res 41/10:08:40:16:41/00:01:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:05 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:05 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:05 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:05 2021] ata4: EH complete

[Mon May 10 20:37:05 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:05 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:05 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:05 2021] ata4.00: cmd 35/00:08:40:16:41/00:01:16:00:00/e0 tag 19 dma 135168 out

res 41/10:08:40:16:41/00:01:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:05 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:05 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:05 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:05 2021] ata4: EH complete

[Mon May 10 20:37:05 2021] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0

[Mon May 10 20:37:05 2021] ata4.00: irq_stat 0x40000000

[Mon May 10 20:37:05 2021] ata4.00: failed command: WRITE DMA EXT

[Mon May 10 20:37:05 2021] ata4.00: cmd 35/00:08:40:16:41/00:01:16:00:00/e0 tag 11 dma 135168 out

res 41/10:08:40:16:41/00:01:16:00:00/e0 Emask 0x81 (invalid argument)

[Mon May 10 20:37:05 2021] ata4.00: status: { DRDY ERR }

[Mon May 10 20:37:05 2021] ata4.00: error: { IDNF }

[Mon May 10 20:37:05 2021] ata4.00: configured for UDMA/133

[Mon May 10 20:37:05 2021] sd 3:0:0:0: [sdb] tag#11 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE

[Mon May 10 20:37:05 2021] sd 3:0:0:0: [sdb] tag#11 Sense Key : Illegal Request [current]

[Mon May 10 20:37:05 2021] sd 3:0:0:0: [sdb] tag#11 Add. Sense: Logical block address out of range

[Mon May 10 20:37:05 2021] sd 3:0:0:0: [sdb] tag#11 CDB: Write(10) 2a 00 16 41 16 40 00 01 08 00

[Mon May 10 20:37:05 2021] blk_update_request: I/O error, dev sdb, sector 373364288 op 0x1:(WRITE) flags 0x0 phys_seg 33 prio class 0

[Mon May 10 20:37:05 2021] EXT4-fs warning (device sdb1): ext4_end_bio:315: I/O error 10 writing to inode 10095089 (offset 8388608 size 1871872 starting block 46670569)

[Mon May 10 20:37:05 2021] ata4: EH complete

[Mon May 10 20:37:05 2021] JBD2: Detected IO errors while flushing file data on sdb1-8

 

이 메시지를 이해하기 위해선 몇 가지의 용어 뜻을 알고 있어야 합니다.

 

DMA (Direct Memory Access)

DMA는 디바이스가 CPU의 개입 없이 직접 메모리에 접근할 수 있도록 하는 기술입니다. 이를 통해 데이터를 더 빠르게 전송할 수 있으며, CPU의 부하를 줄일 수 있습니다.

 

IDNF (Identifier Not Found): 요청된 데이터 블록이나 섹터를 디스크 상에서 찾을 수 없을 때 발생하는 오류 코드입니다.

 

UDMA (Ultra DMA): DMA 전송 모드의 한 형태로, 데이터 전송 속도를 향상시키는 기술입니다. UDMA/133은 초당 133MB의 데이터 전송 속도를 지원합니다.

 

Emask (Error Mask): 발생한 오류의 유형이나 성격을 나타내는 코드입니다. 예를 들어, 'invalid argument'는 전달된 명령이나 파라미터가 잘못되었음을 나타냅니다.

 

IRQ (Interrupt Request): 하드웨어 장치가 CPU의 주의를 요청할 때 사용하는 신호 또는 번호입니다. IRQ 상태는 장치가 시스템에 어떤 중단 요청을 보냈는지 나타냅니다.

 

EH (Error Handling): 시스템이 오류를 감지하고 처리하는 메커니즘입니다. 'EH complete'는 오류 처리 절차가 완료되었음을 나타냅니다.

 

CDB (Command Descriptor Block): SCSI(스몰 컴퓨터 시스템 인터페이스) 장치에 전송되는 명령 세트입니다. ATA 장치에서도 비슷한 개념이 사용되며, 장치에 수행할 작업을 알립니다.

 

Logical block address (LBA): 디스크 상의 데이터 블록 위치를 지정하는 방법입니다. 'Logical block address out of range' 오류는 요청된 블록 주소가 디스크의 범위를 벗어났음을 의미합니다.

 

로그 메시지 분석을 통해 확인할 수 있는 주요 문제는 하드 드라이브 또는 SSD와의 통신 문제, 특히 "WRITE DMA EXT" 명령 실행 중 "IDNF (Identifier Not Found)" 오류가 발생한 것입니다. 이 오류는 시스템이 디스크 상의 특정 블록에 액세스하려고 시도했지만 해당 블록을 찾을 수 없음을 나타냅니다. 일반적으로 이는 물리적 또는 논리적 디스크 손상과 관련이 있습니다.

 

해결방안은 smartctl, 파일시스템 검사, 디스크 포맷, sata 케이블 연결 확인, 디스크 교체가 있겠습니다.

'SUSE' 카테고리의 다른 글

dmesg 종류 - DRDY ERR  (0) 2024.04.25
aws에서 sles 설치하기  (0) 2024.04.16
dmesg가 출력할 수 있는 메세지 종류-I/O error  (2) 2024.04.02
dmesg가 출력할 수 있는 메시지 종류-Hardware Error  (0) 2024.04.02
4-way handshaking  (0) 2024.04.01