Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2000 21:51:15 +0100
From:      Matthew Frost <matthewf@orac.frost.net>
To:        freebsd-stable@freebsd.org
Subject:   Lucent Wavelan IEEE on 4.0-STABLE
Message-ID:  <20000416215115.A26654@orac.frost.net>

next in thread | raw e-mail | index | archive | help
I'm having trouble with a Lucent Wavelan Silver IEEE card on
4.0-STABLE.  Something very odd is going on or I've screwed up
somewhere. 

This is a Dell Latitude laptop, relevent dmesg bits:

FreeBSD 4.0-STABLE #0: Sun Apr 16 21:35:40 BST 2000

chip2: <PCI to CardBus bridge (vendor=104c device=ac1e)> irq 10 at
device 10.0 on pci0

pcic0: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pcic0: management irq 11
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0

Kernel config:

# PCCARD (PCMCIA) support
device          card
device          pcic0   at isa? irq 10 port 0x3e0 iomem 0xd0000
device          pcic1   at isa? irq 11 port 0x3e2 iomem 0xd4000 disable
device wi


at the top of my pccard.conf I have:

io      0x240-0x360
irq     5
memory  0xd0000  96k   

Now if I insert the card:
pccard: card inserted, slot 0

<and we hang solid here>
<remove the card>
pccard: card removed, slot 0

<insert the card again>
pccard: card inserted, slot 0

and this time we get this:

wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 5 slot 0 on pccard0
wi0: Ethernet address: 91:95:13:c0:00:dd
wi0: failed to allocate 1594 bytes on NIC
wi0: tx buffer allocation failed
wi0: failed to allocate 1594 bytes on NIC
wi0: mgmt. buffer allocation failed

Notice the MAC address for the card is bogus - it should start 00 06
1D which is the odd thing.  It's a repeatable cycle:

Insert.
Hang.
Insert.
Bogus MAC address and failure.

Nothing else in the system is using IRQ 5 (tried IRQ 13 to the same
effect as I've read all the warnings about not sharing IRQs).

An identical card does the same (both have been upgraded to support
WEP via Windows from the latest stuff off the Wavelan site and are
quite happy talking to each other).

Anything else I can try...  

Once the card is in I can pccardc dumpcis it (if this info helps)...

Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  00 00 ff
        Common memory device information:
                Device number 1, type No device, WPS = OFF
                Speed = No speed, Memory block size = 512b, 1 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 4
    000:  67 5a 08 ff
        Attribute memory device information:
                Device number 1, type SRAM, WPS = OFF
                Speed = 5.0 x 100 ns, Memory block size = 512b, 2
		units
Tuple #3, code = 0x1d (Other conditions for attribute memory), length
= 5
    000:  01 67 5a 08 ff
        (MWAIT)
Tuple #4, code = 0x15 (Version 1 info), length = 80
    000:  05 00 4c 75 63 65 6e 74 20 54 65 63 68 6e 6f 6c
    010:  6f 67 69 65 73 00 57 61 76 65 4c 41 4e 2f 49 45
    020:  45 45 00 56 65 72 73 69 6f 6e 20 30 31 2e 30 31
    030:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    040:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff
        Version = 5.0, Manuf = [Lucent Technologies],card vers =
	[WaveLAN/IEEE]
        Addit. info = [Version
	01.01],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]
Tuple #5, code = 0x20 (Manufacturer ID), length = 4
    000:  56 01 02 00
        PCMCIA ID = 0x156, OEM ID = 0x2
Tuple #6, code = 0x21 (Functional ID), length = 2
    000:  06 00
        Network/LAN adapter
Tuple #7, code = 0x22 (Functional EXT), length = 2
    000:  01 07
        Modem interface capabilities:
Tuple #8, code = 0x22 (Functional EXT), length = 5
    000:  02 40 42 0f 00
        Data modem services available:
Tuple #9, code = 0x22 (Functional EXT), length = 5
    000:  02 80 84 1e 00
        Data modem services available:
Tuple #10, code = 0x22 (Functional EXT), length = 2
    000:  03 07
Tuple #11, code = 0x22 (Functional EXT), length = 8
    000:  04 06 00 60 1d 04 ae 14
        Voice services available:
Tuple #12, code = 0x22 (Functional EXT), length = 2
    000:  05 01
        Modem interface capabilities:
Tuple #13, code = 0x1a (Configuration map), length = 7
    000:  03 01 e0 03 00 00 01
        Reg len = 4, config register addr = 0x3e0, last config = 0x1
        Registers: X------- 
Tuple #14, code = 0x1b (Configuration entry), length = 15
    000:  c1 01 19 76 c5 4b d5 19 36 36 05 46 7f ff ff
        Config index = 0x1(default)
        Interface byte = 0x1 (I/O)
        Vcc pwr:
                Minimum operating supply voltage: 4 x 1V, ext = 0x4b
                Maximum operating supply voltage: 5 x 1V, ext = 0x19
                Max current average over 1 second: 3 x 100mA
                Max current average over 10 ms: 3 x 100mA
                Power down supply current: 1 x 10mA
        Card decodes 6 address lines, limited 8/16 Bit I/O
                IRQ modes:  Pulse
                IRQ level = 6
Tuple #15, code = 0xff (Terminator), length = 0
1 slots found


-- 
Matthew Frost                                         http://www.frost.org/
                                                   email: matthew@frost.org
"My feet, my arms and my ears.  And, your feet."


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




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