Skip to contentSkip to conversation

Xen killing my e1000s?

DISCUSSION Jeremy Fitzhardinge 4 participants 7 messages Dec 11, 2009 – Dec 13, 2009

lore
Share & tools
lore
#0 lore raw

I have this Xeon 3430-based system with a pair of on-board PCI-e e1000s. When I'm running under Xen, they disappear in use. That is, the PCI devices themselves seem to give up the ghost, and lspci -x shows all 0xff for their config spaces. They come back to life when I reset the machine.

When I boot under native Linux all seems fine.

I'm running with VT-d and all the other features enabled; I haven't tried turning them off yet. There are no obvious messages from the kernel or Xen complaining about anything.

This is a new machine, so it could be an outright hardware problem, but it seems like an odd failure-mode for a hardware fault (I'd expect on-board devices to either work or not work, and not come back on reset).

Anyone got any ideas?

Thanks,
J

#1 lore raw
Quoted 9 lines · Jeremy Fitzhardinge

I have this Xeon 3430-based system with a pair of on-board PCI-e e1000s. When I'm running under Xen, they disappear in use. That is, the PCI devices themselves seem to give up the ghost, and lspci -x shows all 0xff for their config spaces. They come back to life when I reset the machine.

When I boot under native Linux all seems fine.

I'm running with VT-d and all the other features enabled; I haven't tried turning them off yet. There are no obvious messages from the kernel or Xen complaining about anything.

This is a new machine, so it could be an outright hardware problem, but it seems like an odd failure-mode for a hardware fault (I'd expect on-board devices to either work or not work, and not come back on reset).

Anyone got any ideas?

I am seeing something similar with my Xeon systems and igb (Intel 82576) cards. I see the ethernet ports die on my switch and the whole xen box crashes. Nothing in the logs at all, only clue I have is that the ethernet ports bounce on the switch.

Quoted 1 line

<>

Nathan Stratton                                CTO, BlinkMind, Inc.
nathan at robotics.net                         nathan at blinkmind.com
http://www.robotics.net                        http://www.blinkmind.com
#2 lore raw
Quoted 1 line · Nathan Stratton

I am seeing something similar with my Xeon systems and igb (Intel 82576) cards. I see the ethernet ports die on my switch and the whole xen box crashes. Nothing in the logs at all, only clue I have is that the ethernet ports bounce on the switch.

I don't think my case is very similar. The e1000 devices go away, but the system seems perfectly happy otherwise (net traffic just stops). The leds on the ports look normal too, so the phys appear to be acting normally.

J

#3 lore raw
In reply to Jeremy Fitzhardinge
Quoted 17 lines · Jeremy Fitzhardinge

I have this Xeon 3430-based system with a pair of on-board PCI-e e1000s. When I'm running under Xen, they disappear in use.  That is, the PCI devices themselves seem to give up the ghost, and lspci -x shows all 0xff for their config spaces. They come back to life when I reset the machine.

When I boot under native Linux all seems fine.

I'm running with VT-d and all the other features enabled; I haven't tried turning them off yet.  There are no obvious messages from the kernel or Xen complaining about anything.

This is a new machine, so it could be an outright hardware problem, but it seems like an odd failure-mode for a hardware fault (I'd expect on-board devices to either work or not work, and not come back on reset).

Anyone got any ideas?

Quoted 8 lines

Thanks,
   J

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Have you tried using the latest version of the e1000 driver from intel rather than the in-kernel one? I've had the same problem when using older kernels on systems with e1000 and Xen, I used the intel driver for a while but once I switched to using a newer dom0 kernel the problem went away.

Andy

#4 lore raw

Pygrub cannot detect kernel on ISO image at Xen 4.0-rc1-pre Dom0

Profile bellow works fine to start OSOL DomU install at Xen 3.4.2 Dom0 (2.6.31.6 pv)

root@ServerKoala:~# cat osol.install
name="OSOL127"
memory=2048
bootloader="/usr/local/bin/pygrub"
kernel="/platform/i86xpv/kernel/amd64/unix"
ramdisk="/boot/amd64/x86.microroot"
disk=['phy:/dev/loop0,xvdc:cdrom,r','phy:/dev/sda9,xvda,w']
vif=['bridge=eth0']

Same profile cannot find kernel on ISO image at Xen 4.0-rc1-pre Dom0(2.6.31.6 pv)

I just uninstalled old Xen 3.4.2 and installed freshly been built 4.0-rc1-pre on top of Ubuntu 9.10 Server.

Boris.

________________________________

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
In reply to Andrew Lyon
Quoted 6 lines · Andrew Lyon

Have you tried using the latest version of the e1000 driver from intel rather than the in-kernel one? I've had the same problem when using older kernels on systems with e1000 and Xen, I used the intel driver for a while but once I switched to using a newer dom0 kernel the problem went away.

Which drivers are those?

I've been reproducing this fairly reliably with the stock F12 kernel, so I think Xen is off the hook. Still unsure whether its a driver problem or something to do with the platform (hardware/BIOS/etc). It's an Ibex Peak-based system, which I think it relatively new. The BIOS is 1.0a, so is probably due for an update...

J

#6 lore raw
Quoted 10 lines · Jeremy Fitzhardinge
Quoted 7 lines · Andrew Lyon

Have you tried using the latest version of the e1000 driver from intel rather than the in-kernel one? I've had the same problem when using older kernels on systems with e1000 and Xen, I used the intel driver for a while but once I switched to using a newer dom0 kernel the problem went away.

Which drivers are those?

http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=9180&lang=eng
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=15817&lang=eng
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=13663&lang=eng

Quoted 9 lines

I've been reproducing this fairly reliably with the stock F12 kernel, so I think Xen is off the hook.  Still unsure whether its a driver problem or something to do with the platform (hardware/BIOS/etc).  It's an Ibex Peak-based system, which I think it relatively new.  The BIOS is 1.0a, so is probably due for an update...

   J