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 <return> to continue, or q <return> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow> real memory = 1039990784 (991 MB) avail memory = 992620544 (946 MB) ACPI APIC Table: <A M I OEMAPIC > ioapic0 <Version 1.4> irqs 0-23 on motherboard acpi0: <A M I OEMRSDT> on motherboard acpi0: Power Button (fixed) pci_link0: <ACPI PCI Link LNKA> irq 0 on acpi0 pci_link1: <ACPI PCI Link LNKB> irq 11 on acpi0 pci_link2: <ACPI PCI Link LNKC> irq 10 on acpi0 pci_link3: <ACPI PCI Link LNKD> irq 5 on acpi0 pci_link4: <ACPI PCI Link LNKE> irq 5 on acpi0 pci_link5: <ACPI PCI Link LNKF> irq 5 on acpi0 pci_link6: <ACPI PCI Link LNKG> irq 3 on acpi0 pci_link7: <ACPI PCI Link LNKH> 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: <ACPI CPU> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 2.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <SiS 965 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 2.5 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 pcm0: <SiS 7012> port 0xd400-0xd4ff,0xd000-0xd07f irq 18 at device 2.7 on pci0 pcm0: [GIANT-LOCKED] pcm0: <Analog Devices AD1888 AC97 Codec> ohci0: <SiS 5571 USB controller> mem 0xfebf4000-0xfebf4fff irq 20 at device 3.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: <SiS 5571 USB controller> 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: <SiS 5571 USB controller> mem 0xfebf5000-0xfebf5fff irq 21 at device 3.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: <SiS 5571 USB controller> 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: <SiS 5571 USB controller> mem 0xfebf6000-0xfebf6fff irq 22 at device 3.2 on pci0 ohci2: [GIANT-LOCKED] usb2: OHCI version 1.0, legacy support usb2: <SiS 5571 USB controller> 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: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> 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: <network, ethernet> at device 4.0 (no driver attached) atapci1: <SiS 182 SATA150 controller> port 0xec00-0xec07,0xe800-0xe803,0xe400-0xe407,0xe000-0xe003,0xdc00-0xdc0f,0xd800-0xd87f irq 17 at device 5.0 on pci0 ata2: <ATA channel 0> on atapci1 ata3: <ATA channel 1> on atapci1 pcib2: <ACPI PCI-PCI bridge> at device 6.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> at device 7.0 on pci0 pci3: <ACPI PCI bus> on pcib3 rl0: <RealTek 8139 10/100BaseTX> port 0xc800-0xc8ff mem 0xfebf3800-0xfebf38ff irq 17 at device 10.0 on pci0 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:50:bf:09:83:ea acpi_button0: <Power Button> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> 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: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcffff on isa0 sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1804093781 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDRW <HL-DT-ST GCE-8526B/1.04> at ata0-master UDMA33 ad2: DMA limited to UDMA33, controller found non-ATA66 cable ad2: 9641MB <Maxtor 91021U2 FA520860> at ata1-master UDMA33 ad4: 76319MB <WDC WD800JD-00LUA0 06.01D06> 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.
Responsible Changed From-To: freebsd-bugs->freebsd-fs Over to maintainer(s).
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
<https://cgit.freebsd.org/src/commit/sys/ufs/ffs/ffs_alloc.c?id=43a3cc779674665ddc928181d210eba4bb7230c4> (2011-06-15): > Ensure that filesystem metadata contained within persistent snapshots > is always kept consistent. In that commit, what was: panic("ffs_blkfree: freeing free frag"); – became: panic("ffs_blkfree_cg: freeing free frag");