You are not logged in.
Pages: 1
I notice booting up that after the kernel is booted and the computer moves into the next phase of the sequence the BUSY indicator for activating the swap partition never changes to DONE as it does for every other step in the process . BUSY for activating swap just stays on until I reach the login prompt, after which I can't see what's happening anyway, of course. Shouldn't this indicator complete its sequence quickly or is activating swap a special case?
jlowell
Offline
Hmm.. well it's probably not this but I thought I'd mention it -- sometimes if the action has some output, it will print this output, moving the cursor down a line or two, then it prints [DONE] 2 lines down, where it would normally be over-writing the [BUSY] ....
That's just a guess since I don't think I've ever really seen any output from activating the swap.
Hapy.
Offline
It takes less than 1 sec here (on 3 different boxes with different swap sizes). Is your swap partition ok ?
Try :
free | grep Swap
to check if swap gets enabled after all, if not :
$ swapoff /dev/hdXY
$ swapon /dev/hdXY
(replacing XY with you swap location, eg /dev/hda2) and check the output of both commands.
Offline
hApy's right. If you look at the line following the swapon output you'll see a coloured DONE, which would have overwritten the BUSY if swapon hadn't output anything.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
Yea, the lines get a little messy whenever the kernel wants to say anything. Once syslogd comes up, it speaks through there, but the earlier stages of rc.sysinit get outputted to /dev/console.
there are "fixes" for this, but they're not a high priority right now.
Offline
apiero, zen_gorilla, Xentac. hApy,
Am I correct, then, to understand you as saying that for swap activization what I'm experiencing with the delay in BUSY going to DONE can be accounted for by the fact that the proper output is being sent to a file or directory and not the screen? If that's the case, I won't worry about things.
The same phenomenon is occuring on all three of my workstations. On the relevant drives I have one roughly 500 MB logical partition for swap which is used by Arch and a couple of other distros as well, depending, of course, on which one I boot. On the other end of the sequence, halting, rebooting, I see no such delay, swap deactivates BUSY to DONE in a flash.
Running
free | grep Swap
right after logging in, I get output
Swap: 514040 0 514040
Memory use by swap as monitored by gkrellm reports the same thing. I should conclude that there's nothing wrong with my machines, then? I just hope I'm understanding apiero properly. Am I?
jlowell
Offline
Correct. Your swap partition is functioning fine.
Offline
Yes. If you look really really really really closely, you'll see that the line below the output from swap (which should be a line or two below the BUSY line) it says DONE, in exactly the spot it would have if swapon hadn't output anything. That DONE is corresponding to the BUSY from the original line.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
Pages: 1