Port-xen archive

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

Re: x86 changes



On Thu, 27 Sep 2007 12:59:46 +0300 Mikolaj Golub wrote:

 MG> On Thu, 27 Sep 2007 09:45:45 +0200 Christoph Egger wrote:

 >>> It looks like http://www.netbsd.org/~ad/x86.diff is still old patch. Could
 >>> you point where I can find patch with your last fixes to try?

 CE>> I think, AD committed this patch. So try -current. :-)

 MG> Oh, yes, I see it in current. Thaks.

I have tried today current kernel. It crashes when starting xend:

> Mounting all filesystems...
> Clearing temporary files.
> Starting xend.
> uvm_fault(0xc654ba20, 0, 2) -> 0xe
> fatal page fault in supervisor mode
> trap type 6 code 2 eip c04c908d cs 9 eflags 10246 cr2 0 ilevel b
> panic: trap
> syncing disks... Mutex error: mutex_vector_enter: locking against myself
> 
> lock address : 0x00000000c090d740
> current cpu  :                  0
> current lwp  : 0x00000000c7de7700
> owner field  : 0x0000000000010b00 wait/spin:                0/1
> 
> panic: lock error
> 
> dumping to dev 0,1 offset 940022
> dump 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 
> 29 28 27 26 25 2d
> 
> 
> rebooting...
> (XEN) Domain 0 shutdown: rebooting machine.
> 

(gdb) disassemble 0xc04c908d
Dump of assembler code for function mutex_enter:
0xc04c9080 <mutex_enter+0>:     mov    0x4(%esp),%edx
0xc04c9084 <mutex_enter+4>:     mov    %fs:0x18,%ecx
0xc04c908b <mutex_enter+11>:    xor    %eax,%eax
0xc04c908d <mutex_enter+13>:    cmpxchg %ecx,0x0(%edx)
0xc04c9091 <mutex_enter+17>:    jne,pn 0xc04106c0 <mutex_vector_enter>
0xc04c9098 <mutex_enter+24>:    ret    
0xc04c9099 <mutex_enter+25>:    lea    0x0(%esi),%esi
End of assembler dump.

Unfortunately I can't provide trace from core dump:

> savecore: can't find device 1383/1646

Could someone say what this message means and how I can get core?

-- 
Mikolaj Golub



Home | Main Index | Thread Index | Old Index