From owner-freebsd-current Thu Jan 20 1:35:51 2000 Delivered-To: freebsd-current@freebsd.org Received: from koala.pulsat.com.au (koala.pulsat.com.au [202.81.128.10]) by hub.freebsd.org (Postfix) with ESMTP id B49D9153CA for ; Thu, 20 Jan 2000 01:35:41 -0800 (PST) (envelope-from paul@pulsat.com.au) Received: from localhost (paul@localhost) by koala.pulsat.com.au (8.9.3/8.9.3) with ESMTP id RAA02989; Thu, 20 Jan 2000 17:35:16 +0800 (WST) (envelope-from paul@pulsat.com.au) Date: Thu, 20 Jan 2000 17:35:16 +0800 (WST) From: Paul Reece To: Bill Paul Cc: current@freebsd.org Subject: Re: Problems with an0 and ISA Aironet Card.. In-Reply-To: <200001200832.DAA10306@skynet.ctr.columbia.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 20 Jan 2000, Bill Paul wrote: > 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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vga-pci0: mem 0xe6000000-0xe6ffffff,0xe4000000-0xe4ffffff irq 11 at device 0.0 on pci1 isab0: at device 7.0 on pci0 isa0: on isab0 ata-pci0: 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: port 0xec00-0xecff mem 0xe7000000-0xe70000ff irq 9 at device 9.0 on pci0 rl0: Ethernet address: 00:c0:df:25:f1:5c miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isa0: unexpected tag 14 fdc0: 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: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: 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: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Interrupt-driven port plip0: on ppbus0 ppi0: on ppbus0 an0: reset failed unknown0: at port 0x100-0x13f irq 5 on isa0 ad0: 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: 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: > 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