USB Mass Storage

mistralazur Messages postés 3 Date d'inscription   Statut Membre -  
 daucourt -
Salut braves gens,

J'utilise un lecteur de carte USB Smart Media - KERNEL by SCM - il était détecté par Mandriva 2006 mais plus par Mandriva 2007...

Voici ce que donne # dmesg | grep -i usb

usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v3.0
uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
usb 1-2: new low speed USB device using uhci_hcd and address 3
usb 1-2: configuration #1 chosen from 1 choice
usbcore: registered new driver hiddev
input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse® Optical] on usb-00
00:00:04.2-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver usbmouse
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 1-1: reset full speed USB device using uhci_hcd and address 2
usb 1-1: device not accepting address 2, error -32
usb 1-1: reset full speed USB device using uhci_hcd and address 2
usb 1-1: device not accepting address 2, error -32
usb 1-1: reset full speed USB device using uhci_hcd and address 2
usb 1-1: device descriptor read/64, error -32
usb 1-1: device descriptor read/64, error -32
usb 1-1: reset full speed USB device using uhci_hcd and address 2
usb 1-1: device descriptor read/64, error -32
usb 1-1: device descriptor read/64, error -32
usb 1-1: USB disconnect, address 2
usb 1-1: new full speed USB device using uhci_hcd and address 4
usb 1-1: device not accepting address 4, error -71
usb 1-1: new full speed USB device using uhci_hcd and address 5
usb 1-1: device not accepting address 5, error -71
usb 1-1: new full speed USB device using uhci_hcd and address 6
usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
usb 1-1: new full speed USB device using uhci_hcd and address 7
usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver

PRECISION : je n'utilise pas d'imprimante USB comme semble l'indiquer la dernière ligne.
Dans /etc/fstab il y a /dev/sda1 /mnt/smart vfat defaults,rw,user,noauto 0 0
J'ai compilé le noyau comme il faut.
MAIS RIEN DE RIEN sauf qu'au lancement j'ai le message:
SCSI_ID unable to access block /dev/sda

Une âme charitable parmi vous pourra-t-elle m'aider ?
Configuration: Linux Mandriva 2007
Pentium II 266 Mhz
128 Mo Ram
Firefox 1.5.0.9

5 réponses

  1. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 944
     
    A priori c'est un problème noyau. Essaye de mettre la dernière kernel image (ou linux image) disponible dans ton gestionnaire de paquetage et reboote dessus. Si tu tiens vraiment à compiler ton kernel, essaye de compiler une version plus récente.

    A noter que compiler son kernel à un intérêt limité si tout marche avec le noyau classique. Au besoin il est toujours possible de mettre les kernel-headers (linux-headers) associés.

    Bonne chance
    0
  2. tlep Messages postés 597 Statut Membre 118
     
    Je pense que tu devrais d'abord "écouter" ton noyau :
    1/ Débranche la carte
    2/ Lance la commande:
    watch 'cat /proc/bus/usb/devices|wc -l'
    Ca te donne le nombre de lignes concernées par le noyau concernant les devices de type "usb";
    3/ Branche la carte concernée

    -> Le nombre de lignes change-t-il ?

    Si oui, examine ce fichier /proc/bus/usb/devices
    (cat /proc/usb/devices)
    Puis examine les syslog selon le même principe (brancher/débrancher):
    tail -f /var/log/syslog
    et/ou
    tail -f /var/log/kern.log
    0
  3. mistralazur Messages postés 3 Date d'inscription   Statut Membre
     
    Bonjour et merci pour votre aide.

    Pour répondre voici ce que donnent les commandes indiquées par tlep:
    [root@colline eric]# cat /proc/bus/usb/devices

    T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
    B: Alloc= 93/900 us (10%), #Int= 1, #Iso= 0
    D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
    P: Vendor=0000 ProdID=0000 Rev= 2.06
    S: Manufacturer=Linux 2.6.17-5mdv uhci_hcd
    S: Product=UHCI Host Controller
    S: SerialNumber=0000:00:04.2
    C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
    I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
    E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

    T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0
    D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
    P: Vendor=045e ProdID=0039 Rev= 1.21
    S: Manufacturer=Microsoft
    S: Product=Microsoft IntelliMouse® Optical
    C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
    I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
    E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms
    [root@colline eric]# tail -f /var/log/syslog
    Mar 7 13:42:10 localhost scsi_id[4407]: scsi_id: unable to access '/block/sda'
    Mar 7 13:42:10 localhost scsi_id[4408]: scsi_id: unable to access '/block/sda'
    Mar 7 13:42:11 localhost kernel: usb 1-1: device not accepting address 19, error -71
    Mar 7 13:42:11 localhost kernel: usb 1-1: new full speed USB device using uhci_hcd and address 20
    Mar 7 13:42:11 localhost kernel: usb 1-1: device not accepting address 20, error -71
    Mar 7 13:42:11 localhost kernel: usb 1-1: new full speed USB device using uhci_hcd and address 21
    Mar 7 13:42:11 localhost kernel: usb 1-1: device descriptor read/64, error -71
    Mar 7 13:42:12 localhost kernel: usb 1-1: device descriptor read/64, error -71
    Mar 7 13:42:12 localhost kernel: usb 1-1: new full speed USB device using uhci_hcd and address 22
    Mar 7 13:42:12 localhost kernel: usb 1-1: device descriptor read/64, error -71

    Mar 7 13:42:12 localhost kernel: usb 1-1: device descriptor read/64, error -71
    Mar 7 13:46:22 localhost kernel: usb 1-1: new full speed USB device using uhci_hcd and address 23
    Mar 7 13:46:22 localhost kernel: usb 1-1: configuration #1 chosen from 1 choice
    Mar 7 13:46:22 localhost kernel: scsi5 : SCSI emulation for USB Mass Storage devices
    Mar 7 13:46:22 localhost kernel: usb-storage: device found at 23
    Mar 7 13:46:22 localhost kernel: usb-storage: waiting for device to settle before scanning
    Mar 7 13:46:27 localhost kernel: Vendor: Sandisk0 Model: ImageMate SDDR09 Rev: 0100
    Mar 7 13:46:27 localhost kernel: Type: Direct-Access ANSI SCSI revision: 00
    Mar 7 13:46:27 localhost kernel: usb 1-1: reset full speed USB device using uhci_hcd and address 23
    Mar 7 13:46:27 localhost kernel: usb 1-1: device not accepting address 23, error -32
    Mar 7 13:46:28 localhost kernel: usb 1-1: reset full speed USB device using uhci_hcd and address 23
    Mar 7 13:46:28 localhost kernel: usb 1-1: device not accepting address 23, error -32
    Mar 7 13:46:28 localhost kernel: usb 1-1: reset full speed USB device using uhci_hcd and address 23
    Mar 7 13:46:28 localhost kernel: usb 1-1: device descriptor read/64, error -32
    Mar 7 13:46:28 localhost kernel: usb 1-1: device descriptor read/64, error -32
    Mar 7 13:46:29 localhost kernel: usb 1-1: reset full speed USB device using uhci_hcd and address 23
    Mar 7 13:46:29 localhost kernel: usb 1-1: device descriptor read/64, error -32
    Mar 7 13:46:29 localhost kernel: usb 1-1: device descriptor read/64, error -32
    Mar 7 13:46:29 localhost kernel: usb 1-1: USB disconnect, address 23
    Mar 7 13:46:29 localhost kernel: sda : READ CAPACITY failed.
    Mar 7 13:46:29 localhost kernel: sda : status=0, message=00, host=1, driver=00
    Mar 7 13:46:29 localhost kernel: sda : sense not available.
    Mar 7 13:46:29 localhost kernel: sda: Write Protect is off
    Mar 7 13:46:29 localhost kernel: sda: Mode Sense: 00 00 00 00
    Mar 7 13:46:29 localhost kernel: sda: assuming drive cache: write through
    Mar 7 13:46:29 localhost kernel: sda : READ CAPACITY failed.
    Mar 7 13:46:29 localhost kernel: sda : status=0, message=00, host=1, driver=00
    Mar 7 13:46:29 localhost kernel: sda : sense not available.
    Mar 7 13:46:29 localhost kernel: sda: Write Protect is off
    Mar 7 13:46:29 localhost kernel: sda: Mode Sense: 00 00 00 00
    Mar 7 13:46:29 localhost kernel: sda: assuming drive cache: write through
    Mar 7 13:46:29 localhost kernel: sda : READ CAPACITY failed.
    Mar 7 13:46:29 localhost kernel: sda : status=0, message=00, host=1, driver=00
    Mar 7 13:46:29 localhost kernel: sda : sense not available.
    Mar 7 13:46:29 localhost kernel: sda: Write Protect is off
    Mar 7 13:46:29 localhost kernel: sda: Mode Sense: 00 00 00 00
    Mar 7 13:46:29 localhost kernel: sda: assuming drive cache: write through
    Mar 7 13:46:29 localhost kernel: sda:<3>Buffer I/O error on device sda, logical block 0
    Mar 7 13:46:29 localhost kernel: Buffer I/O error on device sda, logical block 0
    Mar 7 13:46:29 localhost kernel: Buffer I/O error on device sda, logical block 0
    Mar 7 13:46:29 localhost kernel: unable to read partition table
    Mar 7 13:46:29 localhost kernel: sd 5:0:0:0: Attached scsi removable disk sda
    Mar 7 13:46:29 localhost kernel: sd 5:0:0:0: Attached scsi generic sg0 type 0
    Mar 7 13:46:29 localhost kernel: usb-storage: device scan complete
    Mar 7 13:46:29 localhost kernel: usb 1-1: new full speed USB device using uhci_hcd and address 24
    Mar 7 13:46:29 localhost usb_id[5232]: usb_id: unable to access '/block/sda'
    Mar 7 13:46:29 localhost scsi_id[5234]: scsi_id: unable to access '/block/sda'
    Mar 7 13:46:29 localhost scsi_id[5236]: scsi_id: unable to access '/block/sda'
    Mar 7 13:46:30 localhost kernel: usb 1-1: device not accepting address 24, error -71
    Mar 7 13:46:30 localhost kernel: usb 1-1: new full speed USB device using uhci_hcd and address 25
    Mar 7 13:46:30 localhost kernel: usb 1-1: device not accepting address 25, error -71
    Mar 7 13:46:30 localhost kernel: usb 1-1: new full speed USB device using uhci_hcd and address 26
    Mar 7 13:46:30 localhost kernel: usb 1-1: device descriptor read/64, error -71
    Mar 7 13:46:31 localhost kernel: usb 1-1: device descriptor read/64, error -71
    Mar 7 13:46:31 localhost kernel: usb 1-1: new full speed USB device using uhci_hcd and address 27
    Mar 7 13:46:31 localhost kernel: usb 1-1: device descriptor read/64, error -71
    0
  4. mistralazur Messages postés 3 Date d'inscription   Statut Membre
     
    Bonjour,

    Linux c'est bien ... quand tout marche !
    Et bien chez moi toujours le même problème.

    H e l p
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 944
     
    Est ce que tu as essayé de monter ta carte en sync ? Moi par exemple pour écrire sur mon téléphone portable j'ai été obligé de rajouter cette option, sinon ça fait un peu nimp :
    /dev/phone      /mnt/phone      vfat            noauto,user,users,uid=mando,quiet,rw,exec,sync  0       0

    Avec un peu de chance ca suffira ? Ca suppose bien sûr que linux arrive à creer le device (ici je l'ai appelé /dev/phopne)

    Bonne chance
    0
    1. daucourt
       
      J'ai eu le même problème : c'est le cable USB.

      Un cable court fonctionne avec l'imprimante
      Un cable long ne fonctionne plus

      Mais les deux cables (long et court) fonctionnent avec mon disque USB

      Allez comprendre...
      0