From owner-freebsd-alpha Tue Jan 7 6:22:38 2003 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D739E37B401 for ; Tue, 7 Jan 2003 06:22:36 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEAD043EA9 for ; Tue, 7 Jan 2003 06:22:35 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.6/8.12.6) with ESMTP id h07EMTro005392 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 7 Jan 2003 09:22:30 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h07EMOv59498; Tue, 7 Jan 2003 09:22:24 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15898.58016.810412.610032@grasshopper.cs.duke.edu> Date: Tue, 7 Jan 2003 09:22:24 -0500 (EST) To: "Schroeder, Aaron" Cc: "'freebsd-alpha@freebsd.org'" Subject: Re: 5305 kernel compile issues with 5.0RC2 In-Reply-To: <025596A38A894B45AFE62346A6BF47464E34D9@waexch1.qgraph.com> References: <025596A38A894B45AFE62346A6BF47464E34D9@waexch1.qgraph.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Schroeder, Aaron writes: > Hello all, > > I have been trying to get a kernel to compile on a Digital 5305 running a > serial console for a few days now. I have a recent cvs of the current tree > and have re-built my world successfully. However, when I try to compile my > kernel, I get errors in what seems to be the keyboard section. I tried > commenting the keyboard options out of the kernel, but no such luck. I am > not sure if it is because BSD wants a keyboard plugged in. I have never ran > a machine with a serial console only before, but I did set my SRM console > environment to 'serial' > > Any ideas anyone? > > Thanks, > > AJ Schroeder > > atkbd.o: In function `write_kbd': > atkbd.o(.text+0x1d60): undefined reference to `send_kbd_command_and_data' This symbol is defined in atkbdc. It sounds like your config file has an error, and you've got device atkbd without also having device atkbdc BTW, attempting to remove the keyboard controller for a serial machine is a silly microptimization. You'll save a few K of kernel memory, at the cost of totally screwing yourself if you ever need to boot the machine with a graphics head (like if your terminal server goes bad). You need not do anything special to use a serial console. Just make sure /etc/ttys has an entry for ttyd0 enabled, and set the SRM console env to serial. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message