Re: [BUG] NULL pointer dereference in uart_write_room().

From: Ben Greear
Date: Tue May 06 2008 - 12:28:27 EST


Alan Cox wrote:
(5) uart_remove_one_port() is called by serial8250_register_port()
since ttyS0 is already in use but it is requested to be once removed.

That means 8250_pnp is taking over and then trying to delete the console,
so its breakage in the serial layer glue. Perhaps Russell has some ideas
as its hard to tell what he intended to happen originally.
For what it's worth, I've been seeing this problem since about 2.6.23 on several
different systems, and will be happy to test patches. The work-around of changing
the .config file will be fine in the meantime, it seems.

Thanks,
Ben

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


--
Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com


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