From owner-freebsd-stable@FreeBSD.ORG Thu Jul 21 08:57:01 2005 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 705A316A420; Thu, 21 Jul 2005 08:57:01 +0000 (GMT) (envelope-from ltning@anduin.net) Received: from anduin.net (anduin.net [212.12.46.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12D7B43D48; Thu, 21 Jul 2005 08:57:00 +0000 (GMT) (envelope-from ltning@anduin.net) Received: from eirik.unicore.no ([213.225.74.166] helo=[10.0.16.10]) by anduin.net with esmtpa (Exim 4.50 (FreeBSD)) id 1DvWrT-0004eY-83; Thu, 21 Jul 2005 10:56:59 +0200 In-Reply-To: <20050721050048.GU22430@xor.obsecurity.org> References: <20050721050048.GU22430@xor.obsecurity.org> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <00DD4399-4317-4579-82C4-5B64AC3F800B@anduin.net> Content-Transfer-Encoding: 7bit From: =?ISO-8859-1?Q?Eirik_=D8verby?= Date: Thu, 21 Jul 2005 10:56:54 +0200 To: Kris Kennaway X-Mailer: Apple Mail (2.733) Cc: stable@FreeBSD.org, Robert Watson Subject: Re: Serious issue with serial console in 5.4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 08:57:01 -0000 On Jul 21, 2005, at 7:00 AM, Kris Kennaway wrote: > On Mon, Jul 18, 2005 at 11:58:54AM +0200, Eirik ?verby wrote: > >> Hi, >> >> I reported this before, but I am very surprised that it is still the >> case: >> >> (This is from the last time it happened; this time the box rebooted >> and cleared the serial console before I had time to cut/paste it. >> >>> Fatal trap 12: page fault while in kernel mode >>> cpuid = 1; apic id = 00 >>> fault virtual address = 0x1c >>> fault code = supervisor write, page not present >>> instruction pointer = 0x8:0xc0620b5f >>> stack pointer = 0x10:0xdadbd988 >>> frame pointer = 0x10:0xdadbd994 >>> code segment = base 0x0, limit 0xfffff, type 0x1b >>> = DPL 0, pres 1, def32 1, gran 1 >>> processor eflags = interrupt enabled, resume, IOPL = 0 >>> current process = 51999 (getty) >>> trap number = 12 >>> panic: page fault >>> cpuid = 1 >>> boot() called on cpu#0 >>> Uptime: 66d11h24m50s >>> >> >> The above panic will show up occasionally when logging out from a >> serial console (i.e. ctrl-D, logout, exit, whatever). This is >> EXTREMELY BAD, as it will crash an otherwise perfectly healthy box at >> random - and renders the serial console useless. >> >> Robert Watson confirmed this to be an issue on the 10th of April. >> >> Anyone?? >> > > You might have to wait until 6.0-R since fixing it seems to require > infrastructure changes that cannot easily be backported to 5.x. With all due respect - if this is (and I'm assuming it is, because it happens on all the servers I'm serial-controlling) an omnipresent problem on 5.x, I daresay it should warrant some more attention. Having unsafe serial terminal support that can bring down your system like that defies much of the point of having serial terminal support in the first place. However, since I seem to be the only one who has noticed this, perhaps I'm the last person on earth to routinely use serial terminal switches instead of KVM switches to do my admin work? /Eirik > > Kris >