Lecteur de cartes mémoire

Lecteur de cartes mémoire - Hardware - Linux et OS Alternatifs

Marsh Posté le 30-10-2004 à 17:03:59    

Hello à tous,
 
Je n'arrive pas à faire fonctionner un lecteur de cartes mémoire 4en1 générique.
J'utilise hotplug et discover sous Debian, et un kernel 2.6.9
Lors du boot, il bloque à "Initializing USB Mass Storage Driver"
Si je débranche le lecteur (au bout de qq minutes), le boot continue normalement.
 
A noter que ça fait la même chose depuis le 2.6.3 (version à laquelle je suis passé au 2.6), avec des kernels précompilés ou perso.
ça fonctionne bien avec les kernels 2.4.x  :pfff:  
 
Voici ma configuration, au niveau kernel:

<*> SCSI device support
[*]   legacy /proc/scsi/ support
---   SCSI support type (disk, tape, CD-ROM)
<M>   SCSI disk support
< >   SCSI tape support
< >   SCSI OnStream SC-x0 tape support
< >   SCSI CDROM support
<M>   SCSI generic support
---   Some SCSI devices (e.g. CD jukebox) support multiple LUNs
[*]   Probe all LUNs on each SCSI device
[*]   Verbose SCSI error reporting (kernel size +=12K)
[*]   SCSI logging facility
 
-------------------
 
<M>   USB Mass Storage support
[*]     USB Mass Storage verbose debug
[*]     USB Mass Storage Write-Protected Media Detection (EXPERIMENTAL)


 
J'ai essayé plusieurs combinaisons, en mettant en dur ou en module, mais à chaque fois le même résultat :(
 
Voici mes logs:

Initializing USB Mass Storage driver...
usb-storage: USB Mass Storage device detected
usb-storage: -- associate_dev
usb-storage: Vendor: 0x1019, Product: 0x0c55, Revision: 0x0100
usb-storage: Interface Subclass: 0x06, Protocol: 0x50
usb-storage: Vendor: Generic ,  Product: USB Storage Device
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1
usb-storage: GetMaxLUN command result is 1, data is 3
usb-storage: Sending UCR-61S2B initialization packet...
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Getting status packet...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code -84; transferred 0/13
usb-storage: -- unknown error
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: queuecommand called
usb-storage: *** thread sleeping.
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage:  12 00 00 00 24 00
usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code -71; transferred 31/31
usb-storage: -- unknown error
usb-storage: Bulk command transfer result=4
usb-storage: -- transport indicates error, resetting
usb-storage: usb_stor_Bulk_reset called
usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value=0000 index=00 len=0
usb-storage: Soft reset failed: -71
usb-storage: scsi cmd done, result=0x70000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage:  12 00 00 00 24 00
usb-storage: Bulk Command S 0x43425355 T 0x2 L 36 F 128 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code -71; transferred 31/31
usb-storage: -- unknown error
usb-storage: Bulk command transfer result=4
usb-storage: -- transport indicates error, resetting
usb-storage: usb_stor_Bulk_reset called
usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value=0000 index=00 len=0
usb-storage: Soft reset failed: -71
usb-storage: scsi cmd done, result=0x70000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage:  12 00 00 00 24 00
usb-storage: Bulk Command S 0x43425355 T 0x3 L 36 F 128 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code -71; transferred 31/31
usb-storage: -- unknown error
usb-storage: Bulk command transfer result=4
usb-storage: -- transport indicates error, resetting
usb-storage: usb_stor_Bulk_reset called
usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value=0000 index=00 len=0
usb-storage: Soft reset failed: -71
usb-storage: scsi cmd done, result=0x70000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (1:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (2:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (3:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (4:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (5:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (6:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (7:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb 2-1: USB disconnect, address 2
usb-storage: storage_disconnect() called
usb-storage: usb_stor_stop_transport called
usb-storage: -- usb_stor_release_resources
usb-storage: -- sending exit command to thread
usb-storage: *** thread awakened.
usb-storage: -- exit command received
usb-storage: -- dissociate_dev


 
Si qq1 a une idée, elle sera la bienvenue ;)
 
 :hello:


Message édité par BlindMan le 30-10-2004 à 17:06:28
Reply

Marsh Posté le 30-10-2004 à 17:03:59   

Reply

Marsh Posté le 31-10-2004 à 01:15:28    

[:atigrou_tt]
Up du soir ...  :whistle:

Reply

Marsh Posté le 31-10-2004 à 13:09:24    

Reply

Marsh Posté le 31-10-2004 à 13:18:28    

Merci Mirtouf ;)
 
Ben j'avais déjà vu ce topic, mais le pb ne semble pas le même :(
 
Le support "Probe all LUNs on each SCSI device" est déjà compilé chez moi.
 
ça semble planter avant ça, il ne crée pas de device scsi :(
 
 :hello:

Reply

Marsh Posté le 31-10-2004 à 13:21:39    

usb-storage: GetMaxLUN command result is 1


 
append"max_scsi_luns=4" ne change rien ?


---------------
-~- Libérez Datoune ! -~- Camarade, toi aussi rejoins le FLD pour que la flamme de la Révolution ne s'éteigne pas ! -~- A VENDRE
Reply

Marsh Posté le 31-10-2004 à 13:45:51    

Non, ça ne change rien...  :(  
 
Mais tu as mis le doigt sur le pb, je vais creuser dans cette direction ;)
 
Je vais recompiler le support scsi en module...
 
 :hello:


Message édité par BlindMan le 31-10-2004 à 13:47:55
Reply

Marsh Posté le 31-10-2004 à 16:18:39    

Bon, j'ai recompilé le support SCSI en module, mais que je passe "max_scsi_luns=4" dans le lilo.conf ou en modprobe, ça ne change rien, j'ai toujours ce fichu message :(
 
usb-storage: GetMaxLUN command result is 1, data is 3
 
Je suis aussi tombé sur ceci:
http://www.qbik.ch/usb/devices/showdev.php?id=2079
Mais ça ne change rien :(
 
J'ai vu des patchs trainer pour certains ayant ce même message sous un kernel 2.4, je vais regarder ce qui était modifié...

Reply

Marsh Posté le 31-10-2004 à 18:32:37    

J'ai trouvé un patch pour le kernel 2.6 permettant de faire marcher mon lecteur
C'est sur cette page:
http://imcfarla.homelinux.net/
 
Et ça maaaaaaaaarche!!! :D
 
Merci pour ton aide, Mirtouf ;)

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed