Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2007 20:43:45 -0500
From:      Doug Poland <doug@polands.org>
To:        questions@freebsd.org
Subject:   ndis wrapped Intel wireless driver causes panic
Message-ID:  <20070814014345.GA9824@polands.org>

next in thread | raw e-mail | index | archive | help
Hello,

I've got an HP/Compaq nx7400 and am having trouble with kernel loadable
object generated by ndisgen.  (6.2-STABLE, i386).

Following the man page for ndisgen(4), I have the following files:

-rwx------  1 dpoland  wheel    27546 May  4 14:14:52 2007 NETw4x32.CAT*
-rwx------  1 dpoland  wheel   180005 May  4 14:14:52 2007 NETw4x32.INF*
-rwx------  1 dpoland  wheel  2206976 May  4 14:14:52 2007 NETw4x32.SYS*
-rwxr-xr-x  1 root     wheel  4185539 Aug 13 16:42:25 2007 NETw4x32_SYS.ko*

I've copied the .ko file to /boot/kernel and when I type:

root# kldload NETw4x32_SYS

the system panics.


Aug 13 16:44:42 hpnx7400 kernel: no match for NdisIMCopySendPerPacketInfo
Aug 13 16:44:42 hpnx7400 kernel: no match for strncat
Aug 13 16:44:42 hpnx7400 kernel: no match for KeQuerySystemTime
Aug 13 16:44:42 hpnx7400 kernel: no match for KeBugCheckEx
Aug 13 16:44:42 hpnx7400 kernel: no match for KeTickCount
Aug 13 16:44:42 hpnx7400 kernel: ndis0: <Intel(R) PRO/Wireless 3945ABG Network Connection> mem 0xf4000000-0xf4000fff irq 17 at device 0.0 on pci16
Aug 13 16:44:42 hpnx7400 kernel: ndis0: NDIS API version: 5.1
Aug 13 16:44:42 hpnx7400 kernel: ndis0: NDIS ERROR: 40001b7c (unknown error)
Aug 13 16:44:42 hpnx7400 kernel: ntoskrnl dummy called...
Aug 13 16:44:42 hpnx7400 last message repeated 15 times
Aug 13 16:44:42 hpnx7400 kernel: 
Aug 13 16:44:42 hpnx7400 kernel: 
Aug 13 16:44:42 hpnx7400 kernel: Fatal trap 12: page fault while in kernel mode
Aug 13 16:44:42 hpnx7400 kernel: cpuid = 1; apic id = 01
Aug 13 16:44:42 hpnx7400 kernel: fault virtual address       = 0x48
Aug 13 16:44:42 hpnx7400 kernel: fault code          = supervisor read, page not present
Aug 13 16:44:42 hpnx7400 kernel: instruction pointer = 0x20:0xc06a38ca
Aug 13 16:44:42 hpnx7400 kernel: stack pointer               = 0x28:0xebbfa5f0
Aug 13 16:44:42 hpnx7400 kernel: frame pointer               = 0x28:0xebbfa5f0
Aug 13 16:44:42 hpnx7400 kernel: code segment                = base 0x0, limit 0xfffff, type 0x1b
Aug 13 16:44:42 hpnx7400 kernel: = DPL 0, pres 1, def32 1, gran 1
Aug 13 16:44:42 hpnx7400 kernel: processor eflags    = interrupt enabled, resume, IOPL = 0
Aug 13 16:44:42 hpnx7400 kernel: current process             = 5822 (kldload)
Aug 13 16:44:42 hpnx7400 kernel: trap number         = 12
Aug 13 16:44:42 hpnx7400 kernel: panic: page fault
Aug 13 16:44:42 hpnx7400 kernel: cpuid = 1
Aug 13 16:44:42 hpnx7400 kernel: Uptime: 8m45s
Aug 13 16:44:42 hpnx7400 kernel: Cannot dump. No dump device defined.
Aug 13 16:44:42 hpnx7400 kernel: Automatic reboot in 15 seconds - press a key on the console to abort
Aug 13 16:44:42 hpnx7400 kernel: Rebooting...
Aug 13 16:44:42 hpnx7400 kernel: cpu_reset: Stopping other CPUs

I've googled around but haven't been able to identify a solution.  Any
help would be greatly appreciated.


-- 
Regards,
Doug



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