Skip site navigation (1)Skip section navigation (2)
Date:      31 Jan 2001 03:15:04 +0100
From:      Love <lha@stacken.kth.se>
To:        Chris Csanady <ccsanady@iastate.edu>
Cc:        freebsd-hackers@freebsd.org, arla-drinkers@stacken.kth.se
Subject:   Re: FreeBSD Linux emulation / arla 0.34.6
Message-ID:  <am7l3c4gd3.fsf@mom.e.kth.se>
In-Reply-To: Chris Csanady's message of "Tue, 30 Jan 2001 18:02:15 CST"
References:  <200101310002.SAA27885@isua3.iastate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Csanady <ccsanady@iastate.edu> writes:

> >The patch below for arla fixes the problem.
> > 
> >> I believe that this might also be what is causing linux-netscape
> >> to wedge the machine (with home directories on afs), although I'm
> >> not positive.
> 
> This patch does fix the directory problem, but apparently not the
> netscape wedging problem.  Anyways, I have tracked it down I think,
> but I'm not positive about the fix.
> 
> The problem appears to be xfs_readdir getting passed a directory
> that contains an entry with dp->d_reclen zero--then it gets stuck
> infinitely looping here.

Yes, that is definitely a bug in xfs. It's also a bug in arlad. Can you add
`printf ("name: %s %d\n", dp->d_name, dp->d_reclen)' in one of the cookie
loops too find what directory that is corrupted.

The try to find the file in arla's cache directory. The converted
directory's filename ends with '@' and will contain the information that
the kernel reads. Then try to parse the file, or send it to
({lha,map,assar}@stacken.kth.se) and we'll try to figure out why it
happens.

I've commited your patch. Thanks.

Love


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?am7l3c4gd3.fsf>