From owner-freebsd-questions@FreeBSD.ORG Wed Oct 13 17:23:13 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 378B1106564A for ; Wed, 13 Oct 2010 17:23:13 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0C7558FC13 for ; Wed, 13 Oct 2010 17:23:12 +0000 (UTC) Received: by pvg7 with SMTP id 7so441035pvg.13 for ; Wed, 13 Oct 2010 10:23:12 -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=PJyIMd7qVx21ebIaqsm2HzoP1ObcmZ2u30dSssMDpdQ=; b=nP0gRKn3O/afhBEuTSt7kBw/WGncTa7I5VPCAKgUDNhRCXvWGNtQZxtspdw/0LlH7J G7cfGttljra+IqYfDkqE8FLnRoi7uSirTXwg295iJUuAPFO9T0wdh7M8SosdOv+6qcg9 d0J79Vp6Gs7Ik9Ctz42FnsetgUwIl60TZaeVM= 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=oae0b10yydAF72ei7DzlSlIeU/RVE6PzKdJMl6xeIx1qfAQ8wcZTdysAtzyKuJk4xG J0YBwekE9lRXj+am9+FPtOlaFcH3Y7OCp5usD/yo3rgnFhEVTQmPJ+6w0ZPCYosDVUDc 5Nll8MfNwzGay3mgarb51QVGidQhljXgIwiO4= MIME-Version: 1.0 Received: by 10.143.41.2 with SMTP id t2mr7846739wfj.156.1286990592505; Wed, 13 Oct 2010 10:23:12 -0700 (PDT) Received: by 10.220.178.1 with HTTP; Wed, 13 Oct 2010 10:23:12 -0700 (PDT) In-Reply-To: <4CB5E9F7.20203@msen.com> References: <4CB5E145.4030900@msen.com> <4CB5E9F7.20203@msen.com> Date: Wed, 13 Oct 2010 17:23:12 +0000 Message-ID: From: Paul B Mahol To: Mark Moellering Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org 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:23:13 -0000 On 10/13/10, Mark Moellering wrote: > 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 /etc/rc.local > > Thanks for your help. > > Mark Moellering >