Subject: Re: kern/35916: azalia(4) crashes during boot-up if configured with XEN3_DOM0
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: TAMURA Kent <kent@NetBSD.org>
List: netbsd-bugs
Date: 05/02/2007 19:15:05
The following reply was made to PR kern/35916; it has been noted by GNATS.

From: "TAMURA Kent" <kent@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org
Subject: Re: kern/35916: azalia(4) crashes during boot-up if configured with XEN3_DOM0
Date: Wed, 2 May 2007 12:11:39 -0700

 > uvm_fault (0xc09abac0, 0xbff2a000, 2) -> 0xe
 > kernel: supervisor trap page fault, code=0
 > Stopped in pid 0.1 (swapper) at netbsd:_bus_dmamem_map+0x14d:   movl %edx, 0xbfc00000(%eax)
 >
 > Backtrace is:
 > _bus_dmamem_map
 
 The problem occured in the following code in x86/x86/bus_dma.c
 _bus_dmamem_map():
                                 pte = kvtopte(va);
                                 if ((*pte & PG_N) == 0) {
                                         *pte |= PG_N;
 Reading *pte succeeded, and then writing *pte caused the trap.
 I'm not sure the reason.  Is there any Xen-specific issue in PTE processing?
 
 -- 
 TAMURA Kent <kent_2007 at hauN.org> <kent at NetBSD.org>