Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2002 15:09:06 +0100
From:      "Tom Buelens" <email@tombuelens.com>
To:        <freebsd-mobile@freebsd.org>
Subject:   Exotics
Message-ID:  <001701c19529$5f94f580$aa1ba182@tomputer>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hello all,

Santa, diguised as a friend @ intersil (former nowiresneed), gave me some exotic cards.
I would like to get them working on freebsd 4.4 (using generic now).
That's why I added this to my /etc/default/pccard.conf:

# SWALLOW
card "No Wires Needed" "11 Mbps Wireless LAN PC Card"
        config auto "wi" ? 0x10000
        insert  /etc/pccard_ether $device start
        remove  /etc/pccard_ether $device stop

and tried other drivers (awi) and without the 0x10000 flag.
Mainly I get kernel panics (I think cuz of a conflict wit my xe0) and
this


Copyright (c) 1992-2001 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 4.4-RELEASE #0: Fri Dec 28 17:34:47 GMT 2001
    root@tomputer.hc.congress.ccc.de:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (331.71-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR>
real memory  = 134152192 (131008K bytes)

....

Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 1
xe0 at port 0x2e8-0x2ef iomem 0xcc000-0xccfff irq 10 slot 1 on pccard1
xe0: Xircom CEM56, bonding version 0x55, 100Mbps capable, with modem
xe0: DingoID = 0x444b, RevisionID = 0, VendorID = 0
xe0: Ethernet address 00:80:c7:26:d9:e3
xe0: watchdog timeout; resetting card
pccard: card inserted, slot 0
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 10 slot 0 on
pccard0
wi0: init failed
wi0: mac read failed 5
device_probe_and_attach: wi0 attach returned 5
pccard: card removed, slot 0
pccard: card inserted, slot 0
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 10 slot 0 on
pccard0
wi0: init failed
wi0: mac read failed 5
device_probe_and_attach: wi0 attach returned 5

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x14
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01c24c6
stack pointer           = 0x10:0xc039f6d0
frame pointer           = 0x10:0xc039f6d0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = Idle
interrupt mask          = net tty 
trap number             = 12
panic: page fault

syncing disks... 



and dumpcis gives me this :



Configuration data for card in slot 0

Tuple #1, code = 0x1 (Common memory descriptor), length = 2

    000:  00 ff

        Common memory device information:

                Device number 1, type No device, WPS = OFF

                Speed = No speed, Memory block size = reserved, 32
units

Tuple #2, code = 0x1c (Other conditions for common memory), length = 4

    000:  01 00 00 ff

        (MWAIT)

Tuple #3, code = 0x15 (Version 1 info), length = 48

    000:  05 00 4e 6f 20 57 69 72 65 73 20 4e 65 65 64 65

    010:  64 00 31 31 20 4d 62 70 73 20 57 69 72 65 6c 65

    020:  73 73 20 4c 41 4e 20 50 43 20 43 61 72 64 00 ff

        Version = 5.0, Manuf = [No Wires Needed], card vers = [11 Mbps
Wireless

LAN PC Card]

Tuple #4, code = 0x20 (Manufacturer ID), length = 4

    000:  02 06 03 00

        PCMCIA ID = 0x602, OEM ID = 0x3

Tuple #5, code = 0x1a (Configuration map), length = 5

    000:  01 30 00 01 07

        Reg len = 2, config register addr = 0x100, last config = 0x30

        Registers: XXX----- 

Tuple #6, code = 0x1b (Configuration entry), length = 19

    000:  f0 81 9d 76 b5 1e 55 36 56 55 e8 14 2f 46 30 ff

    010:  ff 28 00

        Config index = 0x30(default)

        Interface byte = 0x81 (I/O)  wait signal supported

        Vcc pwr:

                Minimum operating supply voltage: 3 x 1V, ext = 0x1e

                Maximum operating supply voltage: 5 x 1V

                Max current average over 1 second: 3 x 100mA

                Max current average over 10 ms: 5 x 100mA

                Power down supply current: 5 x 10mA

        Wait scale Speed = 1.2 x 10 us

        RDY/BSY scale Speed = 2.0 x 10 ms, scaled by 100

        Card decodes 6 address lines, limited 8/16 Bit I/O

                IRQ modes: Level

                IRQs:  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

        Max twin cards = 0

        Misc attr: (Audio-BVD2) (Power down supported)

Tuple #7, code = 0x21 (Functional ID), length = 2

    000:  06 00

        Network/LAN adapter

Tuple #8, code = 0x22 (Functional EXT), length = 2

    000:  01 07

        Network technology: Wireless

Tuple #9, code = 0x22 (Functional EXT), length = 5

    000:  02 c0 d8 a7 00

        Network speed: 11 Mb/sec

Tuple #10, code = 0x22 (Functional EXT), length = 2

    000:  03 07

        Network media: 2.4 GHz

Tuple #11, code = 0x14 (No link), length = 0

Tuple #12, code = 0xff (Terminator), length = 0

Code 136 not found

Code 136 not found

code Unknown ignored

Configuration data for card in slot 1

[blabla...]





Could ne1 give me a clue ?
Thanks in advance.

Cheers,
Tom


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2712.300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hello all,<BR><BR>Santa, diguised as a friend @ intersil (former 
nowiresneed), gave me&nbsp;some exotic cards.<BR>I would like to get them 
working on freebsd 4.4 (using generic now).<BR>That's why I added this to my 
/etc/default/pccard.conf:<BR><BR># SWALLOW<BR>card "No Wires Needed" "11 Mbps 
Wireless LAN PC Card"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; config auto 
"wi" ? 0x10000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; insert&nbsp; 
/etc/pccard_ether $device start<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
remove&nbsp; /etc/pccard_ether $device stop<BR><BR>and tried other drivers (awi) 
and without the 0x10000 flag.<BR>Mainly I get kernel panics (I think cuz of a 
conflict wit my xe0) and<BR>this<BR><BR><BR>Copyright (c) 1992-2001 The FreeBSD 
Project.<BR>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 
1993,<BR>1994<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The Regents of the 
University of California. All rights<BR>reserved.<BR>FreeBSD 4.4-RELEASE #0: Fri 
Dec 28 17:34:47 GMT 2001<BR>&nbsp;&nbsp;&nbsp; <A 
href="mailto:root@tomputer.hc.congress.ccc.de:/usr/src/sys/compile/GENERIC">root@tomputer.hc.congress.ccc.de:/usr/src/sys/compile/GENERIC</A><BR>Timecounter 
"i8254"&nbsp; frequency 1193182 Hz<BR>CPU: Pentium II/Pentium II Xeon/Celeron 
(331.71-MHz 686-class CPU)<BR>&nbsp; Origin = "GenuineIntel"&nbsp; Id = 
0x66a&nbsp; Stepping = 
10<BR>&nbsp;Features=0x183f9ff&lt;FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA<BR>T,PSE36,MMX,FXSR&gt;<BR>real 
memory&nbsp; = 134152192 (131008K bytes)<BR><BR>....<BR><BR>Mounting root from 
ufs:/dev/ad0s1a<BR>pccard: card inserted, slot 1<BR>xe0 at port 0x2e8-0x2ef 
iomem 0xcc000-0xccfff irq 10 slot 1 on pccard1<BR>xe0: Xircom CEM56, bonding 
version 0x55, 100Mbps capable, with modem<BR>xe0: DingoID = 0x444b, RevisionID = 
0, VendorID = 0<BR>xe0: Ethernet address 00:80:c7:26:d9:e3<BR>xe0: watchdog 
timeout; resetting card<BR>pccard: card inserted, slot 0<BR>wi0: 
&lt;WaveLAN/IEEE 802.11&gt; at port 0x240-0x27f irq 10 slot 0 
on<BR>pccard0<BR>wi0: init failed<BR>wi0: mac read failed 
5<BR>device_probe_and_attach: wi0 attach returned 5<BR>pccard: card removed, 
slot 0<BR>pccard: card inserted, slot 0<BR>wi0: &lt;WaveLAN/IEEE 802.11&gt; at 
port 0x240-0x27f irq 10 slot 0 on<BR>pccard0<BR>wi0: init failed<BR>wi0: mac 
read failed 5<BR>device_probe_and_attach: wi0 attach returned 5<BR><BR>Fatal 
trap 12: page fault while in kernel mode<BR>fault virtual address&nbsp;&nbsp; = 
0x14<BR>fault 
code&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= supervisor read, page not present<BR>instruction 
pointer&nbsp;&nbsp;&nbsp;&nbsp; = 0x8:0xc01c24c6<BR>stack 
pointer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
0x10:0xc039f6d0<BR>frame 
pointer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
0x10:0xc039f6d0<BR>code 
segment&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = base 
0x0, limit 0xfffff, type 
0x1b<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= DPL 0, pres 1, def32 1, gran 1<BR>processor 
eflags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = interrupt enabled, resume, 
IOPL = 0<BR>current process&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
Idle<BR>interrupt mask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
net tty <BR>trap 
number&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
12<BR>panic: page fault<BR><BR>syncing disks... <BR><BR><BR><BR>and dumpcis 
gives me this :<BR><BR><BR><BR>Configuration data for card in slot 
0<BR><BR>Tuple #1, code = 0x1 (Common memory descriptor), length = 
2<BR><BR>&nbsp;&nbsp;&nbsp; 000:&nbsp; 00 
ff<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Common memory device 
information:<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Device number 1, type No device, WPS = 
OFF<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Speed = No speed, Memory block size = reserved, 32<BR>units<BR><BR>Tuple #2, 
code = 0x1c (Other conditions for common memory), length = 
4<BR><BR>&nbsp;&nbsp;&nbsp; 000:&nbsp; 01 00 00 
ff<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (MWAIT)<BR><BR>Tuple #3, 
code = 0x15 (Version 1 info), length = 48<BR><BR>&nbsp;&nbsp;&nbsp; 000:&nbsp; 
05 00 4e 6f 20 57 69 72 65 73 20 4e 65 65 64 65<BR><BR>&nbsp;&nbsp;&nbsp; 
010:&nbsp; 64 00 31 31 20 4d 62 70 73 20 57 69 72 65 6c 
65<BR><BR>&nbsp;&nbsp;&nbsp; 020:&nbsp; 73 73 20 4c 41 4e 20 50 43 20 43 61 72 
64 00 ff<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Version = 5.0, Manuf 
= [No Wires Needed], card vers = [11 Mbps<BR>Wireless<BR><BR>LAN PC 
Card]<BR><BR>Tuple #4, code = 0x20 (Manufacturer ID), length = 
4<BR><BR>&nbsp;&nbsp;&nbsp; 000:&nbsp; 02 06 03 
00<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PCMCIA ID = 0x602, OEM ID = 
0x3<BR><BR>Tuple #5, code = 0x1a (Configuration map), length = 
5<BR><BR>&nbsp;&nbsp;&nbsp; 000:&nbsp; 01 30 00 01 
07<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reg len = 2, config 
register addr = 0x100, last config = 
0x30<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registers: XXX----- 
<BR><BR>Tuple #6, code = 0x1b (Configuration entry), length = 
19<BR><BR>&nbsp;&nbsp;&nbsp; 000:&nbsp; f0 81 9d 76 b5 1e 55 36 56 55 e8 14 2f 
46 30 ff<BR><BR>&nbsp;&nbsp;&nbsp; 010:&nbsp; ff 28 
00<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Config index = 
0x30(default)<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interface byte = 
0x81 (I/O)&nbsp; wait signal 
supported<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Vcc 
pwr:<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Minimum operating supply voltage: 3 x 1V, ext = 
0x1e<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Maximum operating supply voltage: 5 x 
1V<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Max current average over 1 second: 3 x 
100mA<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Max current average over 10 ms: 5 x 
100mA<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Power down supply current: 5 x 
10mA<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Wait scale Speed = 1.2 x 
10 us<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RDY/BSY scale Speed = 
2.0 x 10 ms, scaled by 100<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Card decodes 6 address lines, limited 8/16 Bit 
I/O<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
IRQ modes: 
Level<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
IRQs:&nbsp; 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 
15<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Max twin cards = 
0<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Misc attr: (Audio-BVD2) 
(Power down supported)<BR><BR>Tuple #7, code = 0x21 (Functional ID), length = 
2<BR><BR>&nbsp;&nbsp;&nbsp; 000:&nbsp; 06 
00<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Network/LAN 
adapter<BR><BR>Tuple #8, code = 0x22 (Functional EXT), length = 
2<BR><BR>&nbsp;&nbsp;&nbsp; 000:&nbsp; 01 
07<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Network technology: 
Wireless<BR><BR>Tuple #9, code = 0x22 (Functional EXT), length = 
5<BR><BR>&nbsp;&nbsp;&nbsp; 000:&nbsp; 02 c0 d8 a7 
00<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Network speed: 11 
Mb/sec<BR><BR>Tuple #10, code = 0x22 (Functional EXT), length = 
2<BR><BR>&nbsp;&nbsp;&nbsp; 000:&nbsp; 03 
07<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Network media: 2.4 
GHz<BR><BR>Tuple #11, code = 0x14 (No link), length = 0<BR><BR>Tuple #12, code = 
0xff (Terminator), length = 0<BR><BR>Code 136 not found<BR><BR>Code 136 not 
found<BR><BR>code Unknown ignored<BR><BR>Configuration data for card in slot 
1<BR><BR>[blabla...]<BR></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT><BR><BR>Could ne1 give me a clue ?<BR>Thanks 
in advance.<BR><BR>Cheers,<BR>Tom</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001701c19529$5f94f580$aa1ba182>