Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem mounting usb mass storage device [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Goddchen
n00b
n00b


Joined: 21 Feb 2006
Posts: 19

PostPosted: Tue Mar 07, 2006 11:04 pm    Post subject: problem mounting usb mass storage device [SOLVED] Reply with quote

hi, i'm currently trying to get my usb stick running....

here some informations:

Code:

Mar  7 23:53:50 gentoo-mobile usb 1-3: new high speed USB device using ehci_hcd and address 2
Mar  7 23:53:50 gentoo-mobile hub 1-3:1.0: USB hub found
Mar  7 23:53:50 gentoo-mobile hub 1-3:1.0: 1 port detected
Mar  7 23:53:51 gentoo-mobile usb 1-3.1: new high speed USB device using ehci_hcd and address 3
Mar  7 23:53:51 gentoo-mobile usb-storage: USB Mass Storage device detected
Mar  7 23:53:51 gentoo-mobile usb-storage: -- associate_dev
Mar  7 23:53:51 gentoo-mobile usb-storage: Vendor: 0x067b, Product: 0x2517, Revision: 0x0001
Mar  7 23:53:51 gentoo-mobile usb-storage: Interface Subclass: 0x05, Protocol: 0x50
Mar  7 23:53:51 gentoo-mobile usb-storage: Transport: Bulk
Mar  7 23:53:51 gentoo-mobile usb-storage: Protocol: 8070i
Mar  7 23:53:51 gentoo-mobile scsi0 : SCSI emulation for USB Mass Storage devices
Mar  7 23:53:51 gentoo-mobile usb-storage: *** thread sleeping.
Mar  7 23:53:51 gentoo-mobile usb-storage: device found at 3
Mar  7 23:53:51 gentoo-mobile usb-storage: waiting for device to settle before scanning
Mar  7 23:53:56 gentoo-mobile usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1
Mar  7 23:53:56 gentoo-mobile usb-storage: GetMaxLUN command result is 1, data is 0
Mar  7 23:53:56 gentoo-mobile usb-storage: queuecommand called
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread awakened.
Mar  7 23:53:56 gentoo-mobile usb-storage: Command INQUIRY (6 bytes)
Mar  7 23:53:56 gentoo-mobile usb-storage:  12 00 00 00 24 00
Mar  7 23:53:56 gentoo-mobile usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 12
Mar  7 23:53:56 gentoo-mobile usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
Mar  7 23:53:56 gentoo-mobile usb-storage: Status code 0; transferred 31/31
Mar  7 23:53:56 gentoo-mobile usb-storage: -- transfer complete
Mar  7 23:53:56 gentoo-mobile usb-storage: Bulk command transfer result=0
Mar  7 23:53:56 gentoo-mobile usb-storage: usb_stor_bulk_transfer_sglist: xfer 36 bytes, 1 entries
Mar  7 23:53:56 gentoo-mobile usb-storage: Status code 0; transferred 36/36
Mar  7 23:53:56 gentoo-mobile usb-storage: -- transfer complete
Mar  7 23:53:56 gentoo-mobile usb-storage: Bulk data transfer result 0x0
Mar  7 23:53:56 gentoo-mobile usb-storage: Attempting to get CSW...
Mar  7 23:53:56 gentoo-mobile usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
Mar  7 23:53:56 gentoo-mobile usb-storage: Status code 0; transferred 13/13
Mar  7 23:53:56 gentoo-mobile usb-storage: -- transfer complete
Mar  7 23:53:56 gentoo-mobile usb-storage: Bulk status result = 0
Mar  7 23:53:56 gentoo-mobile usb-storage: Bulk Status S 0x53425355 T 0x1 R 0 Stat 0x0
Mar  7 23:53:56 gentoo-mobile usb-storage: scsi cmd done, result=0x0
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread sleeping.
Mar  7 23:53:56 gentoo-mobile Vendor: USB 2.0   Model: Flash Disk        Rev: PROL
Mar  7 23:53:56 gentoo-mobile Type:   Direct-Access                      ANSI SCSI revision: 00
Mar  7 23:53:56 gentoo-mobile usb-storage: queuecommand called
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread awakened.
Mar  7 23:53:56 gentoo-mobile usb-storage: Bad target number (1:0)
Mar  7 23:53:56 gentoo-mobile usb-storage: scsi cmd done, result=0x40000
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread sleeping.
Mar  7 23:53:56 gentoo-mobile usb-storage: queuecommand called
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread awakened.
Mar  7 23:53:56 gentoo-mobile usb-storage: Bad target number (2:0)
Mar  7 23:53:56 gentoo-mobile usb-storage: scsi cmd done, result=0x40000
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread sleeping.
Mar  7 23:53:56 gentoo-mobile usb-storage: queuecommand called
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread awakened.
Mar  7 23:53:56 gentoo-mobile usb-storage: Bad target number (3:0)
Mar  7 23:53:56 gentoo-mobile usb-storage: scsi cmd done, result=0x40000
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread sleeping.
Mar  7 23:53:56 gentoo-mobile usb-storage: queuecommand called
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread awakened.
Mar  7 23:53:56 gentoo-mobile usb-storage: Bad target number (4:0)
Mar  7 23:53:56 gentoo-mobile usb-storage: scsi cmd done, result=0x40000
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread sleeping.
Mar  7 23:53:56 gentoo-mobile usb-storage: queuecommand called
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread awakened.
Mar  7 23:53:56 gentoo-mobile usb-storage: Bad target number (5:0)
Mar  7 23:53:56 gentoo-mobile usb-storage: scsi cmd done, result=0x40000
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread sleeping.
Mar  7 23:53:56 gentoo-mobile usb-storage: queuecommand called
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread awakened.
Mar  7 23:53:56 gentoo-mobile usb-storage: Bad target number (6:0)
Mar  7 23:53:56 gentoo-mobile usb-storage: scsi cmd done, result=0x40000
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread sleeping.
Mar  7 23:53:56 gentoo-mobile usb-storage: queuecommand called
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread awakened.
Mar  7 23:53:56 gentoo-mobile usb-storage: Bad target number (7:0)
Mar  7 23:53:56 gentoo-mobile usb-storage: scsi cmd done, result=0x40000
Mar  7 23:53:56 gentoo-mobile usb-storage: *** thread sleeping.
Mar  7 23:53:56 gentoo-mobile usb-storage: device scan complete
Mar  7 23:53:56 gentoo-mobile scsi.agent[10006]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3.1/1-3.1:1.0/host0/target0:0:0/0:0:0:0
Mar  7 23:55:46 gentoo-mobile nmbd[9547]: [2006/03/07 23:55:46, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)


Code:

gentoo-mobile / # lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 067b:2517 Prolific Technology, Inc. Flash Disk Mass Storage Device
Bus 001 Device 002: ID 067b:2515 Prolific Technology, Inc. Flash Disk Embedded Hub
Bus 001 Device 001: ID 0000:0000


ok, if i try to mount it i get

Code:

gentoo-mobile / # mount /dev/sda /mnt/usb/
mount: /dev/sda is not a valid block device


same thing if i try sda1 and so on...

if i try to mount and give a filesystem with the command i get the following:

Code:

gentoo-mobile / # mount -t usbfs /dev/sda /mnt/usb/
gentoo-mobile / # cd /mnt/usb/
gentoo-mobile usb # ls
001  002  003  004  devices


any ideas?


Last edited by Goddchen on Tue Mar 07, 2006 11:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Tue Mar 07, 2006 11:20 pm    Post subject: Reply with quote

Check that the sd_mod module is loaded (if you're using modules) or that you have SCSI disk support selected in the kernel configuration.
Back to top
View user's profile Send private message
Goddchen
n00b
n00b


Joined: 21 Feb 2006
Posts: 19

PostPosted: Tue Mar 07, 2006 11:31 pm    Post subject: Reply with quote

damn! that's it! compiled scsi support into kernel and now it works :) thx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum