Re: crash on CONFIG_CFAG12864B=y in 2.6.20-rc3-mm1

From: Miguel Ojeda
Date: Thu Feb 01 2007 - 12:40:00 EST


On 2/1/07, Daniel Walker <dwalker@xxxxxxxxxx> wrote:
On Thu, 2007-02-01 at 18:13 +0100, Miguel Ojeda wrote:

> >
> >
>
> Well, I use the word "module" for both cases: When I modprobe
> cfag12864b, if ks0108 fails, it doesn't get linked. So I thought the
> same happen for built-in drivers (in other words, I didn't think
> cfag12864b would be linked if ks0108 failed).
>
> So I'm waiting until someone tell me what is the right way to avoid
> drivers like cfag12864b been inited if their dependencies failed.
>
> Anyway, thanks for discovering the bug (I wouldn't have discovered it
> as my motherboard has parallel port ;).

I have a parallel port, but I don't have the cfag12864b or ks0108 .. I

In fact, you don't need the cfag12864b display, as the driver just
needs the parallel port for output (you can put some LEDs attached to
the parallel port to check the driver's operations and it will be
fine).

BTW, why ks0108 didn't find the 888 parallel port? Haven't you got such number?

think the simplest way to fix it would be to add a flag to ks0108 that
signals successful initialization , then force cfag12864b to check for
that ..

Sure, that won't be a problem; however, maybe there is other better way (?).


I found this by booting a make allyesconfig kernel ..

Daniel



Miguel

--
Miguel Ojeda
http://maxextreme.googlepages.com/index.htm
-
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/