Bug 761334 - [F16 FEAT] dracut kdump adaptation
Summary: [F16 FEAT] dracut kdump adaptation
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 16
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-08 04:54 UTC by Dave Young
Modified: 2012-01-23 11:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-23 11:57:42 UTC
Type: ---


Attachments (Terms of Use)

Description Dave Young 2011-12-08 04:54:12 UTC
Description of problem:
a. Name of Feature: [F16 FEAT] dracut kdump adaptation
b. Feature Description:
  Current kdump mkdumprd is somehow duplication of dracut functions. It
added extra maintainace effort. Plan is moving from mkdumprd to dracut
for kdump initrd generation, thus we can also sync fedora/rhel kdump
more easily.

  This feature need dracut provide following functions:
  1. infrastructure for mounting disks/nfs as other than root/usr
  2. give a kdump target, dracut can detect and deal with the dracut
module dependencies, ie. nfs/lvm/iscsi/...

c. Feture Details:

TODOs for dracut disk mounting:
Copied from
https://docs.google.com/document/d/16V5KUUslXR-69HUlgeLH4_LIqpZcEUER0EnE_qWnXGQ/edit

Generator
module-setup.sh
extend host only functions to detect additional non-root devices also
extend host only functions to add configuration files for non-root
devices also
additional modules
1. ssh with scp
dracut
add options:
1. --mount "<dev>" "<somewhere>" “<fstype>” “<fsoptions>”
2. --add-fstab “<fstab file>"
Initramfs scripts
dracut-lib.sh
add_mount_point           <disk> <mountpoint> <filesystem> <fsopts>
Mount <disk> on <mountpoint> with <filesystem> and <fsopts> and call any
mount hooks, as soon, as it is mounted


inst_mount_hook        <mountpoint> <prio> <script>
Install a mount hook with priority <prio>, which executes <script> as
soon as <mountpoint> is mounted.


wait_for_mount         <mountpoint>
Installs a initqueue-finished script, which will cause the main loop
only to exit, if <mountpoint> is mounted.


wait_for_disk         <disk>
Installs a initqueue-finished script, which will cause the main loop
only to exit, if the device <disk> is recognized by the system.

d. Relavant info:

https://fedoraproject.org/wiki/Features/NewMkdumprd


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Harald Hoyer 2012-01-23 11:57:42 UTC
rawhide: dracut-014-61.git20120123.fc17


Note You need to log in before you can comment on or make changes to this bug.