[Gluster-devel] About gluster on 32 bits

Bala.A balamurugan at gmx.co.uk
Tue Feb 5 08:05:54 UTC 2008


Harsha,

Please send me details of toolchain you used.  I would like to put it in
the release directory.

Thanks,

Bala
---
Free as in freedom
http://www.gnu.org/


On Mon, February 4, 2008 12:19 pm, Harshavardhana wrote:
> Hi William,
>
>    But the ramdisk directory size in your case is wrong, i would suggest
> you
>    to check out anonymously from the GNU Arch server and build on that.
> The
>    release tarball seems to have problems, coz the iso i built has a
>    ramdisk.slave.i686 as 40MB only. We need to look into this problem. For
>    the time being i will upload the iso in meantime and keep you posted.
>
> Regards
>
>> Hello all,
>>
>> The problem is the size of the directory ramdisk.slave.i686, in my case,
>> the
>> output of du -sh is
>>
>> 133M    ramdisk.slave.i686/
>>
>> and that size is too big for the command
>>
>> ./destdir_native/usr/bin/genext2fs -b 65536 -e 0 -D
>> /home/oquendo/GLUSTER/gluster--mainline--1.1/ramdisk/devices.txt -d
>> ./ramdisk.slave.i686    \   ./initrd.slave.i686.img
>>
>> tha builds the ramdisk image. Do you have any suggestion to solve this
>> problem.
>>
>> Thanks in advance
>>
>> On Jan 28, 2008 4:13 PM, William Oquendo <woquendo at gmail.com> wrote:
>>
>>> Hi again,
>>>
>>> I managed to resolve the problem with UTS_RELEASE.
>>>
>>> But, I have another error, more difficult for me. It is the following:
>>>
>>> ...
>>> file: could not find any magic files!
>>> file: could not find any magic files!
>>> file: could not find any magic files!
>>> file: could not find any magic files!
>>> file: could not find any magic files!
>>> file: could not find any magic files!
>>> file: could not find any magic files!
>>> file: could not find any magic files!
>>> file: could not find any magic files!
>>> file: could not find any magic files!
>>> file: could not find any magic files!
>>> rm -rf ./ramdisk.slave.i686
>>> cp -af
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1/destdir_ramdisk_i686
>>> ./ramdisk.slave.i686
>>> cd /home/oquendo/GLUSTER/gluster--mainline--1.1/ramdisk/skel-slave && \
>>>                 (find . | grep -Ev 'CVS|~|.arch-ids' | \
>>>                 cpio -puvd /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686)
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1/ramdisk.slave.i686/./bin
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./bin/main_shell
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./bin/vt_loop_sh
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./bin/slave_shell
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1/ramdisk.slave.i686/./dev
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./dev/MAKEDEV
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1/ramdisk.slave.i686/./etc
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/nsswitch.conf
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1/ramdisk.slave.i686/./etc/rc.d
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/rc.d/rc.reboot
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/rc.d/rc.modules
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/rc.d/rc.sysinit
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/rc.d/rc.slave
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/rc.d/rc.halt
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/rc.d/rc.sshd
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/dialogrc
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/HOSTNAME
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/fstab
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/group
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/hosts
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/termcap
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/initscript
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/passwd
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/stage2
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/stage2/config_network.sh
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/services
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/dhclient-script
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/inittab
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/inputrc
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/protocols
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/resolv.conf
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1
>>> /ramdisk.slave.i686/./etc/profile
>>> 328 blocks
>>> genext2fs -b 65536 -e 0 -D
>>> /home/oquendo/GLUSTER/gluster--mainline--1.1/ramdisk/devices.txt
>>> \
>>>                 -d ./ramdisk.slave.i686 \
>>>                 ./initrd.slave.i686.img
>>> genext2fs: couldn't allocate a block (no free space)
>>> make[1]: *** [initrd.slave] Error 1
>>> make[1]: Leaving directory
>>> `/home/oquendo/GLUSTER/gluster--mainline--1.1'
>>> make: *** [all] Error 2
>>>
>>>
>>> The hard disk has enough space, and I tried the command as root and as
>>> a
>>> normal user.
>>>
>>> Please, could you give your advice?
>>>
>>> Thanks in advance.
>>>
>>> William Oquendo
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Jan 28, 2008 2:58 PM, William Oquendo <woquendo at gmail.com> wrote:
>>>
>>> > Hi,
>>> >
>>> > I was playing with building an iso image of gluster for 32 bits
>>> systems,
>>> > following the instructions you gave me. But, unfortunately, the
>>> following
>>> > error always appears when I type make:
>>> >
>>> > Making all in getkversion
>>> > make[4]: Entering directory `/home/oquendo/GLUSTER/gluster--
>>> > mainline--1.1/build_live_i686/nfs-utils-1.0.8-rc4/tools/getkversion'
>>> > if cc -DHAVE_CONFIG_H -I. -I. -I../../support/include  -D_GNU_SOURCE
>>> > -I/home/oquendo/GLUSTER/gluster--mainline--1.1/destdir_live_i686/usr/include
>>> > -D_GNU_SOURCE  -g -O2 -MT getkversion-getkversion.o -MD -MP -MF
>>> > ".deps/getkversion-getkversion.Tpo" -c -o
>>> getkversion-getkversion.o`test -f '
>>> > getkversion.c' || echo './'`getkversion.c; \
>>> >         then mv -f ".deps/getkversion-getkversion.Tpo"
>>> > ".deps/getkversion-getkversion.Po"; else rm -f ".deps/getkversion-
>>> > getkversion.Tpo"; exit 1; fi
>>> > getkversion.c: In function 'main':
>>> > getkversion.c:17: error: 'UTS_RELEASE' undeclared (first use in this
>>> > function)
>>> > getkversion.c:17: error: (Each undeclared identifier is reported only
>>> > once
>>> > getkversion.c:17: error: for each function it appears in.)
>>> > make[4]: *** [getkversion-getkversion.o] Error 1
>>> > make[4]: Leaving directory
>>> `/home/oquendo/GLUSTER/gluster--mainline--1.1
>>> > /build_live_i686/nfs-utils-1.0.8-rc4/tools/getkversion'
>>> > make[3]: *** [all-recursive] Error 1
>>> > make[3]: Leaving directory
>>> `/home/oquendo/GLUSTER/gluster--mainline--1.1
>>> > /build_live_i686/nfs-utils-1.0.8-rc4/tools'
>>> > make[2]: *** [all-recursive] Error 1
>>> > make[2]: Leaving directory
>>> `/home/oquendo/GLUSTER/gluster--mainline--1.1
>>> > /build_live_i686/nfs-utils-1.0.8-rc4'
>>> > make[1]: *** [nfs-utils.live] Error 2
>>> > make[1]: Leaving directory
>>> `/home/oquendo/GLUSTER/gluster--mainline--1.1
>>> > '
>>> > make: *** [all] Error 2
>>> >
>>> > I tried to set the UTS_RELEASE variable by hand, but it did not work.
>>> > Could you, please, give some advice?
>>> >
>>> > Thanks a lot.
>>> >
>>> > William Oquendo
>>> >
>>> > PD: I am using a linux-2.6.23.9 kernel to build gluster iso.
>>> >
>>> >
>>> >
>>> > On Sep 20, 2007 2:15 AM, Bala.A <balamurugan at gmx.co.uk> wrote:
>>> >
>>> > >
>>> > > Hi,
>>> > >
>>> > > >
>>> > > > I am looking for gluster on 32 bits architecture, but on the
>>> > > downloads
>>> > > > links
>>> > > > at http://ftp.zresearch.com/pub/gluster/release/current/ there is
>>> > > only
>>> > > > x86_64 versions.  Where can I find 32 bits  versions of gluster?
>>> Is
>>> > > it
>>> > > > enough with the iso image, or do I have to work with the
>>> toolchain
>>> > > files?
>>> > > >
>>> > >
>>> > > We haven't prepared 32 bit version ISO of GlusterHPC yet and the
>>> > > source is
>>> > > very much compatible with 32bit as well as x86-64 bit architecture.
>>> > > Toolchain is only required to compile GlusterHPC to get ISO file
>>> and
>>> > > relevant toolchain should be used for compilation.
>>> > >
>>> > > For i386 architecture, here are the steps to be followed to compile
>>> > > GlusterHPC.
>>> > >
>>> > > $ wget
>>> > >
>>> > > http://ftp.zresearch.com/pub/gluster/release/old/toolchain/gluster-toolchain-v2-on32.tar.bz2
>>> > >
>>> > > $ tar -C /usr/local -xjf gluster-toolchain-v2-on32.tar.bz2
>>> > >
>>> > > $ export $PATH=$PATH:/usr/local/gluster-toolchain-on32-32-64/bin
>>> > >
>>> > > $ mkdir tarballs
>>> > >
>>> > > $ wget -Ptarballs -nH
>>> http://ftp.zresearch.com/pub/gluster/external/*
>>> > >
>>> > > $ wget
>>> > >
>>> > > http://ftp.zresearch.com/pub/gluster/release/current/gluster--mainline--1.1.tar.gz
>>> > >
>>> > > $ export TARBALLSDIR=$(pwd)/tarballs
>>> > >
>>> > > $ cd gluster--mainline--1.1
>>> > >
>>> > > $ ./autogen.sh
>>> > >
>>> > > $ ./configure --with-tarballs-dir=$TARBALLSDIR
>>> > >
>>> > > $ make
>>> > >
>>> > > $ ls -l gluster-1.3-i386.iso
>>> > >
>>> > >
>>> > > Thanks,
>>> > >
>>> > > Regards,
>>> > > Bala
>>> > > ---
>>> > > Free as in freedom
>>> > > http://www.gnu.org/
>>> > >
>>> > >
>>> > >
>>> >
>>> >
>>> > --
>>> > William Oquendo
>>> > Physicist, National University of Colombia
>>> > Master in Physics student
>>> > Simulation Of Physical Systems Group
>>> > Linux User # 321481
>>> > *********************
>>> > Este correo puede carecer de tildes o eñes ya que el teclado no
>>> contiene
>>> > estos caracteres. Presento excusas por eso.
>>> >
>>> > *********************
>>> >
>>> > Young's Handy Guide to the Modern Sciences:
>>> >    If it is green or it wiggles -- it is Biology.
>>> >    If it stinks -- it is Chemistry.
>>> >    If it doesn't work -- it is Physics.
>>> >
>>> > Finagle's Third Law:
>>> >        In any collection of data, the figure most obviously correct,
>>> >        beyond all need of checking, is the mistake.
>>> >
>>> > Corollaries:
>>> >        1. Nobody whom you ask for help will see it.
>>> >        2. The first person who stops by, whose advice you really
>>> >           don't want to hear, will see it immediately.
>>> > *********************
>>> >
>>>
>>>
>>>
>>> --
>>> William Oquendo
>>> Physicist, National University of Colombia
>>> Master in Physics student
>>> Simulation Of Physical Systems Group
>>> Linux User # 321481
>>> *********************
>>> Este correo puede carecer de tildes o eñes ya que el teclado no
>>> contiene
>>> estos caracteres. Presento excusas por eso.
>>>
>>> *********************
>>> Young's Handy Guide to the Modern Sciences:
>>>    If it is green or it wiggles -- it is Biology.
>>>    If it stinks -- it is Chemistry.
>>>    If it doesn't work -- it is Physics.
>>>
>>> Finagle's Third Law:
>>>        In any collection of data, the figure most obviously correct,
>>>        beyond all need of checking, is the mistake.
>>>
>>> Corollaries:
>>>        1. Nobody whom you ask for help will see it.
>>>        2. The first person who stops by, whose advice you really
>>>           don't want to hear, will see it immediately.
>>> *********************
>>>
>>
>>
>>
>> --
>> William Oquendo
>> Physicist, National University of Colombia
>> Master in Physics student
>> Simulation Of Physical Systems Group
>> Linux User # 321481
>> *********************
>> Este correo puede carecer de tildes o eñes ya que el teclado no
>> contiene
>> estos caracteres. Presento excusas por eso.
>>
>> *********************
>> Young's Handy Guide to the Modern Sciences:
>>    If it is green or it wiggles -- it is Biology.
>>    If it stinks -- it is Chemistry.
>>    If it doesn't work -- it is Physics.
>>
>> Finagle's Third Law:
>>        In any collection of data, the figure most obviously correct,
>>        beyond all need of checking, is the mistake.
>>
>> Corollaries:
>>        1. Nobody whom you ask for help will see it.
>>        2. The first person who stops by, whose advice you really
>>           don't want to hear, will see it immediately.
>> *********************
>>
>
>
> --
> Harshavardhana
> "Software gets slower faster as Hardware gets faster"
>







More information about the Gluster-devel mailing list