Bug 22344

Summary: DMPno4 - PCCard IRQ allocation problems in 4.1.1-RELEASE
Product: Base System Reporter: D.M.Pick <D.M.Pick>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1.1-RELEASE   
Hardware: Any   
OS: Any   

Description D.M.Pick 2000-10-27 12:00:00 UTC
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.
Comment 1 sanpei 2000-10-28 13:48:54 UTC
>>  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
Comment 2 MIHIRA Sanpei Yoshiro freebsd_committer freebsd_triage 2000-10-28 14:27:41 UTC
State Changed
From-To: open->closed

fixed rev.1.14 for 5-current and rev.1.10.2.3 for 4-stable of 
release/sysinstall/pccard.c.