Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jun 2005 18:46:17 -0700
From:      Evan Dower <evantd@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   ndis no longer detects netgear wg311v2
Message-ID:  <20050620014617.GA54283@innosense.washington.edu>

next in thread | raw e-mail | index | archive | help
I recently moved, and for some reason my computer started crashing
when I tried to make it associate with my new wireless network. (It
worked fine on the old wireless network.) I figured the first thing I
should do to fix the problem is update my sources, since it may have
already been fixed. Unfortunately the updated sources don't recognize
my wireless card at all.

Before the update (hand-transcribed):
# uname -a
FreeBSD lojak.washington.edu 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0:
Sat Apr  2 11:50:53 PST 2005
root@lojak.washington.edu:/usr/obj/usr/src/sys/CUSTOM  i386
# kldload FwRad16.bin.ko
# kldload ndis
# kldload if_ndis
ndis0: <NETGEAR WG311v2 802.11g Wireless PCI Adapter> mem 0xfb020000-0xfb03ffff,0xfb040000-0xfb041fff irq 16 at device 4.0 on pci2
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: 00:09:5b:ba:da:ef
ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ndis0: 11g rates:  6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
# ifconfig ndis0
ndis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:09:5b:da:ef
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid ""
        channel -1 authmode OPEN powersavemode OFF powersavesleep 100
        rtsthreshold 2312 protmode CTS
        wepmode OFF weptxkey 1
# wicontrol ndis0 -l
0 stations:
# ifconfig ndis0 ssid "The Penthouse" channel 11 up
ndis0: link up
# dhclient ndis0
ndis0: link up
<<< I can't see the whole panic screen, but here's the bottom: >>>
panic: page fault
cpuid = 0
boot() called on cpu#0
Uptime: 11m20s
Dumping 1023 MB


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address    = 0x0
fault code               = supervisor read, page not present
intruction pointer       = 0x8:0x0
stack pointer            = 0x10:0xe4e1fcec
frame pointer            = 0x10:0xe4e1fd0c
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          = 5 (thread taskq)
trap number              = 12


I can work on getting the crash dump if that's useful, but the
behavior seems to have changed in the last couple of months. Now I
get:
# uname -a
FreeBSD lojak.washington.edu 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat Jun
14:20:40 PDT 2005
root@lojak.washington.edu:/usr/obj/usr/src/sys/CUSTOM  i386
# kldload FwRad16.bin.ko
# kldload ndis
warning: KLD '/boot/kernel/if_ndis.ko' is newer than the linker.hints
file
# kldload if_ndis
kldload: can't load if_ndis: File exists
# kldstat
Id Refs Address    Size     Name
 1   10 0xc0400000 4a42f0   kernel
 2   14 0xc08a5000 56270    acpi.ko
 3    1 0xc2e83000 14000    FwRad16.bin.ko
 4    1 0xc2e97000 9000     if_ndis.ko
 5    1 0xc2ea0000 12000    ndis.ko
 6    1 0xc2ec5000 b000     pccard.ko
# ifconfig ndis0
ifconfig: interface ndis0 does not exist
# kldunload if_ndis
# kldload if_ndis
# ifconfig ndis0
ifconfig: interface ndis0 does not exist


I haven't seen anything in UPDATING that accounts for this. Does
anyone have any idea of where to look for clues?

Thanks very much,
-- 
Evan Dower
Software Development Engineer
Amazon.com, Inc.
Public key: http://students.washington.edu/evantd/pgp-pub-key.txt
Key fingerprint = D321 FA24 4BDA F82D 53A9  5B27 7D15 5A4F 033F 887D



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