`
dearsuper
  • 浏览: 68612 次
  • 性别: Icon_minigender_1
  • 来自: 长沙
最近访客 更多访客>>
社区版块
存档分类
最新评论

解决drive_cmd: status=0x51问题

阅读更多
在一台机器上安装centos,带的是IDE的宽排线的并口硬盘。

安装好后,能运行。装了数据库,丢失了数据。
系统启动时,报了一系列这样的错误:
Buffer I/O error on device hda2
Buffer I/O error on device dm-1
后面还附带了某个扇区的丢失。

用命令:dmesg查看,最下面有:
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04 { DriveStatusError }
ide: failed opcode was: 0xb0

于是google一番,有几个判断,1、数据排线问题;2、硬盘坏扇道了。
换了两根新的排线,测试,问题依旧。
换了一个新硬盘测试,问题依旧。

又google一番,国内国外,英文论坛,百够不得其解。
回家,睡觉,想...

是否BIOS里面某项默认的设置不对?
第二天测试BIOS关于硬盘这块设置的更改。启动时发现屏幕上报了个错误:
S.M.A.R.T  capability disabled
于是在Advanced BIOS Features里找到这项打开之,呵呵,要下拉窗口才看得到。bios里下拉,头一次。难怪有的老外讲找不到这项,还以为主板没有。

重启,再dmesg,正常!

附:HDD S.M.A.R.T. Capability(硬盘S.M.A.R.T.能力)
选项:Enabled,Disabled
SMART(Self-Monitoring, Analysis and Reporting Technology,自动监测、分析和报告技术)是一种硬盘保护技术,开启后能实时的监控硬盘的工作状态,报告应该可能会出现的问题隐患。打开这项目有利于提高对硬盘的保护,提高系统的可靠性。
1
2
分享到:
评论

相关推荐

    linux全志R16的linux系统编译的资料_20170502_1655.7z

    全志R16平台编译linux系统V1.0.txt 2017/4/11 13:36 (编译请使用编译android的lichee的选项编译生成的.config文件,不然直接编译会报错!!...rootroot@cm-System-Product-Name:/home/wwt/linux_r16$ tar zxvf ...

    8-07-14_MegaCLI for linux_windows

    SCGCQ00531245 (ENHREQ) - Display the NCQ enabled/disabled status of every SATA disk drive in output of StorCLI and MegaCLI SCGCQ00552754 (ENHREQ) - RAID CLI to display the Patrol Read Start Time SCGCQ...

    通讯协议规范-命令包格式

    比如,“获取Launch status”的命令码为`0x00`,而其对应的驱动码则根据操作的不同而有所变化。这种结构化的方式使得协议更为紧凑且易于管理。 ##### 2.4 固件DDR区域划分 固件的DDR区域被划分为多个部分,每个...

    LPK专杀C语言源码

    SERVICE_STATUS status; ControlService(hService, SERVICE_CONTROL_STOP, &status;); BOOL bDelete = DeleteService(hService); CloseServiceHandle(hService); CloseServiceHandle(hSCM); if (bDelete && ...

    grub4dos-V0.4.6a-2017-02-04更新

    解决了 reboot.pro 报告的分区 ID 为 00 的分区不可被识别出来、无法访问的问题。 2.解决了 chainloader --raw 不能加载硬盘 BPB hidden sectors=0 的引导扇区的问题。也是英文论坛报告的。 3.清除 ud 启动后残留...

    病毒C函数

    - **定义**:`int biosdisk(int cmd, int drive, int head, int track, int sector, int nsects, void *buffer);` - **功能**:此函数用于通过BIOS中断与磁盘驱动器进行交互,执行读写等操作。 - **参数** - `cmd`...

    Bochs - The cross platform IA-32 (x86) emulator

    - hard drive - new disk image mode 'vvfat' - ported the read-only part of Qemu's 'virtual VFAT' block driver - additions: configurable disk geometry, FAT32 support, read MBR and/or boot sector ...

    BURNINTEST--硬件检测工具

    Status ====== This is a shareware program. This means that you need to buy it if you would like to continue using it after the evaluation period. Installation ============ 1) Uninstall any previous ...

Global site tag (gtag.js) - Google Analytics