From owner-freebsd-bugs Thu Apr 17 12:00:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA27807 for bugs-outgoing; Thu, 17 Apr 1997 12:00:10 -0700 (PDT) Received: from apollo.it.hq.nasa.gov (apollo.it.hq.nasa.gov [131.182.119.87]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA27800 for ; Thu, 17 Apr 1997 12:00:05 -0700 (PDT) Received: from wirehead.it.hq.nasa.gov (WireHead.it.hq.nasa.gov [131.182.119.88]) by apollo.it.hq.nasa.gov (8.8.3/8.8.3) with ESMTP id OAA22668 for ; Thu, 17 Apr 1997 14:57:07 -0400 (EDT) Received: from localhost (cshenton@localhost) by wirehead.it.hq.nasa.gov (8.6.12/8.6.12) with ESMTP id TAA04678 for ; Thu, 17 Apr 1997 19:00:03 GMT Message-Id: <199704171900.TAA04678@wirehead.it.hq.nasa.gov> X-Authentication-Warning: wirehead.it.hq.nasa.gov: cshenton owned process doing -bs To: bugs@freebsd.org Subject: Forward: Re: 2.2.1-R crash with looped serial gettys Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Apr_17_14:58:35_1997)--" X-Mailer: Mew version 1.03 on Emacs 19.34.2 Date: Thu, 17 Apr 1997 15:00:02 -0400 From: Chris Shenton Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk ----Next_Part(Thu_Apr_17_14:58:35_1997)-- Content-Type: Text/Plain; charset=us-ascii Bruce says I should have reported this here. Usually the failure is my fault, not FreeBSD's, so I hesitate to bother you folks first. Thanks. ----Next_Part(Thu_Apr_17_14:58:35_1997)-- Content-Type: Message/rfc822 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by apollo.it.hq.nasa.gov (8.8.3/8.8.3) with ESMTP id OAA22556 for ; Thu, 17 Apr 1997 14:21:56 -0400 (EDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id EAA09021; Fri, 18 Apr 1997 04:22:51 +1000 Date: Fri, 18 Apr 1997 04:22:51 +1000 From: Bruce Evans Message-Id: <199704171822.EAA09021@godzilla.zeta.org.au> To: cshenton@it.hq.nasa.gov, hackers@FreeBSD.ORG Subject: Re: 2.2.1-R crash with looped serial gettys >I've built a little box for pppd/mpd and routing out of a 486sx33 and >a whopping 8MB RAM; seems to mostly run fine with 2.2.1-RELEASE. It's >a fairly minimal install (Kernel User option I think) and I rebuilt >the kernel to fit the hardware. I've added a dual 16550A serial port >card to which I'll connect a pair of modems. I have getty running on >the ports, cuaa1 and cuaa2. > >PROBLEM: > >If I connect a null-modem cable between the ports, the system crashes >within a couple seconds. It's repeatable. > >It leaves no message in /var/log/messages, or dmesg, and there's no >core file. > >I presume looping the serial gettys is causing them to scream at each >other "Login:"; "Invalid Login:"; no *you* login; dammit, `login' is >not a valid login... and consumes too many resources. 4 problems: 1. Yes there is a getty war (actually probably a login war) that consumes too many resources (at 115200 bps, about 100% of a 486/33 for echoing and receiving echoes alone according to my estimates. On a 486SX/33 it is unlikely that the system runs any cycles in user mode once the war starts. 57600 bps might work). 2. There is a timeout leak in siopoll(). Oops. This causes a panic instead of a hang. With this fixed, the hang is fixable by unplugging the cable. 3. You should have seen a panic message about (2). 4. This problem should have been reported to freebsd-bugs :-). Bruce ----Next_Part(Thu_Apr_17_14:58:35_1997)----