From owner-freebsd-stable Thu Feb 27 15:23:42 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54AD837B401 for ; Thu, 27 Feb 2003 15:23:40 -0800 (PST) Received: from mail.natsoft.com.au (natsoft.com.au [203.39.138.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2510F43FAF for ; Thu, 27 Feb 2003 15:23:38 -0800 (PST) (envelope-from craig@natsoft.com.au) Received: from craig (craig.natsoft.com.au [203.39.138.118]) by mail.natsoft.com.au (8.12.3/8.12.3) with SMTP id h1RNOmqv038845; Fri, 28 Feb 2003 10:24:49 +1100 (EST) (envelope-from craig@natsoft.com.au) Message-ID: <00a401c2deb8$23cd48c0$768a27cb@natsoft.com.au> From: "Craig Wilson" To: "Bjarne Wichmann Petersen" , "regis rampnoux" , References: <200302271914.00077.freebsd.nospam@mekanix.dk> Subject: Re: USB floppy drive Date: Fri, 28 Feb 2003 10:29:56 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I got a Sony USB Floppy working by editing the file: /usr/src/sys/cam/scsi/scsi_da.c and placing a quirk entry for the device. Search for 'USB floppy' and then place similar lines in the file that describes your floppy, rebuild the kernel and all should be ok. The quirk entries disable the 6 byte commands, and Synchronize cache. Regards Craig Wilson ----- Original Message ----- From: "Bjarne Wichmann Petersen" To: "regis rampnoux" ; Sent: Friday, February 28, 2003 5:14 AM Subject: Re: USB floppy drive > On Sunday 09 February 2003 11:50, regis rampnoux wrote: > > > I want to use my TEAC USB Floppy with FreeBSD 4.7-STABLE (CVS 31 jan > > 2003) but I can't. > > Who knowns that is wrong? > > > > da1 at umass-sim0 bus 0 target 1 lun 0 > > da1: Removable Direct Access SCSI-0 device > > da1: 20KB/s transfers > > I tried the mtools and mount_msdos to deal with it but I obtain only > > the error: > > Can't open /dev/da1: Input/output error > > > > (I tried the others /dev/da1* devices too with the same result). > > > > umass1: Unsupported UFI command 0x08, 6 byte command should have been > > converted > > da1: reading primary partition table: error reading fsbn 0 > > umass1: Unsupported UFI command 0x35 > > (da1:umass-sim0:0:1:0): Synchronize cache failed, status == 0x6, scsi > > status == 0x0 > > Did you ever get a solution to your problem? I have had this problem for more > than a year (also with a TEAC USB-floppy). Back in april last year when I > asked this question I someone pointed me to a patch that by now ought have > been commited to -STABLE, but I'm still having problems. > > Anyway, try to read > > and install the patch. It worked for me in april. > > Bjarne > -- > Homepage: http://www.mekanix.dk > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message