From owner-freebsd-questions@FreeBSD.ORG Wed Oct 13 16:47:54 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 0B5A4106564A for ; Wed, 13 Oct 2010 16:47:54 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id D306D8FC13 for ; Wed, 13 Oct 2010 16:47:53 +0000 (UTC) Received: by pxi4 with SMTP id 4so870425pxi.13 for ; Wed, 13 Oct 2010 09:47:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=U8nDq2gPRePSk62yaD7XO/J2XPgBh1lI2J3duQBrQ2g=; b=RND6DLQ7UaxnOcYkzc3R5YyiBXuyoH/jot6Wlff0oOFJCPuxRZhYR3wMApSQqC6Hip TJYrPS2/mA/I96RUqoSubh30IlB+LI/LSgXsu8PgQndbn5cS1H/331DwYmWA0cZZ3BqY 1Fh5w+K6dIowLGzDlTtDcUwT5tuX6JvEj9/1M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=oWpNbV4O509aPN4yeD6UwNMNmPF3L+pHFUmWvZczQE3DeXfg0imJ6FUensxBuZ3mNA 1Ke2183UvNqTCTAf+KrwhGQlJICSVXxyZmmq31j3wKecSzzJ1Aey89DdthvJnyLu9pVR pUTyRRWWO/azH6Ud2XdF+GKKVLddAw6kNSV5Q= MIME-Version: 1.0 Received: by 10.142.143.1 with SMTP id q1mr7805703wfd.32.1286988473248; Wed, 13 Oct 2010 09:47:53 -0700 (PDT) Received: by 10.220.178.1 with HTTP; Wed, 13 Oct 2010 09:47:52 -0700 (PDT) In-Reply-To: <4CB5E145.4030900@msen.com> References: <4CB5E145.4030900@msen.com> Date: Wed, 13 Oct 2010 16:47:52 +0000 Message-ID: From: Paul B Mahol To: Mark Moellering Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD 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 16:47:54 -0000 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.