Ubuntu 中启动时出现错误:“ata1.00: 重新验证失败 (errno=-5)”

Nei*_*eil 5 linux boot ubuntu

有时,不确定地,当我启动时,我会收到此错误:

[   xx.xxxxxx] ata1.00: revalidation failed (errno=-5)
[   xx.xxxxxx] ata2.00: revalidation failed (errno=-5)
Run Code Online (Sandbox Code Playgroud)

其中x字符是一些数字。

有一个线程,ATA 重新验证失败。但当然,这只是一堆“我也是!” 帖子,因为它不是 Stack Overflow。

我该如何解决?

Nei*_*eil 2

以 root身份编辑/boot/grub/menu.lst文件并转到以下部分:

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# (some_options_already_here)
Run Code Online (Sandbox Code Playgroud)

除了只有单个哈希标记的部分之外'#',将这些选项添加到该行的末尾:

irqpoll all_generic_ide
Run Code Online (Sandbox Code Playgroud)

所以该部分看起来像这样:

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# (some_options_already_here) irqpoll all_generic_ide
Run Code Online (Sandbox Code Playgroud)

不要编辑文件kernel其余部分中的行,因为当 Ubuntu 自动更新内核列表时,它将从前面提到的部分中提取选项,并覆盖所有kernel行。