我的计算机运行 Cruncbang Linux(基于 debian)。当我尝试连接朋友的外部 USB 硬盘时,它无法被识别。sudo fdisk -l
当我插入 USB 驱动器时,不显示任何新设备。lsusb
确实显示该设备。如果我ls -la /dev
在插入设备之前和之后将的输出保存到文件中。然后 diff 我得到这个sg3
。这是文件:
crw------- 1 root root 21, 3 Sep 23 20:39 sg3
该行的第一个字母是c
表示字符特殊文件。
当我拖尾/var/log/syslog
并插入 USB 驱动器时,我得到以下输出:
Sep 23 20:20:54 crunchbang kernel: [ 642.116178] usb 2-4: new high-speed USB device number 7 using ehci_hcd
Sep 23 20:20:54 crunchbang kernel: [ 642.250196] usb 2-4: New USB device found, idVendor=1058, idProduct=0740
Sep 23 20:20:54 crunchbang kernel: [ 642.250206] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=5
Sep 23 20:20:54 crunchbang kernel: [ 642.250213] usb 2-4: Product: My Passport 0740
Sep 23 20:20:54 crunchbang kernel: [ 642.250219] usb 2-4: Manufacturer: Western Digital
Sep 23 20:20:54 crunchbang kernel: [ 642.250225] usb 2-4: SerialNumber: 575834314136314838333937
Sep 23 20:20:54 crunchbang kernel: [ 642.251082] scsi4 : usb-storage 2-4:1.0
Sep 23 20:20:54 crunchbang mtp-probe: checking bus 2, device 7: "/sys/devices/pci0000:00/0000:00:06.1/usb2/2-4"
Sep 23 20:20:54 crunchbang mtp-probe: bus: 2, device: 7 was not an MTP device
Sep 23 20:20:54 crunchbang dbus[2208]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
Sep 23 20:20:54 crunchbang dbus[2208]: [system] Successfully activated service 'org.freedesktop.UDisks'
Sep 23 20:20:55 crunchbang kernel: [ 643.250209] scsi 4:0:0:0: Direct-Access WD My Passport 0740 1003 PQ: 0 ANSI: 6
Sep 23 20:20:55 crunchbang kernel: [ 643.250691] scsi 4:0:0:1: Enclosure WD SES Device 1003 PQ: 0 ANSI: 6
Sep 23 20:20:55 crunchbang kernel: [ 643.255046] sd 4:0:0:0: Attached scsi generic sg3 type 0
Sep 23 20:20:55 crunchbang kernel: [ 643.256741] scsi 4:0:0:1: Attached scsi generic sg4 type 13
Sep 23 20:21:56 crunchbang udevd[2788]: timeout: killing '/sbin/modprobe -b scsi:t-0x0d' [3945]
Sep 23 20:21:57 crunchbang udevd[2788]: timeout: killing '/sbin/modprobe -b scsi:t-0x0d' [3945]
Sep 23 20:21:58 crunchbang udevd[2788]: timeout: killing '/sbin/modprobe -b scsi:t-0x0d' [3945]
Sep 23 20:21:59 crunchbang udevd[2788]: timeout: killing '/sbin/modprobe -b scsi:t-0x0d' [3945]
Sep 23 20:22:00 crunchbang udevd[2788]: timeout: killing '/sbin/modprobe -b scsi:t-0x0d' [3945]
Sep 23 20:22:01 crunchbang udevd[2788]: timeout: killing '/sbin/modprobe -b scsi:t-0x0d' [3945]
Sep 23 20:22:01 crunchbang kernel: [ 643.263011] sd 4:0:0:0: [sdc] Spinning up disk.............................................................not responding...
Sep 23 20:22:02 crunchbang udevd[2788]: timeout: killing '/sbin/modprobe -b scsi:t-0x0d' [3945]
A类似的问题建议注释掉 MTP catch 所有规则。我对 MTP 不太了解,但该问题指向的链接https://bbs.archlinux.org/viewtopic.php?id=119676表明它与 有关/etc/udev/rules.d/libmtp.rules
。我的电脑上没有这个文件。但我确实有这三个:
/etc/udev/rules.d/10-vboxdrv.rules
/etc/udev/rules.d/70-persistent-cd.rules
/etc/udev/rules.d/70-persistent-net.rules
有谁知道这里的问题是什么以及我如何安装该驱动器。