From Fedora Project Wiki

m (add todo)
(Drop direct Test Days category membership)
 
(104 intermediate revisions by 24 users not shown)
Line 1: Line 1:
{|border="1"
{|border="1"
|-style="color: white; background-color: #3074c2; font-weight: bold"  
|-style="color: white; background-color: #3074c2; border:1px; font-weight: bold"  
| DATE || TIME || WHERE
| DATE || TIME || WHERE
|-
|-
| Thu August 27, 2009 || From ''12:00'' to ''21:00'' UTC (8am -> 5pm EDT) || [irc://irc.freenode.net/fedora-qa #fedora-qa])
| '''2009-08-27''' || All day || [irc://irc.freenode.net/fedora-test-day #fedora-test-day] ([http://webchat.freenode.net/?channels=fedora-test-day webirc])
|-
|-
|}
|}


=== What to test? ===
= What to test? =


Today's installment of Fedora Test Day will focus on:
Today's installment of Fedora Test Day will focus on the nash/mkinitrd replacement; [[Features/Dracut|Dracut]].  This page will outline several methods for enabling dracut on your system, and describe different root device storage scenarios where feedback is needed.  Whether you run fedora on a laptop, or on a stateless nfs-mounted remote filesystem ... [[Features/Dracut|dracut]] will be used.


* [[Features/Dracut]]
If you come to this page after the test day is completed, your testing is still valuable, and you can use the information on this page to test with your system and provide feedback.


=== Who's available ===  
= Who's available =


The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...
* Development - [[User:harald|Harald Hoyer]]
* Development - [[User:harald|Harald Hoyer]], [[HansdeGoede|Hans de Goede]]
* Quality Assurance - [[User:Jlaska|James Laska]], [[User:Johannbg|Jóhann B.]]
* Quality Assurance - [[User:Jlaska|James Laska]], [[User:Johannbg|Jóhann B.]]


=== Prerequisite for Test Day ===  
= What's needed to test =


List any prerequisite needs for the test eventA fresh system, virtualized guest, a blank DVD ... a desire to break software?
* A system with some kind of network connection
* Your hardware profile uploaded to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions]
* An installed Fedora distribution, either:
** [[Releases/Rawhide|Rawhide]] or the live CD available for this test day (see below).
** Or an previously installed {{FedoraVersion|long|11}} system (see [[http://docs.fedoraproject.org/install-guide/f{{FedoraVersion|11}} Installation guide])


* Enough free space on /boot
= How to test? =
* Usb externally connected HD IDE/SATA
* Empty HD IDE/SATA/SCSI
* Free space on HD
* Rawhide Fully updated


=== How to test? ===
== '''Update To Rawhide''' ==


High level details on how a contributor can get involved. This can include (but not limited to):
See the instructions on the [[Releases/Rawhide|Rawhide]] page on the various ways in which you can install or update to Rawhide. Alternatively, see below ...


* Areas to target with exploratory testing
== '''Live Image''' ==
* A list of pre-defined test cases to execute
* How to report back results


=== Test Cases and Results ===
Optionally, you may download a non-destructive rawhide live image for your architecture. Tips on using a live image are available at [[FedoraLiveCD]].


{{admon/note|FIXME|Test cases coming soon ...}}
{|
! Architecture
|-
| [http://alt.fedoraproject.org/pub/alt/nightly-composes/desktop/ i686]
|-
| [http://alt.fedoraproject.org/pub/alt/nightly-composes/desktop/ x86-64]
|}
 
== Test ==
 
=== Enable Dracut ===
 
To test [[Features/Dracut|dracut]], you will first need to know how to enable dracut support for the distribution you are testing:
* When testing on {{FedoraVersion|long|12}} Alpha (or rawhide) - [[QA:Testcase Dracut switch to host-built ramdisk]]
* When testing on {{FedoraVersion|long|11}} - [[QA:Testcase Dracut switch to locally built ramdisk]]
* Alternatively, if using the [[Releases/Rawhide|rawhide]] live image - [[QA:Testcase_Dracut_live_image]]
 
{{admon/note|Latest F-11 dracut packages|If testing on Fedora 11, be sure you are using the latest packages available.  At the time of the test day, the latest packages is [https://admin.fedoraproject.org/updates/dracut-0.9-2.fc11 dracut-0.9-2.fc11].  If available, you can install the packages from the ''updates-testing'' repository:
 
<pre>
# yum --enablerepo=updates-testing update dracut
</pre>
If not available, you can also install directly from the build system:
<pre>
# yum install koji
# cd $(mktemp -d)
# koji download-build 129497
# rpm -Fvh *.rpm
</pre>
}}
 
=== Basic testing ===
 
To do a simple test, all you need to do is enable Dracut according to the appropriate test case above, then try and boot your system. Report your result in the results table. To find the root= parameter that was used in your test, run {{command|cat /proc/cmdline}}: it will be shown in the result, usually as the second parameter.
 
=== Advanced testing ===
 
The focus for the dracut test day is to exercise as many different root device partitioning schemas as possible, so if you are confident in your abilities to change the system's partitioning scheme, please try as many variations as possible and report each separately.  The following section lists some sample scenarios and provides guidance on creating the partitioning scheme.  These tests can be performed on [[Releases/Rawhide|rawhide]], {{FedoraVersion|long|12}} Alpha, {{FedoraVersion|long|11}} or using the provided live image.  In all cases, be sure to confirm you are testing with a dracut generated initial ramdisk image.
 
{| class="wikitable sortable" border="1"
|+ '''Local root volume tests'''
! Root=... !! Suggested test case
|-
| root=/dev/sda1 || [[QA:Testcase_Dracut_root=partition]]
|-
| root=LABEL=... || [[QA:Testcase_Dracut_root=LABEL]]
|-
| root=UUID=... || [[QA:Testcases_anaconda_ext4_rootfs_on_disk_partition]]
|-
| root=/dev/mapper/VolGroup00-LogVol00 (LVM) || [[QA:Testcase_Anaconda_autopart_install]]
|-
| root=/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part1 (udev) || [[QA:Testcase_Dracut_root=udev]]
|-
| root=/dev/luks-UUID || [[QA:Testcase_Anaconda_autopart_(encrypted)_install]]
|-
| root= (DMRAID) || [[QA:Testcase_Anaconda_partitioning_dmraid_rootfs]]
|-
| root=/dev/md0 (RAID) || [[QA:Testcase_anaconda_rootfs_on_RAID1]]
|-
| root=/dev/dm-0 (encrypted LVM on RAID) || [[QA:Testcase_anaconda_encrypted_lvm_on_raid]]
|-
|}
 
 
{| class="wikitable sortable" border="1"
|+ '''Network accessible root volume tests'''
! Root=... !! Suggested test case
|-
| iSCSI without iBFT|| [[QA:Test_Plans/iSCSI_Installation_Test_plan#Root_partition_on_iSCSI_target|root on iSCSI without iBFT]]
|-
| iSCSI with iBFT || [[QA:Testcase_Anaconda_rootfs_on_iSCSI_with_iBFT]]
|-
| root on NFS || [[QA:Testcase_Dracut_root=nfs]]
|-
| root on NBD || [[QA:Testcase_Dracut_root=nbd]]
|-
|}
 
== Report your results ==
 
If you have problems with any of the tests, report a bug to [https://bugzilla.redhat.com Bugzilla] usually for the component [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=rawhide&component=dracut dracut]. If you are unsure about exactly how to file the report, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below, following the example results from the first line as a template.
 
The ''first'' column should be your name with a link to your User page in the Wiki if you have one, and the ''second'' should be a link to your Smolt hardware profile (see above for a link with instructions on submitting your hardware profile to Smolt). The next two columns should reflect the test you performed and the result.  For example, if you tested dracut support for booting a root device using the file system label, you would enter ''root=LABEL=foo''.  If any bugs are encountered, be sure to consult [[How_to_debug_Dracut_problems]] for guidance and add a link to the bug report in the References column (as in the example line).
 
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}}
* If you use a dracut configuration file, please include {{filename|/etc/dracut.conf}}
 
= Results =
 
=== Issues identified ===
 
Use the following table to detail problems discovered or results that don't match expectations.
 
{| class="wikitable sortable" border="1"
! User
! Smolt Profile
! Test scenario
! References
|-
| [[User:jlaska|jlaska]]
| [http://www.smolts.org/show?uuid=pub_UUID HW]
| root=/dev/md0 (RAID) <ref>/dev/md127 != /dev/md0 - see {{bz|518793}}</ref>
| <references/>
|-
| [[User:Rhe|Rhe]]
| [http://www.smolts.org/client/show/pub_b86d99c9-cd50-49c1-9255-34b9cd7cd901 HW] (VMWARE F11)
| root=/dev/mapper/VolGroup-lv_root<ref>{{bz|519681}}</ref>
| <references/>
|-
| [[User:emcnabb|emcnabb]]
| [http://www.smolts.org/client/show/pub_32340bc1-d742-4a0c-8680-fce42e9f0efe HW] (F11)
| root=root=/dev/mapper/volgrp-root<ref>{{bz|519733}}</ref>
| <references/>
|-
| [[User:oldfart|oldfart]]
| [http://www.smolts.org/client/show/pub_f482caea-3aea-435a-8556-26fbc2056918 HW] (F11)
| root=/dev/mapper/vg_p5ewspro-fedora11 (LV over raid)<ref>{{bz|513267}}</ref>
| <references/>
|-
| [[User:hdong|hdong]]
| smolt error,VirtualBox-3.0.4_50677_f11-1.x86_64,F12 Rawhide i386,dracut-0.9-6.f12,kernel-2.6.31-0.125.4.2.rc5.git2.fc12.i686,soft RAID
| root=/dev/md0(RAID1)-mdadm: failed to run array /dev/md127:Device or resource busy<ref>{{bz|518793}}</ref>
| <references/>
|-
| [[User:jlaska|jlaska]]
| [http://www.smolts.org/client/show/pub_42fe5e1a-9e94-41c4-8dbc-682a9a2a5ff3 HW] (KVM Rawhide guest)
| root=/dev/mapper/luks-478e81c0-9738-47e2-8a84-74639528032e <ref>{{bz|520109}} - LVM + RAID + LUKS fails to boot using dracut every other time</ref>
| <references/>
|-
| [[User:jlaska|jlaska]]
| [http://www.smolts.org/client/show/pub_108ae2e3-baa7-45c2-b2e6-b0edbd413799 HW] cciss
| root=/dev/mapper/vg_hpdl585g201-lv_root <ref>{{bz|520125}} - Dracut fails to boot on cciss storage hardware</ref>
| <references/>
|-
| [[User:Awilliam|adamw]]
| HW irrelevant
| root on a live USB <ref>{{bz|520207}} - Dracut-based live CD converted to live USB does not boot</ref>
| <references/>
|}
 
=== Things that just work ===
 
Hopefully your testing reveals a list of things that work as expected.  Please let us know what test scenarios behaved flawlessly.
 
{| class="wikitable sortable" border="1"
! User
! Smolt Profile
! Test scenario
! References
|-
| [[User:jlaska|jlaska]]
| [http://www.smolts.org/client/show/pub_0f90f14b-a9b7-4b0b-909a-441caa48775f HW] (KVM Rawhide guest)
| root=/dev/vda2
| Worked, no problems <references/>
|-
| [[User:jlaska|jlaska]]
| [http://www.smolts.org/client/show/pub_0f90f14b-a9b7-4b0b-909a-441caa48775f HW] (KVM Rawhide guest)
| root=LABEL=rootfs
| Worked, no problems <references/>
|-
| [[User:jlaska|jlaska]]
| [http://www.smolts.org/client/show/pub_0f90f14b-a9b7-4b0b-909a-441caa48775f HW] (KVM Rawhide guest)
| root=UUID=ffd49db4-0f17-4379-9d1f-ec6a8056d5c8
| Worked, no problems <references/>
|-
| [[User:Rhe|Rhe]]
| [http://www.smolts.org/client/show/pub_291e4d62-7067-4453-9c55-08a96d240582 HW] (VMWARE Rawhide guest)
| root=UUID=e428a9f4-9713-47a6-9e29-8572le672629
| Worked, no problems <references/>
|-
| [[User:Rhe|Rhe]]
| [http://www.smolts.org/client/show/pub_291e4d62-7067-4453-9c55-08a96d240582 HW] (VMWARE Rawhide guest)
| root=LABEL=dracut
| Worked, no problems <references/>
|-
| [[User:Rhe|Rhe]]
| [http://www.smolts.org/client/show/pub_291e4d62-7067-4453-9c55-08a96d240582 HW] (VMWARE Rawhide guest)
| root=/dev/mapper/VolGroup-lv_root
| Worked, no problems <references/>
|-
| [[User:atodorov|atodorov]]
| (xen PV guest)
| NBD with root=nbd:ip:port:fstype
| Worked, no problems <references/>
|-
| [[User:atodorov|atodorov]]
| (xen PV guest)
| NBD with root=UUID=UU-ID-BY-BLKID netroot=nbd:ip:port:fstype
| Worked, no problems <references/>
|-
| Michal Nowak
| (KVM guest)
| root=/dev/mapper/VolGroup-lv_root
| Worked, no problems <references/>
|-
| Michal Nowak
| F-11
| local img via dracut generation
| ''W: Possible missing firmware ql8100_fw.bin for module qla2xxx.ko'' spotted. Was told is OK.<references/>
|-
| [[User:jstodola|Jan Stodola]]
| (f11, KVM guest, x86_64)
| NFS with root=ip:/path
| Worked, no problems <references/>
|-
| [[User:jlaska|jlaska]]
| [http://www.smolts.org/client/show/pub_3bd24268-1e4f-4216-a9aa-0db4b8152595 HW] - F11 x86_64 with dracut-0.9-2.fc11
| root=/dev/mapper/VolGroup00-f11_root (LVM)
root=UUID=32aafef6-eccd-4047-b94a-4e0bd9c85101 (LVM)
| success
|-
| [[User:mebourne|mebourne]]
| [http://www.smolts.org/client/show/pub_3c52e0f8-3461-470b-91af-de36e828fb39 HW] - F11 x86_64 with dracut-0.9-2.fc11
| root=UUID=63aad468-b185-4404-b4e9-c00b4f2a5dbe luks encrypted PV, root on LVM<ref>{{bz|519537}}</ref>
| now working great<references/>
|-
| [[User:mebourne|mebourne]]
| [http://www.smolts.org/client/show/pub_0768bee2-0df5-4c3e-9786-404d2f4b8a60 HW] - F11 x86_64 with dracut-0.9-2.fc11 and PXE boot
| root=dhcp (dhcp root-path "nbd:192.168.65.2:2000:ext3:ro,noatime")
root=nbd:192.168.65.2:2000:ext3:ro,noatime
| Worked. root=<uuid> (as suggested by dracut-gencmdline) didn't work
root=/dev/nbd0 which worked with mkinitrd didn't work<references/>
|-
| [[User:atodorov|atodorov]]
| (xen PV guest)
| iSCSI without iBFT - root=UUID=... netroot=iscsi:...
| Worked, no problems <references/>
|-
| [[User:emcnabb|emcnabb]]
| [http://www.smolts.org/client/show/pub_32340bc1-d742-4a0c-8680-fce42e9f0efe HW] - F11 x86_64 with dracut-0.9-2.fc11
| root=/dev/mapper/volgrp-root (btrfs)
| Worked, but did see {{bz|519720}} (should be fixed in rawhide version of udev) and {{bz|519733}}.<references/>
|-
| [[User:jstodola|Jan Stodola]]
| [http://www.smolts.org/client/show/pub_278a34b8-61c8-424a-bf43-f7b05f6d8224 HW] (F11 ppc64 dracut-0.9-1.fc11)
| root=/dev/sdb1
| Worked, no problems <references/>
|-
| [[User:jkoten|jkoten]]
| [http://www.smolts.org/client/show/pub_5eef7c88-4bef-4197-8f96-f003f0cccea6 HW] - Rawhide x86_64 with dracut-0.9-2.fc12
| root=/dev/sda3
root=LABEL=rawhideroot
 
root=UUID=4290fd44-2971-48d1-bf57-1d2f8d58edd3
 
root=/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part3
| Worked, no problems
|-
| [[User:jstodola|Jan Stodola]]
| F11, KVM, x86_64, dracut-0.9-2.fc11
| root=/dev/mapper/VolGroup-lv_root (LVM is encrypted)
| Worked, no problems <references/>
|-
| [[User:jstodola|Jan Stodola]]
| F11, KVM, x86_64, dracut-0.9-2.fc11
| root=/dev/mapper/luks-59f3bc15-e4e2-4131-9b41-7d30a512732c (encrypted ext4 on /dev/sda2)
| Worked, no problems <references/>
|-
| mgr
| [http://www.smolts.org/client/show/show/pub_88876de3-9ee7-42c3-8c0d-a4955aa9558d HW] - VirtualBox 3.0.4 F11 x86_64 guest with dracut-0.9-2.fc11
| root=UUID=e1f390dc-2cf4-4536-928c-af367ce9fa1d
| Worked with dracut-0.9-2, did not work with dracut-0.9-1 <references/>
|-
| [[User:jlaska|jlaska]]
| [http://www.smolts.org/client/show/pub_42fe5e1a-9e94-41c4-8dbc-682a9a2a5ff3 HW] (KVM Rawhide guest)
| root=/dev/mapper/luks-478e81c0-9738-47e2-8a84-74639528032e (RAID + LVM + LUKS)
| Failed to boot once ... but has booted fine several times. <references/>
|-
| stan
| [http://www.smolts.org/client/show/pub_e15b9aa5-3d1c-4225-824c-20557d4241e4 HW] - F11 x86_64 with dracut-0.9-2.fc11
| root=UUID=c94b5547-e098-45ca-8776-cce0e0cd6bac
| Worked with dracut-0.9-2, though there were some warning messages before udev started. Could not find program name in proc/stat, loop nodes in use, from memory. <references/>
|-
| stan
| [http://www.smolts.org/client/show/pub_e15b9aa5-3d1c-4225-824c-20557d4241e4 HW] - F11 x86_64 with dracut-0.9-1.fc11
| root=UUID=c94b5547-e098-45ca-8776-cce0e0cd6bac
| Worked without issue using dracut-0.9-1 when the dracut generated initramfs was compiled into the kernel.  Failed otherwise.  <references/>
|-
| fluo
| [http://www.smolts.org/client/show/pub_e15b9aa5-3d1c-4225-824c-20557d4241e4 HW] - vmware F11 i386 with dracut-0.9-2.fc11
| root=/dev/mapper/VolGroup-lv_root
| Worked without issue using dracut-0.9-2
|-
| [[User:mbanas|Martin Banas]]
| F11, kvm, i386, dracut-0.9-2.fc11
| root=/dev/mapper/VolGroup-lv_root (LVM encrypted)
| Worked, no problems <references/>
|-
| [[User:mbanas|Martin Banas]]
| [http://www.smolts.org/client/show/pub_eef0bdf1-5b8c-4f98-b43f-83f03a949b00 HW] (F11 ppc64 dracut-0.9-2.fc11)
| root=/dev/mapper/Volgroup-lv_root
| Worked, no problems <references/>
|-
| guaneryu
| F12 Rawhide i386
| root=/dev/mapper/VolGroup-lv_root
root=LABEL=testday-20090820
 
root=UUID=7e186d1b-b7dc-4020-9bb0-c2fa848fe7c5
 
| Worked, no problems
|-
| [[User:czhang|Caspar Zhang]]
| [http://www.smolts.org/client/show/pub_88fa9d19-9e4f-41e2-8e01-7907fac42c7f HW] (VirtualBox,F12,i386,with dracut-0.9-6.f12)
| root=/dev/mapper/vg_dhcp65179-lv_root
root=UUID=cd76c339-c558-4046-844c-840952361ec3
| Worked without problems
|-
| hdong
| smolt error,VirtualBox,F12,i386,dracut-0.9-2.f12,LVM
| root=/dev/mapper/Volgroup-lv_root
root=LABEL=dracut
 
root=UUID=49ea0fca-86ab-41f4-8cd6-fee7d26074f9
 
| Worked, no problems
|-
| [[User:jlaska|jlaska]]
| [http://www.smolts.org/client/show/pub_08936ac5-a6cf-436b-967c-671308ebfc48 HW] iSCSI root ('''no''' iBFT)
| root=UUID=fdca2e06-b8de-4a0d-a683-8ab37e4597bf netroot=iscsi:@10.10.9.125::3260::iqn.2009-02.org.fedoraproject:for.all ip=eth1:dhcp
| Worked ... failed to boot the first time ... but worked on reboot ... perhaps a network timeout?
|-
| caiqian
| [http://www.smolts.org/client/show/pub_3905dfac-2eb5-4330-ba22-daaae1045732 HW] - F11 i386 with dracut 0.9-6.fc12
| root=UUID=8647a69e-799b-4abc-aeb8-2644a4519fe1 (ext3)
| Worked, no problem.
|-
| caiqian
| [http://www.smolts.org/client/show/pub_3905dfac-2eb5-4330-ba22-daaae1045732 HW] - F11 i386 with dracut 0.9-6.fc12
| root=LABEL=dracut (ext3)
| Worked, no problem.
|-
| caiqian
| [http://www.smolts.org/client/show/pub_3905dfac-2eb5-4330-ba22-daaae1045732 HW] - F11 i386 with dracut 0.9-6.fc12
| root=/dev/sda1 (ext3)
| Worked, no problem.
|-
| caiqian
| [http://www.smolts.org/client/show/pub_3905dfac-2eb5-4330-ba22-daaae1045732 HW] - F11 i386 with dracut 0.9-6.fc12
| root=/dev/disk/by-path/pci-0000:00:14.1-scsi-0:0:0:0-part1 (ext3)
| Worked, no problem.
|-
| caiqian
| [http://www.smolts.org/client/show/pub_521efa22-3e1e-475c-90da-c5f6ab106794 HW] - F11 i386 with dracut 0.9-2.fc11 (LUKS + LVM + ext4)
| root=/dev/mapper/luks-11e28470-0ef9-47ee-850a-e83947c206ce
| Worked, but no graphical password input screen and nice Fedora icon seats in the middle of the screen. Only a text mode password input screen and progress bars at the bottom. Possible interaction problem with plymouth?
|-
| caiqian
| [http://www.smolts.org/client/show/pub_521efa22-3e1e-475c-90da-c5f6ab106794 HW] - F11 i386 with dracut 0.9-2.fc11
| LUKS + MDRAID0 + ext4
| Worked, but no graphical password input screen and nice Fedora icon seats in the middle of the screen. Only a text mode password input screen and progress bars at the bottom. Possible interaction problem with plymouth?
|-
| caiqian
| [http://www.smolts.org/client/show/pub_26ace79e-cf8f-497e-a1c9-5bdf7f8871b6 HW] - F11 i386 with dracut 0.9-2.fc11
| root=/dev/mapper/VolGroup-LogVol00 (LVM + MDRAID0 + ext4)
| Worked, no problem.
|-
| [[User:luya|Luya]]
| [http://www.smolts.org/client/show/pub_af4a15fa-3589-4dd8-a6cf-4d7a02ff38d3 HW] - F11 x86-64 with dracut 0.9-2.fc11
| root=/dev/mapper/VolGroup-LogVol00 (LVM + ext4)
| Worked, no problem.Note there were warning message about missing firmwares that can be safely ignored.
|-
| [[User:jlaska|jlaska]]
| [http://www.smolts.org/client/show/pub_9f786663-5fdf-425e-ad85-ade7c15ced53 IBM Power6 ppc64] using rawhide-20090903 (anaconda-12.20)
| root=root=/dev/mapper/vg_test1138-lv_root (LVM + ext4)
| Booted fine on ppc
|-
| [[User:Amitshah|Amitshah]]
| F12 Alpha KVM guest
| Virtio block, net
| Worked, no problems
|-
|}


[[Category:Test Days]]
[[Category:Fedora 12 Test Days]]

Latest revision as of 19:42, 26 June 2015

DATE TIME WHERE
2009-08-27 All day #fedora-test-day (webirc)

What to test?[edit]

Today's installment of Fedora Test Day will focus on the nash/mkinitrd replacement; Dracut. This page will outline several methods for enabling dracut on your system, and describe different root device storage scenarios where feedback is needed. Whether you run fedora on a laptop, or on a stateless nfs-mounted remote filesystem ... dracut will be used.

If you come to this page after the test day is completed, your testing is still valuable, and you can use the information on this page to test with your system and provide feedback.

Who's available[edit]

The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...

What's needed to test[edit]

  • A system with some kind of network connection
  • Your hardware profile uploaded to Smolt according to these instructions
  • An installed Fedora distribution, either:
    • Rawhide or the live CD available for this test day (see below).
    • Or an previously installed Fedora 11 system (see [Installation guide)

How to test?[edit]

Update To Rawhide[edit]

See the instructions on the Rawhide page on the various ways in which you can install or update to Rawhide. Alternatively, see below ...

Live Image[edit]

Optionally, you may download a non-destructive rawhide live image for your architecture. Tips on using a live image are available at FedoraLiveCD.

Architecture
i686
x86-64

Test[edit]

Enable Dracut[edit]

To test dracut, you will first need to know how to enable dracut support for the distribution you are testing:

Latest F-11 dracut packages
If testing on Fedora 11, be sure you are using the latest packages available. At the time of the test day, the latest packages is dracut-0.9-2.fc11. If available, you can install the packages from the updates-testing repository:
# yum --enablerepo=updates-testing update dracut

If not available, you can also install directly from the build system:

# yum install koji
# cd $(mktemp -d)
# koji download-build 129497
# rpm -Fvh *.rpm

Basic testing[edit]

To do a simple test, all you need to do is enable Dracut according to the appropriate test case above, then try and boot your system. Report your result in the results table. To find the root= parameter that was used in your test, run cat /proc/cmdline: it will be shown in the result, usually as the second parameter.

Advanced testing[edit]

The focus for the dracut test day is to exercise as many different root device partitioning schemas as possible, so if you are confident in your abilities to change the system's partitioning scheme, please try as many variations as possible and report each separately. The following section lists some sample scenarios and provides guidance on creating the partitioning scheme. These tests can be performed on rawhide, Fedora 12 Alpha, Fedora 11 or using the provided live image. In all cases, be sure to confirm you are testing with a dracut generated initial ramdisk image.

Local root volume tests
Root=... Suggested test case
root=/dev/sda1 QA:Testcase_Dracut_root=partition
root=LABEL=... QA:Testcase_Dracut_root=LABEL
root=UUID=... QA:Testcases_anaconda_ext4_rootfs_on_disk_partition
root=/dev/mapper/VolGroup00-LogVol00 (LVM) QA:Testcase_Anaconda_autopart_install
root=/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part1 (udev) QA:Testcase_Dracut_root=udev
root=/dev/luks-UUID QA:Testcase_Anaconda_autopart_(encrypted)_install
root= (DMRAID) QA:Testcase_Anaconda_partitioning_dmraid_rootfs
root=/dev/md0 (RAID) QA:Testcase_anaconda_rootfs_on_RAID1
root=/dev/dm-0 (encrypted LVM on RAID) QA:Testcase_anaconda_encrypted_lvm_on_raid


Network accessible root volume tests
Root=... Suggested test case
iSCSI without iBFT root on iSCSI without iBFT
iSCSI with iBFT QA:Testcase_Anaconda_rootfs_on_iSCSI_with_iBFT
root on NFS QA:Testcase_Dracut_root=nfs
root on NBD QA:Testcase_Dracut_root=nbd

Report your results[edit]

If you have problems with any of the tests, report a bug to Bugzilla usually for the component dracut. If you are unsure about exactly how to file the report, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below, following the example results from the first line as a template.

The first column should be your name with a link to your User page in the Wiki if you have one, and the second should be a link to your Smolt hardware profile (see above for a link with instructions on submitting your hardware profile to Smolt). The next two columns should reflect the test you performed and the result. For example, if you tested dracut support for booting a root device using the file system label, you would enter root=LABEL=foo. If any bugs are encountered, be sure to consult How_to_debug_Dracut_problems for guidance and add a link to the bug report in the References column (as in the example line).

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 and blkid -o udev
  • If you use a dracut configuration file, please include /etc/dracut.conf

Results[edit]

Issues identified[edit]

Use the following table to detail problems discovered or results that don't match expectations.

User Smolt Profile Test scenario References
jlaska HW root=/dev/md0 (RAID) [1]
  1. /dev/md127 != /dev/md0 - see RHBZ #518793
Rhe HW (VMWARE F11) root=/dev/mapper/VolGroup-lv_root[1]
  1. RHBZ #519681
emcnabb HW (F11) root=root=/dev/mapper/volgrp-root[1]
  1. RHBZ #519733
oldfart HW (F11) root=/dev/mapper/vg_p5ewspro-fedora11 (LV over raid)[1]
  1. RHBZ #513267
hdong smolt error,VirtualBox-3.0.4_50677_f11-1.x86_64,F12 Rawhide i386,dracut-0.9-6.f12,kernel-2.6.31-0.125.4.2.rc5.git2.fc12.i686,soft RAID root=/dev/md0(RAID1)-mdadm: failed to run array /dev/md127:Device or resource busy[1]
  1. RHBZ #518793
jlaska HW (KVM Rawhide guest) root=/dev/mapper/luks-478e81c0-9738-47e2-8a84-74639528032e [1]
  1. RHBZ #520109 - LVM + RAID + LUKS fails to boot using dracut every other time
jlaska HW cciss root=/dev/mapper/vg_hpdl585g201-lv_root [1]
  1. RHBZ #520125 - Dracut fails to boot on cciss storage hardware
adamw HW irrelevant root on a live USB [1]
  1. RHBZ #520207 - Dracut-based live CD converted to live USB does not boot

Things that just work[edit]

Hopefully your testing reveals a list of things that work as expected. Please let us know what test scenarios behaved flawlessly.

User Smolt Profile Test scenario References
jlaska HW (KVM Rawhide guest) root=/dev/vda2 Worked, no problems
jlaska HW (KVM Rawhide guest) root=LABEL=rootfs Worked, no problems
jlaska HW (KVM Rawhide guest) root=UUID=ffd49db4-0f17-4379-9d1f-ec6a8056d5c8 Worked, no problems
Rhe HW (VMWARE Rawhide guest) root=UUID=e428a9f4-9713-47a6-9e29-8572le672629 Worked, no problems
Rhe HW (VMWARE Rawhide guest) root=LABEL=dracut Worked, no problems
Rhe HW (VMWARE Rawhide guest) root=/dev/mapper/VolGroup-lv_root Worked, no problems
atodorov (xen PV guest) NBD with root=nbd:ip:port:fstype Worked, no problems
atodorov (xen PV guest) NBD with root=UUID=UU-ID-BY-BLKID netroot=nbd:ip:port:fstype Worked, no problems
Michal Nowak (KVM guest) root=/dev/mapper/VolGroup-lv_root Worked, no problems
Michal Nowak F-11 local img via dracut generation W: Possible missing firmware ql8100_fw.bin for module qla2xxx.ko spotted. Was told is OK.
Jan Stodola (f11, KVM guest, x86_64) NFS with root=ip:/path Worked, no problems
jlaska HW - F11 x86_64 with dracut-0.9-2.fc11 root=/dev/mapper/VolGroup00-f11_root (LVM)

root=UUID=32aafef6-eccd-4047-b94a-4e0bd9c85101 (LVM)

success
mebourne HW - F11 x86_64 with dracut-0.9-2.fc11 root=UUID=63aad468-b185-4404-b4e9-c00b4f2a5dbe luks encrypted PV, root on LVM[1] now working great
  1. RHBZ #519537
mebourne HW - F11 x86_64 with dracut-0.9-2.fc11 and PXE boot root=dhcp (dhcp root-path "nbd:192.168.65.2:2000:ext3:ro,noatime")

root=nbd:192.168.65.2:2000:ext3:ro,noatime

Worked. root=<uuid> (as suggested by dracut-gencmdline) didn't work

root=/dev/nbd0 which worked with mkinitrd didn't work

atodorov (xen PV guest) iSCSI without iBFT - root=UUID=... netroot=iscsi:... Worked, no problems
emcnabb HW - F11 x86_64 with dracut-0.9-2.fc11 root=/dev/mapper/volgrp-root (btrfs) Worked, but did see RHBZ #519720 (should be fixed in rawhide version of udev) and RHBZ #519733.
Jan Stodola HW (F11 ppc64 dracut-0.9-1.fc11) root=/dev/sdb1 Worked, no problems
jkoten HW - Rawhide x86_64 with dracut-0.9-2.fc12 root=/dev/sda3

root=LABEL=rawhideroot

root=UUID=4290fd44-2971-48d1-bf57-1d2f8d58edd3

root=/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part3

Worked, no problems
Jan Stodola F11, KVM, x86_64, dracut-0.9-2.fc11 root=/dev/mapper/VolGroup-lv_root (LVM is encrypted) Worked, no problems
Jan Stodola F11, KVM, x86_64, dracut-0.9-2.fc11 root=/dev/mapper/luks-59f3bc15-e4e2-4131-9b41-7d30a512732c (encrypted ext4 on /dev/sda2) Worked, no problems
mgr HW - VirtualBox 3.0.4 F11 x86_64 guest with dracut-0.9-2.fc11 root=UUID=e1f390dc-2cf4-4536-928c-af367ce9fa1d Worked with dracut-0.9-2, did not work with dracut-0.9-1
jlaska HW (KVM Rawhide guest) root=/dev/mapper/luks-478e81c0-9738-47e2-8a84-74639528032e (RAID + LVM + LUKS) Failed to boot once ... but has booted fine several times.
stan HW - F11 x86_64 with dracut-0.9-2.fc11 root=UUID=c94b5547-e098-45ca-8776-cce0e0cd6bac Worked with dracut-0.9-2, though there were some warning messages before udev started. Could not find program name in proc/stat, loop nodes in use, from memory.
stan HW - F11 x86_64 with dracut-0.9-1.fc11 root=UUID=c94b5547-e098-45ca-8776-cce0e0cd6bac Worked without issue using dracut-0.9-1 when the dracut generated initramfs was compiled into the kernel. Failed otherwise.
fluo HW - vmware F11 i386 with dracut-0.9-2.fc11 root=/dev/mapper/VolGroup-lv_root Worked without issue using dracut-0.9-2
Martin Banas F11, kvm, i386, dracut-0.9-2.fc11 root=/dev/mapper/VolGroup-lv_root (LVM encrypted) Worked, no problems
Martin Banas HW (F11 ppc64 dracut-0.9-2.fc11) root=/dev/mapper/Volgroup-lv_root Worked, no problems
guaneryu F12 Rawhide i386 root=/dev/mapper/VolGroup-lv_root

root=LABEL=testday-20090820

root=UUID=7e186d1b-b7dc-4020-9bb0-c2fa848fe7c5

Worked, no problems
Caspar Zhang HW (VirtualBox,F12,i386,with dracut-0.9-6.f12) root=/dev/mapper/vg_dhcp65179-lv_root

root=UUID=cd76c339-c558-4046-844c-840952361ec3

Worked without problems
hdong smolt error,VirtualBox,F12,i386,dracut-0.9-2.f12,LVM root=/dev/mapper/Volgroup-lv_root

root=LABEL=dracut

root=UUID=49ea0fca-86ab-41f4-8cd6-fee7d26074f9

Worked, no problems
jlaska HW iSCSI root (no iBFT) root=UUID=fdca2e06-b8de-4a0d-a683-8ab37e4597bf netroot=iscsi:@10.10.9.125::3260::iqn.2009-02.org.fedoraproject:for.all ip=eth1:dhcp Worked ... failed to boot the first time ... but worked on reboot ... perhaps a network timeout?
caiqian HW - F11 i386 with dracut 0.9-6.fc12 root=UUID=8647a69e-799b-4abc-aeb8-2644a4519fe1 (ext3) Worked, no problem.
caiqian HW - F11 i386 with dracut 0.9-6.fc12 root=LABEL=dracut (ext3) Worked, no problem.
caiqian HW - F11 i386 with dracut 0.9-6.fc12 root=/dev/sda1 (ext3) Worked, no problem.
caiqian HW - F11 i386 with dracut 0.9-6.fc12 root=/dev/disk/by-path/pci-0000:00:14.1-scsi-0:0:0:0-part1 (ext3) Worked, no problem.
caiqian HW - F11 i386 with dracut 0.9-2.fc11 (LUKS + LVM + ext4) root=/dev/mapper/luks-11e28470-0ef9-47ee-850a-e83947c206ce Worked, but no graphical password input screen and nice Fedora icon seats in the middle of the screen. Only a text mode password input screen and progress bars at the bottom. Possible interaction problem with plymouth?
caiqian HW - F11 i386 with dracut 0.9-2.fc11 LUKS + MDRAID0 + ext4 Worked, but no graphical password input screen and nice Fedora icon seats in the middle of the screen. Only a text mode password input screen and progress bars at the bottom. Possible interaction problem with plymouth?
caiqian HW - F11 i386 with dracut 0.9-2.fc11 root=/dev/mapper/VolGroup-LogVol00 (LVM + MDRAID0 + ext4) Worked, no problem.
Luya HW - F11 x86-64 with dracut 0.9-2.fc11 root=/dev/mapper/VolGroup-LogVol00 (LVM + ext4) Worked, no problem.Note there were warning message about missing firmwares that can be safely ignored.
jlaska IBM Power6 ppc64 using rawhide-20090903 (anaconda-12.20) root=root=/dev/mapper/vg_test1138-lv_root (LVM + ext4) Booted fine on ppc
Amitshah F12 Alpha KVM guest Virtio block, net Worked, no problems