From owner-freebsd-current@FreeBSD.ORG Sun Dec 26 02:09:38 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 1016716A4CE; Sun, 26 Dec 2004 02:09:38 +0000 (GMT) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.150.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93C3C43D1F; Sun, 26 Dec 2004 02:09:37 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 577724EFCDD; Sun, 26 Dec 2004 10:09:33 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 4CA5B4EFCDC; Sun, 26 Dec 2004 10:09:33 +0800 (CST) Date: Sun, 26 Dec 2004 10:09:33 +0800 (CST) From: Tai-hwa Liang To: Robert Watson In-Reply-To: Message-ID: <0412260955570.90805@www.mmlab.cse.yzu.edu.tw> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: Chuck Robey cc: FreeBSD-current@FreeBSD.org Subject: Re: Reboot instead of debugger/dump from X11? (Re: an accidental way to pull the plug) 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: Sun, 26 Dec 2004 02:09:38 -0000 On Sat, 25 Dec 2004, Robert Watson wrote: > On Sat, 25 Dec 2004, Chuck Robey wrote: > >> I got a little too fast just now, and did something that I shouldn't >> have done, but what's interesting is, FreeBSD decided to pull the plug >> and instantly reboot, which is usually something to be regarded as >> pathological, so I am letting you folks know. I haven't analyzed >> exactly what happened to cause it, actually. > > With the recent 802.11 panic I posted about a bit earlier, I saw something > rather odd: when the panic took place on the normal text console, the > system dropped to the debugger. However, when it took place with X11 > running, I got an "instant reboot" -- no dump, etc. So something odd is > happening during even normal failure modes when X11 is running for me. I > wonder if anyone else is seeing this? Just a "me too" for observing exactly the same symptom on a Thinkpad R40. At the first time I thought the reboot-without-panic-to-ddb was associated with improper kernel debug settings; however, after lots of fscking and rebooting, I finally realised that all I have to do is to disable xdm on startup and switch back to the text console. And yes, the panic was from if_wi. According to sys/ddb/db_main.c:195, it appears that the panic would never get into ddb if the console is unavailable. I'm curious about whether the doadump() would also be suppressed or not at that moment? > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > robert@fledge.watson.org Principal Research Scientist, McAfee Research > > >> >> Anyhow, I have been using FreeBSD as a fine platform for a Free database I >> am constructing for a buddy of mine who has a video rental store. The >> database, which was active at the time (the app is nearly complete) is >> made with Python, gtk, pygtk (obviously) and the Sleepycat database. I >> called those folks up and got the opinion that, as long as I didn't try to >> distribute the software, the way I'm handling it (for free) it generally >> falls under their free license, so I'm ok on that. >> >> Anyhow, I was talking screen dump pictures of the 6 data entry screens, in >> X11, using xv to grab the windows. I got a bit confused with mouse >> clicks, and actually asked it to do a grab while another grab was in delay >> wait (it has a timer delay, which I set to 5 seconds). Result: reboot, >> instant. >> >> I think that's it, although I will try to answer any questions. If you >> folks are all too tied up with your own projects, it won't bother me, I'm >> only trying to be conscientious about things. >> >> ---------------------------------------------------------------------------- >> Chuck Robey | Interests include C & Java programming, FreeBSD, >> chuckr@chuckr.org | electronics, communications, and SF/Fantasy. >> >> New Year's Resolution: I will not sphroxify gullible people into looking up >> fictitious words in the dictionary (on the wall at my old fraternity, >> Signa Phi Nothing).