From owner-freebsd-questions Fri Oct 4 22:54: 6 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 04D8D37B401 for ; Fri, 4 Oct 2002 22:54:05 -0700 (PDT) Received: from uqam.ca (anis.telecom.uqam.ca [132.208.250.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16E3743E4A for ; Fri, 4 Oct 2002 22:54:04 -0700 (PDT) (envelope-from bg591591@er.uqam.ca) Received: from anis.telecom.uqam.ca (anis.telecom.uqam.ca [132.208.250.6]) by sortant.uqam.ca (8.12.2/8.12.1) with SMTP id g955q0PP007857 for ; Sat, 5 Oct 2002 01:52:02 -0400 (EDT) Received: from antivirus.uqam.ca ([127.0.0.1]) by anis.telecom.uqam.ca (NAVGW 2.5.1.12) with SMTP id M2002100501520113479 for ; Sat, 05 Oct 2002 01:52:01 -0400 Received: from intrusion (nobel.si.uqam.ca [132.208.219.1]) by intrant.uqam.ca (8.12.2/8.12.1) with SMTP id g955p8jK007830 for ; Sat, 5 Oct 2002 01:51:10 -0400 (EDT) Message-ID: <010701c26c33$337a7330$011ea8c0@intrusion> From: "Tien Duc Nguyen" To: Subject: console on ttyd0 hangs freebsd Date: Sat, 5 Oct 2002 01:51:06 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 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 hi all, This problem has been nagging me for some time now and i have approched it from every possible angle. My setup: WTI serial switch with 16 RS-232 ports; 16 null modem-cable connecting each of these ports to the first serial port of my servers, all FreeBSD, from 4.3 release to 4.6 Stable/Release. My problem is that for certain servers (3 actually), if i enable console access on the serial (by editing /etc/ttys and adding the line for ttyd0 to: ttyd0 "/usr/libexec/getty std.9600" cons25 on secure), within 3-4 seconds, the OS freezes completely. This can be reproduced indefinitely. At first i thought it was related to the os; the problematic servers runs respectively: FreeBSD 4.4-REL, 4.5-REL and 4.6-STABLE. This can't be, the same (possible) bug in three different iteration of the os! Then I noticed that the sio messages on these 3 machines we're different from the one's where serial was working, namely this: sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 sio1: configured irq 3 not in bitmap of probed irqs 0 instead of this: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A So I figured, the culprit may be something related to the serial ports' irq. So I recompiled the kernel, changed the default irq of each sio to one that hopefully wasn't used by the system (after checking /var/run/dmesg.boot). But that stopped the kernel altogether, when detecting the ppc/lp devices. I'm pretty shure it's the irq; how can i change the irq of sio to some irq not used by the system? Tien Duc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message