From nobody@FreeBSD.ORG  Fri Oct 27 03:50:16 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id C061237B4C5; Fri, 27 Oct 2000 03:50:13 -0700 (PDT)
Message-Id: <20001027105013.C061237B4C5@hub.freebsd.org>
Date: Fri, 27 Oct 2000 03:50:13 -0700 (PDT)
From: D.M.Pick@qmw.ac.uk
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: DMPno4 - PCCard IRQ allocation problems in 4.1.1-RELEASE
X-Send-Pr-Version: www-1.0

>Number:         22344
>Category:       i386
>Synopsis:       DMPno4 - PCCard IRQ allocation problems in 4.1.1-RELEASE
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 27 04:00:00 PDT 2000
>Closed-Date:    Sat Oct 28 06:27:41 PDT 2000
>Last-Modified:  Sat Oct 28 06:28:05 PDT 2000
>Originator:     David Pick
>Release:        4.1.1-RELEASE
>Organization:
Queen Mary, University of London
>Environment:
Not available - problem during initial installation
>Description:
Attempting to reinstall 4.1.1-RELEASE from a local FTP server (running
FreeBSD 4.0) onto a Toshiba Libretto model 30CT via Ethernet using a
3Com 3C589D on the Libratto; Libretto floppy drive is also connected via
a PCCard interface; FreeBSD 4.1-RELEASE installed successfully using the
same methodology:
 1) If I attempt to remove the floppy PCCard to replace it with the
    3C589 (as worked with 4.1) I get a report "ep0: No irq?!" on the
    debug screen. The replacement is done at the point where I have
    selected a set of IRQs for the PCCards.
 2) If I leave the floppy PCCard in place I do not get this message;
    however the PCCard is detected and declared to the kernel but is
    allocated IRQ 5 *which is not in the set I have selected as free
    IRQs* (the set is 10, 11, and 15); installation proceeds for a
    while but fails when actually trying to read the first file in
    the "bin" distribution set - it gets "stuck" and I suspect a
    "lost" IRQ

Please note that I have found with various earlier versions of FreeBSD
that on this machine I should set the PCIC into "polling mode" by
selection IRQ number 0 (meaning none) for the PCIC itself. I did this
using the configuration editor command "irq pcic0 0" on all my
attempts to install 4.1.1.

Since the installation got to the stage of initialising the filesystems
before getting "stuck" i now have a machine I can't use; I could
reinstall 4.1 but am reluctant to do so if this can be solved fairly
promptly. I wanted to use the most up-to-date version of OpenSSL to
generate a "root" certificate for a certificate authority.
>How-To-Repeat:
Problem is repeatable by following the description.
>Fix:


>Release-Note:
>Audit-Trail:

From: sanpei@sanpei.org (MIHIRA Yoshiro)
To: freebsd-gnats-submit@FreeBSD.ORG
Cc:  
Subject: Re: i386/22344: DMPno4 - PCCard IRQ allocation problems in 4.1.1-RELEASE
Date: Sat, 28 Oct 2000 21:48:54 +0900 (JST)

 >>  2) If I leave the floppy PCCard in place I do not get this message;
 >>     however the PCCard is detected and declared to the kernel but is
 >>     allocated IRQ 5 *which is not in the set I have selected as free
 >>     IRQs* (the set is 10, 11, and 15); installation proceeds for a
 >>     while but fails when actually trying to read the first file in
 >>     the "bin" distribution set - it gets "stuck" and I suspect a
 >>     "lost" IRQ
 
   This is a bug in sysinstall.  And this problem was already
 fixed rev.1.14 for 5-current and rev.1.10.2.3 for 4-stable of
 release/sysinstall/pccard.c.
 
   If you want to install 4.1.1-RELEASE, please use below ``fixed'
 install floppies.
 
 http://people.FreeBSD.org/~sanpei/4.1.1-RELEASE/kern.flp
 http://people.FreeBSD.org/~sanpei/4.1.1-RELEASE/mfsroot.flp
 
State-Changed-From-To: open->closed 
State-Changed-By: sanpei 
State-Changed-When: Sat Oct 28 06:27:41 PDT 2000 
State-Changed-Why:  
fixed rev.1.14 for 5-current and rev.1.10.2.3 for 4-stable of 
release/sysinstall/pccard.c. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22344 
>Unformatted:
