Summary: | [ufs] snapshot creation panics: snapacct_ufs2: bad block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Gael Roualland <gael.roualland> | ||||||||||
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Only Me | CC: | chris, mckusick | ||||||||||
Priority: | Normal | ||||||||||||
Version: | 6.2-STABLE | ||||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Attachments: |
|
Description
Gael Roualland
2007-07-17 22:50:01 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-fs Seems more FS related, reassign. FreeBSD-7-stable is completely unstable for me due to this panic. I used to have regular snapshots enabled on /var and /home. While there has been random (and not quite reproducible) file corruption happened within snapshotted binary files in the past, after upgrading from FreeBSD 6.x to 7-stable, the system went completely unstable due to this panic. It crashes every couple of days now. I have already disabled the regular snapshots, but it's got a tendency for a complete hard lockup during startup after a crash. The only remedy then is to manually fsck everything in single-user mode. Here's the dump information from the recent crash dumps: Dump header from device /dev/ad4s1b Architecture: i386 Architecture Version: 2 Dump Length: 317976576B (303 MB) Blocksize: 512 Dumptime: Wed Jun 25 04:10:25 2008 Hostname: uriah.heep.sax.de Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.0-STABLE #5: Tue Jun 17 15:06:46 MET DST 2008 r@uriah.heep.sax.de:/usr/obj/usr/src/sys/URIAH Panic String: snapacct_ufs2: bad block Dump Parity: 558154102 Bounds: 42 Dump Status: good Dump header from device /dev/ad4s1b Architecture: i386 Architecture Version: 2 Dump Length: 180707328B (172 MB) Blocksize: 512 Dumptime: Mon Jun 30 22:05:09 2008 Hostname: uriah.heep.sax.de Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.0-STABLE #6: Mon Jun 30 21:24:35 MET DST 2008 root@uriah.heep.sax.de:/usr/obj/usr/src/sys/URIAH Panic String: snapacct_ufs2: bad block Dump Parity: 859829782 Bounds: 43 Dump Status: good I'm going to avoid /any/ kind of snapshot (even dump -L) now just to get a stable system again (hopefully). -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) Hello, I encounter the same problem since updating from 6.0 to 7.1-RELEASE. The system is a Pentium4 with a 500 Gb RAID1 (twe). The filesystems are clean, in case of the appended dumps the panics happened just after a complete fsck in single-user mode. The panics are not completely reproducable as they happen quite often but not on every single snapshot. -- Martin Similar problem on 8-stable, crashed during snapshot creation on a UFS2 filesystem. But for me it seems to be caused by HDD errors: acd0: FAILURE - ATA_IDENTIFY status=51<READY,DSC,ERROR> error=4<ABORTED> LBA=0 Device: /dev/ad4, 12 Currently unreadable (pending) sectors Device: /dev/ad4, 12 Offline uncorrectable sectors I have this panic after crash caused by failed UPS. The system is 8.0-RELEASE-pX. The worse thing is that it caused endless loop of reboots (crash caused background fsck+snapshot which caused panic which caused reboot+fsck etc.) UFS is placed over gmirror-ed disks (additionally checked with smartctl) so I guess low level disk failure is not the cause. I have few dumps available. *blkp is BLK_SNAP *ibp is $5 = {b_bufobj = 0xc585ea14, b_bcount = 16384, b_caller1 = 0x0, b_data = 0xdd1f3000 "\001", b_error = 0, b_iocmd = 2 '\002', b_ioflags = 2 '\002', b_iooffset = 19662389248, b_resid = 0, b_iodone = 0, b_blkno = 38403104, b_offset = -140257722368, b_bobufs = {tqe_next = 0xd9226e90, tqe_prev = 0xd90e9a08}, b_left = 0xd92c08e0, b_right = 0xd9281790, b_vflags = 0, b_freelist = {tqe_next = 0xd90e99d0, tqe_prev = 0xd9226edc}, b_qindex = 2, b_flags = 2147483808, b_xflags = 1 '\001', b_lock = { lock_object = {lo_name = 0xc0a74500 "bufwait", lo_flags = 91422720, lo_data = 0, lo_witness = 0x0}, lk_lock = 3311290624, lk_timo = 0, lk_pri = 80}, b_bufsize = 16384, b_runningbufspace = 0, b_kvabase = 0xdd1f3000 "\001", b_kvasize = 16384, b_lblkno = -8560652, b_vp = 0xc585e96c, b_dirtyoff = 0, b_dirtyend = 0, b_rcred = 0x0, b_wcred = 0x0, b_saveaddr = 0xdd1f3000, b_pager = {pg_reqpage = 0}, b_cluster = {cluster_head = {tqh_first = 0x0, tqh_last = 0x0}, cluster_entry = {tqe_next = 0x0, tqe_prev = 0x0}}, b_pages = {0xc1a7e050, 0xc1a0a568, 0xc1a16ec8, 0xc16fdfe0, 0x0 <repeats 28 times>}, b_npages = 4, b_dep = {lh_first = 0x0}, b_fsprivate1 = 0x0, b_fsprivate2 = 0x0, b_fsprivate3 = 0x0, b_pin_count = 0} -- Marcin Gryszkalis, PGP 0x9F183FA3 jabber jid:mg@fork.pl, gg:2532994 http://the.fork.pl 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 This bug has finally been tracked down and fixed. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253158 |