Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760391AbcKDVdy (ORCPT ); Fri, 4 Nov 2016 17:33:54 -0400 Received: from relay3.sgi.com ([192.48.152.1]:45903 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1759308AbcKDVdv (ORCPT ); Fri, 4 Nov 2016 17:33:51 -0400 Date: Fri, 4 Nov 2016 16:33:48 -0500 From: Nathan Zimmer To: Peter Hurley Cc: Nathan Zimmer , Sean Young , Linux kernel mailing list , "linux-serial@vger.kernel.org" , Greg Kroah-Hartman , Alan Cox , "Rafael J. Wysocki" Subject: Re: console issue since 3.6, console=ttyS1 hangs Message-ID: <20161104213348.GA30383@stormcage.americas.sgi.com> References: <20161024135235.GA29984@gofer.mess.org> <20161024214925.GA143272@stormcage.americas.sgi.com> <20161025204139.GA22268@gofer.mess.org> <20161027201916.GA7718@gofer.mess.org> <20161031202706.GA10263@gofer.mess.org> <20161102152951.GA107664@stormcage.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3159 Lines: 74 On Thu, Nov 03, 2016 at 06:25:46PM -0600, Peter Hurley wrote: > On Wed, Nov 2, 2016 at 9:29 AM, Nathan Zimmer wrote: > > On Mon, Oct 31, 2016 at 08:55:49PM -0600, Peter Hurley wrote: > >> On Mon, Oct 31, 2016 at 2:27 PM, Sean Young wrote: > >> > On Sun, Oct 30, 2016 at 10:33:02AM -0500, Nathan wrote: > >> >> I think this should be PNP0501 instead of PNP0c02. > >> >> Once I alter that then when I boot the serial comes up on irq 3. However it > >> >> still hangs. > >> >> I'll keep digging. > >> > > >> > Well that's that theory out of the window. I'm not sure where to look now, > >> > I would start by enabling as many as possible of the "kernel hacking" config > >> > options and see if anything gets caught. > >> > > >> > Looking at your earlier messages, you have a collection of percpu allocation > >> > failures. That might be worth resolving before anything else. > >> > >> Hi Nathan, > >> > >> Couple of questions: > >> 1. Was login over serial console setup and working on SLES 11? or was > >> the 'console=ttyS1' only for debug output? > >> I ask because console output doesn't use IRQs; iow, maybe the serial > >> port w/ driver never actually worked. > >> 2. Can you post dmesg for the SLES 11 setup? That would show if there > >> were probe errors even on that. > >> > >> An alternative that should be equivalent to your previous setup is to > >> build w/ CONFIG_SERIAL_8250_PNP=n > >> Seems like your ACPI BIOS is buggy, but also that something else is using IRQ 3? > >> > >> Regards, > >> Peter Hurley > > > > > > > > 1) Yes I can confirm I used it to login sometimes. > > > > I built with CONFIG_SERIAL_8250_PNP=n and that seemed to work better, in that the system did not hang. > > However I couldn't login on the serial and got these error messages, I suspect I broke something while trying different permutations. > > > > gdm[5206]: WARNING: GdmDisplay: display lasted 0.136636 seconds > > gdm[5206]: WARNING: GdmDisplay: display lasted 0.180955 seconds > > gdm[5206]: WARNING: GdmDisplay: display lasted 0.161415 seconds > > gdm[5206]: WARNING: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors > > > > It did boot all the way though. > > > > 2) attached log > > So I'm confused where this leaves us. > > In your OP, you claim to have gotten it working with a partial revert > of commit 835d844d1a28 (but you didn't attach the partial revert so no > one knows what you did); however, my suggestion should have been > equivalent. I apologize, if I was unclear. Your suggestion of CONFIG_SERIAL_8250_PNP=n did successfully boot and provide messages across the console, and yes is basically equivelent to the revert. Those warnings I just noticed in the dmesg and they weren't there before. > > Note that you have the serial port disabled in BIOS; that's why you're > getting the probe error for PNP. > > Regards, > Peter Hurley Now when you say its diabled in bios, how can I be sure and double check that? These bios screens do not have any mention of PNP settings. I am getting output over the console (via ipmi) until the boot hangs. Nate