Bug 523566
Summary: | --nfsroot for mkinitrd doesn't generate valid init script | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Rich Rauenzahn <rrauenza> |
Component: | mkinitrd | Assignee: | Peter Jones <pjones> |
Status: | CLOSED NOTABUG | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 5.3 | CC: | ddumas, rrauenza |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-07-02 03:13:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rich Rauenzahn
2009-09-16 01:02:26 UTC
One other item that I need to still validate on other platforms, but I'm reasonably sure this is true -- The network drivers need to be loaded AFTER netname, or they don't come up: echo "Loading mii.ko module" insmod /lib/mii.ko echo "Loading vmxnet.ko module" insmod /lib/vmxnet.ko echo Bringing up eth0 network --device eth0 --bootproto dhcp This probably ought to be... netname 00:0C:29:62:76:C8 eth0 echo "Loading mii.ko module" insmod /lib/mii.ko echo "Loading vmxnet.ko module" insmod /lib/vmxnet.ko network --device eth0 --bootproto dhcp Update on the netname -- looks like having netname at all is what is messing up the driver load. Commenting it completely out fixes the ethernet driver problem -- at least with pcnet32 under vmware. It would be nice not to have netname in there at all as this makes each diskless server require its own initrd with its own mac address embedded in it! The netname line is written out because your /etc/sysconfig/network-scripts/ifcfg-eth0 file has a HWADDR line. Comment that line out to prevent mkinitrd from writing out the netname line. |