From owner-freebsd-current Wed Dec 23 03:22:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA01144 for freebsd-current-outgoing; Wed, 23 Dec 1998 03:22:06 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from server.noc.demon.net (server.noc.demon.net [193.195.224.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA01139 for ; Wed, 23 Dec 1998 03:22:04 -0800 (PST) (envelope-from geoffb@gti.noc.demon.net) Received: by server.noc.demon.net; id LAA28838; Wed, 23 Dec 1998 11:21:59 GMT Received: from gti.noc.demon.net(195.11.55.101) by inside.noc.demon.net via smap (3.2) id xma028829; Wed, 23 Dec 98 11:21:50 GMT Received: (from geoffb@localhost) by gti.noc.demon.net (8.8.8/8.8.8) id LAA05903; Wed, 23 Dec 1998 11:21:47 GMT Message-ID: <19981223112147.B5215@gti.noc.demon.net> Date: Wed, 23 Dec 1998 11:21:47 +0000 From: Geoff Buckingham To: Harry Starr , current Subject: Re: Problems with CAM and ncr Reply-To: geoffb@demon.net References: <001501be2da8$fb35b830$0a9811cb@gccs.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <001501be2da8$fb35b830$0a9811cb@gccs.com.au>; from Harry Starr on Tue, Dec 22, 1998 at 10:45:38PM +1000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Dec 22, 1998 at 10:45:38PM +1000, Harry Starr wrote: > There seems to be a major problem with the new CAM code and the ncr driver. > > Config: > > Asus SC200 (ncr810) in Asus P2L97 M/B with PII-300 and 128MB mem. > > With "hard" disk access (Make world; or Make release), more than likely, the > ncr driver will give an error message of ncr:::queue empty, at which point > the system will lock up (pager errors, etc). This is almost 100% > reproducible. > > The SCSI drives are "old" Conner Cp3470. I'm not sure if there were problems > with tagged queueing in this model; but they worked OK in a DG/UX system. > Someone more knowledgable than me will doubtless be along in a bit, but I have had the NCR driver working with CAM for build world etc without problems however that machine has a 'modern' drive. You may be able to eliminate TAG problems by adding a quirk to /usr/src/sys/cam/cam_xpt.c specifying a lower maxtags, then compiling a new kernel. I have one for a hardware RAID which was causing hangs: { /* Delf Stuff */ { T_ANY, SIP_MEDIA_REMOVABLE|SIP_MEDIA_FIXED, /*vendor*/"C_Design", /*product*/"DELFRaid", /*revision*/"0131 " }, /*quirks*/0, /*mintags*/24, /*maxtags*/28 }, This seems to have fixed it (one week uptime, was crashing within 30 mins of disk load) If someone from the CAM group happens along: Is there a methed for submision and review of such quirks? I have raised a non critical kernel PR for the above, although I must revise it as I have altered min/maxtags since submiting it. There is no scientific method for the values chosen above, they just seem to prevent the hangs and excesivly uneven distribution of TAGs between logical devices within the RAID. > The ncr driver previously reports that "tagged openings is now 31". > > Reverting to a kernel dated "8-Aug-1998" alleviates the problem. > > Any thoughts ?? > -- GeoffB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message