Re: Cisco driver stopped working with -current

From: Pete Carss <itinerant_at_mac.com>
Date: Sat, 10 Apr 2004 17:57:35 +0100
Scott Mitchell wrote:
> On Sat, Apr 10, 2004 at 03:19:22PM +0100, Pete Carss wrote:
> 
>>I've updated my system last night, an acpi-only compaq nx9005 laptop. No 
>>difference to my ability to suspend/resume, still doesn't work. Also it 
>>seems to have broken the an0 driver (for Cisco Cards) or rather my 
>>pcmcia card is now picked up by the xe driver rather than an. I get the 
>>following from dmesg:
>>
>>xe0: <Cisco Systems 340 Series Wireless LAN Adapter> at port 0x100-0x13f 
>>irq 10 function 0 config 5 on pccard1
>>device_probe_and_attach: xe0 attach returned 19
> 
> 
> Your second problem is probably my fault - I added a bunch of cards that
> are supported by xe yesterday.  Not sure why it picked up your Cisco card
> though.
> 
> Can you boot with hw.pccard.debug=1 and hw.pccard.cis_debug=1 (you'll need
> to break into the loader at boot time and set them there) and send me the
> resulting output (should end up in /var/run/dmesg.boot)?
> 
> Cheers,
> 
> 	Scott
> 

I think I've done what you asked....at the kernel prompt I "set" the 
hw... values....here's the result:

***************************

Copyright (c) 1992-2004 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.2-CURRENT #4: Sat Apr 10 05:05:44 BST 2004
     root_at_blueroom.itinerant.dyndns.org:/usr/obj/usr/src/sys/BLUEROOM
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0af0000.
Preloaded elf module "/boot/kernel/splash_bmp.ko" at 0xc0af021c.
Preloaded elf module "/boot/kernel/powernow_k7.ko" at 0xc0af02cc.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0af037c.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: mobile AMD Athlon(tm) XP2000+ (1656.42-MHz 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
 
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
   AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
real memory  = 737083392 (702 MB)
avail memory = 711462912 (678 MB)
Powernow: frequency scaling yes -- voltage scaling yes
   0  1662500kHz  FID 03 (12.5)  VID 0b (1450mV)
   1  1330000kHz  FID 0e (10.0)  VID 0d (1350mV)
   2  1064000kHz  FID 0a ( 8.0)  VID 11 (1250mV)
   3   798000kHz  FID 06 ( 6.0)  VID 13 (1200mV)
   4   665000kHz  FID 04 ( 5.0)  VID 13 (1200mV)
   5   532000kHz  FID 12 ( 4.0)  VID 13 (1200mV)
AMD Powernow K7 <1662500kHz 1450mV>
random: <entropy source, Software, Yarrow>
Pentium Pro MTRR support enabled
VESA: v2.0, 65472k memory, flags:0x1, mode table:0xc09bd722 (1000022)
VESA: ATI CABO
module_register_init: MOD_LOAD (splash_bmp, 0xc0a94840, 0) error 2
cpu0 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD   RSDT> on motherboard
acpi0: [GIANT-LOCKED]
pcibios: BIOS version 2.10
Found $PIR table, 11 entries at 0xc00fdf10
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
acpi_tz0: <Thermal Zone> port 0x530-0x537 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 2 INTA is routed to irq 9
pcib0: slot 6 INTA is routed to irq 5
pcib0: slot 8 INTA is routed to irq 3
pcib0: slot 10 INTA is routed to irq 10
pcib0: slot 10 INTB is routed to irq 10
pcib0: slot 12 INTA is routed to irq 9
pcib0: slot 18 INTA is routed to irq 11
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib1: slot 5 INTA is routed to irq 9
drm0: <ATI Radeon RS100 Mobility U1> port 0x9000-0x90ff mem 
0xd0100000-0xd010ffff,0xe0000000-0xefffffff irq 9 at device 5.0 on pci1
info: [drm] Initialized radeon 1.10.0 20020828 on minor 0
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 
0xd0004000-0xd0004fff irq 9 at device 2.0 on pci0
ohci0: Bus reserved 0x1000 bytes for rid 0x10 type 3 at 0xd0004000
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcm0: <Acer Labs M5451> port 0x8400-0x84ff mem 0xd0005000-0xd0005fff irq 
5 at device 6.0 on pci0
pcm0: Bus reserved 0x100 bytes for rid 0x10 type 4 at 0x8400
pcm0: <Conexant CX20468 AC97 Codec>
pcm0: [GIANT-LOCKED]
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <simple comms> at device 8.0 (no driver attached)
pci0:8:0: setting power state D3
pci0: Failed to set ACPI power state D3 on (null): AE_BAD_PARAMETER
cbb0: <O2Micro OZ6933 PCI-CardBus Bridge> irq 10 at device 10.0 on pci0
cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xf0000000
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <O2Micro OZ6933 PCI-CardBus Bridge> irq 10 at device 10.1 on pci0
cbb1: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xf0001000
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
fwohci0: vendor=104c, dev=8026
fwohci0: <1394 Open Host Controller Interface> mem 
0xd0000000-0xd0003fff,0xd0007000-0xd00077ff irq 9 at device 12.0 on pci0
fwohci0: Bus reserved 0x800 bytes for rid 0x10 type 3 at 0xd0007000
fwohci0: [GIANT-LOCKED]
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:0b:cd:00:9e:a4:d3:9e
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:0b:cd:a4:d3:9e
fwe0: Ethernet address: 02:0b:cd:a4:d3:9e
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
atapci0: <AcerLabs Aladdin UDMA100 controller> port 0x8080-0x808f at 
device 16.0 on pci0
atapci0: Bus reserved 0x10 bytes for rid 0x20 type 4 at 0x8080
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <bridge, PCI-unknown> at device 17.0 (no driver attached)
pci0:17:0: setting power state D3
sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0x8c00-0x8cff mem 
0xd0008000-0xd0008fff irq 11 at device 18.0 on pci0
sis0: Bus reserved 0x100 bytes for rid 0x10 type 4 at 0x8c00
sis0: Silicon Revision: DP83816A
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:0b:cd:e8:05:a9
sis0: [GIANT-LOCKED]
acpi_button0: <Power Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
acpi_ec0: <Embedded Controller: GPE 0x18> port 0x66,0x62 on acpi0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 0 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 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
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
orm0: <Option ROMs> at iomem 
0xdc000-0xdffff,0xdb000-0xdbfff,0xcf000-0xcf7ff,0xc0000-0xcefff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
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
Timecounter "TSC" frequency 1656424999 Hz quality 800
Timecounters tick every 10.000 msec
pccard0: chip_socket_enable
pccard0: read_cis
pccard0: check_cis_quirks
pccard0: CIS version PCCARD 2.0 or 2.1
pccard0: CIS info: Cisco Systems, 340 Series Wireless LAN Adapter
pccard0: Manufacturer code 0x15f, product 0x7
pccard0: function 0: network adapter, ccr addr 3e0 mask 7
pccard0: function 0, config table entry 5: I/O card; irq mask ffff; 
iomask 6, iospace 0-3f; io16 irqlevel
pccard0: functions scanning
pccard0: Card has 1 functions. pccard_mfc is 0
pccard0: I/O rid 0 start 0 end ffffffff
pccard0: ccr_res == 88000000-880003ff, base=3e0
pccard0: function 0 CCR at 0 offset 3e0: 45 80 22 0, 0 0 0 0, 0
xe0: <Cisco Systems 340 Series Wireless LAN Adapter> at port 0x100-0x13f 
irq 10 function 0 config 5 on pccard0
device_probe_and_attach: xe0 attach returned 19
ad0: 19077MB <TOSHIBA MK2018GAP> [38760/16/63] at ata0-master UDMA100
acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-4241N> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a


***************************
Received on Sat Apr 10 2004 - 07:57:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:50 UTC