No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
#:<pre># less /init.log</pre> | #:<pre># less /init.log</pre> | ||
#:<pre># dmesg | less</pre> | #:<pre># dmesg | less</pre> | ||
|report_info= | |report_info= | ||
== All bug reports == | |||
In all cases, the following should be mentioned and attached to your bug report: | |||
* The exact kernel command-line used. Typically from the bootloader configuration file (e.g. {{filename|/etc/grub.conf}}) or from {{filename|/proc/cmdline}} | |||
* A copy of your disk partition information from {{filename|/etc/fstab}} | |||
* A device listing from device-mapper. This can be obtained by running the command {{command|dmsetup ls --tree}} | |||
* A list of block device attributes including vol_id compatible mode. This can be obtained by running the commands {{command|blkid}} and {{command|blkid -o udev}} | |||
* Turn on dracut debugging (see [[How_to_debug_Dracut_problems#Debugging|the 'debugging dracut' section]]), and attach all relevant information from the boot log. This can be obtained by running the command {{command|dmesg{{!}}grep dracut}}. | |||
* If you use a dracut configuration file, please include {{filename|/etc/dracut.conf}} | |||
== Logical Volume Management related problems == | |||
As well as the information from [[How_to_debug_Dracut_problems#AllInfo|the 'all bug reports' section]], include the following information: | |||
* Include physical volume information by running the command: {{command|lvm pvdisplay}} | |||
* Include volume group information by running the command: {{command|lvm vgdisplay}} | |||
* Include logical volume information by running the command: {{command|lvm lvdisplay}} | |||
== Software RAID related problems == | |||
As well as the information from [[How_to_debug_Dracut_problems#AllInfo|the 'all bug reports' section]], include the following information: | |||
* If using software RAID disk partitions, please include the output of {{filename|/proc/mdstat}} | |||
== Network root device related problems == | |||
This section details information to include when experiencing problems on a system whose root device is located on a network attached volume (e.g. iSCSI, NFS or NBD). As well as the information from [[How_to_debug_Dracut_problems#AllInfo|the 'all bug reports' section]], include the following information: | |||
* Please include the output of {{command|ip addr show}} | |||
{{Anchor|Debugging}} | |||
}} | }} |
Latest revision as of 02:29, 19 October 2009
This page describes how to debug Dracut. For general information on how to file a bug, should you need to do so, please see Bugs and feature requests.
Identifying your problem area
- Remove rhgb and quiet from the kernel command line
- Add rdshell to the kernel command line. This will present a shell should dracut be unable to locate your root device
- Add rdshell rdinitdebug to the kernel command line so that dracut shell commands are printed as they are executed
- With dracut >= 002-11 [1], you can inspect the rdinitdebug output with:
# less /init.log
# dmesg | less
Information to include in your report
All bug reports
In all cases, the following should be mentioned and attached to your bug report:
- The exact kernel command-line used. Typically from the bootloader configuration file (e.g.
/etc/grub.conf
) or from/proc/cmdline
- A copy of your disk partition information from
/etc/fstab
- A device listing from device-mapper. This can be obtained by running the command
dmsetup ls --tree
- A list of block device attributes including vol_id compatible mode. This can be obtained by running the commands
blkid
andblkid -o udev
- Turn on dracut debugging (see the 'debugging dracut' section), and attach all relevant information from the boot log. This can be obtained by running the command
dmesg|grep dracut
. - If you use a dracut configuration file, please include
/etc/dracut.conf
As well as the information from the 'all bug reports' section, include the following information:
- Include physical volume information by running the command:
lvm pvdisplay
- Include volume group information by running the command:
lvm vgdisplay
- Include logical volume information by running the command:
lvm lvdisplay
As well as the information from the 'all bug reports' section, include the following information:
- If using software RAID disk partitions, please include the output of
/proc/mdstat
This section details information to include when experiencing problems on a system whose root device is located on a network attached volume (e.g. iSCSI, NFS or NBD). As well as the information from the 'all bug reports' section, include the following information:
- Please include the output of
ip addr show