public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: "Sébastien Dugué" <sebastien.dugue@bull.net>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	"Linus Torvalds" <torvalds@linux-foundation.org>
Subject: Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console
Date: Tue, 24 Jul 2007 13:49:55 -0400	[thread overview]
Message-ID: <46A63BC3.3050208@garzik.org> (raw)
In-Reply-To: <200707240948.45916.bjorn.helgaas@hp.com>

Bjorn Helgaas wrote:
> On Tuesday 24 July 2007 08:28:05 am Sébastien Dugué wrote:
>>  your commit 7e92b4fc345f5b6f57585fbe5ffdb0f24d7c9b26 broke the serial console
>> on my box. Adding 'legacy_serial.force=1' to my boot param as a workaround
>> solves the issue, but this may be hiding bugs in Linux PnP support or
>> in my firmware.
> 
> Thanks for your report.  We need to figure out why the 8250_pnp driver
> didn't find your serial console device.  Can you confirm that you also
> have CONFIG_ACPI and CONFIG_PNPACPI in your .config?
> 
> If you have those, and it still doesn't work, can you collect the DSDT
> dump, the output of "grep . /sys/bus/pnp/devices/*/*", and the dmesg
> from your "legacy_serial.force=1" boot?  Then we can tell which port
> the blind probe finds and whether it's described somewhere by ACPI.

hrm...

     x86, serial: convert legacy COM ports to platform devices

     Make x86 COM ports into platform devices and don't probe for them
     if we have PNP.

This seems like it will break decades-long-working stuff, in favor of 
breaking new ground in our favorite area, "trusting the BIOS."

It's just not worth it for serial ports, IMO.  Serial ports are 
something that just shouldn't break at this late stage in the game.  My 
new Intel platform boxes don't even have serial ports, so I question the 
value of messing with serial port probing even more... because... just 
wait a year, and your box won't have a serial port either!  :)

I certainly don't object to the use of platform devices (or isa_driver), 
but the probe change seems questionable.  That's sorta analagous to 
rewriting the floppy driver probe routine.  Sure you could do it... but 
why risk all that damage and go through debugging all over again?

It seems clear from this report that we cannot, should not, trust BIOS 
for something (a) so simple and (b) that has been working for over a decade.

	Jeff



  reply	other threads:[~2007-07-24 17:50 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24 14:28 commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console Sébastien Dugué
2007-07-24 15:48 ` Bjorn Helgaas
2007-07-24 17:49   ` Jeff Garzik [this message]
2007-07-24 18:09     ` Andrew Morton
2007-07-24 19:07       ` Jeff Garzik
2007-07-24 18:17     ` Maciej W. Rozycki
2007-07-24 19:53       ` Bjorn Helgaas
2007-07-24 20:13         ` Jeff Garzik
2007-07-24 20:33           ` Yinghai Lu
2007-07-25  2:34             ` Bjorn Helgaas
2007-07-25  4:27               ` Yinghai Lu
2007-07-25 12:55                 ` Bjorn Helgaas
2007-07-25 15:57                   ` Yinghai Lu
2007-07-25 16:11                     ` Bjorn Helgaas
2007-07-25 16:45                       ` Yinghai Lu
2007-07-24 20:34           ` Bjorn Helgaas
2007-07-24 20:40             ` Jeff Garzik
2007-07-24 20:56               ` Bjorn Helgaas
2007-07-24 21:05                 ` Jeff Garzik
2007-07-24 22:07                   ` Alan Cox
     [not found]                     ` <p73ir88sax1.fsf@bingen.suse.de>
2007-07-25 15:48                       ` Alan Cox
2007-07-25 16:06                         ` Bjorn Helgaas
2007-07-25 16:47                           ` Jeff Garzik
2007-07-25 17:34                             ` Alan Cox
2007-07-25 17:38                           ` Alan Cox
2007-07-24 22:06                 ` Alan Cox
2007-07-25  7:45   ` Sébastien Dugué
2007-07-25 13:16     ` Bjorn Helgaas
2007-07-25 13:32       ` Sébastien Dugué
2007-07-25 13:38         ` Sébastien Dugué
2007-07-25 22:41         ` Bjorn Helgaas
2007-07-26  0:37           ` Yinghai Lu
2007-07-26  1:35             ` Yinghai Lu
2007-07-26  2:21             ` Shaohua Li
2007-07-26  3:33               ` Bjorn Helgaas
2007-07-27 18:16               ` Bjorn Helgaas
2007-07-27 18:38                 ` Yinghai Lu
2007-07-27 18:56                   ` Bjorn Helgaas
2007-07-27 20:35                     ` Yinghai Lu
2007-07-27 20:58                       ` Bjorn Helgaas
2007-07-27 21:05                         ` Jeff Garzik
2007-07-27 21:53                           ` Kay Sievers
2007-07-29 17:21                           ` Kyle Moffett
2007-07-29 18:03                 ` Russell King
2007-07-26  8:08           ` Sébastien Dugué
2007-07-25 15:51       ` Yinghai Lu
  -- strict thread matches above, loose matches on Subject: below --
2007-07-22 21:04 Linus 2.6.23-rc1 Linus Torvalds
2007-07-23 18:38 ` 2.6.23-rc1: BUG_ON in kmap_atomic_prot() Alexey Dobriyan
2007-07-23 19:01   ` Alexey Dobriyan
2007-07-23 20:24     ` Andrew Morton
2007-07-23 20:40       ` Alexey Dobriyan
2007-07-23 21:01         ` Alexey Dobriyan
2007-07-23 21:11           ` Andrew Morton
2007-07-23 21:28             ` Linus Torvalds
2007-07-24 17:59               ` Adrian Bunk
2007-07-24 18:14                 ` Linus Torvalds
2007-07-26  6:09                   ` commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46A63BC3.3050208@garzik.org \
    --to=jeff@garzik.org \
    --cc=akpm@linux-foundation.org \
    --cc=bjorn.helgaas@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sebastien.dugue@bull.net \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox