From owner-freebsd-bugs Tue Aug 27 22:40:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA01725 for bugs-outgoing; Tue, 27 Aug 1996 22:40:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA01703; Tue, 27 Aug 1996 22:40:03 -0700 (PDT) Resent-Date: Tue, 27 Aug 1996 22:40:03 -0700 (PDT) Resent-Message-Id: <199608280540.WAA01703@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, darrylo@sr.hp.com Received: from hp.com (hp.com [15.255.152.4]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA00970 for ; Tue, 27 Aug 1996 22:37:00 -0700 (PDT) Received: from srmail.sr.hp.com by hp.com with ESMTP (1.37.109.16/15.5+ECS 3.3) id AA215730618; Tue, 27 Aug 1996 22:36:59 -0700 Received: from hpnmhjw.sr.hp.com by srmail.sr.hp.com with ESMTP (1.37.109.16/15.5+ECS 3.3) id AA143290618; Tue, 27 Aug 1996 22:36:58 -0700 Received: from mina.sr.hp.com by hpnmhjw.sr.hp.com with SMTP (1.37.109.16/15.5+ECS 3.3) id AA065250617; Tue, 27 Aug 1996 22:36:57 -0700 Message-Id: <199608280536.AA065250617@hpnmhjw.sr.hp.com> Date: Tue, 27 Aug 1996 22:36:57 -0700 From: darrylo@sr.hp.com Reply-To: darrylo@sr.hp.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1547: ncrcontrol won't work with FAILSAFE kernel Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1547 >Category: bin >Synopsis: ncrcontrol won't work with FAILSAFE kernel >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 27 22:40:01 PDT 1996 >Last-Modified: >Originator: Darryl Okahata >Organization: Home >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: NCR-815-based SCSI controller and FreeBSD 2.2-960801-SNAP kernel with the "FAILSAFE" kernel option enabled. >Description: If you have an NCR-based SCSI controller, and if your kernel is compiled with the "FAILSAFE" kernel option, the "ncrcontrol" program will fail with the message: ncrcontrol: incompatible with kernel. Rebuild! The program outputs this message because: ncr_version != kernel_version This is due to the size of the "struct ncb" structure having different sizes when FAILSAFE is defined. If FAILSAFE is not compiled into the kernel, there is no problem. >How-To-Repeat: Assuming an NCR SCSI controller is present, run: ncrcontrol -i >Fix: (Workaround.) Hand compile ncrcontrol with -DFAILSAFE. The real fix is a bummer, and I'll leave that for people with more free time on their hands. ;-) >Audit-Trail: >Unformatted: