Bug 250442 - sys.geom.class.eli.online_resize_test.online_resize panics kernel after r366810-r366812
Summary: sys.geom.class.eli.online_resize_test.online_resize panics kernel after r3668...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: tests (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Edward Tomasz Napierala
Depends on:
Reported: 2020-10-19 02:31 UTC by Li-Wen Hsu
Modified: 2022-04-19 13:40 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Li-Wen Hsu freebsd_committer 2020-10-19 02:31:36 UTC

sys/geom/class/eli/online_resize_test:online_resize  ->
GEOM_ELI: Device md0p1.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI:     Crypto: software
GEOM_ELI: Autoresize is turned off, old size: 10485760.
GEOM_ELI: Device md0p1.eli destroyed.
panic: access but not attached
cpuid = 1
time = 1603048700
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00084ed010
vpanic() at vpanic+0x182/frame 0xfffffe00084ed060
panic() at panic+0x43/frame 0xfffffe00084ed0c0
g_access() at g_access+0x4e7/frame 0xfffffe00084ed120
g_dev_attrchanged() at g_dev_attrchanged+0x62/frame 0xfffffe00084ed260
g_dev_taste() at g_dev_taste+0x330/frame 0xfffffe00084ed410
g_resize_provider_event() at g_resize_provider_event+0xda/frame 0xfffffe00084ed440
g_run_events() at g_run_events+0x156/frame 0xfffffe00084ed470
fork_exit() at fork_exit+0x80/frame 0xfffffe00084ed4b0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00084ed4b0
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
KDB: enter: panic
[ thread pid 13 tid 100023 ]
Stopped at      kdb_enter+0x37: movq    $0,0x10a9ef6(%rip)
db:0:kdb.enter.panic> show pcpu
cpuid        = 1
dynamic pcpu = 0xfffffe00881c0980
curthread    = 0xfffffe0009ca1800: pid 13 tid 100023 critnest 1 "g_event"
curpcb       = 0xfffffe0009ca1d10
fpcurthread  = none
idlethread   = 0xfffffe0009c1bc00: tid 100004 "idle: cpu1"
self         = 0xffffffff82211000
curpmap      = 0xffffffff81c89240
tssp         = 0xffffffff82211384
rsp0         = 0xfffffe00084ed580
kcr3         = 0x800000000212a002
ucr3         = 0xffffffffffffffff
scr3         = 0x123454b61
gs32p        = 0xffffffff82211404
ldt          = 0xffffffff82211444
tss          = 0xffffffff82211434
curvnet      = 0
spin locks held:
db:0:kdb.enter.panic> alltrace
Comment 1 Edward Tomasz Napierala freebsd_committer 2020-10-19 11:28:17 UTC
Comment 2 commit-hook freebsd_committer 2020-10-19 20:27:31 UTC
A commit references this bug:

Author: trasz
Date: Mon Oct 19 20:26:37 UTC 2020
New revision: 366855
URL: https://svnweb.freebsd.org/changeset/base/366855

  Fix fallout from r366811.

  PR:		250442
  Reported by:	lwhsu
  Reviewed by:	mav
  MFC after:	2 weeks
  Sponsored by:	NetApp, Inc.
  Sponsored by:	Klara, Inc.
  Differential Revision:	https://reviews.freebsd.org/D26855

Comment 3 Mark Johnston freebsd_committer 2022-04-19 13:40:39 UTC
Seems to be fixed in stable/13 and main now.