From: Nikita Danilov Subject: Re: Reiser4 oops on cat ./..plugin/..readdir Date: Fri, 27 Feb 2004 20:14:03 +0300 Message-ID: <16447.31451.279097.181894@laputa.namesys.com> References: <1077845680.6801.4.camel@localhost.localdomain> <16447.10782.595624.815422@laputa.namesys.com> <1077901194.6423.2.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <1077901194.6423.2.camel@localhost.localdomain> List-Id: Content-Type: text/plain; charset="us-ascii" To: Jonathan Briggs Cc: Reiserfs mail-list Jonathan Briggs writes: > On Fri, 2004-02-27 at 04:29, Nikita Danilov wrote: > > Jonathan Briggs writes: > > > Filesystem is on a RAID 0 MD device. > > > Config is attached. > > > Kernel compiled with: > > > > > > # gcc34 --version > > > gcc34 (GCC) 3.4.0 20040129 (Red Hat Linux 3.4.0-0.3) > > > Copyright (C) 2004 Free Software Foundation, Inc. > > > This is free software; see the source for copying conditions. There is NO > > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > > > > > Problem Description: > > > A clean, fresh boot into single user mode, no tainted modules: > > > # cd /home > > > # cat ./..plugin/..readdir > > > > Please try the following patch: > > ---------------------------------------------------------------------- > > ===== plugin/pseudo/pseudo.c 1.41 vs edited ===== > > --- 1.41/plugin/pseudo/pseudo.c Tue Jan 27 18:40:13 2004 > > +++ edited/plugin/pseudo/pseudo.c Fri Feb 27 14:27:54 2004 > > @@ -533,7 +533,7 @@ > > dotname.len = 1; > > > > down(&host->i_sem); > > - if (dplug == NULL) { > > + if (dplug == NULL || dplug->build_entry_key == NULL) { > > finish(NULL); > > return NULL; > > } > > ---------------------------------------------------------------------- > > Yes, this fixed the Oops. Thanks. > > That gives me another question. Why do I not see any plugins listed > when I do either ls ./..plugin/ or cat ./..plugin/..readdir? /data1/tests> cat ./..pseudo # list of pseudo file accessible under "." ..uid ..gid ..rwx ..oid ..key ..size ..nlink ..locality ..pagecache ..pseudo ..bmap ..readdir ..plugin ..items ..new /data1/tests> cd ./..plugin # pseudo directory representing plugins of "." /mnt/b1/tests/..plugin> ls compression crypto digest dir dir_item file formatting hash perm sd > > Shouldn't there be at least a few default plugins? I seem to remember > seeing some when I was using a previous snapshot in January. See http://namesys.com/v4/pseudo.html for details. > -- > Jonathan Briggs > jbriggs@esoft.com Nikita.