Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Stick und Linux
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Nylan
n00b
n00b


Joined: 14 Jun 2003
Posts: 38

PostPosted: Mon Aug 25, 2003 10:14 am    Post subject: USB Stick und Linux Reply with quote

Hallo,
habe mir vor kurzem einen USB Stick zu 128 MB zugelegt und dachte mir anstecken, usb-storage laden und die Sache wäre erledigt.

Das Anstecken klappt ja noch. :lol:
Der USB Stick wird als /dev/sda, sda1...4 aufgelistet.
Versuche ich jetzt diesen zu mounten mit "mount /dev/sda /mnt/flash" erhalte ich
Quote:

/dev/sda: Input/output error
mount: you must specify the filesystem type


und im log file steht :
Quote:

Aug 25 11:47:42 [kernel] sda : READ CAPACITY failed.
Aug 25 11:47:42 [kernel] I/O error: dev 08:00, sector 0
Aug 25 11:47:42 [kernel] ldm_validate_partition_table(): Disk read failed.
Aug 25 11:47:42 [kernel] I/O error: dev 08:00, sector 0
Aug 25 11:47:42 [kernel] unable to read partition table
Aug 25 11:47:42 [kernel] Device not ready. Make sure there is a disc in the drive.


versuche ich "mount -t vfat /dev/sda /mnt/flash" bekomme ich als Meldung:

Quote:

mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems


und folgende Meldungen im log file:


Quote:

Aug 25 12:02:26 [kernel] FAT: unable to read boot sector
Aug 25 12:02:26 [kernel] Device 08:00 not ready.


Die gleichen Fehlermeldungen erhalte ich, wenn ich die einzelnen Partitionen versuche zu mounten.

In machen Post habe ich gelesen, dass eine Neupartitionierung notwendig sei, brachte aber bei mir auch keinen Efolg.
"fdisk /dev/sda" liefert mir nur eine kurzes unable to read /dev/sda

Habe ich was im Kernel übersehen?
SCSI und USB Support dürfte ich eigentlich richtig kompiliert haben.
Der USB Stick funktioniert unter Windows.
Ähnliches Problem habe ich mit einem 6 in 1 Kartenleser.

Hat jemand ähnliche Probleme bzw. eine Lösung für mich?
Danke!

lg

Nylan

Usb-storage debug liefert:
Quote:

usb-storage: usb_stor_exit() called
usb-storage: -- calling usb_deregister()
usb.c: deregistering driver usb-storage
usb-storage: storage_disconnect() called
usb-storage: -- releasing main URB
usb-storage: -- usb_unlink_urb() returned -19
usb-storage: -- calling scsi_unregister_module()
usb-storage: release() called for host usb-storage
usb-storage: -- sending US_ACT_EXIT command to thread
usb-storage: *** thread awakened.
usb-storage: -- US_ACT_EXIT command received
scsi : 3 hosts left.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
usb-storage: act_altsettting is 0
usb-storage: id_index calculated to be: 88
usb-storage: Array length appears to be: 91
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xd562d5d4 Out: 0xd562d5c0 Int: 0x00000000 (Period 0)
usb-storage: New GUID 067b25170000000000000000
usb-storage: GetMaxLUN command result is 1, data is 0
usb-storage: Transport: Bulk
usb-storage: Protocol: 8070i
usb-storage: *** thread sleeping.
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage: 12 00 00 00 ff 00 6a d6 23 47 2f c0
usb-storage: Bulk command S 0x43425355 T 0x80 Trg 0 LUN 0 L 255 F 128 CL 12
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 255 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 36/255
usb-storage: Bulk data transfer result 0x1
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x80 R 219 Stat 0x0
usb-storage: Fixing INQUIRY data to show SCSI rev 2
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
Vendor: Prolific Model: UsbFlashDisk Rev: PROL
Type: Direct-Access ANSI SCSI revision: 02
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad LUN (0/1)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (1/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (2/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (3/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (4/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (5/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (6/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (7/0)
usb-storage: *** thread sleeping.
Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command TEST_UNIT_READY (6 bytes)
usb-storage: 00 00 00 00 00 00 00 00 00 00 36 c0
usb-storage: Bulk command S 0x43425355 T 0x89 Trg 0 LUN 0 L 0 F 0 CL 12
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x89 R 0 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk command S 0x43425355 T 0x89 Trg 0 LUN 0 L 18 F 128 CL 12
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 18 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x89 R 0 Stat 0x0
usb-storage: -- Result from auto-sense is 0
usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
usb-storage: Not Ready: media not present
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command READ_CAPACITY (10 bytes)
usb-storage: 25 00 00 00 00 00 00 00 00 00 36 c0
usb-storage: Bulk command S 0x43425355 T 0x8a Trg 0 LUN 0 L 8 F 128 CL 12
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 8 bytes
usb-storage: usb_stor_bulk_msg() returned -32 xferred 0/8
usb-storage: clearing endpoint halt for pipe 0xc0010680
usb-storage: usb_stor_clear_halt: result=0
usb-storage: usb_stor_transfer_partial(): unknown error
usb-storage: Bulk data transfer result 0x2
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x8a R 8 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk command S 0x43425355 T 0x8a Trg 0 LUN 0 L 18 F 128 CL 12
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 18 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x8a R 0 Stat 0x0
usb-storage: -- Result from auto-sense is 0
usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
usb-storage: Not Ready: media not present
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command READ_CAPACITY (10 bytes)
usb-storage: 25 00 00 00 00 00 00 00 00 00 36 c0
usb-storage: Bulk command S 0x43425355 T 0x8b Trg 0 LUN 0 L 8 F 128 CL 12
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 8 bytes
usb-storage: usb_stor_bulk_msg() returned -32 xferred 0/8
usb-storage: clearing endpoint halt for pipe 0xc0010680
usb-storage: usb_stor_clear_halt: result=0
usb-storage: usb_stor_transfer_partial(): unknown error
usb-storage: Bulk data transfer result 0x2
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x8b R 8 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk command S 0x43425355 T 0x8b Trg 0 LUN 0 L 18 F 128 CL 12
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 18 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x8b R 0 Stat 0x0
usb-storage: -- Result from auto-sense is 0
usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
usb-storage: Not Ready: media not present
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command READ_CAPACITY (10 bytes)
usb-storage: 25 00 00 00 00 00 00 00 00 00 36 c0
usb-storage: Bulk command S 0x43425355 T 0x8c Trg 0 LUN 0 L 8 F 128 CL 12
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 8 bytes
usb-storage: usb_stor_bulk_msg() returned -32 xferred 0/8
usb-storage: clearing endpoint halt for pipe 0xc0010680
usb-storage: usb_stor_clear_halt: result=0
usb-storage: usb_stor_transfer_partial(): unknown error
usb-storage: Bulk data transfer result 0x2
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x8c R 8 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk command S 0x43425355 T 0x8c Trg 0 LUN 0 L 18 F 128 CL 12
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 18 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x8c R 0 Stat 0x0
usb-storage: -- Result from auto-sense is 0
usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
usb-storage: Not Ready: media not present
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : block size assumed to be 512 bytes, disk size 1GB.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command MODE_SENSE (6 bytes)
usb-storage: 1a 00 3f 00 ff 00 00 00 00 00 36 c0
usb-storage: Bulk command S 0x43425355 T 0x8d Trg 0 LUN 0 L 255 F 128 CL 12
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 255 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 8/255
usb-storage: Bulk data transfer result 0x1
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x8d R 247 Stat 0x0
usb-storage: -- converting 10 byte sense data to 6 byte
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
sda: Write Protect is off
/dev/scsi/host3/bus0/target0/lun0: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
ldm_validate_partition_table(): Disk read failed.
I/O error: dev 08:00, sector 0
unable to read partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 6
USB Mass Storage support registered.
Back to top
View user's profile Send private message
a6-intruder
n00b
n00b


Joined: 12 Aug 2003
Posts: 9
Location: Langenzenn Germany

PostPosted: Mon Aug 25, 2003 11:01 am    Post subject: Reply with quote

kannst du deinen stick von hdd auf fdd umstellen??? probiers mal damit...
nur eine vermutung.
_________________
emerge money
calculating dependencies..... /

error: goto /work - punk
Back to top
View user's profile Send private message
Nylan
n00b
n00b


Joined: 14 Jun 2003
Posts: 38

PostPosted: Mon Aug 25, 2003 12:48 pm    Post subject: Reply with quote

Wie kann man von hdd auf fdd umstellen? :?:

Ich hab irgendwo gelesen, dass man den USB Stick wie ein Floppy mounten kann, dachte mir, dass dies schon passiert, wenn ich diesen mit /dev/sda mount.
Back to top
View user's profile Send private message
suniles
n00b
n00b


Joined: 21 Aug 2002
Posts: 43

PostPosted: Mon Aug 25, 2003 1:41 pm    Post subject: Reply with quote

Hi,
mount -t vfat /dev/sda1 sollte funktionieren. Vorausgesetzt Stick ist fomartiert.

Gru suniles
Back to top
View user's profile Send private message
Nylan
n00b
n00b


Joined: 14 Jun 2003
Posts: 38

PostPosted: Mon Aug 25, 2003 2:09 pm    Post subject: Reply with quote

Hallo,
leider funktioniert es nicht, wenn ich "mount -t /dev/sda1 ziel" ausführe (siehe Meldung im 1. Posting)

Stick wurde unter Windows formatiert.
Back to top
View user's profile Send private message
Nylan
n00b
n00b


Joined: 14 Jun 2003
Posts: 38

PostPosted: Mon Aug 25, 2003 2:50 pm    Post subject: Reply with quote

Habe das Problem gelöst.

Mein USB Stick kam von Haus aus auf 4 Partitionen aufgeteilt und dazu noch mit einem geschützten Bereich.

Nachdem ich unter Windows mit dem mitgelieferten Tool alle Partitionen gelöscht, eine einzige neue erstellt und den geschützten Bereich auf 0MB gestellt habe, lies er sich problemlos mounten.

Danke, an alle für die Antworten!

lg
Nylan
Back to top
View user's profile Send private message
23306
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 79

PostPosted: Tue Aug 26, 2003 9:28 am    Post subject: Reply with quote

jo,

wie ich sehe hast du das prob ja eh schongelöst ...
hatte auch ewig stress mit meinem usb-stick ...jetzt rennt aber alles wunderbar ....um dem ganzen noch ein drauf zu setzen hab ich mir
noch autofs eingerichtete ....

d.h. wenn ich das teil jetzt anstecke, wird es automatisch gemountet bzw. unmountet ....

nur so als tipp falls du nicht eh schon gemacht hast ...

ron
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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