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: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/39402: "panic: getblk: block size invariant failed" with fss
Date: Mon, 25 Aug 2008 11:38:17 +0200

 On Mon, Aug 25, 2008 at 10:32:48AM +0200, Juergen Hannken-Illjes wrote:
 > 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
 
 here it is:
 login: Aug 25 11:28:43 comore su: bouyer to root on /dev/pts/0
 /mnt: suspended 0.080 sec, redo 0 of 5
 buf 0xffffa000001df920 lblkno 3 size 7168 req 8192panic: getblk: block size 
invariant failed
 fatal breakpoint trap in supervisor mode
 
 I can reproduce it on i386:
 /mnt: suspended 0.060 sec, redo 1 of 5
 buf 0xc104d6dc lblkno 3 size 7168 req 8192panic: getblk: block size invariant 
failed
 
 Stupid question: you have
 options DIAGNOSTIC
 in your kernel, do you ?
 
 Hum, another options that could affect this is
 options         MAXPHYS=32768
 (because this is on a Xen domU, and the virtual disk driver doesn't handle
 64k transfers).
 
 -- 
 Manuel Bouyer <bouyer%antioche.eu.org@localhost>
      NetBSD: 26 ans d'experience feront toujours la difference
 --
 


Home | Main Index | Thread Index | Old Index