Unnamed repository
Go to file
WANG Chao 013bb485b8 module-setup: do not add duplicate ip=xxx
In case of iscsi boot, kernel cmdline will contain ip=xxx kernel
parameter for dracut setting up iscsi root in initramfs. For example:

"root=xxx ip=192.168.3.26:::255.255.255.0:localhost.localdomain:eno19:none ..."

dracut doesn't allow duplicate ip conf for the same network card. dracut
will not ignore the either of the duplicate. Instead, it refuses to
continue:

[   15.876306] dracut: FATAL: For argument 'ip=192.168.3.26:::255.255.255.0:localhost.localdomain:eno19:none'\n
Duplication configurations for 'eno19'
[   16.055513] dracut: Refusing to continue ev argument for multiple ip= lines

That's why in our code we don't add a duplicate ip conf when handling
the same network card the second time. But we never consider the case
that ip conf is already added in kernel cmdline for some special
purpose, for example, iscsi boot.

Now we also look up /proc/cmdline for ip conf. If it exists, we use the
existing one. The existing one should work out of box because dracut
will handle it in second kernel like it does for first kernel. That
said, the network card will be brought up and root disk will be mounted
under /sysroot.

Signed-off-by: WANG Chao <chaowang@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
2014-09-25 10:06:02 +08:00
anaconda-addon Rename the subpackage kdump-anaconda-addon 2014-05-22 18:32:43 +08:00
.gitignore Rebase makedumpfile-1.5.7 2014-09-19 11:29:35 +08:00
98-kexec.rules udev-rules: Restart kdump service on cpu ADD/REMOVE events 2014-09-15 21:55:07 +08:00
README README: Add a README file 2014-04-02 10:45:36 +08:00
dracut-kdump-capture.service Introduce kdump capture service 2014-08-05 13:13:32 +08:00
dracut-kdump-emergency.service kdump-emergency.service: executable uses absolute path 2014-08-28 13:05:56 +08:00
dracut-kdump-error-handler.service Introduce kdump error handling service 2014-08-05 13:13:32 +08:00
dracut-kdump-error-handler.sh Introduce kdump error handling service 2014-08-05 13:13:32 +08:00
dracut-kdump.sh Introduce kdump capture service 2014-08-05 13:13:32 +08:00
dracut-module-setup.sh module-setup: do not add duplicate ip=xxx 2014-09-25 10:06:02 +08:00
dracut-monitor_dd_progress monitor-dd-progress fix 2013-06-25 16:45:59 +08:00
fadump-howto.txt kdump: Add firmware-assisted dump howto document 2014-07-28 13:03:51 +08:00
kdump-dep-generator.sh kdump-dep-generator: Add kdump service dependencies on the fly 2014-04-17 11:27:31 +08:00
kdump-in-cluster-environment.txt Add fence_kdump support for generic clusters 2014-04-03 14:43:06 +08:00
kdump-lib-initramfs.sh Let systemd handle unmount 2014-08-06 12:02:59 +08:00
kdump-lib.sh pass mount info to dracut when default target is a separate disk 2014-04-17 11:27:31 +08:00
kdump.conf kdump.conf: renew the path section 2014-04-17 11:27:31 +08:00
kdump.conf.5 kdump.conf: renew the path section 2014-04-17 11:27:31 +08:00
kdump.service Disable the ratelimit of kdump service on hotplug events 2014-05-04 17:08:14 +08:00
kdump.sysconfig do not mount root twice 2012-07-12 11:15:35 +08:00
kdump.sysconfig.i386 kdump.sysconfig: default to "nofail" mount 2013-09-27 15:45:24 +08:00
kdump.sysconfig.ppc64 kdump.sysconfig: default to "nofail" mount 2013-09-27 15:45:24 +08:00
kdump.sysconfig.ppc64le ppc64le: Add arch specific sysconfig 2014-09-23 11:22:45 +08:00
kdump.sysconfig.s390x s390x, sysconfig: Change maxcpus=1 to nr_cpus=1 for s390x 2014-01-22 12:52:02 +08:00
kdump.sysconfig.x86_64 Add acpi_no_memhotplug to kdump kernel 2014-01-29 16:25:57 +08:00
kdumpctl kdumpctl: Use kexec file based syscall for secureboot enabled machines 2014-09-10 10:45:46 +08:00
kexec-kdump-howto.txt kexec-kdump-howto.txt: renew the path section 2014-04-17 11:27:31 +08:00
kexec-tools-2.0.3-disable-kexec-test.patch Disable kexec_test 2012-01-21 16:56:07 +08:00
kexec-tools-2.0.7-Provide-an-option-to-use-new-kexec-system-call.patch kexec: Provide an option to use new kexec system call 2014-09-10 10:44:24 +08:00
kexec-tools-2.0.7-kexec-ppc64-disabling-exception-handling-when-buildi.patch kexec/ppc64: disabling exception handling when building the purgatory 2014-09-15 21:55:02 +08:00
kexec-tools-2.0.7-kexec-ppc64-move-to-device-tree-version-17.patch kexec/ppc64: move to device tree version 17 2014-09-15 21:54:47 +08:00
kexec-tools-2.0.7-ppc64-kdump-Fix-ELF-header-endianess.patch ppc64/kdump: Fix ELF header endianess 2014-09-15 21:55:04 +08:00
kexec-tools.spec spec: fix ppc64le build failure 2014-09-25 10:05:49 +08:00
mkdumprd mkdumprd: try to get mount options from fstab first 2014-09-23 11:22:45 +08:00
mkdumprd.8 Remove comma which is redundant 2013-02-16 15:19:41 +08:00
rhcrashkernel-param rhcrashkernel-param: echo crashkernel=auto for rhel7 2012-08-20 15:01:47 +08:00
sources Rebase makedumpfile-1.5.7 2014-09-19 11:29:35 +08:00
zanata-notes.txt Add a notes for zanata process 2012-12-05 01:23:09 -05:00

README

Adding a patch to kexec-tools
=============================
There is a mailing list kexec@lists.fedoraproject.org where all the dicussion
related to fedora kexec-tools happen. All the patches are posted there for
inclusion and committed to kexec-tools after review.

So if you want your patches to be included in fedora kexec-tools package,
post these to kexec@lists.fedoraproject.org.

One can subscribe to list and browse through archives here.

https://admin.fedoraproject.org/mailman/listinfo/kexec