Build error on amd64 for XEN3_DOMU kernel
I'm seeing the following errors when building XEN3_DOMU Build directory is /build/netbsd-local/obj/amd64/sys/arch/amd64/compile/INSTALL_XEN3_DOMU Don't forget to run "make depend" /build/netbsd-local/tools/x86_64/amd64/bin/nbmake -C /build/netbsd-local/obj/amd64/sys/arch/amd64/compile/INSTALL_XEN3_DOMU depend && /build/netbsd-local/tools/x86_64/amd64/bin/nbmake -C /build/netbsd-local/obj/amd64/sys/arch/amd64/compile/INSTALL_XEN3_DOMU sh: 1: Syntax error: end of file unexpected *** Failed target: .BEGIN *** Failed command: rm -rf xen-ma && mkdir xen-ma && ln -s ../amd64 xen-ma/machine && *** Error code 2 (ignored) ... In file included from /build/netbsd-local/src_ro/sys/lib/libkern/__main.c:33:0:/build/netbsd-local/src_ro/sys/sys/types.h:45:27: fatal error: machine/types.h: No such file or directory compilation terminated. nbmkdep: compile failed. *** [__main.d] Error code 1 nbmake[3]: stopped in /build/netbsd-local/obj/amd64/sys/arch/amd64/compile/INSTALL_XEN3_DOMU/lib/kern 1 error The following patch seems to fix things (thanks to maya@): --- src/sys/arch/xen/conf/Makefile.xen.orig 2017-12-12 10:25:00.286355000 +0900 +++ src/sys/arch/xen/conf/Makefile.xen 2017-12-12 10:25:31.930025000 +0900 @@ -92,7 +92,7 @@ ln -s $S/arch/${A}/include ${A} .endfor -@rm -rf xen-ma && \ - mkdir xen-ma && ln -s ../${XEN_BUILD} xen-ma/machine && + mkdir xen-ma && ln -s ../${XEN_BUILD} xen-ma/machine -@rm -f machine && \ ln -s ${ARCH_INC} machine .endif +--+--++ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired)| FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com | | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org | +--+--++
Automated report: NetBSD-current/i386 test failure
This is an automatically generated notice of new failures of the NetBSD test suite. The newly failing test cases are: fs/vfs/t_mtime_otrunc:puffs_otrunc_mtime_update net/route/t_change:route_change_ifp net/route/t_change:route_change_ifp_ifa The above tests failed in each of the last 3 test runs, and passed in at least 27 consecutive runs before that. The following commits were made between the last successful test and the failed test: 2017.12.11.02.33.17 knakahara src/sys/kern/subr_psref.c,v 1.8 2017.12.11.02.33.17 knakahara src/sys/sys/psref.h,v 1.3 2017.12.11.03.25.45 ozaki-r src/sys/net/if.c,v 1.412 2017.12.11.03.25.45 ozaki-r src/sys/net/if.h,v 1.252 2017.12.11.03.25.46 ozaki-r src/sys/net/npf/npf_ifaddr.c,v 1.3 2017.12.11.03.25.46 ozaki-r src/sys/net/npf/npf_os.c,v 1.9 2017.12.11.03.29.20 ozaki-r src/sys/net/if.c,v 1.413 2017.12.11.03.29.20 ozaki-r src/sys/net/if.h,v 1.253 2017.12.11.03.29.20 ozaki-r src/sys/net/if_bridge.c,v 1.145 2017.12.11.03.29.20 ozaki-r src/sys/net/if_spppsubr.c,v 1.177 2017.12.11.03.29.20 ozaki-r src/sys/net/if_vlan.c,v 1.119 2017.12.11.03.29.20 ozaki-r src/sys/rump/net/lib/libnetinet/netinet_component.c,v 1.10 Log files can be found at: http://releng.NetBSD.org/b5reports/i386/commits-2017.12.html#2017.12.11.03.29.20
Re: Automated report: NetBSD-current/i386 test failure
That may also be related with the symptoms I see when booting 8.99.9 on amd64 while dhcpcd attempts to solicit a router - it gets stuck in route code on psref_release() - needless to say the machine is wedged at that point. Frank db{0}> mach cpu 1 using CPU 1 db{0}> bt psref_release() at netbsd:psref_release+0x90 route_output() at netbsd:route_output+0xcb5 route_send_wrapper() at netbsd:route_send_wrapper+0x6c sosend() at netbsd:sosend+0x7b9 soo_write() at netbsd:soo_write+0x2c dofilewrite() at netbsd:dofilewrite+0x97 sys_write() at netbsd:sys_write+0x5f syscall() at netbsd:syscall+0x235 --- syscall (number 4) --- db{0}> mach cpu 2 using CPU 2 db{0}> bt x86_pause() at netbsd:x86_pause+0x2 intr_biglock_wrapper() at netbsd:intr_biglock_wrapper+0x16 Xintr_x2apic_edge1() at netbsd:Xintr_x2apic_edge1+0xef --- interrupt --- x86_pause() at netbsd:x86_pause+0x2 sleepq_block() at netbsd:sleepq_block+0x1c5 cv_timedwait() at netbsd:cv_timedwait+0x104 ipmi_thread() at netbsd:ipmi_thread+0x2f4 db{0}> mach cpu 3 using CPU 3 db{0}> bt x86_pause() at netbsd:x86_pause+0x2 intr_biglock_wrapper() at netbsd:intr_biglock_wrapper+0x16 Xintr_x2apic_edge3() at netbsd:Xintr_x2apic_edge3+0xef --- interrupt --- x86_pause() at netbsd:x86_pause+0x2 nd6_timer_work() at netbsd:nd6_timer_work+0x3d workqueue_worker() at netbsd:workqueue_worker+0xbc db{0}> mach cpu 0 using CPU 0 db{0}> bt breakpoint() at netbsd:breakpoint+0x5 comintr() at netbsd:comintr+0x746 Xintr_x2apic_edge2() at netbsd:Xintr_x2apic_edge2+0xef --- interrupt --- x86_pause() at netbsd:x86_pause+0x2 intr_biglock_wrapper() at netbsd:intr_biglock_wrapper+0x16 Xintr_x2apic_edge20() at netbsd:Xintr_x2apic_edge20+0xef --- interrupt --- x86_pause() at netbsd:x86_pause+0x2 softint_dispatch() at netbsd:softint_dispatch+0x15a DDB lost frame for netbsd:Xsoftintr+0x4f, trying 0xe4011d1eeff0 Xsoftintr() at netbsd:Xsoftintr+0x4f --- interrupt --- Frank On 12/12/17 10:29, NetBSD Test Fixture wrote: This is an automatically generated notice of new failures of the NetBSD test suite. The newly failing test cases are: fs/vfs/t_mtime_otrunc:puffs_otrunc_mtime_update net/route/t_change:route_change_ifp net/route/t_change:route_change_ifp_ifa The above tests failed in each of the last 3 test runs, and passed in at least 27 consecutive runs before that. The following commits were made between the last successful test and the failed test: 2017.12.11.02.33.17 knakahara src/sys/kern/subr_psref.c,v 1.8 2017.12.11.02.33.17 knakahara src/sys/sys/psref.h,v 1.3 2017.12.11.03.25.45 ozaki-r src/sys/net/if.c,v 1.412 2017.12.11.03.25.45 ozaki-r src/sys/net/if.h,v 1.252 2017.12.11.03.25.46 ozaki-r src/sys/net/npf/npf_ifaddr.c,v 1.3 2017.12.11.03.25.46 ozaki-r src/sys/net/npf/npf_os.c,v 1.9 2017.12.11.03.29.20 ozaki-r src/sys/net/if.c,v 1.413 2017.12.11.03.29.20 ozaki-r src/sys/net/if.h,v 1.253 2017.12.11.03.29.20 ozaki-r src/sys/net/if_bridge.c,v 1.145 2017.12.11.03.29.20 ozaki-r src/sys/net/if_spppsubr.c,v 1.177 2017.12.11.03.29.20 ozaki-r src/sys/net/if_vlan.c,v 1.119 2017.12.11.03.29.20 ozaki-r src/sys/rump/net/lib/libnetinet/netinet_component.c,v 1.10 Log files can be found at: http://releng.NetBSD.org/b5reports/i386/commits-2017.12.html#2017.12.11.03.29.20
daily CVS update output
Updating src tree: P src/distrib/utils/embedded/conf/rpi.conf P src/lib/libc/gen/ctype.3 P src/share/man/man4/wbsio.4 P src/share/misc/bsd-family-tree P src/sys/arch/evbarm/fdt/fdt_machdep.c P src/sys/arch/xen/conf/Makefile.xen P src/sys/dev/isa/files.isa P src/sys/dev/isa/wbsio.c P src/sys/dev/isa/wbsioreg.h P src/sys/net/bpf.c P src/tests/kernel/Makefile Updating xsrc tree: Killing core files: Updating release-6 src tree (netbsd-6): Updating release-6 xsrc tree (netbsd-6): Updating release-7 src tree (netbsd-7): U doc/CHANGES-7.2 P sys/arch/x86/x86/fpu.c Updating release-7 xsrc tree (netbsd-7): Updating release-8 src tree (netbsd-8): Updating release-8 xsrc tree (netbsd-8): Updating file list: -rw-rw-r-- 1 srcmastr netbsd 54758919 Dec 13 03:12 ls-lRA.gz