Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Xen-4.5 and NeetBSD/amd64-7.99.5 won't start _my_ netbsd-5-X (was: false alarm!)



At Wed, 22 Apr 2015 19:29:10 -0700, "Greg A. Woods" <woods%planix.ca@localhost> wrote:
Subject: false alarm!  (xen-4.5 and NetBSD/amd64-7.99.5 can't start netbsd-5-XEN3PAE_DOMU)
> 
> So, I'll try checking out what I've changed and building some more test
> kernels.  Hopefully I can find something wrong with how my kernel is built.

OK, so far no luck -- every i386 netbsd-5 kernel I build seems to cause
Xen to crash just before it starts it running.

I can't see anything that can be too wrong or different that would cause
Xen to crash in this way with the kernels I'm building, since after all
everything is running quite clean and stable with amd64 builds from my
same source trees.

I'm going to try a -current i386 kernel next.  That's something I have
not yet tried.

I haven't tried building a kernel with an i386 toolchain yet either.  I
suppose I should try that too.

This is the only documented crash I've found online that seems to even
come close to matching what I'm seeing:

	http://lists.xen.org/archives/html/xen-users/2013-02/msg00180.html

That may not be crashing at exactly the same place though.

This one is similar, and definitely not quite crashing at quite the same
place, but close (also not sure it's an "unhandled page fault (ec=0000)"):

	https://lists.gnu.org/archive/html/bug-hurd/2015-03/msg00041.html

I found some mention of similar looking crashes that were caused by the
guest not specifying the "protocol" for disk devices (i.e. not setting
it to "x86_32"), but I don't see how that would be a problem with NetBSD
(it was documented for really old Linux PV kernels).  In any case I took
the "disk" and "vif" entries out of my config entirely and it still
crashes in exactly the same way.

My config is now just:

	name = "nbtest"
	kernel = "/netbsd-5.2_STABLE-i386-XEN3PAE_DOMU"
	extra = "-vxsa"
	memory = 2000
	vcpus = 1

Once again, for the record, from the latest attempt:

(XEN) d31v0: unhandled page fault (ec=0000)
(XEN) Pagetable walk from 00000000bf800000:
(XEN)  L4[0x000] = 0000000481ff7027 00000000000007a7
(XEN)  L3[0x002] = 0000000481ff4027 00000000000007aa
(XEN)  L2[0x1fc] = 0000000481ff6001 00000000000007a8 
(XEN)  L1[0x000] = 0000000000000000 ffffffffffffffff
(XEN) domain_crash_sync called from entry.S: fault at ffff82d080214560 compat_create_bounce_frame+0xc6/0xde
(XEN) Domain 31 (vcpu#0) crashed on cpu#5:
(XEN) ----[ Xen-4.5.0  x86_64  debug=n  Not tainted ]----
(XEN) CPU:    5
(XEN) RIP:    0009:[<00000000c0396eb5>]
(XEN) RFLAGS: 0000000000000297   EM: 1   CONTEXT: pv guest
(XEN) rax: 0000000000000000   rbx: 0000000000000000   rcx: 0000000000000003
(XEN) rdx: 00000000bf800000   rsi: 00000000529d7001   rdi: 0000000000000008
(XEN) rbp: 00000000c07b4cac   rsp: 00000000c07b4c54   r8:  00000037fedf3f00
(XEN) r9:  00000037fedf3f00   r10: 5000000000000000   r11: 0000000000000000
(XEN) r12: ffff83007f8fa000   r13: 0000000000000005   r14: ffff82d0802e2620
(XEN) r15: ffff83007600b000   cr0: 000000008005003b   cr4: 00000000000026f4
(XEN) cr3: 0000000851c74000   cr2: 00000000bf800000
(XEN) ds: 0011   es: 0011   fs: 0031   gs: 0011   ss: 0011   cs: 0009
(XEN) Guest stack trace from esp=c07b4c54:
(XEN)   00000000 c0396eb5 00010009 00010097 00000006 20202000 45202020 30343435
(XEN)   0007d000 00000000 000007b6 00000003 00000000 bf800000 000007b6 00000000
(XEN)   005657f0 00000000 00000000 00000009 00000000 00001000 c07b4d3c c0393347
(XEN)   00000000 00000000 00000000 00000003 000007b6 00000000 0007d000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000008 00000000
(XEN)   00000000 00000000 0007c84a 00000000 00008000 00000000 000007b6 00000000
(XEN)   00000000 00000000 00000000 00000001 00008000 00000000 00000000 756e6547
(XEN)   007b5000 c04db200 00000000 c0100063 007b5000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 007a8000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000


-- 
						Greg A. Woods
						Planix, Inc.

<woods%planix.com@localhost>       +1 250 762-7675        http://www.planix.com/

Attachment: pgpW7QDDgRmqK.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index