Re: 2.6.3-rc3 serial console woes

From: Keith Owens
Date: Mon Feb 16 2004 - 18:28:35 EST


On Tue, 17 Feb 2004 08:05:54 +1100,
Keith Owens <kaos@xxxxxxx> wrote:
>On Mon, 16 Feb 2004 12:07:56 -0700,
>Bjorn Helgaas <bjorn.helgaas@xxxxxx> wrote:
>>Hmm.... I suspect the problem is that serial8250_isa_init_ports()
>>doesn't initialize port->type for the ports in SERIAL_PORT_DFNS,
>>so we fail the console setup.
>>===== drivers/serial/8250.c 1.44 vs edited =====
>>--- 1.44/drivers/serial/8250.c Fri Feb 13 08:19:33 2004
>>+++ edited/drivers/serial/8250.c Mon Feb 16 12:03:06 2004
>>@@ -1976,7 +1976,7 @@
>> if (co->index >= UART_NR)
>> co->index = 0;
>> port = &serial8250_ports[co->index].port;
>>- if (port->type == PORT_UNKNOWN)
>>+ if (!port->ops)
>> return -ENODEV;
>>
>> /*
>
>Works for me on i386.

Spoke too soon. That one line patch makes the serial console available
early in boot. But as soon as /sbin/init runs, the console is
gibberish due to a speed mismatch. Completely reverting

http://linux.bkbits.net:8080/linux-2.5/cset@xxxxxx?nav=index.html|ChangeSet@-7d

works fine. Since this is a -rc kernel, can we revert the cset until
it is fixed?

-
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/