Rom images for e1000 and ne2k missing vendor and device id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ipxe (Ubuntu) |
Fix Released
|
Low
|
Stefan Bader |
Bug Description
The build system depends on a certain naming scheme of the rom images. The basename of the rom file (e.g. rtl8139.rom -> rtl8139) must be defined in the drivers PCI_ROM or ISA_ROM makro. For the rtl8139 driver this is correctly done:
PCI_ROM(0x10ec, 0x8139, "rtl8139", "Realtek 8139", 0)
However at least the ne2k_isa and the e1000_82540 drivers are not behaving well:
PCI_ROM(0x8086, 0x100E, "E1000_
ISA_DRIVER ( ne_driver, ne_probe_addrs, ne_probe1,
DRIVER ( "ne", nic_driver, isapnp_driver, ne_driver, ne_probe, ne_disable );
ISA_ROM(
The KVM roms to be build use the name of the driver's C file. This does unfortunately end in a successful build but with vendor and device id of 0 coded into the rom images.
This seems to be no problem for KVM (so for ipxe it might be lower priority) but the Xen hvmloader is build in such a way that the roms from the kvm-ipxe binary package are used and then included in a way that on boot a matching rom is search by pci id of the card. This fails for e1000 because of this bug.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: kvm-ipxe 1.0.0+git-
ProcVersionSign
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94-0ubuntu1
Architecture: amd64
Date: Tue Mar 6 20:04:45 2012
Dependencies:
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
PackageArchitec
SourcePackage: ipxe
UpgradeStatus: Upgraded to precise on 2012-02-24 (11 days ago)
Related branches
Changed in ipxe (Ubuntu): | |
status: | New → Confirmed |
assignee: | nobody → Stefan Bader (stefan-bader-canonical) |
tags: | added: patch |
@Stefan,
I'm not sure I understand the bug or the fix.
Would it suffice to simply keep the roms by their original names in the ipxe package, while the renamed roms are in the kvm-ipxe package? If so I'll just s/mv/cp/ debian/rules.