Skip to contentSkip to conversation

reboot/kexec in 2.6.38

DISCUSSION Pavel Machek 5 participants 10 messages Mar 17, 2011 – Apr 12, 2011

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

Hi!

I got report that reboot/kexec does not work in recent kernels.

I tried both kexec and reboot in 2.6.38, and it worked ok. Maybe config issue?
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#2 lore raw

Hi!

Quoted 7 lines
Quoted 4 lines

I got report that ?reboot/kexec does not work in recent kernels.

I tried both kexec and reboot in 2.6.38, and it worked ok. Maybe config issue?

I think it's config issue. Never heard of this.

I've seen that on my zaurus a month or two ago. When kexeced to pxa-linux-2.6 then tried to kexec again. The last thing I've seen was Bye on the framebuffer console and the machine freezed.

Signature · 1 line
metan 
#3 lore raw
Quoted 6 lines · Cyril Hrubis

Hi!

Quoted 5 lines
Quoted 4 lines

I got report that ?reboot/kexec does not work in recent kernels.

I tried both kexec and reboot in 2.6.38, and it worked ok. Maybe config issue?

Quoted 6 lines
Quoted 2 lines

I think it's config issue. Never heard of this.

I've seen that on my zaurus a month or two ago. When kexeced to pxa-linux-2.6 then tried to kexec again. The last thing I've seen was Bye on the framebuffer console and the machine freezed.

The basic kexec code has been stable and solid for a long time so kexec failures are almost always hardware interaction problems.

Someone not stopping dma, or someone not putting the hardware in a state that the next kernel can figure out how to initialize it.

Eric

#4 lore raw
In reply to Eric Miao

Hi!

Quoted 1 line

I think it's config issue. Never heard of this.

I've just compiled and booted 2.6.38. The kernel boots without problems when flashed in. But I've had no success with kexec, the last lines I see are:

Starting new kernel
Bye!
_

Any ides where to dig?

Signature · 1 line
metan
#5 lore raw
Quoted 7 lines · Cyril Hrubis

Hi!

Quoted 1 line

I think it's config issue. Never heard of this.

I've just compiled and booted 2.6.38. The kernel boots without problems when flashed in. But I've had no success with kexec, the last lines I see are:

Starting new kernel

Enable early_printk to a serial port if you can.

There is definitely an issue in 2.6.38 where kdump doesn't work, that right now looks like a memblock issue.

Eric

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

#6 lore raw

Hi!

Quoted 11 lines
Quoted 6 lines
Quoted 1 line

I think it's config issue. Never heard of this.

I've just compiled and booted 2.6.38. The kernel boots without problems when flashed in. But I've had no success with kexec, the last lines I see are:

Starting new kernel

Enable early_printk to a serial port if you can.

There is definitely an issue in 2.6.38 where kdump doesn't work, that right now looks like a memblock issue.

Finaly got time to solder serial adapter...

And now, after I configured kernel to print to both ttyS0 serial console and tty0 the kexec started to work.

Signature · 6 lines
metan

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
#7 lore raw
Quoted 10 lines · Cyril Hrubis

Hi!

Quoted 9 lines
Quoted 6 lines
Quoted 1 line

I think it's config issue. Never heard of this.

I've just compiled and booted 2.6.38. The kernel boots without problems when flashed in. But I've had no success with kexec, the last lines I see are:

Starting new kernel

Enable early_printk to a serial port if you can.

Quoted 7 lines
Quoted 2 lines

There is definitely an issue in 2.6.38 where kdump doesn't work, that right now looks like a memblock issue.

Finaly got time to solder serial adapter...

And now, after I configured kernel to print to both ttyS0 serial console and tty0 the kexec started to work.

Cool. Please help check why it didn't work, and see if we have something broken.

Quoted 4 lines

--
metan

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

#8 lore raw

Hi!

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

Enable early_printk to a serial port if you can.

There is definitely an issue in 2.6.38 where kdump doesn't work, that right now looks like a memblock issue.

Quoted 7 lines
Quoted 4 lines

Finaly got time to solder serial adapter...

And now, after I configured kernel to print to both ttyS0 serial console and tty0 the kexec started to work.

Cool. Please help check why it didn't work, and see if we have something broken.

Hmm, It seems to work now (I've changed the config slightly meanwhile and now I've been unable to trigger the bug).

Note to myself: save configs that trigger strange behavior.

Signature · 6 lines
metan

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
#9 lore raw
In reply to Pavel Machek
Quoted 6 lines · Pavel Machek

Hi!

I got report that reboot/kexec does not work in recent kernels.

I tried both kexec and reboot in 2.6.38, and it worked ok. Maybe config issue?

By "does not work", what is the behavior?