From owner-freebsd-hackers Mon Jul 21 14:03:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA11342 for hackers-outgoing; Mon, 21 Jul 1997 14:03:20 -0700 (PDT) Received: from Octopussy.MI.Uni-Koeln.DE (Octopussy.MI.Uni-Koeln.DE [134.95.166.20]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id OAA11336 for ; Mon, 21 Jul 1997 14:03:15 -0700 (PDT) Received: from x14.mi.uni-koeln.de (annexr2-44.slip.Uni-Koeln.DE) by Octopussy.MI.Uni-Koeln.DE with SMTP id AA02394 (5.67b/IDA-1.5 for ); Mon, 21 Jul 1997 23:03:13 +0200 Received: (from se@localhost) by x14.mi.uni-koeln.de (8.8.6/8.6.9) id XAA10899; Mon, 21 Jul 1997 23:03:08 +0200 (CEST) X-Face: " Date: Mon, 21 Jul 1997 23:03:08 +0200 From: Stefan Esser To: Vinay Bannai Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Kernel panic in driver probe() routine References: <199707211858.LAA03148@agni.nuko.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 In-Reply-To: <199707211858.LAA03148@agni.nuko.com>; from Vinay Bannai on Mon, Jul 21, 1997 at 11:58:10AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Jul 21, Vinay Bannai wrote: > Hey folks, > > Is it a bad thing to free up memory in the probe() routine for a pci > driver in the event of something going wrong? > > It appears that whenever I do that the kernel panics saying > page fault in kernel mode Could you send me your probe code ? Most probably, there is something else going wrong ... > I have seen other probe() routines for other drivers do that. Yes, it should not cause any problems. Regards, STefan