Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2005 23:06:23 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        jhb@FreeBSD.ORG
Cc:        freebsd-hackers@FreeBSD.ORG, a.mattke@gmail.com
Subject:   Re: pc card on watchguard firebox II
Message-ID:  <20051128.230623.10169191.imp@bsdimp.com>
In-Reply-To: <200511281136.43334.jhb@freebsd.org>
References:  <2b9aedcc0511272049l6252d9ean20c96304424e5183@mail.gmail.com> <200511281136.43334.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200511281136.43334.jhb@freebsd.org>
            John Baldwin <jhb@freebsd.org> writes:
: On Sunday 27 November 2005 11:49 pm, Anthony Mattke wrote:
: > I have a WatchGuard Firebox II that I've been working on turning into
: > a decent router. I see many people have installed monowall
: > (http://m0n0.ch/wall/) on these boxes with good success. I would be
: > done myself unless I was setting up a wireless bridge.
: >
: > These boxes are basicly custom pentium 200's with 3 ethernet ports, a
: > few serial ports, 2 pcmcia card slots, a 44pin ide header, a keyboard
: > header, and 2 backwards facing pci slots.
: >
: > The problem I am having is with getting a pc card to be detected, it
: > knows they're there, it just wont register them.
: > First off, I'm new to BSD.
: > Second, I know this is not straight up BSD, but if given direction I
: > can make anything happen that needs to for testing, I have a 5.3 box
: > setup for testing, altho I'm having trouble getting it to boot on the
: > firebox ( i need to recompile and disabe psm0 detection)
: >
: > Anyway, this is what I'm seeing.
: >
: > pci_cfgintr: can't route an interrupt to 0:16 INTA
: > pcic0: <TI PCI-1225 PCI-CardBus Bridge> at device 16.0 on pci0
: > pcic0: PCI Memory allocated: 0x88000000
: > pci_cfgintr: can't route an interrupt to 0:16 INTA
: > pcic0: No PCI interrupt routed, trying ISA.
: > pcic0: Polling mode
: > pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr
: > save][CSC serial isa irq]
: > pccard0: <PC Card 16-bit bus (classic)> on pcic0
: 
: Ask Warner about this.  It looks like your BIOS is rather lame such that it 
: doesn't set an IRQ for your card slot and doesn't tell the OS how to figure 
: out which IRQ to use either.  pcic0 might really want an interrupt to work 
: correctly on this system.

The first thing I notie is that pcic0 is OLDCARD.  You should be using
NEWCARD since I've forgotten all about OLDCARD.  If you are using 4.x,
then try 6.0.  The interrupt routing code is much better there.
200MHz pentium is right about the time when PCI BIOS was newish, so
maybe the BIOS in this machine isn't setting up the PIR correctly.

Warner



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