linux-um archives
 help / color / mirror / Atom feed
From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: a_mulyadi@telkom.net, Sonny Rao <sonny@burdell.org>
Cc: user-mode-linux-devel@lists.sourceforge.net,
	Jeff Dike <jdike@addtoit.com>
Subject: Re: [patch] Re: [uml-devel] Kallsyms on UML
Date: Mon, 26 Jul 2004 16:54:24 +0200	[thread overview]
Message-ID: <200407261654.24484.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <200407262140.50298.a_mulyadi@telkom.net>

Alle 16:40, lunedì 26 luglio 2004, Mulyadi Santosa ha scritto:
> hello
>
> > Yes, exactly. (It is not matter of EXPORT_SYMBOL, you're right).
>
> Thanks for correcting me :-)

> BTW, why vmlinux might miss the stack trace? is it just because it missed
> kallsysms?
The 2 patches handle the two problems:
1) Kallsyms didn't work (the .tmp_kallsyms were empty because 
arch/um/kernel/vmlinux.lds.S did not set _stext and _sinittext, which are 
used by the kallsyms tool)

2) The UML dump_stack() version didn't use the kallsyms facilities.

> > However, on any 2.6 UML, run cat /dev/kmem (which will panic, the fix is
> > known but yet to submit) and say if you can get the stacktrace. For some
> > reason, I cannot (even if dump_stack() is invoked); nothing is printed.
> > Seems like the printk() are lost (maybe some tricks with bust_spinlock()
> > are needed).
>
> BTW, interesting to read tricks to beat lost printk, Paolo....can you share
> your trick to defeat it? Just using bust_spinlock? or....just crazy
> idea...force console/tty flush?
Well, in the patch I tried to use bust_spinlock(), but it didn't work. I have 
just a raw idea of what it does, but I followed the panic() code. It could 
even be a console/tty flush, maybe, but I don't know to what those words 
translate. Or maybe even moving machine_halt() to later, somehow (which is 
called by the UML function panic_exit(), grep for it).

-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id\x10040&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2004-07-26 14:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-26  0:27 [uml-devel] Kallsyms on UML Sonny Rao
2004-07-26  3:57 ` Mulyadi-Santosa
2004-07-26  6:01   ` Sonny Rao
2004-07-26 13:45     ` Mulyadi Santosa
2004-07-26 14:18     ` [patch] " BlaisorBlade
2004-07-26 14:40       ` Mulyadi Santosa
2004-07-26 14:54         ` BlaisorBlade [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=200407261654.24484.blaisorblade_spam@yahoo.it \
    --to=blaisorblade_spam@yahoo.it \
    --cc=a_mulyadi@telkom.net \
    --cc=jdike@addtoit.com \
    --cc=sonny@burdell.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox