Re: KDB blindly reads keyboard port

From: Bjorn Helgaas
Date: Wed Sep 27 2006 - 18:11:26 EST


On Tuesday 26 September 2006 20:45, Keith Owens wrote:
> No support for legacy I/O ports could be a bigger problem than just
> KDB.

On Itanium (and I suppose on x86), ACPI theoretically tells us enough
that we don't need to assume any legacy resources. Of course, Linux
doesn't listen to everything ACPI is trying to tell it. But that's
a Linux deficiency we should remedy.

> To fix just KDB, apply this patch over kdb-v4.4-2.6.18-common-1 and
> add 'kdb_skip_keyboard' to the boot command line on the offending
> hardware.

This doesn't feel like the right solution. Since firmware tells us
whether the device is present, I think we should rely on that. If
you want to use the device before ACPI is initialized, *then* you
should pass a "kdb_use_keyboard" sort of flag.

Bjorn
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/