AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 832394
Accepted
Vadim Peretokin
Vadim Peretokin
Asked: 2016-10-03 16:48:10 +0800 CST2016-10-03 16:48:10 +0800 CST 2016-10-03 16:48:10 +0800 CST

这个错误是什么意思?

  • 772

日志中不断出现以下错误:

Oct  3 09:51:36 gooseberry kernel: [15050.345601] sd 5:0:0:0: [sdb] tag#0 CDB: ATA command pass through(12)/Blank a1 06 20 da 00 00 4f c2 00 b0 00 00
Oct  3 10:01:35 gooseberry kernel: [15649.821810] sd 5:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Oct  3 10:01:35 gooseberry kernel: [15649.821817] sd 5:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] [descriptor] 
Oct  3 10:01:35 gooseberry kernel: [15649.821820] sd 5:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
Oct  3 10:01:35 gooseberry kernel: [15649.821824] sd 5:0:0:0: [sdb] tag#0 CDB: ATA command pass through(16) 85 06 20 00 00 00 00 00 00 00 00 00 00 00 e5 00
Oct  3 10:01:36 gooseberry kernel: [15650.300873] sd 5:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Oct  3 10:01:36 gooseberry kernel: [15650.300879] sd 5:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] [descriptor] 
Oct  3 10:01:36 gooseberry kernel: [15650.300881] sd 5:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
Oct  3 10:01:36 gooseberry kernel: [15650.300885] sd 5:0:0:0: [sdb] tag#0 CDB: ATA command pass through(12)/Blank a1 06 20 da 00 00 4f c2 00 b0 00 00

$ uname -a 
Linux gooseberry 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
kernel
  • 2 2 个回答
  • 12587 Views

2 个回答

  • Voted
  1. Best Answer
    WinEunuuchs2Unix
    2016-10-03T17:33:12+08:002016-10-03T17:33:12+08:00

    我在第一次出现此错误的地方找到了内核版本 4.6.3 及更高版本的错误报告。/var/log/syslog它每 10 分钟发送一次垃圾邮件。该错误在内核版本 4.7.2 时才被报告。显然 Ubuntu 对内核 4.4.0-38 的更新现在已经引入了这个错误。

    此外,USB 连接的驱动器也会报告此错误。我想你sdb是。

    显然,除了它向您的syslog.

    我发现的错误报告可以在:https ://bugzilla.redhat.com/show_bug.cgi?id=1351305

    • 6
  2. Colin Ian King
    2017-02-05T08:58:57+08:002017-02-05T08:58:57+08:00

    很有可能是由于这个提交:

    0dec8c0d67c64401d97122e4eba347ccc5850622 is the first bad commit
    commit 0dec8c0d67c64401d97122e4eba347ccc5850622
    Author: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>
    Date:   Fri May 13 12:04:06 2016 -0700
    
        scsi_lib: correctly retry failed zero length REQ_TYPE_FS commands
    
        commit a621bac3044ed6f7ec5fa0326491b2d4838bfa93 upstream.
    
        When SCSI was written, all commands coming from the filesystem
        (REQ_TYPE_FS commands) had data.  This meant that our signal for needing
        to complete the command was the number of bytes completed being equal to
        the number of bytes in the request.  Unfortunately, with the advent of
        flush barriers, we can now get zero length REQ_TYPE_FS commands, which
        confuse this logic because they satisfy the condition every time.  This
        means they never get retried even for retryable conditions, like UNIT
        ATTENTION because we complete them early assuming they're done.  Fix
        this by special casing the early completion condition to recognise zero
        length commands with errors and let them drop through to the retry code.
    

    我相信从我从这个修复程序中了解到的错误是现在正在使用操作码为 0x85“ATA 命令通过(16)”和 0xa1“ATA 命令通过(12)/空白”的 ATA 直通命令(可能错误地)发出并因此导致这些错误消息。

    查看 ATA 直通命令数据,它看起来像是正在发出 SMART(自我监控、分析和报告技术)ATA 命令(命令代码 0xb0),我推测这个 H/W 可能无法处理这个。

    • 4

相关问题

  • 为 i7 处理器编译内核的最佳方法是什么?

  • 未连接到任何可见进程的令人讨厌的 CPU 峰值

  • 如何让我的电脑中的风扇在暂停时关闭?[关闭]

  • Ubuntu 是否支持与 SSD 一起使用的 TRIM 命令?

  • 使用 apt-get upgrade 时如何强制安装内核更新?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve