Displaying 20 results from an estimated 6000 matches similar to: "initrd / initramfs future"
2005 Dec 28
1
Problems with klibc 1.1.8
Hi,
trying to build klibc 1.1.8 on x86 fails on my machine as follows:
KLIBCCC dash/trap.o
KLIBCCC dash/output.o
dash/trap.c: In function 'trapcmd':
dash/trap.c:94: warning: unused parameter 'argc'
dash/trap.c:94: warning: unused parameter 'argv'
dash/trap.c: In function 'decode_signal':
dash/trap.c:398: error: 'SIGRTMIN' undeclared (first use in this
2007 Apr 11
1
[PATCH] export retained initrd in debugfs
Export initrd in debugfs when retained.
As a side effect, initrd_start and initrd_end are not cleared when the
initrd is retained.
After this patch, one can then copy the initrd space from debugfs and
pass it to kexec as the initrd, or do something else with it (maybe it
was an initrd not an initramfs).
Signed-off-by: Milton Miller <miltonm at bga.com>
---
This is a lot more reliable
2004 Jul 27
1
warning killing for poor !LANG=C|US people
--- ../multipath-tools-0.2.8.1/klibc/klibc/arch/i386/MCONFIG 2004-07-20
10:51:42.000000000 +0200
+++ klibc/klibc/arch/i386/MCONFIG 2004-07-27 17:10:12.000000000 +0200
@@ -13,7 +13,7 @@
# them to be cdecl
# REGPARM = -mregparm=3 -DREGPARM
-gcc_major := $(shell $(CC) -v 2>&1 | awk '/gcc version/{print int($$3)}')
+gcc_major := $(shell unset LANG;$(CC) -v 2>&1 | awk
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
2004 Jun 07
2
"Destructive" utilities
The following threads suggest that the way to reclaim memory occupied by
initramfs is to remove files from it:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&frame=right&th=c6cb846bba1a7aea&seekm=SAUO.51B.21%40gated-at.bofh.it#link1
http://seclists.org/lists/linux-kernel/2003/Dec/0707.html
However, there is no way to do it using utilities provided by klibs.
Could you
2004 Jun 07
2
run-init warning
Please be aware that I HAVE NOT TESTED THIS PROGRAM... please try it in
a "safe" environment since for all I know it could nuke your "real root"
by mistake.
-hpa
2004 Jul 29
2
kinit
The "kinit" program distributed with klibc 0.153 still attempts to do a
pivot_root. That doesn't work. The correct way of going into the main
system is to mount --bind the root and chroot there, as done in the
"run-init" program. Could you please copy that logic into "kinit"?
And please fix the comment at the top - there is "/init", not
2004 Apr 12
1
libsysfs and klibc
libsysfs is using a few things not in klibc. udev is getting around this by
having a private copy of libsysfs with a few modifications to make it work on
klibc. What's the easiest path for getting the master libsysfs copy working on
klibc?
libsysfs needs two calls:
setmntent, getmntent
These are used to locate the mount point of /sys
It also uses errno so I get link errors for
2005 Jan 05
1
Status/future for klibc/initramfs
I'm wondering where things are on the roadmap for klibc and
initramfs/early userspace. When will everything be harmonized with the
kernel and be the default? What is left to do?
I'm in my own little world, but I have a pretty good
klibc/hotplug/udev/kinit early userspace that just works (for me). It's
taken me a bit to get things to work because I just couldn't find all
the
2004 Jul 19
1
klibc linked tools developpement env
Hello,
I maintain the multipath tools, some of which are intended to be packed into
early userspace. I had to drop a klibc tree into the tools archive for that,
like GregKH does for udev. I don't like it, because tarballs are bigger than
they should be and it brings more maintenance.
Recently, scsi_id became a required multipath dependency. scsi_id is currently
build with glibc and I need a
2005 Aug 27
3
KLIBC support for sysfsutils-1.3.0
Skipped content of type multipart/mixed-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.zytor.com/pipermail/klibc/attachments/20050827/b7319510/attachment-0001.bin
2004 Jul 15
2
getpagesize / libsysfs broken with 0.148
Hi all,
the implementation of getpagesize() is broken in klibc.
klibc uses sysinfo.mem_unit, which linux interpretes as the memory unit
all other memory values returned are to be multiplied with.
So it's perfectly ok for the linux sysinfo() to return a mem_unit of
'1', which is does if the memory available for this machine fits into
the counter.
For the unbelievers, have a look in
2008 Jul 23
2
[RFC] klibc add minimal mntent.h
belows patch is a first step towards a mntent.h
we'll need it anyways later for mdadm support.
it allows to compile util-linux-ng mount against klibc.
due to the missing features there is a severe size difference:
text data bss dec hex filename
1507 0 40 1547 60b /usr/lib/klibc/bin/mount
58526 2544 4552 65622 10056
2004 Sep 18
2
a little help w/ sys_clone
Hello,
can someone direct me to a code sample showing usage of sys_clone on
IA64 ?
I use that syscall in the multipathd daemon, and I received compilation
errors from IA64 pepole. As I don't have hardware to play with, I'd
appreciate guidance.
regards,
--
christophe varoqui <christophe.varoqui@free.fr>
2004 Jun 05
2
Register parameters are unsafe with gcc 3.3.2
I have the following toolchain:
$ ld --version
GNU ld version 2.15.90.0.3 20040415
$ gcc --version
gcc (GCC) 3.3.2
I attempted to build klibc with this toolchain. It builds without
errors, but the included "ash" shell does not function properly.
Testcase:
read cmdline </proc/cmdline
echo $cmdline
The first command prints a message:
cannot open /proc/cmdline: error 14
Other
2012 Jun 05
4
Re: [systemd-devel] systemd-udevd: excessive I/O usage
2012/6/5 Kok, Auke-jan H <auke-jan.h.kok@intel.com> wrote on systemd-devel list:
> It seems your system is taking well into 15+ seconds before btrfs is
> actually *ready* on your system, which seems to be the main hiccup
> (note, speculation here). I''ve personally become a bit displeased with
> btrfs performance recently myself, so, I''m wondering if you should
2004 Sep 19
2
klibc compilation breakage on 2.6.8+
hello,
klibc/include/signal.h include asm/signal.h which prefixes the
__sighandler_t definition with a __user annotation.
__user not being defined previously leads to a compilation breakage.
It's the only occurrence for now, so the following dirty work-around
works here :
add a "#define __user" at klibc/include/signal.h head.
regards,
--
christophe varoqui
2007 Apr 18
1
[PATCH] fix boot crash when freeing initrd memory
I'm triggering this BUG_ON during boot, which happens while freeing initrd
memory:
EIP is at free_init_pages+0x37/0xac
[<c01143f1>] free_initrd_mem+0x11/0x13
[<c03ce259>] free_initrd+0x13/0x29
[<c03cf647>] populate_rootfs+0xdc/0xe2
[<c01003af>] init+0x42/0x253
[<c0103bbb>] kernel_thread_helper+0x7/0x10
I'm not sure why this memory isn't aligned
2007 Apr 18
1
[PATCH] fix boot crash when freeing initrd memory
I'm triggering this BUG_ON during boot, which happens while freeing initrd
memory:
EIP is at free_init_pages+0x37/0xac
[<c01143f1>] free_initrd_mem+0x11/0x13
[<c03ce259>] free_initrd+0x13/0x29
[<c03cf647>] populate_rootfs+0xdc/0xe2
[<c01003af>] init+0x42/0x253
[<c0103bbb>] kernel_thread_helper+0x7/0x10
I'm not sure why this memory isn't aligned
2005 Apr 06
4
Query on Initramfs' and Initrd's coexistence
Hi
I am trying to have a built in initramfs along with the traditional initrd.
So I mount the initrd from the initramfs, but am facing problems in trying
to run the 'linuxrc'.
Following are the issues:
1. I mount the initrd from the initramfs and exceve 'linuxrc'.
It starts executing linuxrc, but gives the following errors and panics:
Red hat nash version 3.4.42 starting