From root@game.olc.ru  Fri Sep 30 15:22:34 2005
Return-Path: <root@game.olc.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B000716A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 30 Sep 2005 15:22:34 +0000 (GMT)
	(envelope-from root@game.olc.ru)
Received: from mx.olc.ru (mx.olc.ru [212.17.18.162])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 11F1443D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 30 Sep 2005 15:22:33 +0000 (GMT)
	(envelope-from root@game.olc.ru)
Received: by mx.olc.ru (Postfix, from userid 1005)
	id 10B21163AEE; Fri, 30 Sep 2005 22:22:32 +0700 (NOVST)
Received: from game.olc.ru (unknown [212.17.18.163])
	by mx.olc.ru (Postfix) with ESMTP id AEB9C163ABE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 30 Sep 2005 22:22:27 +0700 (NOVST)
Received: from game.olc.ru (localhost [127.0.0.1])
	by game.olc.ru (8.13.3/8.13.1) with ESMTP id j8UFJeaQ002763
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 30 Sep 2005 22:19:40 +0700 (NOVST)
	(envelope-from root@game.olc.ru)
Received: (from root@localhost)
	by game.olc.ru (8.13.3/8.13.1/Submit) id j8UFJYGN002762;
	Fri, 30 Sep 2005 22:19:34 +0700 (NOVST)
	(envelope-from root)
Message-Id: <200509301519.j8UFJYGN002762@game.olc.ru>
Date: Fri, 30 Sep 2005 22:19:34 +0700 (NOVST)
From: Aleksey Shirokih <shirokih@olc.ru>
Reply-To: Aleksey Shirokih <shirokih@olc.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: kernel: ucom0: ucomwritecb: IOERROR
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         86763
>Category:       kern
>Synopsis:       [ucom] kernel: ucom0: ucomwritecb: IOERROR
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 30 15:30:18 GMT 2005
>Closed-Date:    Sat Feb 12 16:37:19 UTC 2011
>Last-Modified:  Sat Feb 12 16:37:19 UTC 2011
>Originator:     Aleksey Shirokih
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
olc.ru
>Environment:
System: FreeBSD game.olc.ru 5.4-STABLE FreeBSD 5.4-STABLE #2: Tue May 31 17:22:37 NOVST 2005 root@game.olc.ru:/usr/src/sys/i386/compile/game i386


	
>Description:
	I try to configure dialin server on 2 modems. Modems is Acorp 56 EMS and NPRO 2814. They have only RS-232 ports, but server have only USB ports. so they connected throw a converter rs 232 -> usb. While user connecting thare all seems to be allright, but after connect I've constantly got an error "kernel: ucom0: ucomwritecb: IOERROR". IMHO on every packet getted. 
Configuration of the server: pppd+mgetty

cat /etc/ttys|grep mgetty
ucom0	"/usr/local/sbin/mgetty"	unknown on insecure
ucom1	"/usr/local/sbin/mgetty"	unknown on insecure

ps aux|grep mgetty
root   2504  0.0  0.2  1412   968  ??  I     9:49PM   0:00.00 /usr/local/sbin/mgetty ucom0
root   2622  0.0  0.2  1412  1068  ??  DE   10:04PM   0:00.01 /usr/local/sbin/mgetty ucom1

cat /usr/local/etc/mgetty+sendfax/mgetty.config
port ucom0
debug 4
fax-id 00 00 000000
speed 38400
direct NO
blocking NO
port-owner uucp
port-group uucp
port-mode 0660
toggle-dtr YES
toggle-dtr-waittime 500
data-only YES
fax-only NO
modem-type auto
init-chat "" ATS0=0Q0&D3&C1 OK
modem-check-time 3600
rings 5
answer-chat "" ATA CONNECT \c \r
answer-chat-timeout 80
autobauding NO
ringback NO
ringback-time 30
ignore-carrier false
issue-file /etc/issue
prompt-waittime 500
login-prompt @!login:
login-time 240
diskspace 1024
notify faxadmin
fax-owner uucp
fax-group modem
fax-mode 0660
...
config of the second port cutted (they are similar)

cat /etc/ppp/pppd.conf

default:
	enable pap chap chap81
	enable proxy
	set ifaddr 192.168.1.17 192.168.1.30-192.168.1.40
	accept dns

cat /usr/local/etc/mgetty+sendfax/login.config
/AutoPPP/ -     a_ppp   /etc/ppp/ppp.login

cat /etc/ppp/ppp.login
 
#!/bin/sh
/usr/sbin/pppd auth require-chap refuse-pap debug

cat /usr/src/sys/i386/conf/game|grep -v "#"
cpu             I686_CPU
device          ata
device          isa
device          npx
device          pci
device          ppc
device          sc
device          ucom
device          uplcom
ident           game
machine         i386
options         COMPAT_LINUX
options         LINPROCFS

Seems to be all. If I miss somesing sorry. 

>How-To-Repeat:
	After user connects. Continiusly. 
	ping user_ip and messages on console seems to be writen at a similar time. 
	user usualy connects at 14400/LAP-M and cant connect to outworld 
		
>Fix:

	dont know how to fix. search google finds only similar question
	http://groups.yahoo.com/group/usb-bsd/message/1585

>Release-Note:
>Audit-Trail:

From: Pavel Argentov <argentoff@rtelekom.ru>
To: bug-followup@freebsd.org,
 shirokih@olc.ru
Cc:  
Subject: Re: kern/86763: [ucom] kernel: ucom0: ucomwritecb: IOERROR
Date: Sun, 4 Feb 2007 18:37:39 +0300

 Hi there.
 
 I've got absolutely the same thing under 6.2-RELEASE. Modem is Zyxel Omni 56k 
 uno; the bug shows up under heavy modem load.
 
 -- 
 SY, Paul.
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Fri Dec 31 08:19:45 UTC 2010 
State-Changed-Why:  
Do you still see this on 8.x? 


Responsible-Changed-From-To: freebsd-bugs->jh 
Responsible-Changed-By: jh 
Responsible-Changed-When: Fri Dec 31 08:19:45 UTC 2010 
Responsible-Changed-Why:  
Track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86763 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Sat Feb 12 16:37:16 UTC 2011 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86763 
>Unformatted:
