From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: "D. Bahi" <dbahi@enterasys.com>
Subject: Re: [uml-devel] panic on shutdown bt for 2.4.26+ UML
Date: Wed, 1 Jun 2005 18:51:18 +0200 [thread overview]
Message-ID: <200506011851.18754.blaisorblade@yahoo.it> (raw)
In-Reply-To: <4291FF1D.70505@enterasys.com>
On Monday 23 May 2005 18:04, D. Bahi wrote:
> any hints for where to look for a fix for this odd crash on shutdown?
On shutdown actually? Well, very strange.
> i must admit, lately, i've been rather frustrated with the lack of
> either maintainance or backporting in the 2.4 UML series. of course
> this frustration is mostly because of my lack of ability to move forward
> past issues such as these. but also the UML web-site + blaise's + other
> patches out there along with all kinds of instructions on combinations
> on what to use....
> the mechanisims UML uses, jmps ptrace and the like, are not terribly
> familar to generic programmers. Is there a UML: How it Works for
> Developers - document somewhere?
Not a lot, sadly.
are you seeing this frequently? Have you updated to any 2.4.27 patch? There is
IIRC a context switching bug fixed in them... On 2.6 there is a recent
context switching fix from Bodo Stroesser (after 2.6.11) which I might look
for...
> or must we be so dedicated that we
> browse the mailing list archives and look for explainations piecemeal as
> responses to queries (as we've seen recently on the list)?
> appoligies for any toes i'm stepping on here - i want to help - i just
> need help to get there...
Probably the simplest way is to say what regressions currently has UML/2.6, or
the reasons you don't use it, so that we can help fixing it.
> (gdb) bt
> #0 0x08161351 in kill ()
> #1 0x0817d662 in raise ()
> #2 0x0816163d in abort ()
> #3 0x080dac3e in panic_coreonpanic (self=0x81fec3c, unused1=0,
> unused2=0x8216d60) at um_arch.c:425
> #4 0x0805e46a in notifier_call_chain (n=0x0, val=0, v=0x8216d60) at
> sys.c:148
> #5 0x080533d9 in panic (fmt=0x81d1780 "switch_mm_skas -
> PTRACE_SWITCH_MM failed, errno = %d\n") at panic.c:77
This is very strange... can you go to that stack frame and print local vars
together with a listing of /proc/<UMLPID>/fd? I suspect a EBADF here...
> #6 0x080dbf5a in switch_mm_skas (mm_fd=107) at process.c:353
> #7 0x08050b17 in schedule () at mmu_context.h:29
> #8 0x080d6d6e in cpu_idle () at process_kern.c:206
> #9 0x0805047a in rest_init () at init/main.c:353
> #10 0x080494e6 in start_kernel () at init/main.c:447
> #11 0x080dc437 in start_kernel_proc (unused=0x0) at process_kern.c:179
> #12 0x080d6979 in run_kernel_thread (fn=0x80dc410 <start_kernel_proc>,
> arg=0x0, jmp_ptr=0x81fec3c) at process.c:231
> #13 0x080dc162 in new_thread_handler (sig=10) at process_kern.c:72
> #14 <signal handler called>
> #15 0x08161351 in kill ()
> #16 0x08160fe5 in siglongjmp ()
> #17 0x080dbdc1 in start_idle_thread (stack=0x81f0000,
> switch_buf_ptr=0x81f0578, fork_buf_ptr=0x0) at process.c:303
> #18 0x080dc48a in start_uml_skas () at process_kern.c:193
> #19 0x080daae3 in linux_main (argc=19, argv=0x30000000) at um_arch.c:393
> #20 0x08050286 in main (argc=19, argv=0xbfffd0b4, envp=0xbfffd104) at
> arch/um/main.c:149
> #21 0x08160d13 in __libc_start_main ()
>
> --
> db
--
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
prev parent reply other threads:[~2005-06-01 16:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-23 16:04 [uml-devel] panic on shutdown bt for 2.4.26+ UML D. Bahi
2005-06-01 16:51 ` 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=200506011851.18754.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=dbahi@enterasys.com \
--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