I configured a new cluster using 1.2.4-2. This was a custom install by
compiling source.
Any ideas or questions?
The segmentation fault produced with "rm -rf" or any other rm switch :
NOTE: This does not happen on a local filesystem.
kernel BUG at fs/inode.c:253!
invalid opcode: 0000 [#7]
SMP
last sysfs file: /firmware/edd/int13_dev80/extensions
Modules linked in: ocfs2 jbd edd ipv6 ocfs2_dlmfs ocfs2_dlm
ocfs2_nodemanager configfs iscsi_tcp libiscsi scsi_transport_iscsi
usbhid button battery ac apparmor aamatch_pcre loop dm_mod uhci_hcd
shpchp i2c_i801 i6300esb pci_hotplug i2c_core tg3 usbcore reiserfs fan
thermal processor sg mptspi mptscsih mptbase scsi_transport_spi piix
sd_mod scsi_mod ide_disk ide_core
CPU: 3
EIP: 0060:[<c0170c09>] Tainted: G U VLI
EFLAGS: 00010202 (2.6.16.27-0.6-smp #1)
EIP is at clear_inode+0x19/0xe4
eax: f7116b78 ebx: f7116a88 ecx: 00000000 edx: f7116a88
esi: 00000000 edi: f7116880 ebp: f7521000 esp: f753ff04
ds: 007b es: 007b ss: 0068
Process rm (pid: 5277, threadinfo=f753e000 task=c2327410)
Stack: <0>f7116a88 00000000 f924dd32 00000000 00000000 ffffffff ffffffff
f5e94c34
f7116a88 f924d5ec f684bdf8 f7521000 c0170d82 f7116880 f7116a88
f924d014
f7116a88 00000000 c017080e f7116a88 c016973a f5ca76c0 c2243540
11584cc1
Call Trace:
[<f924dd32>] ocfs2_delete_inode+0x746/0x7a8 [ocfs2]
[<f924d5ec>] ocfs2_delete_inode+0x0/0x7a8 [ocfs2]
[<c0170d82>] generic_delete_inode+0xae/0x118
[<f924d014>] ocfs2_drop_inode+0xe6/0x12a [ocfs2]
[<c017080e>] iput+0x63/0x65
[<c016973a>] do_unlinkat+0xa8/0x10f
[<c016b2c3>] vfs_readdir+0x86/0x96
[<c016b0e4>] filldir64+0x0/0xc3
[<c016b36e>] sys_getdents64+0x9b/0xa5
[<c0103bdb>] sysenter_past_esp+0x54/0x79
Code: 00 00 00 00 00 00 89 8b a4 00 00 00 89 d8 5b 5e 5f c3 56 53 89 c3
e8 ba ea 11 00 89 d8 e8 a3 ef fe ff 83 bb d8 00 00 00 00 74 08 <0f> 0b
fd 00 54 3f 2c c0 8b 83 44 01 00 00 a8 10 75 08 0f 0b ff
rcr
On Wed, Feb 14, 2007 at 11:13:28AM -0500, Randy Ramsdell wrote:> I configured a new cluster using 1.2.4-2. This was a custom install by > compiling source. > > Any ideas or questions?Yeah - you need to turn on the switch for a very small kernel api change which was unfortunately very difficult for us to properly detect correctly in our configure scripts. do a "make clean" to start fresh, and compile with the following: make GENERIC_DELETE_INODE_NOT_TRUNCATES=1 That should fix it up for you. --Mark -- Mark Fasheh Senior Software Developer, Oracle mark.fasheh@oracle.com
Yes, this is mentioned on the ocfs2 home page. Randy Ramsdell wrote:> I configured a new cluster using 1.2.4-2. This was a custom install by > compiling source. > > Any ideas or questions? > > > The segmentation fault produced with "rm -rf" or any other rm switch : > NOTE: This does not happen on a local filesystem. > > kernel BUG at fs/inode.c:253! > invalid opcode: 0000 [#7] > SMP > last sysfs file: /firmware/edd/int13_dev80/extensions > Modules linked in: ocfs2 jbd edd ipv6 ocfs2_dlmfs ocfs2_dlm > ocfs2_nodemanager configfs iscsi_tcp libiscsi scsi_transport_iscsi > usbhid button battery ac apparmor aamatch_pcre loop dm_mod uhci_hcd > shpchp i2c_i801 i6300esb pci_hotplug i2c_core tg3 usbcore reiserfs fan > thermal processor sg mptspi mptscsih mptbase scsi_transport_spi piix > sd_mod scsi_mod ide_disk ide_core > CPU: 3 > EIP: 0060:[<c0170c09>] Tainted: G U VLI > EFLAGS: 00010202 (2.6.16.27-0.6-smp #1) > EIP is at clear_inode+0x19/0xe4 > eax: f7116b78 ebx: f7116a88 ecx: 00000000 edx: f7116a88 > esi: 00000000 edi: f7116880 ebp: f7521000 esp: f753ff04 > ds: 007b es: 007b ss: 0068 > Process rm (pid: 5277, threadinfo=f753e000 task=c2327410) > Stack: <0>f7116a88 00000000 f924dd32 00000000 00000000 ffffffff ffffffff > f5e94c34 > f7116a88 f924d5ec f684bdf8 f7521000 c0170d82 f7116880 f7116a88 > f924d014 > f7116a88 00000000 c017080e f7116a88 c016973a f5ca76c0 c2243540 > 11584cc1 > Call Trace: > [<f924dd32>] ocfs2_delete_inode+0x746/0x7a8 [ocfs2] > [<f924d5ec>] ocfs2_delete_inode+0x0/0x7a8 [ocfs2] > [<c0170d82>] generic_delete_inode+0xae/0x118 > [<f924d014>] ocfs2_drop_inode+0xe6/0x12a [ocfs2] > [<c017080e>] iput+0x63/0x65 > [<c016973a>] do_unlinkat+0xa8/0x10f > [<c016b2c3>] vfs_readdir+0x86/0x96 > [<c016b0e4>] filldir64+0x0/0xc3 > [<c016b36e>] sys_getdents64+0x9b/0xa5 > [<c0103bdb>] sysenter_past_esp+0x54/0x79 > Code: 00 00 00 00 00 00 89 8b a4 00 00 00 89 d8 5b 5e 5f c3 56 53 89 c3 > e8 ba ea 11 00 89 d8 e8 a3 ef fe ff 83 bb d8 00 00 00 00 74 08 <0f> 0b > fd 00 54 3f 2c c0 8b 83 44 01 00 00 a8 10 75 08 0f 0b ff > > rcr > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users >
I meant the solution mentioned by Mark is listed on the ocfs2 home page. Randy Ramsdell wrote:> I configured a new cluster using 1.2.4-2. This was a custom install by > compiling source. > > Any ideas or questions? > > > The segmentation fault produced with "rm -rf" or any other rm switch : > NOTE: This does not happen on a local filesystem. > > kernel BUG at fs/inode.c:253! > invalid opcode: 0000 [#7] > SMP > last sysfs file: /firmware/edd/int13_dev80/extensions > Modules linked in: ocfs2 jbd edd ipv6 ocfs2_dlmfs ocfs2_dlm > ocfs2_nodemanager configfs iscsi_tcp libiscsi scsi_transport_iscsi > usbhid button battery ac apparmor aamatch_pcre loop dm_mod uhci_hcd > shpchp i2c_i801 i6300esb pci_hotplug i2c_core tg3 usbcore reiserfs fan > thermal processor sg mptspi mptscsih mptbase scsi_transport_spi piix > sd_mod scsi_mod ide_disk ide_core > CPU: 3 > EIP: 0060:[<c0170c09>] Tainted: G U VLI > EFLAGS: 00010202 (2.6.16.27-0.6-smp #1) > EIP is at clear_inode+0x19/0xe4 > eax: f7116b78 ebx: f7116a88 ecx: 00000000 edx: f7116a88 > esi: 00000000 edi: f7116880 ebp: f7521000 esp: f753ff04 > ds: 007b es: 007b ss: 0068 > Process rm (pid: 5277, threadinfo=f753e000 task=c2327410) > Stack: <0>f7116a88 00000000 f924dd32 00000000 00000000 ffffffff ffffffff > f5e94c34 > f7116a88 f924d5ec f684bdf8 f7521000 c0170d82 f7116880 f7116a88 > f924d014 > f7116a88 00000000 c017080e f7116a88 c016973a f5ca76c0 c2243540 > 11584cc1 > Call Trace: > [<f924dd32>] ocfs2_delete_inode+0x746/0x7a8 [ocfs2] > [<f924d5ec>] ocfs2_delete_inode+0x0/0x7a8 [ocfs2] > [<c0170d82>] generic_delete_inode+0xae/0x118 > [<f924d014>] ocfs2_drop_inode+0xe6/0x12a [ocfs2] > [<c017080e>] iput+0x63/0x65 > [<c016973a>] do_unlinkat+0xa8/0x10f > [<c016b2c3>] vfs_readdir+0x86/0x96 > [<c016b0e4>] filldir64+0x0/0xc3 > [<c016b36e>] sys_getdents64+0x9b/0xa5 > [<c0103bdb>] sysenter_past_esp+0x54/0x79 > Code: 00 00 00 00 00 00 89 8b a4 00 00 00 89 d8 5b 5e 5f c3 56 53 89 c3 > e8 ba ea 11 00 89 d8 e8 a3 ef fe ff 83 bb d8 00 00 00 00 74 08 <0f> 0b > fd 00 54 3f 2c c0 8b 83 44 01 00 00 a8 10 75 08 0f 0b ff > > rcr > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users >