Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2010 17:23:12 +0000
From:      Paul B Mahol <onemda@gmail.com>
To:        Mark Moellering <mark@msen.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Ndis driver causes kernel problems on boot
Message-ID:  <AANLkTikLAPLDdk0iP=LW4Rf3q7a=FR7jbF22MfToRWK4@mail.gmail.com>
In-Reply-To: <4CB5E9F7.20203@msen.com>
References:  <4CB5E145.4030900@msen.com> <AANLkTi=N-L6EC%2Bv-=mCSrxVQr%2B1yzGkJwf5AmY1fsSqy@mail.gmail.com> <4CB5E9F7.20203@msen.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/13/10, Mark Moellering <mark@msen.com> wrote:
>   On 13-Oct-10 12:47 PM, Paul B Mahol wrote:
>> On 10/13/10, Mark Moellering<mark@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.
>>
> OK thanks.  How would I do that exactly (automatically).  I think I need
> to create a shell script to execute the kldload commands but I am not
> sure how/where I should call it.  Thanks for your help.  I am getting a
> little burned out from reading man pages.  Any and all help is apprciated

/etc/rc.local
>
> Thanks for your help.
>
> Mark Moellering
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikLAPLDdk0iP=LW4Rf3q7a=FR7jbF22MfToRWK4>