[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

etch: Problem mit udev und scsi-Emulation bei USB-Stick



Hallo,

ich verwende etch mit 2.6.12-1-686, die Pakete sind auf dem Stand von
heute, 09.01.06. Bei der Verwendung eines "Store 'n' Go" von Verbatim
(512MB) läuft alles erst einmal sehr gut los:

8< --------------------------------------------------------------- >8
l305:~# tail -f /var/log/syslog
usb 1-1: new high speed USB device using ehci_hcd and address 5
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
   Vendor: VBTM      Model: Store 'n' Go      Rev: 1.04
   Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 1001472 512-byte hdwr sectors (513 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 1001472 512-byte hdwr sectors (513 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
/dev/scsi/host2/bus0/target0/lun0: [CUMANA/ADFS] p1<5>Attached scsi
removable disk sda at scsi2, channel 0, id 0, lun 0
usb-storage: device scan complete
8< --------------------------------------------------------------- >8

Dann jedoch endet es weniger schön:

8< --------------------------------------------------------------- >8
printk: 4 messages suppressed.
Buffer I/O error on device sda1, logical block 508378384
Buffer I/O error on device sda1, logical block 508378384
Buffer I/O error on device sda1, logical block 508378412
last message repeated 5 times
Buffer I/O error on device sda1, logical block 508378405
Buffer I/O error on device sda1, logical block 508378405
usb 1-1: USB disconnect, address 5

l305:~#
8< --------------------------------------------------------------- >8

Die Ausgabe von fdisk weist deutliche Fehlinterpretationen auf:

8< --------------------------------------------------------------- >8
l305:~# fdisk -l

Disk /dev/hda: ...
...
Partition table entries are not in disk order

Disk /dev/sda: 512 MB, 512753664 bytes
16 heads, 32 sectors/track, 1956 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1956      500720    e  W95 FAT16 (LBA)

Disk /dev/sda1: 2082.3 GB, 2082317979648 bytes
16 heads, 32 sectors/track, 7943412 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

     Device Boot      Start         End      Blocks   Id  System
/dev/sda1p1   *           1        1956      500720    e  W95 FAT16 (LBA)
l305:~#
8< --------------------------------------------------------------- >8

Solche Ausgaben gibt es auf diversen Mailing-Listen zu sehen, meist wird
suggeriert, die Hardware wäre hinüber. Falls das stimmt, erkennen
Knoppix und S.u.S.E. unter Verwendung von /dev/uba bzw. unter Vermeidung
von udev den Stift korrekt, auch MS-Windows kann damit umgehen.

Auch ein Hinweis[1], mit sfdisk die Partition-ID von 0xe auf 0x6 zu
ändern brachte keinen Erfolg. Meine Suche u.a. in LKML ergab auch nichts.

Kann mir bitte jemand sagen, was ich falsch mache oder übersehe? Ich
stelle gern weitere Informationen zur Verfügung.

[1] http://www.dclug.org.uk/archive/2005/04/msg00117.html
-- 
Alexander Mader <alexander.mader@niles.de>

	GPG public key:	http://mader.seppi.de/pubkey-dienst.asc

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: