Date: Thu, 02 May 2013 18:48:35 +0100 From: Chris Whitehouse <cwhiteh@onetel.com> To: freebsd-questions@freebsd.org Subject: Re: Linksys WPC54g NDIS compiles but doesn't work? Message-ID: <5182A6F3.8080708@onetel.com> In-Reply-To: <20130502150200.GC21736@gemini.wss-ds.org> References: <20130502150200.GC21736@gemini.wss-ds.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/05/2013 16:02, Steven wrote: > Hello, > > I posted this once already, but I wasn't subscribed at the time and > I don't think it got posted to the list. Hopefully this isn't a > dupe. > > I've installed FreeBSD 9.1 RELEASE on a family member's laptop, a > Toshiba Satellite 5100. Said member was using a Linksys WPC54g v.4 > pcicard for wireless. I downloaded the v.4 drivers for the card > from the Cisco website and was able to use ndisgen to build a > wrapper for the driver. Hi, I have a PCMCIA WPC54g V5 which works with malo(4). It might work with your V4. You need to download some firmware - see the man page. Chris > > There were no errors during the build and I'm able to load the > resultant ndis, but aside from some initial static when the ndis is > loaded the card is not being configured. ndis0 doesn't show in the > dmesg and doesn't appear in the ifconfig output. > > Before I built the wrapper I had updated my source, base and > userland so all of that should have been up to date for the system I > was building it against. > > I'm getting to the point where I'd rather spend the cash on > something compatible from Free's hardware list, but I'd like to give > this ndis thing one more go before I tell this family member to > chuck the card. > > kldstat > > Id Refs Address Size Name > 1 18 0xc0400000 fd35e8 kernel > 2 1 0xc13d4000 4bdd4 bcmwl5_sys.ko > 3 3 0xc1420000 1fa58 ndis.ko > 4 2 0xc1440000 f1e4 if_ndis.ko > > ifconfig > > fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 > options=8<VLAN_MTU> > ether 02:00:39:16:49:4e > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > ch 1 dma -1 > fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 > lladdr 0.0.39.0.0.16.49.4e.a.2.ff.fe.0.0.0.0 > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > options=2009<RXCSUM,VLAN_MTU,WOL_MAGIC> > ether 00:00:39:f4:73:9f > inet 10.0.1.19 netmask 0xffffff00 broadcast 10.0.1.255 > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 > options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> > inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet > 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> > > dmesg > > Copyright (c) 1992-2012 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 is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:11:52 UTC 2013 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1694.54-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf24 Family = f Model = 2 Stepping = 4 > Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> > > real memory = 536870912 (512 MB) > avail memory = 501706752 (478 MB) > kbd1 at kbdmux0 > ctl: CAM Target Layer loaded > acpi0: <TOSHIB 5100> on motherboard > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, 1fed0000 (3) failed > cpu0: <ACPI CPU> on acpi0 > attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0xee08-0xee0b on acpi0 > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 > pci0: <ACPI PCI bus> on pcib0 > agp0: <Intel 82845 host to AGP bridge> on hostb0 > pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 > pci1: <ACPI PCI bus> on pcib1 > vgapci0: <VGA-compatible display> mem > 0xfd000000-0xfdffffff,0xd8000000-0xdfffffff,0xd7f80000-0xd7ffffff irq 5 > at device 0.0 on pci1 > uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port > 0xefe0-0xefff irq 11 at device 29.0 on pci0 > usbus0 on uhci0 > uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port > 0xef80-0xef9f irq 7 at device 29.1 on pci0 > usbus1 on uhci1 > uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port > 0x1000-0x101f at device 29.2 on pci0 > usbus2 on uhci2 > pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 > pci2: <ACPI PCI bus> on pcib2 > fwohci0: <Texas Instruments TSB43AB22/A> at device 7.0 on pci2 > fwohci0: OHCI version 1.10 (ROM=1) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 00:00:39:00:00:16:49:4e > fwohci0: Phy 1394a available S400, 2 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: <IEEE1394(FireWire) bus> on fwohci0 > fwe0: <Ethernet over FireWire> on firewire0 > if_fwe0: Fake Ethernet address: 02:00:39:16:49:4e > fwe0: Ethernet address: 02:00:39:16:49:4e > fwip0: <IP over FireWire> on firewire0 > fwip0: Firewire address: 00:00:39:00:00:16:49:4e @ 0xfffe00000000, S400, > maxrec 2048 > dcons_crom0: <dcons configuration ROM> on firewire0 > dcons_crom0: bus_addr 0x1f65c000 > fwohci0: Initiate bus reset > fwohci0: fwohci_intr_core: BUS reset > fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, > CYCLEMASTER mode > fxp0: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0xdf40-0xdf7f mem > 0xfceff000-0xfcefffff irq 4 at device 8.0 on pci2 > miibus0: <MII bus> on fxp0 > inphy0: <i82562ET 10/100 media interface> PHY 1 on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow > fxp0: Ethernet address: 00:00:39:f4:73:9f > cbb0: <ToPIC100 PCI-CardBus Bridge> at device 11.0 on pci2 > cbb0: chip is in D3 power mode -- setting to D0 > cardbus0: <CardBus bus> on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb1: <ToPIC100 PCI-CardBus Bridge> at device 11.1 on pci2 > cbb1: chip is in D3 power mode -- setting to D0 > cardbus1: <CardBus bus> on cbb1 > pccard1: <16-bit PCCard bus> on cbb1 > pci2: <base peripheral> at device 12.0 (no driver attached) > pci2: <base peripheral> at device 13.0 (no driver attached) > isab0: <PCI-ISA bridge> at device 31.0 on pci0 > isa0: <ISA bus> on isab0 > atapci0: <Intel ICH3 UDMA100 controller> port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xcfa0-0xcfaf irq 6 at device 31.1 > on pci0 > ata0: <ATA channel> at channel 0 on atapci0 > ata1: <ATA channel> at channel 1 on atapci0 > pcm0: <Intel ICH3 (82801CA)> at device 31.5 on pci0 > pcm0: <Yamaha YMF753 AC97 Codec> > pci0: <simple comms, generic modem> at device 31.6 (no driver attached) > acpi_lid0: <Control Method Lid Switch> on acpi0 > battery0: <ACPI Control Method Battery> on acpi0 > acpi_acad0: <AC Adapter> on acpi0 > acpi_tz0: <Thermal Zone> on acpi0 > atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 > atkbd0: <AT Keyboard> irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > pmtimer0 on isa0 > orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xe0000-0xeffff pnpid > ORM0000 on isa0 > sc0: <System console> at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > ppc0: parallel port not found. > acpi_perf0: <ACPI CPU Frequency Control> on cpu0 > p4tcc0: <CPU Frequency Thermal Control> on cpu0 > firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus > manager 0 Timecounters tick every 1.000 msec > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 12Mbps Full Speed USB v1.0 > usbus2: 12Mbps Full Speed USB v1.0 > ugen0.1: <Intel> at usbus0 > uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 > ugen1.1: <Intel> at usbus1 > uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 > ugen2.1: <Intel> at usbus2 > uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2 > cardbus1: Expecting link target, got 0x7 > cardbus1: Expecting link target, got 0x7 > cardbus1: <network, ethernet> at device 0.0 (no driver attached) > uhub0: 2 ports with 2 removable, self powered > uhub1: 2 ports with 2 removable, self powered > uhub2: 2 ports with 2 removable, self powered > ugen1.2: <Synaptics Inc.> at usbus1 > ums0: <Rel> on usbus1 > ums0: 3 buttons and [XY] coordinates ID=0 > (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 00 > 00 00 > (aprobe0:ata1:0:1:0): CAM status: Command timeout > (aprobe0:ata1:0:1:0): Error 5, Retry was blocked > run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config > (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 00 > 00 00 > (aprobe0:ata1:0:1:0): CAM status: Command timeout > (aprobe0:ata1:0:1:0): Error 5, Retry was blocked > ada0 at ata0 bus 0 scbus0 target 0 lun 0 > ada0: <TOSHIBA MK4019GAX FA003E> ATA-5 device > ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes) > ada0: 38154MB (78140160 512 byte sectors: 16H 63S/T 16383C) > ada0: Previously was known as ad0 > cd0 at ata1 bus 0 scbus1 target 0 lun 0 > cd0: <MATSHITA UJDA730 DVD/CDRW 1.00> Removable CD-ROM SCSI-0 device > cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) > cd0: Attempt to query device size failed: NOT READY, Medium not present > - tray closed > Trying to mount root from ufs:/dev/ada0p2 [rw]... > fxp0: link state changed to UP > > pciconf > > hostb0@pci0:0:0:0: class=0x060000 card=0x00011179 chip=0x1a308086 > rev=0x04 hdr=0x00 > vendor = 'Intel Corporation' > device = '82845 845 [Brookdale] Chipset Host Bridge' > class = bridge > subclass = HOST-PCI > pcib1@pci0:0:1:0: class=0x060400 card=0x00000000 chip=0x1a318086 > rev=0x04 hdr=0x01 > vendor = 'Intel Corporation' > device = '82845 845 [Brookdale] Chipset AGP Bridge' > class = bridge > subclass = PCI-PCI > uhci0@pci0:0:29:0: class=0x0c0300 card=0x00011179 chip=0x24828086 > rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801CA/CAM USB Controller' > class = serial bus > subclass = USB > uhci1@pci0:0:29:1: class=0x0c0300 card=0x00011179 chip=0x24848086 > rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801CA/CAM USB Controller' > class = serial bus > subclass = USB > uhci2@pci0:0:29:2: class=0x0c0300 card=0x00011179 chip=0x24878086 > rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801CA/CAM USB Controller' > class = serial bus > subclass = USB > pcib2@pci0:0:30:0: class=0x060400 card=0x00000000 chip=0x24488086 > rev=0x42 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801 Mobile PCI Bridge' > class = bridge > subclass = PCI-PCI > isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x248c8086 > rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801CAM ISA Bridge (LPC)' > class = bridge > subclass = PCI-ISA > atapci0@pci0:0:31:1: class=0x01018a card=0x00011179 chip=0x248a8086 > rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801CAM IDE U100 Controller' > class = mass storage > subclass = ATA > pcm0@pci0:0:31:5: class=0x040100 card=0x00021179 chip=0x24858086 > rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801CA/CAM AC'97 Audio Controller' > class = multimedia > subclass = audio > none0@pci0:0:31:6: class=0x070300 card=0x00011179 chip=0x24868086 > rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801CA/CAM AC'97 Modem Controller' > class = simple comms > subclass = generic modem > vgapci0@pci0:1:0:0: class=0x030000 card=0x00011179 chip=0x017410de > rev=0xa3 hdr=0x00 > vendor = 'nVidia Corporation' > device = 'NV17 [GeForce4 440 Go]' > class = display > subclass = VGA > fwohci0@pci0:2:7:0: class=0x0c0010 card=0x00011179 chip=0x8023104c > rev=0x00 hdr=0x00 > vendor = 'Texas Instruments' > device = 'TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]' > class = serial bus > subclass = FireWire > fxp0@pci0:2:8:0: class=0x020000 card=0x00011179 chip=0x10318086 rev=0x42 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller' > class = network > subclass = ethernet > cbb0@pci0:2:11:0: class=0x060700 card=0x00011179 chip=0x06171179 > rev=0x32 hdr=0x02 > vendor = 'Toshiba America Info Systems' > device = 'ToPIC100 PCI to Cardbus Bridge with ZV Support' > class = bridge > subclass = PCI-CardBus > cbb1@pci0:2:11:1: class=0x060700 card=0x00011179 chip=0x06171179 > rev=0x32 hdr=0x02 > vendor = 'Toshiba America Info Systems' > device = 'ToPIC100 PCI to Cardbus Bridge with ZV Support' > class = bridge > subclass = PCI-CardBus > none1@pci0:2:12:0: class=0x088000 card=0x00011179 chip=0x08041179 > rev=0x03 hdr=0x00 > vendor = 'Toshiba America Info Systems' > device = 'TC6371AF SmartMedia Controller' > class = base peripheral > none2@pci0:2:13:0: class=0x088000 card=0x00011179 chip=0x08051179 > rev=0x03 hdr=0x00 > vendor = 'Toshiba America Info Systems' > device = 'SD TypA Controller' > class = base peripheral > none3@pci0:5:0:0: class=0x020000 card=0x00291737 chip=0x222017fe > rev=0x00 hdr=0x00 > vendor = 'InProComm Inc.' > device = 'IPN 2220 802.11g' > class = network > subclass = ethernet >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5182A6F3.8080708>