Date: Sun, 20 Apr 1997 00:52:50 -0400 (EDT) From: risner@stdio.com To: FreeBSD-gnats-submit@freebsd.org Subject: bin/3355: ncrcontrol fails when -DFAILSAFE in kernel Message-ID: <199704200452.AAA00743@akira.stdio.com> Resent-Message-ID: <199704200500.WAA04430@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 3355
>Category: bin
>Synopsis: ncrcontrol fails when -DFAILSAFE in kernel
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 19 22:00:01 PDT 1997
>Last-Modified:
>Originator: James Risner
>Organization:
me
>Release: FreeBSD 2.2-STABLE i386
>Environment:
none
>Description:
Any kernel with option FAILSAFE turn on will not work without
ncrcontrol.c compiled with FAILSAFE (or for that matter ANY
other options that change the size of the struct ?cb {} in pci/ncr.c
or the version of the NCR driver.)
>How-To-Repeat:
Compile a kernel with -DFAILSAFE.
try to run ncrcontrol and fails with:
"ncrcontrol: incompatible with kernel. Rebuild!"
recompile ncrcontrol with -DFAILSAFE and it works.
>Fix:
I don't know.
Any way of Having ncrcontrol look at "INCLUDE_CONFIG" in the kernel?
And regen itself? (I doubt it)
Maybe change the error message to be more like:
"Size of ncr kernel structures differ from running kernel? Check
running kernel options to insure ncrcontrol is compiled with identical
settings?"
Risner
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704200452.AAA00743>
