[OpenAFS-devel] openafs-snap-2001-09-10 on RedHat 7.1.94

Alf Wachsmann alfw@SLAC.Stanford.EDU
Tue, 11 Sep 2001 10:16:33 -0700 (PDT)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--Boundary_(ID_OSXTqENz8fj3kdAcK+8xwA)
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT

Hi,

here are two changes I had to make to get openafs-snap-2001-09-10
running on RedHat 7.1.94 Linux (aka Roswell). It uses kernel
2.4.7-2smp.

The first change is (of course) in osi_vfs.h. See attached diff.

The second change is that the libafs won't load into the kernel
because "bcopy" is an unresolvable symbole. I had to create libafs
with "ld -r -o libafs-2.4.7-2.mp.o ....... -L/usr/lib -lc".

-- Alf.

-----------------------------------------------------------------------
  Alf Wachsmann                       | e-mail: alfw@slac.stanford.edu
  SLAC Computing Service              | Phone:  +1-650-926-4802
  2575 Sand Hill Road, M/S 97         | FAX:    +1-650-926-3329
  Menlo Park, CA 94025, USA           | Office: Bldg. 50/323
-----------------------------------------------------------------------
                http://www.slac.stanford.edu/~alfw (PGP)
-----------------------------------------------------------------------

--Boundary_(ID_OSXTqENz8fj3kdAcK+8xwA)
Content-id: <Pine.SOL.4.33.0109111016330.26269@tersk10.SLAC.Stanford.EDU>
Content-type: TEXT/PLAIN; charset=US-ASCII; name=osi_vfs.h.patch
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=osi_vfs.h.patch
Content-description: osi_vfs.h.patch

*** openafs-snap-2001-09-10.ORIG/src/afs/LINUX/osi_vfs.h	Tue Sep 11 10:09:26 2001
--- openafs-snap-2001-09-10/src/afs/LINUXosi_vfs.h	Mon Sep 10 16:04:21 2001
***************
*** 119,143 ****
  #endif
  #ifdef notdef
  	union {
- 		struct pipe_inode_info		pipe_i;
  		struct minix_inode_info		minix_i;
  		struct ext2_inode_info		ext2_i;
  		struct hpfs_inode_info		hpfs_i;
  		struct ntfs_inode_info          ntfs_i;
  		struct msdos_inode_info		msdos_i;
  		struct umsdos_inode_info	umsdos_i;
  		struct iso_inode_info		isofs_i;
- 		struct nfs_inode_info		nfs_i;
  		struct sysv_inode_info		sysv_i;
  		struct affs_inode_info		affs_i;
  		struct ufs_inode_info		ufs_i;
  		struct romfs_inode_info		romfs_i;
  		struct coda_inode_info		coda_i;
  		struct smb_inode_info		smbfs_i;
  		struct hfs_inode_info		hfs_i;
  		struct adfs_inode_info		adfs_i;
  		struct qnx4_inode_info		qnx4_i;	   
  		struct socket			socket_i;
  		void				*generic_ip;
  	} u;
  #endif
--- 119,151 ----
  #endif
  #ifdef notdef
  	union {
  		struct minix_inode_info		minix_i;
  		struct ext2_inode_info		ext2_i;
+ 		struct ext3_inode_info          ext3_i;
  		struct hpfs_inode_info		hpfs_i;
  		struct ntfs_inode_info          ntfs_i;
  		struct msdos_inode_info		msdos_i;
  		struct umsdos_inode_info	umsdos_i;
  		struct iso_inode_info		isofs_i;
  		struct sysv_inode_info		sysv_i;
  		struct affs_inode_info		affs_i;
  		struct ufs_inode_info		ufs_i;
+ 		struct efs_inode_info           efs_i;
  		struct romfs_inode_info		romfs_i;
+ 		struct shmem_inode_info         shmem_i;
  		struct coda_inode_info		coda_i;
  		struct smb_inode_info		smbfs_i;
  		struct hfs_inode_info		hfs_i;
  		struct adfs_inode_info		adfs_i;
  		struct qnx4_inode_info		qnx4_i;	   
+                 struct reiserfs_inode_info      reiserfs_i;
+                 struct bfs_inode_info           bfs_i;
+                 struct udf_inode_info           udf_i;
+                 struct ncp_inode_info           ncpfs_i;
+                 struct proc_inode_info          proc_i;
  		struct socket			socket_i;
+                 struct usbdev_inode_info        usbdev_i;
+                 struct jffs2_inode_info         jffs2_i;
  		void				*generic_ip;
  	} u;
  #endif

--Boundary_(ID_OSXTqENz8fj3kdAcK+8xwA)--