similar to: Early-userspace and swapping

Displaying 20 results from an estimated 4000 matches similar to: "Early-userspace and swapping"

2011 Jul 04
2
Linux early userspace doubts
Hi, I am a newbie into kernel booting process. I have read few things about boot process of the linux kernel. I am stuck at few things, which I am confident, someone from the list might help on - - If I pass a ramfs image as an intrd paramter from the bootloader (say grub), then will the kernel treat this as a ramfs image only? - initrd image is also, packed using cpio archive, then
2010 Jul 06
4
why i can not put my swap files in /dev?
I tried to create some swap files in /dev directory for my desktop. the dd and mkswap were ok. but when I try to swapon it, i get this: # swapon /dev/myswap swapon: /dev/myswap: Invalid argument but when I mv the file to some other directory like /mnt or /, the swapon works. could sb. tell me why? -- Tang Jianwei
2008 Nov 05
2
Adding another swap
Hi ALL, I have a harddisk with 3 primary partitions and one extended partitions. Under extented partions , there are 15 partions. Whole hard disk has been partitioned in a standard way, (i.e NOT LVM) It has 2GB ram. swap is also 2GB. Now I want to extend this swap to 4 GB. If I use dd coomand and create a file with 2GB, Will I be able to extend the swap witn swapon commnad? How can I achive
2006 May 04
1
Debian DomU not properly mounting swap
I am running Xen 3.0.1 with Gentoo for Dom0 and when I create a DomU with Debian, the kernel or system does not seem to recognize the volume I have created for swap on the DomU and will not mount it during boot or after. here is the disk section of the xen config for the DomU: disk = [ ''phy:xen-disks/disk-root,hda1,w'',''phy:xen-disks/disk-swap,hda2,w'' ]
2009 Jun 05
3
Swap priorities with swapon (Is my swap drive working?)
Hey Listee's I have a CentOS server with 2GB of ram and a swap drive of 4GB; swapon -a shows my swap drive as 4GB with only about 350 bytes in use (which is fine as my server idles with about 350-400MB ram usage so no swap should be in use. However my one and only swap drive had a priority of -1. I had read that the swap drive priority doesn't matter too much because I only have one swap
2005 Dec 05
5
CENTOS4.2 swapon -s result ?
Hello It is my first question here and I would like to thanks all of you to keep alive this stream and to give answers (I regulary read). Thanks for the good job. After installing CENTOS4.2 and "play with" I type the command swapon -s to verify everythings is ok but the command does nor return info as it should do. Is it something known ? Thanks Jean-Pierre Castello HP France mobile :
2012 Jan 05
2
swap labeling annoyance
I just upgraded a blade server via rsync from another server. Rebuilt the initrd. It boots fine... except that it won't turn on the swap partition. Several times, I've made sure swap was off, then mkswap -L SWAP-sda3 /dev/sda3, but when I do swapon -L SWAP-sda3, it complains it can't find the device for the label. The only thing I find while googling, other than redoing what I've
2006 Apr 15
1
[PATCH] klibc: fix gen_initramfs_init.sh when using -d
gen_initramfs_list.sh failed to generate a dependency list when it was supplied the -d option. Restructured gen_initramfs_list.sh to support dependency info with -d. This also fixes a bug where we did not properly process when more than one dir was specified. Finally update dependency info for the -d case (list_default_initramfs) In usr/Kbuild remove "" around CONFIG_RAMFS_SOURCE so the
2008 Feb 01
3
swapping on centos 5.1
Hi all, I used to use centos 4.5 on an AMD 4800+ with 2GIG ram. Now I use centos 5.1 on AMD 6400+ with 4GIG RAM. The system responsiveness is different between the two. I noticed that centos 5.1 seems to be swapping programs out of memory at times resulting in slowness (perceived by me). I played with swappiness (/proc/sys/vm/) setting to 10, then 1 then 0. Still resulted in the same perceived
2006 Apr 09
1
curious unpacking issue
I'm not sure when exactly this started, but currently when I specify a ramfs image via the initrd line in grub, kinit picks it up as an initrd and tries (and fails) to unpack it and run linuxrc from it. I'm assuming this is not the intended behavior. Can anyone point me into the proper direction for unpacking an initramfs image ontop of the in-kernel image? Currently, I am using kernel
2013 Oct 21
11
swapfile on btrfs, temporary solution for wiki
Hello list, i know what btrfs don''t support swap files. I read arch wiki and when i reading about systemd addon for auto create swapfile on btrfs, i invent the way, how create and using swap file, just see following sh code: swapfile=$(losetup -f) #free loop device truncate -s 8G /swap #create 8G sparse swap file losetup $swapfile /swap #mount file to loop mkswap $swapfile swapon
2006 Sep 28
1
ramfs to tmpfs
Hello, I was using a bunch of cpios in initramfs as a working system, and wondering why the unused files weren't being paged out to swap. So I reread ramfs-rootfs-initramfs.txt and now I know. So I wrote the attached utility. It creates a tmpfs, moves all files on the initramfs, moves / and executes the real init. It works, even with hardlinks, but it isn't the correct approach. Have
2003 Nov 13
2
early userspace goals
Hi, I've been messing around with the early userspace for the last couple days. What are the goals of early userspace? Is the end goal to use it as an initrd replacement or is it simply to do all the mounting (nfsroot, initrd, hard disk) that is currently done in init/do_mounts*? thanks mh -- Martin Hicks Wild Open Source Inc. mort@wildopensource.com 613-266-2296
2012 Sep 25
1
minor swap issue ....
.... I have a CentOS 5.n VM running on a Fedora 14 server/host, installed using virt-manager, pretty plain vanilla. I use it to compile binaries to run under RHEL/CentOS 5.n OS. I occasionally notice that when the VM gets paged out by the server, it takes several minutes to get it back in :-/ (see below). On the host, logged in to a shell through a terminal window, this A.M.: [wam at Q6600,
2005 Aug 15
2
How to setup swap
Hi All, I could not locate the info & syntax to setup swap partition in domU. I''ve setup the fstab file like that after having created a LV for it but I don''t know how to instruct xen to use it:. I feel I have to somehow set it in the VM file but how ? Of course I''ve run the mkswap and tried swapon -a but I get the obvious message bellow as it cannot read real
2003 Mar 12
1
Early-userspace development
OK guys, I've been communicating with Greg KH and I think I'm ready to tackle getting the early userspace stuff to a more functional level than it stands today (quite a commitment there, eh?). Before I get started, I wanted to list the major points I see that need to be done to make sure I'm not duplicating anyone else's efforts, or reinventing something that's already
2011 Jul 19
4
[PATCH v1 0/2] Support dropping of capabilities from early userspace.
This patchset applies to klibc mainline. As is it will probably collide with Maximilian's recent patch to rename run-init to switch_root posted last week. To boot an untrusted environment with certain capabilities locked out, we'd like to be able to drop the capabilities up front from early userspace, before we actually transition onto the root volume. This patchset implements this by
2005 Aug 09
6
initramfs howto
Hi, Here's a try at writing an initramfs HOWTO. This is basically a write-up of a number of interesting emails I collected over time. It could probably use an editor, more fact-checking and a bunch of other good things, but it should be better than nothing ;-) Daniel -------------- next part -------------- INITRAMFS HOWTO 0) What are klibc and initramfs? Initramfs is a ramfs into which
2009 Aug 05
1
[PATCH] Fix swapon_label test
The swapon label test has a side-effect, in that it creates a new partition. This causes the later failure of the list_partitions test. This change causes the swapon_label test to scrub /dev/sdb after the test, and then re-read the partition table. --- src/generator.ml | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/generator.ml b/src/generator.ml index
2006 Apr 17
0
[PATCH] klibc: default initramfs content stored in usr/initramfs.default
Harcoding default content of initramfs in the gen_initramfs_list.sh script seems ackward. Move it to a file named: usr/initramfs.default This also fixes a small bug when no arguments was passed to CONFIG_INITRAMFS_SOURCE (-d was passed twice to the script) Idea and bug report from: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> ---