Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 1997 10:20:13 +1030 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        bmcgover@cisco.com (Brian McGovern)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: "double fault" message
Message-ID:  <199703242350.KAA11337@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199703241702.MAA00456@bmcgover-pc.cisco.com> from Brian McGovern at "Mar 24, 97 12:02:52 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703242350.KAA11337>