Hi All,
I have corefile where we see NULL pointer de-reference PANIC as we have
sent (deliberately) NULL pointer for return value.
vdev_disk_io_start()
...
...
error = ldi_ioctl(dvd->vd_lh, zio->io_cmd,
(uintptr_t)&zio->io_dk_callback,
FKIOCTL, kcred, NULL);
ldi_ioctl() expects last parameter as an integer pointer ( int *rvalp).
I see that in strdoictl(). Corefile I am analysing has similar BAD trap
while trying to stw %g0, [%i5] ( clr [%i5] )
/*
* Set return value.
*/
*rvalp = iocbp->ioc_rval;
*/
Is it a bug?? This code is all we do in vdev_disk_io_start(). I would
appreciate any feedback on this.
regards,
--shyamali
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss