From owner-freebsd-current@FreeBSD.ORG Mon Nov 10 10:33:49 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF51516A4CF for ; Mon, 10 Nov 2003 10:33:48 -0800 (PST) Received: from mail.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DF1C43FB1 for ; Mon, 10 Nov 2003 10:33:48 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 9377 invoked from network); 10 Nov 2003 18:33:46 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 10 Nov 2003 18:33:46 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAAIXMce014308; Mon, 10 Nov 2003 13:33:22 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200311080741.33038@harrymail> From: John Baldwin To: Harald Schmalzbauer X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: current@freebsd.org Subject: Re: APIC-UP related panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Mon, 10 Nov 2003 18:33:49 -0000 X-Original-Date: Mon, 10 Nov 2003 13:33:20 -0500 (EST) X-List-Received-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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/