Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 1996 22:36:57 -0700
From:      darrylo@sr.hp.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/1547: ncrcontrol won't work with FAILSAFE kernel
Message-ID:  <199608280536.AA065250617@hpnmhjw.sr.hp.com>
Resent-Message-ID: <199608280540.WAA01703@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608280536.AA065250617>