From owner-freebsd-current@FreeBSD.ORG Mon Sep 20 20:40:10 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 12A0116A4CE; Mon, 20 Sep 2004 20:40:10 +0000 (GMT) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F02E43D3F; Mon, 20 Sep 2004 20:40:09 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with SMTP id 97D0E4F; Mon, 20 Sep 2004 23:40:07 +0300 (EEST) Date: Mon, 20 Sep 2004 23:40:07 +0300 From: Ion-Mihai Tetcu To: Ion-Mihai Tetcu Message-ID: <20040920234007.738e053b@it.buh.tecnik93.com> In-Reply-To: <20040919121953.5de84a64@it.buh.tecnik93.com> References: <20040919121953.5de84a64@it.buh.tecnik93.com> X-Mailer: Sylpheed-Claws 0.9.12a (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-emulation@FreeBSD.org cc: freebsd-current@freebsd.org Subject: SOLVED Re: BETA5 regression - reboots -reproducible 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: Mon, 20 Sep 2004 20:40:10 -0000 On Sun, 19 Sep 2004 12:19:53 +0300 Ion-Mihai Tetcu wrote: > Hi, > > > The "good" news is the it happens every time. The bad one - nothing > logged and no idea what it happens. [...] > The problem: > Each time I try to play a video file with gmplayer or mplayer the system > reboots; no error logged. > > This is a ULE, apic, agp kernel, with witness (but running with or without > debug.witness.watch makes no difference) and invariants (see attached > conf file); > root(root)@it> /root [12:08:43] 0 # ll /etc/malloc.conf > lrwxr-xr-x 1 root wheel 2 Sep 7 13:16 /etc/malloc.conf -> aj I've isolated the problem to commits on 14.09 and emulators/rtc. The world is from 17.09 mplayer-gtk-esound-0.99.5_2 port built on 10.09 with rtc support rtc-2004.02.24.1_4 port was built on 7.09 With kernel from 13.09 there's no problem. With kernel from 14.09 with rtc.ko loaded I get instant reboot; With kernel from 14.09 *without* rtc.ko loaded (/usr/local/etc/rd.d/rtc.sh start) all is OK. After rebuilding rtc the system doesn't reboot anymore. Please add a note about this in src/UPDATING. At a _very_ first glance, the only file changed on 14.09 that affects directly rtc is src/sys/sys/conf.h, but of course I might be wrong here; other might be src/sys/kern/kern_event.c src/sys/kern/subr_witness.c phk 2004-09-14 05:49:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/sys conf.h Log: Add three spare fields to reserve room so we can MFC the in-progress work on safe device removal at a later date without breaking binary compatibility on the RELENG_5 branch. Approved by: re::scottl Revision Changes Path 1.190.2.1 +6 -0 src/sys/sys/conf.h This are the source commits from 14.09: # grep Edit /root/cvsup.14 | grep '\.[ch]' Edit src/etc/devd.conf Edit src/sbin/bsdlabel/bsdlabel.c Edit src/sbin/gbde/gbde.c Edit src/sbin/geom/class/mirror/geom_mirror.c Edit src/sbin/geom/class/raid3/geom_raid3.c Edit src/sbin/geom/class/stripe/geom_stripe.c Edit src/sbin/geom/core/geom.c Edit src/sbin/ipfw/ipfw2.c Edit src/sbin/mdconfig/mdconfig.c Edit src/sys/dev/mii/ciphy.c Edit src/sys/dev/mii/ciphyreg.h Edit src/sys/dev/re/if_re.c Edit src/sys/dev/sound/pcm/sndstat.c Edit src/sys/dev/vge/if_vge.c Edit src/sys/dev/vge/if_vgereg.h Edit src/sys/dev/vge/if_vgevar.h Edit src/sys/geom/bde/g_bde_crypt.c Edit src/sys/geom/bde/g_bde_lock.c Edit src/sys/geom/concat/g_concat.c Edit src/sys/geom/label/g_label.c Edit src/sys/geom/mirror/g_mirror.c Edit src/sys/geom/nop/g_nop.c Edit src/sys/geom/raid3/g_raid3.c Edit src/sys/geom/raid3/g_raid3.h Edit src/sys/geom/raid3/g_raid3_ctl.c Edit src/sys/geom/stripe/g_stripe.c Edit src/sys/kern/kern_event.c Edit src/sys/kern/subr_witness.c Edit src/sys/net/bpf.c Edit src/sys/net/bpfdesc.h Edit src/sys/net/if.c Edit src/sys/netinet/ip_dummynet.c Edit src/sys/netinet/ip_output.c Edit src/sys/sys/conf.h Edit src/tools/tools/raidtest/raidtest.c Edit src/usr.sbin/sysinstall/devices.c -- IOnut Unregistered ;) FreeBSD "user" 5.3-BETA4 - try `sysctl debug.witness_watch=0` and prepare to fly :-)