From owner-freebsd-questions@FreeBSD.ORG Wed Nov 7 15:27:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61C0216A419 for ; Wed, 7 Nov 2007 15:27:39 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from mail.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by mx1.freebsd.org (Postfix) with ESMTP id 387DC13C4AA for ; Wed, 7 Nov 2007 15:27:38 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from asahi-net.jp (m038184.ppp.asahi-net.or.jp [219.121.38.184]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 186BC1B6B7; Thu, 8 Nov 2007 00:08:10 +0900 (JST) Date: Thu, 08 Nov 2007 00:08:10 +0900 From: Watanabe Kazuhiro To: freebsd-questions In-Reply-To: <46FF856F.1030703@snaffler.net> References: <46FF856F.1030703@snaffler.net> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20071107150811.186BC1B6B7@mail.asahi-net.or.jp> Cc: "chris.scott" Subject: Re: pci serial card issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 15:27:39 -0000 Hello. At Sun, 30 Sep 2007 12:15:59 +0100, chris.scott wrote: > Hi > > i'm running freebsd stable (last build 28th) and am having a few issues > with 2 pci serial cards. Basically I'm trying to build a serial server. > However the driver doesn't seem to work correctly. > > Sep 28 22:18:56 boxster puc0: port > 0xce00-0xce07,0xcc00-0xcc07,0xca00-0xca07,0xc800-0xc807,0xc600-0xc607,0xc400-0xc40f > irq 9 at device 8.0 on pci0 > Sep 28 22:18:56 boxster puc1: port > 0xde00-0xde07,0xdc00-0xdc07,0xda00-0xda07,0xd800-0xd807,0xd600-0xd607,0xd400-0xd40f > irq 10 at device 11.0 on pci0 > Sep 28 22:18:56 boxster puc1: could not get resource > > > they are both 6 port serial pci cards, and are listed in the puc driver > as supported. The pc is quite old so Im not sure if whats causing any > issues. I have tried the bios with pnpos enables and disabled but it > makes little difference. I have also tried with one card and the issue > is the same. > > I have also disabled the pcs onboard serial ports and still no go > > I have disabled ACPI with hint.acpi.0.disabled="1" this seems to stop > the resource error but I dont get any additional cuad devices If you load the puc(4) driver as a kernel module (puc.ko), you should load the sio(4) driver as well. i.e.: sio(4) puc(4) work? -------------------------------------------------- builtin builtin OK builtin module NG module module OK module builtin Maybe OK -------------------------------------------------- (builtin = kernel builtin, module = kernel module) > $ pciconf -l -v | grep -B 4 UART > puc0@pci0:8:0: class=0x070002 card=0x00061000 chip=0x98459710 rev=0x01 > hdr=0x00 > vendor = 'MosChip Semiconductors (Was: Netmos Technology)' > device = 'Nm9845 Parallel/Serial Port Adapter' > class = simple comms > subclass = UART > -- > puc1@pci0:11:0: class=0x070002 card=0x00061000 chip=0x98459710 rev=0x01 > hdr=0x00 > vendor = 'MosChip Semiconductors (Was: Netmos Technology)' > device = 'Nm9845 Parallel/Serial Port Adapter' > class = simple comms > subclass = UART > > > > Any help much appreciated > > chris --- Watanabe Kazuhiro (CQG00620@nifty.ne.jp)