Skip to contentSkip to conversation

kernel panic

DISCUSSION James Harper 3 participants 3 messages Sep 27, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

Yes, there seems to be a nasty bug that possibly involves writable page tables (noone has reported the bug with writable page tables disabled in the kernel configuration).

I'm building now with wpt disabled. I'll let you know how it goes. In addition, trying to clean up the crashed domain with 'xm destroy <name>' caused dom0 and therefore the whole machine to reboot.

Quoted 2 lines

I've increased the headroom allocated for received packets in teh frontend driver. It should get rid of the messages.

Is it just an informative message or is it telling me that something is wrong?

Thanks

James

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

#1 lore raw
Quoted 7 lines
Quoted 3 lines

Yes, there seems to be a nasty bug that possibly involves writable page tables (noone has reported the bug with writable page tables disabled in the kernel configuration).

I'm building now with wpt disabled. I'll let you know how it goes. In addition, trying to clean up the crashed domain with 'xm destroy <name>' caused dom0 and therefore the whole machine to reboot.

Yes, there is definitely a reference-counting bug in Xen. Once a guest prints out that particular message, it really is time to reboot the machine!

Quoted 5 lines
Quoted 2 lines

I've increased the headroom allocated for received packets in teh frontend driver. It should get rid of the messages.

Is it just an informative message or is it telling me that something is wrong?

Informative, as the packet gets copied into a buffer that is big enough. I just wanted to know how large the buffers should be that I allocate for received packets -- I want to make it small enough that buffer accounting in the sockets layer isn't thrown off, but large enough that packets don't have to be copied to fit. The message tells me that my chosen size was a bit too small.

-- Keir

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

#2 lore raw
In reply to James Harper
Quoted 7 lines
Quoted 3 lines

Yes, there seems to be a nasty bug that possibly involves writable page tables (noone has reported the bug with writable page tables disabled in the kernel configuration).

I'm building now with wpt disabled. I'll let you know how it goes. In addition, trying to clean up the crashed domain with 'xm destroy <name>' caused dom0 and therefore the whole machine to reboot.

Have you got a serial line on the machine? If so, if you have a debug build we should be getting interesting debugging.

Also, before trying to destroy the domain, hit ctrl-A three times and then 'q' and 'o'.

This will do an audit of all the domain's remaining memory, and might give us a clue as to what is broken.

Even more informative might be to add a call to audit_domains() in the "Bad page free for domain" error path in xen/common/dom_mem_ops.c

What are you doing in the domains that's causing this bug? We've tried to reproduce but can't so far.

Thanks,
Ian

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php