NetBSD-Bugs archive

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

Re: kern/57307: panic: ffs_blkfree: bad size



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

From: Emmanuel Dreyfus <manu%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
	netbsd-bugs%netbsd.org@localhost, manu%netbsd.org@localhost
Subject: Re: kern/57307: panic: ffs_blkfree: bad size
Date: Wed, 29 Mar 2023 09:20:04 +0000

 On Wed, Mar 29, 2023 at 08:50:02AM +0000, Michael van Elst wrote:
 >  There are several calls to ffs_blkfree in ffs_truncate. Can you
 >  identify which one is at ffs_truncate+0xf8e ?
 
 I must have upgraded the kernel since that time, the addresse does
 not fit. 0xf8e = 3982, I guess this must be the second call:
    0xc0398229 <ffs_truncate+3495>:      call   0xc03939a5 <ffs_blkfree>
    0xc039840b <ffs_truncate+3977>:      call   0xc03939a5 <ffs_blkfree>
    0xc03986b7 <ffs_truncate+4661>:      call   0xc03939a5 <ffs_blkfree>
 
 Which is your guess.
  
 >  My guess is line 527 that should free 'all whole direct blocks or frags'.
 
 I tried a smaller backing store. At 64 Go it does not crash. I will test
 next night to find the limit.
 
 -- 
 Emmanuel Dreyfus
 manu%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index