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 <[email protected]> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
Attachment:
signature.asc
Description: This is a digitally signed message part.
- Follow-Ups:
- Re: [2.6.22-rc4] kexec failed: invalid argument
- From: "S.Çağlar Onur" <[email protected]>
- Re: [2.6.22-rc4] kexec failed: invalid argument
- References:
- [2.6.22-rc4] kexec failed: invalid argument
- From: "S.Çağlar Onur" <[email protected]>
- Re: [2.6.22-rc4] kexec failed: invalid argument
- From: [email protected] (Eric W. Biederman)
- [2.6.22-rc4] kexec failed: invalid argument
- Prev by Date: Re: [RFC/PATCH] Documentation of kernel messages
- Next by Date: [PATCH] diskquota: 32bit quota tools on 64bit architectures
- Previous by thread: Re: [2.6.22-rc4] kexec failed: invalid argument
- Next by thread: Re: [2.6.22-rc4] kexec failed: invalid argument
- Index(es):