From owner-freebsd-scsi Mon Apr 22 2:42:52 2002 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 784F037B428 for ; Mon, 22 Apr 2002 02:42:45 -0700 (PDT) Received: from melusine.cuivre.fr.eu.org (melusine.enst.fr [137.194.160.34]) by melchior.cuivre.fr.eu.org (Postfix) with ESMTP id 27580784E; Mon, 22 Apr 2002 10:09:19 +0200 (CEST) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id C27BC2C3D2; Mon, 22 Apr 2002 10:09:12 +0200 (CEST) Date: Mon, 22 Apr 2002 10:09:12 +0200 From: Thomas Quinot To: Nick Hibma Cc: freebsd-scsi@freebsd.org Subject: Re: Port of NetBSD usscanner Message-ID: <20020422100912.A61658@melusine.cuivre.fr.eu.org> Reply-To: thomas@cuivre.fr.eu.org References: <20020420030300.B5762@melusine.cuivre.fr.eu.org> <001a01c1e9cd$9cac7580$7800420a@vanlaarhoven.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <001a01c1e9cd$9cac7580$7800420a@vanlaarhoven.org>; from n_hibma@van-laarhoven.org on Mon, Apr 22, 2002 at 09:16:24AM +0200 X-message-flag: WARNING! Using Outlook can damage your computer. 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 2002-04-22, Nick Hibma écrivait : > - What is the difference between this driver and normal SCSI devices that > forces you to write a separate driver? Can't you just > slightly modify the umass driver? (which should in that case be renamed to > ucam or something). It should require no more than a new command layer, just > like umass_{bbb,cbi}_{transfer,state,...}. I was under the impression that the two drivers (umass and usscanner) are using different means of mapping SCSI command and data transfers onto USB transfers, but if this can integrated in umass it would certainly be worthwhile. I just took the least resistance path of porting the stuff as it exists in NetBSD (with a number of ideas liberally stolen from your port of umass). > - xpt_async(AC_FOUND_DEVICE,...) actually works? The device appears all by > itself? Not sure. I have disabled it due to another problem that caused panics all over, and did not have time to re-check it afterwards. > - There is a wrong comment terminator in line 633 (usscanner-20020421.c). Yep, fixed in -20020422. Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Apr 22 3: 5:22 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from van-laarhoven.org (ap-z-5ab8.adsl.wanadoo.nl [212.129.218.184]) by hub.freebsd.org (Postfix) with SMTP id 742F137B42A for ; Mon, 22 Apr 2002 03:05:15 -0700 (PDT) Received: (qmail 95085 invoked from network); 22 Apr 2002 07:13:58 -0000 Received: from dhcp0-120.van-laarhoven.org (HELO cecile) (10.66.0.120) by uitsmijter.van-laarhoven.org with SMTP; 22 Apr 2002 07:13:58 -0000 Message-ID: <001a01c1e9cd$9cac7580$7800420a@vanlaarhoven.org> From: "Nick Hibma" To: , References: <20020420030300.B5762@melusine.cuivre.fr.eu.org> Subject: Re: Port of NetBSD usscanner Date: Mon, 22 Apr 2002 09:16:24 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 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 A few questions: - What is the difference between this driver and normal SCSI devices that forces you to write a separate driver? Can't you just slightly modify the umass driver? (which should in that case be renamed to ucam or something). It should require no more than a new command layer, just like umass_{bbb,cbi}_{transfer,state,...}. - xpt_async(AC_FOUND_DEVICE,...) actually works? The device appears all by itself? - There is a wrong comment terminator in line 633 (usscanner-20020421.c). I don't have a scanner that I could try unfortunately with appropriate changes. Nick ----- Original Message ----- From: "Thomas Quinot" To: Cc: Sent: Saturday, April 20, 2002 3:03 AM Subject: Port of NetBSD usscanner > In the process of trying to make a Minolta Dimâge Scan Dual II > USB scanner work on a FreeBSD box, I have made a port of the NetBSD > usscanner driver, which integrates supported scanners in the > CAM infrastructure. > > If you have an Avision, HP or Minolta USB scanner you might be > interested in giving this driver a try. > > Comments and testing feedback would, of course, be most welcome :). > > http://www.cuivre.fr.eu.org/~thomas/usscanner/ > > Thomas. > > -- > Thomas.Quinot@Cuivre.FR.EU.ORG > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Mon Apr 22 3:15: 4 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from van-laarhoven.org (ap-z-5ab8.adsl.wanadoo.nl [212.129.218.184]) by hub.freebsd.org (Postfix) with SMTP id 3FB9B37B422 for ; Mon, 22 Apr 2002 03:15:01 -0700 (PDT) Received: (qmail 95219 invoked from network); 22 Apr 2002 08:24:32 -0000 Received: from dhcp0-120.van-laarhoven.org (HELO cecile) (10.66.0.120) by uitsmijter.van-laarhoven.org with SMTP; 22 Apr 2002 08:24:32 -0000 Message-ID: <002601c1e9d7$78d12f20$7800420a@vanlaarhoven.org> From: "Nick Hibma" To: Cc: References: <20020420030300.B5762@melusine.cuivre.fr.eu.org> <001a01c1e9cd$9cac7580$7800420a@vanlaarhoven.org> <20020422100912.A61658@melusine.cuivre.fr.eu.org> Subject: Re: Port of NetBSD usscanner Date: Mon, 22 Apr 2002 10:26:59 +0200 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 5.50.4807.1700 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 > > - What is the difference between this driver and normal SCSI devices that > > forces you to write a separate driver? Can't you just > > slightly modify the umass driver? (which should in that case be renamed to > > ucam or something). It should require no more than a new command layer, just > > like umass_{bbb,cbi}_{transfer,state,...}. > > I was under the impression that the two drivers (umass and usscanner) > are using different means of mapping SCSI command and data transfers > onto USB transfers, but if this can integrated in umass it would > certainly be worthwhile. I just took the least resistance path of > porting the stuff as it exists in NetBSD (with a number of ideas > liberally stolen from your port of umass). They do use a different command transport, but the umass driver has support for that. At the moment it supports two, BBB and CBI. Nick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Apr 23 13:57:17 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from guru.mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with ESMTP id 7A20037B416 for ; Tue, 23 Apr 2002 13:57:01 -0700 (PDT) Received: (from mwm@localhost) by guru.mired.org (8.11.1/8.11.2) id g3MGvdp18090 for scsi@freebsd.org; Mon, 22 Apr 2002 11:57:39 -0500 (CDT) (envelope-from mwm-dated-1019926659.d16ced@mired.org) X-Authentication-Warning: guru.mired.org: mwm set sender to mwm-dated-1019926659.d16ced@mired.org using -f MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15556.16642.674952.538620@guru.mired.org> Date: Mon, 22 Apr 2002 11:57:38 -0500 To: multimedia@freebsd.org, scsi@freebsd.org Subject: Scanner screwiness... X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.51 (Python 2.2 on FreeBSD/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 My scanner is misbehaving, and I hope it's something someone here recognizes and can help me with. I'm using an Artec AM12S attached to an Adaptec 2903 SCSI card. Said scsi card came with my CD-writer, and I moved the scanner off of it so it wouldn't interfere with the system disks on my Adaptect 2940. The sane-backends port is version 1.0.7_1, on -STABLE. The major problem I'm seeing is that it's just plain flaky. It crashes, locks up the scanner, and other evil things. When it does scan properly, I see a pattern of dark "waves" across the image - much like herringbone interference on a TV set - making it unusable. I'd rather not move this back to the 2940, as it sometimes screws up the system disks, which is very not good. But having it not work at all isn't much better. If someone can provide hints and/or tools to help solve this, I'd appreciate it. Thanks, http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Apr 23 14:13:30 2002 Delivered-To: freebsd-scsi@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DBC5337B416; Tue, 23 Apr 2002 14:13:25 -0700 (PDT) Received: (from johan@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3NLDPi87180; Tue, 23 Apr 2002 14:13:25 -0700 (PDT) (envelope-from johan) Date: Tue, 23 Apr 2002 14:13:25 -0700 (PDT) From: Message-Id: <200204232113.g3NLDPi87180@freefall.freebsd.org> To: johan@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: kern/37378: [PATCH] No 6-byte-read on Wincan USB pen flash drive, needs quirk 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 Synopsis: [PATCH] No 6-byte-read on Wincan USB pen flash drive, needs quirk Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi Responsible-Changed-By: johan Responsible-Changed-When: Tue Apr 23 14:11:51 PDT 2002 Responsible-Changed-Why: Over to maintainer group. http://www.freebsd.org/cgi/query-pr.cgi?pr=37378 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Apr 23 14:37:36 2002 Delivered-To: freebsd-scsi@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4C23B37B41B; Tue, 23 Apr 2002 14:37:31 -0700 (PDT) Received: (from johan@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3NLbVH90457; Tue, 23 Apr 2002 14:37:31 -0700 (PDT) (envelope-from johan) Date: Tue, 23 Apr 2002 14:37:31 -0700 (PDT) From: Message-Id: <200204232137.g3NLbVH90457@freefall.freebsd.org> To: johan@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: kern/37332: PATCH: add pen device to scsi_da.c 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 Old Synopsis: PATCH New Synopsis: PATCH: add pen device to scsi_da.c Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi Responsible-Changed-By: johan Responsible-Changed-When: Tue Apr 23 14:36:13 PDT 2002 Responsible-Changed-Why: Over to maintainer group. http://www.freebsd.org/cgi/query-pr.cgi?pr=37332 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Tue Apr 23 19: 8:36 2002 Delivered-To: freebsd-scsi@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E3CD437B419; Tue, 23 Apr 2002 19:08:31 -0700 (PDT) Received: (from johan@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3O28Vo50446; Tue, 23 Apr 2002 19:08:31 -0700 (PDT) (envelope-from johan) Date: Tue, 23 Apr 2002 19:08:31 -0700 (PDT) From: Message-Id: <200204240208.g3O28Vo50446@freefall.freebsd.org> To: pete@portable.altadena.net, johan@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: kern/36402: Another Pen drive quirk 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 Synopsis: Another Pen drive quirk State-Changed-From-To: open->closed State-Changed-By: johan State-Changed-When: Tue Apr 23 19:07:45 PDT 2002 State-Changed-Why: Duplicated by 37332. Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi Responsible-Changed-By: johan Responsible-Changed-When: Tue Apr 23 19:07:45 PDT 2002 Responsible-Changed-Why: Duplicated by 37332. http://www.freebsd.org/cgi/query-pr.cgi?pr=36402 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Apr 24 5:53:35 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from bronkowitz.keghouse.net (bronkowitz.keghouse.net [203.38.186.17]) by hub.freebsd.org (Postfix) with ESMTP id 5DA8337B41D for ; Wed, 24 Apr 2002 05:53:29 -0700 (PDT) Received: from bronkowitz.keghouse.net (localhost.keghouse.net [127.0.0.1]) by bronkowitz.keghouse.net (8.12.2/bronkowitz.keghouse.net) with ESMTP id g3OCpLFB021837 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 24 Apr 2002 22:21:22 +0930 (CST) Received: (from olaf@localhost) by bronkowitz.keghouse.net (8.12.2/8.12.2/Submit) id g3OCpL3V021836; Wed, 24 Apr 2002 22:21:21 +0930 (CST) From: Olaf R Message-Id: <200204241251.g3OCpL3V021836@bronkowitz.keghouse.net> Subject: Dell PowerEdge 1650/AIC-7899 To: scsi@freebsd.org Date: Wed, 24 Apr 2002 22:21:21 +0930 (CST) X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 Hi all. We have a Dell PowerEdge 1650, the tech specs of which are at: http://www.dell.com/us/en/esg/topics/esg_pedge_rackmain_servers_3_pedge_1650.htm What is relevant here is the integrated Dell PERC 3/Di RAID card, which is a rebadged Adaptec AdvancedRAID controller (device aac), and the dual-channel Adaptec AIC-7899 Ultra3 SCSI controller (device ahc). We're running a several-hours-old snapshot of 4.5-STABLE, which can find and use the aac card (mirroring on two Seagate Cheetahs) just fine. It's the AIC-7899 which is eluding us. We have the following PCI/storage bits in the kernel configuration: device pci device aac device ahc device ahc0 device scbus device scbus0 at ahc0 (need "bus X" specified here? or this line at all?) device da device sa device cd device pass As I said, the aac device is found and the mirror has been installed upon just fine. However, there is not a single mention when the machine boots of any SCSI bus, etc. There are a couple of unidentified PCI devices, both vendor code 9005 (Adaptec) and device code 00C5 (RAID Subsystem HBA), but the rest of the output is just standard other stuff. (Sorry I haven't got a copy to post directly - I'll get one if req'd.) Some potentially important information is from a post Justin Gibbs sent to misc@openbsd.org last year: > From: "Justin T. Gibbs" > To: "G . Clifford Williams" > Subject: Re: ahc on OpenBSD > Date: Wed, 13 Jun 2001 12:38:35 -0600 > Cc: gibbs@freefall.freebsd.org, misc@openbsd.org > > (... HD not found on Dell PowerEdge, etc. ...) > > One possible cause of your problem is that this server has a built > in FSA RAID adapter. If the RAID key is installed, the PCI ID of > the 7899 changes so the normal SCSI drivers do not attach to it. Does this sound like our problem? Is it simply a case of messed-up PCI IDs? Or a bigger problem? Any ideas appreciated - we need SCSI! Thanks Olaf (olaf@keghouse.net) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Apr 24 8:47:16 2002 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 2868D37B400 for ; Wed, 24 Apr 2002 08:47:04 -0700 (PDT) Received: from scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.11.6/8.11.5) with ESMTP id g3OFii984374; Wed, 24 Apr 2002 09:44:44 -0600 (MDT) (envelope-from gibbs@scsiguy.com) Message-Id: <200204241544.g3OFii984374@aslan.scsiguy.com> To: Olaf R Cc: scsi@FreeBSD.ORG Subject: Re: Dell PowerEdge 1650/AIC-7899 In-Reply-To: Your message of "Wed, 24 Apr 2002 22:21:21 +0930." <200204241251.g3OCpL3V021836@bronkowitz.keghouse.net> Date: Wed, 24 Apr 2002 09:44:44 -0600 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 >Hi all. We have a Dell PowerEdge 1650, the tech specs of which are at: > >http://www.dell.com/us/en/esg/topics/esg_pedge_rackmain_servers_3_pedge_1650.h >tm > >What is relevant here is the integrated Dell PERC 3/Di RAID card, The PERC 3/*D*i is a dual channel RAID option. The PERC is taking over both channels of the SCSI controller which explains why FreeBSD sees both channels as owned by the ROMB card. You may be able to configure the number of channels that the PERC card takes in the system BIOS. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message