* [uml-devel] I ported skas3 to fc2 kernel
@ 2004-07-22 23:13 Jinnah Dylan Hosein
2004-07-22 23:26 ` [uml-devel] " Jinnah Dylan Hosein
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jinnah Dylan Hosein @ 2004-07-22 23:13 UTC (permalink / raw)
To: user-mode-linux-devel
I ported the host-skas3-2.6.7-v1.patch to the Fedora Core 2 kernel.
I used the latest fc2 2.6.6-1.435.2.3 kernel rpm.
I've tested it and I was able to run a 2.4.19 uml kernel with a redhat
7.2 rootfs. I wasn't able to make it leak memory by running the "while
true" bash line, but I don't understand exactly what triggers the leak so
it's likely I didn't properly test.
I don't do a lot of coding so I probably made some stupid mistakes. But
I needed skas3 on Fedora Core 2 so I went ahead and tried porting the
patch.
I just saw that BlaisorBlade sent a patch to fix the memory leak. I'll see
if I can add that to my modification.
Hopefully others may find this useful.
You can get the details here:
http://jdh.org/uml/
My patchfile is here:
http://jdh.org/uml/host-skas3-2.6.6-1.435.2.3.patch
I'm not hosting a modified src.rpm because it would just be too large a
file to have people downloading. But it's easy to modify the existing
src.rpm from fedora.
Let me know if this is useful or broken.
Keep up the good work,
-jdh
-------------------------------------------------------
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_id=4721&alloc_id=10040&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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [uml-devel] Re: I ported skas3 to fc2 kernel
2004-07-22 23:13 [uml-devel] I ported skas3 to fc2 kernel Jinnah Dylan Hosein
@ 2004-07-22 23:26 ` Jinnah Dylan Hosein
2004-07-24 23:52 ` Axel Thimm
2004-07-26 14:20 ` [uml-devel] " BlaisorBlade
2 siblings, 0 replies; 4+ messages in thread
From: Jinnah Dylan Hosein @ 2004-07-22 23:26 UTC (permalink / raw)
To: user-mode-linux-devel
I should have checked the links before I sent the email.
You should be able to download the patches now.
Sorry,
-jdh
-------------------------------------------------------
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_id=4721&alloc_id=10040&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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [uml-devel] Re: I ported skas3 to fc2 kernel
2004-07-22 23:13 [uml-devel] I ported skas3 to fc2 kernel Jinnah Dylan Hosein
2004-07-22 23:26 ` [uml-devel] " Jinnah Dylan Hosein
@ 2004-07-24 23:52 ` Axel Thimm
2004-07-26 14:20 ` [uml-devel] " BlaisorBlade
2 siblings, 0 replies; 4+ messages in thread
From: Axel Thimm @ 2004-07-24 23:52 UTC (permalink / raw)
To: Jinnah Dylan Hosein; +Cc: user-mode-linux-devel
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
Hi Jinnah,
On Thu, Jul 22, 2004 at 07:13:33PM -0400, Jinnah Dylan Hosein wrote:
> I ported the host-skas3-2.6.7-v1.patch to the Fedora Core 2 kernel.
>
> I used the latest fc2 2.6.6-1.435.2.3 kernel rpm.
Alexander Dalloz has done similar against a later kernel from
post-FC2. Perhaps we should consolidate forces :)
The kernel rpm is available in the testing section of ATrpms:
http://ATrpms.net/name/kernel-testing/fc2/
(the 1.494 based kernel).
BTW my personal wishlist would be a combined uml&skas3 patch for
~2.6.8rc1 (like blaisorblade did for 2.6.6). :)
uml-utilities have also been uploaded as rpms to ATrpms.
--
Axel.Thimm at ATrpms.net
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] I ported skas3 to fc2 kernel
2004-07-22 23:13 [uml-devel] I ported skas3 to fc2 kernel Jinnah Dylan Hosein
2004-07-22 23:26 ` [uml-devel] " Jinnah Dylan Hosein
2004-07-24 23:52 ` Axel Thimm
@ 2004-07-26 14:20 ` BlaisorBlade
2 siblings, 0 replies; 4+ messages in thread
From: BlaisorBlade @ 2004-07-26 14:20 UTC (permalink / raw)
To: Jinnah Dylan Hosein, user-mode-linux-devel
Alle 01:13, venerdì 23 luglio 2004, Jinnah Dylan Hosein ha scritto:
> I ported the host-skas3-2.6.7-v1.patch to the Fedora Core 2 kernel.
>
> I used the latest fc2 2.6.6-1.435.2.3 kernel rpm.
>
> I've tested it and I was able to run a 2.4.19 uml kernel with a redhat
> 7.2 rootfs. I wasn't able to make it leak memory by running the "while
> true" bash line, but I don't understand exactly what triggers the leak so
> it's likely I didn't properly test.
Well, it's a bit difficult to trigger; to the best of my understanding, it can
be triggered if UML is a child or grandchild of a multi-threaded process
using the TLS, i.e. Thread-Local Storage (as KDE Konsole) running either with
LinuxThreads support (i.e. either glibc is not NPTL-aware or is running onto
a 2.4 host kernel).
More technically, if any process modifies its LDT (by using the modify_ldt()
syscall), any of its child processes will have the LDT set, and if UML has
the LDT set it will then leak memory.
That said, I don't have time to look at it well but I don't see anything bad,
at a quick look; the port is not a simple rediff so there could be some
little changes needed, but if it runs Ok, I wouldn't worry.
For the SKAS + UML patch: it's easy to rebuild it from the splitout version
(you must browse the folders to find it, should be something like
patches/2.6.7-v1), but you can get by without it, so I'll build it only if I
get free time. I've not even had the time to join the SKAS - leak fix with
the rest of the patch!
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-07-26 14:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-22 23:13 [uml-devel] I ported skas3 to fc2 kernel Jinnah Dylan Hosein
2004-07-22 23:26 ` [uml-devel] " Jinnah Dylan Hosein
2004-07-24 23:52 ` Axel Thimm
2004-07-26 14:20 ` [uml-devel] " BlaisorBlade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox