Re: [gentoo-user] Suspend to swap on a diskless host

2007-05-31 Thread Hans-Werner Hilse
Hi, On Sun, 27 May 2007 16:21:03 +0200 Michal 'vorner' Vaner [EMAIL PROTECTED] wrote: First: You need to load the kernel from the swap, in the time it loads, you have no running kernel (well, there is a little part, but that one has no clue about network). No, that's not entirely true.

Re: [gentoo-user] Suspend to swap on a diskless host

2007-05-31 Thread Michal 'vorner' Vaner
Hello On Thu, May 31, 2007 at 01:28:20PM +0200, Hans-Werner Hilse wrote: On Sun, 27 May 2007 16:21:03 +0200 Michal 'vorner' Vaner [EMAIL PROTECTED] wrote: First: You need to load the kernel from the swap, in the time it loads, you have no running kernel (well, there is a little part, but

Re: [gentoo-user] Suspend to swap on a diskless host

2007-05-30 Thread Dan Farrell
On Sun, 27 May 2007 16:21:03 +0200 Michal 'vorner' Vaner [EMAIL PROTECTED] wrote: Hello AFAIK, I think you do not want to do that. Not on important boxes, that's for sure! First: You need to load the kernel from the swap, in the time it loads, you have no running kernel (well, there is a

Re: [gentoo-user] Suspend to swap on a diskless host

2007-05-27 Thread Michal 'vorner' Vaner
Hello AFAIK, I think you do not want to do that. First: You need to load the kernel from the swap, in the time it loads, you have no running kernel (well, there is a little part, but that one has no clue about network). Second: You do not want swap on nfs, since it is terribly slow, buggy, nfs

Re: [gentoo-user] Suspend to swap on a diskless host

2007-05-24 Thread Alan McKinnon
On Wednesday 23 May 2007, Dan Farrell wrote: I know this is a long shot, and not many people run diskless hosts. I have one with kind of a loud fan that uses a lot of energy - it's a pentium 4 in a slimline case and it runs pretty hot, so I can't adjust the fan speed based on temperature,

Re: [gentoo-user] Suspend to swap on a diskless host

2007-05-24 Thread Dan Farrell
On Wed, 23 May 2007 22:05:14 +0200 Hans-Werner Hilse [EMAIL PROTECTED] wrote: Hi, On Wed, 23 May 2007 11:59:23 -0500 Dan Farrell [EMAIL PROTECTED] wrote: I know swapon doesn't work on regular files, so to add my swap I need to first use losetup to set up /dev/loop0 as my swap device.

Re: [gentoo-user] Suspend to swap on a diskless host

2007-05-24 Thread Dan Farrell
On Wed, 23 May 2007 20:56:30 +0200 Alan McKinnon [EMAIL PROTECTED] wrote: Well, for what it's worth, Your entire post seems half-assed, and I think you need to think it through carefully: 1. What are you *actually* trying to do? Seems like the fan is loud, so a) replace the fan with a

[gentoo-user] Suspend to swap on a diskless host

2007-05-23 Thread Dan Farrell
I know this is a long shot, and not many people run diskless hosts. I have one with kind of a loud fan that uses a lot of energy - it's a pentium 4 in a slimline case and it runs pretty hot, so I can't adjust the fan speed based on temperature, because it seems like turning the fan off at 70+

Re: [gentoo-user] Suspend to swap on a diskless host

2007-05-23 Thread Hans-Werner Hilse
Hi, On Wed, 23 May 2007 11:59:23 -0500 Dan Farrell [EMAIL PROTECTED] wrote: I know swapon doesn't work on regular files, so to add my swap I need to first use losetup to set up /dev/loop0 as my swap device. Then swapon /dev/loop0 works. but how can I enable swap on loop0 before the