From owner-freebsd-hackers Sun Mar 24 9:28:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by hub.freebsd.org (Postfix) with ESMTP id D7A1D37B417; Sun, 24 Mar 2002 09:28:03 -0800 (PST) Received: from fwd02.sul.t-online.de by mailout03.sul.t-online.com with smtp id 16pBmh-0005uc-0U; Sun, 24 Mar 2002 18:27:59 +0100 Received: from there (320071886283-0001@[217.235.119.156]) by fmrl02.sul.t-online.com with smtp id 16pBme-0Kgn9UC; Sun, 24 Mar 2002 18:27:56 +0100 Content-Type: text/plain; charset="iso-8859-15" From: Thomas =?iso-8859-15?q?W=FCrfl?= To: freebsd-questions@freebsd.org Subject: Re: usb mass storage problems Date: Sun, 24 Mar 2002 18:29:00 +0100 X-Mailer: KMail [version 1.3.2] References: <16pAVo-1klfP6C@fmrl06.sul.t-online.com> In-Reply-To: <16pAVo-1klfP6C@fmrl06.sul.t-online.com> Cc: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: <16pBme-0Kgn9UC@fmrl02.sul.t-online.com> X-Sender: 320071886283-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > umass0: Fujitsu Memorybird, rev 1.00/1.00, addr 2 > > da0 at umass-sim0 bus 0 target 0 lun 0 > > da0: Removable Direct Access SCSI-0 device > > da0: 650KB/s transfers > > da0: 15MB (32000 512 byte sectors: 64H 32S/T 15C)> try to mount: > > > > try to mount: > > snorry# mount -t msdos /dev/da0s1 /disk2 > > (da0:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1 0 > > (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 > > (da0:umass-sim0:0:0:0): Invalid command operation code > > da0: reading primary partition table: error reading fsbn 0 > > msdos: /dev/da0s1: Input/output error > > Mar 23 04:24:54 snorry /kernel: (da0:umass-sim0:0:0:0): READ(06). CDB: 8 > > 0 0 0 1 0 > > Mar 23 04:24:54 snorry /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST > > asc:20,0 > > Mar 23 04:24:54 snorry /kernel: (da0:umass-sim0:0:0:0): Invalid command > > operation code > > Mar 23 04:24:54 snorry /kernel: da0: reading primary partition table: > > error reading fsbn 0 > > snorry# > > i have found something very similar at: > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34205 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message I fixed the problem. I added following lines to /usr/src/sys/cam/scsi/scsi_da.c (FreeBSD-4.5RELEASE): /* Below a list of quirks for USB devices supported by umass. */ /* + * Fujitsu Siemens Memorybird + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "Fujitsu", "Memorybird", "*"}, + /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE + }, Maybe this is written in an unusual manner, but I'm an absolute newbie to freebsd and C. Sorry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message