Bug 43366

Summary: Cannot format media in USB floppy devices
Product: Base System Reporter: Bruce M Simpson <bms>
Component: i386Assignee: Cy Schubert <cy>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.6-STABLE   
Hardware: Any   
OS: Any   

Description Bruce M Simpson 2002-09-25 19:00:03 UTC
	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
Comment 1 Kris Kennaway freebsd_committer freebsd_triage 2003-07-18 01:31:07 UTC
Responsible Changed
From-To: freebsd-bugs->joe

Assign to USB maintainer
Comment 2 njl freebsd_committer freebsd_triage 2003-08-22 04:56:59 UTC
State Changed
From-To: open->feedback

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?
Comment 3 joe freebsd_committer freebsd_triage 2004-11-10 10:57:58 UTC
Responsible Changed
From-To: joe->freebsd-usb

Hand this over to the usb mailling list.
Comment 4 Bruce M Simpson freebsd_committer freebsd_triage 2005-01-10 04:32:43 UTC
State Changed
From-To: feedback->analyzed

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@ 


Comment 5 Bruce M Simpson freebsd_committer freebsd_triage 2005-01-10 04:32:43 UTC
Responsible Changed
From-To: freebsd-usb->bms

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@
Comment 6 Bruce M Simpson freebsd_committer freebsd_triage 2006-08-02 11:31:02 UTC
Responsible Changed
From-To: bms->cy

Cy is looking at this now. Thanks Cy!
Comment 7 Eitan Adler freebsd_committer freebsd_triage 2011-10-19 02:44:19 UTC
State Changed
From-To: analyzed->closed

floppy drives are dead. If someone *really* wants to look at this 
problem they don't need a pr