From owner-freebsd-sparc64@FreeBSD.ORG Sat May 29 20:18:20 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16C5B16A4CE for ; Sat, 29 May 2004 20:18:20 -0700 (PDT) Received: from auds952.usa.alcatel.com (auds952.usa.alcatel.com [143.209.238.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id D409F43D41 for ; Sat, 29 May 2004 20:18:19 -0700 (PDT) (envelope-from ben.crosby@alcatel.com) Received: from tm1.ca.alcatel.com (localhost [127.0.0.1]) i4U3Hx8f014911 for ; Sat, 29 May 2004 22:17:59 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by tm1.ca.alcatel.com (8.12.10/8.12.10) with ESMTP id i4U3HuqV009994 for ; Sat, 29 May 2004 23:17:58 -0400 (EDT) Date: Sat, 29 May 2004 23:17:53 -0400 From: Ben Crosby Organization: CTO North America X-Priority: 3 (Normal) Message-ID: <93771404.20040529231753@alcatel.com> To: freebsd-sparc64@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Missing serial ports... X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ben Crosby List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2004 03:18:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 All, I did a search in the archive, and this was discussed in June 2003, but I'm still stumped. I've just installed 5.2.1-RELEASE on five Sun Netra 120 servers, and I am unable to use the second serial port. There are no hints in the dmesg output, and only /dev/ttya exists in the /dev directory. To be honest, I'm not sure what driver is being used to see the /dev/ttya device on the standard kernel. I'd like to be able to hook up a GPS reciever to the second serial port for accurate NTP source. I'd very much appreciate some assistance with ideas or a solution. The solution proposed in June 2003's discussion: http://lists.freebsd.org/mailman/htdig/freebsd-sparc64/2003-June/000242.html made reference to an SIO driver, so I compiled a custom kernel, created the device.hints file as follows: hint.sio.0.at="isa" hint.sio.0.port="0x3F8" hint.sio.0.irq="4" hint.sio.1.at="isa" hint.sio.1.port="0x2E8" installed it, and lo, dmesg now reports: sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio1 at port 0x2e8-0x2ef on isa0 sio1: type 16550A And, I have /dev/ttyd0 and /dev/ttyd1, however, I'm not 100% certain this is the right way to solve the problem. Here's the relevant entry from ofwdump: Node 0xf007de68: serial port-a-ignore-cd: nohupcl: 00 interrupt-priorities: 00 00 00 0c 00 00 00 0c reg: 00 00 00 00 00 00 03 f8 00 00 00 08 compatible: 73 75 31 36 35 35 30 00 73 75 00 device_type: 73 65 72 69 61 6c 00 'serial' name: 73 65 72 69 61 6c 00 'serial' interrupts: 00 00 00 04 and: Node 0xf007fb54: serial port-b-ignore-cd: nohupcl: 00 interrupt-priorities: 00 00 00 0c 00 00 00 0c reg: 00 00 00 00 00 00 02 e8 00 00 00 08 compatible: 73 75 31 36 35 35 30 00 73 75 00 device_type: 73 65 72 69 61 6c 00 'serial' name: 73 65 72 69 61 6c 00 'serial' interrupts: 00 00 00 04 Many thanks, Ben. -----BEGIN PGP SIGNATURE----- Version: PGP SDK 3.0.3 Comment: "" iQA/AwUBQLlSY0Nm3F1O6YPWEQJ9CACeLWXcPTHmxqzZi8p/BmpO2iVYy3EAn1bM /2yZW/9gOMpeaYh8zj4MfCKg =bRBz -----END PGP SIGNATURE-----