Date: Mon, 29 Nov 2010 21:56:31 +0100 From: Attilio Rao <attilio@freebsd.org> To: Alexander Motin <mav@freebsd.org> Cc: David Rhodus <sdrhodus@gmail.com>, Gianni <gianni@freebsd.org>, freebsd-current@freebsd.org Subject: Re: panic: sched_priority: invalid priority 2906: nice 0, ticks 122865664 ftick 516947 ltick 517947 tick pri 2726 Message-ID: <AANLkTimAKS_PcnLb_8=zJq-mNd7B=wwoOYu_6LGYg3bk@mail.gmail.com> In-Reply-To: <4CF3E68C.4050300@FreeBSD.org> References: <AANLkTimy-2oSgy8E2D-=WO41%2BdSem8MY=ZNCSSH3bBt%2B@mail.gmail.com> <201011291007.37044.jhb@freebsd.org> <4CF3E68C.4050300@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/11/29 Alexander Motin <mav@freebsd.org>: > On 29.11.2010 17:07, John Baldwin wrote: >> >> On Friday, November 26, 2010 4:38:49 pm David Rhodus wrote: >>> >>> I hit this panic on my NFS server. >>> >>> -DR >>> >>> coke.fun dumped core - see /var/crash/vmcore.2 >>> >>> Fri Nov 26 14:50:48 UTC 2010 >>> >>> FreeBSD coke.fun 9.0-CURRENT FreeBSD 9.0-CURRENT #14 r215800: Wed Nov >>> 24 12:35:30 UTC 2010 =C2=A0 =C2=A0 root@coke.fun:/usr/obj/usr/src/sys/G= ENERIC >>> i386 >>> >>> panic: sched_priority: invalid priority 2906: nice 0, ticks 122865664 >>> ftick 516947 ltick 517947 tick pri 2726 >> >> I ran the numbers and assuming a hz of 1000, this requires you to have a >> very >> large value for ts_ticks (about (2726 * 24)<< =C2=A010). =C2=A0I suspect= this is due >> to >> sched_tick() being invoked for a long idle sleep combined with the >> eventtimer >> changes. =C2=A0Can you go to frame 10 and 'p td->td_sched->ts_ticks'? > > As I can see, this is VirtualBox virtual machine. So it is still a questi= on > what side makes so large hole in sched_tick() on some CPUs. It could be > interesting to get ktr(4) dump with KTR_SPARE2 mask: > > options =C2=A0 =C2=A0 =C2=A0 =C2=A0 KTR > options =C2=A0 =C2=A0 =C2=A0 =C2=A0 ALQ > options =C2=A0 =C2=A0 =C2=A0 =C2=A0 KTR_ALQ > options =C2=A0 =C2=A0 =C2=A0 =C2=A0 KTR_ENTRIES=3D131072 > options =C2=A0 =C2=A0 =C2=A0 =C2=A0 KTR_COMPILE=3D(KTR_SPARE2) > options =C2=A0 =C2=A0 =C2=A0 =C2=A0 KTR_MASK=3D(KTR_SPARE2) I'm sure gianni (CC'ed) got this bug and got some conclusions on it before (maybe he also has a patch). Attilio --=20 Peace can only be achieved by understanding - A. Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimAKS_PcnLb_8=zJq-mNd7B=wwoOYu_6LGYg3bk>