[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel 2.6.24, binutils-2.18, and tftplilo on diskless MVME167.



On Thu, 13 Nov 2008, Kars de Jong wrote:
> On di, 2008-11-11 at 11:01 +0100, Geert Uytterhoeven wrote:
> > On Tue, 11 Nov 2008, Stephen N Chivers wrote:
> > > In the past few days I have attempted to get 2.6 kernels booting on my
> > > diskless MVME167 boards.
> > > I have tried several kernels, including:
> > > linux-image-2.6.26-1-mvme16x_2.6.26-9_m68k.deb.
> > > 
> > > I traced the "freeze" of the kernel to the 'BUG_ON' test in
> > > 'm68k_setup_user_interrupt' in file
> > > arch/m68k/ints.c:
> > > 
> > >       BUG_ON(IRQ_USER + cnt >= NR_IRQS);
> > > 
> > > Now, for the VME boards, IRQ_USER is 8, cnt is 192 and NR_IRQS is 200. So
> > > this test will
> > > trigger the BUG_ON action, and so the kernel appears to stop without
> > > logging any diagnostics.
> > 
> > Oops, that looks like an off-by-one error.  It has been introduced by commit
> > 69961c375288bdab7604e0bb1c8d22999bb8a347 ("[PATCH] m68k/Atari: Interrupt
> > updates").
> 
> Hm, no fair! I already reported this bug back in 2006, asking for
> feedback:
> 
> http://www.nabble.com/Re%3A-CVS-Update%3A-linux-tt6999670.html
> 
> ... but I never got any ;)

Bummer...

> By the way, I tested Linus' HEAD today (with your quilt patches, Geert)
> on my MVME167, it only needed the above fixed and it booted.

OK. Can I add your Tested-by? Then I'll forward it to Linus ASAP.

> I couldn't compile it with my old cross compiler (gcc version 4.1.3
> 20080623 (prerelease) (Debian 4.1.2-23)), it ICEed somewhere in
> net/sunrpc. 

Too bad... Still at 4.1.2...

> The new cross compiler I built after that (gcc version 4.3.2 (Debian
> 4.3.2-1)) had no problems with it.

Good!

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


Reply to: