Re: [crash] NULL pointer dereference at IP: [<ffffffff812e9ccb>]uart_close+0x2a/0x1e4

From: Alan Cox
Date: Mon Oct 12 2009 - 09:06:37 EST


> BUG: unable to handle kernel NULL pointer dereference at 0000000000000240
> IP: [<ffffffff812ea215>] uart_close+0x24/0x1e5

Very odd indeed. Can you dump the value of

state (ie tty->driver_data)

and if state is non NULL

state->uart_port

in the crash case

and if state->uart_port is NULL then there is some head scratching
required
--
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/