From owner-cvs-all Mon May 28 6:23: 4 2001 Delivered-To: cvs-all@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id 4D94B37B422; Mon, 28 May 2001 06:22:57 -0700 (PDT) (envelope-from DougB@DougBarton.net) Received: from DougBarton.net (master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id GAA55638; Mon, 28 May 2001 06:22:28 -0700 (PDT) (envelope-from DougB@DougBarton.net) Message-ID: <3B125114.68EAC4D7@DougBarton.net> Date: Mon, 28 May 2001 06:22:28 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Evans Cc: n_hibma@FreeBSD.org, Poul-Henning Kamp , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern subr_disk.c References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce Evans wrote: > > On Mon, 28 May 2001 n_hibma@FreeBSD.org wrote: > > > Reverting this commit avoids the panic I just mailed you. No idea why. > > > > Anything you want me to try to look into this? Little problem is that I > > don't have a serial console and the panic happens before dumpdev is set. > > This may be related to rev.1.38 of subr_disk.c breaking most disk devices > in the non-devfs case. Their devsw() is 0 so spec_open() returns ENXIO. > Places that don't check for a null devsw() would just panic. I think I tried compiling a nodevfs kernel this weekend, and while it compiled and found root ok, / was the only partition it could mount. Attempting to access any other device got "device not configured" errors. Yes, I did make the devices in the non-devfs /dev. Doug > > On Thu, 24 May 2001, Poul-Henning Kamp wrote: > > > > > phk 2001/05/24 13:27:17 PDT > > > > > > Modified files: > > > sys/kern subr_disk.c > > > Log: > > > Don't take the detour around devsw() to find out if the proto-cdevsw > > > is already initialized. > > > > > > Revision Changes Path > > > 1.38 +2 -4 src/sys/kern/subr_disk.c > > > > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/subr_disk.c?r1=1.37&r2=1.38&cvsroot=freebsd -- I need someone really bad. Are you really bad? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message