From jgreco@hummin.sol.net  Thu Jan 19 23:46:32 1995
Received: from spool.mu.edu (spool.mu.edu [134.48.1.31]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id XAA04327 for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Jan 1995 23:46:30 -0800
Received: from solaria.mil.wi.us by spool.mu.edu with RSMTP id AA03271
  (5.65c/IDA-1.5 for FreeBSD-gnats-submit@freebsd.org); Fri, 20 Jan 1995 01:46:26 -0600
Received: from hummin.sol.net by solaria.mil.wi.us (8.5/8.5) with ESMTP
	id BAA11657; Fri, 20 Jan 1995 01:07:10 -0600
Received: (from jgreco@localhost) by hummin.sol.net (8.6.9/8.6.9) id BAA06058; Fri, 20 Jan 1995 01:08:57 -0600
Message-Id: <199501200708.BAA06058@hummin.sol.net>
Date: Fri, 20 Jan 1995 01:08:57 -0600
From: Joe Greco <jgreco@hummin.sol.net>
Reply-To: jgreco@hummin.sol.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: Kernel config doesn't handle "irq 2" as irq 9
X-Send-Pr-Version: 3.2

>Number:         152
>Category:       kern
>Synopsis:       Kernel config doesn't handle "irq 2" as irq 9
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 19 23:50:01 1995
>Closed-Date:    Sun May 14 08:44:32 PDT 1995
>Last-Modified:
>Originator:     Joe Greco
>Release:        FreeBSD 2.0-RELEASE i386
>Organization:
sol.net Network Services - Solaria Public Access UNIX
>Environment:

	WD8003 on IRQ 2 setting.  Kernel not configured for it.

>Description:

	Booting a GENERIC kernel (or other non-customized kernel) and using
	the -c flag to configure devices, if you enter something obvious
	like "irq ed0 2", it fails to recognize 2 as a special case and use
	9.  In my case, I was bootstrapping a diskless machine on a
	non-FreeBSD machine, and had to use the machine to compile it's own
	kernel.  I had looked quickly at the PC-NFS settings and written
	down "280/D0000/2", because PC-NFS claims that it is on 2.

	It took me a while to realize my mistake.

>How-To-Repeat:

	Do a diskless boot.  Abort.  "bootflags -c".  "autoboot".
	Or do a regular boot with "-c".

	At the config> prompt, type "irq ed0 2" and "quit".

>Fix:
	
	Specify IRQ 9 to begin with.  Preferably fix the code to recognize
	this as a special case, since I believe it's impossible to have a
	TRUE IRQ2 device.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gpalmer 
State-Changed-When: Sun May 14 08:44:32 PDT 1995 
State-Changed-Why:  
revision 1.24 
date: 1995/05/07 18:23:58;  author: jkh;  state: Exp;  lines: +5 -1 
If user specifies IRQ 2, remap it to IRQ 9 with a warning. 
Suggested by:   rgrimes 
>Unformatted:



