I am working on this bug and it is a side effect of wrapping VOP_* calls. krw meanwhile commited a fix for the bug that exposed the panic and should make your test case happy. The underlying bug needs more work though but I am working on it.
On Mon, Dec 20, 2010 at 06:59:00PM +0100, Andreas Bartelt wrote: > On 12/20/10 18:26, Kenneth R Westerback wrote: > ... > >Can you provide the details on the exact panic you saw? Just to make sure > >when an issue is reproduced we know we are working on the same problem. > > > > Debugger > panic > sr_crypto_finish_io > sr_crypto_intr > sdstrategy > spec_strategy > VOP_STRATEGY > sr_startwu_callback > > sd.c:572 calls bounds_check_with_label (in kern/subr_disk.c) which > returns '-1' in line 698. My assumption was that this eventually > leads to the panic.
