From owner-freebsd-bugs@FreeBSD.ORG Thu Jul 15 15:10:05 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46A23106567B for ; Thu, 15 Jul 2010 15:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 24DFD8FC1E for ; Thu, 15 Jul 2010 15:10:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o6FFA5EU091124 for ; Thu, 15 Jul 2010 15:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o6FFA5nJ091123; Thu, 15 Jul 2010 15:10:05 GMT (envelope-from gnats) Resent-Date: Thu, 15 Jul 2010 15:10:05 GMT Resent-Message-Id: <201007151510.o6FFA5nJ091123@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gene Stark Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78B7D106564A for ; Thu, 15 Jul 2010 15:08:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 6887E8FC14 for ; Thu, 15 Jul 2010 15:08:10 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o6FF8Auh037965 for ; Thu, 15 Jul 2010 15:08:10 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o6FF88pk037964; Thu, 15 Jul 2010 15:08:08 GMT (envelope-from nobody) Message-Id: <201007151508.o6FF88pk037964@www.freebsd.org> Date: Thu, 15 Jul 2010 15:08:08 GMT From: Gene Stark To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/148644: Vgetty play voice file fails with 8.0 RELEASE/uart works with 6.3/sio X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2010 15:10:05 -0000 >Number: 148644 >Category: misc >Synopsis: Vgetty play voice file fails with 8.0 RELEASE/uart works with 6.3/sio >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 15 15:10:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Gene Stark >Release: 8.0 >Organization: Stony Brook University >Environment: >Description: I attempted to upgrade from FreeBSD 6.3 to FreeBSD 8.0 release. In the process of doing so, I found that vgetty 0.9.32 from ports/comms/mgetty+sendfax (mgetty 1.1.35) no longer worked properly. Specifically, when it answers the phone in voice mode and attempts to play the greeting file, it plays correctly for a second or so, then lapses into garbled sound. The modem (US Robotics Sportster 33.6 Voice Faxmodem) becomes unresponsive and it is not possible to record an incoming message. I of course had to change cuad1 (sio driver) to cuau1 (uart driver) in the process of doing the upgrade. The failure mode to me appears like a data overrun on the channel from the computer to the modem, perhaps caused by a failure of hardware flow control in the uart driver. I did some amount of debugging to try to identify the problem. I didn't see any way to get debugging output from the uart driver, so I used ktrace on vgetty. It reaches the point where it is playing the voice data, outputs the data to the modem via several write calls that send 800 bytes at a time, and reports the total amount of voice data transmitted. At the point where it expects a reply from the modem, it does not get one. Presumably this is because the modem has become confused by the data overrun. There is no other indication from the modem that something has gone wrong other than the garbled audio and the fact that it becomes unresponsive. This was the show-stopper for me. I am reverting to FreeBSD 6.3 for now. I attempted to compile an 8.0 kernel with the sio driver in and the uart driver, but it seems that this is not supported any more. So I can't offer information about whether simply changing back to the old driver solves the problem. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: