NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/39402: "panic: getblk: block size invariant failed" with fss



The following reply was made to PR kern/39402; it has been noted by GNATS.

From: Juergen Hannken-Illjes <hannken%eis.cs.tu-bs.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
Subject: Re: kern/39402: "panic: getblk: block size invariant failed" with fss
Date: Mon, 25 Aug 2008 10:32:48 +0200

 On Sun, Aug 24, 2008 at 06:55:00PM +0000, Manuel Bouyer wrote:
 > >Number:         39402
 > >Category:       kern
 > >Synopsis:       "panic: getblk: block size invariant failed" with fss
 
 Unable to reproduce it (on i386) - please add this printf and post the result:
 
 --- vfs_bio.c  31 Jul 2008 05:38:05 -0000      1.208
 +++ vfs_bio.c  25 Aug 2008 08:29:00 -0000
 @@ -1193,4 +1193,7 @@ getblk(struct vnode *vp, daddr_t blkno, 
                if (ISSET(bp->b_oflags, BO_DONE|BO_DELWRI) &&
 -                  bp->b_bcount < size && vp->v_type != VBLK)
 +                  bp->b_bcount < size && vp->v_type != VBLK) {
 +                      printf("buf %p lblkno %"PRId64" size %d req %d",
 +                          bp, bp->b_lblkno, bp->b_bcount, size);
                        panic("getblk: block size invariant failed");
 +              }
  #endif
 
 -- 
 Juergen Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig 
(Germany)
 


Home | Main Index | Thread Index | Old Index