Unable to get SIIG PCI serial card to work

John Baldwin jhb at freebsd.org
Fri Mar 17 13:13:57 UTC 2006


On Friday 17 March 2006 03:40 am, Clayton Scott Kern wrote:
> on 03-16-2006, John Baldwin wrote:
> > On Thursday 16 March 2006 05:24 pm, Clayton Scott Kern wrote:
> > > on 03-16-2006, John Baldwin wrote:
> > > > Ok, can you get a dmesg from a boot with your custom kernel with puc
> > > > in it and the output from kldstat -v with that kernel booted?
> > >
> > > Here's the info you requested.  When not loading the puc module in
> > > /boot/loader.conf, the puc device isn't found, though pciconf -lv shows
> > > the device.  I added the output of pciconf -lv at the end.
> > >
> > > Output of dmesg
> > >
> > > Copyright (c) 1992-2005 The FreeBSD Project.
> > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
> > > 1994 The Regents of the University of California. All rights reserved.
> > > FreeBSD 6.0-RELEASE-p5 #0: Sat Mar 11 12:12:08 EST 2006
> > >     root at reddwarf.local:/usr/obj/usr/src/sys/GENERIC
> >
> > This kernel doesn't have 'device puc' in it.  If it did, it would have
> > the 'pci/puc' and 'puc/sio' modules listed in the kldstat -v output. 
> > Make sure you have built a custom kernel with 'device puc' enabled,
> > installed it, and are booting from it.
> >
> > > Output of kldstat -v
> > >
> > > Id Refs Address    Size     Name
> > >  1   11 0xc0400000 63072c   kernel
> > > 	Contains modules:
> > > 		Id Name
> > > 		26 xpt
> > > 		27 probe
> > > 		28 cam
> > >		...
> >
> > No puc this list tells me 'device puc' isn't in this kernel. :)
>
> Thank you for all your help.
>
> I thought I had built and installed the new kernel.  This time I did
> both and now dmesg shows:
>
> puc0: <Oxford Semiconductor OX16PCI954 UARTs> port
> 0x9000-0x901f,0x9400-0x941f mem 0xe30
> 04000-0xe3004fff,0xe3000000-0xe3000fff irq 16 at device 8.0 on pci0
> sio1: <Oxford Semiconductor OX16PCI954 UARTs> on puc0
> sio1: type 16550A
> sio1: unable to activate interrupt in fast mode - using normal mode
> sio2: <Oxford Semiconductor OX16PCI954 UARTs> on puc0
> sio2: type 16550A
> sio2: unable to activate interrupt in fast mode - using normal mode
> sio3: <Oxford Semiconductor OX16PCI954 UARTs> on puc0
> sio3: type 16550A
> sio3: unable to activate interrupt in fast mode - using normal mode
> sio4: <Oxford Semiconductor OX16PCI954 UARTs> on puc0
> sio4: type 16550A
> sio4: unable to activate interrupt in fast mode - using normal mode
>
> and kldstat -v | fgrep puc yields:
>
>                 174 pccard/puc
>                 175 pci/puc
>                 176 cardbus/puc
>                 187 puc/sio
>                 337 puc/ppc
>
> Now when I run tip using sio1 - sio4 (aliases for /dev/cuad1-4), I get a
> message saying connected, but when I press enter, instead of getting my
> firewall's menu, I get nothing.
>
> I rebooted the system into Windoze and it works fine using TerraTerm Pro.

You might need to play with stty to do things like -clocal or -crtscts
to get it to work.  stty -a < /dev/cuad1 will tell you what the current
settings are (IIRC).  Also, what speed are you using in TerraTerm?  9600?
Note that with cu you can specify the speed directly
(e.g. cu -l /dev/cuad1 -s 115200).

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-questions mailing list