Issue #3061 has been updated by dillon. Assignee set to dillon
I think I may have fixed this one last night in master (commit id through to a964af6f47472). I also believe that the stall should be fixed too (19808ac9def). There was a bug in the flush code that could catch some indirect block management in the middle of moving elements into or out of an indirect block, causing a damaged topology to be committed to media. This bug self-corrected during a normal shutdown, halt, or reboot, but not if the machine crashes or undergoes a hard reset. Unfortunately, once damaged, the topology pretty much can't be repaired and the filesystem needs to be newfs_hammer2'd. So I would say, update, reinstall, and keep watch. If it happens again with a kernel with a commitid of a964af6f47472 or later then we need to look at it more closely. -Matt ---------------------------------------- Bug #3061: HAMMER2. Hang up, reboot, and crash. http://bugs.dragonflybsd.org/issues/3061#change-13213 * Author: yellowrabbit2010 * Status: New * Priority: Normal * Assignee: dillon * Category: * Target version: ---------------------------------------- I started the build as ------ nice -n 9 make -j 8 buildworld ------ @USR-SRC is mounted at /usr/scr, @USR-OBJ is mounted at /usr/obj. The compilation stalled, I pressed reset and after reboot the system dumped immediately. After that I was able to boot, but the PFSes were gone. Each attempt to mount any of them led to the following errors: ----------- Sep 19 17:23:31 fly kernel: hammer2_mount Sep 19 17:23:31 fly kernel: hammer2_mount: dev="/dev/serno/WD-WCC2EP295836.s1d" label="USR-OBJ" rdonly=0 Sep 19 17:23:31 fly kernel: hammer2: using volume header #3 Sep 19 17:23:31 fly kernel: alloc spmp 0xffffff8525bc0000 tid 000000000000c00b Sep 19 17:23:31 fly kernel: chain 00000068a0f4480a.01 key=0000000000000000 meth=31 CHECK FAIL (flags=00144002, bref/data f84c9b21bc9ef301/1e55118462e960c9) Sep 19 17:23:31 fly kernel: hammer2_mount: error Check Error reading super-root Sep 19 17:23:31 fly kernel: hammer2_unmount hmp=0xffffff852613a000 mount_count=0 Sep 19 17:23:31 fly kernel: unmount hmp 0xffffff852613a000 remove spmp 0xffffff8525bc0000 Sep 19 17:23:31 fly kernel: unmount hmp 0xffffff852613a000 last ref to PMP=0xffffff8525bc0000 Sep 19 17:23:31 fly kernel: pfsfree: 0xffffff8525bc0000 lrucount=0 Sep 19 17:23:31 fly kernel: hammer2_unmount(A): devvp /dev/serno/WD-WCC2EP295836.s1d rbdirty 0 ronly=0 Sep 19 17:23:31 fly kernel: hammer2_unmount(B): devvp /dev/serno/WD-WCC2EP295836.s1d rbdirty 0 Sep 19 17:23:31 fly kernel: v-chain 0xffffff852613a4c0.255 0000000000000000/0 mir=000000000000c00b Sep 19 17:23:31 fly kernel: [00002000] (?) refs=1 Sep 19 17:23:31 fly kernel: f-chain 0xffffff852613a640.254 0000000000000000/0 mir=000000000000c00a Sep 19 17:23:31 fly kernel: [00000004] (?) refs=0 ----------- ---Files-------------------------------- core.txt.0 (239 KB) -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account