From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 16:04:26 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D4085C1 for ; Wed, 15 Oct 2014 16:04:26 +0000 (UTC) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E7F58B6A for ; Wed, 15 Oct 2014 16:04:25 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id z12so1715125wgg.25 for ; Wed, 15 Oct 2014 09:04:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:mime-version:content-type:content-disposition :user-agent; bh=+/0Lpkoe86Ndr7Htb908GzEMomUN2vLC07nbl3bH5y8=; b=UNdOLpCliIFqRjspOUMrBuHs9NbVFMImCt773YcHm6OhM1Z9J0g6nE0hR9eKBEU5xE KK7uVxJTBTVQzoPf9CgcLE36BiMRsZHO7DL9D7lIl1VCJUaqr0ylQ+14uejk4IQ+B8qk JOnNLnAhnxA9/JVymtfS1hjEvyLU5ItF71kN8PJz3x3Z2/hvmFbv7J57CJoqzx0Unlf4 hl80nCRWR0rBm3ge61rketoGg0stqRPAOoed7joXYAt4oQ6JEuYCt7ELj85ceJiYqjvc E4cJmVB+w3ZgXE8Acz59mVWDTiYOVjJbYxP6pIX4c2kMJMZJouRvssoKBVY4jvbhEr7g jisA== X-Gm-Message-State: ALoCoQndmxbnmMrG8bWzsVD1X1FB42Sb7TVmobRDCRd4GZ8xOlYpY5j1HeRXpvLs2bEYOsdvFgXP X-Received: by 10.194.2.168 with SMTP id 8mr13975552wjv.78.1413389058568; Wed, 15 Oct 2014 09:04:18 -0700 (PDT) Received: from localhost (itcom245.staff.itd.umich.edu. [141.213.135.249]) by mx.google.com with ESMTPSA id td9sm19863364wic.15.2014.10.15.09.04.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Oct 2014 09:04:17 -0700 (PDT) Date: Wed, 15 Oct 2014 12:01:41 -0400 From: William Bulley To: Warren Block Subject: Re: exiting Xorg locks up 9.2-STABLE system Message-ID: <20141015160141.GA9220@itcom245.staff.itd.umich.edu> Mail-Followup-To: Warren Block , freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2014 16:04:26 -0000 According to Warren Block 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 ----------------------------------------->|