| Summary: | vf can't be determined ip automatically | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Chao Yang <chayang> | ||||||
| Component: | initscripts | Assignee: | initscripts Maintenance Team <initscripts-maint-list> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Red Hat Kernel QE team <kernel-qe> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 6.1 | CC: | agospoda, arozansk, harald, juzhang, michen, mkenneth, notting, tburke, virt-maint | ||||||
| Target Milestone: | rc | ||||||||
| 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-03-15 15:01:11 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 682269 | ||||||||
| Attachments: |
|
||||||||
|
Description
Chao Yang
2011-02-22 04:48:18 UTC
Created attachment 480049 [details]
device message on Nehalem-ex
chayang, which system did you use that shows the error? Also are you sure the systems igb NIC has a cable connected and detects link? Created attachment 481302 [details]
list of ifconfig and /etc/sysconfig/network-scripts/
What's the hostname of the system? Also if you want to test without biosdevname just install RHEL6.0 and see how that behaves. (In reply to comment #8) > What's the hostname of the system? Also if you want to test without biosdevname > just install RHEL6.0 and see how that behaves. Stefan, I tried with RHEL6.0, all of vfs have determined ip and pf can determine ip, too. I've installed the latest RHEL6 kernel on the box, but it didn't come up after the reboot. Could you please check what's the problem. Maybe the default route is messed up... If VFs and PF are able to acquire an IP please let us know. Also please confirm that you did not specify biosdevname=1 on the kernel command line when you installed the RHEL6.1 nightly. We need to figure out why biosdevname got enabled in your first install attempt. Feel free to re-install the latest nightly. (In reply to comment #11) > I've installed the latest RHEL6 kernel on the box, but it didn't come up after > the reboot. Could you please check what's the problem. Maybe the default route > is messed up... > If VFs and PF are able to acquire an IP please let us know. > > Also please confirm that you did not specify biosdevname=1 on the kernel > command line when you installed the RHEL6.1 nightly. > > We need to figure out why biosdevname got enabled in your first install > attempt. Feel free to re-install the latest nightly. I found that you forgot to install kernel-firmware-2.6.32-118.el6.noarch.rpm, I installed it and reboot, PF and VFs can acquire an IP. I am sure I did not specify biosdevname=1 on the kernel command line, before I installed the RHEL6.1 nightly, I even don't know what is biosdevname. Ok so this is a Dell machine which has biosdevname enabled by default. This can be checked by cat /sys/class/dmi/id/sys_vendor Dell Inc. Chayang can you please re-install the latest RHEL6 nightly? This problem is not kernel related and probably an issue with the network scripts, re-assigning to initscripts, not sure if that's the right component. Feel free to redirect. What errors do you get when you can't get an IP address? (In reply to comment #15) > What errors do you get when you can't get an IP address? Problem is the VFs cannot acquire IP automatically once they are generated by PF, I need to configure VF to make them get IP, they should acquire ip automatically without any configuration. I think dmesg have recorded something when I generate VFs. If you need more info, let me know. Thanks. The network init script does not set up devices without configuration (it never has), and we don't automatically write configuration for new devices (in RHEL 6). So, what exactly are you expecting to work that does not work here? (In reply to comment #17) > The network init script does not set up devices without configuration (it never > has), and we don't automatically write configuration for new devices (in RHEL > 6). > > So, what exactly are you expecting to work that does not work here? I am expecting VFs to be setup once they are generated. Cause on Nehalem-ep, VFs can be determined ip automatically, so I am expecting on Nehalem-ex VFs can behave the same as on Nehalem-ep. What happens on EP? Are configuration files written? (In reply to comment #19) > What happens on EP? Are configuration files written? On Nehalem-ep, no need to write any configuration files for VFs, once VFs are generated, they can acquire their IP without configuration files. ... via what mechanism? How are you bringing them up? (In reply to comment #21) > ... via what mechanism? How are you bringing them up? I have no idea, but once VFs are generated, they can bring up themselves automatically. Automatically... as soon as they're generated? On reboot? <some other way>? Are you bringing them up with '/etc/init.d/network start'? Are you using NetworkManager? I suspect with NetworkManager. I sometimes VFs get IP addresses automatically and it appears to happen on systems with NetworkManager installed and enabled by default. Only some configurations/installs have NetworkManager enabled by default, right? Correct, NM will bring up any device with a link; it's installed with desktop installs (or if you explicitly do 'yum install NetworkManager', of course. (In reply to comment #25) > Correct, NM will bring up any device with a link; it's installed with desktop > installs (or if you explicitly do 'yum install NetworkManager', of course. Base on your comments, I will have a try. Thanks for your clue. (In reply to comment #25) > Correct, NM will bring up any device with a link; it's installed with desktop > installs (or if you explicitly do 'yum install NetworkManager', of course. Hi Bill, Yes, you are right, with NM enabled VFs can get ip as soon as they are generated. Thank you. OK, so closing - things appear to be working as expected. |