Hi * !

After upgrading my X40 from 3.9 to 4.0 I have problems mounting
a specific USB stick. Running OpenBSD 3.9 I see some errors when
accessing this USB stick after it is plugged in:

sd1 at scsibus2 targ 1 lun 0: <USB, Flash Disk, 2.00> SCSI2 0/direct removable
sd1: 62MB, 62 cyl, 64 head, 32 sec, 512 bytes/sec, 127744 sec total
sd1(umass1:1:0): Check Condition (error 0x70) on opcode 0x0
   SENSE KEY: Not Ready
    ASC/ASCQ: Medium Not Present

But I can mount the stick. After upgrading to OpenBSD 4.0 the system
sets the USB mass storage device to offline:

umass0 at uhub3 port 3 configuration 1 interface 0
umass0: vendor 0x0204 product 0x6025, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets
sd0 at scsibus0 targ 1 lun 0: <USB, Flash Disk, 2.00> SCSI2 0/direct removable
sd0: drive offline

And of cause this action I am not able to access the USB stick:

# disklabel sd0
disklabel: ioctl DIOCGDINFO: Input/output error

Using an othe USB stick - which doesnt print the "Medium Not Present" on OpenBSD
3.9 - there is no problem with this stick:

umass0 at uhub3 port 3 configuration 1 interface 0
umass0: TTI-WDE U20 Mobile Disk, rev 2.00/2.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets
sd0 at scsibus0 targ 1 lun 0: <USB 2.0, Mobile Disk, 2.00> SCSI2
0/direct removable
sd0: 125MB, 125 cyl, 64 head, 32 sec, 512 bytes/sec, 256000 sec total

Is it possible to enforce a "more relaxed" handling of the problematic USB stick
or should I just backup the data (under OpenBSD 3.9) and throw the stick away?

Thanks for your help.

Andreas.

P.S.: OpenBSD 3.9 and 4.0 are using the GENERIC kernel.

--
Hobbes : Shouldn't we read the instructions?
Calvin : Do I look like a sissy?

Reply via email to