Date: Wed, 23 Jun 2010 00:17:39 +0300 From: Alexander Motin <mav@FreeBSD.org> To: Doug Barton <dougb@FreeBSD.org> Cc: freebsd-current@FreeBSD.org Subject: Re: Timer panic on boot (r209434) Message-ID: <4C212873.5010807@FreeBSD.org> In-Reply-To: <4C212460.1070200@FreeBSD.org> References: <4C211538.1040808@FreeBSD.org> <4C2115D2.5080504@FreeBSD.org> <4C2118D1.3080903@FreeBSD.org> <4C212460.1070200@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote: > On 06/22/10 13:10, Alexander Motin wrote: >> Doug Barton wrote: >>> On 06/22/10 12:55, Doug Barton wrote: >>>> Howdy, >>>> >>>> I tried upgrading from r209351 to r209434 and got a panic related >>>> to the timer stuff while booting. You can see the panic and the >>>> backtrace here: >>>> >>>> http://people.freebsd.org/~dougb/timer-panic-1.jpg >>>> http://people.freebsd.org/~dougb/timer-panic-2.jpg >>>> http://people.freebsd.org/~dougb/timer-panic-3.jpg >>> Hmmm, that could use a little more detail. :) I have a Dell laptop >>> with a core 2 duo processor, running 9-current SMP i386. >> Your ACPI seems reports that attimer uses IRQ2, instead of usual >> IRQ0. It is either a bug, or it is a very rare feature. >> >> I am not sure it is not a hack, but you may try attached patch. > > Ok, I updated to r209441, then applied your patch. FYI, I applied it in > src/sys/x86/isa/ using -p2. This allowed me to boot, verbose dmesg is at > http://people.freebsd.org/~dougb/dmesg-verbose-norid-patch.txt > >> If it helps, it would be nice it you tried to use i8254 event timer, >> to check is this a bug or feature. > > Ok, I'm willing to give that a try if you tell me how. :) Run `sysctl kern.eventtimer.timer2=i8254`, then after few seconds check messages to see if system liked this timer (it should fall back automatically if it's not), then check 'vmstat -ia' to see whether irq0 interrupts are arriving, then run 'systat -vm 1' to be absolutely sure. If `vmstat -ia` won't show irq0 interrupts, try to figure out what else can arrive instead of it. -- Alexander Motin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C212873.5010807>