* Reiser4 oops on cat ./..plugin/..readdir
@ 2004-02-27 1:34 Jonathan Briggs
2004-02-27 11:29 ` Nikita Danilov
0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Briggs @ 2004-02-27 1:34 UTC (permalink / raw)
To: Reiserfs mail-list
[-- Attachment #1.1: Type: text/plain, Size: 3838 bytes --]
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
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<00000000>] Not tainted
EFLAGS: 00010286
EIP is at 0x0
eax: df2dfe58 ebx: 00000000 ecx: df287140 edx: c03967f0
esi: c1720280 edi: df2dfe68 ebp: df2dfee4 esp: df2dfe28
ds: 007b es: 007b ss: 0068
Process cat (pid: 5389, threadinfo=df2de000 task=dfd3a0c0)
Stack: c02031f4 df287140 df2dfe58 df2dfe68 00000000 00000001 df2de000 00000296
00000000 df2de000 c013f934 df287140 c036eefd 00000001 dffec150 dffef80c
00000001 000000d0 dffef814 000000d0 dffef800 dffef800 00000286 df4ed300
Call Trace:
[<c02031f4>] readdir_start+0x64/0x1a0
[<c013f934>] cache_alloc_refill+0x4e4/0x560
[<c01753b8>] seq_read+0x178/0x310
[<c01ddb0f>] reiser4_read+0x8f/0xf0
[<c01562ca>] vfs_read+0x10a/0x150
[<c0156582>] sys_read+0x42/0x70
[<c0108249>] sysenter_past_esp+0x52/0x71
Code: Bad EIP value.
Another one, while in GUI running Nvidia drivers and VMware modules:
# cat ./..plugin/..readdir
Segmentation fault
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<00000000>] Tainted: PF
EFLAGS: 00010286
EIP is at 0x0
eax: c375de58 ebx: 00000000 ecx: cc6d3e00 edx: c03967f0
esi: d3611c40 edi: c375de68 ebp: c375dee4 esp: c375de28
ds: 007b es: 007b ss: 0068
Process cat (pid: 9365, threadinfo=c375c000 task=c907a080)
Stack: c02031f4 cc6d3e00 c375de58 c375de68 00000000 00000202 00000000 c0390e74
c0390e74 0000015f d5693174 cc6d3e00 c036eefd 00000001 c375de5c c375def0
00000000 00000000 c907a080 00000010 c03910bc 00000000 000000d2 00000000
Call Trace:
[<c02031f4>] readdir_start+0x64/0x1a0
[<c01753b8>] seq_read+0x178/0x310
[<c01ddb0f>] reiser4_read+0x8f/0xf0
[<c01562ca>] vfs_read+0x10a/0x150
[<c0156582>] sys_read+0x42/0x70
[<c0108249>] sysenter_past_esp+0x52/0x71
Code: Bad EIP value.
# lsmod
Module Size Used by
vmnet 26768 -
vmmon 88245 -
usbnet 26824 -
snd_pcm_oss 47460 -
snd_mixer_oss 16096 -
nfs 100848 -
lockd 57608 -
sunrpc 119048 -
ide_cd 35172 -
cdrom 34464 -
agpgart 23720 -
via_rhine 17512 -
mii 4032 -
nvidia 2070312 -
it87 19592 -
i2c_sensor 2080 -
i2c_isa 1472 -
i2c_core 17764 -
parport_pc 29372 -
lp 9384 -
parport 36136 -
snd_intel8x0 26372 -
snd_ac97_codec 58788 -
snd_pcm 86084 -
snd_timer 20580 -
snd_page_alloc 8580 -
snd_mpu401_uart 5824 -
snd_rawmidi 19488 -
snd 43172 -
soundcore 6400 -
md5 3584 -
ipv6 228288 -
autofs4 12896 -
sis900 17060 -
crc32 3680 -
iptable_filter 1856 -
ip_tables 16640 -
hid 23296 -
ehci_hcd 32068 -
uhci_hcd 28076 -
usbcore 96284 -
--
Jonathan Briggs
jbriggs@esoft.com
[-- Attachment #1.2: config.gz --]
[-- Type: application/x-gzip, Size: 7480 bytes --]
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Reiser4 oops on cat ./..plugin/..readdir
2004-02-27 1:34 Reiser4 oops on cat ./..plugin/..readdir Jonathan Briggs
@ 2004-02-27 11:29 ` Nikita Danilov
2004-02-27 16:59 ` Jonathan Briggs
0 siblings, 1 reply; 6+ messages in thread
From: Nikita Danilov @ 2004-02-27 11:29 UTC (permalink / raw)
To: Jonathan Briggs; +Cc: Reiserfs mail-list
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;
}
----------------------------------------------------------------------
>
> --
> Jonathan Briggs
> jbriggs@esoft.com
Nikita.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Reiser4 oops on cat ./..plugin/..readdir
2004-02-27 11:29 ` Nikita Danilov
@ 2004-02-27 16:59 ` Jonathan Briggs
2004-02-27 17:14 ` Nikita Danilov
0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Briggs @ 2004-02-27 16:59 UTC (permalink / raw)
To: Nikita Danilov; +Cc: Reiserfs mail-list
[-- Attachment #1: Type: text/plain, Size: 1557 bytes --]
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?
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.
--
Jonathan Briggs
jbriggs@esoft.com
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Reiser4 oops on cat ./..plugin/..readdir
2004-02-27 16:59 ` Jonathan Briggs
@ 2004-02-27 17:14 ` Nikita Danilov
2004-02-27 17:20 ` Jonathan Briggs
0 siblings, 1 reply; 6+ messages in thread
From: Nikita Danilov @ 2004-02-27 17:14 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Reiser4 oops on cat ./..plugin/..readdir
2004-02-27 17:14 ` Nikita Danilov
@ 2004-02-27 17:20 ` Jonathan Briggs
2004-02-27 17:33 ` Nikita Danilov
0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Briggs @ 2004-02-27 17:20 UTC (permalink / raw)
To: Nikita Danilov; +Cc: Reiserfs mail-list
[-- Attachment #1: Type: text/plain, Size: 2584 bytes --]
On Fri, 2004-02-27 at 10:14, Nikita Danilov wrote:
> 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.
Oh yes, I have read everything about v4 that I could find. I am very
excited about it! :-)
I see the difference now. Try just doing ls ./..plugin/. No output.
But cd ./..plugin; ls does produce a list just like yours. Strange! Is
this a bug?
--
Jonathan Briggs
jbriggs@esoft.com
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Reiser4 oops on cat ./..plugin/..readdir
2004-02-27 17:20 ` Jonathan Briggs
@ 2004-02-27 17:33 ` Nikita Danilov
0 siblings, 0 replies; 6+ messages in thread
From: Nikita Danilov @ 2004-02-27 17:33 UTC (permalink / raw)
To: Jonathan Briggs; +Cc: Reiserfs mail-list
Jonathan Briggs writes:
[...]
>
> I see the difference now. Try just doing ls ./..plugin/. No output.
> But cd ./..plugin; ls does produce a list just like yours. Strange! Is
> this a bug?
Yes. In ls(1). :)
Try this patch (untested):
----------------------------------------------------------------------
===== plugin/pseudo/pseudo.c 1.42 vs edited =====
--- 1.42/plugin/pseudo/pseudo.c Fri Feb 27 15:17:37 2004
+++ edited/plugin/pseudo/pseudo.c Fri Feb 27 20:28:45 2004
@@ -1220,7 +1220,7 @@
},
.try = try_by_label,
.lookup = lookup_pagecache,
- .lookup_mode = S_IFREG | S_IRUGO | S_IXUGO,
+ .lookup_mode = S_IFDIR | S_IRUGO | S_IXUGO,
.read_type = PSEUDO_READ_SINGLE,
.read = {
.single_show = show_pagecache
@@ -1326,7 +1326,7 @@
},
.try = NULL,
.lookup = lookup_plugin_field,
- .lookup_mode = S_IFREG | S_IRUGO | S_IXUGO,
+ .lookup_mode = S_IFDIR | S_IRUGO | S_IXUGO,
.read_type = PSEUDO_READ_SINGLE,
.read = {
.single_show = show_plugin
@@ -1345,7 +1345,7 @@
},
.try = try_by_label,
.lookup = lookup_plugins,
- .lookup_mode = S_IFREG | S_IRUGO | S_IXUGO,
+ .lookup_mode = S_IFDIR | S_IRUGO | S_IXUGO,
.read_type = PSEUDO_READ_NONE,
.write_type = PSEUDO_WRITE_NONE,
.readdir = readdir_plugins
----------------------------------------------------------------------
> --
> Jonathan Briggs
> jbriggs@esoft.com
Nikita.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-02-27 17:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-27 1:34 Reiser4 oops on cat ./..plugin/..readdir Jonathan Briggs
2004-02-27 11:29 ` Nikita Danilov
2004-02-27 16:59 ` Jonathan Briggs
2004-02-27 17:14 ` Nikita Danilov
2004-02-27 17:20 ` Jonathan Briggs
2004-02-27 17:33 ` Nikita Danilov
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.