1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.18">
<TITLE>User Mode Linux HOWTO </TITLE>
<LINK HREF="UserModeLinux-HOWTO-1.html" REL=next>
</HEAD>
<BODY>
<A HREF="UserModeLinux-HOWTO-1.html">Next</A>
Previous
Contents
<HR>
<H1>User Mode Linux HOWTO </H1>
<H2>User Mode Linux Core Team </H2>Tue Feb 26 09:52:28 EST 2002
<HR>
<EM> This document describes the use and abuse of Jeff Dike's User Mode Linux: a port of the Linux kernel as a normal Intel Linux process. </EM>
<HR>
<P>
<H2><A NAME="toc1">1.</A> <A HREF="UserModeLinux-HOWTO-1.html">Introduction</A></H2>
<UL>
<LI><A NAME="toc1.1">1.1</A> <A HREF="UserModeLinux-HOWTO-1.html#ss1.1">How is User Mode Linux Different?</A>
<LI><A NAME="toc1.2">1.2</A> <A HREF="UserModeLinux-HOWTO-1.html#ss1.2">Why Would I Want User Mode Linux?</A>
</UL>
<P>
<H2><A NAME="toc2">2.</A> <A HREF="UserModeLinux-HOWTO-2.html">Compiling the kernel and modules</A></H2>
<UL>
<LI><A NAME="toc2.1">2.1</A> <A HREF="UserModeLinux-HOWTO-2.html#ss2.1">Compiling the kernel</A>
<LI><A NAME="toc2.2">2.2</A> <A HREF="UserModeLinux-HOWTO-2.html#ss2.2">Compiling and installing kernel modules</A>
</UL>
<P>
<H2><A NAME="toc3">3.</A> <A HREF="UserModeLinux-HOWTO-3.html">Running the kernel and logging in</A></H2>
<UL>
<LI><A NAME="toc3.1">3.1</A> <A HREF="UserModeLinux-HOWTO-3.html#ss3.1">Running UML</A>
<LI><A NAME="toc3.2">3.2</A> <A HREF="UserModeLinux-HOWTO-3.html#ss3.2">Logging in</A>
<LI><A NAME="toc3.3">3.3</A> <A HREF="UserModeLinux-HOWTO-3.html#ss3.3">Examples</A>
</UL>
<P>
<H2><A NAME="toc4">4.</A> <A HREF="UserModeLinux-HOWTO-4.html">Setting up the network</A></H2>
<UL>
<LI><A NAME="toc4.1">4.1</A> <A HREF="UserModeLinux-HOWTO-4.html#ss4.1">General setup</A>
<LI><A NAME="toc4.2">4.2</A> <A HREF="UserModeLinux-HOWTO-4.html#ss4.2">Userspace daemons</A>
<LI><A NAME="toc4.3">4.3</A> <A HREF="UserModeLinux-HOWTO-4.html#ss4.3">Specifying ethernet addresses</A>
<LI><A NAME="toc4.4">4.4</A> <A HREF="UserModeLinux-HOWTO-4.html#ss4.4">UML interface setup</A>
<LI><A NAME="toc4.5">4.5</A> <A HREF="UserModeLinux-HOWTO-4.html#ss4.5">Multicast</A>
<LI><A NAME="toc4.6">4.6</A> <A HREF="UserModeLinux-HOWTO-4.html#ss4.6">TUN/TAP</A>
<LI><A NAME="toc4.7">4.7</A> <A HREF="UserModeLinux-HOWTO-4.html#ss4.7">Ethertap</A>
<LI><A NAME="toc4.8">4.8</A> <A HREF="UserModeLinux-HOWTO-4.html#ss4.8">The switch daemon</A>
<LI><A NAME="toc4.9">4.9</A> <A HREF="UserModeLinux-HOWTO-4.html#ss4.9">Slip</A>
<LI><A NAME="toc4.10">4.10</A> <A HREF="UserModeLinux-HOWTO-4.html#ss4.10">Setting up the host yourself</A>
</UL>
<P>
<H2><A NAME="toc5">5.</A> <A HREF="UserModeLinux-HOWTO-5.html">Sharing Filesystems between Virtual Machines</A></H2>
<UL>
<LI><A NAME="toc5.1">5.1</A> <A HREF="UserModeLinux-HOWTO-5.html#ss5.1">A warning</A>
<LI><A NAME="toc5.2">5.2</A> <A HREF="UserModeLinux-HOWTO-5.html#ss5.2">Using layered block devices</A>
<LI><A NAME="toc5.3">5.3</A> <A HREF="UserModeLinux-HOWTO-5.html#ss5.3">Note!</A>
<LI><A NAME="toc5.4">5.4</A> <A HREF="UserModeLinux-HOWTO-5.html#ss5.4">Another warning</A>
<LI><A NAME="toc5.5">5.5</A> <A HREF="UserModeLinux-HOWTO-5.html#ss5.5">uml_moo : Merging a COW file with its backing file</A>
</UL>
<P>
<H2><A NAME="toc6">6.</A> <A HREF="UserModeLinux-HOWTO-6.html">Creating filesystems</A></H2>
<UL>
<LI><A NAME="toc6.1">6.1</A> <A HREF="UserModeLinux-HOWTO-6.html#ss6.1">Create the filesystem file</A>
<LI><A NAME="toc6.2">6.2</A> <A HREF="UserModeLinux-HOWTO-6.html#ss6.2">Assign the file to a UML device</A>
<LI><A NAME="toc6.3">6.3</A> <A HREF="UserModeLinux-HOWTO-6.html#ss6.3">Creating and mounting the filesystem</A>
</UL>
<P>
<H2><A NAME="toc7">7.</A> <A HREF="UserModeLinux-HOWTO-7.html">Host file access</A></H2>
<UL>
<LI><A NAME="toc7.1">7.1</A> <A HREF="UserModeLinux-HOWTO-7.html#ss7.1">Using hostfs</A>
<LI><A NAME="toc7.2">7.2</A> <A HREF="UserModeLinux-HOWTO-7.html#ss7.2">hostfs as the root filesystem</A>
<LI><A NAME="toc7.3">7.3</A> <A HREF="UserModeLinux-HOWTO-7.html#ss7.3">Building hostfs</A>
</UL>
<P>
<H2><A NAME="toc8">8.</A> <A HREF="UserModeLinux-HOWTO-8.html">The Management Console</A></H2>
<UL>
<LI><A NAME="toc8.1">8.1</A> <A HREF="UserModeLinux-HOWTO-8.html#ss8.1">version</A>
<LI><A NAME="toc8.2">8.2</A> <A HREF="UserModeLinux-HOWTO-8.html#ss8.2">halt and reboot</A>
<LI><A NAME="toc8.3">8.3</A> <A HREF="UserModeLinux-HOWTO-8.html#ss8.3">config</A>
<LI><A NAME="toc8.4">8.4</A> <A HREF="UserModeLinux-HOWTO-8.html#ss8.4">remove</A>
</UL>
<P>
<H2><A NAME="toc9">9.</A> <A HREF="UserModeLinux-HOWTO-9.html">Kernel debugging</A></H2>
<UL>
<LI><A NAME="toc9.1">9.1</A> <A HREF="UserModeLinux-HOWTO-9.html#ss9.1">Starting the kernel under gdb</A>
<LI><A NAME="toc9.2">9.2</A> <A HREF="UserModeLinux-HOWTO-9.html#ss9.2">Attaching gdb to the kernel</A>
<LI><A NAME="toc9.3">9.3</A> <A HREF="UserModeLinux-HOWTO-9.html#ss9.3">Debugging modules</A>
<LI><A NAME="toc9.4">9.4</A> <A HREF="UserModeLinux-HOWTO-9.html#ss9.4">Using alternate debuggers</A>
</UL>
<P>
<H2><A NAME="toc10">10.</A> <A HREF="UserModeLinux-HOWTO-10.html">Kernel debugging examples</A></H2>
<UL>
<LI><A NAME="toc10.1">10.1</A> <A HREF="UserModeLinux-HOWTO-10.html#ss10.1">The case of the hung fsck</A>
<LI><A NAME="toc10.2">10.2</A> <A HREF="UserModeLinux-HOWTO-10.html#ss10.2">Episode 2: The case of the hung fsck</A>
</UL>
<P>
<H2><A NAME="toc11">11.</A> <A HREF="UserModeLinux-HOWTO-11.html">What to do when UML doesn't work</A></H2>
<UL>
<LI><A NAME="toc11.1">11.1</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.1">Child nnnnn exited with signal 11</A>
<LI><A NAME="toc11.2">11.2</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.2">Segfault in padzero</A>
<LI><A NAME="toc11.3">11.3</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.3">Out of pty's in getmaster</A>
<LI><A NAME="toc11.4">11.4</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.4">Can't set up the umn device : "Failed to set slip line discipline"</A>
<LI><A NAME="toc11.5">11.5</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.5">Stack overflowed onto current_task page</A>
<LI><A NAME="toc11.6">11.6</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.6">Strange compilation errors when you build from source</A>
<LI><A NAME="toc11.7">11.7</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.7">UML hangs on boot after mounting devfs</A>
<LI><A NAME="toc11.8">11.8</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.8">A variety of panics and hangs with /tmp on a reiserfs filesystem</A>
<LI><A NAME="toc11.9">11.9</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.9">The compile fails with errors about conflicting types for 'open', 'dup', and 'waitpid'</A>
<LI><A NAME="toc11.10">11.10</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.10">UML doesn't work when /tmp is an NFS filesystem</A>
<LI><A NAME="toc11.11">11.11</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.11">UML hangs on boot when compiled with gprof support</A>
<LI><A NAME="toc11.12">11.12</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.12">syslogd dies with a SIGTERM on startup</A>
<LI><A NAME="toc11.13">11.13</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.13">TUN/TAP networking doesn't work on a 2.4 host</A>
<LI><A NAME="toc11.14">11.14</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.14">You can network to the host but not to other machines on the net</A>
<LI><A NAME="toc11.15">11.15</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.15">I have no root and I want to scream</A>
<LI><A NAME="toc11.16">11.16</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.16">UML build conflict between ptrace.h and ucontext.h</A>
<LI><A NAME="toc11.17">11.17</A> <A HREF="UserModeLinux-HOWTO-11.html#ss11.17">Any other panic, hang, or strange behavior</A>
</UL>
<P>
<H2><A NAME="toc12">12.</A> <A HREF="UserModeLinux-HOWTO-12.html">Diagnosing Problems</A></H2>
<UL>
<LI><A NAME="toc12.1">12.1</A> <A HREF="UserModeLinux-HOWTO-12.html#ss12.1">Case 1 : Normal kernel panics</A>
<LI><A NAME="toc12.2">12.2</A> <A HREF="UserModeLinux-HOWTO-12.html#ss12.2">Case 2 : Tracing thread panics</A>
<LI><A NAME="toc12.3">12.3</A> <A HREF="UserModeLinux-HOWTO-12.html#ss12.3">Case 3 : Tracing thread panics caused by other threads</A>
<LI><A NAME="toc12.4">12.4</A> <A HREF="UserModeLinux-HOWTO-12.html#ss12.4">Case 4 : Hangs</A>
</UL>
<P>
<H2><A NAME="toc13">13.</A> <A HREF="UserModeLinux-HOWTO-13.html">Thanks</A></H2>
<UL>
<LI><A NAME="toc13.1">13.1</A> <A HREF="UserModeLinux-HOWTO-13.html#ss13.1">Code and Documentation</A>
<LI><A NAME="toc13.2">13.2</A> <A HREF="UserModeLinux-HOWTO-13.html#ss13.2">Flushing out bugs</A>
<LI><A NAME="toc13.3">13.3</A> <A HREF="UserModeLinux-HOWTO-13.html#ss13.3">Buglets and clean-ups</A>
<LI><A NAME="toc13.4">13.4</A> <A HREF="UserModeLinux-HOWTO-13.html#ss13.4">Case Studies</A>
<LI><A NAME="toc13.5">13.5</A> <A HREF="UserModeLinux-HOWTO-13.html#ss13.5">Other contributions</A>
</UL>
<HR>
<A HREF="UserModeLinux-HOWTO-1.html">Next</A>
Previous
Contents
</BODY>
</HTML>
|