Bug 230732 - Panic when using soft updates on a GELI volume in 11.2
Summary: Panic when using soft updates on a GELI volume in 11.2
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.2-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-geom mailing list
URL:
Keywords: panic, regression
Depends on:
Blocks:
 
Reported: 2018-08-18 14:30 UTC by 2t8mr7kx9f
Modified: 2018-08-27 20:59 UTC (History)
1 user (show)

See Also:


Attachments
Screenshot of the panic message (369.35 KB, image/jpeg)
2018-08-18 14:30 UTC, 2t8mr7kx9f
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description 2t8mr7kx9f 2018-08-18 14:30:15 UTC
Created attachment 196318 [details]
Screenshot of the panic message

After updating to 11.2-RELEASE, FreeBSD panics when there is heavy disk activity on a GELI volume with soft updates enabled.

I can reproduce this by duplicating a 8TB volume via rsync to the target disk, it panics every time with the same message:
"panic: softdep_deallocate_dependencies: dangling deps"

Disabling soft updates (tunefs -n disable) will allow the operation to finish.

The system is stable otherwise (memtest86 returns ok after a night of testing), and the backup worked flawlessly on 11.1 and a volume without GELI on 11.2.

Attached you will find a screenshot of the panic, unfortunately I was not able to get this in text form.

There has also been a second report with the same issue on reddit:
https://www.reddit.com/r/freebsd/comments/8uylxc/softdep_panics_on_112release/

Please let me know if I can provide any further information, I am happy to help to get this cleared up.
Comment 1 2t8mr7kx9f 2018-08-27 20:59:54 UTC
I did some further digging and it seems that GELI is not necessary to reproduce the panic.

I opened a separate bug report with a more detailed description:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230962