Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2014 12:01:41 -0400
From:      William Bulley <web@umich.edu>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: exiting Xorg locks up 9.2-STABLE system
Message-ID:  <20141015160141.GA9220@itcom245.staff.itd.umich.edu>

next in thread | raw e-mail | index | archive | help
According to Warren Block <wblock@wonkity.com> on Wed, 10/15/14 at 11:08:
> 
> If you are using a custom kernel, yes.  GENERIC now contains both sc and vt,
> so vt must be selected by adding kern.vty=vt to /boot/loader.conf.

It got worse...  :-(

After commenting out a couple of the "options" found in vt(4) from
my custom kernel config file, I was able to successfully run (as
"root"):

   unix# config MYKERNEL

The next step was "make cleandepend" and that was fine.

But running "make depend" caused this error:

unix# make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O -pipe  -std=c99 -g -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   -nostdinc  -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../dev/ath -I../../../dev/ath/ath_hal -I../../../contrib/ngatm -I../../../dev/twa -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support -I../../../gnu/fs/xfs -I../../../dev/cxgb -I../../../dev/cxgbe -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -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 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector
In file included from ../../../dev/fb/fbd.c:51:
../../../dev/vt/vt.h:54:2: error: #error "Build with both syscons and vt is not supported. Please enable only one 'device sc' or 'device vt'"
In file included from ../../../dev/vt/font/vt_font_default.c:36:
../../../dev/vt/vt.h:54:2: error: #error "Build with both syscons and vt is not supported. Please enable only one 'device sc' or 'device vt'"
In file included from ../../../dev/vt/font/vt_mouse_cursor.c:33:
../../../dev/vt/vt.h:54:2: error: #error "Build with both syscons and vt is not supported. Please enable only one 'device sc' or 'device vt'"
In file included from ../../../dev/vt/hw/fb/vt_fb.c:40:
../../../dev/vt/vt.h:54:2: error: #error "Build with both syscons and vt is not supported. Please enable only one 'device sc' or 'device vt'"
In file included from ../../../dev/vt/vt_buf.c:43:
../../../dev/vt/vt.h:54:2: error: #error "Build with both syscons and vt is not supported. Please enable only one 'device sc' or 'device vt'"
In file included from ../../../dev/vt/vt_consolectl.c:38:
../../../dev/vt/vt.h:54:2: error: #error "Build with both syscons and vt is not supported. Please enable only one 'device sc' or 'device vt'"
In file included from ../../../dev/vt/vt_core.c:55:
../../../dev/vt/vt.h:54:2: error: #error "Build with both syscons and vt is not supported. Please enable only one 'device sc' or 'device vt'"
In file included from ../../../dev/vt/vt_font.c:39:
../../../dev/vt/vt.h:54:2: error: #error "Build with both syscons and vt is not supported. Please enable only one 'device sc' or 'device vt'"
In file included from ../../../dev/vt/vt_sysmouse.c:51:
../../../dev/vt/vt.h:54:2: error: #error "Build with both syscons and vt is not supported. Please enable only one 'device sc' or 'device vt'"
mkdep: compile failed
*** [.depend] Error code 1

Which causes me to ask: how in the heck can the GENERIC kernel have both
"devices" as you have stated?

Regards,

web...

-- 

 /"\   ASCII RIBBON          / William Bulley
 \ /   CAMPAIGN AGAINST     / 
  X    HTML E-MAIL AND     / E-MAIL: web@umich.edu
 / \   LISTSERV POSTINGS  /

72 characters width template ----------------------------------------->|



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141015160141.GA9220>