NetBSD Problem Report #10112

Received: (qmail 23230 invoked from network); 13 May 2000 20:37:46 -0000
Message-Id: <200005132037.QAA14646@anduin.eldar.org>
Date: Sat, 13 May 2000 16:37:34 -0400 (EDT)
From: Brad Spencer <brad@anduin.eldar.org>
Reply-To: brad@anduin.eldar.org
To: gnats-bugs@gnats.netbsd.org
Subject: umass UFI protocol does not appear to work with Sony VAIO drive
X-Send-Pr-Version: 3.95

>Number:         10112
>Category:       kern
>Synopsis:       umass UFI protocol does not appear to work with Sony VAIO drive
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mycroft
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 13 20:38:00 +0000 2000
>Closed-Date:    Mon Mar 29 19:54:51 +0000 2004
>Last-Modified:  Tue Mar 30 15:39:01 +0000 2004
>Originator:     Brad Spencer
>Release:        1.4Y supped week of 5/7/2000
>Organization:
	Sitting at home
>Environment:

System: NetBSD mordor 1.4Y NetBSD 1.4Y (MORDOR) #4: Sat May 13 15:57:02 EDT 2000     brad@mordor:/usr/src/sys/arch/i386/compile/MORDOR i386

>Description:

I have borrowed a USB floppy drive from a Sony VAIO that identifies
itself as:

umass0 at uhub0 port 1 configuration 1 interface 0
umass0: Y-E DATA FlashBuster-U, rev 1.00/1.28, addr 3
umass0: using UFI over CBI-I
scsibus2 at umass0: 2 targets, 1 luns per target
scsibus2: waiting 2 seconds for devices to settle...
sd2 at scsibus2 target 1 lun 0: <Y-E DATA, USB-FDU, 1.28> SCSI0 0/direct removable
sd2: mode sense (4) returned nonsense; using fictitious geometry
sd2: 1440 KB, 1 cyl, 64 head, 32 sec, 512 bytes/sect x 2880 sectors
sd2: could not mode sense (4/5); using fictitious geometry
sd2: no disk label

Attempts to access the drive either to read data or to write data
silently fail.  That is, the drive light comes on for a second, then
goes off.  Reads or writes appear to complete, except that nothing
actually transfered to or from the media and the head never steps off
of track 0.

This problem appears to exist when the drive is connected to a uhci on
my AMD K6 machine or the ohci on my Toshiba notebook USB controller.
Same OS version in both cases.

There appears to be a quirk entry for this device in the umass driver,
so apparently someone has this working.


>How-To-Repeat:

The following command produced the following debugging output.  Sorry
for the length....

mordor% dd if=/dev/rsd2d of=/dev/null bs=512 count=1
1+0 records in
1+0 records out
512 bytes transferred in 1 secs (512 bytes/sec)

umass0: umass_scsi_cmd:  1:0 xs=0xc0515128 cmd=0x1b (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=0, cmdlen=12 datalen=0
umass0: umass_cbi_transfer cmd=0x1b, len=0
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, NORMAL_COMPLETION
umass0: no data phase
umass_scsipi_cb: xs=0xc0515128 residue=0 status=1
umass0: umass_cbi_transfer cmd=0x03, len=32
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, NORMAL_COMPLETION
umass0: start xfer buffer=0xc0515184 buflen=32 flags=0x5 timeout=23107
umass0: Handling CBI state 11 (CBI Data), xfer=0xc0585300, NORMAL_COMPLETION
umass0: CBI_DATA actlen=18
umass0: 0x 700000000000000a0000000000000000 buffer=0xc0515184, buflen=18
umass0: 0x 0000
umass_scsipi_sense_cb: xs=0xc0515128 residue=14 status=1
umass_scsipi_sense_cb: return xs->error=1, xs->xs_status=0x1 xs->resid=0
umass0: umass_scsi_cmd:  1:0 xs=0xc0515128 cmd=0x1e (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=0, cmdlen=12 datalen=0
umass0: umass_cbi_transfer cmd=0x1e, len=0
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, NORMAL_COMPLETION
umass0: no data phase
umass_scsipi_cb: xs=0xc0515128 residue=0 status=1
umass0: umass_cbi_transfer cmd=0x03, len=32
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, NORMAL_COMPLETION
umass0: start xfer buffer=0xc0515184 buflen=32 flags=0x5 timeout=23107
umass0: Handling CBI state 11 (CBI Data), xfer=0xc0585300, NORMAL_COMPLETION
umass0: CBI_DATA actlen=18
umass0: 0x 700005000000000a0000000024000000 buffer=0xc0515184, buflen=18
umass0: 0x 0000
umass_scsipi_sense_cb: xs=0xc0515128 residue=14 status=1
umass_scsipi_sense_cb: return xs->error=1, xs->xs_status=0x1 xs->resid=0
umass0: umass_scsi_cmd:  1:0 xs=0xc0515128 cmd=0x1a (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=1, cmdlen=12 datalen=44
umass0: umass_cbi_transfer cmd=0x1a, len=44
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, STALLED
umass0: Command Transport failed
umass_scsipi_cb: xs=0xc0515128 residue=44 status=2
umass0: umass_cbi_transfer cmd=0x03, len=32
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, NORMAL_COMPLETION
umass0: start xfer buffer=0xc0515184 buflen=32 flags=0x5 timeout=23107
umass0: Handling CBI state 11 (CBI Data), xfer=0xc0585300, NORMAL_COMPLETION
umass0: CBI_DATA actlen=18
umass0: 0x 700005000000000a0000000024000000 buffer=0xc0515184, buflen=18
umass0: 0x 0000
umass_scsipi_sense_cb: xs=0xc0515128 residue=14 status=1
umass_scsipi_sense_cb: return xs->error=1, xs->xs_status=0x1 xs->resid=44
umass0: umass_scsi_cmd:  1:0 xs=0xc0515128 cmd=0x1a (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=1, cmdlen=12 datalen=44
umass0: umass_cbi_transfer cmd=0x1a, len=44
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, STALLED
umass0: Command Transport failed
umass_scsipi_cb: xs=0xc0515128 residue=44 status=2
umass0: umass_cbi_transfer cmd=0x03, len=32
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, NORMAL_COMPLETION
umass0: start xfer buffer=0xc0515184 buflen=32 flags=0x5 timeout=23107
umass0: Handling CBI state 11 (CBI Data), xfer=0xc0585300, NORMAL_COMPLETION
umass0: CBI_DATA actlen=18
umass0: 0x 700005000000000a0000000024000000 buffer=0xc0515184, buflen=18
umass0: 0x 0000
umass_scsipi_sense_cb: xs=0xc0515128 residue=14 status=1
umass_scsipi_sense_cb: return xs->error=1, xs->xs_status=0x1 xs->resid=44
sd2: could not mode sense (4/5); using fictitious geometry
umass0: umass_scsi_cmd:  1:0 xs=0xc0515128 cmd=0x25 (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=1, cmdlen=12 datalen=8
umass0: umass_cbi_transfer cmd=0x25, len=8
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, NORMAL_COMPLETION
umass0: start xfer buffer=0xc7591d28 buflen=8 flags=0x5 timeout=23107
umass0: Handling CBI state 11 (CBI Data), xfer=0xc0585300, NORMAL_COMPLETION
umass0: CBI_DATA actlen=8
umass0: 0x 00000b3f00000200 buffer=0xc7591d28, buflen=8
umass_scsipi_cb: xs=0xc0515128 residue=0 status=1
umass0: umass_cbi_transfer cmd=0x03, len=32
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, NORMAL_COMPLETION
umass0: start xfer buffer=0xc0515184 buflen=32 flags=0x5 timeout=23107
umass0: Handling CBI state 11 (CBI Data), xfer=0xc0585300, NORMAL_COMPLETION
umass0: CBI_DATA actlen=18
umass0: 0x 700000000000000a0000000000000000 buffer=0xc0515184, buflen=18
umass0: 0x 0000
umass_scsipi_sense_cb: xs=0xc0515128 residue=14 status=1
umass_scsipi_sense_cb: return xs->error=1, xs->xs_status=0x1 xs->resid=0
umass0: umass_scsi_cmd:  1:0 xs=0xc0515128 cmd=0x08 (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=1, cmdlen=12 datalen=512
umass0: umass_cbi_transfer cmd=0x08, len=512
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, STALLED
umass0: Command Transport failed
umass_scsipi_cb: xs=0xc0515128 residue=512 status=2
umass0: umass_cbi_transfer cmd=0x03, len=32
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, NORMAL_COMPLETION
umass0: start xfer buffer=0xc0515184 buflen=32 flags=0x5 timeout=23107
umass0: Handling CBI state 11 (CBI Data), xfer=0xc0585300, NORMAL_COMPLETION
umass0: CBI_DATA actlen=18
umass0: 0x 700000000000000a0000000000000000 buffer=0xc0515184, buflen=18
umass0: 0x 0000
umass_scsipi_sense_cb: xs=0xc0515128 residue=14 status=1
umass_scsipi_sense_cb: return xs->error=1, xs->xs_status=0x1 xs->resid=512
umass0: umass_scsi_cmd:  1:0 xs=0xc0515128 cmd=0x08 (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=1, cmdlen=12 datalen=512
umass0: umass_cbi_transfer cmd=0x08, len=512
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, STALLED
umass0: Command Transport failed
umass_scsipi_cb: xs=0xc0515128 residue=512 status=2
umass0: umass_cbi_transfer cmd=0x03, len=32
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, NORMAL_COMPLETION
umass0: start xfer buffer=0xc0515184 buflen=32 flags=0x5 timeout=23107
umass0: Handling CBI state 11 (CBI Data), xfer=0xc0585300, NORMAL_COMPLETION
umass0: CBI_DATA actlen=18
umass0: 0x 700000000000000a0000000000000000 buffer=0xc0515184, buflen=18
umass0: 0x 0000
umass_scsipi_sense_cb: xs=0xc0515128 residue=14 status=1
umass_scsipi_sense_cb: return xs->error=1, xs->xs_status=0x1 xs->resid=512
sd2: no disk label
umass0: umass_scsi_cmd:  1:0 xs=0xc0515128 cmd=0x08 (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=1, cmdlen=12 datalen=512
umass0: umass_cbi_transfer cmd=0x08, len=512
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, STALLED
umass0: Command Transport failed
umass_scsipi_cb: xs=0xc0515128 residue=512 status=2
umass0: umass_cbi_transfer cmd=0x03, len=32
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, NORMAL_COMPLETION
umass0: start xfer buffer=0xc0515184 buflen=32 flags=0x5 timeout=23107
umass0: Handling CBI state 11 (CBI Data), xfer=0xc0585300, NORMAL_COMPLETION
umass0: CBI_DATA actlen=18
umass0: 0x 700000000000000a0000000000000000 buffer=0xc0515184, buflen=18
umass0: 0x 0000
umass_scsipi_sense_cb: xs=0xc0515128 residue=14 status=1
umass_scsipi_sense_cb: return xs->error=1, xs->xs_status=0x1 xs->resid=512
umass0: umass_scsi_cmd:  1:0 xs=0xc0515128 cmd=0x1e (quirks=0x1010, poll=0)
umass_scsi_cmd: async dir=0, cmdlen=12 datalen=0
umass0: umass_cbi_transfer cmd=0x1e, len=0
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, NORMAL_COMPLETION
umass0: no data phase
umass_scsipi_cb: xs=0xc0515128 residue=0 status=1
umass0: umass_cbi_transfer cmd=0x03, len=32
umass0: Handling CBI state 10 (CBI Command), xfer=0xc04f0300, NORMAL_COMPLETION
umass0: start xfer buffer=0xc0515184 buflen=32 flags=0x5 timeout=23107
umass0: Handling CBI state 11 (CBI Data), xfer=0xc0585300, NORMAL_COMPLETION
umass0: CBI_DATA actlen=18
umass0: 0x 700000000000000a0000000000000000 buffer=0xc0515184, buflen=18
umass0: 0x 0000
umass_scsipi_sense_cb: xs=0xc0515128 residue=14 status=1
umass_scsipi_sense_cb: return xs->error=1, xs->xs_status=0x1 xs->resid=0

>Fix:

Unknown.  The USB commands do not seem to make it down the pipe.
>Release-Note:
>Audit-Trail:

From: John Hawkinson <jhawk@MIT.EDU>
To: Brad Spencer <brad@anduin.eldar.org>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/10112: umass UFI protocol does not appear to work with Sony VAIO drive
Date: Sat, 13 May 2000 16:58:44 -0400 (EDT)

 This is a dupe of kern/10084: "Y-E Data floppy doesn't work with umass".

 --jhawk
State-Changed-From-To: open->feedback 
State-Changed-By: mycroft 
State-Changed-When: Wed Sep 10 14:38:30 UTC 2003 
State-Changed-Why:  
This is believed to be fixed in -current (it works on another Vaio). 
Please retest. 


Responsible-Changed-From-To: kern-bug-people->mycroft 
Responsible-Changed-By: mycroft 
Responsible-Changed-When: Wed Sep 10 14:38:30 UTC 2003 
Responsible-Changed-Why:  
. 
State-Changed-From-To: feedback->closed 
State-Changed-By: fair 
State-Changed-When: Mon Mar 29 19:53:42 UTC 2004 
State-Changed-Why:  

Given the silence, it looks like we fixed it. 

From: Brad Spencer <brad@anduin.eldar.org>
To: gnats-bugs@gnats.netbsd.org
Cc: fair@netbsd.org, mycroft@netbsd.org
Subject: Re: kern/10112
Date: Tue, 30 Mar 2004 10:38:03 -0500 (EST)

    Synopsis: umass UFI protocol does not appear to work with Sony VAIO drive

    State-Changed-From-To: feedback->closed
    State-Changed-By: fair
    State-Changed-When: Mon Mar 29 19:53:42 UTC 2004
    State-Changed-Why: 

    Given the silence, it looks like we fixed it.




 Sorry, I had not been able to update that particular notebook beyond what
 it is currently.  Given the distance between the release then and now, the
 closed action seems correct.







 -- 
 Brad Spencer - brad@anduin.eldar.org -- KC8VKS
 http://anduin.eldar.org  - & -  http://anduin.ipv6.eldar.org [IPv6 only]
 [finger brad@anduin.eldar.org for PGP public key]
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.