Subject: Has anyone successfully built a kernel with "pseudo-device vinum"?
To: None <>
From: Paul Mather <>
List: port-alpha
Date: 11/06/2003 13:17:01
I thought I'd give the new Vinum support a whirl on an AlphaServer
1000A running NetBSD/alpha 1.6-CURRENT.  Alas, I can't build a kernel
with "pseudo-device vinum" included in the kernel config file.  A
warning generated by /usr/src/sys/dev/vinum/vinumdaemon.c is treated
as an error and causes the build to fail.  Here is my latest
build attempt (with fresh cvs update):

===> command: ./ -T /usr/tools -r tools kernel=HAWKWIND
===> started: Thu Nov  6 11:49:22 EST 2003
===> Bootstrapping nbmake
checking for sh... /bin/sh
checking for gcc... cc
cc  -O -o nbmake *.o
===> MACHINE:          alpha
===> MACHINE_ARCH:     alpha
===> TOOLDIR path:     /usr/tools
===> DESTDIR path:     /usr/src/obj/destdir.alpha
===> RELEASEDIR path:  /usr/src/obj/releasedir
===> Removing /usr/tools
===> Removing /usr/src/obj/destdir.alpha
===> Created /usr/tools/bin/nbmake
===> makewrapper:      /usr/tools/bin/nbmake-alpha
===> Updated /usr/tools/bin/nbmake-alpha
obj ===> tools
obj ===> tools/host-mkdep
ln -f /usr/tools/lib/groff/soelim /usr/tools/bin/nbsoelim
ln -f /usr/tools/lib/groff/tbl /usr/tools/bin/nbtbl
===> Tools built to /usr/tools
===> Building kernel:  HAWKWIND
===> Build directory:  /usr/src/sys/arch/alpha/compile/obj/HAWKWIND
Build directory is /usr/src/sys/arch/alpha/compile/obj/HAWKWIND
Don't forget to run "make depend"
depending the kern library objects
/usr/tools/bin/alpha--netbsd-gcc  -mno-fp-regs     -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare  -Dalpha -I.  -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DDIAGNOSTIC -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c /usr/src/sys/dev/vinum/vinum.c
/usr/tools/bin/alpha--netbsd-gcc  -mno-fp-regs     -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare  -Dalpha -I.  -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DDIAGNOSTIC -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c /usr/src/sys/dev/vinum/vinumconfig.c
/usr/tools/bin/alpha--netbsd-gcc  -mno-fp-regs     -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare  -Dalpha -I.  -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DDIAGNOSTIC -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c /usr/src/sys/dev/vinum/vinumdaemon.c
/usr/src/sys/dev/vinum/vinumdaemon.c: In function `vinum_daemon':
/usr/src/sys/dev/vinum/vinumdaemon.c:113: warning: long long unsigned int format, daddr_t arg (arg 7)

*** Failed target:  vinumdaemon.o
*** Failed command: /usr/tools/bin/alpha--netbsd-gcc -mno-fp-regs -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Dalpha -I. -I/usr/src/sys/arch-I/usr/src/sys -nostdinc -DDIAGNOSTIC -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/dev/vinum/vinumdaemon.c
*** Error code 1

nbmake: stopped in /usr/obj/sys/arch/alpha/compile/HAWKWIND

ERROR: Failed to make all in /usr/src/sys/arch/alpha/compile/obj/HAWKWIND

I've written to (the committer) about it, but heard
nothing back.

My last build problems turned out to be a local problem, so I figured
I'd best see if this worked for others before I even began to think
about submitting a PR this time. ;-)




"Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid."
        --- Frank Vincent Zappa