Kubuntu 22.04 外部 USB 磁盘无法挂载

Kubuntu 22.04 外部 USB 磁盘无法挂载

我正在尝试使用 USB 2.5 硬盘盒安装硬盘,但什么都没做,并向 dmesg 输出错误。Kubuntu 22.04.2 此硬盘在笔记本电脑中工作正常。我成功安装了 Kubuntu,没有任何错误。它与 Ubuntu 22.04.2、Arch 在同一台笔记本电脑上以相同的设置正确安装。我也能够通过进入 Kubuntu 恢复根控制台来安装它。但是当我尝试在桌面环境中以正常模式连接它时,我在 dmesg 中收到以下信息:

[ 67.366176] usb 3-5: new high-speed USB device number 7 using xhci_hcd
[ 67.518988] usb 3-5: New USB device found, idVendor=14cd, idProduct=6116, bcdDevice= 1.50
[ 67.518990] usb 3-5: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 67.518990] usb 3-5: Product: USB 2.0 SATA BRIDGE
[ 67.518991] usb 3-5: Manufacturer: Super Top
[ 67.518992] usb 3-5: SerialNumber: M6116018VE15
[ 67.520680] usb-storage 3-5:1.0: USB Mass Storage device detected
[ 67.521098] scsi host1: usb-storage 3-5:1.0
[ 68.530635] scsi 1:0:0:0: Direct-Access TOSHIBA MK6459GSXP PQ: 0 ANSI: 0
[ 68.530738] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 68.531463] sd 1:0:0:0: [sdb] 1250263728 512-byte logical blocks: (640 GB/596 GiB)
[ 68.531659] sd 1:0:0:0: [sdb] Write Protect is off
[ 68.531660] sd 1:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 68.531830] sd 1:0:0:0: [sdb] No Caching mode page found
[ 68.531833] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[ 68.586729] sdb: sdb1 sdb2 sdb3 sdb4
[ 68.586924] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 92.447078] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=22s
[ 92.447081] sd 1:0:0:0: [sdb] tag#0 Sense Key : Illegal Request [current]
[ 92.447083] sd 1:0:0:0: [sdb] tag#0 Add. Sense: Invalid command operation code
[ 92.447084] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 32 14 18 00 00 00 08 00
[ 92.447085] critical target error, dev sdb, sector 840177664 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 103.614516] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=11s
[ 103.614518] sd 1:0:0:0: [sdb] tag#0 Sense Key : Illegal Request [current]
[ 103.614520] sd 1:0:0:0: [sdb] tag#0 Add. Sense: Invalid command operation code
[ 103.614521] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 4a 85 82 a0 00 00 08 00
[ 103.614522] critical target error, dev sdb, sector 1250263712 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 114.781762] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=11s
[ 114.781765] sd 1:0:0:0: [sdb] tag#0 Sense Key : Illegal Request [current]
[ 114.781766] sd 1:0:0:0: [sdb] tag#0 Add. Sense: Invalid command operation code
[ 114.781768] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 32 14 18 00 00 00 08 00
[ 114.781769] critical target error, dev sdb, sector 840177664 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 114.781773] Buffer I/O error on dev sdb2, logical block 0, async page read
[ 125.948894] sd 1:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=11s
[ 125.948898] sd 1:0:0:0: [sdb] tag#0 Sense Key : Illegal Request [current]
[ 125.948899] sd 1:0:0:0: [sdb] tag#0 Add. Sense: Invalid command operation code
[ 125.948900] sd 1:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 32 94 18 00 00 00 08 00
[ 125.948901] critical target error, dev sdb, sector 848566272 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0

谷歌搜索解决方案显示,要么是硬盘坏了。我认为我的没问题,因为它在 Kubuntu 桌面环境以外的任何地方都能正常工作。或者与 Ubuntu 相关的问题,但就我而言,它在 Ubuntu 上正常工作(在 22.04 和 20.04 上测试)。

更新。部分解决。

我做了更多实验。它在任何 Plasma 上都不起作用。KDE Neon Kubuntu 22.10。此外,如果我调用 smartctl -a /dev/sdc 命令,我的“egestar usb 2.0 外部外壳”就会停止工作。所以我认为 Plasma(或 Dolphin)在安装之前会调用一些 SMART 命令。Gnome 和其他不会这样做。按你的要求做,只需安装即可。

如果我将 HDD 插入其他机箱(华硕),它可以正常工作并且能够响应 smartctl。

是的,我会买新的现代机箱。但如果知道如何禁用 Plasma 的这些额外 SMART 调用,那就太好了。或者可能有一种方法可以暂时禁用 USB 存储连接上的任何操作。这样我就可以在没有 SMART 命令调用的情况下手动安装它。

相关内容