From bms@spc.org  Wed Sep 25 10:57:59 2002
Return-Path: <bms@spc.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 483DC37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Sep 2002 10:57:59 -0700 (PDT)
Received: from bigboy.spc.org (dolly.good1.com [195.206.69.225])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7B31543E42
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Sep 2002 10:57:58 -0700 (PDT)
	(envelope-from bms@spc.org)
Message-Id: <20020925175737.E761196AE@triage.dollah.com>
Date: Wed, 25 Sep 2002 18:57:37 +0100 (BST)
From: Bruce M Simpson <bms@spc.org>
Reply-To: Bruce M Simpson <bms@spc.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Cannot format media in USB floppy devices
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43366
>Category:       i386
>Synopsis:       Cannot format media in USB floppy devices
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    cy
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 25 11:00:03 PDT 2002
>Closed-Date:    Wed Oct 19 01:44:20 UTC 2011
>Last-Modified:  Wed Oct 19 01:44:20 UTC 2011
>Originator:     Bruce M Simpson
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD triage.dollah.com 4.6-STABLE FreeBSD 4.6-STABLE #5: Sun Sep 22 00:35:55 BST 2002 root@triage.dollah.com:/usr/src/sys/compile/TRIAGE i386


	
>Description:
	No facility exists to format media in USB floppy devices.

	Attempting to format using the fdformat(8) command fails, as expected,
	because this command is written for the legacy fdc controller.

	Attempting to format using the 'camcontrol format' command typically
	results in command format errors; the 6-byte format command cannot
	be converted by the UFI translation layer in the umass driver.

>How-To-Repeat:
	Assuming CAM bus 0/device 1/lun 0 is a Y-E Flashbuster drive as
	supplied with the Sony Vaio Z600:

	# camcontrol format 0:1:0

	results in the following message from the kernel:

	umass1: Unsupported UFI command 0x04, 6 byte command should have been converted
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->joe 
Responsible-Changed-By: kris 
Responsible-Changed-When: Thu Jul 17 17:31:07 PDT 2003 
Responsible-Changed-Why:  
Assign to USB maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43366 
State-Changed-From-To: open->feedback 
State-Changed-By: njl 
State-Changed-When: Thu Aug 21 20:56:59 PDT 2003 
State-Changed-Why:  
This has sat for a while and now you're a committer.  :)  camcontrol format 
is a low-level format and is an optional command for RBC devices (which 
I assume your floppy drive is).  Have you tried just newfs_msdos on it? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43366 
Responsible-Changed-From-To: joe->freebsd-usb 
Responsible-Changed-By: joe 
Responsible-Changed-When: Wed Nov 10 10:57:58 GMT 2004 
Responsible-Changed-Why:  
Hand this over to the usb mailling list. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43366 
State-Changed-From-To: feedback->analyzed 
State-Changed-By: bms 
State-Changed-When: Mon Jan 10 04:32:43 GMT 2005 
State-Changed-Why:  
I've written a tool to format USB floppy media but have not 
yet committed it pending further review (it appears to work 
with at least Y-E Data FlashBuster type USB floppy drives). 

Nudged by:	julian@ 


Responsible-Changed-From-To: freebsd-usb->bms 
Responsible-Changed-By: bms 
Responsible-Changed-When: Mon Jan 10 04:32:43 GMT 2005 
Responsible-Changed-Why:  
I've written a tool to format USB floppy media but have not 
yet committed it pending further review (it appears to work 
with at least Y-E Data FlashBuster type USB floppy drives). 

Nudged by:	julian@ 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43366 
Responsible-Changed-From-To: bms->cy 
Responsible-Changed-By: bms 
Responsible-Changed-When: Wed Aug 2 10:31:02 UTC 2006 
Responsible-Changed-Why:  
Cy is looking at this now. Thanks Cy! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43366 
State-Changed-From-To: analyzed->closed 
State-Changed-By: eadler 
State-Changed-When: Wed Oct 19 01:44:19 UTC 2011 
State-Changed-Why:  
floppy drives are dead. If someone *really* wants to look at this 
problem they don't need a pr 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43366 
>Unformatted:
