From owner-freebsd-alpha Tue Jan 7 7:52:43 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 7D02237B401 for ; Tue, 7 Jan 2003 07:52:41 -0800 (PST) Received: from qescan3.qgraph.com (QESCAN3.qgraph.com [206.158.124.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9B8943EA9 for ; Tue, 7 Jan 2003 07:52:40 -0800 (PST) (envelope-from Aaron.Schroeder@qg.com) Received: by sxsmtp3.qgraph.com with Internet Mail Service (5.5.2656.59) id ; Tue, 7 Jan 2003 09:52:33 -0600 Message-ID: <025596A38A894B45AFE62346A6BF47464E34EB@waexch1.qgraph.com> From: "Schroeder, Aaron" To: 'Andrew Gallatin' Cc: "'freebsd-alpha@freebsd.org'" Subject: RE: 5305 kernel compile issues with 5.0RC2 Date: Tue, 7 Jan 2003 09:52:32 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" 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 I added 'device atkbdc' to my kernel file since it was never in there to begin with, and I am now compiling the kernel again, I hope this works. Thanks for the info Drew. I find it disturbing that the 'device atkbdc' wasn't a part of my generic kernel file. -----Original Message----- From: Andrew Gallatin [mailto:gallatin@cs.duke.edu] Sent: Tuesday, January 07, 2003 8:22 AM To: Schroeder, Aaron Cc: 'freebsd-alpha@freebsd.org' Subject: Re: 5305 kernel compile issues with 5.0RC2 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