Bug 705213

Summary: Fedora 15 can not boot from ISCSI target
Product: [Fedora] Fedora Reporter: Adhidarma Hadiwinoto <gua>
Component: dracutAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: dennis, gua, harald, jonathan
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: dracut-009-11.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-26 21:50:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
/run/initramfs/init.log none

Description Adhidarma Hadiwinoto 2011-05-17 00:38:23 UTC
Description of problem:
Can not boot after installing on ISCSI Target. But if I edit "pci3p1" to "eth0" on grub.conf, it will start. Perhaps grub, dracut, or may be something doesn't support consisten network device naming?

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

How reproducible:
Always

Steps to Reproduce:
1. Install Fedora 15 (currently beta) to an ISCSI target
2. Boot newly installed system after installation finished
  
Actual results:
System failed to boot, root file system can not be found.

Expected results:
System boot from ISCSI target.

Additional info:
Fedora 15 uses Consistent Network Device Naming. Grub use this device naming on configuration file. If I replace pci3p1 (network device naming using new consistent method) to eth0 (old method), system can start smoothly.

*** My original grub.conf (system can not start):
title Fedora (2.6.38.2-9.fc15.i686)
	root (hd0,0)
	kernel /vmlinuz-2.6.38.2-9.fc15.i686 ro root=/dev/mapper/vg_minx-lv_root netroot=iscsi:@******::3260::iqn.2009-12.id.co.mondial.intra:***** iscsi_initiator=iqn.1994-05.com.domain:01.066d8b ip=pci3p1:dhcp ifname=pci3p1:00:01:80:63:8e:bd rd_LVM_LV=vg_minx/lv_root rd_LVM_LV=vg_minx/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
	initrd /initramfs-2.6.38.2-9.fc15.i686.img


*** My editted grub.conf (system can start):
title Fedora (2.6.38.2-9.fc15.i686)
	root (hd0,0)
	kernel /vmlinuz-2.6.38.2-9.fc15.i686 ro root=/dev/mapper/vg_minx-lv_root netroot=iscsi:@******::3260::iqn.2009-12.id.co.mondial.intra:***** iscsi_initiator=iqn.1994-05.com.domain:01.066d8b ip=eth0:dhcp ifname=eth0:00:01:80:63:8e:bd rd_LVM_LV=vg_minx/lv_root rd_LVM_LV=vg_minx/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
	initrd /initramfs-2.6.38.2-9.fc15.i686.img

Comment 1 Adhidarma Hadiwinoto 2011-05-17 03:38:56 UTC
I've repeated this problem on other machine, lspci on one of my machine:

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
01:03.0 FireWire (IEEE 1394): Agere Systems FW322/323 (rev 61)
01:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)

Comment 2 Bill Nottingham 2011-05-17 18:13:43 UTC
Moving to dracut, although this may go to anaconda for when the initial grub.conf was written.

Comment 3 Harald Hoyer 2011-05-18 08:30:10 UTC
"ifname=pci3p1:00:01:80:63:8e:bd"

Hmm, strange... This should have assigned the correct interface name to the device.

Is the MAC correct?

Would you mind to regenerate the initramfs with:

# dracut -a "debug" <imagename> 

and boot from <imagename> with "rd.debug" added on the kernel command line and of course the "pci3p1".

Then somehow save /run/initramfs/init.log somewhere (nfs mount or local mount) and attach it here?

Comment 4 Adhidarma Hadiwinoto 2011-05-18 12:30:36 UTC
Created attachment 499587 [details]
/run/initramfs/init.log

/run/initramfs/init.log after 'dracut -a "debug" <imagename>' and rd.debug kernel parammeter

Comment 5 Adhidarma Hadiwinoto 2011-05-18 12:37:54 UTC
Harald, I've attach init.log as your request. 

FYI, I've install the system the system from nfs media. Anaconda detect my network device as pci3p1 successfully. When I boot with pci3p1, it warn about no root device found.

I can assign IP address to pci3p1 on dracut manually so I can copy /run/initramfs/init.log by nfs mount as your request. But I don't know why dracut can not found my iscsi node.

Comment 6 Harald Hoyer 2011-05-20 11:42:59 UTC
can you test, if these packages fix your issues?
http://harald.fedorapeople.org/downloads/dracut/dracut-009-11.fc15/

Comment 7 Adhidarma Hadiwinoto 2011-05-20 14:50:01 UTC
Thanks, It works on one of my machines.

Now I'm gonna trying to install on another machine with different specifications. I hope I can inform the result in few hours.

Comment 8 Adhidarma Hadiwinoto 2011-05-20 17:52:48 UTC
Great, It works on my other machine too with different specifications. I think you can close the bug and I hope it can be included on stable release of fedora 15.

Comment 9 Fedora Update System 2011-05-23 09:03:57 UTC
dracut-009-11.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/dracut-009-11.fc15

Comment 10 Fedora Update System 2011-05-25 02:28:37 UTC
Package dracut-009-11.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dracut-009-11.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/dracut-009-11.fc15
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2011-05-26 21:50:41 UTC
dracut-009-11.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.