Sunil Mushran wrote: > This is a build problem. > > >From ocfs2 home page: > ================================================================ > Other Distributions: If your distribution does not include OCFS2, > you will need to download and build the sources. To build against > the mainline kernel, download the kernel from kernel.org. As OCFS2 > has been included in the mainline since 2.6.16-rc1, we no longer > provide patches against it on oss.oracle.com but rather keep the > source current on mainline. > > For users building from OCFS2 1.2.x tarballs with kernels 2.6.14 > or later, use the following make command: > > make GENERIC_DELETE_INODE_NOT_TRUNCATES=1 > ================================================================ > > > Interesting. It works thanks. I actually forgot about this. Any reason a 3 node cluster using v1.2.4 never experienced this kernel bug even though it should have been compiled with the make option?
> On Mon, 2007-04-30 at 10:25 -0400, Randy Ramsdell wrote: > >> When running a script to test the ocfs2 volume, I am getting the kernel >> bug below when it tries to delete the files. >> The script itself seg faults. I can delete the files from another node, >> but it hangs and never returns the terminal. >> >> Dist: opensuse 10.1 >> Kernel : 2.6.16.27-0.9-smp >> >> >> ------------[ cut here ]------------ >> kernel BUG at fs/inode.c:253! >> invalid opcode: 0000 [#1] >> SMP >> last sysfs file: /firmware/edd/int13_dev80/extensions >> Modules linked in: ocfs2 jbd edd crc32c libcrc32c ipv6 ocfs2_dlmfs >> ocfs2_dlm ocfs2_nodemanager iscsi_tcp configfs libiscsi >> scsi_transport_iscsi button battery ac apparmor aamatch_pcre loop dm_mod >> uhci_hcd i2c_i801 usbcore i2c_core i8xx_tco shpchp pci_hotplug tg3 >> reiserfs piix fan thermal processor sg mptspi mptscsih mptbase >> scsi_transport_spi sd_mod scsi_mod ide_disk ide_core >> CPU: 2 >> EIP: 0060:[<c0170d71>] Tainted: G U VLI >> EFLAGS: 00010202 (2.6.16.27-0.9-smp #1) >> EIP is at clear_inode+0x19/0xe4 >> eax: f7313df8 ebx: f7313d08 ecx: 00000000 edx: f7313d08 >> esi: 00000000 edi: f7313b00 ebp: f5d7e000 esp: f5d8df04 >> ds: 007b es: 007b ss: 0068 >> Process rm (pid: 3466, threadinfo=f5d8c000 task=c23f7870) >> Stack: <0>f7313d08 00000000 f9121d2d 00000000 00000000 ffffffff ffffffff >> f7383650 >> f7313d08 f91215e7 f6b88090 f5d7e000 c0170eea f7313b00 f7313d08 >> f9121014 >> f7313d08 00000000 c0170976 f7313d08 c0169706 f7756090 c224d540 >> 20447e55 >> Call Trace: >> [<f9121d2d>] ocfs2_delete_inode+0x746/0x7a8 [ocfs2] >> [<f91215e7>] ocfs2_delete_inode+0x0/0x7a8 [ocfs2] >> [<c0170eea>] generic_delete_inode+0xae/0x118 >> [<f9121014>] ocfs2_drop_inode+0xe6/0x12a [ocfs2] >> [<c0170976>] iput+0x63/0x65 >> [<c0169706>] do_unlinkat+0xa8/0x10f >> [<c016b28f>] vfs_readdir+0x86/0x96 >> [<c016b0b0>] filldir64+0x0/0xc3 >> [<c016b33a>] 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 f2 eb 11 00 89 d8 e8 0b ee fe ff 83 bb d8 00 00 00 00 74 08 <0f> 0b >> fd 00 53 3f 2c c0 8b 83 44 01 00 00 a8 10 75 08 0f 0b ff >> >> _______________________________________________ >> Ocfs2-users mailing list >> [email protected] >> http://oss.oracle.com/mailman/listinfo/ocfs2-users >> > > _______________________________________________ Ocfs2-users mailing list [email protected] http://oss.oracle.com/mailman/listinfo/ocfs2-users
