John Nielsen
2005-Nov-29 20:45 UTC
wireless, ndis problems on Compaq TC1000 Tablet running 6-STABLE
After successfully installing FreeBSD 6.0 on a Compaq TC1000 Tablet PC (and updating it to yesterday's -STABLE), I am trying to get the built-in wireless to work. The wi(4) driver does not attach to it. Under Windows, the card shows up as a "Compaq 802.11b WLAN Mini-PCI" card (although it is not in the user-accessible Mini-PCI slot). Pciconf gives this: none4@pci0:10:0: class=0x020000 card=0x00d30e11 chip=0x05061114 rev=0x11 hdr=0x00 vendor = 'Atmel Corp.' device = 'AT76C506 802.11b Wireless Network Adaptor' class = network subclass = ethernet (Full pciconf -lv output attached). My first question: is there a chance it would be trivial to make this card work with the wi(4) driver? ISTR reading this morning that this was a Prism chip, although now I can't find that again. Undaunted, I moved on to ndis(4). Using wine(1), I was able to extract a driver from SP23100.exe, obtained from hp's website.[1] I fed netcwl200.inf and cwl200.sys to ndisgen(8), and was rewarded with a successfully compiled cwl200_sys.ko. Unfortunately, the machine panics as soon as the module is loaded, with the following output (transcribed by hand, typos possible): tablet# kldload cwl200_sys isab1: <PCI-ISA bridge> at device 7.4 on pci0 device_attach: isab1 attach returned 6 no match for swprintf isab1: <PCI-ISA bridge> at device 7.4 on pci0 device_attach: isab1 attach returned 6 ndis0: <Compaq 802.11b WLAN Mini-PCI> port 0x1c00-0x1cff mem 0xe8030000-0xe803ffff at device 10.0 on pci0 ndis0: NDIS API version: 5.1 ntoskrnl dummy called... ntoskrnl dummy called... Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x20:0xc3bf70d8 stack pointer = 0x28:0xd6cbc62c frame pointer = 0x28:0xd6cbc844 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 = 571 (kldload) trap number = 12 panic: page fault Which leads to my second question: should ndis be expected to work with this device? Assuming the answer is yes, what else can I do to track down the problem? A complete (verbose) dmesg from the system is attached. Any input will be much appreciated. Thanks! JN [1] See http://h18007.www1.hp.com/support/files/Compaqtabletpc/us/download/19836.html -------------- next part -------------- Copyright (c) 1992-2005 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 6.0-STABLE #0: Mon Nov 28 15:23:03 EST 2005 root@sparrtab.benefitfocus.com:/usr/obj/usr/src/sys/SPARRTAB Preloaded elf kernel "/boot/kernel/kernel" at 0xc0851000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0851188. Calibrating clock(s) ... i8254 clock: 1193167 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 995502588 Hz CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 (995.50-MHz 586-class CPU) Origin = "GenuineTMx86" Id = 0x543 Stepping = 3 Features=0x80893f<FPU,VME,DE,PSE,TSC,MSR,CX8,SEP,CMOV,MMX> Processor revision 1.5.0.2 Code Morphing Software revision 4.4.0-10-156 20030501 16:35 official release 62.0.1-4.4.0#1 real memory = 511639552 (487 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009afff, 630784 bytes (154 pages) 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) 0x0000000000c25000 - 0x000000001df23fff, 489680896 bytes (119551 pages) avail memory = 491061248 (468 MB) bios32: Found BIOS32 Service Directory header at 0xc00f7710 bios32: Entry = 0xfd6a0 (c00fd6a0) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd6a0+0x16c pnpbios: Found PnP BIOS data at 0xc00f7760 pnpbios: Entry = f0000:a13e Rev = 1.0 Other BIOS signatures found: Crusoe LongRun support enabled, current mode: 2 <1000MHz 1350mV 100%> wlan: <802.11 Link Layer> netsmb_dev: loaded nfslock: pseudo-device null: <null device, zero device> io: <I/O> random: <entropy source, Software, Yarrow> mem: <memory> VESA: information block 56 45 53 41 00 03 00 01 00 01 01 00 00 00 22 00 00 01 00 01 11 03 07 01 00 01 1a 01 00 01 25 01 00 01 00 01 01 01 02 01 03 01 04 01 05 01 06 01 07 01 08 01 09 01 0a 01 0b 01 0c 01 0e 01 0f 01 VESA: 33 mode(s) found VESA: v3.0, 16384k memory, flags:0x1, mode table:0xc0761f62 (1000022) VESA: NVidia VESA: NVidia Corporation NV11 Board Chip Rev B2 npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <PTLTD RSDT> on motherboard acpi0: [MPSAFE] pci_open(1): mode 1 addr port (0x0cf8) is 0x80003904 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=03951279) pcibios: BIOS version 2.10 Found $PIR table, 8 entries at 0xc00fdf40 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded 0 7 A 0x01 3 4 6 9 10 11 12 14 15 embedded 0 7 B 0x02 3 4 6 9 10 11 12 14 15 embedded 0 7 C 0x03 3 4 6 9 10 11 12 14 15 embedded 0 7 D 0x04 3 4 6 9 10 11 12 14 15 embedded 0 12 A 0x01 3 4 6 9 10 11 12 14 15 embedded 0 12 B 0x02 3 4 6 9 10 11 12 14 15 embedded 0 12 C 0x03 3 4 6 9 10 11 12 14 15 embedded 0 5 A 0x02 3 4 6 9 10 11 12 14 15 embedded 0 8 A 0x01 3 4 6 9 10 11 12 14 15 embedded 0 11 A 0x01 3 4 6 9 10 11 12 14 15 embedded 0 11 B 0x02 3 4 6 9 10 11 12 14 15 embedded 0 10 A 0x04 3 4 6 9 10 11 12 14 15 embedded 0 9 A 0x01 3 4 6 9 10 11 12 14 15 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 7 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 11 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 11 func 1 acpi0: Power Button (fixed) acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 0 func 0 pci_link0: <ACPI PCI Link LNKA> irq 9 on acpi0 pci_link0: Links after initial probe: Index IRQ Rtd Ref IRQs 0 9 N 0 9 pci_link0: Links after initial validation: Index IRQ Rtd Ref IRQs 0 9 N 0 9 pci_link0: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 9 pci_link1: <ACPI PCI Link LNKB> irq 11 on acpi0 pci_link1: Links after initial probe: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link1: Links after initial validation: Index IRQ Rtd Ref IRQs 0 11 N 0 11 pci_link1: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 11 pci_link2: <ACPI PCI Link LNKC> irq 10 on acpi0 pci_link2: Links after initial probe: Index IRQ Rtd Ref IRQs 0 10 N 0 7 pci_link2: Links after initial validation: Index IRQ Rtd Ref IRQs 0 10 N 0 7 pci_link2: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 7 pci_link3: <ACPI PCI Link LNKD> on acpi0 pci_link3: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 15 pci_link3: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 15 pci_link3: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 15 acpi_ec0: <Embedded Controller: GPE 0x1> port 0x62,0x66 on acpi0 acpi_ec0: info: new max delay is 10 us acpi_ec0: info: new max delay is 40 us acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 0 func 0 acpi_ec0: info: new max delay is 80 us acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 7 func 4 ACPI timer: 0/811 0/3 1/2 1/2 0/11 0/3 0/4 1/2 1/2 1/2 -> 5 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: <ACPI CPU> on acpi0 acpi_acad0: <AC Adapter> on acpi0 battery0: <ACPI Control Method Battery> on acpi0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pci0: physical bus=0 found-> vendor=0x1279, dev=0x0395, revid=0x03 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x2200, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 1, range 32, base e8100000, size 20, enabled found-> vendor=0x1279, dev=0x0396, revid=0x00 bus=0, slot=0, func=1 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x1279, dev=0x0397, revid=0x00 bus=0, slot=0, func=2 class=05-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x10de, dev=0x0112, revid=0xb2 bus=0, slot=5, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x02b0, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x05 (1250 ns), maxlat=0x01 (250 ns) intpin=a, irq=11 powerspec 2 supports D0 D3 current D0 map[10]: type 1, range 32, base e9000000, size 24, enabled map[14]: type 3, range 32, base f0000000, size 27, enabled pcib0: matched entry for 0.5.INTA (src \\_SB_.PCI0.PIB_.LNKB:0) pcib0: slot 5 INTA routed to irq 11 via \\_SB_.PCI0.PIB_.LNKB found-> vendor=0x1106, dev=0x0686, revid=0x40 bus=0, slot=7, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x0087, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 found-> vendor=0x1106, dev=0x0571, revid=0x06 bus=0, slot=7, func=1 class=01-01-8a, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 powerspec 2 supports D0 D3 current D0 map[20]: type 4, range 32, base 00001040, size 4, enabled found-> vendor=0x1106, dev=0x3057, revid=0x40 bus=0, slot=7, func=4 class=06-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 found-> vendor=0x1106, dev=0x3058, revid=0x50 bus=0, slot=7, func=5 class=04-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=255 powerspec 2 supports D0 D3 current D0 map[10]: type 4, range 32, base 00001400, size 8, port disabled map[14]: type 4, range 32, base 00001054, size 2, enabled map[18]: type 4, range 32, base 00001050, size 2, enabled found-> vendor=0x1106, dev=0x3068, revid=0x30 bus=0, slot=7, func=6 class=07-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=255 powerspec 2 supports D0 D3 current D0 map[10]: type 4, range 32, base 00001800, size 8, port disabled found-> vendor=0x8086, dev=0x1059, revid=0x10 bus=0, slot=8, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0013, statreg=0x8290, cachelnsz=8 (dwords) lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns) intpin=a, irq=9 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base e8020000, size 12, enabled map[14]: type 4, range 32, base 00001000, size 6, enabled map[18]: type 1, range 32, base e8000000, size 17, enabled pcib0: matched entry for 0.8.INTA (src \\_SB_.PCI0.PIB_.LNKA:0) pcib0: slot 8 INTA routed to irq 9 via \\_SB_.PCI0.PIB_.LNKA found-> vendor=0x1114, dev=0x0506, revid=0x11 bus=0, slot=10, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0010, statreg=0x0010, cachelnsz=8 (dwords) lattimer=0x63 (2970 ns), mingnt=0x0c (3000 ns), maxlat=0x3c (15000 ns) intpin=a, irq=255 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base e8030000, size 16, memory disabled map[14]: type 4, range 32, base 00001c00, size 8, port disabled found-> vendor=0x104c, dev=0xac55, revid=0x01 bus=0, slot=11, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0xc0 (48000 ns), maxlat=0x03 (750 ns) intpin=a, irq=255 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base 00000000, size 12, enabled found-> vendor=0x104c, dev=0xac55, revid=0x01 bus=0, slot=11, func=1 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0007, statreg=0x8210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0xc0 (48000 ns), maxlat=0x03 (750 ns) intpin=b, irq=255 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base 00000000, size 12, enabled found-> vendor=0x1033, dev=0x0035, revid=0x41 bus=0, slot=12, func=0 class=0c-03-10, hdrtype=0x00, mfdev=1 cmdreg=0x0016, statreg=0x8210, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x01 (250 ns), maxlat=0x2a (10500 ns) intpin=a, irq=9 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base e8022000, size 12, enabled pcib0: matched entry for 0.12.INTA (src \\_SB_.PCI0.PIB_.LNKA:0) pcib0: slot 12 INTA routed to irq 9 via \\_SB_.PCI0.PIB_.LNKA found-> vendor=0x1033, dev=0x0035, revid=0x41 bus=0, slot=12, func=1 class=0c-03-10, hdrtype=0x00, mfdev=0 cmdreg=0x0016, statreg=0x8210, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x01 (250 ns), maxlat=0x2a (10500 ns) intpin=b, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base e8023000, size 12, enabled pcib0: matched entry for 0.12.INTB (src \\_SB_.PCI0.PIB_.LNKB:0) pcib0: slot 12 INTB routed to irq 11 via \\_SB_.PCI0.PIB_.LNKB found-> vendor=0x1033, dev=0x00e0, revid=0x02 bus=0, slot=12, func=2 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0016, statreg=0x8210, cachelnsz=8 (dwords) lattimer=0x84 (3960 ns), mingnt=0x10 (4000 ns), maxlat=0x22 (8500 ns) intpin=c, irq=10 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base e8021000, size 8, enabled pcib0: matched entry for 0.12.INTC (src \\_SB_.PCI0.PIB_.LNKC:0) pcib0: slot 12 INTC routed to irq 10 via \\_SB_.PCI0.PIB_.LNKC pci0: <memory, RAM> at device 0.1 (no driver attached) pci0: <memory, RAM> at device 0.2 (no driver attached) pci0: <display, VGA> at device 5.0 (no driver attached) isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C686B UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1040-0x104f at device 7.1 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x1040 ata0: <ATA channel 0> on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER> ata0: [MPSAFE] ata1: <ATA channel 1> on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=00 ostat0=ff ostat1=ff ata1: [MPSAFE] isab1: <PCI-ISA bridge> at device 7.4 on pci0 isa: isa0 already exists; skipping it device_attach: isab1 attach returned 6 pcm0: <VIA VT82C686A> port 0x1400-0x14ff,0x1054-0x1057,0x1050-0x1053 at device 7.5 on pci0 pcm0: Reserved 0x100 bytes for rid 0x10 type 4 at 0x1400 pcib0: matched entry for 0.7.INTC (src \\_SB_.PCI0.PIB_.LNKC:0) pcib0: slot 7 INTC routed to irq 10 via \\_SB_.PCI0.PIB_.LNKC pcm0: [GIANT-LOCKED] pcm0: <Analog Devices AD1981A AC97 Codec (id = 0x41445372)> pcm0: Codec features headphone, 20 bit DAC, 5 bit master volume, no 3D Stereo Enhancement pcm0: Primary codec extended features variable rate PCM, AMAP, reserved 4 pcm0: sndbuf_setmap 1c5000, 1000; 0xc31f1000 -> 1c5000 pcm0: sndbuf_setmap 1e7000, 1000; 0xc31f3000 -> 1e7000 pci0: <simple comms> at device 7.6 (no driver attached) fxp0: <Intel 82551QM Pro/100 M Mobile Connection> port 0x1000-0x103f mem 0xe8020000-0xe8020fff,0xe8000000-0xe801ffff irq 9 at device 8.0 on pci0 fxp0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xe8020000 fxp0: using memory space register mapping fxp0: PCI IDs: 8086 1059 0e11 00b5 0010 fxp0: Dynamic Standby mode is disabled miibus0: <MII bus> on fxp0 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: bpf attached fxp0: Ethernet address: 00:08:02:92:84:f8 fxp0: [MPSAFE] pci0: <network, ethernet> at device 10.0 (no driver attached) cbb0: <TI1520 PCI-CardBus Bridge> at device 11.0 on pci0 cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0x80000000 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: matched entry for 0.11.INTA (src \\_SB_.PCI0.PIB_.LNKA:0) pcib0: slot 11 INTA routed to irq 9 via \\_SB_.PCI0.PIB_.LNKA cbb0: [MPSAFE] cbb0: PCI Configuration space: 0x00: 0xac55104c 0x02100007 0x06070001 0x00822000 0x10: 0x80000000 0x020000a0 0x20030200 0xfffff000 0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc 0x30: 0x00000000 0xfffffffc 0x00000000 0x07400109 0x40: 0x00b50e11 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x08449061 0x00000000 0x00000000 0x01001022 0x90: 0x606422c0 0x00000000 0x00000000 0x00000000 0xa0: 0xfe120001 0x00c00000 0x00000001 0x0000001f 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 cbb1: <TI1520 PCI-CardBus Bridge> at device 11.1 on pci0 cbb1: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0x80001000 cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib0: matched entry for 0.11.INTB (src \\_SB_.PCI0.PIB_.LNKB:0) pcib0: slot 11 INTB routed to irq 11 via \\_SB_.PCI0.PIB_.LNKB cbb1: [MPSAFE] cbb1: PCI Configuration space: 0x00: 0xac55104c 0x82100007 0x06070001 0x00822000 0x10: 0x80001000 0x020000a0 0x20050400 0xfffff000 0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc 0x30: 0x00000000 0xfffffffc 0x00000000 0x0740020b 0x40: 0x00b50e11 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x08449061 0x00000000 0x00000000 0x01001022 0x90: 0x606422c0 0x00000000 0x00000000 0x00000000 0xa0: 0xfe120001 0x00c00000 0x00000001 0x0000001f 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 ohci0: <NEC uPD 9210 USB controller> mem 0xe8022000-0xe8022fff irq 9 at device 12.0 on pci0 ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xe8022000 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: <NEC uPD 9210 USB controller> on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: <NEC uPD 9210 USB controller> mem 0xe8023000-0xe8023fff irq 11 at device 12.1 on pci0 ohci1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xe8023000 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: <NEC uPD 9210 USB controller> on ohci1 usb1: USB revision 1.0 uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0xe8021000-0xe80210ff irq 10 at device 12.2 on pci0 ehci0: Reserved 0x100 bytes for rid 0x10 type 3 at 0xe8021000 ehci0: [GIANT-LOCKED] usb2: EHCI version 0.95 usb2: companion controllers, 3 ports each: usb0 usb1 usb2: <NEC uPD 720100 USB 2.0 controller> on ehci0 usb2: USB revision 2.0 uhub2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 5 ports with 5 removable, self powered acpi_tz0: <Thermal Zone> on acpi0 ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it pnp_identify: Trying Read_Port at 203 pnp_identify: Trying Read_Port at 243 pnp_identify: Trying Read_Port at 283 pnp_identify: Trying Read_Port at 2c3 pnp_identify: Trying Read_Port at 303 pnp_identify: Trying Read_Port at 343 pnp_identify: Trying Read_Port at 383 pnp_identify: Trying Read_Port at 3c3 PNP Identify complete sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: <ISA Option ROMs> at iomem 0xc0000-0xcdfff,0xe7000-0xe7fff on isa0 adv0: not probed (disabled) aha0: not probed (disabled) aic0: not probed (disabled) atkbdc0: not probed (disabled) bt0: not probed (disabled) cs0: not probed (disabled) ed0: not probed (disabled) fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0 fe0: not probed (disabled) ie0: not probed (disabled) lnc0: not probed (disabled) ppc0 failed to probe at irq 7 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, terminal emulator: sc (syscons terminal) sio0 failed to probe at port 0x3f8 irq 4 on isa0 sio1 failed to probe at port 0x2f8 irq 3 on isa0 sio2: not probed (disabled) sio3: not probed (disabled) sn0: not probed (disabled) vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 vt0: not probed (disabled) isa_probe_children: probing PnP devices ukbd0: Jing-Mold USB K/B+Mouse, rev 1.10/3.20, addr 2, iclass 3/1 kbd0 at ukbd0 kbd0: ukbd0, generic (0), config:0x0, flags:0x1d0000 ums0: Jing-Mold USB K/B+Mouse, rev 1.10/3.20, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. Device configuration finished. procfs registered Timecounter "TSC" frequency 995502588 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to deny, logging disabled DUMMYNET with IPv6 initialized (040826) lo0: bpf attached acpi_acad0: acline initialization start battery0: battery initialization start acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire ad0: setting PIO4 on VIA 82C686B chip ad0: setting UDMA100 on VIA 82C686B chip ad0: 28615MB <HITACHI DK23EA-30 00K4A0A2> at ata0-master UDMA100 ad0: 58605120 sectors [58140C/16H/63S] 16 sectors/interrupt 1 depth queue GEOM: new disk ad0 battery0: battery initialization done, tried 1 times Trying to mount root from ufs:/dev/ad0s2a start_init: trying /sbin/init -------------- next part -------------- hostb0@pci0:0:0: class=0x060000 card=0x00b50e11 chip=0x03951279 rev=0x03 hdr=0x00 vendor = 'Transmeta Corp.' device = 'LongRun Northbridge' class = bridge subclass = HOST-PCI none0@pci0:0:1: class=0x050000 card=0x00b50e11 chip=0x03961279 rev=0x00 hdr=0x00 vendor = 'Transmeta Corp.' device = 'SDRAM Controller' class = memory subclass = RAM none1@pci0:0:2: class=0x050000 card=0x00b50e11 chip=0x03971279 rev=0x00 hdr=0x00 vendor = 'Transmeta Corp.' device = 'BIOS scratchpad' class = memory subclass = RAM none2@pci0:5:0: class=0x030000 card=0x00b50e11 chip=0x011210de rev=0xb2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'NV11 GeForce2 Go / MX Ultra' class = display subclass = VGA isab0@pci0:7:0: class=0x060100 card=0x00b50e11 chip=0x06861106 rev=0x40 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82C686/A/B "Super South" PCI to ISA Bridge' class = bridge subclass = PCI-ISA atapci0@pci0:7:1: class=0x01018a card=0x00b50e11 chip=0x05711106 rev=0x06 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxx EIDE Controller (All VIA Chipsets)' class = mass storage subclass = ATA isab1@pci0:7:4: class=0x060100 card=0x00b50e11 chip=0x30571106 rev=0x40 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82C686A/B ACPI Power Management Controller' class = bridge subclass = PCI-ISA pcm0@pci0:7:5: class=0x040100 card=0x00b50e11 chip=0x30581106 rev=0x50 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT8203058 AC97 Audio Codec (All VIA Chipsets)' class = multimedia subclass = audio none3@pci0:7:6: class=0x078000 card=0x00b50e11 chip=0x30681106 rev=0x30 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82C686/A/B,VT8233/A Modem Codec' class = simple comms fxp0@pci0:8:0: class=0x020000 card=0x00b50e11 chip=0x10598086 rev=0x10 hdr=0x00 vendor = 'Intel Corporation' device = '82551QM Fast Ethernet PCI/CardBus Controller' class = network subclass = ethernet none4@pci0:10:0: class=0x020000 card=0x00d30e11 chip=0x05061114 rev=0x11 hdr=0x00 vendor = 'Atmel Corp.' device = 'AT76C506 802.11b Wireless Network Adaptor' class = network subclass = ethernet cbb0@pci0:11:0: class=0x060700 card=0x00b50e11 chip=0xac55104c rev=0x01 hdr=0x02 vendor = 'Texas Instruments (TI)' device = 'PCI1520 PC Card CardBus Controller' class = bridge subclass = PCI-CardBus cbb1@pci0:11:1: class=0x060700 card=0x00b50e11 chip=0xac55104c rev=0x01 hdr=0x02 vendor = 'Texas Instruments (TI)' device = 'PCI1520 PC Card CardBus Controller' class = bridge subclass = PCI-CardBus ohci0@pci0:12:0: class=0x0c0310 card=0x00b50e11 chip=0x00351033 rev=0x41 hdr=0x00 vendor = 'NEC Electronics Hong Kong' device = 'uPD9210FGC-7EA / µPD720101 USB 1.0 Host Controller (OHCI compliant)' class = serial bus subclass = USB ohci1@pci0:12:1: class=0x0c0310 card=0x00b50e11 chip=0x00351033 rev=0x41 hdr=0x00 vendor = 'NEC Electronics Hong Kong' device = 'uPD9210FGC-7EA / µPD720101 USB 1.0 Host Controller (OHCI compliant)' class = serial bus subclass = USB ehci0@pci0:12:2: class=0x0c0320 card=0x00b50e11 chip=0x00e01033 rev=0x02 hdr=0x00 vendor = 'NEC Electronics Hong Kong' device = 'uPD720100A/101 USB 2.0 Enhanced Host Controller' class = serial bus subclass = USB
Milan Obuch
2005-Nov-29 23:04 UTC
wireless, ndis problems on Compaq TC1000 Tablet running 6-STABLE
On Tuesday 29 November 2005 21:39, John Nielsen wrote:> After successfully installing FreeBSD 6.0 on a Compaq TC1000 Tablet PC (and > updating it to yesterday's -STABLE), I am trying to get the built-in > wireless to work. The wi(4) driver does not attach to it. Under Windows, > the card shows up as a "Compaq 802.11b WLAN Mini-PCI" card (although it is > not in the user-accessible Mini-PCI slot). Pciconf gives this: > > none4@pci0:10:0: class=0x020000 card=0x00d30e11 chip=0x05061114 > rev=0x11 hdr=0x00 > vendor = 'Atmel Corp.' > device = 'AT76C506 802.11b Wireless Network Adaptor' > class = network > subclass = ethernet > > (Full pciconf -lv output attached). > > My first question: is there a chance it would be trivial to make this card > work with the wi(4) driver? ISTR reading this morning that this was a > Prism chip, although now I can't find that again. >Your pciconf output shows actual device - AT76C506. Unfortunately, datasheet available only under NDA, driver available only for Linux (see at atmelwlandriver.sf.net). Need binary firmware as well... I would like to see it supported, but I see no way without much work.> Undaunted, I moved on to ndis(4). Using wine(1), I was able to extract a > driver from SP23100.exe, obtained from hp's website.[1] I fed > netcwl200.inf and cwl200.sys to ndisgen(8), and was rewarded with a > successfully compiled cwl200_sys.ko. > > Unfortunately, the machine panics as soon as the module is loaded, with the > following output (transcribed by hand, typos possible): >All I got was just the same, maybe not exactly, but gross outcome is it does not work. Out of ideas, no help. Sorry.> tablet# kldload cwl200_sys > isab1: <PCI-ISA bridge> at device 7.4 on pci0 > device_attach: isab1 attach returned 6 > no match for swprintf > isab1: <PCI-ISA bridge> at device 7.4 on pci0 > device_attach: isab1 attach returned 6 > ndis0: <Compaq 802.11b WLAN Mini-PCI> port 0x1c00-0x1cff mem > 0xe8030000-0xe803ffff at device 10.0 on pci0 > ndis0: NDIS API version: 5.1 > ntoskrnl dummy called... > ntoskrnl dummy called... > > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x0 > fault code = supervisor write, page not present > instruction pointer = 0x20:0xc3bf70d8 > stack pointer = 0x28:0xd6cbc62c > frame pointer = 0x28:0xd6cbc844 > 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 = 571 (kldload) > trap number = 12 > panic: page fault > > Which leads to my second question: should ndis be expected to work with > this device? Assuming the answer is yes, what else can I do to track down > the problem? A complete (verbose) dmesg from the system is attached. > > Any input will be much appreciated. Thanks! > > JN > > [1] See > http://h18007.www1.hp.com/support/files/Compaqtabletpc/us/download/19836.ht >mlBy the way, how did you install 6.0 there? I am working with TC1000 too, but it looks almost impossible to install FreeBSD without keyboard. Just would like to know possibilities - I tried 7.0 but ACPI does not work (does not boot even, only with ACPI disabled). Regards, Milan