Re: 2.5.26 broken on headless boxes

From: William Lee Irwin III (wli@holomorphy.com)
Date: Thu Jul 18 2002 - 15:37:03 EST


On Thu, Jul 18, 2002 at 01:18:57PM -0700, William Lee Irwin III wrote:
>> This is the 4th one of these I've seen in the last two days. Any chance
>> of being able to compile with -g and get an addr2line on the EIP? I've
>> tried to reproduce it myself, but haven't gotten it to happen yet.

On Thu, Jul 18, 2002 at 09:32:08PM +0100, Matthew Wilcox wrote:
> seems fairly obvious what's happening with a couple of printks...
> printk("visual_init: sw = %p, conswitchp = %p, currcons = %d, init = %d\n",
> sw, conswitchp, currcons, init);
> gets me the interesting fact that sw & conswitchp are both NULL.
> later on, we call:
> sw->con_init(vc_cons[currcons].d, init);
> which seems like it would be the exact cause, no?

Ugh, I should have been able to see this somehow...

On Thu, Jul 18, 2002 at 09:32:08PM +0100, Matthew Wilcox wrote:
> now whether putting a:
> if (!sw)
> return;
> call into visual_init or whether we should determine earlier never to
> call visual_init, I don't know. The people who know about the console
> have been conspicuously silent so far...

To heck with waiting for them, if you can't boot because of it, I'd say
push the patch.

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



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:28 EST