Ganbold
2006-Jul-21 05:48 UTC
ndisgen generated module load causes page fault, missing functions
Hi, I have FreeBSD-6.1-STABLE dell D620 laptop with Dell Wireless 1490 802.11a/g Dual-band Mini Card (which seems like bcm4310). # uname -an FreeBSD devil.micom.mng.net 6.1-STABLE FreeBSD 6.1-STABLE #2: Fri Jul 21 13:50:53 ULAST 2006 tsgan@devil.micom.mng.net:/usr/obj/usr/src/sys/DEVIL i386 none4@pci12:0:0: class=0x028000 card=0x00071028 chip=0x431214e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4310 UART' class = network When I try to load bcmwl5_sys.ko module (generated by ndisgen) system faults: no match for strrchr no match for MmFreeContiguousMemorySpecifyCache no match for MmAllocateContiguousMemorySpecifyCache no match for MmGetPhysicalAddress ndis0: <Dell Wireless 1490 Dual Band WLAN Mini-Card> mem 0xdfdfc000-0xdfdfffff irq 17 at device 0.0 on pci12 ndis0: NDIS API version: 5.1 ntoskrnl dummy called... Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x1a fault code = supervisor read, page not present instruction pointer = 0x20:0xc530108f stack pointer = 0x28:0xe7209938 frame pointer = 0x28:0xe720994c 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 = 559 (kldload) [thread pid 559 tid 100103 ] Stopped at 0xc530108f: cmpb 0(%edi),%al db> bt Tracing pid 559 tid 100103 td 0xc4e06a80 bcmwl5_sys_drv_data_start(c534e8f6,c52f9ddc,0,0,e7209980) at 0xc530108f bcmwl5_sys_drv_data_start(c4e2a000,c53d1000,c539d600,c53e2000,c4e2a000) at 0xc53070d3 bcmwl5_sys_drv_data_start(e7209ac8,c4e2a000,0,c53d1000,c539d600) at bcmwl5_sys_drv_data_start+0xe5d6 x86_stdcall_wrap_end(c521d000,0,c,0,0) at x86_stdcall_wrap_end+0x1e ndis_attach(c4bb9300,c4c305a0,5,13,4312) at ndis_attach+0x17c ndis_attach_pci(c4bb9300) at ndis_attach_pci+0x374 device_attach(c4bb9300,c4bb9300,c4bb9300,0,c4ba8700) at device_attach+0x58 device_probe_and_attach(c4bb9300,c4bb9300,c4ba8700) at device_probe_and_attach+0xc4 pci_driver_added(c4bba100,c5356244) at pci_driver_added+0xd1 devclass_add_driver(c4b08440,c5356244,c52df600,c535630c,c4c25070) at devclass_add_driver+0xb7 driver_module_handler(c52df600,0,c5356318,c0872440,0) at driver_module_handler+0x59 module_register_init(c535630c) at module_register_init+0x4b linker_file_sysinit(c51ece00,c51ece00,1,c51ece00,c4c25070) at linker_file_sysinit+0x7d linker_load_file(c4c25070,e7209ca0,400,0,c4bd9800) at linker_load_file+0xce linker_load_module(c4bd9800,0,0,0,e7209ccc) at linker_load_module+0xa3 kldload(c4e06a80,e7209d04,1,0,292) at kldload+0xeb syscall(3b,3b,3b,1,bfbfec88) at syscall+0x2bf Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (304, FreeBSD ELF32, kldload), eip = 0x280bab77, esp = 0xbfbfebfc, ebp = 0xbfbfec38 --- db> Did somebody successfully use ndisgen generated driver for Dell Wireless 1490 802.11a/g Dual-band Mini Card? thanks in advance, Ganbold
Doug Barton
2006-Jul-22 06:26 UTC
ndisgen generated module load causes page fault, missing functions
Ganbold wrote:> Hi, > > I have FreeBSD-6.1-STABLE dell D620 laptop with Dell Wireless 1490 > 802.11a/g Dual-band Mini Card (which seems like bcm4310).In my experience, you should try various versions of the Windows driver. I have a 1400, and the very latest version of the driver does not work with NDIS, but the version previous to that does. hth, Doug -- This .signature sanitized for your protection