From mboxrd@z Thu Jan 1 00:00:00 1970 From: PUCCETTI Armand Subject: Re: Re: [Xen-users] XEN 3.0.3 on Ubuntu 6.10: Dom0 reboot] Date: Wed, 03 Jan 2007 14:58:55 +0100 Message-ID: <459BB69F.5070900@cea.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org The function vprintk is concerned, as the trace contains: ffffffff80129fb0 : ffffffff80129fb0: 55 push %rbp ffffffff80129fb1: 48 89 e5 mov %rsp,%rbp ffffffff80129fb4: 41 57 push %r15 ffffffff80129fb6: 41 56 push %r14 ffffffff80129fb8: 41 55 push %r13 ffffffff80129fba: 41 54 push %r12 ffffffff80129fbc: 53 push %rbx ffffffff80129fbd: 48 83 ec 58 sub $0x58,%rsp ffffffff80129fc1: 44 8b 1d 38 c1 51 00 mov =20 5357880(%rip),%r11d # ffffffff80646100 ffffffff80129fc8: 64 48 8b 04 25 28 00 mov %fs:0x28,%rax =20 =20 ffffffff80129fcf: 00 00 ffffffff80129fd1: 48 89 45 c8 mov =20 %rax,0xffffffffffffffc8(%rbp) ffffffff80129fd5: 31 c0 xor %eax,%eax ffffffff80129fd7: 45 85 db test %r11d,%r11d ffffffff80129fda: 74 68 je ffffffff8012a044=20 ffffffff80129fdc: 8b 05 ea 8c 3e 00 mov =20 4099306(%rip),%eax # ffffffff80512ccc ffffffff80129fe2: 85 c0 test %eax,%eax ffffffff80129fe4: 75 5e jne ffffffff8012a044=20 ffffffff80129fe6: 48 8b 05 13 e2 4a 00 mov =20 4907539(%rip),%rax # ffffffff805d8200 ffffffff80129fed: 48 8b 15 2c c5 51 00 mov =20 5358892(%rip),%rdx # ffffffff80646520 Now, that should correspond to source code: asmlinkage int vprintk(const char *fmt, va_list args) { unsigned long flags; int printed_len; char *p; static char printk_buf[1024]; static int log_level_unknown =3D 1; preempt_disable(); if (unlikely(oops_in_progress) && printk_cpu =3D=3D smp_processor_id(= )) /* If a crash is occurring during printk() on this CPU, * make sure we can't deadlock */ zap_locks(); which isn't so much clearer to me... Keir Fraser a =E9crit : > > On 3/1/07 11:04, "PUCCETTI Armand" wrote: > > =20 >> I removed both options but exactly the same trace comes out. >> Are there any other options I should add? >> >> Armand >> =20 > > You could add 'debug' as a boot parameter, but it looks like you are > crashing too early to get any output. Have you tried disassembling the = Linux > kernel image (objdump -d vmlinux) and see what function contains addres= s > ffffffff80129fc8 (the crashing RIP value)? > > -- Keir > > > =20