Re: APIC-UP related panic

From: Harald Schmalzbauer <h_at_schmalzbauer.de>
Date: Tue, 11 Nov 2003 02:20:03 +0100
On Monday 10 November 2003 19:33, John Baldwin wrote:
> On 08-Nov-2003 Harald Schmalzbauer wrote:
> > On Thursday 06 November 2003 17:33, John Baldwin wrote:
> >> On 06-Nov-2003 Harald Schmalzbauer wrote:
> >> > Hello,
> >> >
> >> > I have one reproducable panic with sources from 04. Nov when enabling
> >> > "device apic" in the kernel.
> >> > While building OpenOffice about 1 1/2 hours after start the system
> >> > reboots. This is absolutely reproducable. Removing device apic from
> >> > the kernel solves the problem!
*SNIP*
> >> Can you try the patch at
> >> http://www.FreeBSD.org/~jhb/patches/spurious.patch
> >
> > Regrettably this hasn't helped. The machine crashed aigain when building
> > OpenOffice. This time I have something different in messages:
> > Nov  7 19:51:27 cale syslogd: kernel boot file is /boot/kernel/kernel
> > Nov  7 19:51:27 cale kernel: panic: Couldn't get vector from ISR!
> > Nov  7 19:51:27 cale kernel:
> > Nov  7 19:51:27 cale kernel: syncing disks, buffers remaining... 2202
> > 2202 2202 2202 2202 2202 2202
> > 2202 2202 2202 2202 2202 2202 2202 2202 2202 2202 2202 2202 2202
> > Nov  7 19:51:27 cale kernel: giving up on 1109 buffers
> > Nov  7 19:51:27 cale kernel: Uptime: 3h57m51s
> > Nov  7 19:51:27 cale kernel: Shutting down ACPI
> > Nov  7 19:51:27 cale kernel: Automatic reboot in 15 seconds - press a key
> > on the console to abort
> > Nov  7 19:51:27 cale kernel: Rebooting...
> >
> > Let me know if I can help. Should I build a debug-kernel? I think that
> > doesn't help too much since the machine rebootos immediately, so I have
> > no chance to type anything like trace.
>
> Ok.  The problem is that when the spurious interrupt is triggered, it
> doesn't set a bit in the ISR.  Hmm, can you try using 'options
> NO_MIXED_MODE' instead?

Uhm, I don't really understand what's going on. Also I haven't found anything 
about NO_MIXED_MODE but I made the usual kernel (-current from Nov.09, 
without the spurious patch) with "device apic" and "options NO_MIXED_MODE".
Now quake2forge compiled successfully (which also crashed the machine with the 
last apic kernel) also OpenOffice compiles fine.
I see one difference in dmesg:
Timecounter shows now "ACPI-fast" like with a previous SMP-kernel instead of 
"ACPI-safe" like wth the UP kernel. Just for info attached the new dmesg.


Do you have any enlightning link for me about apic and NO_MIXED_MODE?

Thanks a lot,

-Harry



Received on Mon Nov 10 2003 - 16:20:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:28 UTC