From owner-freebsd-questions@FreeBSD.ORG Wed Oct 13 17:18:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFB231065675 for ; Wed, 13 Oct 2010 17:18:50 +0000 (UTC) (envelope-from mark@msen.com) Received: from shell.msen.com (msen.com [148.59.86.2]) by mx1.freebsd.org (Postfix) with ESMTP id 74D688FC18 for ; Wed, 13 Oct 2010 17:18:50 +0000 (UTC) X-Sent-To: freebsd-questions@freebsd.org Received: from [192.168.1.111] (c-68-40-255-141.hsd1.mi.comcast.net [68.40.255.141]) (authenticated bits=0) by shell.msen.com (8.14.3/8.14.3) with ESMTP id o9DHInCV044959; Wed, 13 Oct 2010 13:18:49 -0400 (EDT) (envelope-from mark@msen.com) Message-ID: <4CB5E9F7.20203@msen.com> Date: Wed, 13 Oct 2010 13:18:47 -0400 From: Mark Moellering User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4CB5E145.4030900@msen.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=68.40.255.141; envelope-from= Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=68.40.255.141; helo=[192.168.1.111] X-Milter: Spamilter (Reciever: shell.msen.com; Sender-ip: 68.40.255.141; Sender-helo: [192.168.1.111]; ) Cc: onemda@gmail.com Subject: Re: Ndis driver causes kernel problems on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 17:18:50 -0000 On 13-Oct-10 12:47 PM, Paul B Mahol wrote: > On 10/13/10, Mark Moellering 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 Thanks for your help. Mark Moellering