我一启动就收到标题中提到的错误。
我有以下软件,如果您需要更多信息来解决问题,请告诉我:
- 操作系统:Ubuntu 22.04.3 LTS x86_64
- 内核:6.2.0-33-generic
我正在遵循这个解决方案,升级到 Ubuntu 20.04 后:“哦不!出了点问题”
所以我登录虚拟终端并输入
sudo apt-get update && sudo apt-get dist-upgrade
一旦开始安装/升级软件包,我就会收到以下错误
After this operation, 883 MB of additional disk space will be used. Do you want to continue? [Y/n] Y
Extracting templates from packages: 100%
Preconfiguring packages
[1213.587190] ata1.00: exception Emask 0x0 SAct 0x80000000 SErr 0x40000 action 0x0
[1213.589701] ata1.00: irq_stat 0x40000008
[1213.592140] atai: SError: Commake
[ 1213.594557] ata1.00: failed command: READ FPDMA QUEUED [1213.597034] ata1.00: cmd 60/08:18:08:70:17/00:00:dc:00:00/40 tag 31 ncq dma 4096 in
[1213.597034]
res 41/40:00:08:70:17/00:00:dc:00:00/40 Emask 0x409 (madia error) <F>
[1213.601848] ata1.00: status: { DRDY ERR} [ 1219.604282] ata1.00: error: UNC 1
[1213,640795] I/O error, dev sda, sector 3692523528 op 0x0: (READ) flags 0x0 phys_seg i prio class 2
[1216.327151] ata1.00: exception Emask 0x0 SAct 0x80 SErr 0x40000 action 0x0
[ 1216.329625] ata1.00: irq stat 0x40000008 (1216.332057] atai: SError: [ CommHake ]
[1216.334476] ata1.00: failed command: READ FPDMA QUEUED [1216.336844] ata1.00: cmd 60/08:38:08:70:17/00:00:dc:00:00/40 tag 7 ncq dme 4096 in
[1216.336844]
res 41/40:00:08:70:17/00:00:dc:00:00/40 Emask 0x409 (media error) <F>
[1216.341598 ] ata1.00: status: { DRDY ERR! }
1216.344000] ata1.00: error: UNC
1216.380814] I/O error, dev sda, sector 3692523528 op 0x0: (READ) flags 0x0 phys_seg 1 prio class 2
1219.067104] ata1.00: exception Emask 0x0 SAct 0x40100 SErr 0x40000 action 0x0
1219.069560] ata1.00: irq_stat 0x40000008 1219.071968] atai: SError: [ Commake 1
1219,074352] ata1.00: failed command: READ FPDMA QUEUED
1219.076716] ata1.00: cmd 60/08:40:08:70:17/00:00:dc:00:00/40 tag 8 ncq dma 4096 in
[1219.076716]
res 41/40:00:08:70:17/00:00:dc:00:00/40 Emask 0x409 (media error) <F>
[1219.081348] ata1.00: status: [ DRDY ERR] (1219.083638] ata1.00: error: [ UNC }
[1219.120304] I/O error, dev sda, sector 3692523528 op 0x0: (READ) flags 0x0 phys_seg 1 prio class 2 dpkg: unrecoverable fatal error, aborting:
Loading files list file for package linux-hue-6.2-headers-6.2.0-33': cannot read /var/lib/dpkg/info/Linux-hue-6.
E: Sub-process /usr/bin/dpkg returned an error code (2) saed@saad-notebook:"s
即使我登录后不做任何事情,几分钟后,终端上也会打印以下内容
[ 646.240540] ata1.00: exception Emask 0x0 SAct 0x8020 SErr 0x40000 action 0x6 frozen
[ 646.244406] ata1: SError: CommWake } 646.248330] ata1.00: failed command: READ FPDMA QUEUED
[ 646.252114] ata1.00: cmd 60/00:28:00:70:17/0a:00:dc:00:00/40 tag 5 ncq dma 1310720 in
[ 646.252114] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 646.259569] ata1.00: status: { DRDY }
[ 646.263201] ata1.00: failed command: WRITE FPDMA QUEUED
[ 646.266814] ata1.00: cmd 61/10:78:20:35:ec/00:00:aa:00:00/40 tag 15 ncq dma 8192 out
[ 646.266814] res 40/00:ff:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 646.273834] ata1.00: status: { DRDY }
[ 646.718963] I/O error, dev sda, sector 3692523520 op 0x0: (READ) flags 0x80700 phys_seg 20 prio class 2
[ 649.535092] ata1.00: exception Emask 0x0 SAct 0x20080 SErr 0x0 action 0x0
[ 649.538721] ata1.00: irq_stat 0x40000008
[ 649.542257] ata1.00: failed command: READ FPDMA QUEUED
[ 649.545688] ata1.00: cmd 60/08:38:08:70:17/00:00:dc:00:00/40 tag 7 ncq dma 4096 in
[ 649.545688] res 41/40:00:08:70:17/00:00:dc:00:00/40 Emask 0x409 (media error) <F>
[ 649.552459] ata1.00: status: { DRDY ERR }
[ 649.555843] ata1.00: error: { UNC }
[ 649.593183] I/O error, dev sda, sector 3692523528 op 0x0: (READ) flags 0x0 phys_seg 1 prio class 2
[ 652.341611] ata1.00: exception Emask 0x0 SAct 0x100900 SErr 0x40000 action 0x0
[ 652.344998] ata1.00: irq_stat 0x40000008
[ 652.348268] atai: SError: { CommWake }
[ 652.351506] ata1.00: failed command: READ FPDMA QUEUED
[ 652.354661] ata1.00: cmd 60/08:40:08:70:17/00:00:dc:00:00/40 tag 8 ncq dma 4096 in
[ 652.354661] res 41/40:00:08:70:17/00:00:dc:00:00/40 Emask 0x409 (media error) <F>
[ 652.360846] ata1.00: status: { DRDY ERR}
[ 652.363880] ata1.00: error: { UNC }
[ 652.401207] I/O error, dev sda, sector 3692523528 op 0x0: (READ) flags 0x0 phys_seg 1 prio class 2
ata1: serror: commwake
我还从上面的错误中搜索并应用了这些 ATA 错误消息是什么意思?,即禁用 NCQ。但这对我来说没有任何改变,所以我按照该帖子中的答案所建议的那样再次启用它。
请指导我如何解决这个问题,因为我不明白我遇到的错误。