From starkhome!gene@sbstark.cs.sunysb.edu  Sat Dec  3 18:33:17 1994
Received: from sbstark.cs.sunysb.edu (sbstark.cs.sunysb.edu [130.245.1.47]) by freefall.cdrom.com (8.6.8/8.6.6) with ESMTP id SAA02133 for <FreeBSD-gnats-submit@freebsd.org>; Sat, 3 Dec 1994 18:30:35 -0800
Received: from starkhome.UUCP (root@localhost) by sbstark.cs.sunysb.edu (8.6.9/8.6.9) with UUCP id VAA21124 for FreeBSD-gnats-submit@freebsd.org; Sat, 3 Dec 1994 21:28:21 -0500
Received: by starkhome.cs.sunysb.edu (8.6.9/1.34)
	id VAA00568; Sat, 3 Dec 1994 21:28:17 -0500
Message-Id: <199412040228.VAA00568@starkhome.cs.sunysb.edu>
Date: Sat, 3 Dec 1994 21:28:17 -0500
From: starkhome!gene@sbstark.cs.sunysb.edu (Gene Stark)
Reply-To: starkhome!gene@sbstark.cs.sunysb.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: Recent config changes hosed ft config
X-Send-Pr-Version: 3.2

>Number:         39
>Category:       kern
>Synopsis:       Recent config changes hosed ft config
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    core
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec  3 18:40:06 1994
>Closed-Date:    Sun Sep 24 17:13:26 MET 1995
>Last-Modified:  Sun Sep 24 17:16:01 MET 1995
>Originator:     Gene Stark
>Release:        FreeBSD 2.1.0-Development i386
>Organization:
>Environment:

>Description:

	The config file lines:

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
tape		ft0	at fdc0 drive 2

	produce the following lines in ioconf.c:

struct isa_device isa_biotab_fdc[] = {
/* id     driver    iobase    irq drq      maddr   msiz      intr unit   flags  drive*/
{ -1, &fdcdriver,   IO_FD1,  IRQ6,  2, C 0x00000,     0,   fdintr,   0, 0x0000,  0, 0, 0, 0, 1 },
{ -1, &fdcdriver,   IO_FD1,  IRQ6,  2, C 0x00000,     0,   fdintr,   1, 0x0000,  1, 0, 0, 0, 1 },
{ -1, &fdcdriver,   IO_FD1,  IRQ6,  2, C 0x00000,     0,   fdintr,   0, 0x0000,  2, 0, 0, 0, 1 },
0
};
	The unit number of zero for the third entry should be a 2.
This causes the tape probe to fail.  Apparently changes to config since Nov 25
have broken this.  I noticed that "config.y" contains no TAPE token, so that
may have something to do with it.  I am not familiar enough with the recent
changes to config to be able to suggest the right fix.  However, it looks like
a TAPE production similar to the DISK production got dropped somehow.

	Please fix this, as all my backups are are on my Colorado 250 drive.

>How-To-Repeat:

	Try to build a kernel that works with floppy tape.

>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sun Sep 24 17:13:26 MET 1995 
State-Changed-Why:  
The ft probe behaviour has undergone many changes since, and the 
submitter says it's ok now. 

>Unformatted:


