* [gentoo-releng] kexec compiled into kernel
@ 2008-01-28 15:55 Denys Fedoryshchenko
0 siblings, 0 replies; 4+ messages in thread
From: Denys Fedoryshchenko @ 2008-01-28 15:55 UTC (permalink / raw
To: gentoo-releng
--
Denys Fedoryshchenko
Technical Manager
Virtual ISP S.A.L.
--
gentoo-releng@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-releng] kexec compiled into kernel
@ 2008-01-28 15:58 Denys Fedoryshchenko
2008-01-28 16:17 ` Andrew Gaffney
0 siblings, 1 reply; 4+ messages in thread
From: Denys Fedoryshchenko @ 2008-01-28 15:58 UTC (permalink / raw
To: gentoo-releng
Hi
Is it possible to compile in kernel kexec support? at least for architectures
where it is well supported.
It is very handy, when Gentoo installed on PC remotely on regular PC, when
people there just boot CD and set ip, and leave location for few days.
It is not possible to eject CD on remote PC, cause on reboot BIOS usually
closing tray. kexec will let to reboot system to newly compiled kernel
without full reboot, avoiding system to boot from CD again. Remote tech's on
location can remove CD later, when it is comfortable for them.
Sorry if sent empty message before, clicked on button by mistake.
--
Denys Fedoryshchenko
Technical Manager
Virtual ISP S.A.L.
--
gentoo-releng@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-releng] kexec compiled into kernel
2008-01-28 15:58 Denys Fedoryshchenko
@ 2008-01-28 16:17 ` Andrew Gaffney
2008-01-28 16:26 ` Denys Fedoryshchenko
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Gaffney @ 2008-01-28 16:17 UTC (permalink / raw
To: gentoo-releng
Denys Fedoryshchenko wrote:
> Hi
>
> Is it possible to compile in kernel kexec support? at least for architectures
> where it is well supported.
>
> It is very handy, when Gentoo installed on PC remotely on regular PC, when
> people there just boot CD and set ip, and leave location for few days.
> It is not possible to eject CD on remote PC, cause on reboot BIOS usually
> closing tray. kexec will let to reboot system to newly compiled kernel
> without full reboot, avoiding system to boot from CD again. Remote tech's on
> location can remove CD later, when it is comfortable for them.
How is kexec used? Are there commandline utilities for it? Is it triggered
through a /proc interface?
--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Catalyst/Installer + x86 release coordinator
--
gentoo-releng@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-releng] kexec compiled into kernel
2008-01-28 16:17 ` Andrew Gaffney
@ 2008-01-28 16:26 ` Denys Fedoryshchenko
0 siblings, 0 replies; 4+ messages in thread
From: Denys Fedoryshchenko @ 2008-01-28 16:26 UTC (permalink / raw
To: gentoo-releng
For example you compile new kernel, and you want to test it without
installing in boot loader. It is very useful, especially when it is remote
machine with grub, grub "one time load" not so useful like lilo -R, plus each
operation with boot loader causing risk to make system inoperable, even by
typo.
1)compile tools
emerge kexec-tools
2)Load kernel to memory (kexec have to be compiled in kernel)
kexec -l /path/kernelname --append="root=/dev/rootdevice panic=5"
3)When you are ready (sync, also highly recommended to unmount partitions or
remount read-only), LAUNCH! :-)
kexec -e
system will start booting new kernel, without complete hardware reset. There
is some issues with buggy drivers, like intel wireless 3945, i wrote
bugreport to intel, and probably will be fixed soon. But hardware cases with
kexec very rare, and it works just great for me.
They only one thing stopping me to contribute few scripts and tips - my
crappy english.
On Mon, 28 Jan 2008 10:17:58 -0600, Andrew Gaffney wrote
> Denys Fedoryshchenko wrote:
> > Hi
> >
> > Is it possible to compile in kernel kexec support? at least for
architectures
> > where it is well supported.
> >
> > It is very handy, when Gentoo installed on PC remotely on regular PC,
when
> > people there just boot CD and set ip, and leave location for few days.
> > It is not possible to eject CD on remote PC, cause on reboot BIOS usually
> > closing tray. kexec will let to reboot system to newly compiled kernel
> > without full reboot, avoiding system to boot from CD again. Remote tech's
on
> > location can remove CD later, when it is comfortable for them.
>
> How is kexec used? Are there commandline utilities for it? Is it
> triggered through a /proc interface?
>
> --
> Andrew Gaffney http://dev.gentoo.org/
~agaffney/
> Gentoo Linux Developer Catalyst/Installer + x86 release
coordinator
> --
> gentoo-releng@lists.gentoo.org mailing list
--
Denys Fedoryshchenko
Technical Manager
Virtual ISP S.A.L.
--
gentoo-releng@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-28 16:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-28 15:55 [gentoo-releng] kexec compiled into kernel Denys Fedoryshchenko
-- strict thread matches above, loose matches on Subject: below --
2008-01-28 15:58 Denys Fedoryshchenko
2008-01-28 16:17 ` Andrew Gaffney
2008-01-28 16:26 ` Denys Fedoryshchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox