From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] UML patches against vanilla 2.6.0
Date: Sun, 28 Dec 2003 17:20:44 +0100 [thread overview]
Message-ID: <200312281720.44991.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <Pine.LNX.4.58.0312280851350.2434@boston.corp.fedex.com>
> Thanks for the great pointer.
> I've downloaded all these patches and
> finally able to boot a clean 2.6.0-1um using initrd. There seems to some
> problem with network (tuntap), but I'm still looking it.
We'll accept happily reports.
> Here's what I did ...
>
> My real linux version is 2.4.24-pre1. My /usr/src/linux points to 2.6.0
> with reiser4 and Ingo Molnar's uml-combo-2.6.0-A5 patch applied ... in
> order for "make menconfig" to set CONFIG_PROC_MM=y
>
> Here's my patch against Ingo Molnar's uml-combo-2.6.0-A5 patch to make the
> patch works if you use reiser4 ...
Btw: avoid at all, if possible, patches in normal format; always use unified
diff.
However, probably the patchset works with reiser4, for what I saw reviewing
your diff. Was the error message something about do_mmap_pgoff, I guess?
> http://web.tiscali.it/no-redirect-tiscali/blaisorblade/linux/archives/UML/v
>2/
[...]
> Next, apply the following patches I created to make uml compiles ...
About these: most of them are needed because I did some silly errors, even
because doing 4 kernel compiles(i386/uml, PROC_MM on and off) to test it is
a bit tiring... however now I did those test and finally it should be
working.
In general, I'd suggest using 00-Combo-4.patch.bz2, which should remove the
need for them, + remove the A-04... patch when you compile for i386.
Who has the modify_ldt problem (as Jeff Chua) should use also this piece(copy
it from the previous email). However, I hope I can put a workaround for this
problem in the next version of the patchset:
> --- uml/arch/um/sys-i386/bugs.c.org Sat Dec 27 23:28:01 2003
> +++ uml/arch/um/sys-i386/bugs.c Sat Dec 27 23:29:19 2003
> @@ -16,6 +16,9 @@
>
> #define MAXTOKEN 64
>
> +extern int modify_ldt(int func, void *ptr, unsigned long bytecount);
> +
> +
> /* Set during early boot */
> int host_has_cmov = 1;
> int host_has_xmm = 0;
> @@ -107,7 +110,7 @@
>
> static void disable_lcall(void)
> {
> - struct modify_ldt_ldt_s ldt;
> + struct user_desc ldt;
> int err;
>
> bzero(&ldt, sizeof(ldt));
About this piece:
> --- uml/mm/mmap.c.org Sun Dec 28 00:17:14 2003
> +++ uml/mm/mmap.c Sun Dec 28 00:17:43 2003
> @@ -714,7 +714,7 @@
> return error;
> }
>
> -EXPORT_SYMBOL(__do_mmap_pgoff);
> +EXPORT_SYMBOL(do_mmap_pgoff);
No, sorry, but the symbol to export is __do_mmap_pgoff, since I changed the
function name.
--
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.21/2.6.0-test on an i686; Linux registered user n. 292729
EOSIGN
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
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:[~2003-12-30 17:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-26 18:05 [uml-devel] UML patches against vanilla 2.6.0 BlaisorBlade
2003-12-26 18:27 ` Cameron Patrick
2003-12-26 18:56 ` BlaisorBlade
2003-12-27 18:27 ` BlaisorBlade
2003-12-29 20:09 ` [uml-devel] " Jason Lunz
2003-12-31 17:58 ` BlaisorBlade
2003-12-28 1:07 ` [uml-devel] " Jeff Chua
2003-12-28 16:20 ` BlaisorBlade [this message]
2003-12-28 16:27 ` [uml-user] " Domenico Andreoli
2003-12-28 17:46 ` Jeff Chua
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=200312281720.44991.blaisorblade_spam@yahoo.it \
--to=blaisorblade_spam@yahoo.it \
--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