[Bug 518567] Re: armel/versatile: Can't kexec

2010-03-09 Thread Loïc Minier
I've sent a heads up to the kexec@ list.

-- 
armel/versatile: Can't kexec
https://bugs.launchpad.net/bugs/518567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 518567] Re: armel/versatile: Can't kexec

2010-03-08 Thread Loïc Minier
Tried again with the kernel at
http://people.canonical.com/~roc/kernel/kexec/ prepared by Bryan from
the sources at http://kernel.ubuntu.com/git?p=roc/ubuntu-
lucid.git;a=shortlog;h=refs/heads/kexec-versatile:

qemu-system-arm -m 256  -drive file=lucid.img,media=disk -M versatilepb
-cpu cortex-a8 -kernel linux-
image-2.6.32-16-versatile_2.6.32-16.24/boot/vmlinuz-2.6.32-16-versatile
-append 'root=/dev/sda console=ttyAMA0,115200 S' -nographic

kexec -l vmlinuz-2.6.32-16-versatile --append=rootwait root=/dev/sda 
console=ttyAMA0,115200 S
kexec -e

All I get is:
[   87.854989] Starting new kernel

But at least it doesn't dump core anymore; apparently it avoids writing
bogus data over the I/O space.

I also tried without rootwait, but I really get no more output after
Starting new kernel despite the use of a serial console.

-- 
armel/versatile: Can't kexec
https://bugs.launchpad.net/bugs/518567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 518567] Re: armel/versatile: Can't kexec

2010-03-08 Thread Loïc Minier
So booting the same kernel and kexec-loading a vmlinux instead (created
from the vmlinuz bzImage) works!

I can't boot the vmlinux in qemu though.

-- 
armel/versatile: Can't kexec
https://bugs.launchpad.net/bugs/518567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 518567] Re: armel/versatile: Can't kexec

2010-03-08 Thread Loïc Minier
What I meant in comment #2 was that I can't use qemu-system-arm -kernel
vmlinux ..., this hangs (without even initializing the fb); if I boot
qemu-system-arm with a vmlinuz and kexec the vmlinux, it works.

Summary:
qemu-system-arm: works with vmlinuz, not vmlinux
kexec: works with vmlinux, not vmlinuz

-- 
armel/versatile: Can't kexec
https://bugs.launchpad.net/bugs/518567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 518567] Re: armel/versatile: Can't kexec

2010-03-08 Thread Loïc Minier

** Attachment added: Wrote this script to convert vmlinuz to vmlinux
   http://launchpadlibrarian.net/40481140/vmlinuz-to-vmlinux

-- 
armel/versatile: Can't kexec
https://bugs.launchpad.net/bugs/518567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 518567] Re: armel/versatile: Can't kexec

2010-03-08 Thread Loïc Minier
Closing the linux task since it works with the in archive kernel just
fine (didn't actually test initramfs though).

** Changed in: linux (Ubuntu)
   Status: New = Invalid

-- 
armel/versatile: Can't kexec
https://bugs.launchpad.net/bugs/518567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 518567] Re: armel/versatile: Can't kexec

2010-03-08 Thread Loïc Minier
So what remains to be fixed here is kexec on qemu/versatile when an
using a vmlinuz; either it should properly compute the address (not sure
what actually breaks when using a vmlinuz) or it should unconditionally
unpack the vmlinuz into a vmlinux (to save time when kexec -e comes).

-- 
armel/versatile: Can't kexec
https://bugs.launchpad.net/bugs/518567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs