如何在最新的 Ubuntu r19.04 `apt upgrade` 之后恢复 DVD 驱动器操作

如何在最新的 Ubuntu r19.04 `apt upgrade` 之后恢复 DVD 驱动器操作

在过去的一两天内,在最近的一次apt update-s 之后,我桌面上的 DVD 驱动器停止了工作。

  • 时间:2019-09-15 (UTC) 左右
  • 截止时间:2019-09-20 (UTC)

在尝试了几次试图理解发生了什么但都没有成功之后,我回溯了几步并决定我需要做什么'从这里继续努力' 和恢复DVD 和重播操作。

这是我的想法:

  • 播放器应该可以工作(它可以工作)
    • 在软件发生任何变化之前我都做过相关工作。
  • 通过恢复功能,我不仅可以学到一些有关这类事情的知识,还可以帮助其他人解决这类问题。
    • 我之前在 stackoverflow/askubntu 上看到过与 Ubunty 14 和 16 类似的问题。
  • 无论发生什么,看起来都像是一种倒退
    • 驱动器或硬件本身没有任何改变。
    • 我选择的“目标” DVD 是 8 或 9 天前播放正常的 DVD。
  • 如果我需要撤销某个软件包或更新,那就这么做吧。找出问题所在的最佳方式是确定今天的问题。

症状

我对这个问题的外行看法是,由于某种原因,应用程序无法读取 DVD 内容。 dvdbackup例如,报告说 ti 无法找到标题。 Handbrake并且handbrakeCLI有类似的问题。他们试图阅读,但解释却无法理解。

毫无疑问,VLC 也一样,它只是尝试并显示黑屏 - 什么也没发生。有报告称单元混乱和 I/O 错误。

您可能认为 DVD 已损坏。这就是为什么我挑选了一张最近成功观看的 DVD。

我的目的是看看安装新的 DVD 驱动器后我会做什么。

  • 我要遵循什么步骤才能让新 DVD 正常工作?
  • 现在出现哪些安装错误和问题?
  • 如果切实可行,就解决这些问题。
    • 撤消软件包或使用可能尚未交付/安装的替代或支持软件包来改善情况。

我希望你能帮到你。以下是我在“之前”和“现在”情景之间的差异,当时我重新调整了家庭生活,喝了一杯茶。

我不知道大家是否dmesg读过这些问题,但我非常希望dmesg输出显示当地时间,这样我就能更好地了解正在发生的事情以及时间线上发生的情况。期待您的见解。

德尔塔实验……

我们知道什么?

今晚……

  1. 我取下了一张曾经在这台电脑上播放过的《哈利波特》DVD(实际上是上周的某个时候)。
    • 结果是 VLC 只是稍微调整了一下然后就放弃了。
  2. 然后卸下 DVD
  3. dmesg > tmp.01
    • 得到“基线”
  4. 将 DVD 重新装入驱动器
  5. 使用 VLC“播放磁盘”Media菜单选项
  6. 允许 DVD 播放器播放音乐并发出咕噜声
  7. 完成后,dmesg > tmp.02再次运行。
  8. 取一个增量(diff如图所示)

抱歉我在这里粘贴了这么多内容。我不清楚哪些是重要的,哪些只是重复同样的错误。

dmesg 三角洲...

[60610.254451] scsi_io_completion_action: 2 callbacks suppressed
[60610.254457] sr 1:0:0:0: [sr0] tag#4 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60610.254460] sr 1:0:0:0: [sr0] tag#4 Sense Key : Illegal Request [current] 
[60610.254463] sr 1:0:0:0: [sr0] tag#4 Add. Sense: Read of scrambled sector without authentication
[60610.254465] sr 1:0:0:0: [sr0] tag#4 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60610.254467] print_req_error: 2 callbacks suppressed
[60610.254468] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60610.254473] buffer_io_error: 2 callbacks suppressed
[60610.254474] Buffer I/O error on dev sr0, logical block 5960, async page read
[60610.302074] sr 1:0:0:0: [sr0] tag#14 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60610.302077] sr 1:0:0:0: [sr0] tag#14 Sense Key : Illegal Request [current] 
[60610.302080] sr 1:0:0:0: [sr0] tag#14 Add. Sense: Read of scrambled sector without authentication
[60610.302082] sr 1:0:0:0: [sr0] tag#14 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60610.302084] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60610.302087] Buffer I/O error on dev sr0, logical block 5960, async page read
[60610.338005] sr 1:0:0:0: [sr0] tag#5 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60610.338008] sr 1:0:0:0: [sr0] tag#5 Sense Key : Illegal Request [current] 
[60610.338011] sr 1:0:0:0: [sr0] tag#5 Add. Sense: Read of scrambled sector without authentication
[60610.338014] sr 1:0:0:0: [sr0] tag#5 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60610.338015] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60610.338019] Buffer I/O error on dev sr0, logical block 5960, async page read
[60610.373951] sr 1:0:0:0: [sr0] tag#15 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60610.373954] sr 1:0:0:0: [sr0] tag#15 Sense Key : Illegal Request [current] 
[60610.373957] sr 1:0:0:0: [sr0] tag#15 Add. Sense: Read of scrambled sector without authentication
[60610.373959] sr 1:0:0:0: [sr0] tag#15 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60610.373961] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60610.373964] Buffer I/O error on dev sr0, logical block 5960, async page read
[60610.406292] sr 1:0:0:0: [sr0] tag#16 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60610.406295] sr 1:0:0:0: [sr0] tag#16 Sense Key : Illegal Request [current] 
[60610.406298] sr 1:0:0:0: [sr0] tag#16 Add. Sense: Read of scrambled sector without authentication
[60610.406301] sr 1:0:0:0: [sr0] tag#16 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60610.406302] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60610.406305] Buffer I/O error on dev sr0, logical block 5960, async page read
[60610.441955] sr 1:0:0:0: [sr0] tag#17 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60610.441957] sr 1:0:0:0: [sr0] tag#17 Sense Key : Illegal Request [current] 
[60610.441961] sr 1:0:0:0: [sr0] tag#17 Add. Sense: Read of scrambled sector without authentication
[60610.441963] sr 1:0:0:0: [sr0] tag#17 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60610.441965] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60610.441968] Buffer I/O error on dev sr0, logical block 5960, async page read
[60610.473961] sr 1:0:0:0: [sr0] tag#18 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60610.473964] sr 1:0:0:0: [sr0] tag#18 Sense Key : Illegal Request [current] 
[60610.473967] sr 1:0:0:0: [sr0] tag#18 Add. Sense: Read of scrambled sector without authentication
[60610.473969] sr 1:0:0:0: [sr0] tag#18 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60610.473971] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60610.473974] Buffer I/O error on dev sr0, logical block 5960, async page read
[60610.505948] sr 1:0:0:0: [sr0] tag#19 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60610.505951] sr 1:0:0:0: [sr0] tag#19 Sense Key : Illegal Request [current] 
[60610.505954] sr 1:0:0:0: [sr0] tag#19 Add. Sense: Read of scrambled sector without authentication
[60610.505956] sr 1:0:0:0: [sr0] tag#19 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60610.505958] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60610.505961] Buffer I/O error on dev sr0, logical block 5960, async page read
[60610.534143] sr 1:0:0:0: [sr0] tag#20 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60610.534146] sr 1:0:0:0: [sr0] tag#20 Sense Key : Illegal Request [current] 
[60610.534150] sr 1:0:0:0: [sr0] tag#20 Add. Sense: Read of scrambled sector without authentication
[60610.534152] sr 1:0:0:0: [sr0] tag#20 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60610.534154] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60610.534157] Buffer I/O error on dev sr0, logical block 5960, async page read
[60610.682399] sr 1:0:0:0: [sr0] tag#21 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60610.682403] sr 1:0:0:0: [sr0] tag#21 Sense Key : Illegal Request [current] 
[60610.682406] sr 1:0:0:0: [sr0] tag#21 Add. Sense: Read of scrambled sector without authentication
[60610.682409] sr 1:0:0:0: [sr0] tag#21 CDB: Read(10) 28 00 00 00 fa 35 00 00 01 00
[60610.682411] print_req_error: I/O error, dev sr0, sector 256212 flags 0
[60610.682416] Buffer I/O error on dev sr0, logical block 64053, async page read
[60622.600135] scsi_io_completion_action: 2 callbacks suppressed
[60622.600142] sr 1:0:0:0: [sr0] tag#9 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60622.600146] sr 1:0:0:0: [sr0] tag#9 Sense Key : Illegal Request [current] 
[60622.600149] sr 1:0:0:0: [sr0] tag#9 Add. Sense: Read of scrambled sector without authentication
[60622.600152] sr 1:0:0:0: [sr0] tag#9 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60622.600154] print_req_error: 2 callbacks suppressed
[60622.600156] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60622.600161] buffer_io_error: 2 callbacks suppressed
[60622.600162] Buffer I/O error on dev sr0, logical block 5960, async page read
[60622.632139] sr 1:0:0:0: [sr0] tag#21 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60622.632142] sr 1:0:0:0: [sr0] tag#21 Sense Key : Illegal Request [current] 
[60622.632145] sr 1:0:0:0: [sr0] tag#21 Add. Sense: Read of scrambled sector without authentication
[60622.632147] sr 1:0:0:0: [sr0] tag#21 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60622.632149] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60622.632152] Buffer I/O error on dev sr0, logical block 5960, async page read
[60622.664010] sr 1:0:0:0: [sr0] tag#23 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60622.664013] sr 1:0:0:0: [sr0] tag#23 Sense Key : Illegal Request [current] 
[60622.664017] sr 1:0:0:0: [sr0] tag#23 Add. Sense: Read of scrambled sector without authentication
[60622.664019] sr 1:0:0:0: [sr0] tag#23 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60622.664021] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60622.664026] Buffer I/O error on dev sr0, logical block 5960, async page read
[60622.696149] sr 1:0:0:0: [sr0] tag#31 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60622.696152] sr 1:0:0:0: [sr0] tag#31 Sense Key : Illegal Request [current] 
[60622.696156] sr 1:0:0:0: [sr0] tag#31 Add. Sense: Read of scrambled sector without authentication
[60622.696158] sr 1:0:0:0: [sr0] tag#31 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60622.696159] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60622.696163] Buffer I/O error on dev sr0, logical block 5960, async page read
[60622.728011] sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60622.728014] sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] 
[60622.728017] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Read of scrambled sector without authentication
[60622.728020] sr 1:0:0:0: [sr0] tag#0 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60622.728021] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60622.728025] Buffer I/O error on dev sr0, logical block 5960, async page read
[60622.768156] sr 1:0:0:0: [sr0] tag#1 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60622.768159] sr 1:0:0:0: [sr0] tag#1 Sense Key : Illegal Request [current] 
[60622.768162] sr 1:0:0:0: [sr0] tag#1 Add. Sense: Read of scrambled sector without authentication
[60622.768165] sr 1:0:0:0: [sr0] tag#1 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60622.768166] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60622.768170] Buffer I/O error on dev sr0, logical block 5960, async page read
[60622.800184] sr 1:0:0:0: [sr0] tag#2 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60622.800187] sr 1:0:0:0: [sr0] tag#2 Sense Key : Illegal Request [current] 
[60622.800190] sr 1:0:0:0: [sr0] tag#2 Add. Sense: Read of scrambled sector without authentication
[60622.800192] sr 1:0:0:0: [sr0] tag#2 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60622.800194] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60622.800198] Buffer I/O error on dev sr0, logical block 5960, async page read
[60622.832250] sr 1:0:0:0: [sr0] tag#3 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60622.832253] sr 1:0:0:0: [sr0] tag#3 Sense Key : Illegal Request [current] 
[60622.832256] sr 1:0:0:0: [sr0] tag#3 Add. Sense: Read of scrambled sector without authentication
[60622.832258] sr 1:0:0:0: [sr0] tag#3 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60622.832260] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60622.832264] Buffer I/O error on dev sr0, logical block 5960, async page read
[60622.860376] sr 1:0:0:0: [sr0] tag#4 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60622.860379] sr 1:0:0:0: [sr0] tag#4 Sense Key : Illegal Request [current] 
[60622.860383] sr 1:0:0:0: [sr0] tag#4 Add. Sense: Read of scrambled sector without authentication
[60622.860385] sr 1:0:0:0: [sr0] tag#4 CDB: Read(10) 28 00 00 00 17 48 00 00 01 00
[60622.860386] print_req_error: I/O error, dev sr0, sector 23840 flags 0
[60622.860390] Buffer I/O error on dev sr0, logical block 5960, async page read
[60623.004249] sr 1:0:0:0: [sr0] tag#5 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[60623.004252] sr 1:0:0:0: [sr0] tag#5 Sense Key : Illegal Request [current] 
[60623.004256] sr 1:0:0:0: [sr0] tag#5 Add. Sense: Read of scrambled sector without authentication
[60623.004258] sr 1:0:0:0: [sr0] tag#5 CDB: Read(10) 28 00 00 00 fa 35 00 00 01 00
[60623.004260] print_req_error: I/O error, dev sr0, sector 256212 flags 0
[60623.004265] Buffer I/O error on dev sr0, logical block 64053, async page read

答案1

我相信我已经找到了解决这个问题的方法。上周的更新中有一些内容被删除或以某种方式隐藏了部分或全部软件包libdvdcss。上周 PC 上唯一的其他活动是一些电子表格和文件编辑。所以现在我坚持常规更新理论。

修复

为了确保所有东西都安装好了,我删除了关键播放器,然后使用VLClibdvdcss构建

sudo apt remove       libdvd-pkg  handbrake-cli  vlc  handbrake
sudo apt install      libdvd-pkg  handbrake-cli  vlc  handbrake
sudo dpkg-reconfigure libdvd-pkg

现在我的dmesg日志又变得干净整洁了。

libdvdcss我很高兴。不过,如果您知道软件包升级如何删除(或破坏)该功能,我会感到好奇。发生这种情况似乎很奇怪(如果确实是该矢量)。

相关内容