我正在尝试连接一个外部硬盘驱动器到我的电脑(Ubuntu16.04,双启动窗口)。我查过了,磁盘正在其他电脑上运行。它以前也在做我的工作,由于某种原因,它不再被自动检测和安装。
外部硬盘是使用Mac的另一台计算机在exFat中形成的。奇怪的是,如果我让它插入足够长的时间,它就会突然被计算机自动挂载(几分钟后),然后它就像一种魅力一样工作。
当插入时,磁盘不会出现在fdisk或其他lsblk中,.然而,Dmesg输出正在记录磁盘连接:
[ 120.266550] usb 2-4: new SuperSpeed USB device number 2 using xhci_hcd
[ 120.283365] usb 2-4: New USB device found, idVendor=059f, idProduct=1062
[ 120.283377] usb 2-4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 120.283386] usb 2-4: Product: Rugged USB3 THB
[ 120.283392] usb 2-4: Manufacturer: LaCie
[ 120.283397] usb 2-4: SerialNumber: 0000000015ac2c7500d7
[ 120.300185] usbcore: registered new interface driver usb-storage
[ 120.303319] scsi host0: uas
[ 120.303408] usbcore: registered new interface driver uas
[ 120.304404] scsi 0:0:0:0: Direct-Access LaCie Rugged THB USB3 051E PQ: 0 ANSI: 6
[ 120.304845] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 124.445048] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[ 124.445065] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 124.445649] sd 0:0:0:0: [sda] Write Protect is off
[ 124.445676] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 124.446023] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA然后,它开始重复这样做:
[ 154.859957] sd 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: IN
[ 154.859989] sd 0:0:0:0: tag#0 CDB: Report supported operation codes a3 0c 01 12 00 00 00 00 02 00 00 00
[ 154.860160] scsi host0: uas_eh_bus_reset_handler start
[ 154.972264] usb 2-4: reset SuperSpeed USB device number 2 using xhci_hcd
[ 154.995589] scsi host0: uas_eh_bus_reset_handler success
...
[ 309.873009] sd 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: IN
[ 309.873026] sd 0:0:0:0: tag#0 CDB: Report supported operation codes a3 0c 01 93 00 00 00 00 02 00 00 00
[ 309.873172] scsi host0: uas_eh_bus_reset_handler start
[ 309.985460] usb 2-4: reset SuperSpeed USB device number 2 using xhci_hcd
[ 310.003272] scsi host0: uas_eh_bus_reset_handler success
[ 340.849898] sd 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: IN
[ 340.849901] sd 0:0:0:0: tag#0 CDB: Report supported operation codes a3 0c 01 93 00 00 00 00 02 00 00 00
[ 340.849985] scsi host0: uas_eh_bus_reset_handler start
[ 340.962449] usb 2-4: reset SuperSpeed USB device number 2 using xhci_hcd
[ 340.979668] scsi host0: uas_eh_bus_reset_handler success
[ 360.178643] INFO: task systemd-udevd:2263 blocked for more than 120 seconds.
[ 360.178667] Not tainted 4.4.0-47-generic #68-Ubuntu
[ 360.178674] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 360.178681] systemd-udevd D ffff88003fb7bc88 0 2263 264 0x00000004
[ 360.178698] ffff88003fb7bc88 00000000fffffffa ffffffff81e11500 ffff8804e55be740
[ 360.178711] ffff88003fb7c000 0000000000000000 ffff8804dae68140 ffffffffc06f6500
[ 360.178723] ffff8800d280ecc0 ffff88003fb7bca0 ffffffff81830f15 ffffffffffffffff
[ 360.178735] Call Trace:
[ 360.178762] [<ffffffff81830f15>] schedule+0x35/0x80
[ 360.178780] [<ffffffff810a355e>] async_synchronize_cookie_domain+0x6e/0x150
[ 360.178796] [<ffffffff810c3ed0>] ? wake_atomic_t_function+0x60/0x60
[ 360.178810] [<ffffffff810a3677>] async_synchronize_full+0x17/0x20
[ 360.178826] [<ffffffff8118ce35>] do_init_module+0xc1/0x1cf
[ 360.178838] [<ffffffff8110a3ef>] load_module+0x166f/0x1c10
[ 360.178849] [<ffffffff81106990>] ? __symbol_put+0x60/0x60
[ 360.178866] [<ffffffff81213a80>] ? kernel_read+0x50/0x80
[ 360.178880] [<ffffffff8110abd4>] SYSC_finit_module+0xb4/0xe0
[ 360.178892] [<ffffffff8110ac1e>] SyS_finit_module+0xe/0x10
[ 360.178905] [<ffffffff81834ff2>] entry_SYSCALL_64_fastpath+0x16/0x71
[ 371.827287] sd 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: IN
[ 371.827308] sd 0:0:0:0: tag#0 CDB: Report supported operation codes a3 0c 01 93 00 00 00 00 02 00 00 00
[ 371.827573] scsi host0: uas_eh_bus_reset_handler start
[ 371.940129] usb 2-4: reset SuperSpeed USB device number 2 using xhci_hcd
[ 371.958671] scsi host0: uas_eh_bus_reset_handler success..。它做了很多次,然后突然:
[ 1208.910101] sd 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: IN
[ 1208.910116] sd 0:0:0:0: tag#0 CDB: Report supported operation codes a3 0c 01 41 00 00 00 00 02 00 00 00
[ 1208.910235] scsi host0: uas_eh_bus_reset_handler start
[ 1209.022845] usb 2-4: reset SuperSpeed USB device number 2 using xhci_hcd
[ 1209.039727] scsi host0: uas_eh_bus_reset_handler success
[ 1239.951073] sd 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: IN
[ 1239.951077] sd 0:0:0:0: tag#0 CDB: Report supported operation codes a3 0c 01 41 00 00 00 00 02 00 00 00
[ 1239.951120] scsi host0: uas_eh_bus_reset_handler start
[ 1240.063369] usb 2-4: reset SuperSpeed USB device number 2 using xhci_hcd
[ 1240.081349] scsi host0: uas_eh_bus_reset_handler success
[ 1240.081428] sd 0:0:0:0: [sda] Attached SCSI disk在那之后,磁盘工作得很好。
这里发生了什么事?我在论坛上看了看,什么也找不到。如果有人有一个解决方案,让磁盘像任何正常的磁盘一样被检测和挂载,那么这将是很棒的,而不会占用所有这些时间,有时甚至会突然工作。
谢谢你的帮忙!
发布于 2023-01-08 07:36:12
在我的例子中,安装问题出现在我在Windows上使用SSD之后。回到Ubuntu之后,挂载点“/mnt/sdb1 1”开始不正确(错误安装系统-托管设备/dev/sdb1 1:不允许操作)。
我得到的结果是:
sudo mkdir /media/exfat
sudo mount -t exfat /dev/sdb1 /media/exfat或者您也可以打开磁盘中的“用户会话默认值”,并且外部驱动器应该正确地挂载。

https://askubuntu.com/questions/854506
复制相似问题