Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933745AbcKDAZu (ORCPT ); Thu, 3 Nov 2016 20:25:50 -0400 Received: from mail-vk0-f47.google.com ([209.85.213.47]:34051 "EHLO mail-vk0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933372AbcKDAZt (ORCPT ); Thu, 3 Nov 2016 20:25:49 -0400 MIME-Version: 1.0 In-Reply-To: <20161102152951.GA107664@stormcage.americas.sgi.com> References: <20161020201051.GA29324@gofer.mess.org> <49f038af-5cb7-e76f-e4e9-57fad876710d@sgi.com> <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> From: Peter Hurley Date: Thu, 3 Nov 2016 18:25:46 -0600 Message-ID: Subject: Re: console issue since 3.6, console=ttyS1 hangs To: Nathan Zimmer Cc: Sean Young , Linux kernel mailing list , "linux-serial@vger.kernel.org" , Greg Kroah-Hartman , Alan Cox , "Rafael J. Wysocki" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2496 Lines: 61 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. Note that you have the serial port disabled in BIOS; that's why you're getting the probe error for PNP. Regards, Peter Hurley