Age | Commit message (Collapse) | Author |
|
Signed-off-by: maximilian attems <maks@debian.org>
|
|
overseen variable renaming.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
shuts up copyright-should-refer-to-common-license-file-for-gpl.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
all of this software got fixed and was mostly seen in exp,
with cryptestup fixed long time ago.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Conflicts:
debian/control
|
|
mkinitramfs fails to generate a initrd file for root filesystems on an
old mylex raid controller (kernel module DAC960).
In my case this breaks installation for lenny (5.0.3) on a FJS Primergy
server - as this bug is not only in the mentioned version but also in
0.92 which ships on the lenny install cd: The installer can boot, as the
old kernel module is still present. But the base install step fails when
it tries to generate the initrd.
The error in detail, when invoking mkinitramfs manually with -x
-----------
(...)
+ manual_add_modules ext2
+ local mam_x firmwares firmware
++ modprobe --set-version=2.6.29.6-vs2.3.0.36.14-beng --ignore-install
--quiet --show-depends ext2
++ awk '/^insmod/ { print $2 }'
+ for mam_x in '$(modprobe --set-version="${version}" --ignore-install
--quiet
--show-depends "${1}" | awk '\''/^insmod/ { print $2 }'\'')'
+ '[' -e
/tmp/mkinitramfs_lNjzuV//lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/mbcache.ko
']'
++ dirname /lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/mbcache.ko
+ mkdir -p
/tmp/mkinitramfs_lNjzuV//lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs
++ dirname /lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/mbcache.ko
+ ln -s /lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/mbcache.ko
/tmp/mkinitramfs_lNjzuV//lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs
+ '[' n = y ']'
++ modinfo -F firmware
/lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/mbcache.ko
+ firmwares=
+ '[' -z '' ']'
+ continue
+ for mam_x in '$(modprobe --set-version="${version}" --ignore-install
--quiet
--show-depends "${1}" | awk '\''/^insmod/ { print $2 }'\'')'
+ '[' -e
/tmp/mkinitramfs_lNjzuV//lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2/ext2.ko
']'
++ dirname /lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2/ext2.ko
+ mkdir -p
/tmp/mkinitramfs_lNjzuV//lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2
++ dirname /lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2/ext2.ko
+ ln -s /lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2/ext2.ko
/tmp/mkinitramfs_lNjzuV//lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2
+ '[' n = y ']'
++ modinfo -F firmware
/lib/modules/2.6.29.6-vs2.3.0.36.14-beng/kernel/fs/ext2/ext2.ko
+ firmwares=
+ '[' -z '' ']'
+ continue
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ '[' /dev/rd/c0d0p1 '!=' /dev/rd/c0d0p1 ']'
+ block=rd/c0d0p1
+ block=rd/c
+ '[' -z rd/c ']'
+ '[' '!' -e /sys/block/rd/c ']'
+ echo 'mkinitramfs: for root /dev/rd/c0d0p1 missing rd/c /sys/block/ entry'
mkinitramfs: for root /dev/rd/c0d0p1 missing rd/c /sys/block/ entry
+ echo 'mkinitramfs: workaround is MODULES=most'
mkinitramfs: workaround is MODULES=most
+ echo 'mkinitramfs: Error please report the bug'
mkinitramfs: Error please report the bug
+ exit 1
-------------
So the reason is that mkinitramfs fails to derive the correct block
device notation from the root device as the DAC960 driver uses a strange
format for it.
Once figured out, this is easily corrected. Please find a short patch
for /usr/share/initramfs-tools/hook-functions attached.
Thank you,
Claus Herwig
--
CHECON EDV-Consulting und Redaktion
Claus Herwig * Barer Straße 70 * 80799 München
+49 89 27826981 * Fax 27826982 * c.herwig@checon.de
Closes: #579702
[ whitespace cleanups -maks ]
Signed-off-by: maximilian attems <maks@debian.org>
|
|
people use it and thus complain..
Closes: 577253
Signed-off-by: maximilian attems <maks@debian.org>
|
|
The public domain "license" is very liberal and thus allows
this to be relicensed under mostly any compatible license.
Although not strictly needed many passed contributors agreed on
the license change. Many especially asked for the "or any later version",
thus it is now licensed under GPL v2 or later.
This should ease collaboration with dracut.
Acked-by: Jeff Bailey <jbailey@raspberryginger.com>
Acked-by: Kees Cook <kees@outflux.net>
Acked-by: Matt Kraai <kraai@ftbfs.org>
Acked-by: Michal Pokrywka <mpokrywka@hoga.pl>
Acked-by: martin f krafft <madduck@madduck.net>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Andres Salomon <dilinger@queued.net>
Acked-by: Loïc Minier <lool@dooz.org>
Acked-by: Chris Lamb <chris@chris-lamb.co.uk>
Acked-by: Michael Prokop <mika@grml.org>
Acked-by: Ferenc Wagner <wferi@niif.hu>
Acked-by: Avi Rozen <avi.rozen@gmail.com>
Acked-by: Piotr Lewandowski <piotr.lewandowski@gmail.com>
Acked-by: Daniel Reichelt <debian@itamservices.de>
Acked-by: Colin Watson <cjwatson@ubuntu.com>
Acked-by: Fabio M. Di Nitto <fabbione@fabbione.net>
Acked-by: Axel Beckert <abe@deuxchevaux.org>
Acked-by: debian@x.ray.net
Acked-by: Maik Zumstrull <maik@zumstrull.net>
Acked-by: David Härdeman <david@hardeman.nu>
Acked-by: Martin Michlmayr <tbm@cyrius.com>
Acked-by: Ben Collins <bcollins@ubuntu.com>
Acked-by: Glennie Vignarajah <glennie@glennie.fr>
Acked-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Aaron M. Ucko <amu@alum.mit.edu>
Acked-by: kel@otaku42.de
Acked-by: Maximilian Gass <mxey@ghosthacking.net>
Acked-by: Joey Hess <joey@kitenet.net>
Acked-by: Gerfried Fuchs <rhonda@deb.at>
Acked-by: Tormod Volden <debian.tormod@gmail.com>
|
|
using kernel driver xhci.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
This reverts commit 836e5cf6ddb30757365c2b879b96958c250dcd7b.
due to partial upgrades this can only done after squueeze release.
Reopen: #506533
Closes: #577981
Signed-off-by: maximilian attems <maks@debian.org>
|
|
got axed while reverting the include any hid commit.
Closes: #577253
Signed-off-by: maximilian attems <maks@debian.org>
|
|
initramfs-tools currently requires a device to be hard-coded, but this
is not much use if the network device is not known ahead of time. If
the device specified in either /etc/initramfs-tools/initramfs.conf or
on the ip=xxx kernel command line.
usefull for multiple net devices.
Based on patch by Tim Small <tim@seoss.co.uk>
Closes: #566295, #575766
Reviewed-by: Vagrant Cascadian <vagrant@freegeek.org>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Signed-off-by: maximilian attems <maks@debian.org>
|
|
since a while already, rm ref.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
as mentioned by Christoph Bussenius in #535008, it does appear that
setting BOOTIF from the value in /proc/cmdline is needed. at the time
i wrote the patch, i'm not sure it was, but it definitely is now.
with these patchese applied, it seems to work. at least for the moment.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
looks like i missed a few things on implementing BOOTIF support properly.
somehow i managed to get the order of the mac address backwards. i know i
tested it many times..
Signed-off-by: maximilian attems <maks@debian.org>
|
|
"You do want to use -9 as far as LZO is concerned. The compression ratio is way
better, and the extraction time is actually *not* related to the
compression level" Albin Tonnerre
already pointed that out to Maximilian, forgot to put you on CC. Let's
keep the gzip "speed enthusiasts" happy and enable -9 for lzop only.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Albin Tonnerre sent a patch fixing the initramfs LZO decompression,
so heres my fix for initramfs-tools to have compete compression
support. Tell me if you want me to open a new bugreport.
On a side note: this will only work with a patched kernel (might be
upstream with 2.6.34), its a good idea to include a warning for those
running 2.6.33 from experimental
[ adding it on TODO of Lenny linux-2.6 2.6.32 ]
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Add direct reference to the file before dicussing the functions.
Reported-by: Christoph Anton Mitterer <calestyo@scientia.net>
|
|
newer findutils got uploaded to experimental
( and it was in principle findutils, who broke initramfs ;)
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Closes: 545728
Reported-by: Christoph Anton Mitterer <calestyo@scientia.net>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
use meaningful variable name.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
use meaningful variable s/mam_x/kmod/
loop directly on the modinfo output.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
|
|
got confused in course of #572858,
uppercase is for hardcoded device strings as here,
pick up RESUME and not resume from config file.
Closes: #576700
Signed-off-by: maximilian attems <maks@debian.org>
|
|
got confused in course of #572858,
uppercase is for hardcoded device strings as here,
pick up RESUME and not resume from config file.
Closes: #576700
Signed-off-by: maximilian attems <maks@debian.org>
|
|
|
|
(closes: #576677)
|
|
(closes: #576677)
|
|
/etc/initramfs-tools/conf.d/resume is often to be seen.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
usually gives a good indications when things go wrong.
|
|
not a fix for #576677, but at least some indication.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
might not be all, but a first go in stricter mkinitramfs.
as bonus remove old amusing unused varialbe from day 2..
Signed-off-by: maximilian attems <maks@debian.org>
|
|
better catch errors early..
Signed-off-by: maximilian attems <maks@debian.org>
|
|
nothing there to see allmost..
Signed-off-by: maximilian attems <maks@debian.org>
|
|
This documents problem with noexec mount options and fixes:
BTW: The information about mkinitramfs looking at $TMPDIR is missing in
the mkinitramfs(8) man page. Looked there (mostly for commandline
options) before reporting that bug. But even searching for "TMP" in
there now didn't find any hint on that.
[ s/must/should/, date ]
Signed-off-by: maximilian attems <maks@debian.org>
|
|
|
|
|
|
|
|
recommend way by dpkg maintainer, need to test.
|
|
recommend way by dpkg maintainer, need to test.
|
|
mktemp has marked the "-t" option as depcrecated,
support TMPDIR.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
just the relevant fixes
|
|
needs to include current sid versions.
|
|
hadn't checked that boot script before upload, see #576641.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
needs to include current sid versions.
|
|
hadn't checked that boot script before upload, see #576641.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
no point to recheck on every copy_exec.
now copy_exec starts to get redable..
Signed-off-by: maximilian attems <maks@debian.org>
|
|
try to have an easier logic flow, also:
* fail if wanted source does not exist
* do not overwrite, no point in warning this
add FIXME's to point missing /lib64 symlink parts.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
to bring forward current known issues.
|