lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 15 Jun 2007 11:50:19 +0300
From:	"S.Çağlar Onur" <caglar@...dus.org.tr>
To:	"Eric W. Biederman" <ebiederm@...ssion.com>
Cc:	linux-kernel@...r.kernel.org, horms@...ge.net.au
Subject: Re: [2.6.22-rc4] kexec failed: invalid argument

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@...dus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!

Download attachment "signature.asc " of type "application/pgp-signature" (190 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ