From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 30 15:30:20 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C355916A424 for ; Fri, 30 Sep 2005 15:30:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CF0A43D4C for ; Fri, 30 Sep 2005 15:30:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8UFUJIB060774 for ; Fri, 30 Sep 2005 15:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8UFUJtq060771; Fri, 30 Sep 2005 15:30:19 GMT (envelope-from gnats) Resent-Date: Fri, 30 Sep 2005 15:30:19 GMT Resent-Message-Id: <200509301530.j8UFUJtq060771@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, Aleksey Shirokih Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B000716A41F for ; 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 ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/86763: kernel: ucom0: ucomwritecb: IOERROR X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Aleksey Shirokih List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2005 15:30:20 -0000 >Number: 86763 >Category: kern >Synopsis: kernel: ucom0: ucomwritecb: IOERROR >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 30 15:30:18 GMT 2005 >Closed-Date: >Last-Modified: >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: >Unformatted: