Operating System - Linux
1830207 Members
1996 Online
109999 Solutions
New Discussion

Re: OCFS under AS 2.1 on intanium

 

OCFS under AS 2.1 on intanium

Does anybody know how to make ocfs works after a new kenrel is installed??? The fact is that I need to install a new kernel to solve some kernel panics, but after I installed I couldn't detect the ULTRIUM and the OCFS didn't start.

If you want some detailed information, please let me know
10 REPLIES 10
Florian Heigl (new acc)
Honored Contributor

Re: OCFS under AS 2.1 on intanium

Did Your new kernel contain stape drivers and the OCFS support / patches?

iirc on 2.6.11 there was a kernel config option for OCFS right away.
yesterday I stood at the edge. Today I'm one step ahead.

Re: OCFS under AS 2.1 on intanium

How could I know it? The new kernel is:

kernel-smp-2.4.18-e.55.ia64.rpm and it is the U7 for RH AS 2.1 ia64

Re: OCFS under AS 2.1 on intanium

The fact is that previously I installed a *hotfix* kernel and ocfs neither ultrium was detected.

2.4.18-e.51
Florian Heigl (new acc)
Honored Contributor

Re: OCFS under AS 2.1 on intanium

Now, actually the current version of the Linux 2.4-branch is 2.4.29, this 'hotfix' kernel is outdated for more than a year.
So unless there are policies at Your site or the support contract speaking against it (but I'd have a good laugh if a linux vendor didn't support You using linux), I'd highly recommend You to grab the 2.4.29 sources and build a current kernel.

elsewise there should be modules for ocfs and the ultrium somewhere in /lib/modules, go through there carefully and compare it against what was there with the old kernel/modules set.

You can add modules yourself using the source rpm.
yesterday I stood at the edge. Today I'm one step ahead.

Re: OCFS under AS 2.1 on intanium

Could be possible to copy only those modules that weren't installed from one kernel to another?
Florian Heigl (new acc)
Honored Contributor

Re: OCFS under AS 2.1 on intanium

This is possible, if the kernel versions are exakt.
I'd give it a try between 2.4.19-r1 and 2.4.19-r2 or something like that, but not between larger version gaps - this would almost have to imply trouble.

yesterday I stood at the edge. Today I'm one step ahead.

Re: OCFS under AS 2.1 on intanium

I have to say that ocfs was not the problem, after install the new kernel, the qla driver needs to be uninstalled and installed again in the new kernel in order to provide access to the ultrium and scsi partitions, after this the ocfs module is loaded without any problem.

Regards.
Florian Heigl (new acc)
Honored Contributor

Re: OCFS under AS 2.1 on intanium

Glad to hear this works now.

You write install/uninstall - do You mean via modprobe or did You rebuild the modules?

florian
yesterday I stood at the edge. Today I'm one step ahead.

Re: OCFS under AS 2.1 on intanium

Well today in another system it didn't work, the procedure was an rpm -e qla_driver, then installit again and the ocfs worked fine, however in another system I got this:

# mount -a
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems
This is the entry in /etc/fstab:

/dev/sda /erac01 ocfs _netdev 0 0
And some error from /var/log/messages:

[root@dev9 root]# cat /var/log/messages | grep ocfs
Apr 28 20:11:35 dev9 load_ocfs: /sbin/insmod ocfs node_name=dev9 ip_address=192.168.4.2 cs=1782 guid=617A5F73FB044F16E51F00110A31A813 comm_voting=1 ip_port=7000
Apr 28 20:11:35 dev9 load_ocfs: Using /lib/modules/2.4.18-e-smp-ABI/ocfs/ocfs.o
Apr 28 20:11:35 dev9 ocfs: succeeded
Apr 28 20:12:08 dev9 kernel: ocfs: Adding dev8.interceramic.com (node 1) to clustered device (8,0)
Apr 28 20:12:13 dev9 kernel: ocfs: Mounting device (8,0) on dev9 (node 0)
Apr 28 20:20:35 dev9 ocfs: succeeded
Apr 28 20:20:35 dev9 load_ocfs: /sbin/insmod ocfs node_name=dev9 ip_address=192.168.4.2 cs=1782 guid=617A5F73FB044F16E51F00110A31A813 comm_voting=1 ip_port=7000
Apr 28 20:20:36 dev9 load_ocfs: Using /lib/modules/2.4.18-e-smp-ABI/ocfs/ocfs.o
Apr 28 20:20:36 dev9 ocfs: succeeded
Apr 28 20:21:08 dev9 kernel: (1238) ERROR: status = -12, Linux/ocfsmount.c, 79
Apr 28 20:21:08 dev9 kernel: (1238) ERROR: status = -12, Linux/ocfsmount.c, 223
Apr 28 20:21:08 dev9 kernel: (1238) ERROR: Error mounting volume, Linux/ocfsmain.c, 314
Apr 28 20:30:01 dev9 load_ocfs: /sbin/insmod ocfs node_name=dev9 ip_address=192.168.4.2 cs=1782 guid=617A5F73FB044F16E51F00110A31A813 comm_voting=1 ip_port=7000
Apr 28 20:30:01 dev9 load_ocfs: Using /lib/modules/2.4.18-e-smp-ABI/ocfs/ocfs.o
Apr 28 20:30:01 dev9 ocfs: succeeded
Apr 28 20:30:33 dev9 kernel: (1240) ERROR: status = -12, Linux/ocfsmount.c, 79
Apr 28 20:30:33 dev9 kernel: (1240) ERROR: status = -12, Linux/ocfsmount.c, 223
Apr 28 20:30:33 dev9 kernel: (1240) ERROR: Error mounting volume, Linux/ocfsmain.c, 314
Apr 28 20:32:02 dev9 kernel: (2347) ERROR: status = -12, Linux/ocfsmount.c, 79
Apr 28 20:32:02 dev9 kernel: (2347) ERROR: status = -12, Linux/ocfsmount.c, 223
Apr 28 20:32:02 dev9 kernel: (2347) ERROR: Error mounting volume, Linux/ocfsmain.c, 314
Apr 28 21:08:53 dev9 ocfs: OCFS is already loaded; status succeeded
Apr 28 21:09:17 dev9 kernel: (4310) ERROR: status = -12, Linux/ocfsmount.c, 79
Apr 28 21:09:17 dev9 kernel: (4310) ERROR: status = -12, Linux/ocfsmount.c, 223
Apr 28 21:09:17 dev9 kernel: (4310) ERROR: Error mounting volume, Linux/ocfsmain.c, 314
Apr 28 21:11:57 dev9 ocfs: OCFS is not loaded; status failed
Apr 28 21:13:24 dev9 load_ocfs: /sbin/insmod ocfs node_name=dev9 ip_address=192.168.4.2 cs=1782 guid=617A5F73FB044F16E51F00110A31A813 comm_voting=1 ip_port=7000
Apr 28 21:13:24 dev9 load_ocfs: Using /lib/modules/2.4.18-e-smp-ABI/ocfs/ocfs.o
Apr 28 21:13:24 dev9 ocfs: succeeded
Apr 28 21:14:23 dev9 kernel: (4690) ERROR: status = -12, Linux/ocfsmount.c, 79
Apr 28 21:14:23 dev9 kernel: (4690) ERROR: status = -12, Linux/ocfsmount.c, 223
Apr 28 21:14:23 dev9 kernel: (4690) ERROR: Error mounting volume, Linux/ocfsmain.c, 314
Apr 28 21:27:11 dev9 kernel: Symbol #ocfs, value 005fc000
Apr 28 21:27:11 dev9 ocfs: OCFS is already loaded; succeeded
Apr 28 21:27:43 dev9 kernel: (6004) ERROR: status = -12, Linux/ocfsmount.c, 79
Apr 28 21:27:43 dev9 kernel: (6004) ERROR: status = -12, Linux/ocfsmount.c, 223
Apr 28 21:27:43 dev9 kernel: (6004) ERROR: Error mounting volume, Linux/ocfsmain.c, 314
Apr 28 21:32:23 dev9 kernel: (7148) ERROR: status = -12, Linux/ocfsmount.c, 79
Apr 28 21:32:23 dev9 kernel: (7148) ERROR: status = -12, Linux/ocfsmount.c, 223
Apr 28 21:32:23 dev9 kernel: (7148) ERROR: Error mounting volume, Linux/ocfsmain.c, 314
Apr 28 21:40:54 dev9 ocfs: OCFS is already loaded; status succeeded
Apr 28 21:41:50 dev9 kernel: (7320) ERROR: status = -12, Linux/ocfsmount.c, 79
Apr 28 21:41:50 dev9 kernel: (7320) ERROR: status = -12, Linux/ocfsmount.c, 223
Apr 28 21:41:50 dev9 kernel: (7320) ERROR: Error mounting volume, Linux/ocfsmain.c, 314
Apr 28 21:54:23 dev9 load_ocfs: /sbin/insmod ocfs node_name=dev9 ip_address=192.168.4.2 cs=1782 guid=617A5F73FB044F16E51F00110A31A813 comm_voting=1 ip_port=7000
Apr 28 21:54:23 dev9 load_ocfs: Using /lib/modules/2.4.18-e-smp-ABI/ocfs/ocfs.o
Apr 28 21:54:23 dev9 ocfs: succeeded
Apr 28 21:54:55 dev9 kernel: (1240) ERROR: status = -12, Linux/ocfsmount.c, 79
Apr 28 21:54:55 dev9 kernel: (1240) ERROR: status = -12, Linux/ocfsmount.c, 223
Apr 28 21:54:55 dev9 kernel: (1240) ERROR: Error mounting volume, Linux/ocfsmain.c, 314
Apr 28 21:57:13 dev9 kernel: (2347) ERROR: status = -12, Linux/ocfsmount.c, 79
Apr 28 21:57:13 dev9 kernel: (2347) ERROR: status = -12, Linux/ocfsmount.c, 223
Apr 28 21:57:13 dev9 kernel: (2347) ERROR: Error mounting volume, Linux/ocfsmain.c, 314
Apr 28 21:58:58 dev9 kernel: (2410) ERROR: status = -12, Linux/ocfsmount.c, 79
Apr 28 21:58:58 dev9 kernel: (2410) ERROR: status = -12, Linux/ocfsmount.c, 223
Apr 28 21:58:58 dev9 kernel: (2410) ERROR: Error mounting volume, Linux/ocfsmain.c, 314
Apr 28 22:17:07 dev9 load_ocfs: /sbin/insmod ocfs node_name=dev9 ip_address=192.168.4.2 cs=1782 guid=617A5F73FB044F16E51F00110A31A813 comm_voting=1 ip_port=7000
Apr 28 22:17:07 dev9 load_ocfs: Using /lib/modules/2.4.18-e-smp-ABI/ocfs/ocfs.o
Apr 28 22:17:07 dev9 ocfs: succeeded
Apr 28 22:17:39 dev9 kernel: ocfs: Adding dev8.interceramic.com (node 1) to clustered device (8,0)
Apr 28 22:17:44 dev9 kernel: ocfs: Mounting device (8,0) on dev9 (node 0)

:-(

Re: OCFS under AS 2.1 on intanium

Finally the last procedure was performd using oficial RH AS U7, after that istalling qla driver with "-f" opton, everything worked fine. Regards.