From owner-freebsd-current@FreeBSD.ORG Tue Dec 2 08:56:19 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 1500A16A4CE for ; Tue, 2 Dec 2003 08:56:19 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CBE643FE1 for ; Tue, 2 Dec 2003 08:56:12 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 8C20E72DB5; Tue, 2 Dec 2003 08:56:12 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 88ED372DAD; Tue, 2 Dec 2003 08:56:12 -0800 (PST) Date: Tue, 2 Dec 2003 08:56:12 -0800 (PST) From: Doug White To: Attila Nagy In-Reply-To: <3FCC52D1.6040006@fsn.hu> Message-ID: <20031202085141.T59423@carver.gumbysoft.com> References: <3FCC52D1.6040006@fsn.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Daily lockups on 5.2-BETA (maybe pst driver bug?) 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, 02 Dec 2003 16:56:19 -0000 On Tue, 2 Dec 2003, Attila Nagy wrote: > I'm seeing daily lockups on an up to date -CURRENT machine. > I've had the debugger already compiled in, but it didn't save a > crashdump. The machine is mostly idle, it has only some IMAP mailboxes > under cyrus. It appears you have the hardware watchdog enabled. Any reason you need that? It might be malfunctioning on your system. Also the pst driver might be grabbing interrupts for too long. You might check your RAID status. > > All I could save from the console is the following: > pst: timeout mfa=0x002a5850 cmd=0x02 > pst: timeout mfa=0x002a38d0 cmd=0x02 > pst: timeout mfa=0x002a5af0 cmd=0x02 > interrupt total > irq1: atkbd0 246 > irq8: rtc 7800771 > irq13: npx0 1 > stray irq13 1 > irq14: ata0 144893 > irq15: ata1 30 > irq48: pstpci0 345956 > irq54: em0 304160 > irq0: clk 6093522 > Total 14689580 > watchdog_fire(e65e4b08,c7dfeb00,e65e4a98,c05df35c) at watchdog_fire+0xab > hardlock(e65e4b08,c3f08a00,e65e4ab8,c05df2e4,c7eb0800) at hardlock+0x147 > clkintr(e65e4b08,e65e4ac8,46,0,cad91c80) at clkintr+0xef > intr_execute_handlers(c0645d20,e65e4b08,e65e4b04,c05da5d6,80012) at > intr_execute_handlers+0x8a > atpic_handle_intr(0) at atpic_handle_intr+0xef > Xatpic_intr0() at Xatpic_intr0+0x1e > --- interrupt, eip = 0xc04bb328, esp = 0xe65e4b4c, ebp = 0xe65e4b70 --- > lockmgr(d464ab34,80012,0,cad91c80,c0650010) at lockmgr+0x5ee > getdirtybuf(e65e4bb4,0,1,d464aa68,1) at getdirtybuf+0xb7 > flush_deplist(c8f86d44,1,e65e4bdc,e65e4be0,0) at flush_deplist+0x40 > flush_inodedep_deps(c813c800,3219373,246,e65e4c38,c04cfbf7) at > flush_inodedep_deps+0x83 > softdep_sync_metadata(e65e4ca8,ce873000,50,c06176c6,0) at > softdep_sync_metadata+0x7e > ffs_fsync(e65e4ca8,0,0,0,0) at ffs_fsync+0x44f > fsync(cad91c80,e65e4d14,4,29739000,1) at fsync+0x188 > syscall(2f,2f,2f,bfbf6c24,0) at syscall+0x2ed > Xint0x80_syscall() at Xint0x80_syscall+0x1d > -- syscall (95), eip = 0x28385053, esp = 0xbfbf4b9c, ebp = 0xbfbfc68 --- > Debugger("watchdog timeout") > Stopped at Debugger+0x4f: xchgl %ebx,in_Debugger.0 > db> panic > panic: from debugger > cpuid = 0; > boot() called on cpu#0 > > syncing disks, buffers remaining... panic: softdep_lock: locking against > myself > cpuid = 0; > boot() called on cpu#0 > Uptime: 16h55m37s > > dmesg: > 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.2-BETA #6: Mon Dec 1 11:04:55 CET 2003 > root@imap:/usr/obj/usr/src/sys/IMAP > Preloaded elf kernel "/boot/kernel/kernel" at 0xc06eb000. > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 > > Features=0xbfebfbff E2,SS,HTT,TM,PBE> > real memory = 2146893824 (2047 MB) > avail memory = 2084335616 (1987 MB) > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 6 > ioapic0 irqs 0-23 on motherboard > ioapic1 irqs 24-47 on motherboard > ioapic2 irqs 48-71 on motherboard > Pentium Pro MTRR support enabled > acpi0: on motherboard > pcibios: BIOS version 2.10 > Using $PIR table, 21 entries at 0xc00fde70 > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > acpi_cpu0: on acpi0 > acpi_cpu1: on acpi0 > acpi_cpu2: on acpi0 > device_probe_and_attach: acpi_cpu2 attach returned 6 > acpi_cpu2: on acpi0 > device_probe_and_attach: acpi_cpu2 attach returned 6 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pci0: at device 0.1 (no driver attached) > pcib1: mem 0xf8000000-0xfbffffff at device 1.0 on pci0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > pcib2: at device 2.0 on pci0 > pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.HLB_ - > AE_NOT_FOUND > pci2: on pcib2 > pci2: at device 28.0 (no driver > attached) > pcib3: at device 29.0 on pci2 > pci3: on pcib3 > pcib4: at device 1.0 on pci3 > pci4: on pcib4 > pstpci0: mem > 0xf2400000-0xf27fffff irq 48 at device 1.1 on pci3 > em0: port > 0x3000-0x303f mem 0xf2100000-0xf211ffff irq 54 at device 3. > 0 on pci3 > em0: Speed:N/A Duplex:N/A > pci2: at device 30.0 (no driver > attached) > pcib5: at device 31.0 on pci2 > pci5: on pcib5 > pcib6: at device 30.0 on pci0 > pci6: on pcib6 > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0x2440-0x244f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem > 0xf0000000-0xf > 00003ff at device 31.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata0: [MPSAFE] > ata1: at 0x170 irq 15 on atapci0 > ata1: [MPSAFE] > pci0: at device 31.3 (no driver attached) > pci0: at device 31.5 (no driver attached) > acpi_button0: on acpi0 > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > fdc0: cannot reserve control I/O port range (control port) > acpi_cpu2: on acpi0 > device_probe_and_attach: acpi_cpu2 attach returned 6 > acpi_cpu2: on acpi0 > device_probe_and_attach: acpi_cpu2 attach returned 6 > fdc0: cannot reserve control I/O port range (control port) > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > orm0: