From owner-freebsd-current@FreeBSD.ORG Mon Nov 10 17:20:11 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 56FD716A4CE; Mon, 10 Nov 2003 17:20:11 -0800 (PST) Received: from mail-in.m-online.net (svr8.m-online.net [62.245.150.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE48543FE1; Mon, 10 Nov 2003 17:20:09 -0800 (PST) (envelope-from h@schmalzbauer.de) Received: from mail.m-online.net (svr14.m-onlne.net [192.168.3.144]) by svr8.m-online.net (Postfix) with ESMTP id CF183AFA; Tue, 11 Nov 2003 02:20:08 +0100 (CET) Received: from cale.flintsbach.schmalzbauer.de (ppp-62-245-232-4.mnet-online.de [62.245.232.4]) by mail.m-online.net (Postfix) with ESMTP id DCD3816C2B; Tue, 11 Nov 2003 02:20:02 +0100 (CET) From: Harald Schmalzbauer To: John Baldwin Date: Tue, 11 Nov 2003 02:20:03 +0100 User-Agent: KMail/1.5.4 References: In-Reply-To: X-Birthday: 06 Oktober 1972 X-Name: Harald Schmalzbauer X-Phone1: +49 (0) 163 555 3237 X-Phone2: +49 (0) 89 18947781 X-Address: Munich, 80686 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-03=_JlDs/lg0wCNaXti"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200311110220.10204@harrymail> 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: , X-List-Received-Date: Tue, 11 Nov 2003 01:20:11 -0000 --Boundary-03=_JlDs/lg0wCNaXti Content-Type: multipart/mixed; boundary="Boundary-01=_DlDs/IinuzTQ2PX" Content-Transfer-Encoding: 7bit Content-Description: signed data Content-Disposition: inline --Boundary-01=_DlDs/IinuzTQ2PX Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: body text Content-Disposition: inline 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 k= ey > > 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 anythi= ng=20 about NO_MIXED_MODE but I made the usual kernel (-current from Nov.09,=20 without the spurious patch) with "device apic" and "options NO_MIXED_MODE". Now quake2forge compiled successfully (which also crashed the machine with = the=20 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 o= f=20 "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, =2DHarry --Boundary-01=_DlDs/IinuzTQ2PX Content-Type: text/plain; charset="iso-8859-15"; name="dmesg.UP_APIC.091104" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.UP_APIC.091104" Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. =46reeBSD 5.1-CURRENT #37: Tue Nov 11 01:20:26 CET 2003 harry@cale.flintsbach.schmalzbauer.de:/usr/obj/usr/src/sys/CALE Preloaded elf kernel "/boot/kernel/kernel" at 0xc09c1000. Preloaded elf module "/boot/kernel/linux.ko" at 0xc09c1244. Preloaded elf module "/boot/kernel/nvidia.ko" at 0xc09c12f0. ACPI APIC Table: Timecounter "i8254" frequency 1183579 Hz quality 0 CPU: Intel(R) Celeron(TM) CPU 1100MHz (1095.82-MHz 686-class= CPU) Origin =3D "GenuineIntel" Id =3D 0x6b1 Stepping =3D 1 Features=3D0x383fbff real memory =3D 268173312 (255 MB) avail memory =3D 250781696 (239 MB) ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc07603e2 (1000022) VESA: NVIDIA acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 12 entries at 0xc00f2a10 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci2: on pcib1 pcib1: slot 0 INTA is routed to irq 16 nvidia0: mem 0xf0000000-0xf3ffffff,0xfd000000-= 0xfdffffff irq 16 at device 0.0 on pci2 pcib2: at device 30.0 on pci0 pci1: on pcib2 fxp0: port 0xdf00-0xdf3f mem = 0xfc9ff000-0xfc9fffff irq 20 at device 8.0 on pci1 fxp0: Ethernet address 00:03:47:f0:c2:ef miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 31.1 = on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0xef40-0xef5f i= rq 19 at device 31.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ichsmb0: port 0xefa0-0xefaf irq 17 = at device 31.3 on pci0 smbus0: on ichsmb0 smb0: on smbus0 uhci1: port 0xef80-0xef9f i= rq 23 at device 31.4 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub2: Standard Microsystems product 0x0140, class 9/0, rev 1.10/0.00, addr= 2 uhub2: 4 ports with 4 removable, self powered ums0: Microsoft Microsoft IntelliMouse=AE Explorer, rev 1.10/1.14, addr 3, = iclass 3/1 ums0: 5 buttons and Z dir. uhub3: Texas Instruments General Purpose USB Hub, class 9/0, rev 1.10/1.01,= addr 4 uhub3: 2 ports with 2 removable, bus powered pcm0: port 0xef00-0xef3f,0xe800-0xe8ff irq 17 at dev= ice 31.5 on pci0 pcm0: atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 fdc0: port 0x3f7,0x= 3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A npx0: [FAST] npx0: on motherboard npx0: INT 16 interface orm0: