SOLVED Re: BETA5 regression - reboots -reproducible

From: Ion-Mihai Tetcu <itetcu_at_people.tecnik93.com>
Date: Mon, 20 Sep 2004 23:40:07 +0300
On Sun, 19 Sep 2004 12:19:53 +0300
Ion-Mihai Tetcu <itetcu_at_people.tecnik93.com> 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)_at_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 :-)
Received on Mon Sep 20 2004 - 18:40:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:12 UTC