From owner-freebsd-current@FreeBSD.ORG Thu Nov 27 13:50:34 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 5D4EF16A4CE; Thu, 27 Nov 2003 13:50:34 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8889643FA3; Thu, 27 Nov 2003 13:50:32 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id hARLoP744239; Thu, 27 Nov 2003 16:50:25 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Thu, 27 Nov 2003 16:50:24 -0500 (EST) From: Jeff Roberson To: Christian Laursen , In-Reply-To: <86d6bd4qy7.fsf@borg.borderworlds.dk> Message-ID: <20031127164824.X4201-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@FreeBSD.org Subject: Re: Frequent lockups with 5.2-BETA 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: Thu, 27 Nov 2003 21:50:34 -0000 On 27 Nov 2003, Christian Laursen wrote: > Since upgrading from 5.1-RELEASE to 5.2-BETA, I've been > experiencing hard lockups once or twice every day. > > I managed to get a trace by enabling the watchdog, which > put me into the debugger. This is the trace: > > db> trace > Debugger(c06f85ec,1bc169d,0,c0754fc4,c0754bf8) at Debugger+0x54 > watchdog_fire(d73e2bcc,c067b433,c0c57100,0,d73e2bcc) at watchdog_fire+0xc1 > hardclock(d73e2bcc,0,0,d73e2b98,c43bd400) at hardclock+0x15a > clkintr(d73e2bcc,d73e2b9c,c06c6bf6,0,c1925000) at clkintr+0xe9 > intr_execute_handlers(c0756be0,d73e2bcc,c0c570a0,1000,c0c61300) at intr_execute8 > atpic_handle_intr(0) at atpic_handle_intr+0xef > Xatpic_intr0() at Xatpic_intr0+0x1e > --- interrupt, eip = 0xc068db74, esp = 0xd73e2c10, ebp = 0xd73e2c14 --- > uma_zone_slab(c0c61300,1,0,c068e516,c074edd8) at uma_zone_slab+0x4 > uma_zalloc_internal(c0c61300,0,1,0,d73e2c80) at uma_zalloc_internal+0x5c > bucket_alloc(2f,1,0,0,0) at bucket_alloc+0x65 > uma_zfree_arg(c0c48240,c49121b8,0,c1922580,3600) at uma_zfree_arg+0x2c6 > tcp_hc_purge(0,c1922580,161e9,142b64fd,c05d7c70) at tcp_hc_purge+0x11f Great debugging work. I'm glad to see the software watchdog put to use. This looks like a problem with the hostcache. Perhaps andre can look at it. Thanks, Jeff > softclock(0,0,0,0,c192b54c) at softclock+0x25e > ithread_loop(c1922580,d73e2d48,0,11,55ff44fd) at ithread_loop+0x1d8 > fork_exit(c0524ec0,c1922580,d73e2d48) at fork_exit+0x80 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0x1, eip = 0, esp = 0xd73e2d7c, ebp = 0 --- > > This is the dmesg from the last boot: > > 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 #7: Wed Nov 26 17:24:32 CET 2003 > root@borg.borderworlds.dk:/usr/obj/usr/src/sys/BORG > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0823000. > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Celeron(R) CPU 1.70GHz (1716.04-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf13 Stepping = 3 > Features=0x3febfbff > real memory = 536805376 (511 MB) > avail memory = 511885312 (488 MB) > Pentium Pro MTRR support enabled > acpi0: on motherboard > pcibios: BIOS version 2.10 > Using $PIR table, 15 entries at 0xc00f7810 > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > acpi_cpu0: port 0x530-0x537 on acpi0 > acpi_cpu1: port 0x530-0x537 on acpi0 > device_probe_and_attach: acpi_cpu1 attach returned 6 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pcib0: slot 1 INTA is routed to irq 5 > pcib1: slot 0 INTA is routed to irq 5 > pci1: at device 0.0 (no driver attached) > pcib2: at device 30.0 on pci0 > pci2: on pcib2 > pcib2: slot 10 INTA is routed to irq 10 > pcib2: slot 13 INTA is routed to irq 3 > pcm0: port 0xdc00-0xdcff irq 10 at device 10.0 on pci2 > em0: port 0xd800-0xd83f mem 0xdfec0000-0xdfedffff,0xdfee0000-0xdfefffff irq 3 at device 13.0 on pci2 > em0: Speed:N/A Duplex:N/A > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port 0xfc00-0xfc0f,0-0x3,0-0x7,0-0x3,0-0x7 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) > 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 MouseMan+, device ID 0 > fdc0: cmd 3 failed at out byte 1 of 3 > sio0 port 0x3f8-0x3ff irq 4 on acpi0 > sio0: type 16550A, console > 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/9 bytes threshold > ppbus0: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > acpi_cpu1: port 0x530-0x537 on acpi0 > device_probe_and_attach: acpi_cpu1 attach returned 6 > fdc0: cmd 3 failed at out byte 1 of 3 > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > orm0: