From owner-freebsd-current@FreeBSD.ORG Sun Nov 9 13:34:26 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 51B2B16A4CE for ; Sun, 9 Nov 2003 13:34:26 -0800 (PST) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 453CA43FA3 for ; Sun, 9 Nov 2003 13:34:25 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.9p2/8.12.9) with ESMTP id hA9LYIeF064619 for ; Sun, 9 Nov 2003 13:34:22 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <200311092134.hA9LYIeF064619@gw.catspoiler.org> Date: Sun, 9 Nov 2003 13:34:18 -0800 (PST) From: Don Lewis To: current@FreeBSD.org In-Reply-To: <200311092113.hA9LDmeF064587@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Subject: Re: kernel trap 12 with interrupts disabled 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: Sun, 09 Nov 2003 21:34:26 -0000 On 9 Nov, I wrote: > I just got one of these shortly after I rebooted my November 7th > -CURRENT box. DDB doesn't show much interesting. > > kernel trap 12 with interrupts disabled > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0xbc04d753 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc0685ddf > stack pointer = 0x10:0xe5f3bca8 > frame pointer = 0x10:0xe5f3bcfc > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = resume, IOPL = 0 > current process = 519 (setiathome) > kernel: type 12 trap, code=0 > Stopped at mi_switch+0xcf: cmpl 0x8(%esi),%ebx > db> tr > mi_switch(c6bbc500,df,c08a3da3,f8,0) at mi_switch+0xcf > ast(e5f3bd48) at ast+0x3f2 > doreti_ast() at doreti_ast+0x17 > > Alas, I didn't have enough free space to capture a core file B-( This problem doesn't appear to be reproduceable and doesn't seem to be load dependent. I had portupgrade cranking for many hours yesterday without a hiccup. I cleaned up a bunch of old distfiles and packages, so I should have sufficient space to get a core dump in case this problem happens again. I forgot to include the vital statistics. BTW, the RAM is ECC. 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. FreeBSD 5.1-CURRENT #35: Fri Nov 7 14:50:18 PST 2003 dl@scratch.catspoiler.org:/usr/obj/usr/src/sys/GENERICSMB Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a9e000. Preloaded elf module "/boot/kernel/aout.ko" at 0xc0a9e244. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP 1900+ (1608.23-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xc0480000 real memory = 1073676288 (1023 MB) avail memory = 1033592832 (985 MB) ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 11 entries at 0xc00fdc30 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 7 INTD is routed to irq 10 pcib0: slot 7 INTD is routed to irq 10 agp0: port 0xc000-0xc003 mem 0xef020000-0xef020fff,0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci_cfgintr: 1:5 INTA BIOS irq 15 pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xc400-0xc40f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0xc800-0xc81f irq 10 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub0: port error, restarting port 1 uhub0: port error, giving up port 1 uhub0: port error, restarting port 2 uhub0: port error, giving up port 2 uhci1: port 0xcc00-0xcc1f irq 10 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub1: port error, restarting port 1 uhub1: port error, giving up port 1 uhub1: port error, restarting port 2 uhub1: port error, giving up port 2 viapropm0: SMBus I/O base at 0x5000 viapropm0: port 0x5000-0x500f at device 7.4 on pci0 viapropm0: SMBus revision code 0x40 smbus0: on viapropm0 smb0: on smbus0 fxp0: port 0xe000-0xe03f mem 0xef000000-0xef01ffff,0xef021000-0xef021fff irq 18 at device 10.0 on pci0 fxp0: Ethernet address 00:02:b3:5c:8c:e0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ahc0: port 0xe400-0xe4ff mem 0xef022000-0xef022fff irq 16 at device 12.0 on pci0 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs fdc0: port 0x3f7,0x3f0-0x3f5 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, console sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse Explorer, device ID 4 npx0: [FAST] npx0: on motherboard npx0: INT 16 interface orm0: