From fpscha@schapachnik.com.ar Sun Nov 6 17:30:00 2005 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AA3616A41F for ; Sun, 6 Nov 2005 17:30:00 +0000 (GMT) (envelope-from fpscha@schapachnik.com.ar) Received: from servidor1.cursosvirtuales.com.ar (www.cursosvirtuales.com.ar [200.59.46.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F4C343D45 for ; Sun, 6 Nov 2005 17:29:58 +0000 (GMT) (envelope-from fpscha@schapachnik.com.ar) Received: from servidor1.cursosvirtuales.com.ar (localhost [127.0.0.1]) by servidor1.cursosvirtuales.com.ar (8.12.11/8.12.11) with ESMTP id jA6HTqIn003740 for ; Sun, 6 Nov 2005 14:29:53 -0300 (ART) (envelope-from fpscha@schapachnik.com.ar) Received: from schapachnik.com.ar (uucp@localhost) by servidor1.cursosvirtuales.com.ar (8.12.11/8.12.11/Submit) with UUCP id jA6HTqAQ003739 for FreeBSD-gnats-submit@freebsd.org; Sun, 6 Nov 2005 14:29:52 -0300 (ART) (envelope-from fpscha@schapachnik.com.ar) Received: from funes.schapachnik.com.ar (localhost [127.0.0.1]) by funes.schapachnik.com.ar (8.13.4/8.13.4) with ESMTP id jA6FbXUc000902 for ; Sun, 6 Nov 2005 12:37:33 -0300 (ART) (envelope-from fpscha@funes.schapachnik.com.ar) Received: (from fpscha@localhost) by funes.schapachnik.com.ar (8.13.4/8.13.4/Submit) id jA6FbXk6000896; Sun, 6 Nov 2005 12:37:33 -0300 (ART) (envelope-from fpscha) Message-Id: <200511061537.jA6FbXk6000896@funes.schapachnik.com.ar> Date: Sun, 6 Nov 2005 12:37:33 -0300 (ART) From: Fernando Schapachnik Reply-To: Fernando Schapachnik To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: panic: ffs_blkfree: freeing free frag on AMD 64 X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 88555 >Category: kern >Synopsis: [panic] ffs_blkfree: freeing free frag on AMD 64 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-fs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 06 17:30:15 GMT 2005 >Closed-Date: >Last-Modified: Fri Sep 24 20:56:42 UTC 2010 >Originator: Fernando Schapachnik >Release: FreeBSD 6.0-STABLE amd64 >Organization: >Environment: System: FreeBSD funes.schapachnik.com.ar 6.0-STABLE FreeBSD 6.0-STABLE #17: Sat Nov 5 12:35:42 ART 2005 root@funes.schapachnik.com.ar:/usr/obj/usr/src/sys/FUNES2 amd64 >Description: Machine rebooted, so backgroup fsck started. Working with vi on a file in /home. Then: Unread portion of the kernel message buffer: dev = ad4s1f, block = 5867096, fs = /home panic: ffs_blkfree: freeing free frag Dumping 991 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 991MB (253648 pages) 975 959 943 927 911 895 879 863 847 831 815 799 (CTRL-C to abort) 783 767 751 735 719 703 687 671 655 (CTRL-C to abort) 639 (CTRL-C to abort) 623 (CTRL-C to abort) (CTRL-C to abort) (CTRL-C to abort) 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:172 172 pcpu.h: No such file or directory. in pcpu.h Backtrace: #0 doadump () at pcpu.h:172 #1 0x0000000000000004 in ?? () #2 0xffffffff803b3f37 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399 #3 0xffffffff803b45b6 in panic (fmt=0xffffff002cb714c0 "") at /usr/src/sys/kern/kern_shutdown.c:555 #4 0xffffffff805193ba in ffs_blkfree (ump=0xffffff002fb5d800, fs=0xffffff002fbce000, devvp=0x8938, bno=1, size=6144, inum=2512154624) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1877 #5 0xffffffff8051c9fa in sysctl_ffs_fsck (oidp=0x3, arg1=0x0, arg2=0, req=0x0) at /usr/src/sys/ufs/ffs/ffs_alloc.c:2472 #6 0xffffffff803bd91e in sysctl_root (oidp=0x0, arg1=0xffffffffa6c32b0c, arg2=0, req=0xffffffffa6c32a30) at /usr/src/sys/kern/kern_sysctl.c:1248 #7 0xffffffff803bddb4 in userland_sysctl (td=0xffffff002cb714c0, name=0xffffffffa6c32b00, namelen=3, old=0x0, oldlenp=0x0, inkernel=0, new=0x512620, newlen=0, retval=0xffffffffa6c32af8, flags=0) at /usr/src/sys/kern/kern_sysctl.c:1347 #8 0xffffffff803bdf5b in __sysctl (td=0xffffff002cb714c0, uap=0xffffffffa6c32bc0) at /usr/src/sys/kern/kern_sysctl.c:1282 #9 0xffffffff8057fcd1 in syscall (frame= {tf_rdi = 5316308, tf_rsi = 3, tf_rdx = 0, tf_rcx = 0, tf_r8 = 5318176, tf_r9 = 32, tf_rax = 202, tf_rbx = 5867176, tf_rbp = 3, tf_r10 = 8, tf_r11 = 2, tf_r12 = 1, tf_r13 = 0, tf_r14 = 5867176, tf_r15 = 5867096, tf_trapno ---Type to continue, or q to quit--- = 12, tf_addr = 140737488297984, tf_flags = 0, tf_err = 2, tf_rip = 34366589788, tf_cs = 43, tf_rflags = 514, tf_rsp = 140737488283736, tf_ss = 35}) at /usr/src/sys/amd64/amd64/trap.c:787 #10 0xffffffff8056ec08 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:270 #11 0x0000000800688b5c in ?? () Previous frame inner to this frame (corrupt stack?) dmesg Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-STABLE #17: Sat Nov 5 12:35:42 ART 2005 root@funes.schapachnik.com.ar:/usr/obj/usr/src/sys/FUNES2 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 2800+ (1804.09-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xf4a Stepping = 10 Features=0x78bfbff AMD Features=0xe0500800 real memory = 1039990784 (991 MB) avail memory = 992620544 (946 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 0 on acpi0 pci_link1: irq 11 on acpi0 pci_link2: irq 10 on acpi0 pci_link3: irq 5 on acpi0 pci_link4: irq 5 on acpi0 pci_link5: irq 5 on acpi0 pci_link6: irq 3 on acpi0 pci_link7: irq 5 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 2.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 2.5 on pci0 ata0: on atapci0 ata1: on atapci0 pcm0: port 0xd400-0xd4ff,0xd000-0xd07f irq 18 at device 2.7 on pci0 pcm0: [GIANT-LOCKED] pcm0: ohci0: mem 0xfebf4000-0xfebf4fff irq 20 at device 3.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xfebf5000-0xfebf5fff irq 21 at device 3.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ohci2: mem 0xfebf6000-0xfebf6fff irq 22 at device 3.2 on pci0 ohci2: [GIANT-LOCKED] usb2: OHCI version 1.0, legacy support usb2: on ohci2 usb2: USB revision 1.0 uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xfebf7000-0xfebf7fff irq 23 at device 3.3 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 3 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: SiS EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 8 ports with 8 removable, self powered pci0: at device 4.0 (no driver attached) atapci1: port 0xec00-0xec07,0xe800-0xe803,0xe400-0xe407,0xe000-0xe003,0xdc00-0xdc0f,0xd800-0xd87f irq 17 at device 5.0 on pci0 ata2: on atapci1 ata3: on atapci1 pcib2: at device 6.0 on pci0 pci2: on pcib2 pcib3: at device 7.0 on pci0 pci3: on pcib3 rl0: port 0xc800-0xc8ff mem 0xfebf3800-0xfebf38ff irq 17 at device 10.0 on pci0 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:50:bf:09:83:ea acpi_button0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1804093781 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDRW at ata0-master UDMA33 ad2: DMA limited to UDMA33, controller found non-ATA66 cable ad2: 9641MB at ata1-master UDMA33 ad4: 76319MB at ata2-master SATA150 Trying to mount root from ufs:/dev/ad4s1a WARNING: / was not properly dismounted rl0: link state changed to UP >How-To-Repeat: See above. >Fix: >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: brucec Responsible-Changed-When: Fri Sep 24 20:56:19 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=88555 >Unformatted: