From owner-freebsd-scsi Sun Nov 4 14:38:49 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mailout05.sul.t-online.de (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id 816DC37B405; Sun, 4 Nov 2001 14:38:43 -0800 (PST) Received: from fwd07.sul.t-online.de by mailout05.sul.t-online.de with smtp id 160Vuc-0003h4-09; Sun, 04 Nov 2001 23:38:42 +0100 Received: from twoflower (320072111332-0001@[217.80.121.223]) by fwd07.sul.t-online.com with smtp id 160VuW-1Ia9b6C; Sun, 4 Nov 2001 23:38:36 +0100 Reply-To: From: Jan.Stocker@t-online.de (Jan Stocker) To: , Subject: USB / DA / Minolta 2330 Zoom Date: Sun, 4 Nov 2001 23:37:59 +0100 Message-ID: <000a01c16581$5ad9e320$fe02010a@twoflower.liebende.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Importance: Normal X-Sender: 320072111332-0001@t-dialin.net Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, i am trying to get my Minolta Dimage 2330 Zoom running under FreeBSD... But it doesnt want to run. I am discussing this with Phillip Musumeci and here are the infos i have for you: Identification looks like this... umass0: MINOLTA DIMAGE 2330 ZOOM DIMAGE2330ZOOM, 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: 62MB (128001 512 byte sectors: 64H 32S/T 62C) Information with fdisk da0: ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=62 heads=64 sectors/track=32 (2048 blks/cyl) parameters to be used for BIOS calculations are: cylinders=62 heads=64 sectors/track=32 (2048 blks/cyl) fdisk: invalid fdisk partition table found Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 32, size 126944 (61 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 61/ head 63/ sector 32 This is a digital camera with a compact flash card. So this card is used and setup from Windows. So i may think it is a msdos fs, isnt it? So whats the upper information says? 3 unused partition and one in UFS ??? A mount with ufs or msdos fs failed with a unconfigured device msg for all slices and a mount for da0 with an invalid parameter error. Any idea? Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Nov 4 14:44:48 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mailout01.sul.t-online.de (mailout01.sul.t-online.com [194.25.134.80]) by hub.freebsd.org (Postfix) with ESMTP id 8BEA037B405; Sun, 4 Nov 2001 14:44:46 -0800 (PST) Received: from fwd07.sul.t-online.de by mailout01.sul.t-online.de with smtp id 160W0T-00038M-00; Sun, 04 Nov 2001 23:44:45 +0100 Received: from twoflower (320072111332-0001@[217.80.121.111]) by fwd07.sul.t-online.com with smtp id 160W0I-1u9nwOC; Sun, 4 Nov 2001 23:44:34 +0100 Reply-To: From: Jan.Stocker@t-online.de (Jan Stocker) To: , Subject: SCSI->IDE Date: Sun, 4 Nov 2001 23:43:57 +0100 Message-ID: <000c01c16582$301c4f00$fe02010a@twoflower.liebende.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Importance: Normal X-Sender: 320072111332-0001@t-dialin.net Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Is there any working thread for doing a SCSI-IDE translation like NetBSD and LINUX has? This is very useful to get proggys like cdrecord (and the GUIs [GnomeToaster]) running on IDE cd writers. Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Nov 4 15:54:15 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id 13B4337B405; Sun, 4 Nov 2001 15:54:13 -0800 (PST) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id PAA02000; Sun, 4 Nov 2001 15:54:12 -0800 (PST) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [162.62.64.10]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id PAA19991; Sun, 4 Nov 2001 15:39:47 -0800 (PST) Received: from hollin.btc.adaptec.com (hollin [162.62.149.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id QAA18941; Sun, 4 Nov 2001 16:54:09 -0700 (MST) Received: (from scottl@localhost) by hollin.btc.adaptec.com (8.11.6/8.11.4) id fA4Nn3U70447; Sun, 4 Nov 2001 16:49:03 -0700 (MST) (envelope-from scottl) Date: Sun, 4 Nov 2001 16:49:03 -0700 From: Scott Long To: jstocker@tzi.de Cc: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org Subject: Re: SCSI->IDE Message-ID: <20011104164903.B28826@hollin.btc.adaptec.com> References: <000c01c16582$301c4f00$fe02010a@twoflower.liebende.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000c01c16582$301c4f00$fe02010a@twoflower.liebende.de> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Nov 04, 2001 at 11:43:57PM +0100, Jan Stocker wrote: > Is there any working thread for doing a SCSI-IDE translation like NetBSD and > LINUX has? This is very useful to get proggys like cdrecord (and the GUIs > [GnomeToaster]) running on IDE cd writers. It would require that someone write an ATA SIM for CAM. As yet, no one has stepped forward to volunteer. Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Nov 5 3: 0:30 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 5453637B405; Mon, 5 Nov 2001 03:00:24 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.0/8.11.0) with UUCP id fA5B0Lg26145; Mon, 5 Nov 2001 12:00:21 +0100 (CET) Received: from mail.cicely.de (cicely20.cicely.de [10.1.1.22]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id fA5AuJqb070755; Mon, 5 Nov 2001 11:56:20 +0100 (CET)?g (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by mail.cicely.de (8.11.0/8.11.0) with ESMTP id fA5AuIF26616; Mon, 5 Nov 2001 11:56:19 +0100 (CET) Received: (from ticso@localhost) by cicely8.cicely.de (8.11.4/8.11.4) id fA5Au5k49259; Mon, 5 Nov 2001 11:56:05 +0100 (CET) (envelope-from ticso) Date: Mon, 5 Nov 2001 11:56:05 +0100 From: Bernd Walter To: jstocker@tzi.de Cc: freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: USB / DA / Minolta 2330 Zoom Message-ID: <20011105115604.E39564@cicely8.cicely.de> References: <000a01c16581$5ad9e320$fe02010a@twoflower.liebende.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000a01c16581$5ad9e320$fe02010a@twoflower.liebende.de> User-Agent: Mutt/1.3.23i X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Nov 04, 2001 at 11:37:59PM +0100, Jan Stocker wrote: > Hi, > i am trying to get my Minolta Dimage 2330 Zoom running under FreeBSD... But > it doesnt want to run. I am discussing this with Phillip Musumeci and here > are the infos i have for you: > > ******* Working on device /dev/da0 ******* > parameters extracted from in-core disklabel are: > cylinders=62 heads=64 sectors/track=32 (2048 blks/cyl) > > parameters to be used for BIOS calculations are: > cylinders=62 heads=64 sectors/track=32 (2048 blks/cyl) > > fdisk: invalid fdisk partition table found ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This is a digital camera with a compact flash card. So this card is used and > setup from Windows. So i may think it is a msdos fs, isnt it? So whats the > upper information says? 3 unused partition and one in UFS ??? That's a default table, because the real was unreadable. > A mount with ufs or msdos fs failed with a unconfigured device msg for all > slices and a mount for da0 with an invalid parameter error. Right - the partion shown by fdisk doesn't exist as it was an template. > Any idea? Do you see read_6 errors from kernel? If yes you want to try a quirk entry to src/sys/cam/scsi/scsi_da.c: { /* MINOLTA DIMAGE 2330 */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "MINOLTA", "DIMAGE 2330*","*"}, /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE }, BTW: I found this one failing rw_6: { /* OLYMPUS E-100RS */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "OLYMPUS", "E-100RS","*"}, /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE }, So if anyone wants to commit... -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Nov 5 11: 9:18 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by hub.freebsd.org (Postfix) with ESMTP id B788437B405; Mon, 5 Nov 2001 11:09:09 -0800 (PST) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtpzilla3.xs4all.nl (8.12.0/8.12.0) with ESMTP id fA5J97Ie075206; Mon, 5 Nov 2001 20:09:07 +0100 (CET) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.6) id fA5J95R78453; Mon, 5 Nov 2001 20:09:05 +0100 (CET) (envelope-from wkb) Date: Mon, 5 Nov 2001 20:09:05 +0100 From: Wilko Bulte To: Mike Silbersack Cc: "Matthew N. Dodd" , freebsd-scsi@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG, sos@FreeBSD.ORG Subject: Re: ahc(4) reports PCI parity error interrupt Message-ID: <20011105200905.A75146@freebie.xs4all.nl> References: <20011103175232.A1073@freebie.xs4all.nl> <20011103131149.Q23595-100000@achilles.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011103131149.Q23595-100000@achilles.silby.com>; from silby@silby.com on Sat, Nov 03, 2001 at 01:12:56PM -0600 X-OS: FreeBSD 4.4-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Nov 03, 2001 at 01:12:56PM -0600, Mike Silbersack wrote: > > On Sat, 3 Nov 2001, Wilko Bulte wrote: > > > On Sat, Nov 03, 2001 at 06:40:28AM -0500, Matthew N. Dodd wrote: > > > On Fri, 2 Nov 2001, Mike Silbersack wrote: > > > > Hm, I'm not sure if the Via pci-bad-settings patch to the ata driver > > > > was mfc'd yet. Perhaps more than onboard IDE and SB Lives are > > > > affected? > > > > > > Yes. Download the latest BIOS for your VIA 82c686 based K7 board. > > > > > > This fixed the problems I was observing of a similar nature. > > > > Well, I am at the latest rev Asus has up for ftp (rev 1007). > > > > -- > > | / o / /_ _ email: wilko@FreeBSD.org > > |/|/ / / /( (_) Bulte Arnhem, The Netherlands > > Soren has said in the past that some companies only apply the patch if a > SB Live is detected. You may wish to try pulling in the patch from > ata-pci.c (look for "VIA '686b southbridge fix applied\n") and see if it > helps you at all. I have not yet tried this yet. But I tried something else (my EE genes made me try this): - I moved the Brooktree TV card from the slot furthest from the AGP video card to the PCI slot closest to it. Interestingly enough this made all the PCI errors go away, I ran continous buildworlds overnight, in parallel with continuous 'dd's of da0 and ad0, in parallel with fxtv. All of this ran without a hitch. Interesting.. W/ -- | / o / /_ _ email: wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, The Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Nov 5 11:22:29 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from silby.com (cb34181-a.mdsn1.wi.home.com [24.14.173.39]) by hub.freebsd.org (Postfix) with ESMTP id 315C537B418 for ; Mon, 5 Nov 2001 11:22:19 -0800 (PST) Received: (qmail 30423 invoked by uid 1000); 5 Nov 2001 19:22:18 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 5 Nov 2001 19:22:18 -0000 Date: Mon, 5 Nov 2001 13:22:18 -0600 (CST) From: Mike Silbersack To: Wilko Bulte Cc: "Matthew N. Dodd" , , , Subject: Re: ahc(4) reports PCI parity error interrupt In-Reply-To: <20011105200905.A75146@freebie.xs4all.nl> Message-ID: <20011105131907.W29695-100000@achilles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 5 Nov 2001, Wilko Bulte wrote: > > Soren has said in the past that some companies only apply the patch if a > > SB Live is detected. You may wish to try pulling in the patch from > > ata-pci.c (look for "VIA '686b southbridge fix applied\n") and see if it > > helps you at all. > > I have not yet tried this yet. But I tried something else > (my EE genes made me try this): > > - I moved the Brooktree TV card from the slot furthest from the AGP > video card to the PCI slot closest to it. > > Interestingly enough this made all the PCI errors go away, I ran continous > buildworlds overnight, in parallel with continuous 'dd's of da0 and ad0, > in parallel with fxtv. > > All of this ran without a hitch. Interesting.. > > W/ > -- > | / o / /_ _ email: wilko@FreeBSD.org > |/|/ / / /( (_) Bulte Arnhem, The Netherlands Hm... I was at a talk once where an HP EE mentioned that pci slots should be filled in order due to capacitance and timing issues. I didn't pay much attention to that, perhaps I should follow that layout in the future. I really don't like putting cards near the overly warm AGP video card though... oh well. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Nov 5 12: 7:15 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 397BD37B405; Mon, 5 Nov 2001 12:07:11 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id fA5K78g50864; Mon, 5 Nov 2001 12:07:08 -0800 (PST) (envelope-from dillon) Date: Mon, 5 Nov 2001 12:07:08 -0800 (PST) From: Matthew Dillon Message-Id: <200111052007.fA5K78g50864@apollo.backplane.com> To: Mike Silbersack Cc: Wilko Bulte , "Matthew N. Dodd" , , , Subject: Re: ahc(4) reports PCI parity error interrupt References: <20011105131907.W29695-100000@achilles.silby.com> Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org :... :> I have not yet tried this yet. But I tried something else :> (my EE genes made me try this): :> :> - I moved the Brooktree TV card from the slot furthest from the AGP :> video card to the PCI slot closest to it. :> :> Interestingly enough this made all the PCI errors go away, I ran continous :> buildworlds overnight, in parallel with continuous 'dd's of da0 and ad0, :> in parallel with fxtv. :> :> All of this ran without a hitch. Interesting.. :> :> W/ :> -- :> | / o / /_ _ email: wilko@FreeBSD.org :> |/|/ / / /( (_) Bulte Arnhem, The Netherlands : :Hm... I was at a talk once where an HP EE mentioned that pci slots should :be filled in order due to capacitance and timing issues. I didn't pay :much attention to that, perhaps I should follow that layout in the future. :I really don't like putting cards near the overly warm AGP video card :though... oh well. : :Mike "Silby" Silbersack I'll bet what's really happening is that the brooktree TV card is generating a lot of noise on the power busses, and moving it simply moved it closer to larger caps on the motherboard or perhaps better caps on the AGP card. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Nov 5 12:29:26 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by hub.freebsd.org (Postfix) with ESMTP id 3D9B337B417; Mon, 5 Nov 2001 12:29:10 -0800 (PST) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtpzilla5.xs4all.nl (8.12.0/8.12.0) with ESMTP id fA5KT2bl071219; Mon, 5 Nov 2001 21:29:02 +0100 (CET) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.6) id fA5KT1o67780; Mon, 5 Nov 2001 21:29:01 +0100 (CET) (envelope-from wkb) Date: Mon, 5 Nov 2001 21:29:01 +0100 From: Wilko Bulte To: Mike Silbersack Cc: "Matthew N. Dodd" , freebsd-scsi@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG, sos@FreeBSD.ORG Subject: Re: ahc(4) reports PCI parity error interrupt Message-ID: <20011105212901.A67746@freebie.xs4all.nl> References: <20011105200905.A75146@freebie.xs4all.nl> <20011105131907.W29695-100000@achilles.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011105131907.W29695-100000@achilles.silby.com>; from silby@silby.com on Mon, Nov 05, 2001 at 01:22:18PM -0600 X-OS: FreeBSD 4.4-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Nov 05, 2001 at 01:22:18PM -0600, Mike Silbersack wrote: > > On Mon, 5 Nov 2001, Wilko Bulte wrote: > > > > Soren has said in the past that some companies only apply the patch if a > > > SB Live is detected. You may wish to try pulling in the patch from > > > ata-pci.c (look for "VIA '686b southbridge fix applied\n") and see if it > > > helps you at all. > > > > I have not yet tried this yet. But I tried something else > > (my EE genes made me try this): > > > > - I moved the Brooktree TV card from the slot furthest from the AGP > > video card to the PCI slot closest to it. > > > > Interestingly enough this made all the PCI errors go away, I ran continous > > buildworlds overnight, in parallel with continuous 'dd's of da0 and ad0, > > in parallel with fxtv. > > > > All of this ran without a hitch. Interesting.. > > > > W/ > > -- > > | / o / /_ _ email: wilko@FreeBSD.org > > |/|/ / / /( (_) Bulte Arnhem, The Netherlands > > Hm... I was at a talk once where an HP EE mentioned that pci slots should > be filled in order due to capacitance and timing issues. I didn't pay > much attention to that, perhaps I should follow that layout in the future. > I really don't like putting cards near the overly warm AGP video card > though... oh well. Well, all my PCI slots are filled ;). The VGA is a Matrox G200 which is not a house heater. Wilko -- | / o / /_ _ email: wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, The Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Nov 5 12:32:30 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by hub.freebsd.org (Postfix) with ESMTP id B6F4E37B416; Mon, 5 Nov 2001 12:32:25 -0800 (PST) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtpzilla3.xs4all.nl (8.12.0/8.12.0) with ESMTP id fA5KWL9t089197; Mon, 5 Nov 2001 21:32:21 +0100 (CET) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.6) id fA5KWLv67812; Mon, 5 Nov 2001 21:32:21 +0100 (CET) (envelope-from wkb) Date: Mon, 5 Nov 2001 21:32:21 +0100 From: Wilko Bulte To: Matthew Dillon Cc: Mike Silbersack , "Matthew N. Dodd" , freebsd-scsi@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG, sos@FreeBSD.ORG Subject: Re: ahc(4) reports PCI parity error interrupt Message-ID: <20011105213221.B67746@freebie.xs4all.nl> References: <20011105131907.W29695-100000@achilles.silby.com> <200111052007.fA5K78g50864@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200111052007.fA5K78g50864@apollo.backplane.com>; from dillon@apollo.backplane.com on Mon, Nov 05, 2001 at 12:07:08PM -0800 X-OS: FreeBSD 4.4-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Nov 05, 2001 at 12:07:08PM -0800, Matthew Dillon wrote: > :... > :> I have not yet tried this yet. But I tried something else > :> (my EE genes made me try this): > :> > :> - I moved the Brooktree TV card from the slot furthest from the AGP > :> video card to the PCI slot closest to it. > :> > :> Interestingly enough this made all the PCI errors go away, I ran continous > :> buildworlds overnight, in parallel with continuous 'dd's of da0 and ad0, > :> in parallel with fxtv. > :> > :> All of this ran without a hitch. Interesting.. > :Hm... I was at a talk once where an HP EE mentioned that pci slots should > :be filled in order due to capacitance and timing issues. I didn't pay > :much attention to that, perhaps I should follow that layout in the future. > :I really don't like putting cards near the overly warm AGP video card > :though... oh well. > : > :Mike "Silby" Silbersack > > I'll bet what's really happening is that the brooktree TV card > is generating a lot of noise on the power busses, and moving it > simply moved it closer to larger caps on the motherboard or > perhaps better caps on the AGP card. Hmm. Interesting theory. Difficult to verify though. I did have this problem on 2 different mainboards, but that does not mean both boards could not have had the same power grid decoupling / bulk cap. issue of course. Well.. it works now. -- | / o / /_ _ email: wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, The Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Nov 5 18:34:20 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mailout05.sul.t-online.de (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id BA4CD37B405; Mon, 5 Nov 2001 18:34:16 -0800 (PST) Received: from fwd06.sul.t-online.de by mailout05.sul.t-online.de with smtp id 160w44-00073h-05; Tue, 06 Nov 2001 03:34:12 +0100 Received: from twoflower (320072111332-0001@[217.80.127.100]) by fwd06.sul.t-online.com with smtp id 160w3r-1Hl0V6C; Tue, 6 Nov 2001 03:33:59 +0100 From: Jan.Stocker@t-online.de (Jan Stocker) To: "Bernd Walter" Cc: , Subject: RE: USB / DA / Minolta 2330 Zoom Date: Tue, 6 Nov 2001 03:33:21 +0100 Message-ID: <000001c1666b$669bb9a0$fe02010a@twoflower.liebende.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <20011105115604.E39564@cicely8.cicely.de> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Importance: Normal X-Sender: 320072111332-0001@t-dialin.net Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi... ive no read errors, but this patch helps... i think a commit will be good. Thank you a lot... Jan > Do you see read_6 errors from kernel? > If yes you want to try a quirk entry to src/sys/cam/scsi/scsi_da.c: > { > /* MINOLTA DIMAGE 2330 */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "MINOLTA", "DIMAGE 2330*","*"}, > /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE > }, > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Nov 5 20:50:59 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from gateway.posi.net (c1096725-a.smateo1.sfba.home.com [24.250.130.228]) by hub.freebsd.org (Postfix) with ESMTP id BE2BE37B405; Mon, 5 Nov 2001 20:50:50 -0800 (PST) Received: from localhost (kbyanc@localhost) by gateway.posi.net (8.11.6/8.11.3) with ESMTP id fA64obK15462; Mon, 5 Nov 2001 20:50:37 -0800 (PST) (envelope-from kbyanc@posi.net) X-Authentication-Warning: gateway.posi.net: kbyanc owned process doing -bs Date: Mon, 5 Nov 2001 20:50:37 -0800 (PST) From: Kelly Yancey To: Jan Stocker Cc: Bernd Walter , freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: RE: USB / DA / Minolta 2330 Zoom In-Reply-To: <000001c1666b$669bb9a0$fe02010a@twoflower.liebende.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 6 Nov 2001, Jan Stocker wrote: > Hi... ive no read errors, but this patch helps... i think a commit will be > good. > > Thank you a lot... > Jan > > > > Do you see read_6 errors from kernel? > > If yes you want to try a quirk entry to src/sys/cam/scsi/scsi_da.c: > > { > > /* MINOLTA DIMAGE 2330 */ > > {T_DIRECT, SIP_MEDIA_REMOVABLE, "MINOLTA", "DIMAGE 2330*","*"}, > > /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE > > }, > > > > Can you try it without the DA_Q_NO_6_BYTE, then. For example: { /* MINOLTA DIMAGE 2330 */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "MINOLTA", "DIMAGE 2330*","*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, If this works for you, then I'll commit this to the quirk table. Thanks! Kelly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Nov 6 1:11:52 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from bastix.tunix.nl (bastix.tunix.nl [193.79.201.39]) by hub.freebsd.org (Postfix) with ESMTP id 7D46237B418; Tue, 6 Nov 2001 01:11:47 -0800 (PST) Received: (from fwmaster@localhost) by bastix.tunix.nl (8.9.1a/8.6.12) id KAA21528; Tue, 6 Nov 2001 10:11:45 +0100 (MET) Received: by bastix.tunix.nl via smap (V1.3) id sma020920; Tue, 6 Nov 01 10:10:16 +0100 Received: (from jos@localhost) by thetix.tunix.nl (8.11.3/8.11.3) id fA69AGJ18309; Tue, 6 Nov 2001 10:10:16 +0100 (CET) (envelope-from jos) Date: Tue, 6 Nov 2001 10:10:15 +0100 From: Jos Vissers To: Kelly Yancey Cc: freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: USB / DA / Minolta 2330 Zoom; Nikon coolpix 995 also Message-ID: <20011106101015.A18073@tunix.nl> References: <000001c1666b$669bb9a0$fe02010a@twoflower.liebende.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from kbyanc@posi.net on Mon, Nov 05, 2001 at 08:50:37PM -0800 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Nov 05, 2001 at 08:50:37PM -0800, Kelly Yancey wrote: > > > { > > > /* MINOLTA DIMAGE 2330 */ > > > {T_DIRECT, SIP_MEDIA_REMOVABLE, "MINOLTA", "DIMAGE 2330*","*"}, > > > /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE > > > }, This also works for the Nikon Coolpix 995 ("NIKON DSC E995"). > Can you try it without the DA_Q_NO_6_BYTE, then. For example: I will try this for the Nikon as well. Jos -- Jos Vissers TUNIX Open System Consultants BV Toernooiveld 124, 6525 EC Nijmegen, the Netherlands tel: +31-(0)24-3528819, fax: +31-(0)24-3500260 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Nov 6 16:46:16 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mailout01.sul.t-online.de (mailout01.sul.t-online.com [194.25.134.80]) by hub.freebsd.org (Postfix) with ESMTP id 122F937B416; Tue, 6 Nov 2001 16:46:10 -0800 (PST) Received: from fwd05.sul.t-online.de by mailout01.sul.t-online.de with smtp id 161Gql-0000eH-01; Wed, 07 Nov 2001 01:45:51 +0100 Received: from twoflower (320072111332-0001@[217.80.121.85]) by fwd05.sul.t-online.com with smtp id 161GqF-0CHQQKC; Wed, 7 Nov 2001 01:45:19 +0100 From: Jan.Stocker@t-online.de (Jan Stocker) To: "Kelly Yancey" , "Jan Stocker" Cc: "Bernd Walter" , , Subject: RE: USB / DA / Minolta 2330 Zoom Date: Wed, 7 Nov 2001 01:44:40 +0100 Message-ID: <000001c16725$6293f880$fe02010a@twoflower.liebende.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Sender: 320072111332-0001@t-dialin.net Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org It doesnt work with the no sync cache alone, you'll need the no 6 byte also. Jan > -----Original Message----- > From: Kelly Yancey [mailto:kbyanc@posi.net] > Sent: Tuesday, November 06, 2001 5:51 AM > To: Jan Stocker > Cc: Bernd Walter; freebsd-hardware@FreeBSD.ORG; freebsd-scsi@FreeBSD.ORG > Subject: RE: USB / DA / Minolta 2330 Zoom > > > On Tue, 6 Nov 2001, Jan Stocker wrote: > > > Hi... ive no read errors, but this patch helps... i think a > commit will be > > good. > > > > Thank you a lot... > > Jan > > > > > > > Do you see read_6 errors from kernel? > > > If yes you want to try a quirk entry to src/sys/cam/scsi/scsi_da.c: > > > { > > > /* MINOLTA DIMAGE 2330 */ > > > {T_DIRECT, SIP_MEDIA_REMOVABLE, "MINOLTA", "DIMAGE 2330*","*"}, > > > /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE > > > }, > > > > > > > > > Can you try it without the DA_Q_NO_6_BYTE, then. For example: > > { > /* MINOLTA DIMAGE 2330 */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "MINOLTA", "DIMAGE 2330*","*"}, > /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > > If this works for you, then I'll commit this to the quirk table. Thanks! > > Kelly > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Nov 7 6:57:42 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id 25AE337B416; Wed, 7 Nov 2001 06:57:38 -0800 (PST) Received: by melchior.cuivre.fr.eu.org (Postfix, from userid 11117) id EB6768069; Wed, 7 Nov 2001 15:57:36 +0100 (CET) Date: Wed, 7 Nov 2001 15:57:36 +0100 From: Thomas Quinot To: Scott Long Cc: jstocker@tzi.de, freebsd-scsi@freebsd.org, freebsd-current@freebsd.org Subject: Re: SCSI->IDE Message-ID: <20011107155735.B30053@cuivre.fr.eu.org> Reply-To: Thomas Quinot References: <000c01c16582$301c4f00$fe02010a@twoflower.liebende.de> <20011104164903.B28826@hollin.btc.adaptec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.15i In-Reply-To: <20011104164903.B28826@hollin.btc.adaptec.com>; from scott_long@btc.adaptec.com on Sun, Nov 04, 2001 at 04:49:03PM -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Le 2001-11-05, Scott Long écrivait : > It would require that someone write an ATA SIM for CAM. As yet, no one > has stepped forward to volunteer. I have started one a few days ago. Still testing code, still many known, unknown or otherwise bizarre problems, but at least I can mount a CD-ROM, use cdrecord and cdrdao on my ATAPI drive through CAM. A patch against -STABLE is available from http://www.cuivre.fr.eu.org/~thomas/atapicam/ Use at your own risk. YMMV. Feedback welcome. Be prepared for panics, especially on multi-processor machines. Thomas. -- Thomas Quinot ** Département Informatique & Réseaux ** quinot@inf.enst.fr ENST // 46 rue Barrault // 75634 PARIS CEDEX 13 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Nov 7 7: 8:54 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id DFB0737B417; Wed, 7 Nov 2001 07:08:39 -0800 (PST) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id HAA21834; Wed, 7 Nov 2001 07:08:39 -0800 (PST) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [162.62.64.10]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id GAA13197; Wed, 7 Nov 2001 06:54:10 -0800 (PST) Received: from hollin.btc.adaptec.com (hollin [162.62.149.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id IAA06992; Wed, 7 Nov 2001 08:08:36 -0700 (MST) Received: (from scottl@localhost) by hollin.btc.adaptec.com (8.11.6/8.11.4) id fA7F3OJ80254; Wed, 7 Nov 2001 08:03:24 -0700 (MST) (envelope-from scottl) Date: Wed, 7 Nov 2001 08:03:24 -0700 From: Scott Long To: Thomas Quinot Cc: jstocker@tzi.de, freebsd-scsi@freebsd.org, freebsd-current@freebsd.org Subject: Re: SCSI->IDE Message-ID: <20011107080323.A79141@hollin.btc.adaptec.com> References: <000c01c16582$301c4f00$fe02010a@twoflower.liebende.de> <20011104164903.B28826@hollin.btc.adaptec.com> <20011107155735.B30053@cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20011107155735.B30053@cuivre.fr.eu.org> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Very cool! Have you tested it on anything other than a CDROM? Scott On Wed, Nov 07, 2001 at 03:57:36PM +0100, Thomas Quinot wrote: > Le 2001-11-05, Scott Long écrivait : > > > It would require that someone write an ATA SIM for CAM. As yet, no one > > has stepped forward to volunteer. > > I have started one a few days ago. Still testing code, still many known, > unknown or otherwise bizarre problems, but at least I can mount a > CD-ROM, use cdrecord and cdrdao on my ATAPI drive through CAM. > > A patch against -STABLE is available from > http://www.cuivre.fr.eu.org/~thomas/atapicam/ > > Use at your own risk. YMMV. Feedback welcome. Be prepared for panics, > especially on multi-processor machines. > > Thomas. > > -- > Thomas Quinot ** Département Informatique & Réseaux ** quinot@inf.enst.fr > ENST // 46 rue Barrault // 75634 PARIS CEDEX 13 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Nov 7 7:13:20 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id 27E6437B416; Wed, 7 Nov 2001 07:13:15 -0800 (PST) Received: by melchior.cuivre.fr.eu.org (Postfix, from userid 11117) id A62618078; Wed, 7 Nov 2001 16:13:13 +0100 (CET) Date: Wed, 7 Nov 2001 16:13:13 +0100 From: Thomas Quinot To: Scott Long Cc: Thomas Quinot , jstocker@tzi.de, freebsd-scsi@freebsd.org, freebsd-current@freebsd.org Subject: Re: SCSI->IDE Message-ID: <20011107161313.B32550@cuivre.fr.eu.org> Reply-To: Thomas Quinot References: <000c01c16582$301c4f00$fe02010a@twoflower.liebende.de> <20011104164903.B28826@hollin.btc.adaptec.com> <20011107155735.B30053@cuivre.fr.eu.org> <20011107080323.A79141@hollin.btc.adaptec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.15i In-Reply-To: <20011107080323.A79141@hollin.btc.adaptec.com>; from scott_long@btc.adaptec.com on Wed, Nov 07, 2001 at 08:03:24AM -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Le 2001-11-07, Scott Long écrivait : > Very cool! Have you tested it on anything other than a CDROM? I have tested it only with a CD-ROM drive (SAMSUNG CD-ROM SC-148F F007), a CD-RW unit (LITE-ON LTR-16102B OS0B) and a DVD drive (only tested CD-ROM and CD-audio functionality on this one, PIONEER DVD-ROM DVD-105F 1.22). I do not have any tape or floppy ATAPI devs. Thomas. -- Thomas Quinot ** Département Informatique & Réseaux ** quinot@inf.enst.fr ENST // 46 rue Barrault // 75634 PARIS CEDEX 13 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Nov 7 10:59:40 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from gate.qubesoft.com (gate.qubesoft.com [212.113.16.243]) by hub.freebsd.org (Postfix) with ESMTP id 7161F37B418; Wed, 7 Nov 2001 10:59:31 -0800 (PST) Received: from builder03 (dhcp139.qubesoft.com [192.168.1.139]) by gate.qubesoft.com (8.11.3/8.11.3) with SMTP id fA7IxJM23782; Wed, 7 Nov 2001 18:59:19 GMT (envelope-from n_hibma@qubesoft.com) From: "Nick Hibma" To: "Thomas Quinot" Cc: , Subject: RE: SCSI->IDE Date: Wed, 7 Nov 2001 18:59:19 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20011107155735.B30053@cuivre.fr.eu.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org You are not doing any conversion of commands from SCSI to ATAPI. Did you verify that all SCSI commands are valid ATAPI commands? I am doing something similar in the umass.c driver. Nick > -----Original Message----- > From: owner-freebsd-current@FreeBSD.ORG > [mailto:owner-freebsd-current@FreeBSD.ORG]On Behalf Of Thomas Quinot > Sent: 07 November 2001 14:58 > To: Scott Long > Cc: jstocker@tzi.de; freebsd-scsi@FreeBSD.ORG; > freebsd-current@FreeBSD.ORG > Subject: Re: SCSI->IDE > > > Le 2001-11-05, Scott Long écrivait : > > > It would require that someone write an ATA SIM for CAM. As > yet, no one > > has stepped forward to volunteer. > > I have started one a few days ago. Still testing code, still > many known, > unknown or otherwise bizarre problems, but at least I can mount a > CD-ROM, use cdrecord and cdrdao on my ATAPI drive through CAM. > > A patch against -STABLE is available from > http://www.cuivre.fr.eu.org/~thomas/atapicam/ > > Use at your own risk. YMMV. Feedback welcome. Be prepared for panics, > especially on multi-processor machines. > > Thomas. > > -- > Thomas Quinot ** Département Informatique & Réseaux ** > quinot@inf.enst.fr > ENST // 46 rue Barrault // 75634 PARIS CEDEX 13 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Nov 7 12:34:29 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from bastix.tunix.nl (bastix.tunix.nl [193.79.201.39]) by hub.freebsd.org (Postfix) with ESMTP id 19A6D37B422; Wed, 7 Nov 2001 12:34:05 -0800 (PST) Received: (from fwmaster@localhost) by bastix.tunix.nl (8.9.1a/8.6.12) id VAA25641; Wed, 7 Nov 2001 21:34:04 +0100 (MET) Received: by bastix.tunix.nl via smap (V1.3) id sma025261; Wed, 7 Nov 01 21:32:43 +0100 Received: from tunix.nl by fix.tunix.nl (8.9.3+Sun/SMI-SVR4) id VAA11537; Wed, 7 Nov 2001 21:32:41 +0100 (MET) Message-ID: <3BE99A67.6E16BDE4@tunix.nl> Date: Wed, 07 Nov 2001 21:32:39 +0100 From: Jos Vissers Organization: Tunix Open System Consultants B.V. X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Jan Stocker Cc: Kelly Yancey , Bernd Walter , freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: USB / DA / Minolta 2330 Zoom References: <000001c16725$6293f880$fe02010a@twoflower.liebende.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jan Stocker wrote: > It doesnt work with the no sync cache alone, you'll need the no 6 byte also. > > Jan > > > -----Original Message----- > > From: Kelly Yancey [mailto:kbyanc@posi.net] > > Sent: Tuesday, November 06, 2001 5:51 AM > > To: Jan Stocker > > Cc: Bernd Walter; freebsd-hardware@FreeBSD.ORG; freebsd-scsi@FreeBSD.ORG > > Subject: RE: USB / DA / Minolta 2330 Zoom > > > > > > On Tue, 6 Nov 2001, Jan Stocker wrote: > > > > > Hi... ive no read errors, but this patch helps... i think a > > commit will be > > > good. > > > > > > Thank you a lot... > > > Jan > > > > > > > > > > Do you see read_6 errors from kernel? > > > > If yes you want to try a quirk entry to src/sys/cam/scsi/scsi_da.c: > > > > { > > > > /* MINOLTA DIMAGE 2330 */ > > > > {T_DIRECT, SIP_MEDIA_REMOVABLE, "MINOLTA", "DIMAGE 2330*","*"}, > > > > /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE > > > > }, > > > > > > > > > > > > > > Can you try it without the DA_Q_NO_6_BYTE, then. For example: > > > > { > > /* MINOLTA DIMAGE 2330 */ > > {T_DIRECT, SIP_MEDIA_REMOVABLE, "MINOLTA", "DIMAGE 2330*","*"}, > > /*quirks*/ DA_Q_NO_SYNC_CACHE > > }, > > > > If this works for you, then I'll commit this to the quirk table. Thanks! > > > > Kelly I can confirm that the Nikon Coolpix 995 works with the just the DA_Q_NO_6_BYTE quirk: { /* * Nikon Coolpix 995 */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "NIKON", "NIKON DSC E995", "*"}, /*quirks*/ DA_Q_NO_6_BYTE }, I also have a SanDisk ImageMate which works out of the box. Regards, Jos -- Jos Vissers TUNIX Open System Consultants BV Toernooiveld 124, 6525 EC Nijmegen, the Netherlands tel: +31 24 352 88 19, fax: +31 24 350 02 60, gsm: +31 6 27 02 46 40 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Nov 7 13:19:44 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from gateway.posi.net (c1096725-a.smateo1.sfba.home.com [24.250.130.228]) by hub.freebsd.org (Postfix) with ESMTP id A620037B417; Wed, 7 Nov 2001 13:19:41 -0800 (PST) Received: from localhost (kbyanc@localhost) by gateway.posi.net (8.11.6/8.11.3) with ESMTP id fA7LInA42009; Wed, 7 Nov 2001 13:18:49 -0800 (PST) (envelope-from kbyanc@posi.net) X-Authentication-Warning: gateway.posi.net: kbyanc owned process doing -bs Date: Wed, 7 Nov 2001 13:18:49 -0800 (PST) From: Kelly Yancey To: Jos Vissers Cc: Jan Stocker , Bernd Walter , freebsd-hardware@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: USB / DA / Minolta 2330 Zoom In-Reply-To: <3BE99A67.6E16BDE4@tunix.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 7 Nov 2001, Jos Vissers wrote: > I can confirm that the Nikon Coolpix 995 works with the just the > DA_Q_NO_6_BYTE > quirk: > { > /* > * Nikon Coolpix 995 > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "NIKON", "NIKON DSC > E995", "*"}, > /*quirks*/ DA_Q_NO_6_BYTE > }, > > I also have a SanDisk ImageMate which works out of the box. > > Regards, Jos > Great, thanks! I'll commit this shortly. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Nov 7 15: 1:15 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mailout06.sul.t-online.de (mailout06.sul.t-online.com [194.25.134.19]) by hub.freebsd.org (Postfix) with ESMTP id 634D237B405; Wed, 7 Nov 2001 15:01:06 -0800 (PST) Received: from fwd05.sul.t-online.de by mailout06.sul.t-online.de with smtp id 161bgb-0008RA-01; Thu, 08 Nov 2001 00:00:45 +0100 Received: from twoflower (320072111332-0001@[217.80.121.163]) by fwd05.sul.t-online.com with smtp id 161bgQ-26HbeaC; Thu, 8 Nov 2001 00:00:34 +0100 From: Jan.Stocker@t-online.de (Jan Stocker) To: "Thomas Quinot" , "Scott Long" Cc: , Subject: RE: SCSI->IDE Date: Wed, 7 Nov 2001 23:59:56 +0100 Message-ID: <000001c167df$eb2f5440$fe02010a@twoflower.liebende.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <20011107155735.B30053@cuivre.fr.eu.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Sender: 320072111332-0001@t-dialin.net Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I used your patches to change my -current release and got this: $ camcontrol devlist -v scbus0 on umass-sim0 bus 0: at scbus0 target 0 lun 0 (da0) scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) $ cdrecord -scanbus Cdrecord 1.10 (i386-unknown-freebsd5.0) Copyright (C) 1995-2001 Jörg Schilling cdrecord: No such file or directory. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. This all looks not very good... a bus with number -1??? Jan P.S. Do you have forgotten to do a detach??? > -----Original Message----- > From: owner-freebsd-scsi@FreeBSD.ORG > [mailto:owner-freebsd-scsi@FreeBSD.ORG]On Behalf Of Thomas Quinot > Sent: Wednesday, November 07, 2001 3:58 PM > To: Scott Long > Cc: jstocker@tzi.de; freebsd-scsi@FreeBSD.ORG; > freebsd-current@FreeBSD.ORG > Subject: Re: SCSI->IDE > > > Le 2001-11-05, Scott Long écrivait : > > > It would require that someone write an ATA SIM for CAM. As yet, no one > > has stepped forward to volunteer. > > I have started one a few days ago. Still testing code, still many known, > unknown or otherwise bizarre problems, but at least I can mount a > CD-ROM, use cdrecord and cdrdao on my ATAPI drive through CAM. > > A patch against -STABLE is available from > http://www.cuivre.fr.eu.org/~thomas/atapicam/ > > Use at your own risk. YMMV. Feedback welcome. Be prepared for panics, > especially on multi-processor machines. > > Thomas. > > -- > Thomas Quinot ** Département Informatique & Réseaux ** quinot@inf.enst.fr > ENST // 46 rue Barrault // 75634 PARIS CEDEX 13 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Nov 7 19:29:58 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-80.dsl.lsan03.pacbell.net [63.207.60.80]) by hub.freebsd.org (Postfix) with ESMTP id 97BFE37B405; Wed, 7 Nov 2001 19:29:51 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 37F1566D0C; Wed, 7 Nov 2001 19:29:51 -0800 (PST) Date: Wed, 7 Nov 2001 19:29:51 -0800 From: Kris Kennaway To: Thomas Quinot Cc: Scott Long , jstocker@tzi.de, freebsd-scsi@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: SCSI->IDE Message-ID: <20011107192951.B49060@xor.obsecurity.org> References: <000c01c16582$301c4f00$fe02010a@twoflower.liebende.de> <20011104164903.B28826@hollin.btc.adaptec.com> <20011107155735.B30053@cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="aM3YZ0Iwxop3KEKx" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011107155735.B30053@cuivre.fr.eu.org>; from quinot@inf.enst.fr on Wed, Nov 07, 2001 at 03:57:36PM +0100 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --aM3YZ0Iwxop3KEKx Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 07, 2001 at 03:57:36PM +0100, Thomas Quinot wrote: > Le 2001-11-05, Scott Long =E9crivait : >=20 > > It would require that someone write an ATA SIM for CAM. As yet, no one > > has stepped forward to volunteer. >=20 > I have started one a few days ago. Still testing code, still many known, > unknown or otherwise bizarre problems, but at least I can mount a > CD-ROM, use cdrecord and cdrdao on my ATAPI drive through CAM. >=20 > A patch against -STABLE is available from > http://www.cuivre.fr.eu.org/~thomas/atapicam/ >=20 > Use at your own risk. YMMV. Feedback welcome. Be prepared for panics, > especially on multi-processor machines. Very cool! Kris --aM3YZ0Iwxop3KEKx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE76fwuWry0BWjoQKURAoDBAKCklXzEPH2s2+5w5cH8USf57Ulj1ACdHN8h z0DV2ZBWf3186MMvP+ayxjU= =qLbl -----END PGP SIGNATURE----- --aM3YZ0Iwxop3KEKx-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Nov 8 1:42:48 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id 4B3C037B419; Thu, 8 Nov 2001 01:42:45 -0800 (PST) Received: by melchior.cuivre.fr.eu.org (Postfix, from userid 11117) id C3B8E8017; Thu, 8 Nov 2001 10:42:43 +0100 (CET) Date: Thu, 8 Nov 2001 10:42:43 +0100 From: Thomas Quinot To: Nick Hibma Cc: Thomas Quinot , freebsd-scsi@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: SCSI->IDE Message-ID: <20011108104243.A30845@cuivre.fr.eu.org> Reply-To: Thomas Quinot References: <20011107155735.B30053@cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.15i In-Reply-To: ; from n_hibma@qubesoft.com on Wed, Nov 07, 2001 at 06:59:19PM -0000 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Le 2001-11-07, Nick Hibma écrivait : > You are not doing any conversion of commands from SCSI to ATAPI. Did you > verify that all SCSI commands are valid ATAPI commands? Actually the current version of the patch does do some translation (MODE_{SENSE,SELECT}_6 are mapped to their _10 equivalent, because the _6 variants are not implemented by ATAPI/MMC devices), but a better solution might be to move these translations up to transport independant layers, and be handled through quirk entries, or some similar flagging mechanism. After all, ATAPI really is a /transport/ mechanism for SCSI commands: it is up to the initiator of a request to know which command set to use for a given device. Thomas. -- Thomas Quinot ** Département Informatique & Réseaux ** quinot@inf.enst.fr ENST // 46 rue Barrault // 75634 PARIS CEDEX 13 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Nov 8 1:50:56 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id 7BDCB37B405; Thu, 8 Nov 2001 01:50:52 -0800 (PST) Received: by melchior.cuivre.fr.eu.org (Postfix, from userid 11117) id 7005C8036; Thu, 8 Nov 2001 10:50:51 +0100 (CET) Date: Thu, 8 Nov 2001 10:50:51 +0100 From: Thomas Quinot To: Jan Stocker Cc: Scott Long , freebsd-scsi@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: SCSI->IDE Message-ID: <20011108105050.B30845@cuivre.fr.eu.org> Reply-To: Thomas Quinot References: <20011107155735.B30053@cuivre.fr.eu.org> <000001c167df$eb2f5440$fe02010a@twoflower.liebende.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.15i In-Reply-To: <000001c167df$eb2f5440$fe02010a@twoflower.liebende.de>; from Jan.Stocker@t-online.de on Wed, Nov 07, 2001 at 11:59:56PM +0100 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Le 2001-11-07, Jan Stocker écrivait : > I used your patches to change my -current release and got this: > > $ camcontrol devlist -v > scbus0 on umass-sim0 bus 0: > at scbus0 target 0 lun 0 (da0) > scbus-1 on xpt0 bus 0: > < > at scbus-1 target -1 lun -1 (xpt0) Ah. Interesting. Can you do a 'dmesg | grep "Registered SIM"' ? > P.S. Do you have forgotten to do a detach??? Not forgotten... Omitted for now. I started developing this 4 days ago! :) Thomas. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Nov 8 7:20:42 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id 694A037B41D; Thu, 8 Nov 2001 07:20:38 -0800 (PST) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id HAA10862; Thu, 8 Nov 2001 07:20:29 -0800 (PST) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [162.62.64.10]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id HAA04721; Thu, 8 Nov 2001 07:05:58 -0800 (PST) Received: from hollin.btc.adaptec.com (hollin [162.62.149.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id IAA14821; Thu, 8 Nov 2001 08:20:26 -0700 (MST) Received: (from scottl@localhost) by hollin.btc.adaptec.com (8.11.6/8.11.4) id fA8FFBn81783; Thu, 8 Nov 2001 08:15:11 -0700 (MST) (envelope-from scottl) Date: Thu, 8 Nov 2001 08:15:11 -0700 From: Scott Long To: Thomas Quinot Cc: Nick Hibma , freebsd-scsi@freebsd.org, freebsd-current@freebsd.org Subject: Re: SCSI->IDE Message-ID: <20011108081511.A81770@hollin.btc.adaptec.com> References: <20011107155735.B30053@cuivre.fr.eu.org> <20011108104243.A30845@cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20011108104243.A30845@cuivre.fr.eu.org> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Nov 08, 2001 at 10:42:43AM +0100, Thomas Quinot wrote: > Le 2001-11-07, Nick Hibma écrivait : > > > You are not doing any conversion of commands from SCSI to ATAPI. Did you > > verify that all SCSI commands are valid ATAPI commands? > > Actually the current version of the patch does do some translation > (MODE_{SENSE,SELECT}_6 are mapped to their _10 equivalent, because > the _6 variants are not implemented by ATAPI/MMC devices), but a > better solution might be to move these translations up to transport > independant layers, and be handled through quirk entries, or some > similar flagging mechanism. After all, ATAPI really is a /transport/ > mechanism for SCSI commands: it is up to the initiator of a request > to know which command set to use for a given device. Adding even more quirk entries is not the right way to go. One, or both, of the following things should happen. 1. The SIM should inform the upper layers that 6 bytes commands are not allowed. 2. If a 6 byte command is issued and fails, the failure code should be analyzed and the command retried in its 10 byte version. If that succeeds, then the upper layers should be flagged to only use 10 byte commands. Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Nov 8 7:41:29 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from gate.qubesoft.com (gate.qubesoft.com [212.113.16.243]) by hub.freebsd.org (Postfix) with ESMTP id E69F437B418; Thu, 8 Nov 2001 07:41:20 -0800 (PST) Received: from builder03 (dhcp139.qubesoft.com [192.168.1.139]) by gate.qubesoft.com (8.11.3/8.11.3) with SMTP id fA8FfFM32647; Thu, 8 Nov 2001 15:41:15 GMT (envelope-from n_hibma@qubesoft.com) From: "Nick Hibma" To: "Scott Long" , "Thomas Quinot" Cc: , Subject: RE: SCSI->IDE Date: Thu, 8 Nov 2001 15:41:15 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <20011108081511.A81770@hollin.btc.adaptec.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org How do you inform the upper layers that only 10+ byte commands are allowed? (12 byte in the case of ATAPI). Nick > -----Original Message----- > From: Scott Long [mailto:scott_long@btc.adaptec.com] > Sent: 08 November 2001 15:15 > To: Thomas Quinot > Cc: Nick Hibma; freebsd-scsi@freebsd.org; freebsd-current@freebsd.org > Subject: Re: SCSI->IDE > > > On Thu, Nov 08, 2001 at 10:42:43AM +0100, Thomas Quinot wrote: > > Le 2001-11-07, Nick Hibma écrivait : > > > > > You are not doing any conversion of commands from SCSI to > ATAPI. Did you > > > verify that all SCSI commands are valid ATAPI commands? > > > > Actually the current version of the patch does do some translation > > (MODE_{SENSE,SELECT}_6 are mapped to their _10 equivalent, because > > the _6 variants are not implemented by ATAPI/MMC devices), but a > > better solution might be to move these translations up to transport > > independant layers, and be handled through quirk entries, or some > > similar flagging mechanism. After all, ATAPI really is a /transport/ > > mechanism for SCSI commands: it is up to the initiator of a request > > to know which command set to use for a given device. > > Adding even more quirk entries is not the right way to go. One, or > both, of the following things should happen. > > 1. The SIM should inform the upper layers that 6 bytes commands are > not allowed. > 2. If a 6 byte command is issued and fails, the failure code > should be > analyzed and the command retried in its 10 byte version. If that > succeeds, then the upper layers should be flagged to only use 10 byte > commands. > > Scott > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Nov 8 9: 3:40 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id 5A5A637B41A for ; Thu, 8 Nov 2001 09:03:29 -0800 (PST) Received: from mailhost.feral.com (mjacob@mailhost.feral.com [192.67.166.1]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id fA8H3QH67109; Thu, 8 Nov 2001 09:03:26 -0800 (PST) (envelope-from mjacob@feral.com) Date: Thu, 8 Nov 2001 09:03:26 -0800 (PST) From: Matthew Jacob X-Sender: mjacob@beppo Reply-To: mjacob@feral.com To: Katsushi Kobayashi Cc: scsi@freebsd.org Subject: Does CAM support simplified direct-access device ? (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org (mirroring to -scsi) I said "no". ---------- Forwarded message ---------- Date: Fri, 09 Nov 2001 01:57:14 +0900 From: Katsushi Kobayashi To: hackers@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Does CAM support simplified direct-access device ? Hello, I am testing my SBP, SCSI over firewire, driver on some firewire disk. An SCSI device work well under the specific usage. Unfortunately, I have met a CAM related trouble on another disk. This disk responds its device type as "simplefied direct-access device 0Eh", not "direct access device 00h". Does CAM function on FreeBSD support this device type? Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Nov 8 9: 5:40 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 2CA1037B422; Thu, 8 Nov 2001 09:05:33 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id fA8H4l743769; Thu, 8 Nov 2001 10:04:47 -0700 (MST) (envelope-from ken) Date: Thu, 8 Nov 2001 10:04:47 -0700 From: "Kenneth D. Merry" To: Nick Hibma Cc: Scott Long , Thomas Quinot , freebsd-scsi@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: SCSI->IDE Message-ID: <20011108100447.A43706@panzer.kdm.org> References: <20011108081511.A81770@hollin.btc.adaptec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from n_hibma@qubesoft.com on Thu, Nov 08, 2001 at 03:41:15PM -0000 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Nov 08, 2001 at 15:41:15 -0000, Nick Hibma wrote: > How do you inform the upper layers that only 10+ byte commands are > allowed? (12 byte in the case of ATAPI). There's no way to do it at the moment. We'll need to come up with a mechanism for doing it. Handling passthrough is another matter, since users can send any command through. Probably the thing to do there is just fail the command with an appropriate error if the user tries to send a 6 byte command down. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Nov 8 12:16:44 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by hub.freebsd.org (Postfix) with ESMTP id 4A8C937B418; Thu, 8 Nov 2001 12:16:38 -0800 (PST) Received: from scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.11.5/8.11.5) with ESMTP id fA8KGKY63792; Thu, 8 Nov 2001 13:16:21 -0700 (MST) (envelope-from gibbs@scsiguy.com) Message-Id: <200111082016.fA8KGKY63792@aslan.scsiguy.com> To: "Nick Hibma" Cc: "Scott Long" , "Thomas Quinot" , freebsd-scsi@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: SCSI->IDE In-Reply-To: Your message of "Thu, 08 Nov 2001 15:41:15 GMT." Date: Thu, 08 Nov 2001 13:16:20 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >How do you inform the upper layers that only 10+ byte commands are >allowed? (12 byte in the case of ATAPI). In the long term, this would just be the nature of the exported Protocol Type/Protocol Version and Transport Type/Transport Version passed back in the Path Inquiry response. The peripheral driver will just know that for x protocol, only y commands are allowed. These fields are in the "CAM_NEW_TRAN_CODE" in current. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Nov 8 12:23:36 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from joy.pdl.cmu.edu (JOY.PDL.CMU.EDU [128.2.134.110]) by hub.freebsd.org (Postfix) with ESMTP id E184F37B41B for ; Thu, 8 Nov 2001 12:23:34 -0800 (PST) Received: (from bucy@localhost) by joy.pdl.cmu.edu (8.11.4/8.11.4) id fA8KNVf04944 for freebsd-scsi@freebsd.org; Thu, 8 Nov 2001 15:23:31 -0500 Date: Thu, 8 Nov 2001 15:23:30 -0500 From: "John S. Bucy" To: freebsd-scsi@freebsd.org Subject: aic7xxx u160? Message-ID: <20011108152330.M5611@joy.pdl.cmu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org static struct ahc_syncrate ahc_syncrates[] in aic7xxx.c does not seem to contain an entry for 160mb/sec. Am I missing something or does the aic7xxx driver need to be made aware that 160 is a legal syncrate? I'm playing with 29160s -- one in target mode and the other as initiator -- connected between the internal LVD connectors and I can't get them to negotiate at 160. Will these cards not do ultra 160 in a 32bit/33mhz PCI slot? john To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Nov 8 12:30:50 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by hub.freebsd.org (Postfix) with ESMTP id D8A0037B419 for ; Thu, 8 Nov 2001 12:30:47 -0800 (PST) Received: from scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.11.5/8.11.5) with ESMTP id fA8KUiY64275; Thu, 8 Nov 2001 13:30:44 -0700 (MST) (envelope-from gibbs@scsiguy.com) Message-Id: <200111082030.fA8KUiY64275@aslan.scsiguy.com> To: "John S. Bucy" Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: aic7xxx u160? In-Reply-To: Your message of "Thu, 08 Nov 2001 15:23:30 EST." <20011108152330.M5611@joy.pdl.cmu.edu> Date: Thu, 08 Nov 2001 13:30:44 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > >static struct ahc_syncrate ahc_syncrates[] > >in aic7xxx.c does not seem to contain an entry for 160mb/sec. The top most entry is for 160MB/s: /* ultra2 fast/ultra period rate */ { 0x42, 0x000, 9, "80.0" }, The REQ/ACK rate at 160MB/s is 80MHz. Two bytes are transferred per REQ/ACK pair. >Am I missing something or does the aic7xxx driver need to be made aware >that 160 is a legal syncrate? I'm playing with 29160s -- one in >target mode and the other as initiator -- connected between the >internal LVD connectors and I can't get them to negotiate at 160. >Will these cards not do ultra 160 in a 32bit/33mhz PCI slot? The inquiry data for you emulated target does not have the SPI3 "Double Transition Clocking Supported" bit set. CAM will not even attempt to negotiate speeds above Ultra2 (40MHz Wide == 80MB/s) with such a device. See the code in cam_xpt.c:xpt_set_transfer_settings(). -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Nov 8 14:20:18 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 2A52C37B419 for ; Thu, 8 Nov 2001 14:20:07 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id XAA03072 for freebsd-scsi@freebsd.org; Thu, 8 Nov 2001 23:20:06 +0100 (CET) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id fA8M86J75560; Thu, 8 Nov 2001 23:08:06 +0100 (MET) (envelope-from j) Date: Thu, 8 Nov 2001 23:08:06 +0100 (MET) Message-Id: <200111082208.fA8M86J75560@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <20011107155735.B30053@cuivre.fr.eu.org> <000001c167df$eb2f5440$fe02010a@twoflower.liebende.de> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: SCSI->IDE X-Original-Newsgroups: local.freebsd.scsi To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jan.Stocker@t-online.de (Jan Stocker) wrote: > This all looks not very good... a bus with number -1??? That's quite normal if you specify the -v option: uriah # camcontrol devlist -v scbus0 on sym0 bus 0: at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 4 lun 0 (pass1,da1) at scbus0 target 8 lun 0 (pass2,da2) < > at scbus0 target -1 lun -1 () scbus1 on sym1 bus 0: at scbus1 target 2 lun 0 (pass3,cd0) at scbus1 target 4 lun 0 (pass4,sa0) at scbus1 target 5 lun 0 (pt0,pass5) at scbus1 target 6 lun 0 (pass6,cd1) < > at scbus1 target -1 lun -1 () scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) xpt0 is sorta like a `super-SCSI' device which you always have, regardless of the number of SCSI busses and targets. camcontrol uses it e. g. to rescan busses (at least that's how i understand its purpose). -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri Nov 9 12:32:58 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id CDAFF37B405 for ; Fri, 9 Nov 2001 12:32:54 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id fA9KWbq52221; Fri, 9 Nov 2001 13:32:37 -0700 (MST) (envelope-from ken) Date: Fri, 9 Nov 2001 13:32:37 -0700 From: "Kenneth D. Merry" To: Matthew Jacob Cc: Katsushi Kobayashi , scsi@FreeBSD.ORG Subject: Re: Does CAM support simplified direct-access device ? (fwd) Message-ID: <20011109133236.A52176@panzer.kdm.org> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from mjacob@feral.com on Thu, Nov 08, 2001 at 09:03:26AM -0800 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Nov 08, 2001 at 09:03:26 -0800, Matthew Jacob wrote: > > (mirroring to -scsi) > > I said "no". > > > ---------- Forwarded message ---------- > Date: Fri, 09 Nov 2001 01:57:14 +0900 > From: Katsushi Kobayashi > To: hackers@FreeBSD.ORG, arch@FreeBSD.ORG > Subject: Does CAM support simplified direct-access device ? > > Hello, > > I am testing my SBP, SCSI over firewire, driver on some firewire > disk. An SCSI device work well under the specific usage. > Unfortunately, I have met a CAM related trouble on another disk. > This disk responds its device type as "simplefied direct-access > device 0Eh", not "direct access device 00h". > > Does CAM function on FreeBSD support this device type? Not by default, no, but it might work if you added RBC devices to the devices recognized by the da(4) driver. The attached patch should do it for -current. (You can do the same thing on -stable.) Anyway, send mail and let us know whether this works or not. Ken -- Kenneth Merry ken@kdm.org --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="scsi_da.c.rbc.20011109" ==== //depot/FreeBSD-ken/src/sys/cam/scsi/scsi_da.c#25 - /usr/home/ken/perforce/FreeBSD-ken/src/sys/cam/scsi/scsi_da.c ==== *** /tmp/tmp.65917.0 Fri Nov 9 13:31:03 2001 --- /usr/home/ken/perforce/FreeBSD-ken/src/sys/cam/scsi/scsi_da.c Fri Nov 9 13:30:43 2001 *************** *** 954,960 **** break; if (SID_TYPE(&cgd->inq_data) != T_DIRECT ! && SID_TYPE(&cgd->inq_data) != T_OPTICAL) break; /* --- 954,961 ---- break; if (SID_TYPE(&cgd->inq_data) != T_DIRECT ! && SID_TYPE(&cgd->inq_data) != T_OPTICAL ! && SID_TYPE(&cgd->inq_data) != T_RBC) break; /* --SUOF0GtieIMvvwua-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message