Я использую ванильный экземпляр 32-битного Ubuntu 11.04, установленного на ноутбуке k53e . Машина в курсе. У меня есть внешний жесткий диск ноутбука, к которому я получаю доступ через rocketfish RF-HD3025 . Диск не найден с помощью fdisk -l или gparted. С помощью dmesg я вижу следующее:
[ 2108.679866] usb 2-1.2: new high speed USB device using ehci_hcd and address 8
[ 2108.828091] scsi11 : uas
[ 2111.200568] scsi 11:0:0:0: Direct-Access SYMWAVE TOSHIBA MK1637GS 2C PQ: 0 ANSI: 4
[ 2118.194699] scsi 11:0:0:0: uas_eh_abort_handler tag 0
[ 2118.194713] scsi 11:0:0:0: uas_eh_device_reset_handler tag 0
[ 2118.194721] scsi 11:0:0:0: uas_eh_target_reset_handler tag 0
[ 2118.194727] scsi 11:0:0:0: uas_eh_bus_reset_handler tag 0
[ 2118.266857] usb 2-1.2: reset high speed USB device using ehci_hcd and address 8
[ 2118.408428] scsi 11:0:0:0: Device offlined - not ready after error recovery
[ 2118.408507] scsi 11:0:0:0: rejecting I/O to offline device
[ 2118.408528] scsi 11:0:0:0: rejecting I/O to offline device
[ 2118.410213] scsi 11:0:0:1: Enclosure SYMWAVE SES 2C PQ: 0 ANSI: 4
[ 2118.410448] scsi 11:0:0:2: uas_sense_old: urb length 26 disagrees with IU sense data length 510, using 18 bytes of sense data
[ 2118.411282] sd 11:0:0:0: Attached scsi generic sg2 type 0
[ 2118.411512] ses 11:0:0:1: Attached Enclosure device
[ 2118.411673] ses 11:0:0:1: Attached scsi generic sg3 type 13
Я загрузил Ubuntu 10.10 с помощью флэш-диска, и он отлично монтирует диски. Я также могу получить доступ к диску через Windows 7. Кажется, на данный момент это просто Ubuntu 11. Любые идеи о том, что я могу сделать, чтобы установить его? Я относительно новичок в устранении проблем с Ubuntu.
ОБНОВЛЕНИЕ: теперь я вижу устройство через lsusb. Вот подробности.
Bus 002 Device 003: ID 1ca1:18a9
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1ca1
idProduct 0x18a9
bcdDevice 43.07
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 85
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 98
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
INTERFACE CLASS: 04 24 01 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
INTERFACE CLASS: 04 24 02 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
INTERFACE CLASS: 04 24 03 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
INTERFACE CLASS: 04 24 04 00
ОБНОВЛЕНИЕ № 2
Если я подожду минуту, я получу эти дополнительные строки с помощью dmesg:
[ 3184.660662] sd 11:0:0:0: uas_eh_abort_handler tag 0
[ 3184.660679] sd 11:0:0:0: uas_eh_device_reset_handler tag 0
[ 3184.660687] sd 11:0:0:0: uas_eh_target_reset_handler tag 0
[ 3184.660699] sd 11:0:0:0: uas_eh_bus_reset_handler tag 0
[ 3184.732711] usb 2-1.2: reset high speed USB device using ehci_hcd and address 7
[ 3184.874194] sd 11:0:0:0: Device offlined - not ready after error recovery
[ 3184.874267] sd 11:0:0:0: rejecting I/O to offline device
[ 3184.874290] sd 11:0:0:0: rejecting I/O to offline device
[ 3184.874301] sd 11:0:0:0: rejecting I/O to offline device
[ 3184.874309] sd 11:0:0:0: [sdb] READ CAPACITY failed
[ 3184.874313] sd 11:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 3184.874321] sd 11:0:0:0: [sdb] Sense not available.
[ 3184.874330] sd 11:0:0:0: rejecting I/O to offline device
[ 3184.874338] sd 11:0:0:0: [sdb] Write Protect is off
[ 3184.874344] sd 11:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 3184.874351] sd 11:0:0:0: rejecting I/O to offline device
[ 3184.874358] sd 11:0:0:0: [sdb] Asking for cache data failed
[ 3184.874363] sd 11:0:0:0: [sdb] Assuming drive cache: write through
[ 3184.874863] sd 11:0:0:0: [sdb] Attached SCSI disk
ОБНОВЛЕНИЕ № 3
Я дал пытаясь заставить это работать. Я загрузил Ubuntu 10.10, чтобы получить все файлы. Пока я записывал, что dmesg сказал, когда накопитель был успешно загружен. Надеюсь, это кому-нибудь поможет.
[ 142.777698] usb 2-1.2: USB disconnect, address 3
[ 151.417332] usb 2-1.2: new high speed USB device using ehci_hcd and address 5
[ 151.561647] scsi8 : usb-storage 2-1.2:1.0
[ 153.928689] scsi 8:0:0:0: Direct-Access SYMWAVE TOSHIBA MK1637GS 2C PQ: 0 ANSI: 4
[ 153.929984] sd 8:0:0:0: Attached scsi generic sg3 type 0
[ 153.930523] sd 8:0:0:0: [sdc] 312576000 512-byte logical blocks: (160 GB/149 GiB)
[ 153.931639] sd 8:0:0:0: [sdc] Write Protect is off
[ 153.931653] sd 8:0:0:0: [sdc] Mode Sense: 67 00 10 08
[ 153.931660] sd 8:0:0:0: [sdc] Assuming drive cache: write through
[ 153.935251] sd 8:0:0:0: [sdc] Assuming drive cache: write through
[ 153.935263] sdc: sdc1 sdc2 < sdc5 sdc6 sdc7 sdc8 >
[ 154.017342] sd 8:0:0:0: [sdc] Assuming drive cache: write through
[ 154.017353] sd 8:0:0:0: [sdc] Attached SCSI disk
[ 155.238996] EXT4-fs (sdc7): recovery complete
[ 155.239455] EXT4-fs (sdc7): mounted filesystem with ordered data mode. Opts: (null)
Предлагаемое решение:
Попробуйте не разрешать umount вызывать смарт-тест для этого диска.
80-udisks.rules
из каталога /lib/udev/rules.d
в каталог /etc/udev/rules.d
, т.е.
sudo cp /lib/udev/rules.d/80-udisks.rules /etc/udev/rules.d
/etc/udev/rules.d/80-udisks.rules
, который помещает # в начале строки, чтобы она читалась, как показано т.е.
sudo nano /etc/udev/rules.d/80-udisks.rules
расположение в файле:
# USB ATA enclosures with a SAT layer
#KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="usb", ENV{DEVTYPE}=="disk", IMPORT{program}="udisks-probe-ata-smart $tempnode"
# ATA disks driven by libata
#KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="ata", ENV{DEVTYPE}=="disk", IMPORT{program}="udisks-probe-ata-smart $tempnode"
# ATA disks connected via SAS (not driven by libata)
#KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="scsi", ENV{DEVTYPE}=="disk", ENV{ID_VENDOR}=="ATA", IMPORT{program}="udisks-probe-ata-smart $tempnode"
Правила в каталоге /etc/udev/rules.d
переопределяют правила /lib/udev/rules.d
. Рекомендуется ничего не редактировать в /lib/udev/rules.d
и помещать личные правила в /etc/udev/rules.d