Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2000 17:35:16 +0800 (WST)
From:      Paul Reece <paul@pulsat.com.au>
To:        Bill Paul <wpaul@skynet.ctr.columbia.edu>
Cc:        current@freebsd.org
Subject:   Re: Problems with an0 and ISA Aironet Card..
Message-ID:  <Pine.BSF.4.20.0001201726020.2978-100000@koala.pulsat.com.au>
In-Reply-To: <200001200832.DAA10306@skynet.ctr.columbia.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20 Jan 2000, Bill Paul wrote:

<snip>

> Back up. You're leaving out some info.
> 
> - When did you buy these cards? (The firmware rev may be an issue.
>   knowing when you bought the card helps me figure out if your firmware
>   is newer than mine.)

Cards were purchased in the past 6 months.  Revision of the card I'm using
at the moment is 3.13 - I upgraded the firmware to the latest. (Win DGS
under 'status' reports 3.13).

> - What sort of machine are you using? (Show us the *whole* dmesg output.
>   Timing may also be an issue, in which case I need to know the CPU speed.)

CPU: Pentium III/Xeon (451.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM>
real memory  = 201261056 (196544K bytes)
avail memory = 192323584 (187816K bytes)
Preloaded elf kernel "kernel" at 0xc02b4000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
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
vga-pci0: <NVidia Riva TNT graphics accelerator> mem
0xe6000000-0xe6ffffff,0xe4000000-0xe4ffffff irq 11 at device 0.0 on pci1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ata-pci0: <Intel PIIX4 ATA-33 controller> port 0xf000-0xf00f at device 7.1
on pci0
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
pci0: Intel 82371AB/EB (PIIX4) USB controller (vendor=0x8086,
dev=0x7112) at 7.2 irq 10
pci0: unknown card (vendor=0x1319, dev=0x0801) at 8.0 irq 11
pci0: unknown card (vendor=0x1319, dev=0x0802) at 8.1
rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem
0xe7000000-0xe70000ff irq 9 at device 9.0 on pci0
rl0: Ethernet address: 00:c0:df:25:f1:5c
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0: unexpected tag 14
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata-isa0: already registered as ata0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
pcic1: not probed (disabled)
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
ppi0: <Parallel I/O> on ppbus0
an0: reset failed
unknown0: <Aironet ISA4500/ISA4800> at port 0x100-0x13f irq 5 on isa0
ad0: <QUANTUM FIREBALL CX10.2A/A3F.0B00> ATA-4 disk at ata0 as master
ad0: 9787MB (20044080 sectors), 19885 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA33
acd0: <IDE/ATAPI CD-ROM 50XS/T5A4> CDROM drive at ata0 as slave 
acd0: 128KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked

I've only got one card in the machine now.  Only one 'unexpected tag'
line now..

> Tell us what kernel config line you use when using the card in non-PnP
> mode. Note that the switches on the card must all be in the correct
> position in order to enable PnP mode: consult your user's manual for
> the proper settings. I believe they all need to be in the off position,
> however I don't have the manual here at home with me so I could be
> mistaken. (I do remember they all have to be set the same way.)

for non-PnP mode, they are set as per the manual. Config line for the
above was:

device an0 at isa? port 0x100 irq 5

same result whether I'm using PnP or not. (above output is from PnP).

> Not really. My one and only ISA card works fine, or at least it did when
> I did my tests right before I imported the driver. It would help if you
> could actually look at the card when the kernel boots to see if the LEDs
> flash at all. If the reset is screwing up, then you should see the LEDs
> flicker when it tries to access the board. If it's failing to access the
> board at all, the LEDs won't change at all.

The RED LED statys on during boot, until the kernel tries to init the card
- then the RED LED goes out, and thats it.

> Try commenting out the code in an_reset() (i.e. make it an empty
> function that does nothing) and see if it works then. If it *still*
> doesn't work, then there's something else wrong.

Tried this - doesn't even list the card in the output except for then
unknown line.

> Try to run the
> following program as root:

<snip>

> This will print out the command and status registers for the card
> at iobase 0x100. If the card has been properly activated, you should
> see 0000 for the COMMAND and PARAM0 registers initially, then the
> program will try to write 0x1234 to the PARAM0 register and read it
> back. If it reads back 0x1234, then the card is configured right
> and the reset is screwing up. If on the other hand the program prints
> ffff for all of the register contents, then the card is not really
> configured properly for address 0x100.

pcpaul#	./testa	
COMMAND: 0
PARAM0: ff11
PARAM0: 0x

(still no lights on card)
if I run it again:

pcpaul#	./testa
COMMAND: 0
PARAM0: 1234
PARAM0: 0x

(and still no lights).


This info help at all?


Cheers,
Paul.



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




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