Sunil,<br><br>I've used the package from Red Hat 4 with kernel 2.6.9-55<br>because CentOs is based on it. But because the default version 2.6.9-55 lacked the firewire module I did install the centosplus one. That may explain why.
<br><br>[oracle@linuxbox2 opt]$ rpm -qa | grep ocfs2<br>ocfs2console-1.2.4-1<br>ocfs2-tools-1.2.4-1<br>ocfs2-2.6.9-55.ELsmp-1.2.5-1<br><br>Yassine<br><br><div><span class="gmail_quote">On 5/29/07, <b class="gmail_sendername">
Sunil Mushran</b> <<a href="mailto:Sunil.Mushran@oracle.com">Sunil.Mushran@oracle.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
debugfs is not shipped with rhel4. Hence bundled with the<br>ocfs2 package.<br><br>2.6.9-55.plus.c4smp? We don't have any packages for that kernel<br>on <a href="http://oss.oracle.com">oss.oracle.com</a>.<br><br>Do:<br>
# rpm -qa | grep ocfs2<br><br><br>Yassine Diallo wrote:<br>> Hello Sunil,<br>><br>> Well it seems that this kernel module is not present in the kernel<br>> release :<br>><br>> [root@linuxbox2 modules]# rpm -qf /lib/modules/`uname
<br>> -r`/kernel/fs/debugfs/debugfs.ko<br>> erreur: fichier /lib/modules/2.6.9-<br>> 55.plus.c4smp/kernel/fs/debugfs/debugfs.ko: Aucun fichier ou<br>> répertoire de ce type<br>> [root@linuxbox2 modules]# lsmod
<br>> Module Size Used by<br>> parport_pc 28032 1<br>> lp 15661 0<br>> parport 38025 2 parport_pc,lp<br>> autofs4 25285 0<br>
> i2c_dev 14529 0<br>> i2c_core 26049 1 i2c_dev<br>> ocfs2_dlmfs 27272 1<br>> ocfs2_dlm 199688 1 ocfs2_dlmfs<br>> ocfs2_nodemanager 159616 5 ocfs2_dlmfs,ocfs2_dlm
<br>> configfs 28300 2 ocfs2_nodemanager<br>> sunrpc 143909 1<br>> dm_mirror 31429 0<br>> dm_multipath 22985 0<br>> dm_mod 65000 2 dm_mirror,dm_multipath
<br>> button 10705 0<br>> battery 12997 0<br>> ac 8901 0<br>> md5 8129 1<br>> ipv6 243425 12<br>> ohci1394 35289 0
<br>> snd_azx 21841 3<br>> snd_hda_codec 126529 1 snd_azx<br>> snd_pcm_oss 52729 0<br>> snd_mixer_oss 21953 2 snd_pcm_oss<br>> snd_pcm 92357 3 snd_azx,snd_hda_codec,snd_pcm_oss
<br>> snd_timer 28229 1 snd_pcm<br>> snd 57509 10<br>> snd_azx,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer<br>> soundcore 13089 2 snd<br>> snd_page_alloc 13897 2 snd_azx,snd_pcm
<br>> r8169 31049 0<br>> sk98lin 144553 1<br>> floppy 58193 0<br>> sbp2 25929 0<br>> ieee1394 104825 2 ohci1394,sbp2<br>> ext3 119113 1
<br>> jbd 59609 1 ext3<br>> sata_uli 11973 4294967295<br>> libata 105757 1 sata_uli<br>> sd_mod 20545 0<br>> scsi_mod 119757 3 sbp2,libata,sd_mod
<br>> [root@linuxbox2 modules]# modinfo debugfs<br>> modinfo: could not find module debugfs<br>> [root@linuxbox2 modules]# uname -a<br>> Linux linuxbox2 2.6.9-55.plus.c4smp #1 SMP Sun May 20 10:29:12 EDT<br>> 2007 i686 i686 i386 GNU/Linux
<br>><br>> Yassine<br>><br>> On 5/29/07, *Sunil Mushran* <<a href="mailto:Sunil.Mushran@oracle.com">Sunil.Mushran@oracle.com</a><br>> <mailto:<a href="mailto:Sunil.Mushran@oracle.com">Sunil.Mushran@oracle.com
</a>>> wrote:<br>><br>> The debugfs module is bundled with the ocfs2 packages for 2.6.9<br>> (rhel4).<br>> Appears as if the module is not getting loaded.<br>><br>> Do:<br>> # rpm -qf /lib/modules/`uname -r`/kernel/fs/debugfs/debugfs.ko
<br>> # lsmod<br>> # modinfo debugfs<br>> # uname -a<br>><br>> Yassine Diallo wrote:<br>> > Hello,<br>> ><br>> > I'm running two linux boxes with Centos kernel distribution with
<br>> > kernel 2.6.9-55.plus.smp. My firewire disk is known by both machines<br>> > and the ocfs2 stack is loaded and up.<br>> ><br>> > But if I run the mount option I get the following error :
<br>> ><br>> > /dev/sdb1 1 125 1004031 83 Linux<br>> > /dev/sdb2 126 14715 117194175 83 Linux<br>> > /dev/sdb3 14716 29305 117194175 83 Linux
<br>> > /dev/sdb4 29306 38913 77176260 83 Linux<br>> > [root@linuxbox2 ~]#<br>> > [root@linuxbox2 ~]# mount -t ocfs2 -o datavolume,nointr<br>> /dev/sdb1 /oracrs<br>
> > mount.ocfs2: No such device while mounting /dev/sdb1 on /oracrs.<br>> Check<br>> > 'dmesg' for more information on this error.<br>> ><br>> > [root@linuxbox2 ~]# dmesg | tail
<br>> > i2c /dev entries driver<br>> > eth0: no IPv6 routers present<br>> > parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]<br>> > parport0: irq 7 detected<br>> > lp0: using parport0 (polling).
<br>> > lp0: console ready<br>> > eth1: no IPv6 routers present<br>> > ocfs2: Unknown symbol debugfs_remove<br>> > ocfs2: Unknown symbol debugfs_create_file<br>> > ocfs2: Unknown symbol debugfs_create_dir
<br>> > [root@linuxbox2 ~]# uname -a<br>> > Linux linuxbox2 2.6.9-55.plus.c4smp #1 SMP Sun May 20 10:29:12 EDT<br>> > 2007 i686 i686 i386 GNU/Linux<br>> ><br>> > The log mentions the function related to debugfs. I did install the
<br>> > ocfs2 from the rpm provided on the Oracle site and installed<br>> also the<br>> > ocfs2 tools, console and debug.<br>> ><br>> > Did somebody already have seen that problem ?
<br>> ><br>> > Note : I tried to compile ocfs2 from the tarball but the configure<br>> > tool stopped and complained about unknown kernel version ( probably<br>> > related to the centosplus kernel).
<br>> ><br>> > Thanks in advance<br>> ><br>> > Yassine<br>> ><br>> ------------------------------------------------------------------------<br>> ><br>> > _______________________________________________
<br>> > Ocfs2-users mailing list<br>> > <a href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a> <mailto:<a href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>>
<br>> > <a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a><br>> <<a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users
</a>><br>><br>><br><br></blockquote></div><br>