昨晚我使用 Kubuntu 14.04 上的 k3b 和 cdrecord 刻录了数据蓝光盘。
光盘刻录正常,但第二张光盘停滞了。驱动器旋转起来,但 k3b 从未显示超过 0%。最终它出错了。驱动器本身不想弹出光盘。花了一分钟多的时间并多次按下弹出按钮才弹出故障光盘。
此后,我无法让系统识别任何其他光盘。我尝试了另一张空白光盘,但什么也没发生 - k3b 无法识别它,并且 shell 也没有通知我这是一张空光盘。我尝试了电影、数据蓝光、DVD,什么也没发生。就好像 Linux 根本不知道驱动器在那里一样。
重启后,一切正常。我可以继续刻录,并且刻录了两张蓝光光盘,没有任何错误。
我该如何排除该问题的原因?
这是相关部分,kern.log
但我不确定这是什么意思,或者我还可以检查什么来弄清楚发生了什么。(注意:出于隐私和简洁的原因,我删除了主机名)
Jun 22 20:59:44 kernel: [14979.713419] warning: `/usr/bin/cdrecord' has both setuid-root and effective capabilities. Therefore not raising all capabilities.
Jun 22 22:45:54 kernel: [21345.680364] ata6.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Jun 22 22:45:54 kernel: [21345.680373] sr 5:0:0:0: [sr0] CDB:
Jun 22 22:45:54 kernel: [21345.680375] Synchronize Cache(10): 35 00 00 00 00 00 00 00 00 00
Jun 22 22:45:54 kernel: [21345.680387] ata6.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 30
Jun 22 22:45:54 kernel: [21345.680387] res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Jun 22 22:45:54 kernel: [21345.680390] ata6.00: status: { DRDY }
Jun 22 22:45:54 kernel: [21345.680395] ata6: hard resetting link
Jun 22 22:45:57 kernel: [21348.222922] INFO: task cdrecord:8295 blocked for more than 120 seconds.
Jun 22 22:45:57 kernel: [21348.222928] Not tainted 3.13.0-85-generic #129-Ubuntu
Jun 22 22:45:57 kernel: [21348.222929] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 22 22:45:57 kernel: [21348.222931] cdrecord D ffff88041f313180 0 8295 6418 0x00000000
Jun 22 22:45:57 kernel: [21348.222936] ffff880402b23da0 0000000000000086 ffff8803bcbf8000 ffff880402b23fd8
Jun 22 22:45:57 kernel: [21348.222941] 0000000000013180 0000000000013180 ffff8803bcbf8000 ffffffff81cc4700
Jun 22 22:45:57 kernel: [21348.222944] ffffffff81cc4704 ffff8803bcbf8000 00000000ffffffff ffffffff81cc4708
Jun 22 22:45:57 kernel: [21348.222948] Call Trace:
Jun 22 22:45:57 kernel: [21348.222957] [<ffffffff81730089>] schedule_preempt_disabled+0x29/0x70
Jun 22 22:45:57 kernel: [21348.222961] [<ffffffff81731ef5>] __mutex_lock_slowpath+0x135/0x1b0
Jun 22 22:45:57 kernel: [21348.222966] [<ffffffff814ac12c>] ? __pm_runtime_resume+0x5c/0x80
Jun 22 22:45:57 kernel: [21348.222970] [<ffffffff81731f8f>] mutex_lock+0x1f/0x2f
Jun 22 22:45:57 kernel: [21348.222975] [<ffffffff814fee98>] sr_block_ioctl+0x48/0xd0
Jun 22 22:45:57 kernel: [21348.222979] [<ffffffff8134d39c>] blkdev_ioctl+0x21c/0x7b0
Jun 22 22:45:57 kernel: [21348.222984] [<ffffffff811fb8d1>] block_ioctl+0x41/0x50
Jun 22 22:45:57 kernel: [21348.222988] [<ffffffff811d5050>] do_vfs_ioctl+0x2e0/0x4c0
Jun 22 22:45:57 kernel: [21348.222993] [<ffffffff81090ea0>] ? hrtimer_get_res+0x50/0x50
Jun 22 22:45:57 kernel: [21348.222996] [<ffffffff8172ef01>] ? do_nanosleep+0x71/0x130
Jun 22 22:45:57 kernel: [21348.222999] [<ffffffff811d52b1>] SyS_ioctl+0x81/0xa0
Jun 22 22:45:57 kernel: [21348.223003] [<ffffffff8173c39d>] system_call_fastpath+0x1a/0x1f
Jun 22 22:45:59 kernel: [21351.037245] ata6: link is slow to respond, please be patient (ready=0)
Jun 22 22:46:04 kernel: [21355.682613] ata6: COMRESET failed (errno=-16)
Jun 22 22:46:04 kernel: [21355.682629] ata6: hard resetting link
Jun 22 22:46:09 kernel: [21361.039441] ata6: link is slow to respond, please be patient (ready=0)
Jun 22 22:46:14 kernel: [21365.684755] ata6: COMRESET failed (errno=-16)
Jun 22 22:46:14 kernel: [21365.684764] ata6: hard resetting link
Jun 22 22:46:19 kernel: [21371.041649] ata6: link is slow to respond, please be patient (ready=0)
Jun 22 22:46:49 kernel: [21400.708520] ata6: COMRESET failed (errno=-16)
Jun 22 22:46:49 kernel: [21400.708526] ata6: limiting SATA link speed to 1.5 Gbps
Jun 22 22:46:49 kernel: [21400.708527] ata6: hard resetting link
Jun 22 22:46:54 kernel: [21405.729548] ata6: COMRESET failed (errno=-16)
Jun 22 22:46:54 kernel: [21405.729557] ata6: reset failed, giving up
Jun 22 22:46:54 kernel: [21405.729560] ata6.00: disabled
Jun 22 22:46:54 kernel: [21405.729583] ata6: EH complete
此后的唯一条目来自后续启动。
cdrecord
版本:
user@host:/var/log# cdrecord --version
Cdrecord-ProDVD-ProBD-Clone 3.02a06 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2016 Joerg Schilling
k3b
版本:
user@host:/var/log# apt list k3b
Listing... Done
k3b/trusty,now 2.0.2-7ubuntu1 amd64 [installed]
到目前为止,这款驱动器运行良好,无论是读取还是写入 DVD 还是蓝光。我怀疑这是硬件故障,因为驱动器在重新启动后运行良好。我最好的猜测是驱动程序出现错误,但我不知道下一步该看什么。到目前为止,我的搜索已经找到了很多文章和 SE 问题,关于如何让硬件首先工作,或者如何安装正确版本cdrecord
以实现蓝光兼容性。显然,我已经过了那个阶段,可以(通常)很好地刻录光盘。
我下一步需要采取什么步骤来诊断此错误以便找到修复方法?