summaryrefslogtreecommitdiff
path: root/hook-functions
AgeCommit message (Collapse)Author
2008-12-15Add atl1e, cxgb, ixgb, ixgbe, mlx4_core, netxen_nic, sfc, tehuti to net ↵maximilian attems
module list closes: #503216
2008-12-15hook-functions: alphebetize net drivers, fix typhoon typomaximilian attems
2008-12-14MODULES=dep fix for ida devicesmaximilian attems
same fix as cciss, see #507619
2008-12-14Fix MODULES=dep for cciss devicesdann frazier
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)
2008-09-15auto_add_modules: add dasd_diag_mod to dasd sectionmaximilian attems
2008-09-12add dasd_diag_mod to auto_add_modules block sectionmaximilian attems
found under drivers/s390/block instead drivers/block location. "allows to access disks under VM" request by s390 porter Bastian Blank <waldi@debian.org>
2008-09-12readd zfcp to auto_add_modulesmaximilian attems
lives under drivers/s390/scsi and not drivers/scsi (closes: #498698)
2008-09-08MODULES=dep fix for root lvm on mdmaximilian attems
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>
2008-08-15auto_add_modules: Add ext4 and ext4devmaximilian attems
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)
2008-08-12MODULES=dep fix for OrionMartin Michlmayr
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)
2008-08-12mkinitramfs: Fix usage and man outfile arg is not optional.maximilian attems
Thanks to Jens Seidel <jensseidel@users.sf.net> (closes: #493238)
2008-07-05Add udf for MODULES=mostmaximilian attems
ubuntu merge
2008-07-05Add virtio_pci for MODULES=mostmaximilian attems
ubuntu merge
2008-07-04MODULES=most add mmc host and card driversmaximilian attems
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>
2008-05-28hook-functions: MODULES=dep fix error messagemaximilian attems
must not be a klibc bug, initramfs-tools is first suspect.
2008-05-28initramfs-tools: Fix UUID rootfs detection with 'MODULES=dep'Glennie Vignarajah
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).
2008-04-29Documentation typo fixes addition.maximilian attems
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.
2008-04-10ps3: Add ps3_sys_manager to MODULES=dep ps3 modules.maximilian attems
"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>
2008-04-08hook-function: Add support for sunvnet and sunvdc in hook-functions.Fabio M. Di Nitto
[ Ubuntu merge of better sparc support -maks ]
2008-04-08MODULES=dep fix ps3 supportmaximilian attems
Debian never shipped the PS3PF legacy plattform, only retain the relevant upstream accepted ps3 plattform drivers.
2008-04-08hook-functions: Add atl1, cxgb3, e1000e, igb, ipg, niu, sky2 list of net ↵maximilian attems
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.
2007-12-26MODULES=dep fix for new /dev/md/X naming scheme (closes: #440694).maximilian attems
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.
2007-09-09hook-functions: protect sys_walk_modalias()maximilian attems
check that the modalias really exists, otherwise no need to add anything.
2007-09-08hook-functions: Add sys_walk_modalias() for IDEmaximilian attems
instead of searching non matching sysfs modules strings PIIX_IDE != piix, just look up the modalias. modprobe likes it too ;)
2007-09-08hook-functions: MODULES=dep fix I2O detection.maximilian attems
* missing i2o_block * force_load when !udev
2007-09-08hook-functions: don't force load rootfsmaximilian attems
fstype just detects fine the fs, even when running without udev.
2007-09-08hook-functions: reorder dep_add_modules()maximilian attems
do fstype stuff on top.
2007-09-07hook-functions: probe rootfs on auto typemaximilian attems
fix dep_add_modules(), as bonus check rootfs output so that eventual unkown rootfs get reported.
2007-08-23hook-functions: Add the new firewire modules.maximilian attems
2007-08-16hook-functions factor out sys_walk_mod_add()maximilian attems
add it as a function of it's own
2007-08-08hook-functions rephrase slightly the MODULES=dep error conditionmaximilian attems
goal is to get the space down for lenny.
2007-08-08hook-functions: fix dep_add_modules() for lvm, md and luks rootmaximilian attems
a better shot and try for finding the underlying root devices in the case of MODULES=dep and /sys walk. dep_add_modules() should be splitted..
2007-07-28hook-functions: Protect variables with local usageDavid Härdeman
bonus minor coding style cleanup
2007-07-04hook-functions: fix Xen bootmaximilian attems
2007-06-21hook-functions: fix variable typomaximilian attems
2007-05-27hook-functions: make version check in check_minkver more robust.David Härdeman
2007-05-03hook-functions: add firmware loading supportDavid Härdeman
newer modinfo outputs firmware files corresponding to the modules MODULE_FIRMWARE() field. Take care to add them automaticaly.
2007-05-01hook-funtions: copy_exec workDavid Härdeman
* Change copy_exec to use the same source and destination path if only one argument is given. * document how copy_exec determines the target path. This also fixes a minor bug, these two commands: copy_exec /some/thing /thing copy_exec /some/other/thing /thing Would previously print (note the incorrect path): W:copy_exec: Not copying /some/other/thing to $DESTDIR/thing/thing...
2007-05-01mkinitramfs: better heuristics for MODULES=depmaximilian attems
* add a first shoot that survives ide, scsi boot testing nfs still needs work let's see what other testers have to say * next step is to cut on the added libs for smaller initramfs enhances boot speed due to smaller initramfs for tuning freaks, others might still be better off with safe MODULES=most setting.
2007-04-16minor cleanups to get 0.87 ready:maximilian attems
- add changelog entries to david changes - change to my new debian.org email adresses in manpages too - module list is alphabetic
2007-04-13Add PS3 module loading functionality.David Härdeman
2007-04-02first prerelease 0.86 + merge 0.85fmaximilian attems
* kick mdrun script * update control for lenny + ubuntu * add _all_ ide, block and drivers * use MODPROBE_OPTIONS and kill any modprobed arg * small doc + whitespace fixes
2006-12-21- revert busybox hardlinking it's utitilitesmaximilian attems
- add drivers/ata - rework the framebuffer boot script - small docs changes
2006-12-14- show lilo error on lilo failuremaximilian attems
- add hppa zalon module - reduce size due to keeping only 1 busybox copy - warn on update mode when no initramfs exist and takeover not specified
2006-12-02- allow to disable backupmaximilian attems
- new bzr location - functional copy_dir_modules() - modprobe a bunch of ppc windfarm modules in thermal - provide output on error
2006-11-02- enhance mbr_check()maximilian attems
- fix /boot ro check - create fb devices unconditionaly
2006-10-18- improve run_bootloader (elilo, zipl)maximilian attems
- fix preinst sed command - bunch of minor fixes
2006-10-05add ide jmicron module + ubuntu changelogsmaximilian attems
add scsi qla4xxx module
2006-09-27- mkinitramfs: allow umask setting paranoidmaximilian attems
- revert an nfs changes small fixes over the place
2006-09-19- more nfs work (timeout, parsing, typo)maximilian attems
- lilo codeflow - add lasi700 scsi module