Cle memoire USB & fdisk (tetes, secteurs, cylindres)

Pàgina inicial

Reply to this message
Autor: olivier.eribon
Data:  
A: guilde
Assumpte: Cle memoire USB & fdisk (tetes, secteurs, cylindres)
Bonjour,

Je rencontre des problemes avec une cle memoire USB de la marque PNY de 128Mo.

Sur mon PC (linux 2.4.18-6mdk ) au plug dmesg donne :

usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor:           Model: USB DISK 20X      Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 243712 512-byte hdwr sectors (125 MB)
sda: Write Protect is off
 /dev/scsi/host0/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.


et un fdisk /dev/sda
Disque /dev/sda : 16 têtes, 32 secteurs, 476 cylindres
Unités = cylindres sur 512 * 512 octets
Périphérique Amorce    Début       Fin    Blocs   Id  Système
/dev/sda1   *         1       476    121840    6  FAT16


Alors que sur mon powerpc (ibm405 -linux 2.4.18 montavista 3.0) le plug donne :

hub.c: USB new device connect on bus1/1, assigned device number 2
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor:           Model: USB DISK 20X      Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 243712 512-byte hdwr sectors (125 MB)
sda: Write Protect is off
 sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2


et un fdisk /dev/sda
Disk /dev/sda: 4 heads, 60 sectors, 1015 cylinders
Units = cylinders of 240 * 512 bytes
   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1      1016    121840    6  FAT16
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(0, 1, 1) logical=(0, 0, 33)
Partition 1 has different physical/logical endings:
     phys=(475, 15, 32) logical=(1015, 1, 52)
Partition 1 does not end on cylinder boundary:
     phys=(475, 15, 32) should be (475, 3, 60)



Pourquoi cette variation sur fdisk (tetes, secteurs, cylindres) ?
Le message "USB Mass Storage support registered." est t'il fondamentale !!?

Si vous avez des pistes.

Cordialement

Olivier