From owner-freebsd-stable Fri Oct 11 9:53:21 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB53A37B401 for ; Fri, 11 Oct 2002 09:53:17 -0700 (PDT) Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65D5943EA9 for ; Fri, 11 Oct 2002 09:53:17 -0700 (PDT) (envelope-from kkuehl@cisco.com) Received: from sj-msg-av-1.cisco.com (sj-msg-av-1.cisco.com [171.69.11.151]) by sj-msg-core-1.cisco.com (8.12.2/8.12.2) with ESMTP id g9BGrBIm025300; Fri, 11 Oct 2002 09:53:11 -0700 (PDT) Received: from nisser.cisco.com (localhost [127.0.0.1]) by sj-msg-av-1.cisco.com (8.12.2/8.12.2) with ESMTP id g9BGrAwv004327; Fri, 11 Oct 2002 09:53:10 -0700 (PDT) Received: from kkuehlw2k01 (cisd-dhcp-21.cisco.com [171.70.39.220]) by nisser.cisco.com (8.8.6 (PHNE_14041)/CISCO.SERVER.1.2) with ESMTP id JAA05146; Fri, 11 Oct 2002 09:53:04 -0700 (PDT) Reply-To: From: "Kirby Kuehl (kkuehl)" To: "'Kevin Oberman'" Cc: Subject: RE: Freebsd 4.7-Stable kernel panic. Date: Fri, 11 Oct 2002 09:53:04 -0700 Message-ID: <000701c27146$ae19efe0$dc2746ab@amer.cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: <20021011161159.B80CB5D04@ptavv.es.net> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I do follow this routine: make buildworld make buildkernel KERNCONF=MYKERNEL make installkernel KERNCONF=MYKERNEL make installworld mergemaster I just turned off the MATH_EMULATE today when I was turning on the debugging options. I also turned off apm today in an effor to eliminate things I didn't need hoping to find the source of the panic. Kirby Kuehl -----Original Message----- From: Kevin Oberman [mailto:oberman@es.net] Sent: Friday, October 11, 2002 9:12 AM To: Kirby Kuehl Cc: freebsd-stable@freebsd.org Subject: Re: Freebsd 4.7-Stable kernel panic. > Date: Fri, 11 Oct 2002 08:16:50 -0700 (PDT) > From: Kirby Kuehl > Sender: owner-freebsd-stable@FreeBSD.ORG > > I do not believe this panic is hardware related as I am currently > composing this letter on the same system (I had a backup of my working > kernel) > Current Working Kernel: > FreeBSD kkuehl-fbsd.cisco.com 4.7-RC FreeBSD 4.7-RC #5: Fri Oct 4 > 09:51:47 PDT 2002 > root@kkuehl-fbsd.cisco.com:/usr/obj/usr/src/sys/ELITE i386 > > This IBM T30 Thinkpad has been running freebsd-stable happily for > approximately two months with the same kernel config. (I have attached > a diff between my kernel config and GENERIC) > > After cvsuping on 10/11/2002, building and installing world and > building and installing kernel and mergemastering I get an immediate > kernel panic. > > I then enabled the following in hopes of captureing a backtrace: > > Line from /etc/fstab showing swap partition: > /dev/ad0s1b none swap sw 0 0 > > Line from /etc/rc.conf enabling dumpdev: dumpdev="/dev/ad0s1b" > > Relevant lines from /usr/src/sys/i386/conf/MYKERNEL: > options DDB, DDB_UNATTENDED > makeoptions DEBUG=-g > > Unfortunately, the kernel panics/reboots (a second time) before it > copies the core from swap to /var/crash. > > Am I missing a step in obtaining a core / dump? Is there another > approach? I realize that this report is unhelpful without a backtrace. I can only speculate, but you did not mention doing "make installworld" between installing the new kernel and running mergemaster. It sounds like you installed the new world BEFORE building the kernel. This can be VERY dangerous! You now have an updated world that is out of sync with the old (working) kernel leaving you with no options except a complete re-build of the system. Sounds like you were lucky, though, and your old kernel still works. Please follow the handbook recommendation on rebuilding a system. Looking at your kernel, most things look OK. > -options MATH_EMULATE #Support for x87 emulation This is something I have not tried. I have always suspected that I could delete this, but have never done so. Possible issue. > # SCSI peripherals > -device scbus # SCSI bus (required) > -device da # Direct Access (disks) If you are really sure that you want will not plug any storage device into the USB, this is fine. > -device psm0 at atkbdc? irq 12 > +device psm0 at atkbdc? flags 0x20 irq 12 I found that I needed flags 0x2000 to keep the mouse on my T30 working. > # Power management support (see LINT for more options) > -device apm0 at nexus? disable flags 0x20 # Advanced Power Management > +#device apm0 at nexus? disable flags 0x20 # Advanced Power Management Seems odd to not use APM on a laptop, but it should not cause a crash. > -device wi You are disabling your wireless card if you have one. (You may want it that way.) Then again, noting your e-mail address, you might prefer a different wireless card. > -device umass # Disks/Mass storage - Requires scbus and da > +#device umass # Disks/Mass storage - Requires scbus and da This fits with the removed scbus and da above. Once again, you are forcing a kernel rebuild if you ever want to use one of these devices. That eliminates one of the USB's nice features. So I don't see anything that SHOULD cause a failure, but I am a bit suspicious of your elimination of option MATH_EMULATE. Guess I will have to upgrade my T30 and see what happens. Coincidentally, I last updated that system on Oct. 5, just hours after you did yours. I may be in the same hole you are in about an hour. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message