Ticket #1977 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Neighborhood doesn't work in qemu -- add rtl8139 driver.

Reported by: MitchellNCharity Owned by: dilinger
Priority: high Milestone: Trial-3
Component: kernel Version:
Keywords: Cc: cscott
Action Needed: Verified: no
Deployments affected: Blocked By:
Blocking:

Description

Network Manager, and thus Presence Service, doesn't work in qemu.

NM requires a nic with link detection. Qemu's rtl8139 nic provides this, but the default ne2k does not.

The xo images don't have the 8139 driver.

berrange reports NM works in qemu when the driver is present.

The current recommended workaround is to disable NM, and use sugar fallbacks. In recent builds, this workaround has ceased working (beyond the first boot). Rather than trying to debug the workaround, can we fix the underlying problem?

Adding a 8139 driver to the build has been an informal todo item for some time. blizzard says the images are supposed to "just work". So not seeing a ticket, I add this one.

Change History

Changed 7 years ago by cjb

  • owner changed from jg to dilinger
  • component changed from distro to kernel
  • summary changed from Neighborhood doesn't work in qemu to Neighborhood doesn't work in qemu -- add rtl8139 driver.

Changed 7 years ago by jg

  • milestone changed from Untriaged to Trial-2

Changed 7 years ago by cscott

  • cc cscott added

Changed 7 years ago by jg

  • milestone changed from Trial-2 to Trial-3

This seems like a simple request for after Trial-2.

Changed 7 years ago by dilinger

Er, which 8139 driver are we talking about? We've two:

config 8139CP
        tristate "RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support (EXPERIMENTAL)"
          This is a driver for the Fast Ethernet PCI network cards based on
          the RTL8139C+ chips. If you have one of those, say Y and read
config 8139TOO
        tristate "RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support"
          This is a driver for the Fast Ethernet PCI network cards based on
          the RTL 8129/8130/8139 chips. If you have one of those, say Y and

Let me know which one qemu emulates, and I'll add it to the kernel.

Changed 7 years ago by cscott

From qemu-0.9.0/hw/rtl8139.c, it appears that the RTL8139C+ is emulated, but that it can fall back to the standard RTL8139. So either of these drivers will probably work. I'd suggest building the non-experimental one (8139TOO).

Changed 7 years ago by dilinger

  • status changed from new to closed
  • resolution set to fixed

Ok, thanks. Since it's 8139C+, I enabled 8139cp (it's been marked experimental for years, it's not particularly unstable). If there are problems, let me know.

Note: See TracTickets for help on using tickets.