[Bug 198062] FreeBSD 10.1-RELEASE kernel freezes on 'pci0: <ACPI PCI bus> on pcib0'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 7 19:23:35 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198062

--- Comment #21 from Bryan Drewery <bdrewery at FreeBSD.org> ---
(In reply to Joseph King from comment #19)
> (In reply to John Baldwin from comment #18)
> 
> Using FreeBSD netsys9.isolan.itsmine.com 9.3-RELEASE-p30 FreeBSD
> 9.3-RELEASE-p30 #0: Mon Nov  2 10:11:50 UTC 2015    
> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64 as
> the building OS on the hardware in question.
> 
> Using method #1 svn:
> 
> When I do the make kernel-toolchain the following errors are spit out:
> 
> root at netsys9:/ufs/pr_198062 # make kernel-toolchain
> Unknown modifier '['
> 
> "/ufs/pr_198062/Makefile.inc1", line 1105: Malformed conditional
> (${BUILDKERNELS:[)
> Unknown modifier '['
> 
> "/ufs/pr_198062/Makefile.inc1", line 1114: if-less endif
> Unknown modifier '['
> 
> "/ufs/pr_198062/Makefile.inc1", line 1134: Malformed conditional
> (${BUILDKERNELS:[)
> Unknown modifier '['
> 
> "/ufs/pr_198062/Makefile.inc1", line 1151: if-less endif
> Unknown modifier '['
> 
> "/ufs/pr_198062/Makefile.inc1", line 1169: Malformed conditional
> (${BUILDKERNELS:[)
> Unknown modifier '['
> 
> "/ufs/pr_198062/Makefile.inc1", line 1176: if-less endif
> make: fatal errors encountered -- cannot continue
> *** [kernel-toolchain] Error code 1
> 
> Stop in /ufs/pr_198062.
> 
> Using method #2 git: the kernel-toolchain makes fine but when I do the
> buildkernel the following errors are spit out at me after a few minutes...
> 
> ===> aic7xxx (depend)
> ===> aic7xxx/ahc (depend)
> @ -> /ufs/pr_198062-git/freebsd/sys
> machine -> /ufs/pr_198062-git/freebsd/sys/amd64/include
> x86 -> /ufs/pr_198062-git/freebsd/sys/x86/include
> Error: aic7xxx_seq.h is missing.  Run 'make ahcfirmware'
> Error: aic7xxx_reg.h is missing.  Run 'make ahcfirmware'
> Error: aic7xxx_reg_print.c is missing.  Run 'make ahcfirmware'
> ln -sf /usr/obj/ufs/pr_198062-git/freebsd/sys/GENERIC/opt_scsi.h opt_scsi.h
> ln -sf /usr/obj/ufs/pr_198062-git/freebsd/sys/GENERIC/opt_aic7xxx.h
> opt_aic7xxx.h
> ln -sf /usr/obj/ufs/pr_198062-git/freebsd/sys/GENERIC/opt_cam.h opt_cam.h
> awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
> awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
> awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
> rm -f .depend
> CC='cc ' mkdep -f .depend -a   -nostdinc -DAHC_REG_PRETTY_PRINT=1 -D_KERNEL
> -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq
> -I/usr/obj/ufs/pr_198062-git/freebsd/sys/GENERIC -std=iso9899:1999  
> aic7xxx_reg_print.c
> /ufs/pr_198062-git/freebsd/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/
> aic7xxx.c
> /ufs/pr_198062-git/freebsd/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/
> aic7xxx_93cx6.c
> /ufs/pr_198062-git/freebsd/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/
> aic7xxx_osm.c
> /ufs/pr_198062-git/freebsd/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/
> aic7770.c
> cc: error: no such file or directory: 'aic7xxx_reg_print.c'
> mkdep: compile failed
> *** [.depend] Error code 1
> 
> Stop in /ufs/pr_198062-git/freebsd/sys/modules/aic7xxx/ahc.
> *** [depend_subdir_ahc] Error code 1
> 
> Stop in /ufs/pr_198062-git/freebsd/sys/modules/aic7xxx.
> *** [depend_subdir_aic7xxx] Error code 1
> 
> Stop in /ufs/pr_198062-git/freebsd/sys/modules.
> *** [modules-depend] Error code 1
> 
> Stop in /usr/obj/ufs/pr_198062-git/freebsd/sys/GENERIC.
> *** [buildkernel] Error code 1
> 
> Stop in /ufs/pr_198062-git/freebsd.
> *** [buildkernel] Error code 1
> 
> Stop in /ufs/pr_198062-git/freebsd.


~/svn/stable/10 # grep ':\[' Makefile.inc1
.if ${BUILDKERNELS:[#]} > 1
.for _kernel in ${BUILDKERNELS:[2..-1]}
.if ${BUILDKERNELS:[#]} > 1
.for _kernel in ${BUILDKERNELS:[2..-1]}
.if ${BUILDKERNELS:[#]} > 1
.for _kernel in ${BUILDKERNELS:[2..-1]}
.if ${BUILDKERNELS:[#]} > 1
.for _kernel in ${BUILDKERNELS:[2..-1]}


This is bmake-specific and is not safe for stable/10. I will find a way to fix
it /
revert the changes made for it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list