lkml.org 
[lkml]   [2009]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.6.30.2: does not boot


On Mon, 20 Jul 2009, Kiko Piris wrote:
>
> On 20/07/2009 at 20:03 +0200, Damien Wyart wrote:
>
> > I am seeing a similar problem (no hang but an immediate reboot) on the
> > same distro.
>
> Exactly the same than me.
>
> > I suspected a recent gcc 4.3 upgrade so downgraded gcc, but no luck,
> > still getting the same problem. So for now I am quite stuck, but
> > there is clearly a bad problem somewhere...
>
> I compiled 2.6.30.1 some days ago:
>
> | $ uname -a
> | Linux rompetechos 2.6.30.1 #1 SMP Fri Jul 3 16:11:06 CEST 2009 i686 GNU/Linux

Just to clarify:

- you literally have a _working_ 2.6.30.1 that you compiled yourself a
few days ago.

- But when you try to compile that same kernel _now_, it fails with an
immediate reboot? And not just 2.6.30.2, but 2.6.30.1 does that too?

That certainly implies something else than just the -fwrapv vs
-fno-strict-overflow thing.

But we may be looking at two different issues, so maybe your "unable to
compile a working kernel" issue is different from the other reports.

So can anybody confirm that they can really compile (on the same machine,
with the same compiler and libc, right after each other) 2.6.30.1 and it
works, but 2.6.30.2 does not work?

And in particular, if you can do that, it would be really interesting to
see your 'vmlinux' file with -fno-strict-overflow, and then the exact same
compile but with the top-level Makefile changed to use -fwrapv instead
(and please double-check that the -fwrapv kernel works, and the
-fno-strict-overflow)

Sadly, the code generation differences you get between -fwrapv and
-fno-strict-overflow are not trivial to sort out (I just tested it on my
own kernel - obviously working in both cases), but I'd be willing to try.
If somebody can really guarantee that the _only_ thing that changed was
that one compiler flag (rather than a gcc/glibc update or anything else,
which seems to be implicated here for some people).

Linus


\
 
 \ /
  Last update: 2009-10-18 23:28    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site