From owner-freebsd-scsi Sun Apr 26 03:21:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA11587 for freebsd-scsi-outgoing; Sun, 26 Apr 1998 03:06:12 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from soleil.uvsq.fr (soleil.uvsq.fr [193.51.24.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA11506 for ; Sun, 26 Apr 1998 03:05:38 -0700 (PDT) (envelope-from son@cezanne.prism.uvsq.fr) Received: from cezanne.prism.uvsq.fr (rtc103.reseau.uvsq.fr [193.51.24.19]) by soleil.uvsq.fr (8.8.8/jtpda-5.3) with ESMTP id MAA11782 for ; Sun, 26 Apr 1998 12:05:35 +0200 (METDST) Received: (from son@localhost) by cezanne.prism.uvsq.fr (8.8.5/8.8.5) id MAA00454; Sun, 26 Apr 1998 12:07:00 GMT Message-ID: <19980426120700.63537@coreff.prism.uvsq.fr> Date: Sun, 26 Apr 1998 12:07:00 +0000 From: Nicolas Souchu To: freebsd-scsi@FreeBSD.ORG Subject: CAM docs Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e X-Operating-System: FreeBSD coreff 2.2.1-RELEASE FreeBSD 2.2.1-RELEASE Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi there, I'm about to port the parallel ZIP driver to CAM. Is there any paper, overview, specs ... about CAM? Thanks in advance, Regards. -- Nicolas.Souchu@prism.uvsq.fr FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Apr 26 08:14:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA08543 for freebsd-scsi-outgoing; Sun, 26 Apr 1998 08:10:11 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from feral.com (root@[209.54.254.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA07733 for ; Sun, 26 Apr 1998 08:01:28 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from feral-gw (mjacob@gw100.feral.com [192.67.166.129]) by feral.com (8.8.6/8.8.6) with SMTP id IAA30070; Sun, 26 Apr 1998 08:00:31 -0700 Message-ID: <35434C0E.76C05720@feral.com> Date: Sun, 26 Apr 1998 08:00:30 -0700 From: Matthew Jacob Organization: Feral Software X-Mailer: Mozilla 3.04 (X11; I; Linux 2.0.33 i586) MIME-Version: 1.0 To: Nicolas Souchu CC: freebsd-scsi@FreeBSD.ORG Subject: Re: CAM docs References: <19980426120700.63537@coreff.prism.uvsq.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org See the SCSI-3 ANSI Docs. There's a whole section CAM. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Apr 26 08:48:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA12244 for freebsd-scsi-outgoing; Sun, 26 Apr 1998 08:46:31 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from sendero-fddi.simon-shapiro.org (sendero.simon-shapiro.org.142.69.207.in-addr.arpa [207.69.142.25] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA12071 for ; Sun, 26 Apr 1998 08:45:17 -0700 (PDT) (envelope-from shimon@sendero-fddi.simon-shapiro.org) Received: (qmail 9946 invoked by uid 1000); 26 Apr 1998 16:46:10 -0000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Message-ID: X-Mailer: XFMail 1.3-alpha-040798 [p0] on FreeBSD X-Priority: 3 (Normal) In-Reply-To: <199804231753.LAA26658@narnia.plutotech.com> Date: Sun, 26 Apr 1998 09:46:09 -0700 (PDT) Reply-To: shimon@simon-shapiro.org Organization: The Simon Shapiro Foundation From: Simon Shapiro To: "Justin T. Gibbs" , scsi@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: A CAM of worms Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 23-Apr-98 Justin T. Gibbs wrote: ... >> * No migration path; The is no mechanism to migrate at all. We need a >> way to have the same system boot either way. We need a mechanism to >> maintain source for the old systems and switch back. > > There is certainly a migration path. Run a CAM kernel or don't. Must > developers I know have plenty of space to store two sys trees. As I > have stated to Julian several times, I will not polute the CAM code > with #ifdefs, or gratuitously rename controller driver file names or > "config names" just so you can build a kernel both ways. If you want > the code to go on a branch first, fine by me, but it is my intention > to only put the code into CVS at all once the minimum amount of device > support acceptable to users of current has been developed and tested. I have no argument here... >> * No migration guide; The is no documentation on the new mechanism, its >> interfeaces, requirements, etc. I asked, several times, politely, >> and >> privately, for at least a list of functions, their intended purpose >> and >> the entry points into both HBA drivers and personality drivers. The >> ``I >> do not have time'' answer is simply not enough. If there is no time >> to >> list the API's maybe the code change should be held until there is >> time. > > This is in the works and will be available long before any potential flag > day. Great! I really want to move the DPT driver to CAM, but with a new job and all I want to make sure I do it as intended (by you, in designing CAM) and not as guessed (by me, reading the driver to one particular HBA or another). >> * The idea of overnight obsolesence of all the existing SCSI code is a >> bit, shall we say, aggressive. Although I have all the confidence in >> the >> world that the CAM code is wonderfully reliable, efficient and great, >> sone of us earthly mortals would like to have a chance to compile and >> run >> the two systems side by side, at least until the porting is done. > > Overnight? This project has been in the works for several months. If > you have concerns about the CAM architecture the code has been available > for you to run and review for some time. This is not my issue at all. I stated before that I trust it is good and correct. But my (aparently wrong) impression that the 28th of April signifis a drop in the support for the (still) current architecture led me to think that in two days from now All the kernel will support is CAM, and non-CAM systems are out in the cold. I am glad to see that I was wrong. Simon BTW, Your mail still arrives here with: Nn:Pluto.freebsd.current, and I still am not allowed to post to that newsgroup :-) Simon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Apr 26 21:18:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA06182 for freebsd-scsi-outgoing; Sun, 26 Apr 1998 21:17:13 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from fly.HiWAAY.net (root@fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA06137 for ; Sun, 26 Apr 1998 21:16:10 -0700 (PDT) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt1-118.HiWAAY.net [208.147.147.118]) by fly.HiWAAY.net (8.8.8/8.8.6) with ESMTP id XAA27738 for ; Sun, 26 Apr 1998 23:16:07 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.8.8/8.8.4) with ESMTP id SAA06542 for ; Sun, 26 Apr 1998 18:25:52 -0500 (CDT) Message-Id: <199804262325.SAA06542@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-scsi@FreeBSD.ORG From: David Kelly Subject: Re: does CAM do this? In-reply-to: Message from Harlan Stenn of "Sat, 25 Apr 1998 21:33:00 EDT." <15923.893554380@brown.pfcs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 26 Apr 1998 18:25:52 -0500 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Harlan Stenn writes: > > I beg to differ. > > I agree that the read will return no more than I ask for. > > However... > > With the default tape drive configuration (on the drives I've tested), if I > have a Large file on the tape blocked at, say, 10k bytes, if I issue a > read of "more than 10k but less than the size of the file" I'll get back > exactly what I asked for. > > I cannot tell that the tape was blocked at 10k bytes. How does your code to read tape differ from that of tcopy(1)? /usr/src/usr.bin/tcopy reads into a 64k buffer with the count set at 64k. Shorter reads are noted. When blocksize changes the fact is written to stdout. Did this not work on older FreeBSD systems? -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sun Apr 26 23:45:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA28090 for freebsd-scsi-outgoing; Sun, 26 Apr 1998 23:45:30 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from wcc.wcc.net (wcc.wcc.net [208.6.232.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA28085 for ; Sun, 26 Apr 1998 23:45:28 -0700 (PDT) (envelope-from piquan@wcc.wcc.net) Received: from detlev.UUCP (newip5.wcc.net [206.104.247.5]) by wcc.wcc.net (8.8.8/8.8.8) with ESMTP id BAA11241; Mon, 27 Apr 1998 01:40:58 -0500 (CDT) Received: (from joelh@localhost) by detlev.UUCP (8.8.8/8.8.8) id BAA00575; Mon, 27 Apr 1998 01:43:37 -0500 (CDT) (envelope-from joelh) Date: Mon, 27 Apr 1998 01:43:37 -0500 (CDT) Message-Id: <199804270643.BAA00575@detlev.UUCP> To: freebsd-scsi@FreeBSD.ORG Subject: FRU reporting From: Joel Ray Holveck Reply-to: joelh@gnu.org Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I don't know SCSI that well, but wouldn't it make sense to report non-zero FRU's in the event of a hardware failure (sense code 4)? I only ask because I'm having to troubleshoot just such a situation now. Happy hacking, joelh PS: Kindly keep me in CC's; I'm not a -scsi regular. -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Apr 29 01:29:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA25422 for freebsd-scsi-outgoing; Wed, 29 Apr 1998 01:29:56 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from ady.warpnet.ro (ady.warpnet.ro [193.230.201.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA25248 for ; Wed, 29 Apr 1998 01:28:49 -0700 (PDT) (envelope-from ady@warpnet.ro) Received: from localhost (ady@localhost) by ady.warpnet.ro (8.8.8/8.8.8) with SMTP id LAA06932 for ; Wed, 29 Apr 1998 11:27:30 +0300 (EEST) (envelope-from ady@warpnet.ro) Date: Wed, 29 Apr 1998 11:27:29 +0300 (EEST) From: Penisoara Adrian To: freebsd-scsi@FreeBSD.ORG Subject: sd1: HARDWARE FAILURE - info ? In-Reply-To: <19980118113444.17218@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Sorry to intrude on the list with such a trivial issue, but could someone plese translate for me what this error really means ? --[ From /var/log/messages ]-------------------------------------------- Apr 29 10:21:30 ady /kernel: sd1: HARDWARE FAILURE info:0x3660f0 asc:9,8 Apr 29 10:21:30 ady /kernel: , retries:4 --[ uname -a ]---------------------------------------------------------- FreeBSD ady.warpnet.ro 3.0-971117-SNAP FreeBSD 3.0-971117-SNAP #0: Tue Mar 17 20:45:43 EET 1998 root@ady.warpnet.ro:/usr/src/sys/compile/ADY-NONSMP i386 --[ dmesg (booted -v) ]------------------------------------------------- FreeBSD 3.0-971117-SNAP #0: Tue Mar 17 20:45:43 EET 1998 root@ady.warpnet.ro:/usr/src/sys/compile/ADY-NONSMP [...] CPU: Pentium (132.94-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x526 Stepping=6 Features=0x3bf real memory = 67108864 (65536K bytes) [...] ahc0: rev 0x01 int a irq 11 on pci0.20.0 ahc0: Reading SEEPROM...done. low byte termination enabled, high byte termination disabled ahc0: aic7860 Single Channel, SCSI Id=7, 3/8 SCBs ahc0: Resetting Channel A ahc0: Downloading Sequencer Program...ahc0: 416 instructions downloaded Done ahc0: Probing channel A ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 ahc0: target 4 synchronous at 10.0MHz, offset = 0xf ahc0: target 4 Tagged Queuing Device sd0 at scbus0 target 4 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 2069MB (4238640 512 byte sectors) sd0: with 3907 cyls, 10 heads, and an average 108 sectors/track ahc0: target 6 synchronous at 20.0MHz, offset = 0xf ahc0: target 6 Tagged Queuing Device sd1 at scbus0 target 6 lun 0 sd1: type 0 fixed SCSI 2 sd1: Direct-Access 6149MB (12594960 512 byte sectors) sd1: with 7637 cyls, 6 heads, and an average 18 sectors/track [...] BIOS Geometries: 0:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors 1:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors 0 accounted for Device configuration finished. IP packet filtering initialized, divert disabled, logging disabled Considering FFS root f/s. sd0s1: type 0xa5, start 0, end = 4238639, size 4238640 sd0s1: C/H/S end 312/199/63 (3943799) != end 4238639: invalid sd1s1: type 0xa5, start 0, end = 12594959, size 12594960 : OK A bit of background: Since my Quantum VP3120 started to go wild ("grown defects" were growing pretty fast) I decided to buy this Quantum FireballSE. The new Quantum gave me some weird READ ERRORs but no blocks were marked in the defects table (there are no grown defects until now). Now that I came back to the old situation I started a test program on it (it randomly reads and writes 16Kb blocks in a file that spans on all space, with a specified delay after each operation). The first 2 days I left it without ultra (sync. at 10Mhz, like the old drive) and ran the program with 50ms delay. I had no problem. Now that I switched him to utra (sync. at 20Mhz) and ran the program with 10ms delay it gave this erorr after approx. 1/2 day. Beeing that when I first installed the new Quantum I used utra (sync. 20Mhz) I believe I might have a problem with cabling/termination ? I know that ultra speed needs special care (good cable/termination). What are your opinions ? Thank you, Adrian Penisoara Ady (@warpnet.ro) Warp Net Technologies To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Apr 29 07:16:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA09056 for freebsd-scsi-outgoing; Wed, 29 Apr 1998 07:16:39 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA09050 for ; Wed, 29 Apr 1998 07:16:33 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) Received: from salomon.mchp.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.8.8/8.8.8) with ESMTP id QAA03696 for ; Wed, 29 Apr 1998 16:16:11 +0200 (MDT) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by salomon.mchp.siemens.de (8.8.8/8.8.5) with ESMTP id QAA23889 for ; Wed, 29 Apr 1998 16:16:12 +0200 (MDT) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id QAA25316 for ; Wed, 29 Apr 1998 16:16:13 +0200 (CEST) From: Andre Albsmeier Message-Id: <199804291416.QAA01772@internal> Subject: How different is the AIC7985 compared to the 7880 ? To: freebsd-scsi@FreeBSD.ORG Date: Wed, 29 Apr 1998 16:16:08 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I would like to know how different is the AIC7895 chip compared to the AIC7880 apart from supporting two SCSI channels. I know it is supported in CAM and maybe the CAM developers can tell me if it is more or less two 7880's in one chip. The reason I ask is because I would like to make the 2.2-STABLE SCSI driver work with the new Adaptec 3940U controller which contains the AIC7895. If it's only some initialization stuff, I think that I could do it on my own... What do you think? Thanks, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Apr 29 09:27:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA07222 for freebsd-scsi-outgoing; Wed, 29 Apr 1998 09:27:42 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA07206 for ; Wed, 29 Apr 1998 09:27:31 -0700 (PDT) (envelope-from gibbs@narnia.plutotech.com) Received: (from gibbs@localhost) by narnia.plutotech.com (8.8.8/8.7.3) id JAA26624; Wed, 29 Apr 1998 09:41:38 -0600 (MDT) Date: Wed, 29 Apr 1998 09:41:38 -0600 (MDT) From: "Justin T. Gibbs" Message-Id: <199804291541.JAA26624@narnia.plutotech.com> To: Penisoara Adrian cc: scsi@FreeBSD.ORG Subject: Re: sd1: HARDWARE FAILURE - info ? Newsgroups: pluto.freebsd.scsi In-Reply-To: User-Agent: tin/pre-1.4-971204 (UNIX) (FreeBSD/3.0-CURRENT (i386)) Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article you wrote: > Hi, > > Sorry to intrude on the list with such a trivial issue, but could > someone plese translate for me what this error really means ? > > --[ From /var/log/messages ]-------------------------------------------- > Apr 29 10:21:30 ady /kernel: sd1: HARDWARE FAILURE info:0x3660f0 asc:9,8 > Apr 29 10:21:30 ady /kernel: , retries:4 I don't see a specific entry in the asc, ascq table for 9,8, but 9,0, the generic entry for asc 9 errors says: "Track following error". A Quantum tech support engineer could probably tell you the exact hardware fault responsible. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Apr 29 09:39:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA09447 for freebsd-scsi-outgoing; Wed, 29 Apr 1998 09:39:35 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA09370 for ; Wed, 29 Apr 1998 09:39:13 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) Received: from salomon.mchp.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.8.8/8.8.8) with ESMTP id SAA00743 for ; Wed, 29 Apr 1998 18:38:52 +0200 (MDT) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by salomon.mchp.siemens.de (8.8.8/8.8.5) with ESMTP id SAA07273 for ; Wed, 29 Apr 1998 18:38:52 +0200 (MDT) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id SAA26212 for ; Wed, 29 Apr 1998 18:38:53 +0200 (CEST) From: Andre Albsmeier Message-Id: <199804291638.SAA19643@internal> Subject: I ment the AIC7895 and not the AIC7985 :-) In-Reply-To: <199804291416.QAA01772@internal> from Andre Albsmeier at "Apr 29, 98 04:16:08 pm" To: andre.albsmeier@mchp.siemens.de (Andre Albsmeier) Date: Wed, 29 Apr 1998 18:38:53 +0200 (CEST) Cc: freebsd-scsi@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I would like to know how different is the AIC7895 chip > compared to the AIC7880 apart from supporting two SCSI > channels. I know it is supported in CAM and maybe the CAM > developers can tell me if it is more or less two 7880's > in one chip. > > The reason I ask is because I would like to make the > 2.2-STABLE SCSI driver work with the new Adaptec 3940U > controller which contains the AIC7895. > > If it's only some initialization stuff, I think that I > could do it on my own... > > What do you think? > > Thanks, > > -Andre Of course I ment the AIC7895 also in the subject :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Apr 29 10:06:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA13723 for freebsd-scsi-outgoing; Wed, 29 Apr 1998 10:06:29 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from ady.warpnet.ro (ady.warpnet.ro [193.230.201.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA13694 for ; Wed, 29 Apr 1998 10:06:20 -0700 (PDT) (envelope-from ady@warpnet.ro) Received: from localhost (ady@localhost) by ady.warpnet.ro (8.8.8/8.8.8) with SMTP id TAA09300; Wed, 29 Apr 1998 19:58:10 +0300 (EEST) (envelope-from ady@warpnet.ro) Date: Wed, 29 Apr 1998 19:58:10 +0300 (EEST) From: Penisoara Adrian To: "Justin T. Gibbs" cc: scsi@FreeBSD.ORG Subject: Re: sd1: HARDWARE FAILURE - info ? In-Reply-To: <199804291541.JAA26624@narnia.plutotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, On Wed, 29 Apr 1998, Justin T. Gibbs wrote: > In article you wrote: > > Hi, > > > > Sorry to intrude on the list with such a trivial issue, but could > > someone plese translate for me what this error really means ? > > > > --[ From /var/log/messages ]-------------------------------------------- > > Apr 29 10:21:30 ady /kernel: sd1: HARDWARE FAILURE info:0x3660f0 asc:9,8 > > Apr 29 10:21:30 ady /kernel: , retries:4 > > I don't see a specific entry in the asc, ascq table for 9,8, but 9,0, > the generic entry for asc 9 errors says: "Track following error". A > Quantum tech support engineer could probably tell you the exact hardware > fault responsible. So, it has to do with a mechanical "error" ? Could this message be the result of inadecvate cabling/termination and use of Ultra speed ("sync. 20Mhz"), or is it surely a error from the harddisk itself ? I insist on this because so far during the test period (3-4 days, 24h/day) it gave just this error but only when I switched from non-ultra to ultra... Of course, there were also those initial MEDIUM READ ERRORs that gave me the fear of defective hardware, but that was with ultra speed too... > > -- > Justin > Thank you, Ady (@warpnet.ro) Warp Net Technologies To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Apr 29 10:26:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17538 for freebsd-scsi-outgoing; Wed, 29 Apr 1998 10:26:39 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA17520 for ; Wed, 29 Apr 1998 10:26:34 -0700 (PDT) (envelope-from gibbs@plutotech.com) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.8.7/8.8.5) with ESMTP id LAA05528; Wed, 29 Apr 1998 11:25:56 -0600 (MDT) Message-Id: <199804291725.LAA05528@pluto.plutotech.com> X-Mailer: exmh version 2.0.1 12/23/97 To: Penisoara Adrian cc: "Justin T. Gibbs" , scsi@FreeBSD.ORG Subject: Re: sd1: HARDWARE FAILURE - info ? In-reply-to: Your message of "Wed, 29 Apr 1998 19:58:10 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 29 Apr 1998 11:22:08 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> I don't see a specific entry in the asc, ascq table for 9,8, but 9,0, >> the generic entry for asc 9 errors says: "Track following error". A >> Quantum tech support engineer could probably tell you the exact hardware >> fault responsible. > > So, it has to do with a mechanical "error" ? > Could this message be the result of inadecvate cabling/termination and >use of Ultra speed ("sync. 20Mhz"), or is it surely a error from the >harddisk itself? The drive is attempting to tell you exactly what is going wrong. When it says "HARDARE ERROR", it usually means it. If you were having cabling or termination problems, you would likely see hangs or parity errors. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Apr 29 11:53:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA04246 for freebsd-scsi-outgoing; Wed, 29 Apr 1998 11:53:35 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA04240 for ; Wed, 29 Apr 1998 11:53:33 -0700 (PDT) (envelope-from gibbs@narnia.plutotech.com) Received: (from gibbs@localhost) by narnia.plutotech.com (8.8.8/8.7.3) id MAA27221; Wed, 29 Apr 1998 12:48:48 -0600 (MDT) Date: Wed, 29 Apr 1998 12:48:48 -0600 (MDT) From: "Justin T. Gibbs" Message-Id: <199804291848.MAA27221@narnia.plutotech.com> To: Andre Albsmeier cc: scsi@FreeBSD.ORG Subject: Re: I ment the AIC7895 and not the AIC7985 :-) Newsgroups: pluto.freebsd.scsi In-Reply-To: <199804291638.SAA19643@internal> User-Agent: tin/pre-1.4-971204 (UNIX) (FreeBSD/3.0-CURRENT (i386)) Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <199804291638.SAA19643@internal> you wrote: >> >> I would like to know how different is the AIC7895 chip >> compared to the AIC7880 apart from supporting two SCSI >> channels. I know it is supported in CAM and maybe the CAM >> developers can tell me if it is more or less two 7880's >> in one chip. The 7895 has two, completely independent, SCSI sequencers and risc processors, each with two DMA FIFOs, dumping into a single PCI bus module. These two "cores" provide similar functionality to independent aic7880s, but the register set is somewhat different and it would be non-trivial to add support for the aic7895 to the older driver. The main difference is the way commands must be queued to the chip, but there are other, performance related, features that should also be supported. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Apr 29 14:53:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA10946 for freebsd-scsi-outgoing; Wed, 29 Apr 1998 14:53:33 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA10834 for ; Wed, 29 Apr 1998 14:53:06 -0700 (PDT) (envelope-from wilko@yedi.iaf.nl) Received: by uni4nn.gn.iaf.nl with UUCP id AA21276 (5.67b/IDA-1.5 for scsi@FreeBSD.ORG); Wed, 29 Apr 1998 23:52:10 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.8.7/8.6.12) id WAA15995; Wed, 29 Apr 1998 22:48:59 +0200 (MET DST) From: Wilko Bulte Message-Id: <199804292048.WAA15995@yedi.iaf.nl> Subject: Re: sd1: HARDWARE FAILURE - info ? In-Reply-To: from Penisoara Adrian at "Apr 29, 98 07:58:10 pm" To: ady@warpnet.ro (Penisoara Adrian) Date: Wed, 29 Apr 1998 22:48:59 +0200 (MET DST) Cc: gibbs@narnia.plutotech.com, scsi@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-Pgp-Info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL32 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org As Penisoara Adrian wrote... > Hi, > > On Wed, 29 Apr 1998, Justin T. Gibbs wrote: > > > In article you wrote: > > > Hi, > > > > > > Sorry to intrude on the list with such a trivial issue, but could > > > someone plese translate for me what this error really means ? > > > > > > --[ From /var/log/messages ]-------------------------------------------- > > > Apr 29 10:21:30 ady /kernel: sd1: HARDWARE FAILURE info:0x3660f0 asc:9,8 > > > Apr 29 10:21:30 ady /kernel: , retries:4 > > > > I don't see a specific entry in the asc, ascq table for 9,8, but 9,0, > > the generic entry for asc 9 errors says: "Track following error". A > > Quantum tech support engineer could probably tell you the exact hardware > > fault responsible. > > So, it has to do with a mechanical "error" ? > Could this message be the result of inadecvate cabling/termination and > use of Ultra speed ("sync. 20Mhz"), or is it surely a error from the > harddisk itself ? > > I insist on this because so far during the test period (3-4 days, > 24h/day) it gave just this error but only when I switched from non-ultra > to ultra... > Of course, there were also those initial MEDIUM READ ERRORs that gave me > the fear of defective hardware, but that was with ultra speed too... If I were you I'd send this drive back to where it came from. HARDWARE FAILURE is not an error I would expect to see in relation to SCSI bus speeds. Sounds like infant mortality to me... Wilko _ ______________________________________________________________________ | / o / / _ Bulte email: wilko @ yedi.iaf.nl |/|/ / / /( (_) Arnhem, The Netherlands WWW: http://www.tcja.nl ______________________________________________ Powered by FreeBSD __________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Apr 29 21:41:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA01036 for freebsd-scsi-outgoing; Wed, 29 Apr 1998 21:41:21 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA01024 for ; Wed, 29 Apr 1998 21:41:16 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) Received: from salomon.mchp.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.8.8/8.8.8) with ESMTP id GAA03079 for ; Thu, 30 Apr 1998 06:40:50 +0200 (MDT) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by salomon.mchp.siemens.de (8.8.8/8.8.5) with ESMTP id GAA13095 for ; Thu, 30 Apr 1998 06:40:51 +0200 (MDT) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id GAA01035 for ; Thu, 30 Apr 1998 06:40:51 +0200 (CEST) From: Andre Albsmeier Message-Id: <199804300440.GAA06386@internal> Subject: Re: I ment the AIC7895 and not the AIC7985 :-) In-Reply-To: <199804291848.MAA27221@narnia.plutotech.com> from "Justin T. Gibbs" at "Apr 29, 98 12:48:48 pm" To: gibbs@narnia.plutotech.com (Justin T. Gibbs) Date: Thu, 30 Apr 1998 06:40:48 +0200 (CEST) Cc: andre.albsmeier@mchp.siemens.de, scsi@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > In article <199804291638.SAA19643@internal> you wrote: > >> > >> I would like to know how different is the AIC7895 chip > >> compared to the AIC7880 apart from supporting two SCSI > >> channels. I know it is supported in CAM and maybe the CAM > >> developers can tell me if it is more or less two 7880's > >> in one chip. > > The 7895 has two, completely independent, SCSI sequencers and > risc processors, each with two DMA FIFOs, dumping into a single > PCI bus module. These two "cores" provide similar functionality > to independent aic7880s, but the register set is somewhat different > and it would be non-trivial to add support for the aic7895 to the > older driver. The main difference is the way commands must > be queued to the chip, but there are other, performance related, > features that should also be supported. I see. I think that's too much for me. If it had been only some initialization stuff, some probing,... I would have given it a try. Thanks anyway, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Wed Apr 29 22:03:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA03782 for freebsd-scsi-outgoing; Wed, 29 Apr 1998 22:03:58 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from thelab.hub.org (tc-11.acadiau.ca [131.162.2.111]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA03777 for ; Wed, 29 Apr 1998 22:03:56 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.8.8/8.8.2) with SMTP id CAA01638 for ; Thu, 30 Apr 1998 02:03:55 -0300 (ADT) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Thu, 30 Apr 1998 02:03:55 -0300 (ADT) From: The Hermit Hacker To: freebsd-scsi@FreeBSD.ORG Subject: CAM 980413 ... with -current sources ... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Anyone try it recently? athome# find . -name "*.rej" -print ./sbin/Makefile.rej ./sys/i386/conf/GENERIC.rej ./sys/i386/conf/SMP-GENERIC.rej ./sys/i386/i386/autoconf.c.rej ./sys/pci/ncr.c.rej ./usr.bin/mt/mt.c.rej Unless someone says otherwise, I'll look at hand patching them tomorrow... Marc G. Fournier Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Apr 30 08:01:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA21194 for freebsd-scsi-outgoing; Thu, 30 Apr 1998 08:01:49 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from kaori.communique.net (kaori.communique.net [204.27.67.55]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA21186 for ; Thu, 30 Apr 1998 08:01:45 -0700 (PDT) (envelope-from rzig@verio.net) Received: by kaori.communique.net with Internet Mail Service (5.0.1458.49) id ; Thu, 30 Apr 1998 10:01:25 -0500 Message-ID: From: Raul Zighelboim To: "'scsi@freebsd.org'" Cc: "'n@nectar.com'" Subject: DPT driver performance Date: Thu, 30 Apr 1998 10:01:22 -0500 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello there; I run iozone on a DPT controler, and compared it to an ahc controler, and found: (iozone 512): READ WRITE drive cache AHC 24196998 b/s 7751774 b/s SEAGATE ST34572W system ram DPT 32262665 b/s 4165574 b/s SEAGATE ST34572WC 64mb simms on board + system ram (iozone 1024): AHC 9764063 b/s 7473976 b/s DPT 12111293 b/s 3966034 b/s Is there anything I can do to improve the DPT performance? Can I safelly turn on any of the following: dpt_pci.c:#ifdef DPT_ALLOW_MEMIO. This are my controler options: options AHC_TAGENABLE options AHC_SCBPAGING_ENABLE options AHC_ALLOW_MEMIO options DPTOPT options DPT_MEASURE_PERFORMANCE Thanks. ================================================== Raul Zighelboim rzig@verio.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Apr 30 08:53:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA27583 for freebsd-scsi-outgoing; Thu, 30 Apr 1998 08:53:26 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from misery.sdf.com (misery.sdf.com [204.244.213.32]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA27575 for ; Thu, 30 Apr 1998 08:53:21 -0700 (PDT) (envelope-from tom@sdf.com) Received: from tom by misery.sdf.com with smtp (Exim 1.82 #3) id 0yUvEp-00010N-00; Thu, 30 Apr 1998 08:27:07 -0700 Date: Thu, 30 Apr 1998 08:27:05 -0700 (PDT) From: Tom To: Raul Zighelboim cc: "'scsi@freebsd.org'" , "'n@nectar.com'" Subject: Re: DPT driver performance In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 30 Apr 1998, Raul Zighelboim wrote: > Is there anything I can do to improve the DPT performance? Can I Is your DPT performance actually poor? You've shown that iozone looks bad, which could be a problem if your server is intended to run iozone all the time. The array settings are much more important. Things like strip size, number of drives and the RAID level used are critical. Strangely you did not even mention any of this stuff. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Apr 30 10:11:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA11002 for freebsd-scsi-outgoing; Thu, 30 Apr 1998 10:11:19 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from kaori.communique.net (kaori.communique.net [204.27.67.55]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA10997 for ; Thu, 30 Apr 1998 10:11:17 -0700 (PDT) (envelope-from rzig@verio.net) Received: by kaori.communique.net with Internet Mail Service (5.0.1458.49) id ; Thu, 30 Apr 1998 12:10:59 -0500 Message-ID: From: Raul Zighelboim To: "'Tom'" Cc: "'scsi@freebsd.org'" , "'n@nectar.com'" Subject: RE: DPT driver performance Date: Thu, 30 Apr 1998 12:10:57 -0500 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am running ONE drive on an AHC controller and ONE drive on a DPT controller. No stripping, no raid. Just one drive. Both are formated with 512b/s. No, I do not intend to run iozone as my main application. But it bothers me that under the same conditions, the Adaptec controller can write a large file twice as fast. You're saying that this is not relevant ? ================================================== Raul Zighelboim rzig@verio.net > -----Original Message----- > From: Tom [SMTP:tom@sdf.com] > Sent: Thursday, April 30, 1998 10:27 AM > To: Raul Zighelboim > Cc: 'scsi@freebsd.org'; 'n@nectar.com' > Subject: Re: DPT driver performance > > > On Thu, 30 Apr 1998, Raul Zighelboim wrote: > > > Is there anything I can do to improve the DPT performance? Can I > > Is your DPT performance actually poor? You've shown that iozone > looks > bad, which could be a problem if your server is intended to run iozone > all > the time. > > The array settings are much more important. Things like strip size, > number of drives and the RAID level used are critical. Strangely you > did > not even mention any of this stuff. > > Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Apr 30 10:34:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA15202 for freebsd-scsi-outgoing; Thu, 30 Apr 1998 10:34:33 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from misery.sdf.com (misery.sdf.com [204.244.213.32]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA15194 for ; Thu, 30 Apr 1998 10:34:29 -0700 (PDT) (envelope-from tom@sdf.com) Received: from tom by misery.sdf.com with smtp (Exim 1.82 #3) id 0yUwoG-00015j-00; Thu, 30 Apr 1998 10:07:48 -0700 Date: Thu, 30 Apr 1998 10:07:44 -0700 (PDT) From: Tom To: Raul Zighelboim cc: "'scsi@freebsd.org'" , "'n@nectar.com'" Subject: RE: DPT driver performance In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 30 Apr 1998, Raul Zighelboim wrote: > I am running ONE drive on an AHC controller and ONE drive on a DPT > controller. No stripping, no raid. Just one drive. Both are formated > with 512b/s. > > No, I do not intend to run iozone as my main application. But it > bothers me that under the same conditions, the Adaptec controller can > write a large file twice as fast. > > You're saying that this is not relevant ? That is exactly what I'm saying. Besides, as I recall the results, they weren't twice as fast. By default, the DPT controler has a half-second flush delay. Change this to zero to optimze for iozone. Or you could just disable write-caching altogether, as iozone does not benefit from it. > ================================================== > Raul Zighelboim rzig@verio.net Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Apr 30 14:02:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA20833 for freebsd-scsi-outgoing; Thu, 30 Apr 1998 14:02:54 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from IAEhv.nl (root@iaehv.IAEhv.nl [194.151.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA20827 for ; Thu, 30 Apr 1998 14:02:50 -0700 (PDT) (envelope-from wjw@surf.IAEhv.nl) Received: from surf.IAEhv.nl (root@surf.IAEhv.nl [194.151.66.2]) by IAEhv.nl (8.8.7/8.8.7) with ESMTP id XAA26500 for ; Thu, 30 Apr 1998 23:02:45 +0200 (CEST) Received: (from wjw@localhost) by surf.IAEhv.nl (8.8.7/8.8.7) id XAA10167 for scsi@freebsd.org; Thu, 30 Apr 1998 23:02:45 +0200 (MET DST) From: Willem Jan Withagen Message-Id: <199804302102.XAA10167@surf.IAEhv.nl> Subject: Fixed bad-disk problems with the DPT controller To: scsi@FreeBSD.ORG Date: Thu, 30 Apr 1998 23:02:45 +0200 (MET DST) Reply-To: wjw@IAEhv.nl X-NCC-RegID: nl.iae X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, This might just save somebody else's day as well. I got one of the worse scenarios possible today: I attached my new DAT tape to the DPT scsi bus today, to make the first backup in over a year. :-( So, of course, Murphy struck: The tape had the same SCSI-ID as did the hot-spare. Booting 2.2.5 gave all kinds of 'errors' and soon that obnoxious beeper on the controller gave me a head-ache. Going back into DOS/dptmgr did not get me anywhere. Drives ( 2 of 3) were in a bad state, and stayed that way. But one call to the States solved the problem: /pub/techsup/SRIV/utilities/opt1b.zip allows you to switch drives to the good (optimal) state. Now if any of the information has become corrupted in you RAID, this might save your day as well. I'm currently in the proces of making a 'golden' backup. --WjW -- Internet Access Eindhoven BV., voice: +31-40-2 393 393, data: +31-40-2 439 436 P.O. 928, 5600 AX Eindhoven, The Netherlands Full Internet connectivity for only fl 12.95 a month. Call now, and login as 'new'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Apr 30 16:14:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA09476 for freebsd-scsi-outgoing; Thu, 30 Apr 1998 16:14:37 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from nlanr.net (oceana.sdsc.edu [132.249.40.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA09469 for ; Thu, 30 Apr 1998 16:14:34 -0700 (PDT) (envelope-from jambi@nlanr.net) Received: from localhost (jambi@localhost) by nlanr.net (8.8.6/8.8.6) with SMTP id QAA02144; Thu, 30 Apr 1998 16:14:29 -0700 (PDT) Date: Thu, 30 Apr 1998 16:14:29 -0700 (PDT) From: Jambi To: wjw@IAEhv.nl cc: scsi@FreeBSD.ORG Subject: DTP SCSI RAID? In-Reply-To: <199804302102.XAA10167@surf.IAEhv.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org does anyone know what models of DTP raid cards work with 2.2.5 or 2.2.6 kernels? Thanx, Jambi _______________________________________________ Jambi Ganbar | (619) 8220938 | jambi@nlanr.net San Diego SuperComputer Center ________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Apr 30 17:23:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA19282 for freebsd-scsi-outgoing; Thu, 30 Apr 1998 17:23:42 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from misery.sdf.com (misery.sdf.com [204.244.213.32]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA19273 for ; Thu, 30 Apr 1998 17:23:37 -0700 (PDT) (envelope-from tom@sdf.com) Received: from tom by misery.sdf.com with smtp (Exim 1.82 #3) id 0yV3Cb-0001O7-00; Thu, 30 Apr 1998 16:57:21 -0700 Date: Thu, 30 Apr 1998 16:57:19 -0700 (PDT) From: Tom To: Jambi cc: wjw@IAEhv.nl, scsi@FreeBSD.ORG Subject: Re: DTP SCSI RAID? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 30 Apr 1998, Jambi wrote: > does anyone know what models of DTP raid cards work with 2.2.5 or 2.2.6 > kernels? > Thanx, > Jambi All of them. All DPT cards use a similar engine, just the higher end cards are just faster (more io operations per second). Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Apr 30 17:36:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA21600 for freebsd-scsi-outgoing; Thu, 30 Apr 1998 17:36:59 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from nlanr.net (oceana.sdsc.edu [132.249.40.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA21595 for ; Thu, 30 Apr 1998 17:36:54 -0700 (PDT) (envelope-from jambi@nlanr.net) Received: from localhost (jambi@localhost) by nlanr.net (8.8.6/8.8.6) with SMTP id RAA06668; Thu, 30 Apr 1998 17:36:39 -0700 (PDT) Date: Thu, 30 Apr 1998 17:36:39 -0700 (PDT) From: Jambi To: Tom cc: wjw@IAEhv.nl, scsi@FreeBSD.ORG Subject: Re: DTP SCSI RAID? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanx for the info. I'm also interested to know if anyone knows whether I should get better preformance under the following conditions: My application write loads (in order of MB) of data to disk. It can go through the file system or just write straight to disk. While running some benchmarks I saw that a cheap scsi quantom was getting better preformance then a seagate cheeta! This was on an adaptec 2940UW host. I was going to switch to an IBM drive that out do the cheeta, but was considering of striping two disks to gain better speed. Is this likely? Does anyone have disk I/O benchmarx anywhere? Thanx for the time, Jambi _______________________________________________ Jambi Ganbar | (619) 8220938 | jambi@nlanr.net San Diego SuperComputer Center ________________________________________________ On Thu, 30 Apr 1998, Tom wrote: > > On Thu, 30 Apr 1998, Jambi wrote: > > > does anyone know what models of DTP raid cards work with 2.2.5 or 2.2.6 > > kernels? > > Thanx, > > Jambi > > All of them. All DPT cards use a similar engine, just the higher end > cards are just faster (more io operations per second). > > Tom > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Thu Apr 30 18:58:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA03109 for freebsd-scsi-outgoing; Thu, 30 Apr 1998 18:58:04 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from thelab.hub.org (tc-72.acadiau.ca [131.162.2.172]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA03090 for ; Thu, 30 Apr 1998 18:57:57 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.8.8/8.8.2) with SMTP id WAA04034 for ; Thu, 30 Apr 1998 22:57:51 -0300 (ADT) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Thu, 30 Apr 1998 22:57:51 -0300 (ADT) From: The Hermit Hacker To: freebsd-scsi@FreeBSD.ORG Subject: CAM drivers ... newer snapshot? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Morning... Just manually merged in those parts of the old snapshot that failed (Makefile stuff, and a few code changes) and, following the README, came to the 'make depend' part of the new kernel, getting: ./aicasm -nostdinc -I- -I. -I../.. -I../../../include -o aic7xxx_seq.h -r aic7xxx_reg.h ../../dev/aic7xxx/aic7xxx.seq ./aicasm: Stopped at file cam/scsi/scsi_message.h, line 43 - Re-definition of symbol as a constant ./aicasm: Removing aic7xxx_seq.h due to error ./aicasm: Removing aic7xxx_reg.h due to error *** Error code 65 Does anyone have newer code, or should I cvsup -current from 980413? thanks... Marc G. Fournier Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri May 1 06:44:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA15921 for freebsd-scsi-outgoing; Fri, 1 May 1998 06:44:15 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from casimir.easynet.fr (casimir.easynet.fr [195.114.64.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA15900 for ; Fri, 1 May 1998 06:44:12 -0700 (PDT) (envelope-from rama@casimir.easynet.fr) Received: (from rama@localhost) by casimir.easynet.fr (8.8.8/8.8.8) id PAA05529; Fri, 1 May 1998 15:43:37 +0200 (CEST) (envelope-from rama) Message-ID: <19980501154337.26357@easynet.fr> Date: Fri, 1 May 1998 15:43:37 +0200 From: David Ramahefason To: Tom , Raul Zighelboim Cc: "'scsi@freebsd.org'" , "'n@nectar.com'" Subject: Re: DPT driver performance Reply-To: David Ramahefason References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: ; from Tom on Thu, Apr 30, 1998 at 08:27:05AM -0700 Organization: Systems Team Easynet France SA X-Operating-System: FreeBSD Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Quoting Tom (tom@sdf.com): > > On Thu, 30 Apr 1998, Raul Zighelboim wrote: > > > Is there anything I can do to improve the DPT performance? Can I > > Is your DPT performance actually poor? You've shown that iozone looks > bad, which could be a problem if your server is intended to run iozone all > the time. > > The array settings are much more important. Things like strip size, > number of drives and the RAID level used are critical. Strangely you did > not even mention any of this stuff. > > Tom Hi, what are the DTP models comatible with FreeBSD ?? Thx -- /David Ramahefason Administrateur Systeme/Reseau/ /rama@easynet.fr Easynet France SA / /0144547031 / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Fri May 1 08:40:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA00719 for freebsd-scsi-outgoing; Fri, 1 May 1998 08:40:37 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA00713 for ; Fri, 1 May 1998 08:40:34 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id PAA21226; Fri, 1 May 1998 15:40:33 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id RAA05286; Fri, 1 May 1998 17:40:20 +0200 (MET DST) Message-ID: <19980501174020.50473@follo.net> Date: Fri, 1 May 1998 17:40:20 +0200 From: Eivind Eklund To: David Ramahefason Cc: "'scsi@freebsd.org'" Subject: Re: DPT driver performance References: <19980501154337.26357@easynet.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <19980501154337.26357@easynet.fr>; from David Ramahefason on Fri, May 01, 1998 at 03:43:37PM +0200 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, May 01, 1998 at 03:43:37PM +0200, David Ramahefason wrote: > what are the DTP models comatible with FreeBSD ?? Supposedly all (but as my suppliers has kept promising the cable will be here 'tomorrow' I still haven't tested that even the one on my desk works as it should - which is getting _extremely_ frustrating). Eivind, who AFAHK doesn't have somebody that sell wide SCSI cables within 20 miles, so he can't just go pick one up, either :-( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message From owner-freebsd-scsi Sat May 2 21:16:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA25371 for freebsd-scsi-outgoing; Sat, 2 May 1998 21:16:12 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from fly.HiWAAY.net (root@fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA25362 for ; Sat, 2 May 1998 21:16:07 -0700 (PDT) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt2-27.HiWAAY.net [208.147.148.27]) by fly.HiWAAY.net (8.8.8/8.8.6) with ESMTP id XAA12757 for ; Sat, 2 May 1998 23:16:05 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.8.8/8.8.4) with ESMTP id WAA01749 for ; Sat, 2 May 1998 22:48:45 -0500 (CDT) Message-Id: <199805030348.WAA01749@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-scsi@FreeBSD.ORG Subject: ncr0 error From: David Kelly Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 02 May 1998 22:48:45 -0500 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is this something to worry about, or simply an unusual occurance? This HD and SCSI card have been running about 6 months and this is the first thing like this that I know of. Have mentioned elsewhere that I have often (usually) been able to freeze this system when running "cvs update" while Netscape is open. This was different. Was running cvsup to update my /home/ncvs, was seeing "SetAttrib" for most every file. (Wonder if I did something to cause that?). Anyhow, cvsup was disk limited, not 28.8 modem limited so I used "mount -u -o async /r/usr2" and happily noticed cvsup running much faster and taking more CPU. Until about halfway thru, X died. Apparently X's death was only a symptom. System is 2.2.6-stable, as of April 22. XFree86 3.3.1. /home/ncvs is a symbolic link to /r/usr2/ncvs and is on the ncr0 controller (Asus SC875, IBM OEM DCHS09W 2222). Swap is on that disk, root and /usr are on an old Adaptec 2940 (rev 0) and Seagate ST32550N. May 1 21:37:46 nospam /kernel: ncr0:0: ERROR (20:0) (8-0-0) (f/3d) @ (script 418:c0000004). May 1 21:37:46 nospam /kernel: ncr0: script cmd = c1000060 May 1 21:37:46 nospam /kernel: ncr0: regdump: da 00 00 3d 47 0f 00 0f 20 08 80 00 00 00 07 0a. May 1 21:37:46 nospam /kernel: ncr0: have to clear fifos. May 1 21:37:46 nospam /kernel: ncr0: restart (fatal error). May 1 21:37:46 nospam /kernel: sd1(ncr0:0:0): COMMAND FAILED (9 ff) @f07b5800. May 1 21:37:46 nospam /kernel: sd1(ncr0:0:0): ABORTED COMMAND asc:4e,0 Overlapped commands attempted May 1 21:37:46 nospam /kernel: , retries:3 May 1 21:37:46 nospam /kernel: sd1(ncr0:0:0): WIDE SCSI (16 bit) enabledsd1(ncr0:0:0): 20.0 MB/s (100 ns, offset 15) May 1 21:53:51 nospam /kernel: ncr0:0: ERROR (81:0) (8-0-0) (f/3d) @ (mem 322828:00000000). May 1 21:53:51 nospam /kernel: ncr0: regdump: da 00 40 3d 47 0f 00 0f 35 08 80 00 80 00 0f 0a. May 1 21:53:51 nospam /kernel: ncr0: restart (fatal error). May 1 21:53:51 nospam /kernel: sd1(ncr0:0:0): COMMAND FAILED (9 ff) @f07b5800. May 1 21:53:51 nospam /kernel: sd1(ncr0:0:0): WIDE SCSI (16 bit) enabledsd1(ncr0:0:0): 20.0 MB/s (100 ns, offset 15) May 1 21:53:55 nospam /kernel: pid 16320 (XF86_Mach32), uid 0: exited on signal 6 umounting all the filesystems on the above disk, and running "fsck -y" against them didn't find anything to fix. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message