kern/86763: kernel: ucom0: ucomwritecb: IOERROR
Aleksey Shirokih
shirokih at olc.ru
Fri Sep 30 08:30:20 PDT 2005
>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 at 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:
More information about the freebsd-bugs
mailing list