| Summary: | Problem with installation on per210-01.lab.eng.brq.redhat.com | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Kamil Kolakowski <kkolakow> | ||||||||||
| Component: | anaconda | Assignee: | Radek Vykydal <rvykydal> | ||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team> | ||||||||||
| Severity: | high | Docs Contact: | |||||||||||
| Priority: | unspecified | ||||||||||||
| Version: | 6.1 | CC: | aokuliar, harald, ohudlick, rvykydal | ||||||||||
| Target Milestone: | rc | Keywords: | Regression, Reopened, TestBlocker | ||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | x86_64 | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2011-05-19 12:40:30 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
Kamil Kolakowski
2011-04-15 14:13:31 UTC
Please attach /tmp/anaconda.log, /tmp/syslog, and /tmp/ifcfg.log (or respective logfiles from installed system's /var/log). Seems like biosdevname issue (the machine is dell) but it may also be caused by bug #690589. Naturally, eth1 case doesn't work when devices are renamed emX (biosdevname feature on by default on dell) Created attachment 492461 [details]
anaconda.log
Created attachment 492462 [details]
sys.log
Radek, I'm unable to get ifcfg.log. I will contact you on Monday to get your help with that. Thanks From the logs it seems that device renaming didn't cause problems in installer environment, (the logs don't suggest bug #690589) and the installation went ok. The question is why device renaming fails after reboot, we need the logs from installed system. Renaming in installation environment (comment #4): 13:15:59,771 INFO kernel:e1000e: Intel(R) PRO/1000 Network Driver - 1.2.20-k2 13:15:59,771 INFO kernel:e1000e: Copyright (c) 1999 - 2010 Intel Corporation. 13:15:59,771 INFO kernel:e1000e 0000:01:00.0: Disabling ASPM L1 13:15:59,771 INFO kernel:e1000e 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 13:15:59,771 DEBUG kernel:e1000e 0000:01:00.0: setting latency timer to 64 13:15:59,771 DEBUG kernel: alloc irq_desc for 31 on node -1 13:15:59,771 DEBUG kernel: alloc kstat_irqs on node -1 13:15:59,771 DEBUG kernel:e1000e 0000:01:00.0: irq 31 for MSI/MSI-X 13:15:59,924 INFO kernel:e1000e 0000:01:00.0: eth0: (PCI Express:2.5GB/s:Width x1) 00:15:17:ec:ee:a6 13:15:59,924 INFO kernel:e1000e 0000:01:00.0: eth0: Intel(R) PRO/1000 Network Connection 13:15:59,924 INFO kernel:e1000e 0000:01:00.0: eth0: MAC: 1, PHY: 4, PBA No: D28777-005 13:15:59,933 INFO kernel:udev: renamed network interface eth0 to pci1p1 13:15:59,936 INFO kernel:bnx2: Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.1.6 (Mar 7, 2011) 13:15:59,936 INFO kernel:bnx2 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 13:15:59,936 DEBUG kernel:bnx2 0000:02:00.0: setting latency timer to 64 13:15:59,937 INFO kernel:bnx2 0000:02:00.0: firmware: requesting bnx2/bnx2-mips-09-6.2.1a.fw 13:15:59,937 INFO kernel:bnx2 0000:02:00.0: firmware: requesting bnx2/bnx2-rv2p-09-6.0.17.fw 13:15:59,937 INFO kernel:bnx2 0000:02:00.0: eth0: Broadcom NetXtreme II BCM5716 1000Base-T (C0) PCI Express found at mem da000000, IRQ 16, node addr b8:ac:6f:87:74:44 13:15:59,937 DEBUG kernel: alloc irq_desc for 17 on node -1 13:15:59,937 DEBUG kernel: alloc kstat_irqs on node -1 13:15:59,937 INFO kernel:bnx2 0000:02:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17 13:15:59,937 DEBUG kernel:bnx2 0000:02:00.1: setting latency timer to 64 13:15:59,938 INFO kernel:bnx2 0000:02:00.1: firmware: requesting bnx2/bnx2-mips-09-6.2.1a.fw 13:15:59,938 INFO kernel:bnx2 0000:02:00.1: firmware: requesting bnx2/bnx2-rv2p-09-6.0.17.fw 13:15:59,938 INFO kernel:bnx2 0000:02:00.1: eth1: Broadcom NetXtreme II BCM5716 1000Base-T (C0) PCI Express found at mem dc000000, IRQ 17, node addr b8:ac:6f:87:74:45 13:15:59,941 NOTICE firmware.sh: udev firmware loader misses sysfs directory 13:15:59,942 NOTICE firmware.sh: udev firmware loader misses sysfs directory 13:15:59,942 NOTICE firmware.sh: udev firmware loader misses sysfs directory 13:15:59,943 NOTICE firmware.sh: udev firmware loader misses sysfs directory 13:15:59,947 INFO kernel:udev: renamed network interface eth0 to em1 (In reply to comment #6) > 13:15:59,941 NOTICE firmware.sh: udev firmware loader misses sysfs directory > 13:15:59,942 NOTICE firmware.sh: udev firmware loader misses sysfs directory > 13:15:59,942 NOTICE firmware.sh: udev firmware loader misses sysfs directory > 13:15:59,943 NOTICE firmware.sh: udev firmware loader misses sysfs directory > 13:15:59,947 INFO kernel:udev: renamed network interface eth0 to em1 ... snip, snip, one more relevant line: 13:16:00,454 INFO kernel:udev: renamed network interface eth1 to em2 Hi,
I've done some investigation and here are results:
During installation ethernet devices has names em1, em2. Anacoda creates
network configuration files ifcfg-em[0,1]
cat ifcfg-em1
DEVICE="em1"
BOOTPROTO="dhcp"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
After installation network interfaces has names eth0, eth1, so network
interfaces will stay down and not configured. Network is unavailable
cat /etc/udev/rules.d/70-persistent-net.rules
# PCI device 0x8086:0x107d (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:15:17:ec:ee:a6", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth0"
# PCI device 0x14e4:0x163b (bnx2)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="b8:ac:6f:87:74:44", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth1"
# PCI device 0x14e4:0x163b (bnx2)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="b8:ac:6f:87:74:45", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth2"
If I will launch dhclient manualy: dhclient eth1, interface gets IP address and
network is reachable.
I added compressed content of /var/log directory and compressed content of /etc
directory after installation on affected system.
Thanks,
Adam
Created attachment 492912 [details]
compressed content of /var/log directory
Created attachment 492914 [details]
compressed content of /etc directory
Thanks for the logs. So the generated /etc/udev/rules.d/70-persistent-net.rules on installed system doesn't do renaming (see comment #8) while udev renames devices in installer environment (comment #6). Harald, do you have any hint? (In reply to comment #2) > ... Seems like biosdevname issue (the > machine is dell) but it may also be caused by bug #690589. The fix for bug #690589 will be reverted in today's nightly and anaconda will write-out HWADDR into ifcfg files again so we should see tomorrow, but it doesn't seem likely to be the cause of the bug now. I would guess biosdevname was not installed by the kickstart file Hi, I discovered that this problem is triggered by amount of packages, which is installed on system. We use following configuration in our kickstarts for kernel testing: %packages --ignoremissing --nobase @core wget python perl-devel parted cpuspeed perl dhcpv6-client dhclient yum yum-rhn-plugin yum-security yum-updatesd openssh-server openssh-clients bc screen nfs-utils seekwatcher sysstat xfsprogs e2fsprogs hdparm sdparm gcc tuned cpufrequtils cryptsetup-luks vim-enhanced rsync lvm2 This install extremely minimal system. We use this configuration for about two years and no problems related to this appeared. Now when using this minimal we have problem with bad ethernet device name, which is described above. If we use %packages --ignoremissing --nobase there is no problem at all. After installation ethernet devices has correct names em1,em2 and are properly configured and online. Thanks, Adam (In reply to comment #13) Sorry, there is an error in my previous comment. Correct workaround for our issue is to use installation with default package set. So kick-start solving our troubles have %packages --ignoremissing --default Sorry for confusing and thanks Adam Harald, I think this should be solved. If you choose minimal installation you have no choice and it renames network devices and you are without network after installation reboot. In past we used this packages configuration and it works. I can imagine some RHEL customers who used it just for Routers/Mail servers would have this problems as well. I'm reopening it. I retested it on RHEL6.1-20110418.n.2. Devices names em1 em2 as specified during installation. Solved can be closed. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0530.html |