Harald Hoyer
51153fb18c
removed scsi_wait_scan from standard install
13 years ago
Dennis Gilmore
59aa65c9b2
ARM: make sure that we get the storage modules into the initramfs
13 years ago
Cong Wang
a6d3be9dd5
check kernel module existance
...
This patch adds check of kernel module existance and
propagate errors to upper callers.
In case of break other callers of instmods(), this patch
adds an option '-c' to it, only when "-c" is specified
we fail, otherwise, errors are ignored.
Reported-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Harald Hoyer <harald@redhat.com>
13 years ago
Olivier Blin
40913ad219
90kernel-modules/module-setup.sh: install xhci-hcd
...
to allow booting and using kbd devices from USB 3.0
13 years ago
Harald Hoyer
8b6e099892
90kernel-modules/module-setup.sh: exclude nfs* lockd from standard
...
do not install nfs* lockd filesystems for the standard kernel modules
13 years ago
Harald Hoyer
b6e244f794
90kernel-modules/module-setup.sh: install modules.* in installkernel()
...
modules.* should be in the kernel initramfs
13 years ago
Harald Hoyer
e0e2fb26c9
90kernel-modules: removed hard-removal of "ocfs2"
...
put omit_driver+=" ocfs2 " in the distribution configuration file
13 years ago
Harald Hoyer
dfb08e9f1c
removed now useless cleanup hooks
...
in Fedora 17, we unpack /boot/initramfs-$(uname -r).img
on shutdown for a pivot root to disassemble the root device
13 years ago
Harald Hoyer
682a2a9d1a
90kernel-modules/module-setup.sh: add "ata_piix" to hardcoded modules
13 years ago
Harald Hoyer
56ac6c7e76
move all file removal cleanups to "cleanup" hook
13 years ago
Harald Hoyer
a178ca6b5c
more cleanup in pre-pivot
13 years ago
Harald Hoyer
43a8f6133d
kernel-modules: add hid-logitech-dj to hardcoded hid devices
...
https://bugzilla.redhat.com/show_bug.cgi?id=786303
13 years ago
Harald Hoyer
39339512e2
plymouth/kernel: cleanup not needed parts for shutdown
...
remove plymouth and kernel parts from /run/initramfs, which are not
needed at shutdown.
https://bugzilla.redhat.com/show_bug.cgi?id=751189
13 years ago
James Buren
7fffc9f11f
add xz compression for kernel modules
13 years ago
Harald Hoyer
2e7b661681
90kernel-modules/module-setup.sh: install modules.order
...
Also install modules.order and all modules.builtin*
13 years ago
Colin Guthrie
fa20c18525
kernel-modules: Find (and ulitmately dereference) any symlinks in modprobe.d dir.
...
Also only do the top level of files (ignore any subdirs and files within)
13 years ago
Harald Hoyer
480d772f22
*/module-setup.sh: use host_fs_types host_devs
...
For the $hostonly case, use $host_fs_types and $host_devs to determine,
if a module has to be included in the initramfs.
13 years ago
Harald Hoyer
e696ade15d
90kernel-modules/module-setup.sh: include usb mass storage drivers
13 years ago
Harald Hoyer
e2d92b5adf
*/module-setup.sh: turn off debugging for module search
...
turn off debugging for module search, because it clutters the debug log
14 years ago
Michal Soltys
c32bda6bb9
bash3 compat patch
...
This patch replaces:
- {var}>... redirections with functionally identical eval construct +
explicit FDs
- ^^ and ,, case modifiers with temporary shopt
This allows us to lower minimum required bash version
to at least 3.1 (with current code).
Signed-off-by: Michal Soltys <soltys@ziu.info>
14 years ago
John Reiser
d23159a69c
dracut [PATCH]es: parallelize block_module filter and net_module_filter
...
Filtering modules requires enough work that instmods() in the
next pipeline stage was rarely busy. Parallelize the two
filters which do the most work. Also fix a filename-vs-contents
mistake in net_module_filter.
--
John Reiser, jreiser@BitWagon.com
>From f4533a2ceca52c443ddebec01eeaa35d51c39c1b Mon Sep 17 00:00:00 2001
From: John Reiser <jreiser@BitWagon.com>
Date: Tue, 13 Sep 2011 17:41:43 -0700
Subject: [PATCH 1/3] Parallelize block_module_filter
14 years ago
John Reiser
881eda695e
instmods: get filenames from stdin if no args; use it
...
Use bash "[[ string =~ pattern ]]" instead of "egrep -q".
Replace control-dominated serial fondling
for var in $(proc1); do proc2 var; done
with data-dominated parallel pipeline
proc1 | while read var; do proc2 var; done
Together this is a large savings.
[harald@redhat.com: fixed network kernel module filter]
14 years ago
Harald Hoyer
e59f58f854
use inst_simple to install non-binary files
14 years ago
Harald Hoyer
016c3cfed2
90kernel-modules: add unix module
14 years ago
Amadeusz Żołnowski
d083dd4c39
90kernel-modules: fixed handling rd.driver.post=
14 years ago
Harald Hoyer
29b10e65b1
dracut-functions: make local vars local and prefix with "_"
14 years ago
Harald Hoyer
3b403b32fc
removed trailing whitespaces
14 years ago
Harald Hoyer
3cf14ae1ae
parse-kernel.sh: wrong index was used in for loop
...
Thanks Mike Snitzer <msnitzer@redhat.com>
14 years ago
Amadeusz Żołnowski
64fcb3cce7
kernel-modules: inst modules.builtin if there's no modules.builtin.bin
...
Also report failure if none of them exist.
14 years ago
Harald Hoyer
fb59f4c967
get rid of absolute PATHs
14 years ago
Harald Hoyer
7838ab5010
kernel-modules/module-setup.sh: fix instmods $filesystems
...
especially in host_only mode, $filesystems was not honored
14 years ago
Harald Hoyer
5078c98abe
move insmodpost and blacklisting to 90kernel-modules
...
also correctly parse rd.driver.{blacklist,pre,post}
14 years ago
Harald Hoyer
4c4c8b7239
rd.driver.*: accept comma separated list
...
accept a comma seperated list of kernel drivers for
rd.driver.blacklist
rd.driver.pre
rd.driver.post
14 years ago
Harald Hoyer
9d49507f80
kernel-modules: add hid-cherry hid-logitech hid-microsoft kbd drivers
14 years ago
Harald Hoyer
71df3c4329
renamed module-info.sh to module-setup.sh
14 years ago
Harald Hoyer
95d2dabc25
replaced check,install,installkernel with module-info.sh
14 years ago
Harald Hoyer
3003cfdf9e
kernel-modules/installkernel: add hid_sunplus to keyboard drivers
14 years ago
Christian Heinz
ab9b7eee0a
fix installation of `modules.builtin.bin'
...
`modules.builtin.bin' is installed like a regular file, thereby ending
up in the wrong place when `--kmoddir' is in effect. Fix this by
specifying the installation destination.
14 years ago
Harald Hoyer
fa7ada31d0
new parameter option names with "rd.*" namespace
...
Renamed Options
Here is a list of options, which were used in dracut prior to
version 008, and their new replacement.
rdbreak
rd.break
rd_CCW
rd.ccw
rdcopystate
rd.copystate
rd_DASD_MOD
rd.dasd_mod.dasd
rd_DASD
rd.dasd
rdinitdebug rdnetdebug
rd.debug
rd_NO_DM
rd.dm=0
rd_DM_UUID
rd.dm.uuid
rdblacklist
rd.driver.blacklist
rdinsmodpost
rd.driver.post
rdloaddriver
rd.driver.pre
rd_NO_FSTAB
rd.fstab=0
rdinfo
rd.info
check
rd.live.check
rdlivedebug
rd.live.debug
live_dir
rd.live.dir
liveimg
rd.live.image
overlay
rd.live.overlay
readonly_overlay
rd.live.overlay.readonly
reset_overlay
rd.live.overlay.reset
live_ram
rd.live.ram
rd_NO_CRYPTTAB
rd.luks.crypttab=0
rd_LUKS_KEYDEV_UUID
rd.luks.keydev.uuid
rd_LUKS_KEYPATH
rd.luks.keypath
rd_NO_LUKS
rd.luks=0
rd_LUKS_UUID
rd.luks.uuid
rd_LUKS_UUID
rd.luks.uuid
rd_NO_LVMCONF
rd.lvm.conf
rd_LVM_LV
rd.lvm.lv
rd_NO_LVM
rd.lvm=0
rd_LVM_SNAPSHOT
rd.lvm.snapshot
rd_LVM_SNAPSIZE
rd.lvm.snapsize
rd_LVM_VG
rd.lvm.vg
rd_NO_MDADMCONF
rd.md.conf=0
rd_NO_MDIMSM
rd.md.imsm=0
rd_NO_MD
rd.md=0
rd_MD_UUID
rd.md.uuid
rd_NFS_DOMAIN
rd.nfs.domain
rd_NO_PLYMOUTH
rd.plymouth=0
rd_retry
rd.retry
rdshell
rd.shell
rd_NO_SPLASH
rd.splash
rdudevdebug
rd.udev.debug
rdudevinfo
rd.udev.info
rd_NO_ZFCPCONF
rd.zfcp.conf=0
rd_ZFCP
rd.zfcp
15 years ago
Amadeusz Żołnowski
6bde7a17be
suppress modprobe errors on builtins (credits to Kay Sievers)
...
Install /lib/modules/$kv/modules.builtin.bin to suppress modprobe error
messages saying module was not found, while it's built-in.
Credits go to Kay Sievers who enlighten us about meaning of this cool
file.
15 years ago
Harald Hoyer
cc02093d69
reformat source code
...
removed tabs and set indention to 4 spaces
added emacs and vi format headers
15 years ago
Andrey Borzenkov
0493f9c849
Fix ahci detection in kernel 2.6.35
...
Kernel 2.6.35 (may be, earlier) split ahci into libahci.ko and ahci.ko
and added ahci_platform.ko. As a result, drivers ahci and ahci_platform
do not contain any symbol that are checked for storage modules (it is
libahci.ko that references ata_scsi_ioctl now). So add additional
symbol ahci_init_controller; it seems this is expected to be called by
every driver based on libahci.ko.
Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
15 years ago
Harald Hoyer
5be225d299
use "grep" directly without "nm" to drop binutils requirement
15 years ago
Harald Hoyer
1d323cd938
kernel-modules: add more hardcoded modules
15 years ago
Harald Hoyer
e9e93e2ec6
kernel-modules: only remove ocfs2, if all filesystems are installed
15 years ago
Harald Hoyer
d4abad2288
kernel-modules: hardcode sr_mod
15 years ago
Harald Hoyer
3b0f71921d
kernel-modules/installkernel: force install some modules even in
...
hostonly mode
15 years ago
Harald Hoyer
a56e93c10c
kernel-modules: add keyboard kernel modules
15 years ago
Philippe Seewer
3121677949
parse-kernel.sh must have a shebang
15 years ago
Harald Hoyer
6ca1d346be
kernel: add rdloaddriver kernel command line parameter
...
rdloaddriver=<drivername>
force loading kernel module <drivername>
15 years ago