Displaying 20 results from an estimated 200 matches similar to: "klibc 1.96 run-init"
2004 Dec 15
1
only pivot_root supported? [signed]
Hi,
I hope this is the right list for initramfs questions.
First I noticed: with initrd I can use real-root-device and pivot_root
mechanisms. with initramfs only pivot_root works. My init (or linuxrc)
scripts end like this:
mount -t xfs -n -o ro /dev/mapper/root /new-root
umount -n /sys || true
umount -n /dev || true
umount -n /proc || true
cd /new-root
pivot_root . initrd
exec chroot .
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
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 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) ?
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.
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 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 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 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
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
--
2006 Feb 15
2
Xen source [signed]
I just also wanted to mention that I have the current released
source tarballs downloaded and placed at
http://people.debian.org/~jbouse/xen/ at this time. As the only way to
get the source tarballs I've found is via bittorrent unless you want to
give your email address I'll continue to keep the the current tarball
located there.
That is one thing that I noticed about Ralph's
2006 Feb 17
2
Extraneous kruft [signed]
Looking through the build files I'm wondering if we can't do some
clean-up and remove extraneous kruft before we release. Like the
config.dbs and the README.build that talks about the config.dbs. From
looking through the build setup I don't see either file actually
critically needed and looks like Ralph may have come to a similar
conclusion by the comments added to the README.build
2006 Aug 19
0
symlinks on mounted smbfs [signed]
Hi,
I've a samba server running samba-3.0.22 and a samba client running
samba-2.2.3.
The samba server houses the home directories of my users, registered on
a W2k PDC.
The home directories are mounted on the samba client and all members of
the group GROUP have rwx-permissions to it.
So my problem is that a group member cannot create symlinks on this
mounted file system. Is there a way to get
2007 May 04
3
fileserver hanging
hello,
we just wanted to rollout our new puppetized dmz. therefore i change all
ip adresses from the test network to the live ips. after restarting
puppetmasterd it seems that the fileserver hangs:
client log:
debug: //true_base/update-check/File[/sbin/update_check.pl]/require:
requires Package[libmail-sendmail-perl]
debug: //true_base/puppetd/File[/etc/puppet/puppetd.conf]/require:
requires
2006 Feb 16
3
Debian revisions and policy comments [signed]
I've just been trying to catch up with the posts already so figured
I'd just start another thread as it seemed I would address things from
multiple emails. I really need to get my sieve filter script updated to
move the list emails into the proper folder now I guess :)
We can play with the revision of the packaging during testing. One
idea would be to use 3.0.1-0.YYYYMMDD for
2005 Mar 11
1
select.h not working on ia64
__FD_SET, __FD_CLR, __FD_ISSET, __FD_ZERO
are inside of __KERNEL__ in:
include/asm-ia64/posix_types.h
and therefore not available.
I've added stuff like this to our code:
#ifndef __FD_SET
#define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d))
#endif
but it would be nice if this can be solved in klibc.
Thanks,
Kay
2002 Oct 07
0
Why are big data.frames slow? What can I do to get it fas ter?
Extracting from data frame one element at a time the way you did is
expensive. I.e., test[i, 6] is slower than test$whatever[i].
As an example:
> dat <- data.frame(a = sample(LETTERS, 1e6, replace=TRUE), b=1:1e6,
+ c=rep("A", 1e6))
> dat$a <- as.character(dat$a)
> dat$c <- as.character(dat$c)
>
> system.time(
+ for(i in 1:10) {
+ dat[i, 3]