From owner-freebsd-hackers Mon Mar 24 15:50:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA20810 for hackers-outgoing; Mon, 24 Mar 1997 15:50:49 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA20805 for ; Mon, 24 Mar 1997 15:50:45 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id KAA11337; Tue, 25 Mar 1997 10:20:14 +1030 (CST) From: Michael Smith Message-Id: <199703242350.KAA11337@genesis.atrad.adelaide.edu.au> Subject: Re: "double fault" message In-Reply-To: <199703241702.MAA00456@bmcgover-pc.cisco.com> from Brian McGovern at "Mar 24, 97 12:02:52 pm" To: bmcgover@cisco.com (Brian McGovern) Date: Tue, 25 Mar 1997 10:20:13 +1030 (CST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Brian McGovern stands accused of saying: > I'm doing some kernel hacking, and my device driver is now getting the > messge 'panic: double fault', and rebooting. Can anyone let me know > what a 'double fault' is, so I can go looking for it? Thanks. In attempting to report the fault that occurred in your driver, another fault has occurred. The most likely cause of this is you smashing the stack. You should have DDB in your kernel if you are doing driver development. Are you by any chance allocating large data structures on the stack? Note that the kernel stack is only about 7.5k small. > -Brian -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[