From owner-freebsd-stable@FreeBSD.ORG Sun Aug 21 16:19:17 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13A2A106564A for ; Sun, 21 Aug 2011 16:19:17 +0000 (UTC) (envelope-from byshenknet@byshenk.net) Received: from core.byshenk.net (core.byshenk.net [62.58.73.230]) by mx1.freebsd.org (Postfix) with ESMTP id 813398FC15 for ; Sun, 21 Aug 2011 16:19:16 +0000 (UTC) Received: from core.byshenk.net (localhost [127.0.0.1]) by core.byshenk.net (8.14.4/8.14.4) with ESMTP id p7LFgn99052117 for ; Sun, 21 Aug 2011 17:42:49 +0200 (CEST) (envelope-from byshenknet@core.byshenk.net) Received: (from byshenknet@localhost) by core.byshenk.net (8.14.4/8.14.4/Submit) id p7LFgnO0052116 for freebsd-stable@freebsd.org; Sun, 21 Aug 2011 17:42:49 +0200 (CEST) (envelope-from byshenknet) Date: Sun, 21 Aug 2011 17:42:49 +0200 From: Greg Byshenk To: freebsd-stable@freebsd.org Message-ID: <20110821154249.GE92605@core.byshenk.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on core.byshenk.net Subject: Serial multiport error Oxford/Startech PEX2S952 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2011 16:19:17 -0000 Not sure if -stable is the right place for this, but I'll give it a shot; if it's not, then a pointer in the right direction would be much appreciated. I'm having a problem with a StarTech PEX2S952 dual-port serial card. I believe that it should be supported, as it has this entry in pucdata.c [...] { 0x1415, 0xc158, 0xffff, 0, "Oxford Semiconductor OXPCIe952 UARTs", DEFAULT_RCLK * 0x22, PUC_PORT_NONSTANDARD, 0x10, 0, -1, .config_function = puc_config_oxford_pcie }, [...] And, while it is recognized at boot -- after adding device puc options COM_MULTIPORT to my kernel, it doesn't seem to be working. The devices '/dev/cuau2' and '/dev/cuau3' show up, and I can connect to them, but they don't seem to pass any traffic. If I connect to the serial console of another machine (one that I know for certain is working), I get nothing at all. I suspect (?) that it may not be recognized as the proper card. Boot and pciconf messages are: puc0: mem 0xf9dfc000-0xf9dfffff,0xfa000000-0xfa1fffff,0xf9e00000-0xf9ffffff irq 30 at device 0.0 on pci4 puc0@pci0:4:0:0: class=0x070002 card=0xc1581415 chip=0xc1581415 rev=0x00 hdr=0x00 vendor = 'Oxford Semiconductor Ltd' class = simple comms subclass = UART bar [10] = type Memory, range 32, base 0xf9dfc000, size 16384, enabled bar [14] = type Memory, range 32, base 0xfa000000, size 2097152, enabled bar [18] = type Memory, range 32, base 0xf9e00000, size 2097152, enabled The kernel is actually FreeBSD 9.0-BETA1 amd64, which is not quite 'STABLE' yet, but I don't think that this should matter. Any advice would be much appreciated. The machine is still in test phase, so I can mess around with it as necessary. Thanks. -- greg byshenk - freebsd@byshenk.net - Leiden, NL