Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  9 Oct 2000 21:37:24 -0700 (PDT)
From:      Richard Johnson <raj@cisco.com>
To:        freebsd-mobile@freebsd.org
Subject:   Problems with "an" driver in 4.1.1
Message-ID:  <14818.39509.423173.836718@kitab.cisco.com>

next in thread | raw e-mail | index | archive | help
I have an Aironet 4800 card and it worked just perfectly under 4.1.1
for about 4 hours.  Then suddenly I got the following on the console:

Oct  9 19:40:01 kitab /kernel: an0: device timeout
Oct  9 19:40:01 kitab /kernel: an0: device timeout
an0: id mismatch: expected 154, got 146
an0: id mismatch: expected 162, got 154
an0: id mismatch: expected 170, got 162
Oct  9 19:40:15 kitab /kernel: an0: id mismatch: expected 154, got 146
Oct  9 19:40:15 kitab /kernel: an0: id mismatch: expected 154, got 146
an0: id mismatch: expected 146, got 170
an0: id mismatch: expected 154, got 146

and it didn't work any more.  It seems to work perfectly until I see
the "an0: device timeout" message, at which point the problems begin.

I've tried everything I can think of including making sure the irq of
pcic0 is not already taken by something else.

(I notice that previously I had pcic0 at irq 11 but now irq 11 seems
to be recognized as the "Toshiba Fast Infra Red controller", so now
pcic0 is at irq 10.)

Here's what dmesg is printing upon bootup:

Oct  9 21:24:10 kitab /kernel: Copyright (c) 1992-2000 The FreeBSD Project.
Oct  9 21:24:10 kitab /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Oct  9 21:24:10 kitab /kernel: The Regents of the University of California. All rights reserved.
Oct  9 21:24:10 kitab /kernel: FreeBSD 4.1.1-RELEASE #5: Mon Oct  9 21:17:18 PDT 2000
Oct  9 21:24:10 kitab /kernel: raj@kitab.cisco.com:/usr/src/sys/compile/KITAB
Oct  9 21:24:10 kitab /kernel: Timecounter "i8254"  frequency 1193182 Hz
Oct  9 21:24:10 kitab /kernel: CPU: Pentium/P55C (quarter-micron) (233.29-MHz 586-class CPU)
Oct  9 21:24:10 kitab /kernel: Origin = "GenuineIntel"  Id = 0x581  Stepping = 1
Oct  9 21:24:10 kitab /kernel: Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
Oct  9 21:24:10 kitab /kernel: real memory  = 67174400 (65600K bytes)
Oct  9 21:24:10 kitab /kernel: config> di sio1
Oct  9 21:24:10 kitab /kernel: No such device: sio1
Oct  9 21:24:10 kitab /kernel: Invalid command or syntax.  Type `?' for help.
Oct  9 21:24:10 kitab /kernel: config> di sio0
Oct  9 21:24:11 kitab /kernel: config> di ppc0
Oct  9 21:24:11 kitab /kernel: config> di lnc0
Oct  9 21:24:11 kitab /kernel: No such device: lnc0
Oct  9 21:24:11 kitab /kernel: Invalid command or syntax.  Type `?' for help.
Oct  9 21:24:11 kitab /kernel: config> di le0
Oct  9 21:24:11 kitab /kernel: No such device: le0
Oct  9 21:24:11 kitab /kernel: Invalid command or syntax.  Type `?' for help.
Oct  9 21:24:11 kitab /kernel: config> di ie0
Oct  9 21:24:11 kitab /kernel: No such device: ie0
Oct  9 21:24:11 kitab /kernel: Invalid command or syntax.  Type `?' for help.
Oct  9 21:24:11 kitab /kernel: config> di fe0
Oct  9 21:24:11 kitab /kernel: No such device: fe0
Oct  9 21:24:11 kitab /kernel: Invalid command or syntax.  Type `?' for help.
Oct  9 21:24:11 kitab /kernel: config> di ed0
Oct  9 21:24:11 kitab /kernel: No such device: ed0
Oct  9 21:24:11 kitab /kernel: Invalid command or syntax.  Type `?' for help.
Oct  9 21:24:11 kitab /kernel: config> di cs0
Oct  9 21:24:11 kitab /kernel: No such device: cs0
Oct  9 21:24:11 kitab /kernel: Invalid command or syntax.  Type `?' for help.
Oct  9 21:24:11 kitab /kernel: config> en sn0
Oct  9 21:24:11 kitab /kernel: No such device: sn0
Oct  9 21:24:11 kitab /kernel: Invalid command or syntax.  Type `?' for help.
Oct  9 21:24:11 kitab /kernel: config> po sn0 0x300
Oct  9 21:24:11 kitab /kernel: No such device: sn0
Oct  9 21:24:11 kitab /kernel: Invalid command or syntax.  Type `?' for help.
Oct  9 21:24:11 kitab /kernel: config> ir sn0 3
Oct  9 21:24:11 kitab /kernel: No such device: sn0
Oct  9 21:24:11 kitab /kernel: Invalid command or syntax.  Type `?' for help.
Oct  9 21:24:11 kitab /kernel: config> f sn0 0
Oct  9 21:24:11 kitab /kernel: No such device: sn0
Oct  9 21:24:11 kitab /kernel: Invalid command or syntax.  Type `?' for help.
Oct  9 21:24:11 kitab /kernel: config> q
Oct  9 21:24:11 kitab /kernel: avail memory = 62357504 (60896K bytes)
Oct  9 21:24:11 kitab /kernel: Preloaded elf kernel "kernel" at 0xc030e000.
Oct  9 21:24:11 kitab /kernel: Preloaded userconfig_script "/boot/kernel.conf" at 0xc030e09c.
Oct  9 21:24:12 kitab /kernel: Intel Pentium detected, installing workaround for F00F bug
Oct  9 21:24:12 kitab /kernel: md0: Malloc disk
Oct  9 21:24:12 kitab /kernel: apm0: <APM BIOS> on motherboard
Oct  9 21:24:12 kitab /kernel: apm: found APM BIOS v1.2, connected at v1.2
Oct  9 21:24:12 kitab /kernel: npx0: <math processor> on motherboard
Oct  9 21:24:12 kitab /kernel: npx0: INT 16 interface
Oct  9 21:24:12 kitab /kernel: pcib0: <Host to PCI bridge> on motherboard
Oct  9 21:24:12 kitab /kernel: pci0: <PCI bus> on pcib0
Oct  9 21:24:12 kitab /kernel: pci0: <NeoMagic MagicGraph 128XD SVGA controller> at 4.0
Oct  9 21:24:12 kitab /kernel: chip1: <Toshiba Fast Infra Red controller> port 0xffe0-0xffff irq 11 at device 17.0 on pci0
Oct  9 21:24:12 kitab /kernel: isa0: <ISA bus> on motherboard
Oct  9 21:24:12 kitab /kernel: fdc0: direction bit not set
Oct  9 21:24:12 kitab /kernel: fdc0: cmd 3 failed at out byte 1 of 3
Oct  9 21:24:12 kitab /kernel: ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
Oct  9 21:24:12 kitab /kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
Oct  9 21:24:12 kitab /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
Oct  9 21:24:12 kitab /kernel: kbd0 at atkbd0
Oct  9 21:24:12 kitab /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Oct  9 21:24:12 kitab /kernel: psm0: model Generic PS/2 mouse, device ID 0
Oct  9 21:24:12 kitab /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Oct  9 21:24:12 kitab /kernel: sc0: <System console> at flags 0x100 on isa0
Oct  9 21:24:12 kitab /kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Oct  9 21:24:12 kitab /kernel: pcic0: <Intel i82365> at port 0x3e0 iomem 0xd0000 irq 11 flags 0x1 on isa0
Oct  9 21:24:12 kitab /kernel: pcic0: management irq 11
Oct  9 21:24:12 kitab /kernel: pccard0: <PC Card bus -- kludge version> on pcic0
Oct  9 21:24:12 kitab /kernel: pccard1: <PC Card bus -- kludge version> on pcic0
Oct  9 21:24:12 kitab /kernel: ad0: 4126MB <TOSHIBA MK4310MAT> [8944/15/63] at ata0-master using BIOSPIO
Oct  9 21:24:12 kitab /kernel: Mounting root from ufs:/dev/ad0s2a
Oct  9 21:24:12 kitab /kernel: ad0s1: raw partition size != slice size
Oct  9 21:24:12 kitab /kernel: ad0s1: start 63, end 1847474, size 1847412
Oct  9 21:24:12 kitab /kernel: ad0s1c: start 63, end 8450189, size 8450127
Oct  9 21:24:12 kitab /kernel: ad0s1: truncating raw partition
Oct  9 21:24:13 kitab /kernel: pccard: card inserted, slot 1


and pccardd is giving irq 3 to the Aironet card.

Meanwhile, my Cabletron 2Mb card seems to work with no problems at
all, fortunately!

Is there some basic problem with the older Aironet 4800 cards?  Note,
this is the older version of the card which doesn't fully support
802.11b at 11Mb in that it doesn't do WEP encryption at that speed.
Later versions of the cards (Aironet 4800A) seem to support this.

I'm going to be getting a Cisco 342 card "soon".  Maybe that will work 
with no problems?

ANY help is GREATLY APPRECIATED!

/raj


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




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