Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2014 11:21:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195162] New: kernel panic ffs_blkfree freeing free block
Message-ID:  <bug-195162-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195162

            Bug ID: 195162
           Summary: kernel panic ffs_blkfree freeing free block
           Product: Base System
           Version: 8.4-RELEASE
          Hardware: i386
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: freebsd@centroid.eu

Created attachment 149581
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149581&action=edit
image capture of panic and backtrace

I have a panic, saved in a .png, I'm going to try to write it out:

dev = da0s1f, block = 210733008, fs = /usr
panic: ffs_blkfree: freeing free block
cpuid = 3
KDB: stack backtrace:
#0 0xc068595f at kdb_backtrace+0x4f
#1 0xc06551ec at panic+0x15c
#2 0xc08ab0c1 at ffs_blkfree_cg+0x451
#3 0xc08ab429 at ffs_blkfree+0x89
#4 0xc08be6c8 at indir_trunc+0x3b8
#5 0xc08be687 at indir_trunc+0x377
#6 0xc08be998 at handle_workitem_freeblocks+0x1d8
#7 0xc08bfa98 at process_worklist_item+0x238
#8 0xc08c1cbd at softdep_process_worklist+0x8d
#9 0xc08c3557 at softdep_flush+0x3b7
#10 0xc0628477 at fork_exit+0x97
#11 0xc09f6c24 at fork_trampoline+0x8
Uptime: 17h47m7s
twa0: ERROR: (0x15: 0x1201): Unposted command completed!!:  request =
0xcef59288, status = 3
Cannot dump.  Device not defined or unavailable.
Automatic reboot in 15 seconds - press a key on the console to abort


Now the kern.version:

# sysctl kern.version
kern.version: FreeBSD 8.4-RELEASE-p14 #8: Wed Jul 23 04:34:31 EDT 2014
    pjp@enterprise.xxxxxxxxx.net:/usr/obj/usr/src/sys/PAE-XXX


Now the kernel config file:

# $FreeBSD: src/sys/i386/conf/PAE,v 1.32.2.1.6.1 2010/12/21 17:09:25 kensmith
Exp $

include GENERIC

ident           PAE-GENERIC

# To make a PAE kernel, the next option is needed
options         PAE                     # Physical Address Extensions Kernel
options         NULLFS                  #pjp
options         FDESCFS                 #pjp 
options         IPSEC                   #pjp

# ipsec device pjp

device crypto 
device pf 

# Compile acpi in statically since the module isn't built properly.  Most
# machines which support large amounts of memory require acpi.
device          acpi

# Don't build modules with this kernel config, since they are not built with
# the correct options headers.
makeoptions     NO_MODULES=yes

# force isp firmware to fully loaded
device          ispfw

# What follows is a list of drivers that are normally in GENERIC, but either
# don't work or are untested with PAE.  Be very careful before enabling any
# of these drivers.  Drivers which use DMA and don't handle 64 bit physical
# address properly may cause data corruption when used in a machine with more
# than 4 gigabytes of memory.

nodevice        ahb
nodevice        amd
nodevice        sym
nodevice        trm

nodevice        adv
nodevice        adw
nodevice        aha
nodevice        aic
nodevice        bt

nodevice        ncv
nodevice        nsp
nodevice        stg

nodevice        asr
nodevice        dpt
nodevice        mly
nodevice        hptmv
nodevice        hptrr

nodevice        ida
nodevice        mlx
nodevice        pst

nodevice        agp

nodevice        txp
nodevice        vx

nodevice        nve
nodevice        pcn
nodevice        sf
nodevice        sis
nodevice        ste
nodevice        tl
nodevice        tx
nodevice        vr
nodevice        wb

nodevice        cs
nodevice        ed
nodevice        ex
nodevice        ep
nodevice        fe
nodevice        ie
nodevice        sn
nodevice        xe

nodevice        an
nodevice        ath             # Atheros pci/cardbus NIC's
nodevice        ath_hal
nodevice        ath_rate_sample # SampleRate tx rate control for ath
nodevice        ral
nodevice        wi

# end of PAE-XXX

And a dmesg:

Copyright (c) 1992-2013 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.4-RELEASE-p14 #8: Wed Jul 23 04:34:31 EDT 2014
    pjp@enterprise.xxxxxx:/usr/obj/usr/src/sys/PAE-XXX i386
gcc version 4.2.1 20070831 patched [FreeBSD]
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (2400.10-MHz 686-class
CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Family = 6  Model = f  Stepping = 11
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 8589934592 (8192 MB)
avail memory = 8376778752 (7988 MB)
ACPI APIC Table: <PTLTD          APIC  >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ispfw: registered firmware <isp_1040>
ispfw: registered firmware <isp_1040_it>
ispfw: registered firmware <isp_1080>
ispfw: registered firmware <isp_1080_it>
ispfw: registered firmware <isp_12160>
ispfw: registered firmware <isp_12160_it>
ispfw: registered firmware <isp_2100>
ispfw: registered firmware <isp_2200>
ispfw: registered firmware <isp_2300>
ispfw: registered firmware <isp_2322>
ispfw: registered firmware <isp_2400>
ispfw: registered firmware <isp_2400_multi>
ispfw: registered firmware <isp_2500>
ispfw: registered firmware <isp_2500_multi>
kbd1 at kbdmux0
cryptosoft0: <software crypto> on motherboard
acpi0: <PTLTD    XSDT> on motherboard
acpi0: [ITHREAD]
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
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <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> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
3ware device driver for 9000 series storage controllers, version: 3.80.06.003
twa0: <3ware 9000 series Storage Controller> port 0x2000-0x20ff mem
0xd0000000-0xd1ffffff,0xd2100000-0xd2100fff irq 16 at device 0.0 on pci1
twa0: [ITHREAD]
twa0: INFO: (0x04: 0x003D): Verify paused: unit=0
twa0: INFO: (0x15: 0x1300): Controller details:: Model 9650SE-2LP, 2 ports,
Firmware FE9X 3.08.00.016, BIOS BE9X 3.08.00.004
vgapci0: <VGA-compatible display> port 0x1c60-0x1c67 mem
0xd2300000-0xd237ffff,0xc0000000-0xcfffffff,0xd2000000-0xd20fffff irq 16 at
device 2.0 on pci0
em0: <Intel(R) PRO/1000 Network Connection 7.3.7> port 0x1820-0x183f mem
0xd2580000-0xd259ffff,0xd25a0000-0xd25a0fff irq 16 at device 25.0 on pci0
em0: Using an MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:30:48:b8:2a:70
uhci0: <Intel 82801I (ICH9) USB controller> port 0x1840-0x185f irq 16 at device
26.0 on pci0
uhci0: [ITHREAD]
usbus0 on uhci0
uhci1: <Intel 82801I (ICH9) USB controller> port 0x1860-0x187f irq 17 at device
26.1 on pci0
uhci1: [ITHREAD]
usbus1 on uhci1
uhci2: <Intel 82801I (ICH9) USB controller> port 0x1880-0x189f irq 18 at device
26.2 on pci0
uhci2: [ITHREAD]
usbus2 on uhci2
ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xd25a1000-0xd25a13ff irq
18 at device 26.7 on pci0
ehci0: [ITHREAD]
usbus3: EHCI version 1.0
usbus3 on ehci0
uhci3: <Intel 82801I (ICH9) USB controller> port 0x18a0-0x18bf irq 23 at device
29.0 on pci0
uhci3: [ITHREAD]
usbus4 on uhci3
uhci4: <Intel 82801I (ICH9) USB controller> port 0x18c0-0x18df irq 22 at device
29.1 on pci0
uhci4: [ITHREAD]
usbus5 on uhci4
uhci5: <Intel 82801I (ICH9) USB controller> port 0x18e0-0x18ff irq 18 at device
29.2 on pci0
uhci5: [ITHREAD]
usbus6 on uhci5
ehci1: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xd25a2000-0xd25a23ff irq
23 at device 29.7 on pci0
ehci1: [ITHREAD]
usbus7: EHCI version 1.0
usbus7 on ehci1
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci17: <ACPI PCI bus> on pcib2
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x3000-0x307f mem
0xd2200000-0xd220007f irq 21 at device 1.0 on pci17
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> PHY 24 on miibus0
ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
xl0: Ethernet address: 00:0a:5e:77:cf:2d
xl0: [ITHREAD]
atapci0: <ITE IT8213F UDMA133 controller> port
0x30a0-0x30a7,0x3094-0x3097,0x3098-0x309f,0x3090-0x3093,0x3080-0x308f irq 23 at
device 4.0 on pci17
atapci0: [ITHREAD]
ata2: <ATA channel> at channel 0 on atapci0
ata2: [ITHREAD]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH9 SATA300 controller> port
0x1c78-0x1c7f,0x1c6c-0x1c6f,0x1c70-0x1c77,0x1c68-0x1c6b,0x1c00-0x1c1f mem
0xd25a3000-0xd25a37ff irq 17 at device 31.2 on pci0
atapci1: [ITHREAD]
atapci1: AHCI called from vendor specific driver
atapci1: AHCI v1.20 controller with 6 3Gbps ports, PM supported
ata3: <ATA channel> at channel 0 on atapci1
ata3: [ITHREAD]
ata4: <ATA channel> at channel 1 on atapci1
ata4: [ITHREAD]
ata5: <ATA channel> at channel 2 on atapci1
ata5: [ITHREAD]
ata6: <ATA channel> at channel 3 on atapci1
ata6: [ITHREAD]
ata7: <ATA channel> at channel 4 on atapci1
ata7: [ITHREAD]
ata8: <ATA channel> at channel 5 on atapci1
ata8: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <dasp> at device 31.6 (no driver attached)
acpi_button0: <Power Button> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
uart1: [FILTER]
uart2: <16550 or compatible> port 0x220-0x227 irq 5 on acpi0
uart2: [FILTER]
uart3: <16550 or compatible> port 0x238-0x23f irq 10 on acpi0
uart3: [FILTER]
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xcb800-0xcd7ff,0xcd800-0xcdfff pnpid ORM0000
on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ata0: <ATA channel> at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata0: [ITHREAD]
ata1: <ATA channel> at port 0x170-0x177,0x376 irq 15 on isa0
ata1: [ITHREAD]
ppc0: parallel port not found.
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 12Mbps Full Speed USB v1.0
usbus7: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
ugen7.1: <Intel> at usbus7
uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
uhub3: 6 ports with 6 removable, self powered
uhub7: 6 ports with 6 removable, self powered
ugen7.2: <Peppercon AG> at usbus7
ukbd0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on usbus7
kbd2 at ukbd0
ums0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on usbus7
ums0: 3 buttons and [Z] coordinates ID=0
da0 at twa0 bus 0 scbus0 target 0 lun 0
da0: <AMCC 9650SE-2LP DISK 3.08> Fixed Direct Access SCSI-5 device 
da0: 100.000MB/s transfers
da0: 476827MB (976541696 512 byte sectors: 255H 63S/T 60786C)
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
Trying to mount root from ufs:/dev/da0s1a
WARNING: /tmp was not properly dismounted
WARNING: /var was not properly dismounted
xl0: link state changed to UP
twa0: INFO: (0x04: 0x0029): Verify started: unit=0

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195162-8>