You are not logged in.

#1 2006-11-12 07:24:24

kcbanner
Member
From: Toronto, Canada
Registered: 2006-08-28
Posts: 43
Website

Dont reboot...patch the kernel!

We were having an intelligent conversation in #archlinux tonight:

<wizzomafizzo> the only time i actually need to do a hard reboot
<wizzomafizzo> i actually do, not just reload the kernel
<kcbanner> dont reboot, patch kernel memory tongue
<kcbanner> rofl
<wide> dont patch the memory, flip the bits by hand!
<kcbanner> dont flip them by hand...
<wide> just get a magnet and a magnifying glass
<kcbanner> !!!
<phrik> POPOZAO!
<kcbanner> rofl
<kcbanner> this is a good quote

I heard of people actually doing this, patching a running kernel. Is this possible? Would you do it with kmem or something?

Just wondering tongue

-kcbanner

Offline

#2 2006-11-12 08:36:19

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,323

Re: Dont reboot...patch the kernel!

not exactly, kexec loads a kernel from the running one. This way you can bypass bios initilisation tests, which can be up to 10 minutes on big machines. On a normal desktop machine you save probably some seconds but not minutes.

Offline

#3 2006-11-12 18:54:26

neotuli
Lazy Developer
From: London, UK
Registered: 2004-07-06
Posts: 1,204
Website

Re: Dont reboot...patch the kernel!

I would call anyone that patches a running kernel borderline mentally unstable. But hey, it's not my fried hardware wink


The suggestion box only accepts patches.

Offline

#4 2006-11-13 14:31:45

F
Member
Registered: 2006-10-09
Posts: 322

Re: Dont reboot...patch the kernel!

neotuli wrote:

I would call anyone that patches a running kernel borderline mentally unstable. But hey, it's not my fried hardware wink

Start living on the edge, man!

Offline

Board footer

Powered by FluxBB