On 4/19/06, Risto Varanka <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to use the Intel 2200BG mini-PCI WLAN card with the PC Engines > WRAP.1E-2 board (http://www.pcengines.ch/wrap.htm). My problem is that the > card seems not to be recognized by the kernel/iwi driver - no iwi device > appears when booting/in dmesg. I wonder if anybody has experience in using > this particular hardware combination? > > This is with OpenBSD 3.8 (stable) and Flashdist 20050612. My kernel config is > a NET4801 (originally for Soekris boards but works fine on this one) with > slight modification to include the line for the iwi device. I am installing > the 2.3 version of the 2200BG firmware files on the WRAP box: > > -rw-r--r-- 1 root wsrc 6472 Apr 14 00:52 etc/firmware/iwi-boot > -rwxr-xr-x 1 root wsrc 191142 Apr 14 00:52 etc/firmware/iwi-bss > -rwxr-xr-x 1 root wsrc 185660 Apr 14 00:52 etc/firmware/iwi-ibss > -rwxr-xr-x 1 root wsrc 12007 Apr 14 00:52 etc/firmware/iwi-license > -rwxr-xr-x 1 root wsrc 187836 Apr 14 00:52 etc/firmware/iwi-monitor > -rw-r--r-- 1 root wsrc 16334 Apr 14 00:52 etc/firmware/iwi-ucode-bss > -rw-r--r-- 1 root wsrc 16312 Apr 14 00:52 etc/firmware/iwi-ucode-ibss > -rw-r--r-- 1 root wsrc 16344 Apr 14 00:52 etc/firmware/iwi-ucode-monitor > > Full kernel config below and console output while booting: > > # OpenBSD config for networking on the Soekris Engineering > # net4801 embedded systems- > # [EMAIL PROTECTED] > > machine i386 # architecture, used by config; REQUIRED > > #option NTP # hooks supporting the Network Time Protocol > > option DDB # in-kernel debugger > #option DDB_SAFE_CONSOLE # allow break into ddb during boot > #makeoptions DEBUG="-g" # compile full symbol table > #makeoptions PROF="-pg" # build profiled kernel > #option GPROF # kernel profiling, kgmon(8) > option DIAGNOSTIC # internal consistency checks > option KTRACE # system call tracing, a la ktrace(1) > #option KMEMSTATS # collect malloc(9) statistics > > option CRYPTO # Cryptographic framework > > option FFS # UFS > option MFS # Memory FS > #option FFS_SOFTUPDATES # Soft updates > > option TCP_SACK # Selective Acknowledgements for TCP > #option TCP_FACK # Forward Acknowledgements for TCP > option TCP_SIGNATURE # TCP MD5 Signatures, for BGP routing sessions > > option FDESC # /dev/fd > option FIFO # FIFOs; RECOMMENDED > option KERNFS # /kern > #option NULLFS # loopback file system > option PROCFS # /proc > #option UMAPFS # NULLFS + uid and gid remapping > > option INET # IP + ICMP + TCP + UDP > option ALTQ # ALTQ base > #option ALTQ_NOPCC # We don't have Pentium features on 486.... > # NOPCC may be necessary if the Geode's TSC is really as buggy as it sounds > #option INET6 # IPv6 (needs INET) > #option PULLDOWN_TEST # use m_pulldown for IPv6 packet parsing > option IPSEC # IPsec > #option PPP_BSDCOMP # PPP BSD compression > #option PPP_DEFLATE > > option BOOT_CONFIG # add support for boot -c > > #option I486_CPU > option I586_CPU > #option I686_CPU > > option USER_PCICONF # user-space PCI configuration > > #option KGDB # Remote debugger support; exclusive of DDB > #option "KGDB_DEVNAME=\"pccom\"",KGDBADDR=0x2f8,KGDBRATE=9600 > > #option DUMMY_NOPS # speed hack; recommended > > # Work around -current breakage > option PTRACE > > maxusers 32 # estimated number of users > > config bsd root on wd0a > > mainbus0 at root > > cpu0 at mainbus0 > bios0 at mainbus0 > apm0 at bios0 flags 0x0000 # flags 0x0101 to force protocol version 1.1 > pcibios0 at bios0 flags 0x0000 # use 0x30 for a total verbose > > isa0 at mainbus0 > isa0 at pcib? > pci* at mainbus0 > > ohci* at pci? # Open Host Controller > usb* at ohci? > > # > # The MediaGX (Geode) uses a PIT clock at standard frequency so there is > # no special setting here like there is for the Elan SC520 > # > > option PCCOMCONSOLE > option CONSPEED=19200 > > option PCIVERBOSE > > uhub* at usb? # USB Hubs > uhub* at uhub? # USB Hubs > umodem* at uhub? # USB Modems/Serial > ucom* at umodem? > #ubsa* at uhub? # Belkin serial adapter > #ucom* at ubsa? > #uftdi* at uhub? # FTDI FT8U100AX serial adapter > #ucom* at uftdi? > #uplcom* at uhub? # I/O DATA USB-RSAQ2 serial adapter > #ucom* at uplcom? > #umct* at uhub? # MCT USB-RS232 serial adapter > #ucom* at umct? > #uaudio* at uhub? # USB Audio > #umidi* at uhub? > #ulpt* at uhub? # USB Printers > #umass* at uhub? # USB Mass Storage devices > #scsibus* at umass? > #aue* at uhub? # ADMtek AN986 Pegasus Ethernet > #cue* at uhub? # CATC USB-EL1201A based Ethernet > #kue* at uhub? # Kawasaki KL5KUSB101B based Ethernet > #upl* at uhub? # Prolific PL2301/PL2302 host-to-host > `network' > #url* at uhub? # Realtek RTL8150L based adapters > #urio* at uhub? # Diamond Multimedia Rio 500 > #uyap* at uhub? # [EMAIL PROTECTED] firmware loader > #udsbr* at uhub? # D-Link DSB-R100 radio > #radio* at udsbr > ugen* at uhub? # USB Generic driver > > pchb* at pci? # PCI-Host bridges > geodesc* at pci? # NSC Geode System Controller > nsclpcsio* at isa? port 0x2e # NS PC87366 LPC Super I/O > nsclpcsio* at isa? port 0x4e > gpio* at nsclpcsio? > > gscsio* at isa? port 0x2e # NS Geode SC1100 Super I/O > gscsio* at isa? port 0x15c > iic* at gscsio? # ACCESS.bus 1 & 2 > > #maxds* at iic? # Maxim DS1631/1624/1721 > # uncomment? > #lmtemp* at iic? # NS LM75/LM77 temperature sensor > > ppb* at pci? # PCI-PCI bridges > pci* at ppb? > pci* at pchb? > pcib* at pci? # PCI-ISA bridge > gscpcib* at pci? # NS Geode SC1100 PCI-ISA bridge > gpio* at gscpcib? > > npx0 at isa? port 0xf0 irq 13 # math coprocessor > isadma0 at isa? > > #pcppi0 at isa? > #sysbeep0 at pcppi? > > pccom0 at isa? port 0x3f8 irq 4 # standard PC serial ports > pccom1 at isa? port 0x2f8 irq 3 > > # IDE controllers > pciide* at pci? flags 0x0000 > wdc0 at isa? port 0x1f0 irq 14 flags 0x00 > > wd* at wdc? flags 0x0000 > wd* at pciide? flags 0x0000 > > sis* at pci? # SiS 900/7016 ethernet > > #lmc* at pci? # Lan Media / SBE card > #san* at pci? # Sangoma PCI AFT card > #musycc* at pci? # Conexant HDLC controller > #art* at musycc? > > nsphyter* at mii? # NS and compatible PHYs > > # crypto support > hifn* at pci? # Hi/fn 7xxx crypto card > > # Wireless network cards > wi* at pci? # Intersil Prism MiniPCI wireless card > ath* at pci? # Atheros MiniPCI wireless card > iwi* at pci? #intel bg2200 > > #pseudo-device pctr 1 > > pseudo-device crypto 1 > > pseudo-device ksyms 1 > pseudo-device systrace 1 > > pseudo-device pf # packet filter > pseudo-device pflog # pf log if > pseudo-device pfsync # pf sync if > > # clonable devices > pseudo-device loop # network loopback > pseudo-device bpfilter # packet filter > pseudo-device trunk # Trunking support > pseudo-device carp # CARP protocol support > pseudo-device sl # CSLIP > pseudo-device ppp # Async PPP > pseudo-device tun # network tunneling over tty > pseudo-device enc # IPSEC encapsulating interface > pseudo-device bridge # network bridging support > pseudo-device vlan # IEEE 802.1Q VLAN > pseudo-device gre # GRE encapsulation interface > pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) > > #pseudo-device strip 1 # Starmode Radio IP interface > pseudo-device pty 32 # pseudo-terminals > > # for IPv6 > #pseudo-device faith 1 # IPv[46] tcp relay translation i/f > > pseudo-device pppoe 1 # PPP over Ethernet (RFC 2516) > pseudo-device sppp 1 # Cisco HDLC / PPP > > > PC Engines WRAP.1C/1D/1E v1.08 > 640 KB Base Memory > 130048 KB Extended Memory > > 01F0 Master 848A SAMSUNG CF/ATA > Phys C/H/S 1010/16/63 Log C/H/S 1010/16/63 > Using drive 0, partition 3; > Loading;..... > probing: pc0 com0 pci mem[640K 127M a20=on] > disk: hd0 > >> OpenBSD/i386 BOOT 2.10 > switching console to com0 > >> OpenBSD/i386 BOOT 2.10 > com0: changing speed to 19200 baud in 5 seconds, change your terminal to > match! > > com0: 19200 baud > boot> > booting hd0a:/bsd: 1796100+312776 [52+102192+92866]=0x232968 > entry point at 0x100120 > > [ using 195484 bytes of bsd ELF symbol table ] > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2005 OpenBSD. All rights reserved. http://www.OpenBSD.org > > OpenBSD 3.8 (NET4801) #1: Fri Apr 14 00:46:07 EEST 2006 > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/NET4801 > RTC BIOS diagnostic error 80<clock_battery> > cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC" > 586-class) 267 MHz > cpu0: FPU,TSC,MSR,CX8,CMOV,MMX > cpu0: TSC disabled > real mem = 133804032 (130668K) > avail mem = 119353344 (116556K) > using 1658 buffers containing 6791168 bytes (6632K) of memory > RTC BIOS diagnostic error 80<clock_battery> > mainbus0 (root) > bios0 at mainbus0: AT/286+(fa) BIOS, date 05/02/05, BIOS32 rev. 0 @ 0xfc5f2 > pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 > pcibios0: pcibios_get_intr_routing - function not supported > pcibios0: PCI IRQ Routing information unavailable. > pcibios0: PCI bus #0 is the last bus > bios0: ROM list: 0xe0000/0x8000 > cpu0 at mainbus0 > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00 > sis0 at pci0 dev 14 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq > 10, address 00:0d:b9:01:8 > nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1 > sis1 at pci0 dev 15 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 9, > address 00:0d:b9:01:e9 > nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1 > sis2 at pci0 dev 16 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq > 11, address 00:0d:b9:01:a > nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1 > gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00 > gpio0 at gscpcib0: 64 pins > "NS SC1100 SMI/ACPI" rev 0x00 at pci0 dev 18 function 1 not configured > pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA, channel 0 > wired to compatibility, y > wd0 at pciide0 channel 0 drive 0: <SAMSUNG CF/ATA> > wd0: 1-sector PIO, LBA, 497MB, 1018080 sectors > wd0(pciide0:0:0): using PIO mode 4 > "NS SCx200 AUDIO" rev 0x00 at pci0 dev 18 function 3 not configured > geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6 revision > 3 wdstatus 0 > isa at gscpcib0 not configured > isa0 at mainbus0 > isadma0 at isa0 > gscsio0 at isa0 port 0x2e/2: SC1100 SIO rev 1: ACB1 ACB2 > iic0 at gscsio0 > iic1 at gscsio0 > npx0 at isa0 port 0xf0/16: using exception 16 > pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > pccom0: console > biomask f1ef netmask ffef ttymask ffef > dkcsum: wd0 matches BIOS drive 0x80 > root on wd0a > rootdev=0x0 rrootdev=0x300 rawdev=0x302 > clock: unknown CMOS layout > WARNING: clock time much less than file system time > WARNING: using file system time > WARNING: CHECK AND RESET THE DATE! > /dev/rwd0a: file system is clean; not checking > mfs: mounting /tmp... > Warning: inode blocks/cyl group (13) >= data blocks (8) in last > cylinder group. This implies 256 sector(s) cannot be allocated. > mfs: populating /tmp... > databases: dev > securelevel: kern.securelevel: 0 -> 1 > watchdog: kern.watchdog.period: 0 -> 32 > watchdog: kern.watchdog.auto: 1 -> 1 > hostname: setting hostname to sphinx... > inet: configuring IP on system interfaces... > route: adding default route... > add net default: gateway 208.192.32.1 > pf/nat: configuring and enabling... > pf enabled > syslogd: starting log daemon... > ssh: starting daemon... > Apr 14 10:29:07 sphinx dhcpd: No subnet declaration for sis0 (208.192.32.2). > Apr 14 10:29:07 sphinx dhcpd: Please write a subnet declaration in your > dhcpd.conf file for the > Apr 14 10:29:07 sphinx dhcpd: network segment to which interface sis0 is > attached. > Apr 14 10:29:07 sphinx dhcpd: exiting. > > OpenBSD/i386 (sphinx) (tty00) > > Any hints for troubleshooting are appreciated. > > Thanks, > Risto Varanka
Its hard to say exactly from the wrap specifications, but it does have this note on page 20 of http://www.pcengines.ch/wrap1c.pdf on the mini-pci sockets: "Please note that the current available from the +5V supply is very limited, and generated very inefficiently (linear regulator from input supply). +5V should be used as a bias voltage only, not to power a wireless radio!" Since your dmesg does not state anything to the effect of "Intel XXX device not configured" in the dmesg, my best guess would be that the card is not getting enough power. WRAP's apear to be very forgiving of DC power, I would try a DC adapter that pushes out more voltage and amps, a few steps under the the acceptable limit stated in the specification. Otherwise the iwi card may require more power than the board can supply.

