hello last night my PC got DC'd from the power source and shut down suddenly as far as im aware it wasnt performing any updates or such, it refused to get past loading screen and wouldn't access ttyl, used a live USB to manually sudo fsck -f to fix the issues and it still wouldnt boot past loading screen or get to ttyl.
i can access grub screen and recovery i used systemd.unit=multi-user.target and it allowed me to access ttyl from there i tried to perform fsck and update but it wouldnt allow me to do anything because it says its in read only mode, tried to mount it to rw but its write protected same thing with recovery mode basically, recovery menu says its read/write however when i attempt to repair broken packages or anything it gives me read only errors
please help me get to the root of the issue using. dmesg in recovery mode gives me
[937256380] sd 0:0:0:0: (sda) tag#10 CDB: Read (10)28003869 1800000080
00
[937256381 ] print_req_error: 1/0 error, dev sda, sector 951711832
[937256417] ata1: EH complete
[940985080] ata1.00: exception Emask OxO SACE 0x200 SErr Ox0 action oxo
[940985083] ata1.00: Irg.stat 0x40000008
[940985087] ata1.00: failed command: READ FPDMA QUEUED
[940985103] ata1.00: cmd 60/80:48:00:f8:b9/00:00:38:00:00/40 tag 9 ncq dma 65
536 in
res 41/40:80:58:f8:b9/00:00:38:00:00/40 Emask Ox409 (med
la error) <F>
[940985104] ata1.00: status: ( DRDY ERR )
[940985105] ata1.00: error: { UNC )
[940988344] ata1.00: configured for UDMA/100
[ 940988357] sd 0:0:0:0: (sda) tag 19 FAILED Result: hostbyte:DID_OK driverbyte
=DRIVER_SENSE
[ 940988360 ] sd 0:0:0:0: (sdal tag 9 Sense Key : Medium Error (current)
[ 940988362] sd 0:0:0:0: (sda) tag 9 Add. Sense: Unrecovered read error - auto
reallocate falled
[940988365] sd 0:0:0:0: (sda) taga9 CDB: Read 10280038 b9 f8 00 00 00 80
00
[ 940988366]print_req_error: I/0 error, dev sda, sector 951711832
[940988403] ata1: EH complete
my laptop runs on radeon graphics and Intel i7 cpu
edit #1 : pictures of the drive's smart data https://imgur.com/a/GN5myU9
edit #2: after booting to my live usb and taking a picture of the drive's smart data, i preformed a manual fsck on said drive and shut down, then i proceeded to follow @heynnema 's instructions and disabled ncq which solved my problem permenantly :)
Disks
app, select SMART Data from the "hamburger" menu, take screenshot(s), and update your question, or post them to imgur.com and give me the URL. Do you have good backups? We may run a bad block test on the HDD (you don't have an SSD, correct?). Start comments to me with @heynnema or I may miss them.fsck
on the drive?