pci serial card issues

Watanabe Kazuhiro CQG00620 at nifty.ne.jp
Wed Nov 7 07:27:39 PST 2007


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: <NetMos NM9845 Hex UART> 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: <NetMos NM9845 Hex UART> 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 at 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 at 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 at nifty.ne.jp)


More information about the freebsd-questions mailing list