Dear list,

I run a large cluster (1000+ cores) and after unsatisfied with 
commercial solutions I used before, I tried g4u.

Some of "my" machines have RAID systems (these ones have a Dell Perc 5/i 
SCSI controller) with GPT partition tables. So the NetBSD kernel stops at

sd0: fabricating a geometry

(the next device should be sd1 and this has a GPT table).

So I tried to build g4u myself with GPT enabled. I followed the 
instructions on the web, but enabled

options        DKWEDGE_METHOD_GPT      # Supports GPT partitions as wedges

in the G4U kernel config.

The build.sh process went smoothly:

===> Summary of results:
          build.sh command: build.sh -N 2 -U -m i386 -T obj.i386/tooldir 
-D obj.i386/
destdir -R obj.i386/releasedir tools distribution kernel=G4U-KERNEL
          build.sh started: Fri Dec  4 23:11:45 UTC 2009
          NetBSD version:   5.99.20
          MACHINE:          i386
          MACHINE_ARCH:     i386
          Build platform:   NetBSD 5.0.1 i386
          HOST_SH:          /bin/sh
          TOOLDIR path:     /usr/src/obj.i386/tooldir
          DESTDIR path:     /usr/src/obj.i386/destdir
          RELEASEDIR path:     /usr/src/obj.i386/releasedir
          makewrapper:      /usr/src/obj.i386/tooldir/bin/nbmake-i386
          Updated /usr/src/obj.i386/tooldir/bin/nbmake-i386
          Tools built to /usr/src/obj.i386/tooldir
          Successful make distribution
          Building kernel:  G4U-KERNEL
          Build directory: 
/usr/src/sys/arch/i386/compile/obj.i386/G4U-KERNEL
          Kernels built from G4U-KERNEL:
           /usr/src/sys/arch/i386/compile/obj.i386/G4U-KERNEL/netbsd
          build.sh ended:   Sat Dec  5 01:29:09 UTC 2009
===> .
      8244.35 real      4264.88 user      3532.21 sys

but running the rest of the build script:

owd=`pwd`
cd distrib/i386/g4u/

env G4U_BUILD_KERNEL=${G4U_BUILD_KERNEL} \
$owd/obj.${arch}/tooldir/bin/nbmake-i386 OBJMACHINE=1 cleandir

env G4U_BUILD_KERNEL=${G4U_BUILD_KERNEL} \
$owd/obj.${arch}/tooldir/bin/nbmake-i386 OBJMACHINE=1 2>&1 \
| tee -a log.${arch}


I'm stuck now at

#   compile  newfs/partutil.o
/usr/src/obj.i386/tooldir/bin/i486--netbsdelf-gcc -Os  -Wall 
-Wstrict-prototypes -Wm                        issing-prototypes 
-Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-war 
                   nings -Wreturn-type -Wswitch -Wshadow -Wcast-qual 
-Wwrite-strings -Wextra -Wno-unuse                        d-parameter 
-Wsign-compare -std=gnu99  -Werror   -DMFS -I/usr/src/sbin/newfs -I/usr/ 
                        src/sbin/disklabel -I/usr/src/sbin/fsck 
-nostdinc -isystem /usr/include   -c    /usr 
/src/sbin/fsck/partutil.c
/usr/src/sbin/fsck/partutil.c: In function 'part2wedge':
/usr/src/sbin/fsck/partutil.c:101: error: 'devminor_t' undeclared (first 
use in this                         function)
/usr/src/sbin/fsck/partutil.c:101: error: (Each undeclared identifier is 
reported on                        ly once
/usr/src/sbin/fsck/partutil.c:101: error: for each function it appears in.)
/usr/src/sbin/fsck/partutil.c:101: error: expected ')' before 'ptn'

*** Failed target:  partutil.o
*** Failed command: /usr/src/obj.i386/tooldir/bin/i486--netbsdelf-gcc 
-Os -Wall -Wst                        rict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditio 
                     nal -Wa,--fatal-warnings -Wreturn-type -Wswitch 
-Wshadow -Wcast-qual -Wwrite-strings                         -Wextra 
-Wno-unused-parameter -Wsign-compare -std=gnu99 -Werror -DMFS 
-I/usr/src/sb                        in/newfs -I/usr/src/sbin/disklabel 
-I/usr/src/sbin/fsck -nostdinc -isystem /usr/incl 
  ude -c /usr/src/sbin/fsck/partutil.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/distrib/i386/ramdisks/ramdisk-g4u/obj.i386/newfs

*** Failed target:  newfs_make
*** Failed command: ( cd newfs; printf '.PATH: 
/usr/src/sbin/newfs\n.CURDIR:= /usr/s 
rc/sbin/newfs\n.include "${.CURDIR}/Makefile"\n' | 
/usr/src/obj.i386/tooldir/bin/nbm                        ake -f- 
CRUNCHEDPROG=1 DBG="-Os" newfs.ro )
*** Error code 1

Maybe it is just a change in some Makefile needed (seems that only some 
#include is missing), but although I have some experience in NetBSD (run 
several servers on different platforms), I now a bit lost.

Anybody out there who could give me a hint? Any help is really very much 
appreciated.

Best regards,

   Torsten


-- 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Dr. Torsten Harenberg     [email protected]  <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
g4u-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/g4u-help

Reply via email to