⬢ DragonFlyBSD Kernel Audit
DF-4479 / fix_run.log
← back to finding ↓ download raw
create "drive d0": rc=-1 errno=1 err=1986622052 msg="e d0"
create "sd name s0 drive d0 len 2048s driveoffset 0s": rc=-1 errno=1 err=1847616627 msg="ame s0 drive d0 len 2048s driveoffset 0s"
readback: struct sd size = 208
after create: sd0 state=sd_stale
SETSTATE(sd0, object_initializing, force)      -> reply.error=0 msg="" actual sd0 state=5(sd_initializing)
SETSTATE(sd0, object_initialized, force)       -> reply.error=0 msg="" actual sd0 state=6(sd_initialized)
SETSTATE(sd0, object_initialized, force) again -> reply.error=0 msg="" actual sd0 state=6(sd_initialized)

BUG CRITERION: in step 2 the sd transitions to
sd_initialized (actual state above) but the ioctl reports
EBUSY "Can't set state" because vinumstate.c:1046 compares
sd->state != sd_initializing after requesting sd_initialized.