From owner-freebsd-current@FreeBSD.ORG Sun Jan 4 05:48:44 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 2DD3016A4CE; Sun, 4 Jan 2004 05:48:44 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DF5043D5A; Sun, 4 Jan 2004 05:48:42 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id AAA05480; Mon, 5 Jan 2004 00:48:40 +1100 Date: Mon, 5 Jan 2004 00:48:38 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Don Lewis In-Reply-To: <200401030401.i0341O7E003439@gw.catspoiler.org> Message-ID: <20040105003929.Y631@gamplex.bde.org> References: <200401030401.i0341O7E003439@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@FreeBSD.org cc: shoesoft@gmx.net Subject: Re: page fault panic tracked down (selwakeuppri()) 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, 04 Jan 2004 13:48:44 -0000 On Fri, 2 Jan 2004, Don Lewis wrote: > On 2 Jan, Stefan Ehmann wrote: > > dsp as sole cause is also unlikely because I've been listening for > > longer times from cdrom/ufs2 without panics. > > I wouldn't rule out the dsp, since you audio player software may be > calling select() on the fd for the audio device. You might want to back > out Bruce's quick hack and change the second argument to selwakeuppri() > to -1 in chn_wakeup() in dev/sound/pcm/channel.c. > ... My not seeing any problems is consistent with my not using any sound drivers. Did you rule out an invalid file system? I just tested -current and was reminded that it doesn't reboot cleanly if ext2fs is mounted. The unclean reboot doesn't affect r/o mounts of ext2fs. OTOH, r/o mounts of dirty file systems are permitted and there is no easy way to fsck ext2fs file systems under FreeBSD. (I use fsck.ext2fs from the e2fsprogs port, but it still needs a block device or filesystem image to work correctly so it hasn't been easy to use since block devices were axed. I sometimes copy file systems to regular files to use it.) Bruce