Léa-Linux & amis :   LinuxFR   GCU-Squad   Zarb.Org   GNU
Archive de la liste aide - [Aide] [aide]monter 2 périphériques usb sous Debian
Le 08/04/2014 19:08, pascaudjipe at jipenunux.fr a écrit :
> Le 08/04/2014 19:53, Fred a écrit :
>> Bonsoir la liste,
>>
>> J'essaie de [sujet], et ça ne fonctionne pas.
>>
>> Le 1er pas de souci, parcontre le 2eme ne veut rien savoir, il prend 
>> l'alim électrique, et "parle" avec udisks et se présente, mais udisks 
>> le refuse et il ne se passe rien d'autre dans Nautilus ou la barre 
>> des disques montés.
>>
>>
> A tout hasard, en console root que donne,
> #blkid -g (il ne devrait rien écrire)
> puis
> #blkid (devrait te donner tout ce qui est monté avec label et uuid et 
> système)
>
> mes deux sous
> jipe
>
Merci jipe,

comme prévu blkid -g est muet, et sans option il renvoie bien les 
étiquetttes des 2 périphs...
Tu suggèrerais de modifier fstab avec ces UUID, si je te suis bien?


En tous cas, après cette commande, le 2eme périph se retrouve non monté 
mais listé, et
en le montant l'échange de fichiers entre les 2 est possible, mais super 
lent, et donc
pas envisageable (5 minutes pour 240Ko!)

Suis donc toujours à la recherche d'une solution fiable..

un petit coup de dmesg, j'ai remarqué que le ci-devant "kworker" fait 
pas mal de call traces
et les ai otées pour pas avoir un message trop imbuvable...


usb 1-5: new high-speed USB device number 2 using ehci_hcd
[  102.232855] usb 1-5: New USB device found, idVendor=071b, idProduct=3203
[  102.232860] usb 1-5: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[  102.232863] usb 1-5: Product: ROCK MP3
[  102.232866] usb 1-5: Manufacturer: RockChip
[  102.232868] usb 1-5: SerialNumber: USBV1.00
[  102.347968] Initializing USB Mass Storage driver...
[  102.348281] usb-storage 1-5:1.0: Quirks match for vid 071b pid 3203: 400
[  102.348306] scsi4 : usb-storage 1-5:1.0
[  102.348436] usbcore: registered new interface driver usb-storage
[  102.348439] USB Mass Storage support registered.
[  105.381123] scsi 4:0:0:0: Direct-Access     RockChip USB MP3          
1.00 PQ: 0 ANSI: 0
[  105.381594] scsi 4:0:0:1: Direct-Access     RockChip USB 
SD               PQ: 0 ANSI: 0 CCS
[  105.384353] sd 4:0:0:0: Attached scsi generic sg4 type 0
[  105.386124] sd 4:0:0:1: Attached scsi generic sg5 type 0
[  105.388618] sd 4:0:0:0: [sdc] 7979008 512-byte logical blocks: (4.08 
GB/3.80 GiB)
[  105.389233] sd 4:0:0:1: [sdd] Attached SCSI removable disk
[  105.389730] sd 4:0:0:0: [sdc] Write Protect is off
[  105.389736] sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00
[  105.390233] sd 4:0:0:0: [sdc] No Caching mode page found
[  105.390240] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[  105.393847] sd 4:0:0:0: [sdc] No Caching mode page found
[  105.393854] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[  105.394776]  sdc: sdc1
[  105.398198] sd 4:0:0:0: [sdc] No Caching mode page found
[  105.398206] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[  105.398211] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[  105.968666] FAT-fs (sdc1): utf8 is not a recommended IO charset for 
FAT filesystems, filesystem will be case sensitive!
[  127.832025] usb 1-6: new high-speed USB device number 3 using ehci_hcd
[  127.965689] usb 1-6: New USB device found, idVendor=0bc2, idProduct=3320
[  127.965695] usb 1-6: New USB device strings: Mfr=2, Product=3, 
SerialNumber=1
[  127.965698] usb 1-6: Product: Expansion Desk
[  127.965701] usb 1-6: Manufacturer: Seagate
[  127.965704] usb 1-6: SerialNumber: NA4M1HT5
[  127.966919] scsi5 : usb-storage 1-6:1.0
[  128.964800] scsi 5:0:0:0: Direct-Access     Seagate  Expansion Desk   
0711 PQ: 0 ANSI: 6
[  128.967699] sd 5:0:0:0: Attached scsi generic sg6 type 0
[  128.973675] sd 5:0:0:0: [sde] Spinning up disk.............ready
[  139.020628] sd 5:0:0:0: [sde] 3907029167 512-byte logical blocks: 
(2.00 TB/1.81 TiB)
[  139.030881] sd 5:0:0:0: [sde] Write Protect is off
[  139.030887] sd 5:0:0:0: [sde] Mode Sense: 4f 00 00 00
[  139.031617] sd 5:0:0:0: [sde] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[  139.160022] usb 1-6: reset high-speed USB device number 3 using ehci_hcd
[  139.424020] usb 1-6: reset high-speed USB device number 3 using ehci_hcd
[  139.597120] usb 1-6: device firmware changed
[  139.597143] usb 1-6: USB disconnect, device number 3
[  139.604036] sd 5:0:0:0: [sde] Unhandled error code
[  139.604042] sd 5:0:0:0: [sde]  Result: hostbyte=DID_NO_CONNECT 
driverbyte=DRIVER_OK
[  139.604047] sd 5:0:0:0: [sde] CDB: Read(10): 28 00 00 00 00 00 00 00 
01 00
[  139.604060] end_request: I/O error, dev sde, sector 0
[  139.604066] Buffer I/O error on device sde, logical block 0
[  139.604101] sd 5:0:0:0: [sde] Unhandled error code
[  139.604104] sd 5:0:0:0: [sde]  Result: hostbyte=DID_NO_CONNECT 
driverbyte=DRIVER_OK
[  139.604109] sd 5:0:0:0: [sde] CDB: Read(10): 28 00 00 00 00 01 00 00 
01 00
[  139.604118] end_request: I/O error, dev sde, sector 1
[  139.604122] Buffer I/O error on device sde, logical block 1
[  139.604293] ldm_validate_partition_table(): Disk read failed.
[  139.604433] Dev sde: unable to read RDB block 0
[  139.604615]  sde: unable to read partition table
[  139.605653] sd 5:0:0:0: [sde] READ CAPACITY failed
[  139.605658] sd 5:0:0:0: [sde]  Result: hostbyte=DID_NO_CONNECT 
driverbyte=DRIVER_OK
[  139.605664] sd 5:0:0:0: [sde] Sense not available.
[  139.605696] sd 5:0:0:0: [sde] Asking for cache data failed
[  139.605700] sd 5:0:0:0: [sde] Assuming drive cache: write through
[  139.605704] sd 5:0:0:0: [sde] Attached SCSI disk
[  139.720025] usb 1-6: new high-speed USB device number 4 using ehci_hcd
[  139.853830] usb 1-6: New USB device found, idVendor=0bc2, idProduct=3320
[  139.853835] usb 1-6: New USB device strings: Mfr=2, Product=3, 
SerialNumber=1
[  139.853838] usb 1-6: Product: Expansion Desk
[  139.853841] usb 1-6: Manufacturer: Seagate
[  139.853844] usb 1-6: SerialNumber: 16BF332755FY
[  139.854486] scsi6 : usb-storage 1-6:1.0
[  140.852820] scsi 6:0:0:0: Direct-Access     Seagate  Expansion Desk   
0711 PQ: 0 ANSI: 6
[  140.855703] sd 6:0:0:0: Attached scsi generic sg6 type 0
[  140.858437] sd 6:0:0:0: [sde] Spinning up disk..............
[  182.992023] usb 1-6: reset high-speed USB device number 4 using ehci_hcd
[  184.132014] 
..........................................................not responding...
[  241.368414] sd 6:0:0:0: [sde] 3907029167 512-byte logical blocks: 
(2.00 TB/1.81 TiB)
[  248.293276] sd 6:0:0:0: [sde] Test WP failed, assume Write Enabled
[  255.243093] sd 6:0:0:0: [sde] Asking for cache data failed
[  255.243101] sd 6:0:0:0: [sde] Assuming drive cache: write through
[  255.247206] sd 6:0:0:0: [sde] Spinning up disk........................
[  307.120023] usb 1-6: reset high-speed USB device number 4 using ehci_hcd
[  308.260012] ......................
[  360.144047] usb 1-6: reset high-speed USB device number 4 using ehci_hcd
[  361.284012] .not responding...
[  368.189533] sd 6:0:0:0: [sde] Test WP failed, assume Write Enabled
[  375.139235] sd 6:0:0:0: [sde] Asking for cache data failed
[  375.139243] sd 6:0:0:0: [sde] Assuming drive cache: write through
[  475.216022] usb 1-6: reset high-speed USB device number 4 using ehci_hcd



[  600.240062] INFO: task kworker/u:2:113 blocked for more than 120 seconds.
[  600.240069] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" 
disables this message.
[  600.240073] kworker/u:2     D 00000057     0   113      2 0x00000000
[  600.240079]  f6099140 00000046 580b84f7 00000057 00000000 00000000 
00000057 c1482ac0
[  600.240089]  f60992f0 c1482ac0 00000001 c114f6f1 00000000 00000001 
0000eb0e f60c7d40
[  600.240097]  c100f4b3 c13e3500 0000eb0e f60c7d58 c1053bf0 00c02862 
f6f2cac0 00000000
[  600.240106] Call Trace:
[  600.240121]  [<c114f6f1>] ? submit_bio+0xb9/0xd2
[  600.240127]  [<c100f4b3>] ? read_tsc+0xa/0x28
[  600.240133]  [<c1053bf0>] ? timekeeping_get_ns+0x11/0x55
[  600.240137]  [<c105404b>] ? ktime_get_ts+0x7a/0x82
[  600.240144]  [<c12c37f4>] ? io_schedule+0x4a/0x5f
[  600.240151]  [<c10966f5>] ? sleep_on_page+0x5/0x8
[  600.240155]  [<c12c3a89>] ? __wait_on_bit_lock+0x2d/0x66
[  600.240159]  [<c10966f0>] ? lock_page+0x1d/0x1d
[  600.240163]  [<c10966ce>] ? __lock_page+0x49/0x4e
[  600.240168]  [<c104da09>] ? autoremove_wake_function+0x29/0x29
[  600.240173]  [<c1097024>] ? do_read_cache_page+0x9f/0xf6
[  600.240179]  [<c10ef0a0>] ? blkdev_write_begin+0x35/0x35
[  600.240183]  [<c10970a8>] ? read_cache_page_async+0x14/0x18
[  600.240187]  [<c10ef0a0>] ? blkdev_write_begin+0x35/0x35
[  600.240191]  [<c10970b5>] ? read_cache_page+0x9/0xf
[  600.240196]  [<c110b502>] ? read_dev_sector+0x25/0x59
[  600.240200]  [<c110c10f>] ? adfspart_check_ICS+0x3f/0x1d8
[  600.240206]  [<c1164398>] ? vsnprintf+0x85/0x247
[  600.240210]  [<c1164598>] ? snprintf+0x16/0x18
[  600.240214]  [<c110bdc0>] ? rescan_partitions+0x15c/0x407
[  600.240219]  [<c12c45b6>] ? _raw_spin_unlock_irqrestore+0xb/0xc
[  600.240224]  [<c110c0d0>] ? invalidate_partitions+0x65/0x65
[  600.240228]  [<c10ef8d2>] ? __blkdev_get+0x16d/0x334
[  600.240257]  [<c10efc22>] ? blkdev_get+0x189/0x253
[  600.240261]  [<c104d841>] ? wake_up_bit+0xb/0x16
[  600.240267]  [<c10dcce8>] ? unlock_new_inode+0x31/0x36
[  600.240271]  [<c10eefcf>] ? bdget+0xe1/0xe7
[  600.240278]  [<c1155556>] ? register_disk+0xcb/0x11b
[  600.240282]  [<c1154bd5>] ? blk_register_region+0x1b/0x1f
[  600.240286]  [<c11556f8>] ? add_disk+0x152/0x21f
[  600.240289]  [<c11545fb>] ? disk_map_sector_rcu+0x8a/0x8a
[  600.240293]  [<c1154b0f>] ? get_disk+0x7b/0x7b
[  600.240306]  [<f82aa9b5>] ? sd_probe_async+0xee/0x178 [sd_mod]
[  600.240310]  [<c10526bc>] ? async_run_entry_fn+0x8d/0x125
[  600.240316]  [<c1049ebb>] ? process_one_work+0x12a/0x209
[  600.240320]  [<c104abd7>] ? worker_thread+0xa9/0x122
[  600.240324]  [<c104ab2e>] ? manage_workers.isra.25+0x13d/0x13d
[  600.240328]  [<c104d533>] ? kthread+0x63/0x68
[  600.240332]  [<c104d4d0>] ? kthread_worker_fn+0x101/0x101
[  600.240338]  [<c12c93fe>] ? kernel_thread_helper+0x6/0x10





[ 2077.580188] usb 1-6: USB disconnect, device number 4
[ 2077.582560] sd 6:0:0:0: [sde] Unhandled error code
[ 2077.582566] sd 6:0:0:0: [sde]  Result: hostbyte=DID_ERROR 
driverbyte=DRIVER_OK
[ 2077.582571] sd 6:0:0:0: [sde] CDB: Read(10): 28 00 00 00 00 00 00 00 
01 00
[ 2077.582583] end_request: I/O error, dev sde, sector 0
[ 2077.582590] Buffer I/O error on device sde, logical block 0
[ 2077.582629] sd 6:0:0:0: [sde] Unhandled error code
[ 2077.582633] sd 6:0:0:0: [sde]  Result: hostbyte=DID_NO_CONNECT 
driverbyte=DRIVER_OK
[ 2077.582637] sd 6:0:0:0: [sde] CDB: Read(10): 28 00 00 00 00 01 00 00 
01 00
[ 2077.582646] end_request: I/O error, dev sde, sector 1
[ 2077.582650] Buffer I/O error on device sde, logical block 1
[ 2077.582817] ldm_validate_partition_table(): Disk read failed.
[ 2077.582945] Dev sde: unable to read RDB block 0
[ 2077.583111]  sde: unable to read partition table
[ 2077.586862] sd 6:0:0:0: [sde] READ CAPACITY failed
[ 2077.586868] sd 6:0:0:0: [sde]  Result: hostbyte=DID_NO_CONNECT 
driverbyte=DRIVER_OK
[ 2077.586874] sd 6:0:0:0: [sde] Sense not available.
[ 2077.586905] sd 6:0:0:0: [sde] Asking for cache data failed
[ 2077.586910] sd 6:0:0:0: [sde] Assuming drive cache: write through
[ 2077.586914] sd 6:0:0:0: [sde] Attached SCSI disk
[ 2077.589946] WARNING! power/level is deprecated; use power/control instead
[ 2078.045607] usb 1-5: USB disconnect, device number 2
[ 2086.596077] usb 1-5: new high-speed USB device number 5 using ehci_hcd
[ 2086.728885] usb 1-5: New USB device found, idVendor=071b, idProduct=3203
[ 2086.728891] usb 1-5: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[ 2086.728895] usb 1-5: Product: ROCK MP3
[ 2086.728897] usb 1-5: Manufacturer: RockChip
[ 2086.728900] usb 1-5: SerialNumber: USBV1.00
[ 2086.730108] usb-storage 1-5:1.0: Quirks match for vid 071b pid 3203: 400
[ 2086.730138] scsi7 : usb-storage 1-5:1.0
[ 2089.761069] scsi 7:0:0:0: Direct-Access     RockChip USB MP3          
1.00 PQ: 0 ANSI: 0
[ 2089.761517] scsi 7:0:0:1: Direct-Access     RockChip USB 
SD               PQ: 0 ANSI: 0 CCS
[ 2089.764317] sd 7:0:0:0: Attached scsi generic sg4 type 0
[ 2089.766046] sd 7:0:0:1: Attached scsi generic sg5 type 0
[ 2089.768421] sd 7:0:0:0: [sdc] 7979008 512-byte logical blocks: (4.08 
GB/3.80 GiB)
[ 2089.769033] sd 7:0:0:1: [sdd] Attached SCSI removable disk
[ 2089.769529] sd 7:0:0:0: [sdc] Write Protect is off
[ 2089.769534] sd 7:0:0:0: [sdc] Mode Sense: 03 00 00 00
[ 2089.770027] sd 7:0:0:0: [sdc] No Caching mode page found
[ 2089.770033] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[ 2089.773541] sd 7:0:0:0: [sdc] No Caching mode page found
[ 2089.773548] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[ 2089.774455]  sdc: sdc1
[ 2089.776898] sd 7:0:0:0: [sdc] No Caching mode page found
[ 2089.776906] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[ 2089.776911] sd 7:0:0:0: [sdc] Attached SCSI removable disk
[ 2090.260770] FAT-fs (sdc1): utf8 is not a recommended IO charset for 
FAT filesystems, filesystem will be case sensitive!
[ 2828.668030] usb 1-6: new high-speed USB device number 6 using ehci_hcd
[ 2828.801864] usb 1-6: New USB device found, idVendor=0bc2, idProduct=3320
[ 2828.801870] usb 1-6: New USB device strings: Mfr=2, Product=3, 
SerialNumber=1
[ 2828.801874] usb 1-6: Product: Expansion Desk
[ 2828.801877] usb 1-6: Manufacturer: Seagate
[ 2828.801880] usb 1-6: SerialNumber: 16BF332755FY
[ 2828.802409] scsi8 : usb-storage 1-6:1.0
[ 2829.800848] scsi 8:0:0:0: Direct-Access     Seagate  Expansion Desk   
0711 PQ: 0 ANSI: 6
[ 2829.802180] sd 8:0:0:0: Attached scsi generic sg6 type 0
[ 2829.805080] sd 8:0:0:0: [sde] Spinning up disk.............ready
[ 2839.844660] sd 8:0:0:0: [sde] 3907029167 512-byte logical blocks: 
(2.00 TB/1.81 TiB)
[ 2839.901922] usb 1-6: USB disconnect, device number 6
[ 2839.902082] sd 8:0:0:0: [sde] Write Protect is off
[ 2839.902087] sd 8:0:0:0: [sde] Mode Sense: 4f 00 00 00
[ 2839.902117] sd 8:0:0:0: [sde] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[ 2839.904889] sd 8:0:0:0: [sde] READ CAPACITY failed
[ 2839.904895] sd 8:0:0:0: [sde]  Result: hostbyte=DID_NO_CONNECT 
driverbyte=DRIVER_OK
[ 2839.904900] sd 8:0:0:0: [sde] Sense not available.
[ 2839.904949] sd 8:0:0:0: [sde] No Caching mode page found
[ 2839.904954] sd 8:0:0:0: [sde] Assuming drive cache: write through
[ 2839.904960] sde: detected capacity change from 2000398933504 to 0
[ 2839.905129] sd 8:0:0:0: [sde] READ CAPACITY failed
[ 2839.905133] sd 8:0:0:0: [sde]  Result: hostbyte=DID_NO_CONNECT 
driverbyte=DRIVER_OK
[ 2839.905137] sd 8:0:0:0: [sde] Sense not available.
[ 2839.905166] sd 8:0:0:0: [sde] No Caching mode page found
[ 2839.905169] sd 8:0:0:0: [sde] Assuming drive cache: write through
[ 2839.905172] sd 8:0:0:0: [sde] Attached SCSI disk
[ 2855.520026] usb 1-6: new high-speed USB device number 7 using ehci_hcd
[ 2855.653760] usb 1-6: New USB device found, idVendor=0bc2, idProduct=3320
[ 2855.653766] usb 1-6: New USB device strings: Mfr=2, Product=3, 
SerialNumber=1
[ 2855.653770] usb 1-6: Product: Expansion Desk
[ 2855.653772] usb 1-6: Manufacturer: Seagate
[ 2855.653775] usb 1-6: SerialNumber: NA4M1HT5
[ 2855.654996] scsi9 : usb-storage 1-6:1.0
[ 2856.652872] scsi 9:0:0:0: Direct-Access     Seagate  Expansion Desk   
0711 PQ: 0 ANSI: 6
[ 2856.655770] sd 9:0:0:0: Attached scsi generic sg6 type 0
[ 2856.658487] sd 9:0:0:0: [sde] Spinning up disk......ready
[ 2859.668728] sd 9:0:0:0: [sde] 3907029167 512-byte logical blocks: 
(2.00 TB/1.81 TiB)
[ 2859.674234] sd 9:0:0:0: [sde] Write Protect is off
[ 2859.674240] sd 9:0:0:0: [sde] Mode Sense: 4f 00 00 00
[ 2859.675094] sd 9:0:0:0: [sde] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[ 2859.701264]  sde: sde1
[ 2859.705378] sd 9:0:0:0: [sde] Attached SCSI disk
[ 2890.192032] usb 1-6: reset high-speed USB device number 7 using ehci_hcd
[ 2922.192034] usb 1-6: reset high-speed USB device number 7 using ehci_hcd
[ 2953.168031] usb 1-6: reset high-speed USB device number 7 using ehci_hcd
[ 2985.168039] usb 1-6: reset high-speed USB device number 7 using ehci_hcd
[ 3016.144023] usb 1-6: reset high-speed USB device number 7 using ehci_hcd
[ 3051.120043] usb 1-6: reset high-speed USB device number 7 using ehci_hcd
[ 3082.192036] usb 1-6: reset high-speed USB device number 7 using ehci_hcd


-- 
Fred

Ah, si chaque grain de sable choisissait d'apporter sa goutte d'eau, hein ?


Serveur hébergé par ST-Hebergement et Lost-Oasis / IRC hébergé par FreeNode / NS secondaire hébergé par XName
Sauf mention contraire, les documentations publiées sont sous licence Creative-Commons