montar disco duro USB

Jujo jujo at jujo.info
Sun Apr 11 13:07:39 UTC 2004


El dom, 11-04-2004 a las 12:02, Rocio Alfonso Pita escribió:

Yo lo que hago para montar cualquier dispositivo de almacenamiento usb
es:

1.- Asegurarme de que tengo cargados los modulos sd_mod y scsi_mod
2.- asegurarme de que tengo cargado el modulos usb-storage (veo que ya
lo tienes)
3.- en una consola virtual mirar el log que genera al enchufarlo. (en un
kterm o konsole haz "tail -f /var/log/messages" y pega por aquí la
salida que te da al enchufarlo.
4.- Unas herramientas muy útiles son las sg3_utils (sg_map y sg_scan).
Te las puedes bajar de  http://freshmeat.net/projects/sg_utils/
Que te dicen que unidad donde en qué unidad scsi está mapeada la unidad
usb.

Mira la mía:

cdrecord --scanbus (quito lo no relevante)

scsibus0:
        0,2,0     2) 'HP      ' 'C1533A          ' 'A708' Removable Tape
        0,3,0     3) 'YAMAHA  ' 'CRW2100S        ' '1.0H' Removable
CD-ROM

scsibus1:
        1,0,0   100) '        ' 'USB CARD READER ' '1   ' Removable Disk

scsibus2:
        2,0,0   200) 'PIONEER ' 'DVD-ROM DVD-120S' '1.01' Removable
CD-ROM

scsibus3:
        3,0,0   300) 'Wisher' 'Key Drive' '1.00' Removable Disk
scsibus4:
        4,0,0   400) '' '' '' Removable not present Disk (este es un mp3
USB que ahora mismo no está montado)



Vale ya veo que tengo una cinta scsi, una grabadora scsi, y con
emulacion scsi un DVD. 
Fijate que en 1,0,0 tengo un lector de CF USB y en 3,0,0 un pendrive.

Vale, me dirás pero esto no me sirve:

OK, hacemos un:

sg_map -a


/dev/sga  /dev/st0
/dev/sgb  /dev/scd0
/dev/sgc  /dev/sda
/dev/sgd  /dev/scd1
/dev/sge  /dev/sdb
/dev/sgf  /dev/sdc


Vale, esto es algo mejor...... /dev/sga no nos sirve porque apunta a
/dev/st0 (SCSI Tape) es la cinta; nos olvidamos
/dev/sgb y /dev/sgd apuntan a /dev/scdx con lo cual nos alvidamos porque
apuntan a lectores/grabadores de cd o dvd

Nos quedamos con sgc sge y sgf que apuntan a sda sdb y sgc

Vamos a montarlo.

Normalmente los dispositivos vienen con el sistema de ficheros creato
(vfat) con lo cual lo que tendremos que hacer es 

mount -t vfat /dev/sda1 /mnt/eldirectorioquequieras

supongo que con esta mini-explicación... rollo-coñazo que me ha salido,
te saldrá.

De todos modos yo con lo que más me guío es con la salida de
/var/log/messages al enchufarle el disco USB 


Un saludo y nuevamente perdon por el rollo



> Hola,
> 
>   Estoy tratando de montar un disco duro usb "conceptronic HD25U" (me han 
> dicho de 10GB pero aún no he podido verlo). ¿Podéis ofrecerme alguna ayuda 
> puesto que no soy capaz?
> 
>   He verificado que tengo cargado el módulo usb-storage, y ya he probado a 
> montarlo en todos los sda.
> 
>   Gracias y saludos,
>      rozio
> 
> PD: Adjunto información por si da alguna pista.
> 
> errores que salen en el dmesg:
> [...]
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 2
> USB Mass Storage support registered.
> scsi2 : SCSI emulation for USB Mass Storage devices
> inserting floppy driver for 2.4.22-1.2174.nptl
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> Unable to handle kernel NULL pointer dereference at virtual address 00000004
>  printing eip:
> d0c0a0c5
> *pde = 00000000
> Oops: 0000
> floppy sg sr_mod microcode ide-scsi ide-cd cdrom usb-storage scsi_mod keybdev 
> mousedev hid input usb-uhci usbcore thermal processor fan button battery 
> asus_ac
> CPU:    0
> EIP:    0060:[<d0c0a0c5>]    Not tainted
> EFLAGS: 00010246
> [...]
> 
> # lsusb
> Bus 001 Device 001: ID 0000:0000
> Bus 001 Device 005: ID 04ce:0002 ScanLogic Corp. SL11R-IDE IDE Bridge
> 
> # lsusb -v
> 
> Bus 001 Device 001: ID 0000:0000
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.00
>   bDeviceClass            9 Hub
>   bDeviceSubClass         0
>   bDeviceProtocol         0
>   bMaxPacketSize0         8
>   idVendor           0x0000
>   idProduct          0x0000
>   bcdDevice            0.00
>   iManufacturer           0
>   iProduct                2 USB UHCI Root Hub
>   iSerial                 1 bf80
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0x40
>       Self Powered
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         9 Hub
>       bInterfaceSubClass      0
>       bInterfaceProtocol      0
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               none
>         wMaxPacketSize          8
>         bInterval             255
>   Language IDs: (length=4)
>      0000 (null)((null))
> 
> Bus 001 Device 005: ID 04ce:0002 ScanLogic Corp. SL11R-IDE IDE Bridge
> string descriptor 1 invalid (bf bf; len=0)
> string descriptor 1 invalid (bf bf; len=0)
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            0 Interface
>   bDeviceSubClass         0
>   bDeviceProtocol         0
>   bMaxPacketSize0         8
>   idVendor           0x04ce ScanLogic Corp.
>   idProduct          0x0002 SL11R-IDE IDE Bridge
>   bcdDevice            2.60
>   iManufacturer           1
>   iProduct                1
>   iSerial                 0
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           32
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0
>     bmAttributes         0x40
>       Self Powered
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass         8 Mass Storage
>       bInterfaceSubClass      6 SCSI
>       bInterfaceProtocol     80 Bulk (Zip)
>       iInterface              0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x02  EP 2 OUT
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               none
>         wMaxPacketSize         64
>         bInterval               0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               none
>         wMaxPacketSize         64
>         bInterval               0
>   Language IDs: (length=4)
>      0409 English(US)
> #
> 
> --
> Fedora-es-list mailing list
> Fedora-es-list at redhat.com
> To unsubscribe: 
> http://www.redhat.com/mailman/listinfo/fedora-es-list
-- 
Software patents kill innovation.
-- NO to software patents
   http://swpat.ffii.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje est? firmada	digitalmente
URL: <http://listman.redhat.com/archives/fedora-es-list/attachments/20040411/5752ffc8/attachment.sig>


More information about the Fedora-es-list mailing list