Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to apply Kernel 2.6.x without restarting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
spijon
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2003
Posts: 148
Location: Ukraine, Kiev

PostPosted: Thu Dec 09, 2004 8:12 am    Post subject: How to apply Kernel 2.6.x without restarting Reply with quote

Where could I read about it for gentoo :?:
Back to top
View user's profile Send private message
frenkel
Veteran
Veteran


Joined: 13 May 2003
Posts: 1034
Location: .nl

PostPosted: Thu Dec 09, 2004 8:45 am    Post subject: Reply with quote

Let me get this straight... You wan't to use a new kernel without restarting your pc? Don't think this is possible...

Frank
_________________
http://techfield.org
Back to top
View user's profile Send private message
spijon
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2003
Posts: 148
Location: Ukraine, Kiev

PostPosted: Thu Dec 09, 2004 8:48 am    Post subject: Reply with quote

Frenkel wrote:
Let me get this straight... You wan't to use a new kernel without restarting your pc? Don't think this is possible...Frank

That is possible with 2.6.x there is some patch for allowing that :roll:
Back to top
View user's profile Send private message
frenkel
Veteran
Veteran


Joined: 13 May 2003
Posts: 1034
Location: .nl

PostPosted: Thu Dec 09, 2004 8:53 am    Post subject: Reply with quote

A lot of people want it to be possible, but it isn't...
Just think about it, some kind of program should replace the running kernel with a new one. The piece of memory where the kernel is in, is protected by the kernel.
If it was possible, I'm sure a lot of people on this forum would know and/or use it.

Frank
_________________
http://techfield.org
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Thu Dec 09, 2004 9:17 am    Post subject: Reply with quote

i have seen discussion on this forum of how to use it .. search for kexec
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
Leffe
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2004
Posts: 145
Location: Sweden

PostPosted: Thu Dec 09, 2004 9:57 am    Post subject: Reply with quote

It sounds a bit experimental to me... but, well, the worst that can happen is that the computer crashes and you have to reboot :)
Back to top
View user's profile Send private message
vonhelmet
l33t
l33t


Joined: 06 Apr 2004
Posts: 770
Location: Somewhere in a school

PostPosted: Thu Dec 09, 2004 10:03 am    Post subject: Reply with quote

From what I've read it is possible, but it is very difficult at the moment, and probably not worth the effort.
_________________
My blog
nvtuner software - enhance your AGP Geforce 6800 or 6200!
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Thu Dec 09, 2004 10:32 am    Post subject: Reply with quote

I don't see why you can't reboot...


_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
Pink
Veteran
Veteran


Joined: 24 Jul 2003
Posts: 1062

PostPosted: Thu Dec 09, 2004 10:43 am    Post subject: Reply with quote

Yup, kexec is what you are after but I wouldn't rely on it too much (the only reason to use it is to keep your uptime).

It is experimental and I'm not sure even mm-sources still has it in as an option anymore (they did try it for a while). If it isn't back in then you will have to patch the kernel and give it a go.

All I can say if you do use it is.... Good Luck!
Back to top
View user's profile Send private message
vonhelmet
l33t
l33t


Joined: 06 Apr 2004
Posts: 770
Location: Somewhere in a school

PostPosted: Thu Dec 09, 2004 11:32 am    Post subject: Reply with quote

PickledOnion wrote:
Yup, kexec is what you are after but I wouldn't rely on it too much (the only reason to use it is to keep your uptime).

It is experimental and I'm not sure even mm-sources still has it in as an option anymore (they did try it for a while). If it isn't back in then you will have to patch the kernel and give it a go.

All I can say if you do use it is.... Good Luck!


I thought it didn't preserve uptime, because it has to restart the init process, on which uptime is based? Maybe they've changed it since I last read about it though.
_________________
My blog
nvtuner software - enhance your AGP Geforce 6800 or 6200!
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Thu Dec 09, 2004 11:41 am    Post subject: Reply with quote

To wrote:
I don't see why you can't reboot...

ePenis is growing within the uptime
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum