NetBSD Problem Report #10084
Received: (qmail 24491 invoked from network); 9 May 2000 18:59:48 -0000
Message-Id: <200005091859.OAA00848@zorkmid.mit.edu>
Date: Tue, 9 May 2000 14:59:47 -0400 (EDT)
From: John Hawkinson <jhawk@mit.edu>
Reply-To: jhawk@mit.edu
To: gnats-bugs@gnats.netbsd.org
Cc: jhawk@mit.edu
Subject: Y-E Data floppy doesn't work with umass
X-Send-Pr-Version: 3.95
>Number: 10084
>Category: kern
>Synopsis: Y-E Data floppy doesn't work with umass
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 09 19:00:00 +0000 2000
>Closed-Date: Tue May 30 01:23:28 +0000 2000
>Last-Modified: Tue May 30 02:09:00 +0000 2000
>Originator: John Hawkinson
>Release: 8 May 2000
>Organization:
MIT
>Environment:
System: NetBSD zorkmid.mit.edu 1.4Y NetBSD 1.4Y (ZORKMID-$Revision: 1.4 $) #52: Tue May 9 14:06:58 EDT 2000 jhawk@zorkmid.mit.edu:/usr/local/current-src/sys/arch/i386/compile/ZORKMID i386
>Description:
Trying to use the Y-E Data USB floppy on my Sony VAIO PCG-Z505HE.
In short, "it doesn't seem to work". Reads and writes return quickly,
reads return all zeroes.
I'm not certain if this device is supposed to work -- it looks like
there's a quirk entry in umass.c for it, so I guess that means
it should function.
Of course it works under Windows ;-)
>How-To-Repeat:
It probes OK:
umass0 at uhub0 port 2 configuration 1 interface 0
umass0: Y-E DATA FlashBuster-U, rev 1.00/1.28, addr 2
umass0: using UFI over CBI-I
scsibus0 at umass0: 2 targets, 1 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <Y-E DATA, USB-FDU, 1.28> SCSI0 0/direct removable
sd0: drive offline
or with a floppy in:
umass0 at uhub0 port 2 configuration 1 interface 0
umass0: Y-E DATA FlashBuster-U, rev 1.00/1.28, addr 2
umass0: using UFI over CBI-I
scsibus0 at umass0: 2 targets, 1 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <Y-E DATA, USB-FDU, 1.28> SCSI0 0/direct removable
sd0: mode sense (4) returned nonsense; using fictitious geometry
sd0: 1440 KB, 1 cyl, 64 head, 32 sec, 512 bytes/sect x 2880 sectors
Every time I try to do an operation, though, I get the kernel printfs
about the label and geometry:
sd0: could not mode sense (4/5); using fictitious geometry
sd0: no disk label
sd0: could not mode sense (4/5); using fictitious geometry
sd0: no disk label
sd0: could not mode sense (4/5); using fictitious geometry
sd0: no disk label
sd0: could not mode sense (4/5); using fictitious geometry
sd0: no disk label
sd0: could not mode sense (4/5); using fictitious geometry
sd0: no disk label
sd0: could not mode sense (4/5); using fictitious geometry
sd0: no disk label
Attempts to write a label were unsucessful, either in-core
or on-disk.
zorkmid# disklabel sd0
# /dev/rsd0d:
type: SCSI
disk: USB-FDU
label: fictitious
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 1
total sectors: 2880
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
4 partitions:
# size offset fstype [fsize bsize cpg]
d: 2880 0 unused 0 0 # (Cyl. 0 - 1*)
disklabel: boot block size 0
disklabel: super block size 0
zorkmid# dd if=/dev/rsd0d of=/tmp/y count=1
1+0 records in
1+0 records out
512 bytes transferred in 1 secs (512 bytes/sec)
zorkmid# dd if=/dev/rsd0d of=/tmp/s count=100
100+0 records in
100+0 records out
51200 bytes transferred in 2 secs (25600 bytes/sec)
zorkmid# od -x /tmp/s
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0144000
zorkmid# yes | dd of=/dev/rsd0d count=100
100+0 records in
100+0 records out
51200 bytes transferred in 1 secs (51200 bytes/sec)
zorkmid# yes | dd of=/dev/rsd0d count=100[32Dod -x /tmp/s[K[12Ddd if=/dev/rsd0d of=/tmp/s count=100[K[33Disklabel sd0[K[12Dd if=/dev/rsd0d of=/tmp/s count=1
1+0 records in
1+0 records out
512 bytes transferred in 1 secs (512 bytes/sec)
zorkmid# dd if=/dev/rsd0d of=/tmp/s count=100
100+0 records in
100+0 records out
51200 bytes transferred in 1 secs (51200 bytes/sec)
zorkmid# od -x /tmp/s
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0144000
zorkmid#
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: augustss
State-Changed-When: Mon May 29 18:22:17 PDT 2000
State-Changed-Why:
Problem partly fixed (the MODE SENSE still fails, I think the drive doesn't
support it).
From: John Hawkinson <jhawk@MIT.EDU>
To: augustss@netbsd.org
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/10084
Date: Mon, 29 May 2000 22:08:56 -0400
In message <20000530012327.24826.qmail@mail.netbsd.org>, augustss@netbsd.org wr
ites:
>Synopsis: Y-E Data floppy doesn't work with umass
>
>State-Changed-From-To: open->closed
>State-Changed-By: augustss
>State-Changed-When: Mon May 29 18:22:17 PDT 2000
>State-Changed-Why:
>Problem partly fixed (the MODE SENSE still fails, I think the drive doesn't
>support it).
Confirmed.
Thanks!!
--jhawk
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.