From owner-freebsd-questions@FreeBSD.ORG Fri May 6 05:02:12 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7313116A4CE for ; Fri, 6 May 2005 05:02:12 +0000 (GMT) Received: from mail.20n.nitemare.net (c239-62.lib-twc.ny.localnet.com [207.251.239.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id A849143DA0 for ; Fri, 6 May 2005 05:02:06 +0000 (GMT) (envelope-from rmcintosh@nitemare.net) Received: (qmail 57163 invoked from network); 6 May 2005 05:02:04 -0000 Received: from virgo.20n.nitemare.net (rmcintosh@nitemare.net@10.0.0.6) by 10.0.0.102 with SMTP; 6 May 2005 05:02:04 -0000 From: Ryan McIntosh Organization: Nitemare Networking To: freebsd-questions@freebsd.org Date: Fri, 6 May 2005 01:02:20 -0400 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200505060102.20282.rmcintosh@nitemare.net> Subject: syscons MAXCONS option X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rmcintosh@nitemare.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2005 05:02:12 -0000 I've been an avid user of FreeBSD for terminal based things, and I love to keep terms open on a console only server.. however this leads to the default limitation of syscons, kbdmap, and kbdcontrol where you can only have 16 consoles due to the definition of F_SCR (0x0b) and L_SCR (0x1a) in /usr/src/ sys/sys/kbio.h. I know the kernel option of MAXCONS does increase the console count, however, if you go higher than 16, syscons does show the current max set by that definition, but you can't actually use the consoles due to a check in /usr/src/sys/dev/syscons/syscons.c that won't allow it to go higher than L_SCR, and also both kbdmap and kbdcontrol have this same check. Is it possible to have this fixed, since MAXCONS really doesn't do much, other than max out at 16 consoles. I just keep modifying L_SCR in /usr/src/sys/sys/ kbio.h to what i set MAXCONS to + 10 (of course in hex though, I haven't read through all of it to see exactly why everything is how it is, but F_SCR starts on 11, so there's a gap of 10..?), kinda simple.. is it possible to have this fixed? i keep having to do it manually, and would like to be able to just define it in the kernel config and not have to run rampant through the src to get the define to work.. or if someone wanted to, be able to set it dynamically? :-) Thanks. Ryan McIntosh rmcintosh@nitemare.net