Date: Fri, 27 Feb 2009 01:12:59 GMT From: Tim Cleaver <timcleaver@hotmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/132145: File System Hard Crashes Message-ID: <200902270112.n1R1Cx78054829@www.freebsd.org> Resent-Message-ID: <200902270120.n1R1K1u7089587@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132145 >Category: kern >Synopsis: File System Hard Crashes >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 27 01:20:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Tim Cleaver >Release: 7-STABLE >Organization: N/A >Environment: FreeBSD pc078650.workstation.griffith.edu.au 7.1-STABLE FreeBSD 7.1-STABLE #12: Wed Feb 25 09:11:14 EST 2009 root@pc078650.workstation.griffith.edu.au:/usr/obj/usr/src/sys/KERNCONF i386 >Description: I am having semi-regular crashes as a result of filesystem errors. I have run my harddrive: smartctl version 5.38 [i386-portbld-freebsd7.1] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Model Family: SAMSUNG SpinPoint P120 series Device Model: SAMSUNG SP2014N Serial Number: S088J1PP200463 Firmware Version: VC100-50 User Capacity: 200,049,647,616 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 7 ATA Standard is: ATA/ATAPI-7 T13 1532D revision 4a Local Time is: Fri Feb 27 11:01:27 2009 EST ==> WARNING: May need -F samsung3 enabled; see manual for details. SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x04) Offline data collection activity was suspended by an interrupting command from host. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (4650) seconds. Offline data collection capabilities: (0x5b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 77) minutes. SCT capabilities: (0x003f) SCT Status supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 097 097 051 Pre-fail Always - 305 3 Spin_Up_Time 0x0007 253 072 025 Pre-fail Always - 5696 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 59 5 Reallocated_Sector_Ct 0x0033 253 253 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 253 253 051 Pre-fail Always - 0 8 Seek_Time_Performance 0x0025 253 253 015 Pre-fail Offline - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 5058 10 Spin_Retry_Count 0x0033 253 253 051 Pre-fail Always - 0 11 Calibration_Retry_Count 0x0012 253 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 52 187 Reported_Uncorrect 0x0032 094 094 000 Old_age Always - 65543 190 Airflow_Temperature_Cel 0x0022 121 100 000 Old_age Always - 39 194 Temperature_Celsius 0x0022 121 100 000 Old_age Always - 39 195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 6399934 196 Reallocated_Event_Count 0x0032 253 253 000 Old_age Always - 0 197 Current_Pending_Sector 0x0012 253 253 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 253 253 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 5 200 Multi_Zone_Error_Rate 0x000a 100 100 000 Old_age Always - 0 201 Soft_Read_Error_Rate 0x000a 253 100 000 Old_age Always - 0 SMART Error Log Version: 1 ATA Error Count: 7 (device log contains only the most recent five errors) CR = Command Register [HEX] FR = Features Register [HEX] SC = Sector Count Register [HEX] SN = Sector Number Register [HEX] CL = Cylinder Low Register [HEX] CH = Cylinder High Register [HEX] DH = Device/Head Register [HEX] DC = Device Command Register [HEX] ER = Error register [HEX] ST = Status register [HEX] Powered_Up_Time is measured from power on, and printed as DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes, SS=sec, and sss=millisec. It "wraps" after 49.710 days. Error 7 occurred at disk power-on lifetime: 5017 hours (209 days + 1 hours) When the command that caused the error occurred, the device was doing SMART Offline or Self-test. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 20 7f 3c 0c e0 Error: UNC 32 sectors at LBA = 0x000c3c7f = 801919 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 20 7f 3c 0c e0 00 2d+03:15:25.188 READ DMA c8 00 20 9f 3a 0c e0 00 2d+03:15:25.188 READ DMA c8 00 20 7f 28 0c e0 00 2d+03:15:25.188 READ DMA c8 00 80 7f 01 0c e0 00 2d+03:15:25.188 READ DMA c8 00 18 5f 01 0c e0 00 2d+03:15:25.125 READ DMA Error 6 occurred at disk power-on lifetime: 4576 hours (190 days + 16 hours) When the command that caused the error occurred, the device was doing SMART Offline or Self-test. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 20 bf a7 02 e0 Error: UNC 32 sectors at LBA = 0x0002a7bf = 174015 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 20 bf a7 02 e0 00 1d+22:12:29.563 READ DMA c8 00 20 1f c9 02 e0 00 1d+22:12:29.563 READ DMA c8 00 20 5f 83 02 e0 00 1d+22:12:29.563 READ DMA c8 00 20 ff 62 02 e0 00 1d+22:12:29.563 READ DMA c8 00 20 5f 62 02 e0 00 1d+22:12:29.563 READ DMA Error 5 occurred at disk power-on lifetime: 4434 hours (184 days + 18 hours) When the command that caused the error occurred, the device was doing SMART Offline or Self-test. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 80 8f ab 6d e0 Error: UNC 128 sectors at LBA = 0x006dab8f = 7187343 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 80 8f ab 6d e0 00 26d+03:19:47.563 READ DMA c8 00 80 0f ab 6d e0 00 26d+03:19:47.563 READ DMA c8 00 20 2f 6c 6e e0 00 26d+03:19:47.563 READ DMA c8 00 20 ef 62 6e e0 00 26d+03:19:47.563 READ DMA c8 00 20 4f 60 6e e0 00 26d+03:19:47.563 READ DMA Error 4 occurred at disk power-on lifetime: 4146 hours (172 days + 18 hours) When the command that caused the error occurred, the device was doing SMART Offline or Self-test. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 04 fb f1 04 e0 Error: UNC 4 sectors at LBA = 0x0004f1fb = 324091 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 04 fb f1 04 e0 00 14d+04:08:17.563 READ DMA c8 00 04 5b ed 04 e0 00 14d+04:08:17.563 READ DMA c8 00 04 7b ea 04 e0 00 14d+04:08:17.563 READ DMA c8 00 04 1b e9 04 e0 00 14d+04:08:17.563 READ DMA c8 00 04 fb e6 04 e0 00 14d+04:08:17.563 READ DMA Error 3 occurred at disk power-on lifetime: 4121 hours (171 days + 17 hours) When the command that caused the error occurred, the device was doing SMART Offline or Self-test. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 1c 5f 3e 00 e0 Error: UNC 28 sectors at LBA = 0x00003e5f = 15967 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 1c 5f 3e 00 e0 00 13d+03:09:53.313 READ DMA c8 00 80 07 43 0c e0 00 13d+03:09:53.313 READ DMA c8 00 20 3f 2c 04 e0 00 13d+03:09:53.313 READ DMA c8 00 04 bf 00 0c e0 00 13d+03:09:53.313 READ DMA c8 00 08 f7 40 0c e0 00 13d+03:09:53.313 READ DMA SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective Self-Test Log Data Structure Revision Number (0) should be 1 SMART Selective self-test log data structure revision number 0 Warning: ATA Specification requires selective self-test log data structure revision number = 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. through the ESTool available from Samsung which reports no hardware problems. Here is my Kernel Config: # # KERNCONF -- Custom kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.8 2004/10/24 17:42:08 scottl Exp $ machine i386 cpu I686_CPU ident KERNCONF # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFSLOCKD # Network Lock Manager options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing #options KDTRACE_HOOKS # Kernel DTrace hooks options IPFIREWALL # required for network address translation options IPDIVERT # " " options VESA # enable the VESA video driver options SC_PIXEL_MODE # enable raster mode console # To make an SMP kernel, the next two lines are needed #options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC # CPU frequency control device cpufreq # Bus support. device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives #device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI Controllers #device ahb # EISA AHA1742 family #device ahc # AHA2940 and onboard AIC7xxx devices #options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # # output. Adds ~128k to driver. #device ahd # AHA39320/29320 and onboard AIC79xx devices #options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # # output. Adds ~215k to driver. #device amd # AMD 53C974 (Tekram DC-390(T)) #device hptiop # Highpoint RocketRaid 3xxx series #device isp # Qlogic family #device ispfw # Firmware for QLogic HBAs- normally a module #device mpt # LSI-Logic MPT-Fusion #device ncr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') #device trm # Tekram DC395U/UW/F DC315U adapters #device adv # Advansys SCSI adapters #device adw # Advansys wide SCSI adapters #device aha # Adaptec 154x SCSI adapters #device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. #device bt # Buslogic/Mylex MultiMaster SCSI adapters #device ncv # NCR 53C500 #device nsp # Workbit Ninja SCSI-3 #device stg # TMC 18C30/18C50 # SCSI peripherals device scbus # SCSI bus (required for SCSI) #device ch # SCSI media changers #device da # Direct Access (disks) #device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) #device ses # SCSI Environmental Services (and SAF-TE) # RAID controllers interfaced to the SCSI subsystem #device amr # AMI MegaRAID #device arcmsr # Areca SATA II RAID #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID #device ciss # Compaq Smart RAID 5* #device dpt # DPT Smartcache III, IV - See NOTES for options #device hptmv # Highpoint RocketRAID 182x #device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx #device iir # Intel Integrated RAID #device ips # IBM (Adaptec) ServeRAID #device mly # Mylex AcceleRAID/eXtremeRAID #device twa # 3ware 9000 series PATA/SATA RAID # RAID controllers #device aac # Adaptec FSA RAID #device aacp # SCSI passthrough for aac (requires CAM) #device ida # Compaq Smart RAID #device mfi # LSI MegaRAID SAS #device mlx # Mylex DAC960 family #device pst # Promise Supertrak SX6000 #device twe # 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. #device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support #device cbb # cardbus (yenta) bridge #device pccard # PC Card (16-bit) bus #device cardbus # CardBus (32-bit) bus # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports device uart # Generic UART driver # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to sio, uart and/or ppc drivers): #device puc # PCI Ethernet NICs. #device de # DEC/Intel DC21x4x (``Tulip'') device em # Intel PRO/1000 Gigabit Ethernet Family #device igb # Intel PRO/1000 PCIE Server Gigabit Family #device ixgb # Intel PRO/10GbE Ethernet Card #device le # AMD Am7900 LANCE and Am79C9xx PCnet #device txp # 3Com 3cR990 (``Typhoon'') #device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support #device age # Attansic/Atheros L1 Gigabit Ethernet #device ale # Atheros AR8121/AR8113/AR8114 Ethernet #device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet #device bfe # Broadcom BCM440x 10/100 Ethernet #device bge # Broadcom BCM570xx Gigabit Ethernet #device dc # DEC/Intel 21143 and various workalikes #device et # Agere ET1310 10/100/Gigabit Ethernet #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet #device lge # Level 1 LXT1001 gigabit Ethernet #device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet #device nfe # nVidia nForce MCP on-board Ethernet #device nge # NatSemi DP83820 gigabit Ethernet ##device nve # nVidia nForce MCP on-board Ethernet Networking #device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') #device re # RealTek 8139C+/8169/8169S/8110S device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') #device sis # Silicon Integrated Systems SiS 900/SiS 7016 #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet #device ste # Sundance ST201 (D-Link DFE-550TX) #device stge # Sundance/Tamarack TC9021 gigabit Ethernet #device ti # Alteon Networks Tigon I/II gigabit Ethernet #device tl # Texas Instruments ThunderLAN #device tx # SMC EtherPower II (83c170 ``EPIC'') #device vge # VIA VT612x gigabit Ethernet #device vr # VIA Rhine, Rhine II #device wb # Winbond W89C840F #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. pccard NICs included. #device cs # Crystal Semiconductor CS89x0 NIC # 'device ed' requires 'device miibus' #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards #device ex # Intel EtherExpress Pro/10 and Pro/10+ #device ep # Etherlink III based cards #device fe # Fujitsu MB8696x based cards #device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc. #device sn # SMC's 9000 series of Ethernet chips #device xe # Xircom pccard Ethernet # Wireless NIC cards #device wlan # 802.11 support #device wlan_wep # 802.11 WEP support #device wlan_ccmp # 802.11 CCMP support #device wlan_tkip # 802.11 TKIP support #device wlan_amrr # AMRR transmit rate control algorithm #device wlan_scan_ap # 802.11 AP mode scanning #device wlan_scan_sta # 802.11 STA mode scanning #device an # Aironet 4500/4800 802.11 wireless NICs. #device ath # Atheros pci/cardbus NIC's #device ath_hal # Atheros HAL (Hardware Access Layer) #device ath_rate_sample # SampleRate tx rate control for ath #device awi # BayStack 660 and others #device ral # Ralink Technology RT2500 wireless NICs. #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. #device wl # Older non 802.11 Wavelan wireless NIC. # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse #device ural # Ralink Technology RT2500USB wireless NICs #device rum # Ralink Technology RT2501USB wireless NICs #device urio # Diamond Rio 500 MP3 player #device uscanner # Scanners # USB Serial devices #device ucom # Generic com ttys #device uark # Technologies ARK3116 based serial adapters #device ubsa # Belkin F5U103 and compatible serial adapters #device ubser # BWCT console serial adapters #device uftdi # For FTDI usb serial adapters #device uipaq # Some WinCE based devices #device uplcom # Prolific PL-2303 serial adapters #device uslcom # SI Labs CP2101/CP2102 serial adapters #device uvisor # Visor and Palm devices #device uvscom # USB serial support for DDI pocket's PHS # USB Ethernet, requires miibus #device aue # ADMtek USB Ethernet #device axe # ASIX Electronics USB Ethernet #device cdce # Generic USB over Ethernet #device cue # CATC USB Ethernet #device kue # Kawasaki LSI USB Ethernet #device rue # RealTek RTL8150 USB Ethernet # FireWire support #device firewire # FireWire bus code #device sbp # SCSI over FireWire (Requires scbus and da) #device fwe # Ethernet over FireWire (non-standard!) #device fwip # IP over FireWire (RFC 2734,3146) #device dcons # Dumb console driver #device dcons_crom # Configuration ROM for dcons # Sound Support #device sound # Generic Sound support #device snd_ich # The Intel Sound driver support # DRM support for graphic drivers #device drm #device i915drm # support for nautilis cdrom burner device atapicam Here is the backtrace of the latest dump: Script started on Fri Feb 27 10:50:07 2009 pc078650# cd /usr/obj/usr/src/sys/KERNCONF/ pc078650# kgdb kernel.debug /var/crash/vmcore.4 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Unread portion of the kernel message buffer: g_vfs_done():ad0s1f[READ(offset=35184251355136, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=-293191372732645376, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=26388236713984, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=68970165296873472, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=8796014739456, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=-293367294567006208, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=17592029380608, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=68583137184202752, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=35184251355136, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=1627277160628224, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=322429585727225856, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=68134536390967296, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=281474973614080, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=-293648769540521984, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=26388236713984, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=68169720834916352, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=35184251355136, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=1627277160628224, length=16384)]error = 5 g_vfs_done():ad0s1f[READ(offset=319403729713758208, length=16384)]error = 5 dev = ad0s1f, block = 9, fs = /usr panic: ffs_blkfree: freeing free block Uptime: 9h13m43s Physical memory: 494 MB Dumping 123 MB: 108 92 76 60 44 28 12 Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done. done. Loaded symbols for /boot/kernel/sound.ko Reading symbols from /boot/kernel/snd_ich.ko...Reading symbols from /boot/kernel/snd_ich.ko.symbols...done. done. Loaded symbols for /boot/kernel/snd_ich.ko Reading symbols from /boot/kernel/i915.ko...Reading symbols from /boot/kernel/i915.ko.symbols...done. done. Loaded symbols for /boot/kernel/i915.ko Reading symbols from /boot/kernel/drm.ko...Reading symbols from /boot/kernel/drm.ko.symbols...done. done. Loaded symbols for /boot/kernel/drm.ko Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /boot/kernel/linprocfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/linprocfs.ko Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /usr/local/modules/fuse.ko...done. Loaded symbols for /usr/local/modules/fuse.ko Reading symbols from /boot/kernel/logo_saver.ko...Reading symbols from /boot/kernel/logo_saver.ko.symbols...done. done. Loaded symbols for /boot/kernel/logo_saver.ko #0 doadump () at pcpu.h:196 196 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) backtrace #0 doadump () at pcpu.h:196 #1 0xc0572b73 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc0572d7e in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc07378fc in ffs_blkfree (ump=0xc2b84500, fs=0xc299a800, devvp=0xc2ba8cf0, bno=9, size=16384, inum=1532715) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1914 #4 0xc074b1f8 in indir_trunc (freeblks=0xc3c39800, dbn=24509792, level=0, lbn=12, countp=0xd540dc4c) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2925 #5 0xc074b4b8 in handle_workitem_freeblocks (freeblks=0xc3c39800, flags=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2774 #6 0xc074c5c8 in process_worklist_item (mp=0xc2b765a0, flags=Variable "flags" is not available. ) at /usr/src/sys/ufs/ffs/ffs_softdep.c:965 #7 0xc074e081 in softdep_process_worklist (mp=0xc2b765a0, full=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:848 #8 0xc0750814 in softdep_flush () at /usr/src/sys/ufs/ffs/ffs_softdep.c:759 #9 0xc054e646 in fork_exit (callout=0xc07503b0 <softdep_flush>, arg=0x0, frame=0xd540dd38) at /usr/src/sys/kern/kern_fork.c:810 #10 0xc07b20e0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264 (kgdb) q pc078650# exit exit Script done on Fri Feb 27 10:50:52 2009 To demonstrate that this is an ongoing problem for me, here are the previous 3 info messages from the previous dumps (having updated to the latest stable I don't have backtraces for these): Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 2 Dump Length: 94654464B (90 MB) Blocksize: 512 Dumptime: Sun Feb 1 13:07:18 2009 Hostname: pc078650.workstation.griffith.edu.au Magic: FreeBSD Kernel DumpDump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 2 Dump Length: 131899392B (125 MB) Blocksize: 512 Dumptime: Sat Feb 7 11:03:04 2009 Hostname: pc078650.workstation.griffith.edu.au Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.1-STABLE #10: Thu Feb 5 13:21:21 EST 2009 root@pc078650.workstation.griffith.edu.au:/usr/obj/usr/src/sys/KERNCONF Panic String: ffs_blkfree: freeing free block Dump Parity: 2182357057 Bounds: 1 Dump Status: good Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 2 Dump Length: 138956800B (132 MB) Blocksize: 512 Dumptime: Sun Feb 22 18:15:59 2009 Hostname: pc078650.workstation.griffith.edu.au Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.1-STABLE #11: Sun Feb 8 12:32:17 EST 2009 root@pc078650.workstation.griffith.edu.au:/usr/obj/usr/src/sys/KERNCONF Panic String: ffs_valloc: dup alloc Dump Parity: 2718937928 Bounds: 3 Dump Status: good Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 2 Dump Length: 129990656B (123 MB) Blocksize: 512 Dumptime: Wed Feb 25 18:54:06 2009 Hostname: pc078650.workstation.griffith.edu.au Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.1-STABLE #12: Wed Feb 25 09:11:14 EST 2009 root@pc078650.workstation.griffith.edu.au:/usr/obj/usr/src/sys/KERNCONF Panic String: ffs_blkfree: freeing free block Dump Parity: 1710843482 Bounds: 4 Dump Status: good Version String: FreeBSD 7.1-RELEASE-p2 #7: Tue Jan 20 17:44:47 EST 2009 root@pc078650.workstation.griffith.edu.au:/usr/obj/usr/src/sys/KERNCONF Panic String: ffs_valloc: dup alloc Dump Parity: 3195302246 Bounds: 0 Dump Status: good >How-To-Repeat: This issue typically presents itself during portupgrade invocations, presumably, because the compiler is reading/writing files in parallel. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902270112.n1R1Cx78054829>