All of lore.kernel.org
 help / color / mirror / Atom feed
* Reiser4 breaks (Debian's ?) module-init-tools
@ 2004-10-04 21:58 Pierre Etchemaite
  2004-10-06  7:39 ` Vladimir Saveliev
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Etchemaite @ 2004-10-04 21:58 UTC (permalink / raw)
  To: reiserfs-list


        Hi,

On an (almost) fully Reiser4 system, /etc/modprobe.d/ contents seem to
be disregarded. When tracing modprobe, each file in this directory is
opened as a directory, that looks a lot like the Apache
compatibility bug.

open("/etc/modprobe.d/autofs", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=64, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
getdents64(4, 0x8063e3c, 65536)         = -1 ENOTDIR (Not a directory)
close(4)                                = 0

Looking closer, it's not limited to that directory:

open("/lib/modules/2.6.8.1/modules.alias", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=27353, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, 0x804f0ac, 65536)         = -1 ENOTDIR (Not a directory)
close(3)                                = 0

module-init-tools v. 3.1-pre5-7 (Debian testing)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Reiser4 breaks (Debian's ?) module-init-tools
  2004-10-04 21:58 Reiser4 breaks (Debian's ?) module-init-tools Pierre Etchemaite
@ 2004-10-06  7:39 ` Vladimir Saveliev
  2004-10-07 23:43   ` Pierre Etchemaite
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Saveliev @ 2004-10-06  7:39 UTC (permalink / raw)
  To: Pierre Etchemaite; +Cc: reiserfs-list

Hello

On Tue, 2004-10-05 at 01:58, Pierre Etchemaite wrote:
>         Hi,
> 
> On an (almost) fully Reiser4 system, /etc/modprobe.d/ contents seem to
> be disregarded. When tracing modprobe, each file in this directory is
> opened as a directory, that looks a lot like the Apache
> compatibility bug.
> 
> open("/etc/modprobe.d/autofs", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
> fstat64(4, {st_mode=S_IFREG|0644, st_size=64, ...}) = 0
> fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
> getdents64(4, 0x8063e3c, 65536)         = -1 ENOTDIR (Not a directory)
> close(4)                                = 0
> 
> Looking closer, it's not limited to that directory:
> 
> open("/lib/modules/2.6.8.1/modules.alias", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=27353, ...}) = 0
> fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
> getdents64(3, 0x804f0ac, 65536)         = -1 ENOTDIR (Not a directory)
> close(3)                                = 0
> 
> module-init-tools v. 3.1-pre5-7 (Debian testing)

Would you please try whether this patch fixes the problem?
ftp://ftp.ru.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc3/2.6.9-rc3-mm2/broken-out/reiser4-disable-pseudo.patch


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Reiser4 breaks (Debian's ?) module-init-tools
  2004-10-06  7:39 ` Vladimir Saveliev
@ 2004-10-07 23:43   ` Pierre Etchemaite
  0 siblings, 0 replies; 3+ messages in thread
From: Pierre Etchemaite @ 2004-10-07 23:43 UTC (permalink / raw)
  To: reiserfs-list

Le mer 06 oct 2004 11:39:35 CEST, Vladimir Saveliev <vs@namesys.com> a écrit
:

(Sorry for the delay, I'm very busy those days)

> Hello
> 
> On Tue, 2004-10-05 at 01:58, Pierre Etchemaite wrote:
> >         Hi,
> > 
> > On an (almost) fully Reiser4 system, /etc/modprobe.d/ contents seem to
> > be disregarded. When tracing modprobe, each file in this directory is
> > opened as a directory, that looks a lot like the Apache
> > compatibility bug.
> > 
> 
> Would you please try whether this patch fixes the problem?
> ftp://ftp.ru.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc3/2.6.9-rc3-mm2/broken-out/reiser4-disable-pseudo.patch
> 

Yes, it fixes the problem (as expected).

Are you sure they aren't more programs (almost) silently failing ?

What about a patch that logs processes running getdents() on regular
file descriptors, etc. ?

BR,
Pierre.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-07 23:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-04 21:58 Reiser4 breaks (Debian's ?) module-init-tools Pierre Etchemaite
2004-10-06  7:39 ` Vladimir Saveliev
2004-10-07 23:43   ` Pierre Etchemaite

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.