From owner-freebsd-bugs Sat Apr 19 22:00:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA04436 for bugs-outgoing; Sat, 19 Apr 1997 22:00:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA04430; Sat, 19 Apr 1997 22:00:01 -0700 (PDT) Resent-Date: Sat, 19 Apr 1997 22:00:01 -0700 (PDT) Resent-Message-Id: <199704200500.WAA04430@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, risner@stdio.com Received: from akira.stdio.com (akira.stdio.com [204.152.114.80]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA04227 for ; Sat, 19 Apr 1997 21:52:59 -0700 (PDT) Received: (from root@localhost) by akira.stdio.com (8.8.5/8.7.3) id AAA00743; Sun, 20 Apr 1997 00:52:50 -0400 (EDT) Message-Id: <199704200452.AAA00743@akira.stdio.com> Date: Sun, 20 Apr 1997 00:52:50 -0400 (EDT) From: risner@stdio.com Reply-To: risner@stdio.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/3355: ncrcontrol fails when -DFAILSAFE in kernel Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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: