Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2003 10:20:20 -0600 (CST)
From:      Heikki Suonsivu <hsu@evoluutio.bbnetworks.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/59184: PCcard support rotting away
Message-ID:  <200311111620.hABGKKXU031904@evoluutio.bbnetworks.net>
Resent-Message-ID: <200311111720.hABHKCdh014736@freefall.freebsd.org>

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

>Number:         59184
>Category:       kern
>Synopsis:       PCcard support rotting away
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 11 09:20:12 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Heikki Suonsivu
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
bbnetworks.net
>Environment:

System: FreeBSD evoluutio.bbnetworks.net 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Mon Nov 10 17:38:02 CST 2003 hsu@evoluutio.bbnetworks.net:/usr/obj/usr/src/sys/OLDCARD i386

Compaq Evo N620c

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.1-CURRENT #1: Mon Nov 10 17:38:02 CST 2003
    hsu@evoluutio.bbnetworks.net:/usr/obj/usr/src/sys/OLDCARD
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a6b000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1500MHz (1498.74-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
  Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
real memory  = 536674304 (511 MB)
avail memory = 511631360 (487 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82855 host to AGP bridge> mem 0xb0000000-0xbfffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x38c0-0x38df irq 10 at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x38e0-0x38ff irq 10 at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x3c00-0x3c1f irq 10 at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib2: <PCI-PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
pcic0: <O2micro 6933 PCI-Cardbus Bridge> mem 0x90080000-0x90080fff irq 10 at device 6.0 on pci2
pcic0: Warning: O2micro OZ68xx chips may not work
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pcic1: <O2micro 6933 PCI-Cardbus Bridge> mem 0x90100000-0x90100fff irq 10 at device 6.1 on pci2
pcic1: Warning: O2micro OZ68xx chips may not work
pccard1: <PC Card 16-bit bus (classic)> on pcic1
bge0: <Broadcom BCM5705M Gigabit Ethernet, ASIC rev. 0x3001> mem 0x90000000-0x9000ffff irq 11 at device 14.0 on pci2
bge0: Ethernet address: 00:08:02:94:37:c8
miibus0: <MII bus> on bge0
brgphy0: <BCM5705 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0x3c20-0x3c2f,0-0x3,0-0x7,0-0x3,0-0x7 irq 10 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <multimedia, audio> at device 31.5 (no driver attached)
pci0: <simple comms> at device 31.6 (no driver attached)
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
sio4: <SMCf010> at port 0x300-0x307,0x3e8-0x3ef irq 3 drq 3 on isa0
sio4: type 16550A
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (memory)
Timecounter "TSC" frequency 1498736619 Hz quality 800
Timecounters tick every 10.000 msec
GEOM: create disk ad0 dp=0xc47e1e70
ad0: 57231MB <HTS726060M9AT00> [116280/16/63] at ata0-master UDMA100
acd0: CDRW <SD-R2312> at ata1-master PIO4
pccard: card inserted, slot 0
pccard: card removed, slot 0
Mounting root from ufs:/dev/ad0s2a
pccard: card inserted, slot 0
wi0 at port 0x240-0x27f irq 10 slot 0 on pccard0
wi0: 802.11 address: 00:02:2d:07:16:c2
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (8.10.1)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
drm0: <ATI Radeon LW Mobility 7500 M7> port 0x2000-0x20ff mem 0x90200000-0x9020ffff,0x98000000-0x9fffffff irq 10 at device 0.0 on pci1
info: [drm] AGP at 0xb0000000 256MB
info: [drm] Initialized radeon 1.9.0 20020828 on minor 0
drm0: [MPSAFE]

>Description:

With OLDCARD:

All my wireless cards fail in mysterious ways (Orinoco and Cisco 340).
Orinoco causes the following events, lockups of maybe 10-20 seconds,
freezing everything.

wi0: bad alloc 1fe != 1fb, cur 0 nxt 0
wi0: bad alloc 20f != 1fb, cur 0 nxt 0
wi0: bad alloc 220 != 1fb, cur 0 nxt 0
wi0: bad alloc 22e != 1fb, cur 0 nxt 0
wi0: bad alloc 248 != 1fb, cur 0 nxt 0
wi0: timeout in wi_cmd 0x0002; event status 0xa008
wi0: timeout in wi_cmd 0x0121; event status 0xa008
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: failed to allocate 2372 bytes on NIC
wi0: tx buffer allocation failed (error 12)
wi0: interface not running
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: failed to allocate 2372 bytes on NIC
wi0: tx buffer allocation failed (error 12)
wi0: interface not running
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
lock order reversal
 1st 0xc6c1d940 vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1323
 2nd 0xc0975600 swap_pager swhash (swap_pager swhash) @ /usr/src/sys/vm/swap_pager.c:1838
 3rd 0xc103440c vm object (vm object) @ /usr/src/sys/vm/uma_core.c:876
Stack backtrace:
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: failed to allocate 2372 bytes on NIC
wi0: tx buffer allocation failed (error 12)
wi0: interface not running
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.

Cisco 340 card hangs the computer.

With newcard the computer panics when either card is inserted.

>How-To-Repeat:

Use current on Compaq Evo N620c or similar laptop ?  Some googling
produced some similar reports from other laptop users so this probably
is generic.

>Fix:




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



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