From owner-freebsd-current@freebsd.org Tue Aug 11 21:27:17 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03DC499F724 for ; Tue, 11 Aug 2015 21:27:17 +0000 (UTC) (envelope-from mueller6724@bellsouth.net) Received: from nm7-vm8.access.bullet.mail.bf1.yahoo.com (nm7-vm8.access.bullet.mail.bf1.yahoo.com [216.109.114.167]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B3E01ACC for ; Tue, 11 Aug 2015 21:27:16 +0000 (UTC) (envelope-from mueller6724@bellsouth.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s2048; t=1439328011; bh=ALHje0WlNJezVY7BQ9hzqVy4beZTww/JOeNTAHbEuiE=; h=Date:From:To:CC:Subject:References:From:Subject; b=j9wsYzTTFgOxuNVbWtJknuFmtQrYE9gxPBHN0h42/2CgmOs8MlInF4hctujDpeWNh8w1lM/9v8Ljxbi8w/LgK1YO6Jtwbcnfrkh/Hv5Y08LrrTGo8gepch4TzDp3aZbkXhpgU23AyXXx3r5M/SR3Ig9UiPjQsfzmefl32LLRkrh3DphFLAqAuMx2aZ346zkXEPMACtvOzGR9FVyH/xp9qr2HTZXSBkEm7VMoWX5x8kKATV/wL8SarYHR0Dhh+jxIa9e+devuXt1p1JkHspmQEdqH4nDXPwwpWTAhZqxhObQGhF48ViUnzKXbWjTuk3bE2SbBKx7sH9RcVb1+Zls+yg== Received: from [66.196.81.162] by nm7.access.bullet.mail.bf1.yahoo.com with NNFMP; 11 Aug 2015 21:20:11 -0000 Received: from [98.138.104.98] by tm8.access.bullet.mail.bf1.yahoo.com with NNFMP; 11 Aug 2015 21:20:11 -0000 Received: from [127.0.0.1] by smtp118.sbc.mail.ne1.yahoo.com with NNFMP; 11 Aug 2015 21:20:10 -0000 X-Yahoo-Newman-Id: 991211.19572.bm@smtp118.sbc.mail.ne1.yahoo.com Message-ID: <991211.19572.bm@smtp118.sbc.mail.ne1.yahoo.com> X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: MOku5PkVM1np2_eICqKOqYoezgoH5cvbgrTMM1zgEsYC5mU 1vk.2O9ypDjjRHywSTsLlQiCkAaPIm1RB_gsWsqddr7mMJQ11rSo0e9JoGXM PTs4ChQ4JfwVfeeYV0hfK2vKsPpQ2r6PfKjpS0Iq_p9lxnJB1UcnzFc2bzXS JcAAE0BuUed371QnqebBkYg7DNhKbGHsNv2.VbrW2Xm511_RvWi_mjAOJoM_ QLwY37Hlwtr8Nw6onbR7NsI1Em7F0e9d5BVxU9BNNpgj63oDfKcYAUxrbvK6 3sdfEIPhGdjsk2zzw_fWSfEuJXtCkF_q2RVEy8xOdbPEdRoY9tViPDquiqiJ GS0G.duoESJITeQcgPIsbTZOJNqxKWTG9ZPEmAtxUDja1PB9Aa2.w2DKjsdO ArxY4Lb.v93WCcJyEauz3wf9jxJ_cXEOxrk7F6BP3_UcKBgLUO4qvIqDYbtp XN6gYofbSvBGfF9HtpusjvhvvK0ZQ5OoTscUu2cKvSxY0OcrhOYmfdVkc2Tt OjWvY0iRA4Dh9jbtzmWsx5rDuXf42xbX3gZ.30x95VkKd18uSCwLkoz6yFaM - X-Yahoo-SMTP: Kz_aW1.swBBYof3zAD7.RWzXz9ZAQVDMml1VADsbgPT4Kq79LC0- Date: Tue, 11 Aug 2015 21:20:08 +0000 From: "Thomas Mueller" To: freebsd-current@freebsd.org CC: Gleb Smirnoff Subject: Re: CFT: ndis(4) testers needed! References: <20150731121226.GJ889@FreeBSD.org> <776723.76234.bm@smtp117.sbc.mail.ne1.yahoo.com> <20150804100746.GA889@FreeBSD.org> <20150804141722.GC889@glebius.int.ru> <475378.72622.bm@smtp114.sbc.mail.ne1.yahoo.com> <20150810135342.GE75813@glebius.int.ru> <721515.87628.bm@smtp113.sbc.mail.ne1.yahoo.com> <20150811091148.GK75813@glebius.int.ru> X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2015 21:27:17 -0000 I did the update a little before your last message. svn revert by itself doesn't work, I get an error message, then run svn help revert and that gets me on the right track. I did the update and patch from NetBSD, which I believe works the same as it would from FreeBSD, subsequently booted into FreeBSD and cd /usr/src make buildworld worked again with no error, but make kernel failed. Error occurs somewhere in iwi or iwm, and that prevents the kernel from building, so I don't get to test ndis, but it may point to what needs fixing. Would it be safe to comment out iwi and other Intel wireless nics in kernel config and then try again to make buildkernel without rerunning buildworld? Or should I wait for next update? But you probably want to know where the snags are even if they don't relate to my hardware. End of the buildkernel.log: ===> iwi (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SANDY11NC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/SANDY11NC -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -mno-aes -mno-avx -std=iso9899:1999 -c /usr/src/sys/modules/iwi/../../dev/iwi/if_iwi.c -o if_iwi.o ctfconvert -L VERSION -g if_iwi.o ld -d -warn-common -r -d -o if_iwi.ko.debug if_iwi.o ctfmerge -L VERSION -g -o if_iwi.ko.debug if_iwi.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk if_iwi.ko.debug export_syms | xargs -J% objcopy % if_iwi.ko.debug objcopy --only-keep-debug if_iwi.ko.debug if_iwi.ko.symbols objcopy --strip-debug --add-gnu-debuglink=if_iwi.ko.symbols if_iwi.ko.debug if_iwi.ko ===> iwifw (all) ===> iwifw/iwi_bss (all) uudecode -p /usr/src/sys/modules/iwifw/iwi_bss/../../../contrib/dev/iwi/ipw2200-bss.fw.uu > iwi_bss iwi_bss iwi_bss cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SANDY11NC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/SANDY11NC -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -mno-aes -mno-avx -std=iso9899:1999 -c iwi_bss.c -o iwi_bss.o ctfconvert -L VERSION -g iwi_bss.o ld -d -warn-common -r -d -o iwi_bss.ko.debug iwi_bss.fwo iwi_bss.o ctfmerge -L VERSION -g -o iwi_bss.ko.debug iwi_bss.fwo iwi_bss.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk iwi_bss.ko.debug export_syms | xargs -J% objcopy % iwi_bss.ko.debug objcopy --only-keep-debug iwi_bss.ko.debug iwi_bss.ko.symbols objcopy --strip-debug --add-gnu-debuglink=iwi_bss.ko.symbols iwi_bss.ko.debug iwi_bss.ko ===> iwifw/iwi_ibss (all) uudecode -p /usr/src/sys/modules/iwifw/iwi_ibss/../../../contrib/dev/iwi/ipw2200-ibss.fw.uu > iwi_ibss iwi_ibss iwi_ibss cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SANDY11NC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/SANDY11NC -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -mno-aes -mno-avx -std=iso9899:1999 -c iwi_ibss.c -o iwi_ibss.o ctfconvert -L VERSION -g iwi_ibss.o ld -d -warn-common -r -d -o iwi_ibss.ko.debug iwi_ibss.fwo iwi_ibss.o ctfmerge -L VERSION -g -o iwi_ibss.ko.debug iwi_ibss.fwo iwi_ibss.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk iwi_ibss.ko.debug export_syms | xargs -J% objcopy % iwi_ibss.ko.debug objcopy --only-keep-debug iwi_ibss.ko.debug iwi_ibss.ko.symbols objcopy --strip-debug --add-gnu-debuglink=iwi_ibss.ko.symbols iwi_ibss.ko.debug iwi_ibss.ko ===> iwifw/iwi_monitor (all) uudecode -p /usr/src/sys/modules/iwifw/iwi_monitor/../../../contrib/dev/iwi/ipw2200-sniffer.fw.uu > iwi_monitor iwi_monitor iwi_monitor cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SANDY11NC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/SANDY11NC -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -mno-aes -mno-avx -std=iso9899:1999 -c iwi_monitor.c -o iwi_monitor.o ctfconvert -L VERSION -g iwi_monitor.o ld -d -warn-common -r -d -o iwi_monitor.ko.debug iwi_monitor.fwo iwi_monitor.o ctfmerge -L VERSION -g -o iwi_monitor.ko.debug iwi_monitor.fwo iwi_monitor.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk iwi_monitor.ko.debug export_syms | xargs -J% objcopy % iwi_monitor.ko.debug objcopy --only-keep-debug iwi_monitor.ko.debug iwi_monitor.ko.symbols objcopy --strip-debug --add-gnu-debuglink=iwi_monitor.ko.symbols iwi_monitor.ko.debug iwi_monitor.ko ===> iwm (all) cc -O2 -pipe -DIWM_DEBUG -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SANDY11NC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/SANDY11NC -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -mno-aes -mno-avx -std=iso9899:1999 -c /usr/src/sys/modules/iwm/../../dev/iwm/if_iwm.c -o if_iwm.o /usr/src/sys/modules/iwm/../../dev/iwm/if_iwm.c:3843:10: error: use of undeclared identifier 'ifp'; did you mean 'if'? KASSERT(ifp->if_drv_flags & IFF_DRV_RUNNING, ("not running")); ^~~ if /usr/src/sys/sys/systm.h:84:24: note: expanded from macro 'KASSERT' if (__predict_false(!(exp))) \ ^ /usr/src/sys/sys/cdefs.h:456:51: note: expanded from macro '__predict_false' #define __predict_false(exp) __builtin_expect((exp), 0) ^ /usr/src/sys/modules/iwm/../../dev/iwm/if_iwm.c:3843:10: error: expected expression /usr/src/sys/sys/systm.h:84:24: note: expanded from macro 'KASSERT' if (__predict_false(!(exp))) \ ^ /usr/src/sys/sys/cdefs.h:456:51: note: expanded from macro '__predict_false' #define __predict_false(exp) __builtin_expect((exp), 0) ^ 2 errors generated. *** Error code 1 Stop. make[4]: stopped in /usr/src/sys/modules/iwm *** Error code 1 Stop. make[3]: stopped in /usr/src/sys/modules *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/sys/SANDY11NC *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src Tom