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)
Thanks,
~Partha
~/uml/linux-2.6.18$ ./linux ubd0=debian-3.0r0.ext2 stderr=1
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking for tmpfs mount on /dev/shm...OK
Checking PROT_EXEC mmap in /dev/shm/...OK
Checking if syscall restart handling in host can be skipped...OK
Checking for the skas3 patch in the host:
- /proc/mm...not found
- PTRACE_FAULTINFO...not found
- PTRACE_LDT...not found
UML running in SKAS0 mode
Linux version 2.6.18 ([EMAIL PROTECTED]) (gcc version 3.4.6 (Debian 3.4.6-4))
#1 Wed Jun 13 05:08:01 IST 2007
Built 1 zonelists. Total pages: 8192
Kernel command line: ubd0=debian-3.0r0.ext2 stderr=1 root=98:0
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 30008k available
Mount-cache hash table entries: 512
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
Using 2.6 host AIO
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
-------------------------------------------------------------------------
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