Messages in this thread | | | From | "S.Çağlar Onur" <> | Subject | Re: [2.6.22-rc4] kexec failed: invalid argument | Date | Fri, 15 Jun 2007 11:50:19 +0300 |
| |
15 Haz 2007 Cum tarihinde, Eric W. Biederman şunları yazmıştı: > Sight unseen I'm guessing that you have a kexec aware distro that is doing > something in the runlevel change scripts and thus unloading the kernel. > What do: /sys/kernel/kexec_loaded and /sys/kernel/kexec_crash_loaded say?
Not sure, here is the pseudo output what our init system does;
- Stop running services - Save random seed, sync clock - Unmount mounted fs's (this includes proc/sysfs etc.) - Call kexec -e - Call reboot
> kexec -e at any point should start a loaded kernel without problems, but it > is a lot like pressing the reset button. Nothing is guaranteed to be > shutdown cleanly. Now that journalling filesystems are the norm it is > quite possible nothing bad will happen to you.
zangetsu ~ # kexec -l /boot/kernel-2.6.22-rc4-CFS-v16 --append="root=/dev/sda3" --initrd=/boot/initramfs-2.6.22-rc4-CFS-v16 setup_linux_vesafb: 1024x768x16 @ c0000000 +300000 zangetsu ~ # cat /sys/kernel/kexec_loaded 1 zangetsu ~ # cat /sys/kernel/kexec_crash_loaded 0
Cheers -- S.Çağlar Onur <caglar@pardus.org.tr> http://cekirdek.pardus.org.tr/~caglar/
Linux is like living in a teepee. No Windows, no Gates and an Apache in house! [unhandled content-type:application/pgp-signature] | |