Of course, the modules are in the file-system, so you cannot have modules just by doing make ARCH=um
If you want a customised kernel, you have also to customise the file-system you are using by copying your modules into it. To copy stuff to your file system, you can do "mkdir mount_dir" "mount -o loop your_filesystem mount_dir" cp -r your_mod_dir mount_dir/lib/modules If your file-system is equiped to do compilation, and has enough free space, you can also copy your tarred kernel into it and then do "chroot mount_dir" and as you are inside your file system you should be able to configure and make your kernel and then "make modules-install" should install the modules at the right place. If you do not need a customised kernel, you can try the clownix uml network, its file-system is adapted to its kernel. at http://clownix.net, the uml_clownix project. Martin Paraskevov wrote: > The compilation chapter in UML book instructs that the user > do only: > > % make ARCH=um > > How is this going to install the modules? Am I right that I need to do > more work to > install the modules and how do I do it? Could this be the problem > causing networking > setup to fail? In any case, when I was halting the UML instance I was > getting a lot of > errors like this: > > modprobe: FATAL: Could not load /lib/modules/2.6.23.12/modules.dep: No > such file or directory > > - Martin > > On Jan 6, 2008 6:18 AM, Martin Paraskevov <[EMAIL PROTECTED]> wrote: > >> I complied a custom uml kernel which I transfered to the server >> on which I want to run it but when I tried to set up the network >> I got an error: >> >> (none):~# ifconfig eth0 192.168.1.253 up >> tuntap_open_tramp : didn't receive a message >> setreuid to root failed : : Operation not permitted >> tuntap_open_tramp failed - err = 22 >> SIOCSIFFLAGS: Invalid argument >> tuntap_open_tramp : didn't receive a message >> setreuid to root failed : : Operation not permitted >> tuntap_open_tramp failed - err = 22 >> SIOCSIFFLAGS: Invalid argument >> >> >> Before that I had everything that allowed me to bring up the network >> on my other machine: >> >> # tunctl -u martin >> % uml_mconsole umid=sandbox config eth0=tuntap,,,192.168.1.254 >> >> /dev/net/tun is readable and writable. And my user belongs to the >> uml-net group. What did I do wrong? Did I compile the custom kernel >> with (or without) some option that is causing the error? From the error >> message it seems to be a permissions error but I have no idea where >> this is coming from since everything that caused permission errors >> before was fixed. What would be setreuid and setreuid in the error >> message above? >> >> - Martin >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > User-mode-linux-user mailing list > User-mode-linux-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user