LINUX.ORG.RU

монтирование флешки, не создается /dev/sda


0

0

Здравствуйте.

Проапдейтился debian etch -> sid, ядро 2.6.26.1.
При подключении флешки не создаётся /dev/sda, вот
что говорит dmesg:

[79119.524410] usb 4-6: new high speed USB device using ehci_hcd and address 4
[79119.661407] usb 4-6: configuration #1 chosen from 1 choice
[79119.662462] usb 4-6: New USB device found, idVendor=067b, idProduct=2528
[79119.662472] usb 4-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[79119.662476] usb 4-6: Product: USB Flash Drive
[79119.662479] usb 4-6: Manufacturer: USB 2.0
[79119.662482] usb 4-6: SerialNumber: 0007121235843752D047
[79120.685141] Initializing USB Mass Storage driver...
[79120.692145] scsi0 : SCSI emulation for USB Mass Storage devices
[79120.693282] usbcore: registered new interface driver usb-storage
[79120.693295] USB Mass Storage support registered.
[79120.703009] usb-storage: device found at 4
[79120.703023] usb-storage: waiting for device to settle before scanning
[79125.700223] usb-storage: device scan complete
[79126.925277] scsi 0:0:0:0: Direct-Access USB 2.0 USB Flash Drive 1.00 PQ: 0 ANSI: 2
[79127.062622] Driver 'sd' needs updating - please use bus_type methods
[79127.067274] sd 0:0:0:0: [sda] 3964928 512-byte hardware sectors (2030 MB)
[79127.070657] sd 0:0:0:0: [sda] Write Protect is off
[79127.070670] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[79127.070675] sd 0:0:0:0: [sda] Assuming drive cache: write through
[79127.073699] sd 0:0:0:0: [sda] 3964928 512-byte hardware sectors (2030 MB)
[79127.074442] sd 0:0:0:0: [sda] Write Protect is off
[79127.074450] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[79127.074454] sd 0:0:0:0: [sda] Assuming drive cache: write through
[79127.074460] sda: sda1
[79127.075593] sd 0:0:0:0: [sda] Attached SCSI removable disk
[79127.304062] usb 4-6: reset high speed USB device using ehci_hcd and address 4
[79142.420057] usb 4-6: device descriptor read/64, error -110

Подскажите, пожалуйста, что сделать, чтобы флешка монтировалась.

Поправочка: не sid а lenny, хотя думаю тут это не сильно важно...

borodun
() автор топика

>[79142.420057] usb 4-6: device descriptor read/64, error -110

Говорят кирдык твоей флешке, попробуй другую воткнуть, а эту проверь на другом компе.

wfrr ★★☆
()
Ответ на: комментарий от wfrr

>Говорят кирдык твоей флешке, попробуй другую воткнуть, а эту проверь на другом компе.

Вот чем на другую флешку ядро ругается:

[85407.312078] usb 4-6: new high speed USB device using ehci_hcd and address 5
[85407.448428] usb 4-6: configuration #1 chosen from 1 choice
[85407.448986] scsi3 : SCSI emulation for USB Mass Storage devices
[85407.460736] usb 4-6: New USB device found, idVendor=1005, idProduct=b113
[85407.460748] usb 4-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[85407.460753] usb 4-6: Product: USB FLASH DRIVE
[85407.460756] usb 4-6: Manufacturer:
[85407.460759] usb 4-6: SerialNumber: 196B0B065752
[85407.461339] usb-storage: device found at 5
[85407.461345] usb-storage: waiting for device to settle before scanning
[85412.460288] usb-storage: device scan complete
[85412.461131] scsi 3:0:0:0: Direct-Access USB FLASH DRIVE 34CH PQ: 0 ANSI: 0 CCS
[85412.715195] sd 3:0:0:0: [sdc] 2015232 512-byte hardware sectors (1032 MB)
[85412.715941] sd 3:0:0:0: [sdc] Write Protect is off
[85412.715950] sd 3:0:0:0: [sdc] Mode Sense: 23 00 00 00
[85412.715954] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[85412.730186] sd 3:0:0:0: [sdc] 2015232 512-byte hardware sectors (1032 MB)
[85412.730935] sd 3:0:0:0: [sdc] Write Protect is off
[85412.730943] sd 3:0:0:0: [sdc] Mode Sense: 23 00 00 00
[85412.730947] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[85412.730959] sdc:
[85412.732326] sd 3:0:0:0: [sdc] Attached SCSI removable disk
[85413.116837] usb 4-6: reset high speed USB device using ehci_hcd and address 5
[85413.372058] usb 4-6: reset high speed USB device using ehci_hcd and address 5
[85413.620097] usb 4-6: reset high speed USB device using ehci_hcd and address 5
[85413.872072] usb 4-6: reset high speed USB device using ehci_hcd and address 5
[85414.120093] usb 4-6: reset high speed USB device using ehci_hcd and address 5
[85414.375125] usb 4-6: reset high speed USB device using ehci_hcd and address 5
[85414.620060] usb 4-6: reset high speed USB device using ehci_hcd and address 5
[85414.760445] sd 3:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
[85414.760463] end_request: I/O error, dev sdc, sector 2015224

borodun
() автор топика
Ответ на: комментарий от wfrr

Попробовал флешку №2 на старом ядре --- 2.6.18, монтируется.

Опять лог нового ядра с этой же флешкой:
[ 71.752037] usb 4-6: new high speed USB device using ehci_hcd and address 4
[ 71.888276] usb 4-6: configuration #1 chosen from 1 choice
[ 71.888783] usb 4-6: New USB device found, idVendor=1005, idProduct=b113
[ 71.888853] usb 4-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 71.888918] usb 4-6: Product: USB FLASH DRIVE
[ 71.888978] usb 4-6: Manufacturer:
[ 71.889037] usb 4-6: SerialNumber: 196B0B065752
[ 72.012445] Initializing USB Mass Storage driver...
[ 72.015381] scsi0 : SCSI emulation for USB Mass Storage devices
[ 72.016459] usbcore: registered new interface driver usb-storage
[ 72.016534] USB Mass Storage support registered.
[ 72.042586] usb-storage: device found at 4
[ 72.042599] usb-storage: waiting for device to settle before scanning
[ 77.040218] usb-storage: device scan complete
[ 77.041068] scsi 0:0:0:0: Direct-Access USB FLASH DRIVE 34CH PQ: 0 ANSI: 0 CCS
[ 77.122706] Driver 'sd' needs updating - please use bus_type methods
[ 77.345207] sd 0:0:0:0: [sda] 2015232 512-byte hardware sectors (1032 MB)
[ 77.345470] sd 0:0:0:0: [sda] Write Protect is off
[ 77.345470] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 77.345470] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 77.348880] sd 0:0:0:0: [sda] 2015232 512-byte hardware sectors (1032 MB)
[ 77.349633] sd 0:0:0:0: [sda] Write Protect is off
[ 77.349699] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 77.349703] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 77.349778] sda:
[ 77.350982] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 77.744040] usb 4-6: reset high speed USB device using ehci_hcd and address 4
[ 77.992037] usb 4-6: reset high speed USB device using ehci_hcd and address 4
[ 78.240055] usb 4-6: reset high speed USB device using ehci_hcd and address 4
[ 78.488038] usb 4-6: reset high speed USB device using ehci_hcd and address 4
[ 78.736038] usb 4-6: reset high speed USB device using ehci_hcd and address 4
[ 78.984037] usb 4-6: reset high speed USB device using ehci_hcd and address 4
[ 79.120395] sd 0:0:0:0: [sda] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
[ 79.120521] end_request: I/O error, dev sda, sector 2015224

Сначала думал, что вот в чём дело:
Driver 'sd' needs updating - please use bus_type

Но потом на https://bugs.launchpad.net/ubuntu/+source/linux/+bug/186167 вычитал, что это просто предупреждение о том, что драйвер sd использует старый API и из-за этого не может быть никаких проблем...

borodun
() автор топика

У меня например флешка не определяется и в консольку ошибки сыплются если включен принтер (он у меня usb).

Dudraug ★★★★★
()

возможно поможет ядра, у меня на рабочем ноуте с дефолтным примерно так-же не работало.

S_Paul ★★★★★
()
Ответ на: комментарий от S_Paul

Спасибо всем ответившим.
Придётся пересобирать...

borodun
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.