Date: Tue, 12 Aug 2003 23:59:24 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Eivind Olsen <eivind@aminor.no> Cc: freebsd-current@freebsd.org Subject: Re: Crash in g_dev_strategy / CURRENT as of yesterday. Message-ID: <3F39E1CC.7292B6C1@mindspring.com> References: <770.1060717174@critter.freebsd.dk> <15173625.1060727308@[192.168.0.2]>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F39E1CC.7292B6C1>