From owner-freebsd-scsi Wed May 30 15:32:10 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 BE6CF37B423; Wed, 30 May 2001 15:32:05 -0700 (PDT) (envelope-from haribeau@gmx.de) Received: from fwd07.sul.t-online.de by mailout06.sul.t-online.de with smtp id 155EVW-0003YE-01; Thu, 31 May 2001 00:32:02 +0200 Received: from ramses.local (320080844193-0001@[62.225.210.88]) by fmrl07.sul.t-online.com with esmtp id 155EVP-1UO9myC; Thu, 31 May 2001 00:31:55 +0200 Received: from haribeau by ramses.local with local (Exim 3.12 #1 (Debian)) id 155EUg-0001Im-00; Thu, 31 May 2001 00:31:10 +0200 Date: Thu, 31 May 2001 00:31:10 +0200 From: Clemens Hermann To: Chris Dillon Cc: Mike Smith , Tom Samplonius , Michael Aronsen , "'freebsd-scsi@freebsd.org'" Subject: Re: Mylex controllers? Message-ID: <20010531003110.B4832@ramses.local> References: <200105301948.f4UJm9R01172@mass.dis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: von Chris Dillon am 30.May.2001 um 16:32:30 (-0500) X-Mailer: Mutt 1.2.5i (Linux 2.2.17 i586) X-Sender: 320080844193-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 Am 30.05.2001 um 16:32:30 schrieb Chris Dillon: Hi Chris, > I made sure GENERIC would compile after this, yes > but I have _not_ actually tested it. I did it. It failed. When I reboot the machine I get the following: Mounting root from ufs:/dev/da0s1a shortly after this booting stops /ch P.S., I applyed the patch to a plain 4.3-Release installation > --- mly.c.orig Wed May 30 16:21:00 2001 > +++ mly.c Wed May 30 16:25:31 2001 > @@ -36,6 +36,7 @@ > #include > #include > #include > +#include > > #include > #include > @@ -89,6 +90,8 @@ > static d_ioctl_t mly_user_ioctl; > static int mly_user_command(struct mly_softc *sc, struct mly_user_command *uc); > static int mly_user_health(struct mly_softc *sc, struct mly_user_health *uh); > + > +SYSCTL_NODE(_hw, OID_AUTO, mly, CTLFLAG_RD, 0, "mly driver parameters"); > > #define MLY_CDEV_MAJOR 158 > > > > --- mly_cam.c.orig Wed May 30 15:30:49 2001 > +++ mly_cam.c Wed May 30 16:08:50 2001 > @@ -32,8 +32,10 @@ > > #include > #include > +#include > #include > #include > +#include > > #include > #include > @@ -56,6 +58,13 @@ > static void mly_cam_complete(struct mly_command *mc); > static struct cam_periph *mly_find_periph(struct mly_softc *sc, int bus, int target); > > +static int mly_cam_nophyschans; > +TUNABLE_INT_DECL("hw.mly.cam_nophyschans", 1, mly_cam_nophyschans); > + > +SYSCTL_DECL(_hw_mly); > +SYSCTL_INT(_hw_mly, OID_AUTO, mly_cam_nophyschans, CTLFLAG_RD, &mly_cam_nophyschans, 0, > + "Do not report physical channels to CAM"); > + > /******************************************************************************** > * CAM-specific queue primitives > */ > @@ -131,6 +140,10 @@ > > /* initialise the CCB queue */ > mly_initq_ccb(sc); > + > + if (mly_cam_nophyschans) { > + sc->mly_controllerinfo->physical_channels_present = 0; > + } > > /* > * Allocate a devq for all our channels combined. > > > -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net > FreeBSD: The fastest and most stable server OS on the planet. > For IA32 and Alpha architectures. IA64, PPC, and ARM under development. > http://www.freebsd.org > > > > > 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