Subject: problems with USB floppy
To: None <netbsd-users@netbsd.org>
From: Freidank, Kenneth <Kenneth.Freidank@delta.com>
List: netbsd-users
Date: 11/21/2005 10:47:05
This is a multi-part message in MIME format.

------_=_NextPart_001_01C5EEB2.D295ACFF
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

I just installed NetBSD 2.1 on my Thinkpad and get the same messages
when using my USB floppy.
Did you ever resolve the problem?  I would like to know your solution as
I have yet to find one.
Thanks in advance.
Sincerely,
Kenneth Freidank



Subject: problems with USB floppy
To: None <netbsd-users@netbsd.org>
From: Steve Bellovin <smb@research.att.com>
List: netbsd-users
Date: 05/01/2001 21:02:43=20
A few days ago, I spoke well of the IBM USB floppy for the Thinkpad 21.=20
I fear I spoke too soon...  It works well for reading, but when I try=20
to write to it I get errors like this:

sd0(umass0:1:0):  Check Condition on CDB: 0x2a 00 00 00 00 04 00 00 04
00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  ASC 0x04 ASCQ 0xff

sd0(umass0:1:0):  Check Condition on CDB: 0x1e 00 00 00 00 00
    SENSE KEY:  Aborted Command
     ASC/ASCQ:  Overlapped Commands Attempted


The drive is attached as a SCSI drive:

umass0: TEAC     TEAC FD-05PUB   , rev 1.00/0.00, 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: <TEAC, FD-05PUB, 1026> SCSI0 0/direct
removable

This is in 1.5.1, but I saw similar behavior on 1.5R.=20

The output shown above is when using mtools; when I tried a write after=20
mounting the MSDOS file system, I got only the first error message.
(On one occasion, I tried an 'ls /mnt' after getting the error message.
This was a mistake, as the system's behavior reminded me more of
Windows.
I'm not used to involuntary reboots on Unix...)

My guess is that I need an entry in the scsi quirks table, but just=20
what it should be is far from obvious to me.


		--Steve Bellovin, http://www.research.att.com/~smb


------_=_NextPart_001_01C5EEB2.D295ACFF
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7226.0">
<TITLE>problems with USB floppy</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT FACE=3D"Times New Roman">I just installed NetBSD 2.1 on my =
Thinkpad and get the same messages when using my USB floppy.</FONT>

<BR><FONT FACE=3D"Times New Roman">Did you ever resolve the =
problem?&nbsp; I would like to know your solution as I have yet to find =
one.</FONT>

<BR><FONT FACE=3D"Times New Roman">Thanks in advance.</FONT>

<BR><FONT FACE=3D"Times New Roman">Sincerely,</FONT>

<BR><FONT FACE=3D"Times New Roman">Kenneth Freidank</FONT>
</P>
<BR>
<BR>

<P><B><FONT FACE=3D"Times New Roman">Subject:</FONT></B><FONT =
FACE=3D"Times New Roman"> problems with USB floppy<BR>
</FONT><B><FONT FACE=3D"Times New Roman">To:</FONT></B><FONT =
FACE=3D"Times New Roman"> None<I> =
&lt;netbsd-users@netbsd.org&gt;</I><BR>
</FONT><B><FONT FACE=3D"Times New Roman">From:</FONT></B><FONT =
FACE=3D"Times New Roman"> Steve Bellovin</FONT><I> <FONT FACE=3D"Times =
New Roman">&lt;smb@research.att.com&gt;</FONT></I><BR>
<B><FONT FACE=3D"Times New Roman">List:</FONT></B><FONT FACE=3D"Times =
New Roman"> netbsd-users<BR>
</FONT><B><FONT FACE=3D"Times New Roman">Date:</FONT></B><FONT =
FACE=3D"Times New Roman"> 05/01/2001 21:02:43 </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">A few days ago, I spoke well of =
the IBM USB floppy for the Thinkpad 21. </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">I fear I spoke too soon...&nbsp; =
It works well for reading, but when I try </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">to write to it I get errors like =
this:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">sd0(umass0:1:0):&nbsp; Check =
Condition on CDB: 0x2a 00 00 00 00 04 00 00 04 00</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp; SENSE =
KEY:&nbsp; Not Ready</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp;&nbsp; =
ASC/ASCQ:&nbsp; ASC 0x04 ASCQ 0xff</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">sd0(umass0:1:0):&nbsp; Check =
Condition on CDB: 0x1e 00 00 00 00 00</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp; SENSE =
KEY:&nbsp; Aborted Command</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp;&nbsp; =
ASC/ASCQ:&nbsp; Overlapped Commands Attempted</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Courier New">The drive is attached as a SCSI =
drive:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">umass0: =
TEAC&nbsp;&nbsp;&nbsp;&nbsp; TEAC FD-05PUB&nbsp;&nbsp; , rev 1.00/0.00, =
addr 2</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">umass0: using UFI over =
CBI-I</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">scsibus0 at umass0: 2 targets, 1 =
luns per target</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">scsibus0: waiting 2 seconds for =
devices to settle...</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">sd0 at scsibus0 target 1 lun 0: =
&lt;TEAC, FD-05PUB, 1026&gt; SCSI0 0/direct removable</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">This is in 1.5.1, but I saw =
similar behavior on 1.5R. </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">The output shown above is when =
using mtools; when I tried a write after </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">mounting the MSDOS file system, =
I got only the first error message.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">(On one occasion, I tried an 'ls =
/mnt' after getting the error message.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">This was a mistake, as the =
system's behavior reminded me more of Windows.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">I'm not used to involuntary =
reboots on Unix...)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">My guess is that I need an entry =
in the scsi quirks table, but just </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">what it should be is far from =
obvious to me.</FONT>
</P>
<BR>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">--Steve Bellovin, </FONT><A =
HREF=3D"http://www.research.att.com/~smb"><U><FONT COLOR=3D"#0000FF" =
SIZE=3D2 FACE=3D"Courier =
New">http://www.research.att.com/~smb</FONT></U></A>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C5EEB2.D295ACFF--