Im trying to get JFS to work on IA64 running RHAS 3.0
[EMAIL PROTECTED] root]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 3)
[EMAIL PROTECTED] root]# uname -a
Linux skrifla.os.is 2.4.21-20.EL #1 SMP Wed Aug 18 20:30:22 EDT 2004 ia64 ia64 ia64
GNU/Linux
[EMAIL PROTECTED] root]# cat /proc/cpuinfo
processor : 0
vendor : GenuineIntel
arch : IA-64
family : Itanium 2
model : 1
revision : 5
archrev : 0
features : branchlong
cpu number : 0
cpu regs : 4
cpu MHz : 1500.000000
itc MHz : 1500.000000
BogoMIPS : 2239.75
Red Hat is shipping a little bit odd setup with regards to JFS. The utilites
are included but not the kernel module. The kernel-source .config files
have JFS configured as modules but no fs/jfs in the source tree.
I extracted the 1.1.7 code into the kernel source tree and ran the
following commands:
[EMAIL PROTECTED] root]# cd /usr/src/linux-2.4
[EMAIL PROTECTED] linux-2.4]# tar xzvf ~/jfs-2.4-1.1.7.tar.gz
[EMAIL PROTECTED] linux-2.4]# make mrproper
[EMAIL PROTECTED] linux-2.4]# cp configs/kernel-2.4.21-ia64.config .config
[EMAIL PROTECTED] linux-2.4]# vi Makefile
(I removed the "custom" from the version string)
[EMAIL PROTECTED] linux-2.4]# make oldconfig
[EMAIL PROTECTED] linux-2.4]# make dep
[EMAIL PROTECTED] linux-2.4]# make modules
[EMAIL PROTECTED] linux-2.4]# mkdir /lib/modules/2.4.21-20.EL/kernel/fs/jfs
[EMAIL PROTECTED] linux-2.4]# cp fs/jfs/jfs.o /lib/modules/2.4.21-20.EL/kernel/fs/jfs
[EMAIL PROTECTED] linux-2.4]# depmod -a
Then I installed the 1.1.7 jfsutils package over the 1.1.2 tools that where
included. I format a lvol (which completes successfully) and when I
try to mount it, I get:
[EMAIL PROTECTED] linux-2.4]# mount /dev/vg01/lvol1 /export/u01
Segmentation fault
dmesg has:
JFS development version: $Name: v1_1_7 $
jfs_mount: diMount(ipaimap) failed w/rc = -5
mount[3633]: NaT consumption 17179869216
Pid: 3633, comm: mount
EIP is at diFree [jfs] 0x70 (2.4.21-20.EL)
psr : 0000101008026018 ifs : 8000000000000ea2 ip : [<a0000000005c8bf0>] Not tainted
unat: 0000000000000000 pfs : 0000000000000206 rsc : 0000000000000003
rnat: 0000000000000000 bsps: 0000000000000000 pr : 80000018f5569955
ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c8a70033f
b0 : a0000000005b35a0 b6 : e000000004558680 b7 : a0000000005b3500
f6 : 0fffbccccccccc8c00000 f7 : 0ffdbca80000000000000
f8 : 10001a000000000000000 f9 : 10002a000000000000000
r1 : a00000000060cb30 r2 : 0000000000000002 r3 : a00000000060cd70
r8 : a00000000060daa0 r9 : e0000040461582a0 r10 : e000004046158280
r11 : e00000404b9f4198 r12 : e00000404fbafd70 r13 : e00000404fba8000
r14 : e0000040f7b12750 r15 : e0000040f652bdc0 r16 : e00000404b9f4000
r17 : e0000040f7b12908 r18 : e0000040f7b12888 r19 : 0000000000000000
r20 : 0000000000000001 r21 : e000000004c2f788 r22 : e00000404fba8038
r23 : 0000000000000000 r24 : e0000040f7b12920 r25 : a0000000005b3500
r26 : e000004045754098 r27 : e000000004b18a58 r28 : e000004045754090
r29 : e0000040f7b12700 r30 : e0000040f7b12700 r31 : e0000040f7b12708
Call Trace: [<e0000000044158e0>] sp=0xe00000404fbaf900 bsp=0xe00000404fba9608
show_stack [kernel] 0x80
[<e000000004431ae0>] sp=0xe00000404fbafad0 bsp=0xe00000404fba95d8 die [kernel] 0x200
[<e000000004432c50>] sp=0xe00000404fbafad0 bsp=0xe00000404fba9598 ia64_fault [kernel]
0x170
[<e00000000440e9a0>] sp=0xe00000404fbafbd0 bsp=0xe00000404fba9598 ia64_leave_kernel
[kernel] 0x0
[<a0000000005c8bf0>] sp=0xe00000404fbafd70 bsp=0xe00000404fba94b0 diFree [jfs] 0x70
Is this a bug or something Im doing wrong ?
--
Rikki. -- RHCE, RHCX, HP-UX Certified Administrator.
-- Solaris 7 Certified Systems and Network Administrator.
Bell Labs Unix -- Reach out and grep someone.
Those who do not understand Unix are condemned to reinvent it, poorly.
_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion