From nobody@FreeBSD.org  Tue Oct 18 07:50:45 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A334416A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Oct 2005 07:50:45 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9C5BC43D69
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Oct 2005 07:50:38 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9I7ocGG060540
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Oct 2005 07:50:38 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j9I7ob2w060536;
	Tue, 18 Oct 2005 07:50:37 GMT
	(envelope-from nobody)
Message-Id: <200510180750.j9I7ob2w060536@www.freebsd.org>
Date: Tue, 18 Oct 2005 07:50:37 GMT
From: Pietro Cerutti <pietro.cerutti@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kernel panics while kld-loading if_ndis
X-Send-Pr-Version: www-2.3

>Number:         87603
>Category:       kern
>Synopsis:       [if_ndis] [panic] kernel panics while kld-loading if_ndis
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 18 08:00:26 GMT 2005
>Closed-Date:    Mon Oct 24 17:29:49 GMT 2005
>Last-Modified:  Mon Oct 24 17:29:49 GMT 2005
>Originator:     Pietro Cerutti
>Release:        FreeBSD-5.4-RELEASE
>Organization:
-
>Environment:
FreeBSD gahr 5.4-RELEASE FreeBSD 5.4-RELEASE #8: Thu Sep  1 23:21:31 CEST 2005     piter@laptop-bienne.no-ip.org:/usr/obj/usr/src/sys/GAHR-20050830  i386
>Description:
kldload-ing if_ndis results in:
Fatal trap 18: integer divide fault while in kernel mode
instruction pointer     = 0x8:0xc052c60a
stack pointer           = 0x10:0xd53fbae4
frame pointer           = 0x10:0xd53fbaf4
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         = 523 (kldload)
trap number             = 18
panic: integer divide fault
Uptime: 32s
Cannot dump. No dump device defined.
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot,
--> or switch off the system now.
Rebooting...
>How-To-Repeat:
try to load if_ndis.
Some infos:
# grep ndis /var/run/dmesg.boot 
ndis0: <Intel(R) PRO/Wireless LAN 2100 3B Mini PCI Adapter> mem 0x90000000-0x90000fff irq 5 at device 2.0 on pci2
ndis0: NDIS API version: 5.1
ndis0: NDIS ERROR: c000138d (unknown error)
ndis0: NDIS NUMERRORS: 2
ndis0: argptr: 0
ndis0: argptr: 0
>Fix:
              
>Release-Note:
>Audit-Trail:

From: Pietro Cerutti <pietro.cerutti@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/87603: [if_ndis] [panic] kernel panics while kld-loading if_ndis
Date: Mon, 24 Oct 2005 13:35:13 +0200

 Hi all,
 it's fixed!!
 
 The problem was that my devices.hints was out to date...
 I kldxref-ed with the /boot/kernel and /boot/modules as arguments and
 kldload-ed the ndis module again, without problems!
 
 Thanx to all!
 --
 Pietro Cerutti
 <pietro.cerutti@gmail.com>
 
 Beansidhe - SwiSS Death / Thrash Metal
 <www.beansidhe.ch>
 
 Windows: "Where do you want to go today?"
 Linux: "Where do you want to go tomorrow?"
 FreeBSD: "Are you guys coming or what?"
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Oct 24 17:29:30 GMT 2005 
State-Changed-Why:  
Submitter notes that this was fixed by an update. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87603 
>Unformatted:
