Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2002 18:29:00 +0100
From:      Thomas =?iso-8859-15?q?W=FCrfl?= <ThomasWuerfl@gmx.de>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: usb mass storage problems
Message-ID:  <16pBme-0Kgn9UC@fmrl02.sul.t-online.com>
In-Reply-To: <16pAVo-1klfP6C@fmrl06.sul.t-online.com>
References:  <16pAVo-1klfP6C@fmrl06.sul.t-online.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > umass0: Fujitsu Memorybird, rev 1.00/1.00, addr 2
> > da0 at umass-sim0 bus 0 target 0 lun 0
> > da0: <Fujitsu Memorybird 1.05> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16pBme-0Kgn9UC>