Bug 152609 - [geli] geli onetime on gzero panics
Summary: [geli] geli onetime on gzero panics
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.2-PRERELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Jakub Dawidek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-27 05:10 UTC by Michael Moll
Modified: 2014-06-14 08:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Moll freebsd_committer freebsd_triage 2010-11-27 05:10:11 UTC
via# kldload geom_zero
via# kldload geom_eli
via# geli onetime -e AES-CBC -s 512 -l 256 gzero

panic: kmem_malloc: entry not found or misaligned
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff805e5e0e at kdb_backtrace+0x5e
#1 0xffffffff805b3e47 at panic+0x187
#2 0xffffffff80806b8e at kmem_back+0x21e
#3 0xffffffff80807229 at kmem_malloc+0x1d9
#4 0xffffffff807feeda at uma_large_malloc+0x4a
#5 0xffffffff805a12b7 at malloc+0xd7
#6 0xffffffff8102b1f4 at g_eli_mkey_propagate+0xf4
#7 0xffffffff81023b40 at g_eli_create+0x420
#8 0xffffffff81027c7e at g_eli_config+0x57e
#9 0xffffffff80554ce7 at g_run_events+0x1b7
#10 0xffffffff805562e5 at g_event_procbody+0x55
#11 0xffffffff8058a648 at fork_exit+0x118
#12 0xffffffff80885bae at fork_trampoline+0xe
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-11-27 21:33:00 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-geom

Over to maintainer(s).
Comment 2 Pawel Jakub Dawidek freebsd_committer freebsd_triage 2014-06-01 07:25:52 UTC
State Changed
From-To: open->patched

Fixed in HEAD, thanks. 


Comment 3 Pawel Jakub Dawidek freebsd_committer freebsd_triage 2014-06-01 07:25:52 UTC
Responsible Changed
From-To: freebsd-geom->pjd

I'll take this one.
Comment 4 Michael Moll freebsd_committer freebsd_triage 2014-06-14 08:45:39 UTC
This is fixed in 9/10/CURRENT and not easy to fix on 8, so IMHO this can be closed.