From owner-freebsd-questions@FreeBSD.ORG Thu May 10 07:09:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 256D116A402 for ; Thu, 10 May 2007 07:09:06 +0000 (UTC) (envelope-from neldredge@math.ucsd.edu) Received: from euclid.ucsd.edu (euclid.ucsd.edu [132.239.145.52]) by mx1.freebsd.org (Postfix) with ESMTP id 0881813C457 for ; Thu, 10 May 2007 07:09:06 +0000 (UTC) (envelope-from neldredge@math.ucsd.edu) Received: from zeno.ucsd.edu (zeno.ucsd.edu [132.239.145.22]) by euclid.ucsd.edu (8.11.7p3+Sun/8.11.7) with ESMTP id l4A6iWH10769 for ; Wed, 9 May 2007 23:44:32 -0700 (PDT) Received: from localhost (neldredg@localhost) by zeno.ucsd.edu (8.11.7p3+Sun/8.11.7) with ESMTP id l4A6iWu16403 for ; Wed, 9 May 2007 23:44:32 -0700 (PDT) X-Authentication-Warning: zeno.ucsd.edu: neldredg owned process doing -bs Date: Wed, 9 May 2007 23:44:32 -0700 (PDT) From: Nate Eldredge X-X-Sender: neldredg@zeno.ucsd.edu To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Machine freezes on modem ring X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2007 07:09:06 -0000 Hi all, I have an odd problem with my FreeBSD box. I have an external serial modem connected, and whenever the phone rings, the system freezes momentarily. No mouse movement, etc. To diagnose it, I wrote a program that calls gettimeofday continuously, and when the phone rings there is about a 2 second interval between loops. This corresponds roughly to the time of each ring. It is certainly related to the serial modem because disconnecting the modem from the phone line fixes it. The modem works fine otherwise. There is no process listening on that port when I do this. (faxgetty from hylafax was there, but I took it out of /etc/ttys, init q, and the behavior persists.) Therefore it is either a kernel or a hardware problem. I could try booting another OS to see if that's affected as well, but I'd rather not take this box down. The machine is a single-cpu Opteron running 6.2-RELEASE/amd64. The modem is a generic external serial type and is connected to a serial port on the motherboard. There are two ports and the problem appears with the modem connected to either one. Jan 5 14:55:49 vulcan kernel: sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 Jan 5 14:55:49 vulcan kernel: sio0: type 16550A Jan 5 14:55:49 vulcan kernel: sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 Jan 5 14:55:49 vulcan kernel: sio1: type 16550A The "flags 0x10" for sio0 which was for a serial console setup appears irrelevant, since the problem arises on sio1 as well. Just curious if anyone knows what this could be. If not, I'll investigate further. Thanks in advance for any ideas. A personal CC is appreciated on replies, though I read the list as well. -- Nate Eldredge neldredge@math.ucsd.edu