From: Paolo Giarrusso <blaisorblade_personal@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Jeff Dike <jdike@addtoit.com>, Gerd Knorr <kraxel@bytesex.org>
Subject: Re: [uml-devel] Managing 2.6 merge - url for the patches sent to merge
Date: Tue, 21 Sep 2004 20:01:43 +0200 [thread overview]
Message-ID: <200409212001.43965.blaisorblade_personal@yahoo.it> (raw)
In-Reply-To: <200409210321.i8L3LgdR015667@ccure.user-mode-linux.org>
On Tuesday 21 September 2004 05:21, Jeff Dike wrote:
> blaisorblade_personal@yahoo.it said:
> > Don't use uml-use-va_end.patch, it breaks UML on rebooting.
>
> How? That patch looks completely safe to me.
I'm not understanding why either, but with the patch applied, I get
"Segmentation fault" soon after reboot. You can read a complete output below.
Also notice the "deactivate_all_fds failed, errno = 9", which is frequent even
without the patch.
However, note that you may need SKAS and SYSEMU to trigger that (maybe).
> Rebooting is broken (in tt mode anyway) because the file lock on the root
> ubd file descriptor isn't dropped.
No, I'm not getting this problem.
> Mysteriously, setting that descriptor
> CLOEXEC doesn't seem to help.
No, this problem seems to go away on 2.6 hosts (at least, that's my random
experience). It seems, so, a 2.4 host bug.
See this patch from Henrik Normstrod for a workaround:
http://marasystems.com/download/uml/10-flock.patch
Checking for the skas3 patch in the host...found
Checking for /proc/mm...found
Linux version 2.6.9-rc2merging-pass1 (paolo@zion.localdomain) (gcc version
3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)) #7 Sun Sep 19 20:33:32 CEST 2004
[...]
Memory: 29128k available
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...found
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
Checking for /dev/anon on the host...Not available (open failed with errno 2)
NET: Registered protocol family 16
[...]
Initializing stdio console driver
VFS: Mounted root (ext2 filesystem) readonly.
INIT: version 2.84 booting
INIT: Entering runlevel: 5
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
reboot
Restarting system.
[This is always output at reboot, ALWAYS, if there is no segfault]
deactivate_all_fds failed, errno = 9
Checking for the skas3 patch in the host...found
Checking for /proc/mm...found
Linux version 2.6.9-rc2merging-pass1 (paolo@zion.localdomain) (gcc version
3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)) #7 Sun Sep 19 20:33:32 CEST 2004
Built 1 zonelists
[bla bla bla]
VFS: Mounted root (ext2 filesystem) readonly.
INIT: version 2.84 booting
INIT: Entering runlevel: 5
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
reboot
Restarting system.
Segmentation fault
I've done a little debugging of that without success, but the problem is after
coming back to main.
Bye
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2004-09-21 18:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-18 17:44 [uml-devel] Managing 2.6 merge Paolo Giarrusso
2004-09-18 20:52 ` Jeff Dike
2004-09-19 9:43 ` Paolo Giarrusso
2004-09-19 11:38 ` Paolo Giarrusso
2004-09-20 9:38 ` Gerd Knorr
2004-09-20 18:30 ` [uml-devel] Managing 2.6 merge - url for the patches sent to merge Paolo Giarrusso
2004-09-21 3:21 ` Jeff Dike
2004-09-21 18:01 ` Paolo Giarrusso [this message]
2004-09-21 19:11 ` Henrik Nordstrom
2004-09-21 12:37 ` Gerd Knorr
2004-09-21 17:55 ` Paolo Giarrusso
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=200409212001.43965.blaisorblade_personal@yahoo.it \
--to=blaisorblade_personal@yahoo.it \
--cc=jdike@addtoit.com \
--cc=kraxel@bytesex.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