tech-kern archive

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

Re: bouyer-quota2: fsck_ffs crash



On Thu, Mar 10, 2011 at 07:45:20PM +0100, Manuel Bouyer wrote:
> On Thu, Mar 10, 2011 at 06:59:41PM +0100, Ignatios Souvatzis wrote:
> > Hi,
> > 
> > % unmount /export/home/1
> > % tunefs -q user /export/home/1
> > % fsck -fy /export/home/1
> > ...
> > > USER QUOTA MISMATCH FOR ID 0: 0/0 SHOULD BE 1791988/1794
> > > ALLOC? yes
> > > USER QUOTA MISMATCH FOR ID 0: 0/0 SHOULD BE 0/0
> > > ALLOC? yes
> > > fsck: /dev/home/rtheory1: Segmentation fault
> > 
> > This is on Sparc64. I'll provide more data tomorrow, assuming
> > I'll find time to point gdb at a -g binary and the core dump.
> 
> it should not try to allocate/fix entries for the same uid twice.
> Also, "0/0 SHOULD BE 0/0" looks wrong. It would be interesting
> to see if an entry got really added for id 0 twice, of if the second
> id is the result of some corruption.

I mean, if utilities.c:find_uquot() allocates for id 0 twice.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index