Eivind Olsen wrote:
> (kgdb) fr 12
> #12 0xc030697e in spec_xstrategy (vp=0xc1fa9cc0, bp=0x0) at
> /usr/src/sys/fs/specfs/spec_vnops.c:512
> 512                     DEV_STRATEGY(bp);
> (kgdb) print *bp->b_dev
> There is no member named b_dev.

Uh, bp is 0 (NULL).  Even if there were a member, you're not
going to find out its value, since there isn't one.

A couple of things you might want to try is to chase down the
vnode, instead, e.g.:

print *vp
        (look for v_type)
print *(dn_p)vp->v_data
        (if it's a devfs vnode)
print *((dn_p)vp->v_data)->linklist->name
        (name of the device with the problem, if this is a devfs vp)
etc.

-- Terry
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to