Subject: Re: Midnight crashes
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Marcello Balduccini <marcello.balduccini@ttu.edu>
List: port-xen
Date: 04/19/2005 14:14:01
> > #      link  XENU/netbsd
> > ld -T ../../../../arch/i386/conf/kern.ldscript -Ttext c0100000 -e start
> > -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
> > vfs_init.o(.text+0x22e): In function `vfsinit':
> > /usr/src/sys/arch/i386/compile/XENU/../../../../kern/vfs_init.c:359:
> > undefined reference to `vfs_list_initial'
> > vfs_init.o(.text+0x246):/usr/src/sys/arch/i386/compile/XENU/../../../../k
> >ern/vfs_init.c:360: undefined reference to `vfs_list_initial'
> > vfs_init.o(.text+0x25a):/usr/src/sys/arch/i386/compile/XENU/../../../../k
> >ern/vfs_init.c:359: undefined reference to `vfs_list_initial'
> > vfs_init.o(.text+0x26a):/usr/src/sys/arch/i386/compile/XENU/../../../../k
> >ern/vfs_init.c:361: undefined reference to `vfs_list_initial'
> > *** Error code 1
> >
> > Stop.
> > make: stopped in /usr/src/sys/arch/i386/compile/XENU
>
> vfs_list_initial should be in 
> /usr/src/sys/arch/i386/compile/XENU/ioconf.c, generated by config(8). My
> guess is that your config binary isn't in sync with the sources.

Yup. You are right again. The binaries in XENU were outdated (3.99.3 from 
early April). I extracted the binaries from the latest 3.0_BETA snapshot (no 
time to compile from sources, right now) and compiling the kernel worked like 
a charm.

Thanks for your help, guys!
Marcello