You are not logged in.

#1 2023-01-28 18:29:55

jbreese321
Member
Registered: 2022-01-24
Posts: 31

ERROR: pdc: reading /dev/sdc[Input/output error]

I removed my /dev/sdc disk a while back due to the disk being corrupted. Now when I run os-prober or grub-mkconfig I get the following message (os-prober) https://bpa.st/HP2HW  and (grub-mkconfig) https://bpa.st/F5F7A . I'm not sure what file I need to edit to remove /dev/sdc from my system. The output of my disk is listed in the following link: https://bpa.st/VEJEU

Offline

#2 2023-01-28 18:41:44

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: ERROR: pdc: reading /dev/sdc[Input/output error]

Is /dev/sdc still listed in your /etc/fstab?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2023-01-28 19:03:04

jbreese321
Member
Registered: 2022-01-24
Posts: 31

Re: ERROR: pdc: reading /dev/sdc[Input/output error]

I don't believe so.   https://bpa.st/2ZWRI

Offline

#4 2023-01-29 15:56:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 19,772

Re: ERROR: pdc: reading /dev/sdc[Input/output error]

sdc identifiers and friends are randomly assigned, likely some other device has taken the place of your former c and is generating the issues. Did you check the actual path/with fdisk -l or so which device that is now?

Offline

#5 2023-01-29 16:40:38

jbreese321
Member
Registered: 2022-01-24
Posts: 31

Re: ERROR: pdc: reading /dev/sdc[Input/output error]

I'm not sure what you're asking and i'm not sure if this is the right command to run, but when I run fdisk -l /dev/sdc I get the following message

fdisk: cannot open /dev/sdc: Input/output error 

Offline

#6 2023-01-29 16:56:53

seth
Member
Registered: 2012-09-03
Posts: 42,636

Re: ERROR: pdc: reading /dev/sdc[Input/output error]

Found Windows Boot Manager on /dev/sdd1@/efi/Microsoft/Boot/bootmgfw.efi

Since d comes after c, something™ will be on sdc.
Please post a complete system journal

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Online

#7 2023-01-29 17:59:44

jbreese321
Member
Registered: 2022-01-24
Posts: 31

Re: ERROR: pdc: reading /dev/sdc[Input/output error]

Offline

#8 2023-01-29 19:03:11

seth
Member
Registered: 2012-09-03
Posts: 42,636

Re: ERROR: pdc: reading /dev/sdc[Input/output error]

Jan 28 11:15:22 arch-pc kernel: scsi 2:0:0:0: Direct-Access     ATA      ST3000NM0033     SN04 PQ: 0 ANSI: 5
Jan 28 11:15:22 arch-pc kernel: sd 2:0:0:0: [sdc] 8089950 512-byte logical blocks: (4.14 GB/3.86 GiB)
Jan 28 11:15:22 arch-pc kernel: sd 2:0:0:0: [sdc] Write Protect is off
Jan 28 11:15:22 arch-pc kernel: sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
Jan 28 11:15:22 arch-pc kernel: sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan 28 11:15:22 arch-pc kernel: sd 2:0:0:0: [sdc] Preferred minimum I/O size 512 bytes
Jan 28 11:15:22 arch-pc kernel: ata3.00: Read log 0x10 page 0x00 failed, Emask 0x1
Jan 28 11:15:22 arch-pc kernel: ata3: failed to read log page 10h (errno=-5)
Jan 28 11:15:22 arch-pc kernel: ata3.00: exception Emask 0x1 SAct 0x4000 SErr 0x0 action 0x0
Jan 28 11:15:22 arch-pc kernel: ata3.00: irq_stat 0x40000001
Jan 28 11:15:22 arch-pc kernel: ata3.00: failed command: READ FPDMA QUEUED
Jan 28 11:15:22 arch-pc kernel: ata3.00: cmd 60/08:70:00:00:00/00:00:00:00:00/40 tag 14 ncq dma 4096 in
                                         res 51/04:70:00:00:00/00:00:00:00:00/40 Emask 0x1 (device error)
Jan 28 11:15:22 arch-pc kernel: ata3.00: status: { DRDY ERR }
Jan 28 11:15:22 arch-pc kernel: ata3.00: error: { ABRT }
Jan 28 11:15:22 arch-pc kernel: ata3.00: configured for UDMA/133

ST3000NM0033 is a Seagate Constellation ES.3 SATA III 3TB, I'd check the https://wiki.archlinux.org/title/SMART data on that …

Online

#9 2023-01-29 19:26:10

jbreese321
Member
Registered: 2022-01-24
Posts: 31

Re: ERROR: pdc: reading /dev/sdc[Input/output error]

Thanks Seth. I'll take a look at smart.

Offline

#10 2023-01-30 02:01:52

jbreese321
Member
Registered: 2022-01-24
Posts: 31

Re: ERROR: pdc: reading /dev/sdc[Input/output error]

I ran the smart tests and I got the following results

 smartctl -H /dev/sda  === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED 

   smartctl -l selftest /dev/sda 

  https://bpa.st/636IY   

  smartctl -a /dev/sda 

https://bpa.st/BPWIS

Offline

#11 2023-01-30 07:35:27

seth
Member
Registered: 2012-09-03
Posts: 42,636

Re: ERROR: pdc: reading /dev/sdc[Input/output error]

Why do we care about sda? The problem-drive is sdc.
256x256bb.jpg

Online

#12 2023-01-31 02:26:03

jbreese321
Member
Registered: 2022-01-24
Posts: 31

Re: ERROR: pdc: reading /dev/sdc[Input/output error]

When I run

 smartctl -t long /dev/sdc 

I get the following error message:

 Read SMART Data failed: scsi error badly formed scsi parameters 

Offline

#13 2023-01-31 08:25:12

seth
Member
Registered: 2012-09-03
Posts: 42,636

Re: ERROR: pdc: reading /dev/sdc[Input/output error]

And also an error in dmesg?
(You can "dmesg -w" to track the ringbuffer, then call smartctl in a different terminal)
Sounds like the drive is toast, though.

Online

#14 2023-02-02 01:58:12

jbreese321
Member
Registered: 2022-01-24
Posts: 31

Re: ERROR: pdc: reading /dev/sdc[Input/output error]

Ok. Thanks again for your help!

Offline

Board footer

Powered by FluxBB