Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2001 23:02:11 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        n_hibma@FreeBSD.org
Cc:        Poul-Henning Kamp <phk@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern subr_disk.c
Message-ID:  <Pine.BSF.4.21.0105282255010.2091-100000@besplex.bde.org>
In-Reply-To: <20010528125004.C93973-100000@henny.webweaving.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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

Bruce

> 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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0105282255010.2091-100000>