Date: Wed, 30 Apr 1997 22:59:59 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-current@FreeBSD.org (FreeBSD-current users) Subject: Crash in gbincore() Message-ID: <19970430225959.BT38160@uriah.heep.sax.de>
next in thread | raw e-mail | index | archive | help
After unloading my cd9660 LKM, when reloading it, my kernel crashed in gbincore(). This was inside write(2) while ld(1) was linking the new module. The crash was here: /* * Check to see if a block is currently memory resident. */ struct buf * gbincore(struct vnode * vp, daddr_t blkno) { struct buf *bp; struct bufhashhdr *bh; bh = BUFHASH(vp, blkno); bp = bh->lh_first; /* Search hash chain */ while (bp != NULL) { /* hit */ if (bp->b_vp == vp && bp->b_lblkno == blkno && ^^^^^^^^ bp was (void *)0xffffffff. I wonder how this happened... -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970430225959.BT38160>