Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2006 08:11:50 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Clayton Scott Kern <ckern1@twcny.rr.com>
Cc:        freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org
Subject:   Re: Unable to get SIIG PCI serial card to work
Message-ID:  <200603170811.51962.jhb@freebsd.org>
In-Reply-To: <20060317084023.GA731@reddwarf.local>
References:  <20060316184128.GA12770@reddwarf.local> <200603162158.02027.jhb@freebsd.org> <20060317084023.GA731@reddwarf.local>

next in thread | previous in thread | raw e-mail | index | archive | help
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 sho=
ws
> > > 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@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.=20
> > 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).

=2D-=20
John Baldwin <jhb@FreeBSD.org> =A0<>< =A0http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603170811.51962.jhb>