Skip to contentSkip to conversation

Porting UML to other plattforms

uml-devel Joerg Hoh 3 participants 5 messages Dec 6, 2003 – Dec 8, 2003 User-mode Linux (UML)

lore
Share & tools
lore

Joerg Hoh

author
#0 lore raw

Hi

Can someone tell me, how hard is the job to port UML to other plattforms than i386 (how far went the ppc port?). I have here an alpha machine and I want to do some testing of kernels and kernel related stuff (selinux) without the need for rebooting the machine for testing kernels.

I've done a simple test and found out, that I need at least some very lowlevel kernel stuff. Can someone give me some hints to documentation and/or people who could help me?

Joerg

Signature · 12 lines
Joerg Hoh


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#1 lore raw
Quoted 2 lines · Joerg Hoh

Can someone tell me, how hard is the job to port UML to other plattforms than i386 (how far went the ppc port?).

Good question indeed.

In theory a sub-arch port should not be that difficult if you know the basics characteristics of the architecture, but there is always complications.

Regards
Henrik

-------------------------------------------------------
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#2 lore raw
In reply to Joerg Hoh
Quoted 2 lines · [email protected] said:

Can someone tell me, how hard is the job to port UML to other plattforms than i386 (how far went the ppc port?).

In principal, it shouldn't be too hard. In practice, the immature arch abstraction layer inside UML is a problem, but this should be improved once I get the x86_64 port merged.

More troublesome are are host-specific problems. Every architecture that UML has run on has exposed toolchain problems of one sort or another. Host kernel and hardware bugs are also somewhat common. These are what will hold up any new port, rather than any problems with UML itself.

Jeff

-------------------------------------------------------
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

author
#3 lore raw
Quoted 7 lines · Jeff Dike
Quoted 2 lines · [email protected] said:

Can someone tell me, how hard is the job to port UML to other plattforms than i386 (how far went the ppc port?).

In principal, it shouldn't be too hard. In practice, the immature arch abstraction layer inside UML is a problem, but this should be improved once I get the x86_64 port merged.

Good News.

Quoted 4 lines

More troublesome are are host-specific problems. Every architecture that UML has run on has exposed toolchain problems of one sort or another. Host kernel and hardware bugs are also somewhat common. These are what will hold up any new port, rather than any problems with UML itself.

How does a hardware bug affect UML? The bugs should be "fixed" by the host kernel and therefore noone should see them (expect some very lowlevel software and the kernel). Can you explain this point to me?

Jörg

Signature · 14 lines
...Wenn man sich bei NetBSD auf eines verlassen kann, dann: Egal, WAS[...]
man updated, mplayer hat mit Sicherheit dependencies drauf.
  Rene Schickbauer, news:[email protected]


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#4 lore raw
Quoted 3 lines · [email protected] said:

How does a hardware bug affect UML? The bugs should be "fixed" by the host kernel and therefore noone should see them (expect some very lowlevel software and the kernel). Can you explain this point to me?

If the host kernel (or its maintainer) hasn't seen the bug yet, it's hard to work around it.

And sometimes there is no workaround. You need to fix the chip.

Jeff

-------------------------------------------------------
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel