From owner-freebsd-stable@FreeBSD.ORG Thu Nov 19 14:27:30 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64CDE106578E for ; Thu, 19 Nov 2009 14:27:30 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2793C8FC0C for ; Thu, 19 Nov 2009 14:27:30 +0000 (UTC) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id nAJERSl6095906; Thu, 19 Nov 2009 09:27:28 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200911191427.nAJERSl6095906@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 19 Nov 2009 09:27:36 -0500 To: Karl Denninger , freebsd-stable@freebsd.org From: Mike Tancsa In-Reply-To: <4B0552B2.2020000@denninger.net> References: <4B0552B2.2020000@denninger.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: V8.x-PRE2 Serious PUC problem - Heads Up! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 14:27:30 -0000 At 09:14 AM 11/19/2009, Karl Denninger wrote: >Mike Tancsa wrote: > > At 09:00 AM 11/19/2009, Karl Denninger wrote: > >> Well ok then the uart driver is BROKEN. > >> > >> It simply locks up on the port after some period of time, returning > >> nothing. I have found no way to reset the port other than a reboot > >> either. That's a "surprise" that people running fax servers and other > >> similar things are going to be very unhappy about. > > > > Which serial card are you using ? I have a number of PCI cards (lava > > for example) that are working quite well with the puc and uart driver > > combo. Perhaps you could post some details about the hardware used > > thats having issues. > > > > ---Mike >puc0: port >0x4060-0x407f,0x4040-0x405f mem >0x94503000-0x94503fff,0x94502000-0x94502fff irq 16 at device 0.0 on pci3 >puc0: [FILTER] >uart2: <16550 or compatible> on puc0 >uart2: [FILTER] >uart3: <16550 or compatible> on puc0 >uart3: [FILTER] >uart4: <16550 or compatible> on puc0 >uart4: [FILTER] >uart5: <16550 or compatible> on puc0 >uart5: [FILTER] > >It's a generic board with four ports sitting on the PCI bus. Nothing If you serial app is low speed (e.g 9600), try adding hint.uart.2.flags="0x100" hint.uart.3.flags="0x100" hint.uart.4.flags="0x100" hint.uart.5.flags="0x100" to /boot/device.hints and reboot ---Mike >special, no smarts, just four 16550 uarts. Port "0" is on the >motherboard and I am using that to talk to my NMEA clock (using PPS, >which is working). I also am using one of the "troubled" ports to talk >to an APC UPS, again, without problems. > >Trivial and reasonably-trivial applications work fine on the uart/puc >combination. Hylafax requires correct modem control that is FLAWLESS or >it WILL blow up. This is an area where smart cards have in the past run >into driver trouble (going back years; I have lots of experience with >driver issues on so-called "smart" cards going back more than a decade >in this sort of application!) and now, it appears that sickness has >translated into the UART driver as well. > >The system in question sends hundreds of faxes a day and any sort of >squirrelly driver problems in the serial subsystem show up almost >instantly (I updated to RC2 on that machine last night and it took less >than an hour for the modems to wedge this morning.) > >I tried to flip back to sio() as the driver in GENERIC and it appears >that can't be done, or I'm missing some interdependency somewhere (doing >so throws all sorts of errors related to the include files) > >-- Karl > > > > >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike