Displaying 20 results from an estimated 400 matches similar to: "only pivot_root supported? [signed]"
2004 Dec 15
0
kernel freeze on "umount /initrd" [signed]
Hi,
I'm using initramfs with pivot_root mechanism to mount
my real root directory. I notived the gentoo halt.sh
script tries to unmount everything on shutdown. That
includes /initrd. The kernel seems to freeze immideatly.
Do you have the same problems?
Regards, Andreas
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_CLEAN_COMPILE=y
2005 Jan 19
0
klibc 1.96 run-init
working fine with glibc. thanks!
Andreas
--
---------------------[ Ciphire Signature ]----------------------
From: aj@ciphirelabs.com signed email body (35 characters)
Date: on 19 January 2005 at 12:48:14 GMT
To: klibc@zytor.com
----------------------------------------------------------------
: The message above has been secured using Ciphire Mail.
: Verify this signature and download your
2005 Mar 22
1
initramfs memory requirements
Hi,
please correct me if I'm wrong:
- the kernel needs enough ram for the compressed initramfs and the
same files decompressed, so it can decompress the files and boot
the /init on the initramfs.
- if the kernel does not have enough ram, it will kernel panic.
my tests were done on a server with 256 mb ram and a 80MB
compressed initrd. I removed some packages and now it fits
and the
2005 Jan 24
1
mbr?
a bit unrelated, still I wonder:
does syslinux contain an mbr?
or does anyone know any app that contains an mbr and
can install it, without overwriting the partition table?
my experience is, that is wise to have an mbr and use
the active flag to select the active partition (which
might have a bootmanager installed). however every
linux distribution I know installed the bootloader
such as
2005 Feb 14
6
Query regarding initramfs
Hi
I had some doubts regarding what all the init application should do:
>> so, that should that application do?
>> - mount /dev/hda1 /new-root
>> - cd /new-root
>> - run-init
1. Of what I understand, before exitting, init should mount the realroot
and execute the init process.
Is realroot the '/' or the empty directory created (in the cpio
archive) ?
2011 Aug 26
1
Reg: Workaround to use pivot_root while using "rootfs" for "/" ?
Hi All,
I am trying to start a lxc container using libvirt and I am facing an
issue due to pivot_root.
The return code from the system call ?pivot_root? is EINVAL (Invalid
arguments).
I isolated the issue to this specific condition check within the system
call.
This is an code snippet from fs/namespace.c::pivot_root
* error = -EINVAL;
if (root.mnt->mnt_root != root.dentry)
2011 Sep 06
2
Reg: Difference between chroot & pivot_root
Hi,
What is the difference between chroot & pivot_root.
They don't seem obvious based on the man pages apart from the below
mentioned
caveats.
1) Inherited Open file descriptors, have to be explicitly closed.
2) Does not change CWD of the process, which can be overcome by doing a
chdir before & after chroot call.
Any information on this would be useful.
Thanks,
2005 Feb 02
2
Query on Using initramfs
Hi
I am looking at inserting functions in the early user space and want to use
initramfs for this.
I understand this can be achieved using 'initrd' or by making changes in
the 'usr/gen_init_cpio.c' file.
Can someone kindly give me pointers as to how to go about this. I am
looking at the 2.6.x kernel.
Thanks
Rachita.
2001 Nov 20
2
pivot_root problem on RH7.2
Hello,
I'm new in ext3. I installed RH7.2 with ext3. For a short time it
worked properly, but when I compiled the linux kernel (2.4.9-13) from RH
package, the old kernel didn't boot again (I didn't change anything with
the old binary).
I downloaded kernel 2.4.14 and ext3 patch for this version. After
the compilation and installation I rebooted the system. I got answer
something
2005 Mar 29
3
Query regarding initramfs
Hi
1. Is it possible to load an initrd from initramfs ?
How would you do this if the initramfs is being loaded dynamically in
the kernel
(ie having the initramfs as initrd )
Because in this case, you will say root = /dev/initrd and specify 'initrd'
as your 'initramfs source file'
How will you specify the second initrd source?
Thanks
Rachita.
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
2005 Aug 26
1
lvm initrd -> initramfs
I converted my lvm root initrd to an initramfs by putting glibc, lvm,
pivot_root, my linuxrc, etc. in my initramfs source file. I use ash
compiled against klibc to run my linuxrc
Unfortunately -
pivot_root . initrd
- complains -
pivot_root: Invalid argument
I suspect this may be because you can't pivot_root using a cpio
initramfs root?
If so, what should I do instead? Should I
2005 Jan 05
1
[PATCH] kinit/kinit.c
A patch for a few more hiccups and trivialities in kinit.c:
* The check_path() calls check for "/root" and "/old_root" - I believe
that should be "/root" and "/root/old_root".
* chdir("/") is recommended after pivot_root()
* init_argv[0] isn't set properly to the basename pointed to by char *s
- this fix also eliminates six lines of
2005 Mar 06
1
Detecting KLIBC from userspace
Hi
Currently I am trying to get device-mapper and dmraid ported to compile
against klibc. So far there was no real issues, as the only thing they
used was fscanf and feof not available presently in klibc (but easy to
work around).
Other than that there are really no way to easily check for installed
klibc's other than trying to mangle the output of klcc (from adjusted
configure.in):
-----
2005 Mar 09
1
makeklcc.pl passes '' to ld if LDFLAGS empty among things
Hi,
If say ppc where LDFLAGS=, you get the problem that klcc is generated
like:
-----
@LDFLAGS = ( '' )
-----
which then causes '' to get passed to ld, which gives:
-----
/usr/bin/ld: : No such file: No such file or directory
-----
One of two ways (I tried over here at least) to fix it, namely the quick
hack:
-----
--- 1/makeklcc.pl 2005-03-10 00:22:03.000000000 +0200
2005 Mar 09
1
Cross compiling klibc for arm and linking shared stuff
Hi,
I am getting this:
-----
armv4-unknown-linux-gnu-ld -o tests/fcntl.shared -e main interp.o tests/fcntl.o -R libc.so /usr/lib/gcc-lib/armv4-unknown-linux-gnu/3.3.5/libgcc.a
armv4-unknown-linux-gnu-ld: internal error: aborting at /space/var/tmp/portage/binutils-2.15.90.0.3-r4/work/binutils-2.15.90.0.3/ld/ldlang.c line 3835 in lang_place_orphans
armv4-unknown-linux-gnu-ld: please report this
2005 Mar 07
1
Question about islower() in ctype.h (ANSI compat headers test)
Hi,
So far with the latest changes the projects I am trying to port works
fine, except for a mismatch on what is considered the ansi behaviour of
islower() in ctype.h:
-----
i = 220
islower (i) = 0, ISLOWER (i) = 0
toupper (i) = 220, TOUPPER (i) = 220
i = 221
islower (i) = 0, ISLOWER (i) = 0
toupper (i) = 221, TOUPPER (i) = 221
i = 222
islower (i) = 0, ISLOWER (i) = 0
toupper (i) = 222, TOUPPER
2002 Apr 07
2
Kernel Panic
I have just installed Redhat 7.2 on a P3 with adaptec 2400A IDE RAID. After
many attempts with the partitions, I have finally managed to install but not
get the following error on boot:
creatig root device
mounting root filesystem
error mounting ext3
pivotroot:pivot_root(/sysroot,/sysroot/initrd)failed:2
freeing unused kernel memory :220k freed
kernel panic: no init found. try passing init=option
2001 Nov 12
2
[PROBLEM] setting data=writeback in /etc/fstab for /
Hi everybody,
I had a problem which you may be interested in.
I set data=writeback in /etc/fstab for each of my ext3 partitions (because
it complains on "mount -o remount,data=writeback" with "ext3: journal mode
can't be altered on remount" or similar) and rebooted.
Problem: / was mounted read-only, I couldn't remount it (because mount
appends the options from fstab,
2006 Feb 23
1
Building release source DEBs [signed]
I've been working on a buildrelease.sh script to call hg2dist.sh,
export debian/ from svn and run dpkg-source for me. When I ran
dpkg-source I noticed that it gave warnings regarding the *.dpatch files
being chmod 0755 is there any reason to maintain this within the
repository or would 0644 suffice and remove these warnings from dpkg-source?
Regards,
Jeremy
--