Forum général.général Plantage UMS

Posté par  .
Étiquettes :
0
22
oct.
2004
Bonjour

J'ai un probleme en utilisant UMS avec Linux 2.6.8. Pour etre plus précis, j'utilise un disque dur externe en USB 2.0 (80Go), et un lecteur MP3. Ceux ci fonctionnent nickel sous Windows et sur d'autre linux aussi. Mais chez moi je ne sais pas pourquoi, ils plantent.
Quand je veux lire tout marche très bien, les débits sont elevés (USB2), etc etc
Mais quand j'écrit c'est la que ca plante: Si j'écrit un petit fichier, disons 2 - 5 Mo, ca marche. Mais quand je copie plein de fichier d'un coup ca plante. Ca a l'air de planter vers les 30-40 Mo, je ne sais pas pourquoi. Et ca me fait ca aussi bien avec des petits fichiers ou un gros fichier. La copie se lance, et au bout d'un moment ca s'arrete. Je doute qu'il s'agisse d'un secteur défectueux vu que fsck corrige tout correctement après et pis, sous 'dows ca devrait aussi planté.
Erreur de /var/log/kernel

Oct 22 16:38:52 Gaetan kernel: usb 5-1: new full speed USB device using address 3
Oct 22 16:38:52 Gaetan kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Oct 22 16:38:52 Gaetan kernel: Vendor: FL Model: Nex IA+ Digital Rev: 0001
Oct 22 16:38:52 Gaetan kernel: Type: Direct-Access ANSI SCSI revision: 02
Oct 22 16:38:52 Gaetan kernel: SCSI device sda: 2717908992 512-byte hdwr sectors (1391569 MB)
Oct 22 16:38:52 Gaetan kernel: sda: test WP failed, assume Write Enabled
Oct 22 16:38:52 Gaetan kernel: sda: assuming drive cache: write through
Oct 22 16:38:52 Gaetan kernel: Device not ready. Make sure there is a disc in the drive.

====> keske c que cette erreur device not ready?


Oct 22 16:38:52 Gaetan kernel: /dev/scsi/host2/bus0/target0/lun0: p1
Oct 22 16:38:52 Gaetan kernel: Device not ready. Make sure there is a disc in the drive.
Oct 22 16:38:52 Gaetan kernel: Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
Oct 22 16:38:52 Gaetan kernel: Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0, type 0
Oct 22 16:38:52 Gaetan kernel: USB Mass Storage device found at 3
Oct 22 16:38:56 Gaetan kernel: Device not ready. Make sure there is a disc in the drive.

===> a lecture depuis le périf, nickel. Puis copie d'un petit fichier, ok.
Puis écrire d'un dossier de 80 Mo

Oct 22 16:39:28 Gaetan last message repeated 40 times
Oct 22 16:40:17 Gaetan last message repeated 18 times
Oct 22 16:41:12 Gaetan last message repeated 14 times
Oct 22 16:43:17 Gaetan kernel: usb 5-1: reset full speed USB device using address 3
Oct 22 16:43:17 Gaetan kernel: usb 5-1: device not accepting address 3, error -22
Oct 22 16:43:17 Gaetan kernel: scsi: Device offlined - not ready after error recovery: host 2 channel 0 id 0 lun 0
Oct 22 16:43:17 Gaetan kernel: SCSI error : <2 0 0 0> return code = 0x50000
Oct 22 16:43:17 Gaetan kernel: end_request: I/O error, dev sda, sector 97263
Oct 22 16:43:17 Gaetan kernel: Buffer I/O error on device sda1, logical block 97231
Oct 22 16:43:17 Gaetan kernel: lost page write due to I/O error on sda1
Oct 22 16:43:17 Gaetan kernel: Buffer I/O error on device sda1, logical block 97232
Oct 22 16:43:17 Gaetan kernel: lost page write due to I/O error on sda1
Oct 22 16:43:17 Gaetan kernel: Buffer I/O error on device sda1, logical block 97233
Oct 22 16:43:17 Gaetan kernel: lost page write due to I/O error on sda1
Oct 22 16:43:17 Gaetan kernel: Buffer I/O error on device sda1, logical block 97234
Oct 22 16:43:17 Gaetan kernel: lost page write due to I/O error on sda1
Oct 22 16:43:17 Gaetan kernel: Buffer I/O error on device sda1, logical block 97235
Oct 22 16:43:17 Gaetan kernel: lost page write due to I/O error on sda1
Oct 22 16:43:17 Gaetan kernel: Buffer I/O error on device sda1, logical block 97236
Oct 22 16:43:17 Gaetan kernel: lost page write due to I/O error on sda1
Oct 22 16:43:17 Gaetan kernel: Buffer I/O error on device sda1, logical block 97237
Oct 22 16:43:17 Gaetan kernel: lost page write due to I/O error on sda1
Oct 22 16:43:17 Gaetan kernel: Buffer I/O error on device sda1, logical block 97238
Oct 22 16:43:17 Gaetan kernel: lost page write due to I/O error on sda1
Oct 22 16:43:17 Gaetan kernel: Buffer I/O error on device sda1, logical block 97239
Oct 22 16:43:17 Gaetan kernel: lost page write due to I/O error on sda1
Oct 22 16:43:17 Gaetan kernel: Buffer I/O error on device sda1, logical block 97240
Oct 22 16:43:17 Gaetan kernel: lost page write due to I/O error on sda1
Oct 22 16:43:17 Gaetan kernel: scsi2 (0:0): rejecting I/O to offline device
Oct 22 16:43:17 Gaetan last message repeated 2 times
Oct 22 16:43:17 Gaetan kernel: usb 5-1: USB disconnect, address 3
Oct 22 16:43:17 Gaetan kernel: scsi2 (0:0): rejecting I/O to device being removed
Oct 22 16:43:17 Gaetan last message repeated 118 times
Oct 22 16:43:17 Gaetan kernel: SCSI error: host 2 id 0 lun 0 return code = 4000000
Oct 22 16:43:17 Gaetan kernel: ^ISense class 0, sense error 0, extended sense 0
Oct 22 16:43:17 Gaetan kernel: scsi2 (0:0): rejecting I/O to device being removed
Oct 22 16:43:18 Gaetan last message repeated 746 times
Oct 22 16:43:18 Gaetan kernel: FAT: unable to read inode block for updating (i_pos 1617794)
Oct 22 16:43:18 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:18 Gaetan kernel: FAT: bread(block 167) in fat_access failed
Oct 22 16:43:18 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:18 Gaetan kernel: FAT: bread(block 167) in fat_access failed
Oct 22 16:43:18 Gaetan kernel: usb 5-1: new full speed USB device using address 4
Oct 22 16:43:18 Gaetan kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Oct 22 16:43:18 Gaetan kernel: Vendor: FL Model: Nex IA+ Digital Rev: 0001
Oct 22 16:43:18 Gaetan kernel: Type: Direct-Access ANSI SCSI revision: 02
Oct 22 16:43:18 Gaetan kernel: SCSI device sdb: 2717908992 512-byte hdwr sectors (1391569 MB)
Oct 22 16:43:18 Gaetan kernel: sdb: test WP failed, assume Write Enabled
Oct 22 16:43:18 Gaetan kernel: sdb: assuming drive cache: write through
Oct 22 16:43:18 Gaetan kernel: Device not ready. Make sure there is a disc in the drive.
Oct 22 16:43:18 Gaetan kernel: /dev/scsi/host3/bus0/target0/lun0: p1
Oct 22 16:43:18 Gaetan kernel: Device not ready. Make sure there is a disc in the drive.
Oct 22 16:43:18 Gaetan kernel: Attached scsi removable disk sdb at scsi3, channel 0, id 0, lun 0
Oct 22 16:43:18 Gaetan kernel: Attached scsi generic sg0 at scsi3, channel 0, id 0, lun 0, type 0
Oct 22 16:43:18 Gaetan kernel: USB Mass Storage device found at 4
Oct 22 16:43:22 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:22 Gaetan kernel: FAT: Directory bread(block 487) failed
Oct 22 16:43:22 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:22 Gaetan kernel: FAT: Directory bread(block 488) failed
Oct 22 16:43:22 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:22 Gaetan kernel: FAT: Directory bread(block 489) failed
Oct 22 16:43:22 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:22 Gaetan kernel: FAT: Directory bread(block 490) failed
Oct 22 16:43:22 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:22 Gaetan kernel: FAT: Directory bread(block 491) failed
Oct 22 16:43:22 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:22 Gaetan kernel: FAT: Directory bread(block 492) failed
Oct 22 16:43:22 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:22 Gaetan kernel: FAT: Directory bread(block 493) failed
Oct 22 16:43:22 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:22 Gaetan kernel: FAT: Directory bread(block 494) failed
Oct 22 16:43:22 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:22 Gaetan kernel: FAT: Directory bread(block 495) failed
Oct 22 16:43:22 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:22 Gaetan kernel: FAT: Directory bread(block 496) failed
Oct 22 16:43:22 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:22 Gaetan kernel: FAT: Directory bread(block 497) failed
Oct 22 16:43:22 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device

...

Oct 22 16:43:26 Gaetan kernel: FAT: Directory bread(block 135605) failed
Oct 22 16:43:26 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:26 Gaetan kernel: FAT: Directory bread(block 135606) failed
Oct 22 16:43:42 Gaetan kernel: scsi2 (0:0): rejecting I/O to dead device
Oct 22 16:43:42 Gaetan kernel: FAT: unable to read inode block for updating (i_pos 1617794)
Oct 22 16:43:47 Gaetan kernel: usb-storage: Error in device_reset: invalid state -538528072


Et ca me fait ca avec le NexIA (carte flash dedans), mon disque externe (80 Go en FAT32)
Je pense pas que ca vienne de la FAT32 vu que j'ai une autre partition sur mon ordi qui est en FAT32 et celle la marche très bien

Niveau matos:
Carte mere GA-7VT600 1394 avec chipset KT600, VT8237 (USB2.0). Athlon 2000+
Noyau: kernel 2.6.8, debian sid
Ca m'avait déja fait des erreurs de ce genre sur une clé usb lorsque je me faisais une LSF sur cette clé avec un noyau 2.4.25
Et ca me faisait aussi le meme probleme sur un autre pc. Donc je pense que ca vient de linux et pas du matos (driver? mauvaise config de qque chose???)

any idée??? c'est vraiment embetant de ne pas utiliser mes dd externes!!!

Merci d'avance

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.