From owner-freebsd-current@FreeBSD.ORG Sun Aug 29 11:39:56 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B28B16A4CE for ; Sun, 29 Aug 2004 11:39:56 +0000 (GMT) Received: from dd2626.kasserver.com (dd2626.kasserver.com [81.209.184.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6134943D60 for ; Sun, 29 Aug 2004 11:39:55 +0000 (GMT) (envelope-from outi@bytephobia.de) Received: from [10.0.0.2] (pD95F0D10.dip.t-dialin.net [217.95.13.16]) by dd2626.kasserver.com (Postfix) with ESMTP id 418EF7A435; Sun, 29 Aug 2004 13:39:52 +0200 (CEST) Message-ID: <4131B0AA.6020402@bytephobia.de> Date: Sun, 29 Aug 2004 12:32:10 +0200 From: Patrick Hurrelmann User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040810) X-Accept-Language: en-us, en MIME-Version: 1.0 To: cyrille.lefevre@laposte.net References: <200408280145.i7S1jqxl096468@mail.gits.dyndns.org> In-Reply-To: <200408280145.i7S1jqxl096468@mail.gits.dyndns.org> Content-Type: multipart/mixed; boundary="------------060400080506060000090500" cc: Deng XueFeng cc: current@freebsd.org Subject: Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: outi@bytephobia.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2004 11:39:56 -0000 This is a multi-part message in MIME format. --------------060400080506060000090500 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi Cyrille, I tried you patch and it applies cleanly to 5.3-BETA1, but kernelbuild breaks due to syscons. Does anybody experience the same? See attached log of kernelbuild. Thanks Patrick Cyrille Lefevre wrote: > On Aug 27, 2004 01:59:50 am +0000, Deng XueFeng wrote: > >>First to thanks Sascha Wildner . >>he hack syscons to make dfbsd support 1024x768(16/24/32) syscons, >>then I ported that to current. and it works well with my ati MOBILITY >>7500[T31]/9200 [NX7000]. >>To make console support 1024x768; just type >>#vidcontrol MODE_279 >> >>The originer patch can be get from dfbsd's maillist. > > > here it is :) > http://leaf.dragonflybsd.org/mailarchive/submit/2004-08/msg00074.html > > >>and the attachment is against with FreeBSD CURRENT and 5.3 >>enjoy it! >> >>NOTE: >> current-vidcontrol.1 current-vidcontrol.c is taken from dfbsd. which >>is include >> Sascha's patch. > > > Hi, > > I don't know why, but your patch set doesn't apply cleanly against -current ! > so, I merged it in manually. also, take care while importing things to -current >>from DFBSD, since DFBSD is a fork from -stable. in other words, your patch set > backout some change done in -current. the following patch set take care of this. > I also tried to reduce the diff against -current whenever possible and made some > style(9) changes (#define and ... to ). > > thanks anyway and good luck. > > PS : the following patch set applies and compiles cleanly against -current. > however, I didn't have tested it yet since I can't reboot right now. > > > Cyrille Lefevre -- =========================================================================== Patrick Hurrelmann | "Programming today is a race between software Mannheim, Germany | engineers striving to build bigger and better | idiot-proof programs, and the Universe trying outi at bytephobia.de | to produce bigger and better idiots. So far, www.bytephobia.de | the Universe is winning." - Rich Cook --------------060400080506060000090500 Content-Type: text/plain; name="kernelbuild.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kernelbuild.txt" cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/dev/sio/sio.c cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/dev/sio/sio_isa.c cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/dev/syscons/schistory.c cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/dev/syscons/scmouse.c cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/dev/syscons/scterm.c cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/dev/syscons/scterm-dumb.c cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/dev/syscons/scterm-sc.c cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/dev/syscons/scvesactl.c cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/dev/syscons/scvgarndr.c /usr/src/sys/dev/syscons/scvgarndr.c:513: warning: return type defaults to `int' /usr/src/sys/dev/syscons/scvgarndr.c:513: warning: conflicting types for 'vga_pxlclear' /usr/src/sys/dev/syscons/scvgarndr.c:66: warning: previous declaration of 'vga_pxlclear' was here /usr/src/sys/dev/syscons/scvgarndr.c:912: warning: return type defaults to `int' /usr/src/sys/dev/syscons/scvgarndr.c:912: warning: no previous prototype for 'draw_pxlcursor_direct' /usr/src/sys/dev/syscons/scvgarndr.c:1086: warning: return type defaults to `int' /usr/src/sys/dev/syscons/scvgarndr.c:1086: warning: no previous prototype for 'draw_pxlmouse_direct' /usr/src/sys/dev/syscons/scvgarndr.c:1240: warning: return type defaults to `int' /usr/src/sys/dev/syscons/scvgarndr.c:1240: warning: no previous prototype for 'draw_pxlmouse' *** Error code 1 Stop in /usr/obj/usr/src/sys/MOBILITY. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. --------------060400080506060000090500--