Skip to contentSkip to conversation

kexec trouble with gcc-4.3

DISCUSSION Geoff Levand 2 participants 5 messages Apr 2, 2009 – Jun 22, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I tried building kexec with gcc-4.3 from the cell sdk-3.1 and the resulting binary didn't work correctly. It works OK with the gcc-4.1 from the same (sdk-3.1).

Here is the last thing seen, then the system hangs:

Starting new kernel
kexec: waiting for cpu 1 (physical 1) to go down Invalid tag 26 scanning flattened device tree ! Invalid tag 26 scanning flattened device tree ! Invalid tag 26 scanning flattened device tree !

Does anyone have any ideas?

-Geoff

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

#1 lore raw
Quoted 5 lines · Geoff Levand

Hi,

I tried building kexec with gcc-4.3 from the cell sdk-3.1 and the resulting binary didn't work correctly. It works OK with the gcc-4.1 from the same (sdk-3.1).

You mean building kexec-tools? Or building the kernel?

cheers

Signature · 8 lines
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

#2 lore raw
Quoted 8 lines · Michael Ellerman
Quoted 5 lines · Geoff Levand

Hi,

I tried building kexec with gcc-4.3 from the cell sdk-3.1 and the resulting binary didn't work correctly. It works OK with the gcc-4.1 from the same (sdk-3.1).

You mean building kexec-tools? Or building the kernel?

The kexec program in kexec-tools.

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

#3 lore raw
Quoted 11 lines · Geoff Levand
Quoted 8 lines · Michael Ellerman
Quoted 5 lines · Geoff Levand

Hi,

I tried building kexec with gcc-4.3 from the cell sdk-3.1 and the resulting binary didn't work correctly. It works OK with the gcc-4.1 from the same (sdk-3.1).

You mean building kexec-tools? Or building the kernel?

The kexec program in kexec-tools.

Right. In that case I'd guess there's a bug in the kexec-tools DT creation code, that's being exposed by the new gcc.

If you compare the DT from a working and non-working version it shouldn't be too hard to track down.

cheers

Signature · 8 lines
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

#4 lore raw
In reply to Geoff Levand
Quoted 8 lines · Geoff Levand

Hi,

I tried building kexec with gcc-4.3 from the cell sdk-3.1 and the resulting binary didn't work correctly. It works OK with the gcc-4.1 from the same (sdk-3.1).

Here is the last thing seen, then the system hangs:

Quoted 7 lines

Starting new kernel
kexec: waiting for cpu 1 (physical 1) to go down Invalid tag 26 scanning flattened device tree ! Invalid tag 26 scanning flattened device tree ! Invalid tag 26 scanning flattened device tree !

Does anyone have any ideas?

I finally got around to investigating this, and now I can't reproduce it. I tried with 2.6.29 and the current mainline kernel. I can only guess it was something about the kernel at the time.

-Geoff

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec