Re: APIC-UP related panic

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 10 Nov 2003 18:33:49 -0000
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!
>> > The only thing I have are these lines from /var/log/messages:
>> > (attached the different dmesgs)
>> >
>> > Nov  5 13:41:40 cale syslogd: kernel boot file is /boot/kernel/kernel
>> > Nov  5 13:41:40 cale kernel: instruction pointer        = 0x8:0xc054c85d
>> > Nov  5 13:41:40 cale kernel: stack pointer              = 0x10:0xcdc9dbe0
>> > Nov  5 13:41:40 cale kernel: frame pointer              = 0x10:0xcdc9dbe4
>> > Nov  5 13:41:40 cale kernel: code segment               = base 0x0, limit
>> > 0xfffff, type 0x1b
>> > Nov  5 13:41:40 cale kernel: = DPL 0, pres 1, def32 1, gran 1
>> > Nov  5 13:41:40 cale kernel: processor eflags   = interrupt enabled, IOPL
>> > = 0 Nov  5 13:41:40 cale kernel: current process            = 26 (irq16:
>> > nvidia0) Nov  5 13:41:40 cale kernel: trap number                = 30
>> > Nov  5 13:41:40 cale kernel: panic: unknown/reserved trap
>> > Nov  5 13:41:40 cale kernel:
>> > Nov  5 13:41:40 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  5 13:41:40 cale kernel: giving up on 1022 buffers
>> > Nov  5 13:41:40 cale kernel: Uptime: 1h38m28s
>> > Nov  5 13:41:40 cale kernel: Shutting down ACPI
>> > Nov  5 13:41:40 cale kernel: stray irq9
>> > Nov  5 13:41:40 cale kernel: Automatic reboot in 15 seconds - press a key
>> > on the console to abort
>> > Nov  5 13:41:40 cale kernel: Rebooting...
>>
>> 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?

-- 

John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
Received on Mon Nov 10 2003 - 09:33:49 UTC

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