RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 831955 - dracut exits due to error changing net interface name
Summary: dracut exits due to error changing net interface name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dracut
Version: 7.0
Hardware: All
OS: Linux
high
high
Target Milestone: beta
: ---
Assignee: dracut-maint
QA Contact: Bruno Goncalves
URL:
Whiteboard:
Depends On:
Blocks: 782468
TreeView+ depends on / blocked
 
Reported: 2012-06-14 07:48 UTC by Xiaowei Li
Modified: 2014-06-18 03:55 UTC (History)
7 users (show)

Fixed In Version: dracut-024-25.git20130205.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 11:09:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
console.log (835.85 KB, text/plain)
2012-06-14 07:51 UTC, Xiaowei Li
no flags Details
bnx2i.console.log (196.83 KB, application/octet-stream)
2012-06-28 04:47 UTC, Xiaowei Li
no flags Details
console-debug.log (414.59 KB, text/plain)
2012-07-05 15:18 UTC, Xiaowei Li
no flags Details

Description Xiaowei Li 2012-06-14 07:48:27 UTC
Description of problem:


Version-Release number of selected component (if applicable):
RHEL-7.0-20120612.n.1 
BCM 57712 CNA card (bnx2i) 


How reproducible:
100%

I cannot encounter this issue when installing RHEL 6.3 on my setup.

Steps to Reproduce:
1. configure the bnx2i card to boot from iscsi Lun
(HBA mode - disable, boot to target - disable)
2. perform OS installation. 
3.
  
Actual results:
dracut is dropping to debug shell and throwing the warning message
"Unable to process initqueue "


Expected results:


Additional info:

Comment 1 Xiaowei Li 2012-06-14 07:51:02 UTC
Created attachment 591760 [details]
console.log

Comment 3 Xiaowei Li 2012-06-14 08:08:07 UTC
also encounter this issue when performing OS installation to the (bnx2i offload) iscsi Lun.

I will do some investigation.

Comment 4 Harald Hoyer 2012-06-18 11:48:15 UTC
add "rd.debug" to the kernel command line to get more debug info

Comment 6 Xiaowei Li 2012-06-28 04:34:45 UTC
There are 4 BCM NIC attached to the host. udeved failed to change the net interface name. 

>>>>snip>>>
udevd[292]: error changing net interface name rename4 to eth0-renamed: File exists 
  
[  126.722275] dracut Warning: Unable to process initqueue 
[  126.724507] dracut Warning: /dev/root does not exist 
/lib/dracut-lib.sh@764(wait_for_loginit): rm -f /run/initramfs/loginit.pipe /run/initramfs/loginit.pid 
/lib/dracut-lib.sh@784(emergency_shell): '[' -e /run/initramfs/.die ']' 
/lib/dracut-lib.sh@785(emergency_shell): getargbool 1 rd.shell -y rdshell 
/lib/dracut-lib.sh@124(getargbool): local _b 
/lib/dracut-lib.sh@125(getargbool): unset _b 
/lib/dracut-lib.sh@126(getargbool): local _default 
/lib/dracut-lib.sh@127(getargbool): _default=1 
/lib/dracut-lib.sh@127(getargbool): shift 
//lib/dracut-lib.sh@128(getargbool): getarg rd.shell -y rdshell 
//lib/dracut-lib.sh@97(getarg): set +x 
//lib/dracut-lib.sh@120(getarg): return 1 
/lib/dracut-lib.sh@128(getargbool): _b= 
/lib/dracut-lib.sh@129(getargbool): '[' 1 -ne 0 -a -z '' ']' 
/lib/dracut-lib.sh@129(getargbool): _b=1 
/lib/dracut-lib.sh@130(getargbool): '[' -n 1 ']' 
/lib/dracut-lib.sh@131(getargbool): '[' 1 = 0 ']' 
/lib/dracut-lib.sh@132(getargbool): '[' 1 = no ']' 
/lib/dracut-lib.sh@133(getargbool): '[' 1 = off ']' 
/lib/dracut-lib.sh@135(getargbool): return 0 
/lib/dracut-lib.sh@786(emergency_shell): echo 'Dropping to debug shell.' 
Dropping to debug shell. 
/lib/dracut-lib.sh@787(emergency_shell): echo 
 
/lib/dracut-lib.sh@788(emergency_shell): export 'PS1=dracut:${PWD}# ' 
/lib/dracut-lib.sh@788(emergency_shell): PS1='dracut:${PWD}# ' 
/lib/dracut-lib.sh@789(emergency_shell): '[' -e /.profile ']' 
//lib/dracut-lib.sh@791(emergency_shell): getarg rd.ctty= 
//lib/dracut-lib.sh@97(getarg): set +x 
//lib/dracut-lib.sh@120(getarg): return 1 
/lib/dracut-lib.sh@791(emergency_shell): _ctty= 
/lib/dracut-lib.sh@792(emergency_shell): '[' -z '' ']' 
/lib/dracut-lib.sh@793(emergency_shell): _ctty=console 
/lib/dracut-lib.sh@794(emergency_shell): '[' -f /sys/class/tty/console/active ']' 
//lib/dracut-lib.sh@795(emergency_shell): cat /sys/class/tty/console/active 
/lib/dracut-lib.sh@795(emergency_shell): _ctty=ttyS1 
/lib/dracut-lib.sh@796(emergency_shell): _ctty=ttyS1 
/lib/dracut-lib.sh@794(emergency_shell): '[' -f /sys/class/tty/ttyS1/active ']' 
/lib/dracut-lib.sh@798(emergency_shell): _ctty=/dev/ttyS1 
/lib/dracut-lib.sh@800(emergency_shell): '[' -c /dev/ttyS1 ']' 
//lib/dracut-lib.sh@801(emergency_shell): setsid --help 
/lib/dracut-lib.sh@801(emergency_shell): strstr ' 
Usage: 
 setsid [options] <program> [arguments ...] 
 
Options: 
 -h, --help     display this help and exit 
 -V, --version  output version information and exit 
 
For more details see setsid(1).' ctty 
/lib/dracut-lib.sh@7(strstr): '[' ' 
Usage: 
 setsid [options] <program> [arguments ...] 
 
Options: 
 -h, --help     display this help and exit 
 -V, --version  output version information and exit 
 
For more details see setsid(1).' '!=' ' 
Usage: 
 setsid [options] <program> [arguments ...] 
 
Options: 
 -h, --help     display this help and exit 
 -V, --version  output version information and exit 
 
For more details see setsid(1).' ']' 
/lib/dracut-lib.sh@802(emergency_shell): setsid /bin/sh -i -l 
dracut:/# [-- MARK -- Thu Jun 28 00:30:00 2012] 
[  313.312362] kworker/u:1 used greatest stack depth: 3816 bytes left 
>>>

Comment 7 Xiaowei Li 2012-06-28 04:47:47 UTC
Created attachment 594905 [details]
bnx2i.console.log

dracut exits due to fail to rename the net interface name.

Please refer to this log for more detail.

Comment 9 Paul W. Frields 2012-07-03 14:14:21 UTC
Harald, any update on this Alpha 2 blocker bug?  Are the logs here from xiaoli sufficient for you to diagnose the issue he's seeing?

Comment 10 Harald Hoyer 2012-07-05 11:24:33 UTC
(In reply to comment #9)
> Harald, any update on this Alpha 2 blocker bug?  Are the logs here from
> xiaoli sufficient for you to diagnose the issue he's seeing?

yes, it's enough.

Comment 12 Harald Hoyer 2012-07-05 12:09:14 UTC
wwoods: any idea? 

FATAL: Module sha256 not found. 
Loading Red Hat Enterprise Linux 7.0 x86_64 installer... 
[   10.837606] initqueue used greatest stack depth: 4784 bytes left 
[   10.856667] dracut Warning: 'ksdevice=<MAC>' is deprecated. Using 'ifname=eth0:<MAC>' instead. 
dracut Warning: 'ksdevice=<MAC>' is deprecated. Using 'ifname=eth0:<MAC>' instead.

Comment 13 Xiaowei Li 2012-07-05 15:18:29 UTC
Created attachment 596423 [details]
console-debug.log

console log after adding 'rd.debug quiet'

Comment 15 Xiaowei Li 2012-07-11 16:29:35 UTC
It's the dracut issue. Can do ibft iscsi(bnx2i) boot on another host.

Comment 16 Xiaowei Li 2012-07-12 02:59:45 UTC
updated the h/w information.

dracut PASSED on the h/w with one 4*ports embedded BCM5709( 1 port for PXE installation and 1 port for the iscsi boot )

dracut FAILED on the h/w with one 2*ports embedded BCM5708(1 port for PXE installation) and one 2*ports BCM57712(1 port for iscsi boot)

Comment 20 Harald Hoyer 2013-02-26 09:15:57 UTC
fixed with dracut-024-25.git20130205.el7

Comment 21 Bruno Goncalves 2013-08-05 08:59:23 UTC
The problem seems to have been fixed.

[   11.295213] bio: create slab <bio-1> at 1
[   11.337260] systemd-udevd[400]: renamed network interface em1 to enp3s0
[   11.339306] bio: create slab <bio-2> at 2
[   11.344206] systemd-udevd[401]: renamed network interface em2 to enp5s0


dracut version: dracut-031-7.git20130801.el7

Comment 22 Ludek Smid 2014-06-13 11:09:26 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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