Re: 2.6.14-smp kernel headers and sources

"Cumberland, Lonnie" <[email protected]> Tue, 17 Aug 2010 08:45:40 -0400
Newsgroups gmane.linux.cluster.ssic.user
Message-ID <A3FD81D57663BD41BF701B44F5E75CE712D83BA08E@MBCLUSTER.xchange.nist.gov>
Good Morning All,

I was able to locate the OpenSSI 2.6.14 smp sources on the openssi website and installed the deb package into my src directory after which I ran the menuconfig to set the fuse setting. All went fine until I tried to do the "make" on the sources when I get an error message during the compile.

----------------------------------------------------
  GENSVC  vproc.svc
  GEN     include/cluster/gen/cfs.h
  GEN     include/cluster/gen/cfs_tbl.i
  GEN     include/cluster/gen/cfs_xdr.c
  GEN     include/cluster/gen/as_xscribe.h
  GEN     include/cluster/gen/as_xscribe_tbl.i
  GEN     include/cluster/gen/as_xscribe_xdr.c
  GEN     include/cluster/gen/reopen.h
  GEN     include/cluster/gen/reopen_tbl.i
  GEN     include/cluster/gen/reopen_xdr.c
  GEN     include/cluster/gen/rproc.x
  GEN     include/cluster/gen/rproc.h
  GEN     include/cluster/gen/rproc_tbl.i
  GEN     include/cluster/gen/rproc_xdr.c
  CC      init/main.o
In file included from include/asm/mpspec.h:5,
                 from include/asm/smp.h:18,
                 from include/linux/smp.h:19,
                 from include/linux/sched.h:26,
                 from include/linux/module.h:10,
                 from init/main.c:16:
include/asm/mpspec_def.h:78: warning: âpackedâ attribute ignored for field of type âunsigned char[6]â
In file included from include/linux/blkdev.h:10,
                 from include/linux/ide.h:14,
                 from include/cluster/synch.h:35,
                 from include/linux/vproc.h:16,
                 from init/main.c:76:
include/linux/pagemap.h: In function âfault_in_pages_readableâ:
include/linux/pagemap.h:236: warning: passing argument 1 of âssi_rcopy_from_userâ discards qualifiers from pointer target type
include/linux/pagemap.h:236: error: assignment of read-only variable â__gux_valâ
include/linux/pagemap.h:242: warning: passing argument 1 of âssi_rcopy_from_userâ discards qualifiers from pointer target type
include/linux/pagemap.h:242: error: assignment of read-only variable â__gux_valâ
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
spartan:/usr/src/linux-source-2.6.14-ssi#
----------------------------------------------------

Are these the correct sources which should compile or are there additional patches that need to be installed?

I am compiling things on my OpenSSI 2.6.14 main node which should be fine.

Thanks and have a great day,
Lonnie Cumberland, Prof.
Physicist
 

> -----Original Message-----
> From: Cumberland, Lonnie
> Sent: Monday, August 16, 2010 10:05 AM
> To: 'John Hughes'
> Cc: Openssi users
> Subject: 2.6.14-smp kernel headers and sources
> 
> Hello All,
> 
> I am going to try and re-compile the 2.6.14 smp openssi kernel so that
> I can add in the "CONFIG_FUSE_FS" option so that I can install "apt-get
> install mhddfs" to union my directories across nodes. This package
> depends upon the "fuse-utils" to enable stackable filesystems which are
> common in the linux world.
> 
> I am trying to locate and download the openssi 2.6.14 smp kernel
> sources and headers.
> 
> Does anyone have any experience or advice since I just cannot see or
> justify adding in a NAS like Openfiler or FreeNAS to mount the node
> directories into the NAS just to export that mount back into the main
> node since this will simply eat up a lot of bandwidth and there is no
> need for that since the nodes local drives are already mapped into the
> main node in the /cluster/nodeX directories.
> 
> I am just trying to utilize a unionfs to bring together the nodes
> drives into a homogeneous user filespace for the /home directories that
> will all be backed up to a external drive.
> 
> I would have thought that OpenSSI would already have this capability
> since, from what I can tell, servers and nodes with local drives is
> very common and it is a shame to waste that disk space.
> 
> Does not appear that the current compiled in filesystems have any
> capability for the simple thing that I am trying to do here although I
> could be wrong.
> 
> Thanks and have a great day,
> Lonnie Cumberland, Prof.
> Physicist
> 


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev