Skip to contentSkip to conversation

Xen Kernel Freeze

DISCUSSION Luke 2 participants 5 messages Dec 21, 2005 – Dec 27, 2005

lore
Share & tools
lore

Luke

author
#0 lore raw

I recently came into possession of a brand new, multi-processor machine with the specific intention of running a number of domUs on it simultaneously. Unfortunately, the dom0 kernel locks up in predictable fashion, with repeatable results, completely crashing the machine.

Machine Specs:
Dual Xeon 3.2 processors
Dell Poweredge case

2 gigabit ethernet cards

	from lspci:
	0000:06:07.0 Ethernet controller: Intel Corp. 82541GI/PI Gigabit  

Ethernet Controller (rev 05)
Subsystem: Dell: Unknown device 016d
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium

Quoted 1 line

TAbort- <TAbort- <MAbort- >SERR- <PERR-

        Latency: 32 (63750ns min), Cache Line Size: 0x10 (64 bytes)
        Interrupt: pin A routed to IRQ 209
        Region 0: Memory at fe6e0000 (32-bit, non-prefetchable)  

[size=128K]
Region 2: I/O ports at dcc0 [size=64]
Capabilities: <available only to root>

0000:07:08.0 Ethernet controller: Intel Corp. 82541GI/PI Gigabit Ethernet Controller (rev 05)
Subsystem: Dell: Unknown device 016d
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium

Quoted 1 line

TAbort- <TAbort- <MAbort- >SERR- <PERR-

        Latency: 32 (63750ns min), Cache Line Size: 0x10 (64 bytes)
        Interrupt: pin A routed to IRQ 217
        Region 0: Memory at fe4e0000 (32-bit, non-prefetchable)  

[size=128K]
Region 2: I/O ports at ccc0 [size=64]
Capabilities: <available only to root>

Build process (used both the 3.0 kernel and 3.0-testing), with the exact same results:
untar
cd into linux-2.6.12, make ARCH=xen menuconfig
changed the processor type to xeon, and enabled SMP (i've done with without smp, with the same results) cd ..
make world
make install

the grub entry is correct, kernel boots fine
Then, when i try to transfer a file via scp to/from the machine, the transfer starts off fine (9.9MB/s), then stalls completely as the dom0 kernel dies. This only seems to happen in response to network traffic which lasts longer than a second. Unfortunately, since the kernel dies quickly, I haven't been able to try too many other behaviors. However, network transfer kills the kernel each time, as long as it takes more than 15 seconds to transfer.

It's a server, and when i plug in a monitor and keyboard to check the screen, nothing has appeared, and the screen doesn't respond to keyboard input. Almost seems like a problem with interrupt handling, but that's a bit of an unfounded guess.

This machine is running debian sarge. All the debian sarge kernels work just fine (smp, non-smp, etc.). It seems to be only a Xen issue.

Any more information needed? Any suggestions?

#1 lore raw
Quoted 4 lines · Luke

This machine is running debian sarge. All the debian sarge kernels work just fine (smp, non-smp, etc.). It seems to be only a Xen issue.

Any more information needed? Any suggestions?

It's worth trying to add 'nousb' as a Linux boot parameter.

-- Keir

author
#2 lore raw
Quoted 1 line · Keir Fraser

It's worth trying to add 'nousb' as a Linux boot parameter.

Worked like a charm. Thanks - it was fairly important to get this fixed.

Is there a good understanding of why this is? Fix in the works? I may need to actually use the USB in the next couple months...

#3 lore raw
Quoted 7 lines · Luke
Quoted 1 line · Keir Fraser

It's worth trying to add 'nousb' as a Linux boot parameter.

Worked like a charm. Thanks - it was fairly important to get this fixed.

Is there a good understanding of why this is? Fix in the works? I may need to actually use the USB in the next couple months...

Unfortunately not. It's been a problem we've seen before on certain Dell boxes, possibly related to the Intel E7520 (Lindenhurst) chipset. Noone has yet worked out the root problem and the correct fix.

-- Keir

#4 lore raw
In reply to Luke
Quoted 7 lines · Luke
Quoted 1 line · Keir Fraser

It's worth trying to add 'nousb' as a Linux boot parameter.

Worked like a charm. Thanks - it was fairly important to get this fixed.

Is there a good understanding of why this is? Fix in the works? I may need to actually use the USB in the next couple months...

Andi Kleen has suggested that the problem may be due to a bad interaction with legacy USB emulation. If this is the case, you may be able to fix the instability without disabling usb by adding 'usb-handoff' as a Linux boot parameter (instead of 'nousb').

That option is a default on some vendor kernels and also, I think, on more recent mainline kernels, which could be why non-Xen kernels have worked okay for you.

-- Keir