OLDCARD support (Was Re: panic: IP header len too small)
Allan Fields
bsd at afields.ca
Sun Jul 11 14:25:10 PDT 2004
On Thu, Jul 08, 2004 at 11:21:02AM +0200, Joerg Sonnenberger wrote:
> On Wed, Jul 07, 2004 at 01:45:08PM -0400, Allan Fields wrote:
> > On Wed, Jul 07, 2004 at 04:34:05PM +0200, Joerg Sonnenberger wrote:
> > > On Wed, Jul 07, 2004 at 10:07:36AM -0400, Allan Fields wrote:
> > > > pccardd returns fatal error: no PC-CARD slots. So I could look
> > > > into what has changed to drop support w/ upgrade from FreeBSD-4.
> > >
> > > You shouldn't need pccardd, it is used only for OLDCARD support. Can
> > > you send me your verbose boot log, if your PCMCIA NICs don't work?
> >
> > Attached: This is older hardware, if it proves a hassle, I could
> > potentially make another machine DragonFly host. The 802.11 NIC
> > is a Linksys PCMCIA card (not newer Cardbus).
>
> Yeah! A real OLDCARD system for testing! Please, try loading pcic.ko
> and use pccardd :) This is somewhat untested, because noone seemed to
> have such a system :) Alternative, remove cardbus and cbb from your
> kernel config (e.g. GENERIC) and add pcic instead.
Just to keep up to date. I tried both paths: kldload (as before)
and w/ kernel built from CVS (cvsuped yesterday) and it doesn't
recognize slots (which are 16-bit). Additionally, I compiled with
APM in and that works fine.
With a GENERIC kernel:
# kldload pcic
# pccardd
Jul 10 11:42:05 laptop pccardd[674]: fatal error: no PC-CARD slots
With custom kernel:
Jul 11 07:45:33 laptop /kernel: DragonFly 1.0-RC2 #0: Sun Jul 11 07:40:49 GMT 2004
..
Jul 11 07:45:33 laptop /kernel: pci0: <PCI bus> on pcib0
Jul 11 07:45:33 laptop /kernel: pci0: <PCI to PCMCIA bridge (vendor=1013 device=1100)> at 13.0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..
# ----- Notice how no longer attaches -- in FreeBSD-4:
Jul 1 14:36:04 laptop /kernel: pcic0: <Ciruss Logic PD6729/6730 PCI-PCMCIA Bridge> port 0xfcfc-0xfcff at device 13.0 on pci0
Jul 1 14:36:04 laptop /kernel: pcic0: Polling mode
Jul 1 14:36:04 laptop /kernel: pccard0: <PC Card 16-bit bus (classic)> on pcic0
Jul 1 14:36:04 laptop /kernel: pccard1: <PC Card 16-bit bus (classic)> on pcic0
# -----
# cat /sys/i386/conf/LAPTOP
..
# PCCARD (PCMCIA) support
device pccard
device pcic
#device cardbus
#device cbb
..
# grep "pccardd" /var/log/messages|tail -1
Jul 11 07:46:38 laptop pccardd[674]: fatal error: no PC-CARD slots
Found in: sys/dev/pccard/pcic/i82365.c:
334: * The CL-PD6729 has only one controller and always returns 0
Found in: sys/dev/pccard/pccbb/pccbbdevid.h:
32: #define PCIC_ID_CLPD6729 0x11001013ul /* 16bit I/O */
33: #define PCIC_ID_CLPD6832 0x11101013ul
More information about the Kernel
mailing list