From owner-freebsd-current@FreeBSD.ORG Wed Jul 2 18:51:56 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9CF7435 for ; Wed, 2 Jul 2014 18:51:56 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C01C255E for ; Wed, 2 Jul 2014 18:51:55 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id s62IpmjO075811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Jul 2014 20:51:49 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id s62IpmrR075808 for ; Wed, 2 Jul 2014 20:51:48 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 2 Jul 2014 20:51:48 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD current Subject: vidcontrol(1) complains about Bad magic, in base/head, amd64, sc console, r268165 Message-ID: User-Agent: Alpine 2.11 (BSF 23 2013-08-11) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.fig.ol.no Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Wed, 02 Jul 2014 18:51:56 -0000 Hi, Is it just me or is there something wrong with vidcontrol(1) in base/head, amd64, sc console, r268165? First, I had to specify absolute pathnames for the font8x16, font8x14, and font8x8 variables in /etc/rc.conf before vidcontrol(1) would load anything, and next, vidcontrol(1), when run by /etc/rc.d/syscons, complains about: Bad magic vidcontrol: failed to load font "/usr/share/syscons/fonts/iso-8x16.fnt": No error: 0 Bad magic vidcontrol: failed to load font "/usr/share/syscons/fonts/iso-8x14.fnt": No error: 0 Bad magic vidcontrol: failed to load font "/usr/share/syscons/fonts/iso-8x8.fnt": No error: 0 I wouldn't rule out pilot error on my part, but r267957 worked flawlessly in this regard. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-current@FreeBSD.ORG Wed Jul 2 19:05:38 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AFEDC7FF for ; Wed, 2 Jul 2014 19:05:38 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C78C2675 for ; Wed, 2 Jul 2014 19:05:37 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id s62J5XNM075887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Jul 2014 21:05:33 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id s62J5XZj075884 for ; Wed, 2 Jul 2014 21:05:33 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 2 Jul 2014 21:05:33 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD current Subject: Re: vidcontrol(1) complains about Bad magic, in base/head, amd64, sc console, r268165 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (BSF 23 2013-08-11) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-ID: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.fig.ol.no Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Wed, 02 Jul 2014 19:05:38 -0000 On Wed, 2 Jul 2014 20:51+0200, Trond Endrestøl wrote: > Hi, > > Is it just me or is there something wrong with vidcontrol(1) in > base/head, amd64, sc console, r268165? > > First, I had to specify absolute pathnames for the font8x16, font8x14, > and font8x8 variables in /etc/rc.conf before vidcontrol(1) would load > anything, and next, vidcontrol(1), when run by /etc/rc.d/syscons, > complains about: > > Bad magic > vidcontrol: failed to load font "/usr/share/syscons/fonts/iso-8x16.fnt": No error: 0 > Bad magic > vidcontrol: failed to load font "/usr/share/syscons/fonts/iso-8x14.fnt": No error: 0 > Bad magic > vidcontrol: failed to load font "/usr/share/syscons/fonts/iso-8x8.fnt": No error: 0 > > I wouldn't rule out pilot error on my part, but r267957 worked > flawlessly in this regard. I guess with both sc and vt in the kernel, line 220 of usr.sbin/vidcontrol/vidcontrol.c needs a slight adjustment. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-current@FreeBSD.ORG Wed Jul 2 19:19:38 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2B1BE28; Wed, 2 Jul 2014 19:19:37 +0000 (UTC) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ADD7727A9; Wed, 2 Jul 2014 19:19:37 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.8/8.14.8) with ESMTP id s62JJaQs082499; Wed, 2 Jul 2014 15:19:36 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.8/8.14.8/Submit) id s62JJaqE082486; Wed, 2 Jul 2014 19:19:36 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 2 Jul 2014 19:19:36 GMT Message-Id: <201407021919.s62JJaqE082486@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on i386/pc98 Precedence: bulk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 19:19:38 -0000 TB --- 2014-07-02 15:32:12 - tinderbox 2.22 running on freebsd-current.sentex.ca TB --- 2014-07-02 15:32:12 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2014-07-02 15:32:12 - starting HEAD tinderbox run for i386/pc98 TB --- 2014-07-02 15:32:12 - cleaning the object tree TB --- 2014-07-02 15:33:34 - /usr/local/bin/svn stat --no-ignore /src TB --- 2014-07-02 15:33:56 - At svn revision 268154 TB --- 2014-07-02 15:33:57 - building world TB --- 2014-07-02 15:33:57 - CROSS_BUILD_TESTING=YES TB --- 2014-07-02 15:33:57 - MAKEOBJDIRPREFIX=/obj TB --- 2014-07-02 15:33:57 - MAKESYSPATH=/src/share/mk TB --- 2014-07-02 15:33:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-07-02 15:33:57 - SRCCONF=/dev/null TB --- 2014-07-02 15:33:57 - TARGET=pc98 TB --- 2014-07-02 15:33:57 - TARGET_ARCH=i386 TB --- 2014-07-02 15:33:57 - TZ=UTC TB --- 2014-07-02 15:33:57 - __MAKE_CONF=/dev/null TB --- 2014-07-02 15:33:57 - cd /src TB --- 2014-07-02 15:33:57 - /usr/bin/make -B buildworld >>> Building an up-to-date bmake(1) >>> World build started on Wed Jul 2 15:34:05 UTC 2014 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Wed Jul 2 19:12:16 UTC 2014 TB --- 2014-07-02 19:12:16 - generating LINT kernel config TB --- 2014-07-02 19:12:16 - cd /src/sys/pc98/conf TB --- 2014-07-02 19:12:16 - /usr/bin/make -B LINT TB --- 2014-07-02 19:12:17 - cd /src/sys/pc98/conf TB --- 2014-07-02 19:12:17 - /obj/pc98.i386/src/tmp/legacy/usr/sbin/config -m LINT TB --- 2014-07-02 19:12:17 - building LINT kernel TB --- 2014-07-02 19:12:17 - CROSS_BUILD_TESTING=YES TB --- 2014-07-02 19:12:17 - MAKEOBJDIRPREFIX=/obj TB --- 2014-07-02 19:12:17 - MAKESYSPATH=/src/share/mk TB --- 2014-07-02 19:12:17 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-07-02 19:12:17 - SRCCONF=/dev/null TB --- 2014-07-02 19:12:17 - TARGET=pc98 TB --- 2014-07-02 19:12:17 - TARGET_ARCH=i386 TB --- 2014-07-02 19:12:17 - TZ=UTC TB --- 2014-07-02 19:12:17 - __MAKE_CONF=/dev/null TB --- 2014-07-02 19:12:17 - cd /src TB --- 2014-07-02 19:12:17 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Jul 2 19:12:17 UTC 2014 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-unused-function -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -DGPROF -DGPROF4 -DGUPROF -fno-builtin -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -mno-aes -mno-avx -Werror -pg /src/sys/dev/ath/ath_hal/ar9002/ar9285.c -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-unused-function -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -DGPROF -DGPROF4 -DGUPROF -fno-builtin -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -mno-aes -mno-avx -Werror -pg /src/sys/dev/ath/ath_hal/ar9002/ar9287.c -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-unused-function -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -DGPROF -DGPROF4 -DGUPROF -fno-builtin -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -mno-aes -mno-avx -Werror -pg /src/sys/dev/ath/ath_rate/sample/sample.c -I/src/sys/dev/ath cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-unused-function -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -DGPROF -DGPROF4 -DGUPROF -fno-builtin -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -mno-aes -mno-avx -Werror -pg /src/sys/dev/ath/ath_dfs/null/dfs_null.c -I/src/sys/dev/ath cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-unused-function -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -DGPROF -DGPROF4 -DGUPROF -fno-builtin -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -mno-aes -mno-avx -Werror -pg /src/sys/dev/bce/if_bce.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-unused-function -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -DGPROF -DGPROF4 -DGUPROF -fno-builtin -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -mno-aes -mno-avx -Werror -pg /src/sys/dev/bfe/if_bfe.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-unused-function -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -DGPROF -DGPROF4 -DGUPROF -fno-builtin -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -mno-aes -mno-avx -Werror -pg /src/sys/dev/bge/if_bge.c /src/sys/dev/bge/if_bge.c:4799:13: error: no member named 'bge_if_getcapenable' in 'struct bge_softc' if (!(sc->bge_if_getcapenable(ifp) & IFCAP_POLLING)) ~~ ^ /src/sys/dev/bge/if_bge.c:4799:33: error: use of undeclared identifier 'ifp'; did you mean 'if'? if (!(sc->bge_if_getcapenable(ifp) & IFCAP_POLLING)) ^ /src/sys/dev/bge/if_bge.c:5833:33: error: incompatible pointer types passing 'int (if_t, enum poll_cmd, int)' to parameter of type 'poll_handler_t *' (aka 'int (*)(struct ifnet *, enum poll_cmd, int)') [-Werror,-Wincompatible-pointer-types] error = ether_poll_register(bge_poll, ifp); ^~~~~~~~ /src/sys/net/ifq.h:485:44: note: passing argument to parameter 'h' here int ether_poll_register(poll_handler_t *h, struct ifnet *ifp); ^ 3 errors generated. *** Error code 1 Stop. bmake[1]: stopped in /obj/pc98.i386/src/sys/LINT *** Error code 1 Stop. bmake: stopped in /src *** [buildkernel] Error code 1 Stop in /src. TB --- 2014-07-02 19:19:35 - WARNING: /usr/bin/make returned exit code 1 TB --- 2014-07-02 19:19:35 - ERROR: failed to build LINT kernel TB --- 2014-07-02 19:19:35 - 11338.49 user 1412.65 system 13643.75 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-i386-pc98.full