-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Partha R wrote: > Hi All, > > I need some help in setting up X11 inside UML - it hangs after the > following set of messages: > ~/uml/linux-2.6.18$ ./linux ubd0=debian-3.0r0.ext2 stderr=1 > ......................... > TCP: Hash tables configured (established 1024 bind 512) TCP reno > registered (Please see attachment "dump.txt" for complete set of > messages.) > > > This is what I have done until now: > 01. Download Linux Kernel 2.6.18 (wget > http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.gz) > 02. Download the UML patches (wget > http://user-mode-linux.sourceforge.net/work/current/2.6/2.6.18/patches.tar) > 03. Apply until x11-fb patch (quilt push x11-fb) 04. Make changes to > x11-fb patch to fix some error > 04.01 Fix compilation error => arch/um/drivers/x11_kern.c:397: error: > `soft_cursor' undeclared here (not in a function) > Added the following declaration to the file:x11_kern.c (quilt > edit arch/um/drivers/x11_kern.c): > extern int soft_cursor(struct fb_info *info, struct fb_cursor > *cursor); > 04.02 Fix to get the option "UML-specific options/Graphics > support/Console display driver support" > Un-comment the following line in file:arch/um/Kconfig (quilt > edit arch/um/Kconfig): > source "drivers/char/Kconfig" > 05. Refresh the x11-fb patch (quilt refresh) 06. Apply rest of the > patches (quilt push debug-sysrq-t) 07. Apply patch for PAGE_SHIFT > error (04_include_PAGESHIFT_definition.patch -patch) 08. Configure > defaults for UML (make defconfig ARCH=um) 09. Configure UML (make > menuconfig ARCH=um) > => Enable "UML-specific options/Graphics support/Support for frame > buffer devices" > => Disable "UML-specific options/Graphics support/Console display > driver support/VGA text console" > => Enable "UML-specific options/Graphics support/Console display > driver support/Framebuffer Console support" > => Enable "UML-specific options/Graphics support/Console display > driver support/Select compiled-in fonts/VGA 8x8 font" > => Enable "UML-specific options/Graphics support/Console display > driver support/Select compiled-in fonts/VGA 8x16 font" > 10. Build UML (make ARCH=um)
x11-fb has never worked for me... But please do let us know if you get it to work, I really think this would be a killer app for uml. Antoine -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGbrEMGK2zHPGK1rsRCgaRAJ0YHEEcMaMKvCd+nIOHBDekP8fPWwCfZYGJ RoFWk062sHpEVSB8cjtjJl0= =ec8M -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user