Ndis driver causes kernel problems on boot
Paul B Mahol
onemda at gmail.com
Wed Oct 13 16:47:54 UTC 2010
On 10/13/10, Mark Moellering <mark at msen.com> wrote:
> I created a driver for my rtl8187 SE in my MSI Wind netbook using ndisgen.
> I placed the driver , rtl8187Se_sys.ko in /boot/modules
>
> I added rtl8187Se_sys_load="YES" in /boot/loader.conf
>
> I can kldload rtl8187Se_sys and everything seems OK.
> If I reboot, however, I get the following error during boot (truncated
> to what I think is the relevant info);
>
> Fata trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address = 0xf00032d4
> fault code = supervisor read, page not present
> ...
> current process = 12 (swi4: clock)
>
> I am a little lost at this point. If I start in bootloader prompt mode,
> I type;
> OK> unload
> OK> load /boot/kernel/kernel
> OK> boot
>
> and everything works fine.
>
> Any and all help is appreciated.
Some miniport drivers (or newer versions of drivers) tend to cause this.
Workaround is to not use loader.conf to load miniport driver (in your
case it is rtl8187Se_sys.ko) and instead load them (manually or
automatically) after boot.
More information about the freebsd-questions
mailing list