From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 15:29:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE5A410656A9 for ; Sat, 11 Oct 2008 15:29:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id 9DAC88FC19 for ; Sat, 11 Oct 2008 15:29:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA01.westchester.pa.mail.comcast.net with comcast id RPsU1a00B0EZKEL51TV7r8; Sat, 11 Oct 2008 15:29:07 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id RTV61a0072P6wsM3MTV7lA; Sat, 11 Oct 2008 15:29:07 +0000 X-Authority-Analysis: v=1.0 c=1 a=bKFI1V7vIZwA:10 a=019SSKKqBqYA:10 a=QycZ5dHgAAAA:8 a=7_7C8j1590Q-qYNVd-gA:9 a=Rxcnnx_F8P5dx0B15gsA:7 a=tng5PAh2mxT6OX3TiJPsdSUUN0UA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 70BF8C9419; Sat, 11 Oct 2008 08:29:06 -0700 (PDT) Date: Sat, 11 Oct 2008 08:29:06 -0700 From: Jeremy Chadwick To: Tuc Message-ID: <20081011152906.GB65652@icarus.home.lan> References: <200810111522.m9BFMM03097961@setup.house.tucs-beachin-obx-house.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810111522.m9BFMM03097961@setup.house.tucs-beachin-obx-house.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Worth persuing a KDB: stack backtrace: ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 15:29:09 -0000 On Sat, Oct 11, 2008 at 11:22:21AM -0400, Tuc wrote: > I have a 5.5-STABLE laptop thats been having issues lately, mostly > related to memory. I bought new chips, and I think I narrowed it down to one > of the Dimm slots being bad. I did a memtest for 25 hours and it seemed stable. memtest86+ would definitely detect a DIMM slot being bad, so running it for 25 hours successfully means the DIMM and the DIMM slot is likely fine. > I started up and started downloading a backup of over 5K emails. (All have > to go through mimedefang, procmail and sendmail... So the system was a bit > sluggish. I started to get things like : > > Oct 10 22:06:29 himinbjorg kernel: KDB: stack backtrace: > Oct 10 22:06:29 himinbjorg kernel: kdb_backtrace(c3053200,1,dbb54c04,dbb54bf0,c0 > 73ba78) at kdb_backtrace+0x29 > Oct 10 22:06:29 himinbjorg kernel: getdirtybuf(dbb54be0,0,1,cc1c81e8,1) at getdi > rtybuf+0x27 > Oct 10 22:06:29 himinbjorg kernel: flush_deplist(c305354c,1,dbb54c04) at flush_d > eplist+0x34 > Oct 10 22:06:29 himinbjorg kernel: flush_inodedep_deps(c216d000,715e,c089bcf8,c0 > 808b16,ef) at flush_inodedep_deps+0x7d > Oct 10 22:06:29 himinbjorg kernel: softdep_sync_metadata(dbb54ca0) at softdep_sy > nc_metadata+0x8c > Oct 10 22:06:29 himinbjorg kernel: ffs_fsync(dbb54ca0) at ffs_fsync+0x33e > Oct 10 22:06:29 himinbjorg kernel: fsync(c3549600,dbb54d04,1,1,286) at fsync+0x1 > 03 > Oct 10 22:06:29 himinbjorg kernel: syscall(2f,2f,bfbf002f,80fef20,0) at syscall+ > 0x227 > Oct 10 22:06:29 himinbjorg kernel: Xint0x80_syscall() at Xint0x80_syscall+0x1f > Oct 10 22:06:29 himinbjorg kernel: --- syscall (95, FreeBSD ELF32, fsync), eip = > 0x28181ca7, esp = 0xbfbf6d1c, ebp = 0xbfbf86e8 --- This looks more like a filesystem problem, not a memory problem. All of the functions listed in the backtrace show UFS/FFS problems and filesystem metadata issues of some kind. Booting the machine in single-user mode and run "fsck -y". I'm betting you'll find errors. If not, then it's probably a kernel bug -- see below, however. I doubt you're going to get much support on this, since you're running FreeBSD 5.5, which is no longer supported. Believe me: you will get continual push-back from the rest of the FreeBSD developers asking for support on 5.5. The RELENG_6 series is on its way out as well, so you should consider installing RELENG_7 (specifically 7.1-BETA at this point). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |