From owner-freebsd-questions Wed Nov 20 19:18:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5759D37B401 for ; Wed, 20 Nov 2002 19:18:09 -0800 (PST) Received: from ngts.kuzbass.net (ll145-217.nvkz.net [212.164.217.145]) by mx1.FreeBSD.org (Postfix) with SMTP id 6DEF543E42 for ; Wed, 20 Nov 2002 19:18:05 -0800 (PST) (envelope-from dm@ngts.kuzbass.net) Received: (qmail 54945 invoked from network); 21 Nov 2002 03:17:51 -0000 Received: from unknown (HELO 195.151.64.158) (195.151.64.158) by 195.151.64.145 with SMTP; 21 Nov 2002 03:17:50 -0000 Date: Thu, 21 Nov 2002 10:17:36 +0700 From: Dmitry Martynov X-Mailer: The Bat! (v1.51) Reply-To: Dmitry Martynov Organization: NGTS X-Priority: 3 (Normal) Message-ID: <22259251731.20021121101736@ngts.kuzbass.net> To: freebsd-questions@FreeBSD.ORG Subject: z-modem bug MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Good day to all! Please hepl to solve unusual error. I have a Fidonet node on my PC. When a remote modem caller connects to my side my modem is hanging up after or while EMSI handshake is running and reports with these words to /var/log/messages: Nov 20 23:44:09 node8 ifcico[28293]: errno=9 : Bad file descriptor Nov 20 23:44:09 node8 ifcico[28293]: unable to set raw mode ... or Nov 21 01:04:09 node8 ifcico[29731]: cannot open tmp file for bsy lock/var/spool/ifmail/outb.019/aa29731" Nov 21 01:04:09 node8 ifcico[29731]: errno=9 : Bad file descriptor Nov 21 01:04:10 node8 ifcico[29731]: tty_put status=0x01 (req 1053, wrote -1, fl 02) Nov 21 01:04:10 node8 ifcico[29731]: errno=9 : Bad file descriptor Nov 21 01:04:10 node8 ifcico[29731]: tty_put status=0x01 (req 1060, wrote -1, fl 02) ... Sometimes user connects successfully, but can't download files normally using z-modem protocol. The first 4 kbytes downloaded correctly, but all the other comes with crc errors and very low CPS. But all TCP/IP connections based on pppd on this computer is absolutely fine and works without any errors with highest CPS. The main and unusual fact is that after system rebooting all things begins to work absolutely correctly for 2-3 days. After 2-3 days bug comes again. It will stay until rebooting. What is done to kill the bug: 1. motherboard changed; 2. modem changed; 3. ifcico upgraded from 2.14 to 2.15; 4. FreeBSD upgraded from 3.11 to 4.2, to 4.5, to 4.7. 5. Filesystem checked. Now is running 4.7-STABLE. Thank you very much in advance. Good luck. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message