All of lore.kernel.org
 help / color / mirror / Atom feed
From: PUCCETTI Armand <armand.puccetti@cea.fr>
To: Keir Fraser <keir@xensource.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Re: [Xen-users] XEN 3.0.3 on Ubuntu 6.10: Dom0 reboot]
Date: Wed, 03 Jan 2007 14:58:55 +0100	[thread overview]
Message-ID: <459BB69F.5070900@cea.fr> (raw)
In-Reply-To: <C1C13223.7011%keir@xensource.com>

The function vprintk is concerned, as the trace contains:

ffffffff80129fb0 <vprintk>:
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    
5357880(%rip),%r11d        # ffffffff80646100 <oops_in_progress>
ffffffff80129fc8:    64 48 8b 04 25 28 00     mov    %fs:0x28,%rax      
                          
ffffffff80129fcf:    00 00
ffffffff80129fd1:    48 89 45 c8              mov    
%rax,0xffffffffffffffc8(%rbp)
ffffffff80129fd5:    31 c0                    xor    %eax,%eax
ffffffff80129fd7:    45 85 db                 test   %r11d,%r11d
ffffffff80129fda:    74 68                    je     ffffffff8012a044 
<vprintk+0x94>
ffffffff80129fdc:    8b 05 ea 8c 3e 00        mov    
4099306(%rip),%eax        # ffffffff80512ccc <printk_cpu>
ffffffff80129fe2:    85 c0                    test   %eax,%eax
ffffffff80129fe4:    75 5e                    jne    ffffffff8012a044 
<vprintk+0x94>
ffffffff80129fe6:    48 8b 05 13 e2 4a 00     mov    
4907539(%rip),%rax        # ffffffff805d8200 <jiffies>
ffffffff80129fed:    48 8b 15 2c c5 51 00     mov    
5358892(%rip),%rdx        # ffffffff80646520 <oops_timestamp.17285>

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 = 1;

    preempt_disable();
    if (unlikely(oops_in_progress) && printk_cpu == 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 écrit :
>
> On 3/1/07 11:04, "PUCCETTI Armand" <armand.puccetti@cea.fr> wrote:
>
>   
>> I removed both options but exactly the same trace comes out.
>> Are there any other options I should add?
>>
>> Armand
>>     
>
> 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 address
> ffffffff80129fc8 (the crashing RIP value)?
>
>  -- Keir
>
>
>   

      parent reply	other threads:[~2007-01-03 13:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-03 10:43 Re: [Xen-users] XEN 3.0.3 on Ubuntu 6.10: Dom0 reboot] PUCCETTI Armand
2007-01-03  9:48 ` Keir Fraser
2007-01-03 11:04   ` PUCCETTI Armand
2007-01-03 10:12     ` Keir Fraser
2007-01-03 13:02       ` Ian Campbell
2007-01-03 14:33         ` PUCCETTI Armand
2007-01-03 13:39           ` Keir Fraser
2007-01-03 15:26             ` PUCCETTI Armand
2007-01-03 14:26               ` Ian Campbell
2007-01-03 15:48                 ` PUCCETTI Armand
2007-01-03 14:58                   ` Keir Fraser
2007-01-03 16:55                     ` PUCCETTI Armand
2007-01-04 16:24                     ` PUCCETTI Armand
2007-01-03 14:27               ` Keir Fraser
2007-01-03 13:58       ` PUCCETTI Armand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=459BB69F.5070900@cea.fr \
    --to=armand.puccetti@cea.fr \
    --cc=keir@xensource.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.