From owner-freebsd-current@FreeBSD.ORG Thu Apr 22 15:18:33 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C6BD16A4CE for ; Thu, 22 Apr 2004 15:18:33 -0700 (PDT) Received: from itesec.hsc.fr (itesec.hsc.fr [192.70.106.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id EACD643D49 for ; Thu, 22 Apr 2004 15:18:32 -0700 (PDT) (envelope-from yb@sainte-barbe.org) Received: from taz.hsc.fr (taz.hsc.fr [192.70.106.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "taz.hsc.fr", Issuer "HSC CA" (verified OK)) by itesec.hsc.fr (Postfix) with ESMTP id 6193B21084 for ; Fri, 23 Apr 2004 00:18:30 +0200 (CEST) Received: by taz.hsc.fr (Postfix, from userid 1001) id 4F52F3F78; Fri, 23 Apr 2004 00:18:36 +0200 (CEST) Date: Fri, 23 Apr 2004 00:18:36 +0200 From: Yann Berthier To: current@freebsd.org Message-ID: <20040422221836.GA715@hsc.fr> Mail-Followup-To: current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Herve Schauer Consultants X-Web: http://www.hsc.fr/ X-Operating-System: FreeBSD 5.2-CURRENT User-Agent: Mutt/1.5.6i Subject: [Evil project] / ibm thinkpad t41 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 22:18:33 -0000 Hello list, My kernel jump to ddb whenever i try to load if_ndis.ko. I always thought it was the result of a pilot error as others seem to have a better mileage than me on this subject, but as i never had any success with any kernel i tried, i will gladly welcome any input. so, with a today kernel, the usual goat sacrifice and the following actions: # cd /sys/modules/ndis # make; make load # cd /sys/modules/if_ndis # ndiscvt -i w70n51.inf -s w70n51.sys -o ndis_driver_data.h # make; make load i get the following (hand copied) ddb output: pci0: driver added pci0:31:3: reprobing on driver added pci1: driver added pci2: driver added pci2:2:0: reprobing on driver added ndis0: mem 0xc0210000-0xc0210fff irq 11 at device 2.0 on pci2 ndis0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xc0210000 ndis0: [GIANT-LOCKED] can't re-use a leaf (ESS_ID)! Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x84f7eb90 fault code = supervisor read, page not present instruction pointer = 0x8 :0xc494fce9 stack pointer = 0x10 :0xe7f23924 frame pointer = 0x10 :0xe7f2397c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 604 (kldload) kernel: type 12 trap, code=0 Stopped at pe_relocate+0x6b: movl 0x4(%esi),%eax db> I can live without it but anyway it would be nice to see my intel 2100 3B working - if a t41 owner has solved the problem, please let me know - yann