Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2001 15:34:39 -0700 (PDT)
From:      Dave Cole <dacole@rik.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/29937: PCMCIA cards not initializing, PCI bus not found
Message-ID:  <200108212234.f7LMYdZ41395@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         29937
>Category:       kern
>Synopsis:       PCMCIA cards not initializing, PCI bus not found
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 21 15:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dave Cole
>Release:        FreeBSD 4.4-RC
>Organization:
>Environment:
FreeBSD ginaz.corp.netcom.ca 4.4-RC FreeBSD 4.4-RC #10: Tue Aug 21 15:29:14 EDT 2001 dacole@ginaz.corp.netcom.ca:/usr/local/obj/usr/local/src/sys/ginaz-a21m-local  i386
>Description:
Error when card is inserted (before or after boot time, same error)

pccard1: Assigning an0: io 0x240-0x27f irq 13 mem 0x0-0xffffffff
pcic: I/O win 0 flags 15 240-27f
pcic: I/O win 0 flags 5 240-27f
an0: <Aironet PC4500/PC4800> at port 0x240-0x27f irq 13 slot 1 on pccard1
pcic: I/O win 0 flags 15 240-27f
pcic0: Hardware does not support irq 13.
setup intr failed 22 
pcic: I/O win 0 flags 5 240-27f
device_probe_and_attach: an0 attach returned 22
Aug 21 17:17:53 ginaz pccardd[86]: driver allocation failed for Cisco Systems(350 Series Wireless LAN Adapter): Invalid argument

/etc/defaults/pccard.conf suggests IRQ 13 is not even an option.  Even starting pccardd with '-i 10' doesn't change this IRQ 13 attempt.

A small clip of when an older system (seems both pccard binaries and older kernel must be used together to get this working):

Aug 14 17:48:45 ginaz pccardd[86]: Card "Cisco Systems"("350 Series Wireless LAN Adapter") [(null)] [(null)] matched "Cisco Systems"
 ("350 Series Wireless LAN Adapter") [(null)] [(null)] 
an0: <Aironet PC4500/PC4800> at port 0x240-0x27f irq 3 slot 1 on pccard1
an0: Ethernet address: <snip>

As well, it seems the PCI bus is not being found.  It seems a separate issue however.

An example of dmesg PCI related lines from a failed boot:

# grep -i pci dmesg-no_fxp-cropped
pcibios: PCI BIOS entry at 0x19f
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80000058
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71908086)
pcic0: <Intel i82365SL-DF> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0
pcic1: not probed (disabled)
pcic: I/O win 0 flags 15 240-27f
pcic: I/O win 0 flags 5 240-27f
pcic: I/O win 0 flags 15 240-27f
pcic0: Hardware does not support irq 13.
pcic: I/O win 0 flags 5 240-27f


And from a happy boot (with an older kernel):

# grep -i pci ../dmesg.today
pcibios: PCI BIOS entry at 0x19f
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80000058
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71908086)
pci_open(1):    mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71908086)
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mobility-1 graphics accelerator> (vendor=0x1002, dev=0x4c4d) at 0.0 irq 11
pcic-pci0: <TI PCI-1450 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 11 at device 2.0 on pci0
pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pcic-pci0: Legacy address set to 0x3e0
PCI Config space:
pcic-pci1: <TI PCI-1450 PCI-CardBus Bridge> mem 0x50100000-0x50100fff irq 11 at device 2.1 on pci0
pcic-pci1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
PCI Config space:
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x1800-0x183f mem 0xf4100000-0xf411ffff,0xf4120000-0xf4120fff irq 11 at device 3.0 on pci0
fxp0: PCI IDs: 8086 1229 8086 2408 0009
pci0: <unknown card> (vendor=0x115d, dev=0x000c) at 3.1 irq 11
pci0: <unknown card> (vendor=0x1013, dev=0x6003) at 5.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1850-0x185f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1860-0x187f irq 11 at device 7.2 on pci0
chip1: <Intel 82371AB Power management controller> port 0x1040-0x104f at device 7.3 on pci0
pcic0: <Intel i82365SL-DF> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0
pcic1: not probed (disabled)

>How-To-Repeat:
PCMCIA woes continue whether you boot with the card in or slap it in after the fact.

Rebooting repeatedly does nothing for the PCI bus problem.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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