Serial multiport error Oxford/Startech PEX2S952

Greg Byshenk freebsd at byshenk.net
Sun Aug 21 16:19:17 UTC 2011


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: <Oxford Semiconductor OXPCIe952 UARTs> mem 0xf9dfc000-0xf9dfffff,0xfa000000-0xfa1fffff,0xf9e00000-0xf9ffffff irq 30 at device 0.0 on pci4

puc0 at 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 at byshenk.net  -  Leiden, NL


More information about the freebsd-stable mailing list