Age | Commit message (Collapse) | Author |
|
currently we fail sylently later, make it explicit.
(closes: #524179)
Signed-off-by: maximilian attems <maks@debian.org>
|
|
merge 0.92bubuntu29
Signed-off-by: maximilian attems <maks@debian.org>
|
|
people still need to enable kernel mode setting,
but the module should be on the initramfs by default.
currently no other drm module supports kms yet.
Reported-by: Yves-Alexis Perez <corsac@debian.org>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
|
|
this was proposed in patch on #416063 by
Maik Zumstrull <Maik.Zumstrull@gmx.de>
but don't hardcode the list, just add all build ones:
ls /lib/modules/2.6.29-1-amd64/kernel/drivers/char/agp/
intel-agp.ko sis-agp.ko via-agp.ko
|
|
"with kernel mode setting, i'd imagine that including
framebuffer drivers becomes even more important, too"
-dilinger
this is basedon a patch by Maik Zumstrull <Maik.Zumstrull@gmx.de>,
but instead of hardcoding a list just copy over all fb from the
relevant driver directory.
first part of #416063.
|
|
First see if there is a $(uname -r) versioned firmware around
and if there is add it first.
should make ubuntu sync easier too, as they shipp their firmware there.
(closes: #521370)
|
|
Otherwise it likes to warn for e100 even if e1000e is in use:
grep e100 /proc/modules
e1000e 110896 0 - Live 0xffffffffa0028000
|
|
I needed to run update-initramfs w/ MODULES=dep (for some 15M BIOS size
limitation w/ lilo on an HP server), turns out that I found the same bug
as #507619 (please refer to it for details), except that I have a LUKS
format over the cciss device.
As bug #507619 describes:
"dep_add_modules() expects to find a /sys/block/cciss/c0d0p file, but
it should be trying /sys/block/cciss!c0d0"
It also mentions:
"fyi, I suspect this may also apply to old-style smart array devices,
where device names are similar, but use 'ida' intead of 'cciss' -
e.g. /dev/ida/c0d0p1."
The following patch fixes it for me (on cciss) and should also fix it
for ida devices.
[ patch got checked and tested life on #debian-boot channel, see below -maks ]
fixed warning:
mkinitramfs: missing cciss!c0d0p2 root /dev/mapper/quakelive-root /sys entry
of course, since the new value of block comes out of
/sys/block/dm-${minor}/slaves, it makes sense that it
would already be in sysfs syntax.
Tested-by: Timothee Besset <ttimo@ttimo.net>
|
|
update-initramfs: Generating /boot/initrd.img-2.6.26-1-versatile
mkinitramfs: missing mmcblk root /dev/mmcblk0p3 /sys entry
(closes: #520198)
Tested-by: Paul Malishev <afunix@hing.rednet.ru>
|
|
seems confusing for users..
|
|
woow that went unnoticed for some years now.
people seem really to use update-initramfs(8).
|
|
try to add one or the other.
|
|
Ferenc seems to be using the xvda1=img1,xvda2=img2 scheme of Xen disks
(this is what xentools gets you) rather than the whole disk with
partition scheme.
In the xvda1/xvda2 scheme /sys/block contains:
# ls /sys/block/
ram0 ram1 ram10 ram11 ram12 ram13 ram14 ram15 ram2 ram3
ram4 ram5 ram6 ram7 ram8 ram9 xvda1 xvda2
In the whole disk scheme it contains xvda as you would expect:
# ls /sys/block/
loop0 loop1 loop2 loop3 loop4 loop5 loop6 loop7 ram0
ram1 ram10 ram11 ram12 ram13 ram14 ram15 ram2 ram3 ram4
ram5 ram6 ram7 ram8 ram9 xvda
I've attached a patch which takes care of this difference.
[ remove largest suffix pattern, so that we don't stumble on big minors -maks ]
Signed-off-by: maximilian attems <maks@debian.org>
|
|
always remove the largest possible suffix pattern on the block device.
(closes: #513958)
Reported-by: Nicola Canepa <canne74@gmail.com>
|
|
since some keyboards will not be usable at the initramfs/busybox
prompt without them.
[ Ubuntu sync for 0.92bubuntu19 port it to Debian - maks ]
|
|
no need to deprecate it in initramfs-tools.
Lenny ships due to userspace with it and Juju firewire not yet
feature complete..
|
|
i've set up an encrypted loop-AES device as the root partition (boot
paramter dev=/dev/loopX) and update-initramfs fails with :
mkinitramfs: missing loop root /dev/loop2 /sys entry
|
|
The root fs is located on LVM and is described in
/etc/fstab with LABEL= notation, which leads
to the following mount output for root filesystem:
mount | grep "on / "
/dev/dm-0 on / type ext3 (rw,noatime,errors=remount-ro)
The /dev/dm-0 itself isn't a symlink to /dev/mapper/, therefore root var
remains /dev/dm-0 after readlink -f attempt.
fix the consequent root detection failure.
(closes: #508906)
|
|
module list
closes: #503216
|
|
|
|
same fix as cciss, see #507619
|
|
A coworker reported a lenny install failure today. Turns out he had
asked the installer to run mkinitramfs w/ MODULES=dep, which I'd never
tried before:
dl380g5:/home/dannf# mkinitramfs-kpkg -o /boot/initrd.img-2.6.26-1-686
2.6.26-1-686
mkinitramfs: missing cciss/c0d0p root /dev/cciss/c0d0p1 /sys entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
dep_add_modules() expects to find a /sys/block/cciss/c0d0p file, but
it should be trying /sys/block/cciss!c0d0:
(closes: #507619)
|
|
|
|
|
|
found under drivers/s390/block instead drivers/block location.
"allows to access disks under VM"
request by s390 porter Bastian Blank <waldi@debian.org>
|
|
lives under drivers/s390/scsi and not drivers/scsi
(closes: #498698)
|
|
mkinitramfs MODULES=dep detection didn't account for lvm on md, fixes
mkinitramfs: missing md root /dev/mapper/ts409-root /sys entry
(closes: #498237)
thanks for report to Rod Whitby <rod@whitby.id.au>
|
|
currently ext4 is named ext4dev, doesn't matter if it doesn't exit,
just list it to be future proof for the lenny release.
klibc fstype has already ext4dev support (closes: #494922)
|
|
Thanks to Kevin Price who sent me logs from the NSLU2, I know why it
works there.
The difference is that on the NSLU2 USB is a PCI device whereas on my
Orion machine it's not.
(closes: #494027)
|
|
Thanks to Jens Seidel <jensseidel@users.sf.net>
(closes: #493238)
|
|
ubuntu merge
|
|
ubuntu merge
|
|
this allows OLPC root, as root on mmc cards. (closes: #483431)
Thanks for initial patch to Robert Millan <rmh@aybabtu.com>.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
must not be a klibc bug, initramfs-tools is first suspect.
|
|
When MODULES is set to 'dep' in /etc/initramfs-tools/initramfs.conf,
update-initramfs fails to detect correctly the root filesystem(device
and fs used). When called, this command fails with:
----------
mkinitramfs: missing rootfs root rootfs /sys entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-2.6.25-2-amd64
----------
So we have 3 cases here. eval "$(mount | awk '/"... returns
* an UUID when the rootfs is mounted with the 'LABEL=' or 'UUID='.
The UUID is a relative symbolic link located in /dev/disk/by-uuid/
pointing to the real device.
* the real disk device.
* /dev/root
When "root=/dev/root", we have to figure out what it is, which is
done in the "if" block. Also changing the matching regex in front
to catch that type.
Once we got the symlink to the root device, we can use 'readlink' to
get the real device. Using 'readlink' on a file which is not a
symlink doesn't matters(case 2).
|
|
MODULES=list loads modules very early,
when the firmware loader udev might not be there yet.
thanks David Martínez Moreno <ender@tuenti.com> for report.
|
|
"ps3_sys_manager handles system shutdown, so having it in initramfs
allows the user to properly shutdown the system with the power
button if the root file system can not be mounted at boot.
Without it the user must do a forced poweroff."
Geoff Levand <geoffrey.levand@am.sony.com>
|
|
[ Ubuntu merge of better sparc support -maks ]
|
|
Debian never shipped the PS3PF legacy plattform,
only retain the relevant upstream accepted ps3 plattform drivers.
|
|
modules added to MODULES=most
the net section was missing quite a lot of the newer net driver,
add them all per hand. as we can't just ship drivers/net.
|
|
Using mkinitramfs-kpkg to build the ramdisk.
awk: /^md/0/{print substr($5, 1, 3); exit}
awk: ^ syntax error
mkinitramfs-kpkg failed to create initrd image.
Failed to create initrd image.
/proc/mdstat naming unchanged, thuse use same awk parsing.
|
|
check that the modalias really exists,
otherwise no need to add anything.
|
|
instead of searching non matching sysfs modules strings
PIIX_IDE != piix, just look up the modalias.
modprobe likes it too ;)
|
|
* missing i2o_block
* force_load when !udev
|
|
fstype just detects fine the fs,
even when running without udev.
|
|
do fstype stuff on top.
|
|
fix dep_add_modules(),
as bonus check rootfs output so that eventual unkown
rootfs get reported.
|
|
|
|
add it as a function of it's own
|