From owner-freebsd-questions Fri Jul 5 17: 7:55 2002 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 5139D37B401 for ; Fri, 5 Jul 2002 17:07:50 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B75843E77 for ; Fri, 5 Jul 2002 17:07:17 -0700 (PDT) (envelope-from langd@informatik.tu-muenchen.de) Received: from mailrelay2.informatik.tu-muenchen.de (mailrelay.informatik.tu-muenchen.de [131.159.2.33]) by mailout.informatik.tu-muenchen.de (Postfix) with ESMTP id 9E149610D for ; Sat, 6 Jul 2002 02:06:49 +0200 (MEST) Received: from atrbg11.informatik.tu-muenchen.de (atrbg11.informatik.tu-muenchen.de [131.159.24.91]) by mailrelay2.informatik.tu-muenchen.de (Postfix) with ESMTP id 87DD447384 for ; Sat, 6 Jul 2002 02:06:49 +0200 (MEST) Received: by atrbg11.informatik.tu-muenchen.de (Postfix, from userid 20455) id 28FDF13678; Sat, 6 Jul 2002 02:06:49 +0200 (CEST) Date: Sat, 6 Jul 2002 02:06:49 +0200 From: Daniel Lang To: freebsd-questions@freebsd.org Subject: Serial Port trouble Message-ID: <20020706000649.GA12212@atrbg11.informatik.tu-muenchen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i X-Geek: GCS/CC d-- s: a- C++$ UBS++++$ P+++$ L- E-(---) W+++(--) N++ o K w--- O? M? V? PS+(++) PE--(+) Y+ PGP+ t++ 5+++ X R+(-) tv+ b+ DI++ D++ G++ e+++ h---(-) r++>+++ y+ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm having some trouble getting a serial console to work on a Dell PowerEdge 2650. I also had some trouble with serial ports on Dell servers before, but not just like this one. On other PC's everything works like charm. I have configured the kernel for serial console like this: - flags 0x10 (also tried 0x20 to force it) on sio0 - options CONSPEED=19200 in kernel config - BOOT_COMCONSOLE_PORT=0x3F8 and BOOT_COMCONSOLE_SPEED=19200 in /etc/make.conf - '-Dh' in /boot/kernel.conf, hardlinked to /kernel.conf Also I have configured the system to redirect BIOS console to the serial port. Now what works: - BIOS messages on the serial port OK - BTX loader OK - 3rd stage loader OK - kernel NOT OK (i.e. not a single character from a kernel boot message) - echo bla > /dev/console NOT OK (doesn't appear at the terminal) once booted, running a getty on /dev/cuaa0 works. I tried running it on /dev/ttyd0 before, doesn't work. On every other machine I have, the getty works on ttyd0 but NOT on cuaa0. What's wrong? How do I get the kernel boot messgaes? How do I get console messages? Why do I need to use cuaa0 instead of ttyd0. 5 other PC's do it the other way round and I get the kernel messages. (The other problems with dell boxes mentioned previously are just, that the kernel messages can only be seen with 9600 baud, regardless of any conspeed setting (in some configurations even 2400 baud), once booted a machdep.conspeed=19200 fixes it, so I can run the getty (on ttyd0 though). Oh well, there is one dell box, where the serial console works, but just as output. I cannot login, since no keys are accepted, but I did not check stty settings etc yet. ) Any advice appreciated. Thanks and best regards, Daniel -- IRCnet: Mr-Spock - Der Zweite Platz ist Dreck - Daniel Lang * dl@leo.org * +49 89 289 25735 * http://www.leo.org/~dl/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message