2010/4/5 lhmwzy <[email protected]>
> Maybe I do something wrong?
> 1.add the disk to computer.
> 2.hammer volume-add /dev/da1s0 /
> 3.shutdown -r now
> 4.panic
>
Hi,
No you did not do anything wrong. I can reproduce it!
The following assertion fails in vfs_bio.c, vfs_vmio_release() line 1747:
KKASSERT (LIST_FIRST(&bp->b_dep) == NULL);
I wonder if this has something to do with my volume-add / volume-del code.
Could anyone
more knowledgeable of vfs_bio.c take a look at it?
Seems not to panic, if the filesystem you add a new volume to is not the
root filesystem.
Regards,
Michael