[DragonFlyBSD - Bug #3061] HAMMER2. Hang up, reboot, and crash.

2017-09-19 Thread bugtracker-admin
Issue #3061 has been updated by yellowrabbit2010.


Updated, reinstalled, recreate all PFSes, so far all is good. Except that I 
once again ran into http://bugs.dragonflybsd.org/issues/3057 :) I'll watch 
another couple of days.


Bug #3061: HAMMER2. Hang up, reboot, and crash.
http://bugs.dragonflybsd.org/issues/3061#change-13217

* 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 0xff8525bc tid c00b
Sep 19 17:23:31 fly kernel: chain 0068a0f4480a.01 key= 
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=0xff852613a000 mount_count=0
Sep 19 17:23:31 fly kernel: unmount hmp 0xff852613a000 remove spmp 
0xff8525bc
Sep 19 17:23:31 fly kernel: unmount hmp 0xff852613a000 last ref to 
PMP=0xff8525bc
Sep 19 17:23:31 fly kernel: pfsfree: 0xff8525bc 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 0xff852613a4c0.255 /0 
mir=c00b
Sep 19 17:23:31 fly kernel: [2000] (?) refs=1
Sep 19 17:23:31 fly kernel: f-chain 0xff852613a640.254 /0 
mir=c00a
Sep 19 17:23:31 fly kernel: [0004] (?) 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


[DragonFlyBSD - Bug #3061] HAMMER2. Hang up, reboot, and crash.

2017-09-19 Thread bugtracker-admin
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 0xff8525bc tid c00b
Sep 19 17:23:31 fly kernel: chain 0068a0f4480a.01 key= 
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=0xff852613a000 mount_count=0
Sep 19 17:23:31 fly kernel: unmount hmp 0xff852613a000 remove spmp 
0xff8525bc
Sep 19 17:23:31 fly kernel: unmount hmp 0xff852613a000 last ref to 
PMP=0xff8525bc
Sep 19 17:23:31 fly kernel: pfsfree: 0xff8525bc 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 0xff852613a4c0.255 /0 
mir=c00b
Sep 19 17:23:31 fly kernel: [2000] (?) refs=1
Sep 19 17:23:31 fly kernel: f-chain 0xff852613a640.254 /0 
mir=c00a
Sep 19 17:23:31 fly kernel: [0004] (?) 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