From owner-freebsd-current@FreeBSD.ORG Fri Apr 11 18:56:15 2003 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 A0F7537B401 for ; Fri, 11 Apr 2003 18:56:15 -0700 (PDT) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id F285943F85 for ; Fri, 11 Apr 2003 18:56:14 -0700 (PDT) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h3C1sFZ23193; Fri, 11 Apr 2003 18:54:15 -0700 Received: from btc.btc.adaptec.com ([10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id SAA17292; Fri, 11 Apr 2003 18:56:00 -0700 (PDT) Received: from btc.adaptec.com (hollin [10.100.253.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id TAA04164; Fri, 11 Apr 2003 19:55:53 -0600 (MDT) Message-ID: <3E977178.6070009@btc.adaptec.com> Date: Fri, 11 Apr 2003 19:52:56 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20021216 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steve Kargl References: <20030412000454.GC90697@troutmask.apl.washington.edu> <20030411210335.D37530-100000@mail.chesapeake.net> <20030412015315.GA91468@troutmask.apl.washington.edu> In-Reply-To: <20030412000454.GC90697@troutmask.apl.washington.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Jeff Roberson cc: current@freebsd.org Subject: Re: ULE nice bugs are fixed. 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: Sat, 12 Apr 2003 01:56:15 -0000 Steve Kargl wrote: > On Fri, Apr 11, 2003 at 09:04:16PM -0400, Jeff Roberson wrote: > > >On Fri, 11 Apr 2003, Steve Kargl wrote: > > > > > >>On Fri, Apr 11, 2003 at 06:30:26PM -0400, Jeff Roberson wrote: > >> > >>>Line 303 and 647 of ffs_snapshot. Change the > "td->td_ksegrp->kg_nice = x" > >>>to "sched_nice(td->td_ksegrp, x);" let me know if that fixes it (it > >>>will). > >>> > >> > >>The above with the additional of sys/sched.h fixes > >>the panics I have had. Unfortunately linux-mozilla > >>still silently reboots my laptop. I'm assuming that > >>the linux-mozilla problem is signal related. > > > >It just spontaneously reboots? Can you start it from a console so > you can > >get into ddb when it panics? Does this panic with sched_4bsd? > > > > > linux-mozilla appears to work with 4BSD. With ULE, the machine > freezes about 6 seconds after I start linux-mozilla, then 90 > seconds later it reboots. There is no message written into > /var/log/messages. I tried running ktrace, but ktrace did > not write out the trace file before the reboot. I need to > mount /proc and try truss. Also, I load linux.ko and > linux.procfs at boot. > Files like /var/log/messages won't contain anything useful when the kernel panics. Your best bet is to set up a serial console. Scott