On Saturday 21 May 2005 15:30, Liu Yong wrote:
> My host OS is linux-2.6.11.8 from kernel.org, whiching running in FC3.
> My Guest OS is linux-2.6.11.8 patched by uml-2.6.11.8-bs5.patch.bz2.
> But when I run the command ./linux debug in skas mode. It can't fire
> up the debug xterm.

That syntax is plain wrong for SKAS mode, just read the docs... gdb linux is 
the right syntax. For any 2.4/2.6 kernel since 2.4.20-1um at least...

> When I do it in TT mode which is 2.6.9.1.667 in FC3, 
> the debug xterm appears.
> Here is some information.
> (1) uname -a
> Linux shygod 2.6.11.8-skas3-v8 #3 Sat May 21 12:39:15 CST 2005 i686 i686
> i386 GNU/Linux
>
> (2) ./linux debug
> Checking for /proc/mm...found
> Checking for the skas3 patch in the host...found
> Checking PROT_EXEC mmap in /tmp...OK
> Linux version 2.6.11.8-bs5 ([EMAIL PROTECTED]) (gcc version 3.4.2 20041017 
> (Red
> Hat 3.4.2-6.fc3)) #3 Sat May 21 13:18:25 CST 2005 Built 1 zonelists
> Kernel command line: root=98:0
> PID hash table entries: 256 (order: 8, 4096 bytes)
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Memory: 29272k available
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> Checking for host processor cmov support...Yes
> Checking for host processor xmm support...No
> 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 that host ptys support output SIGIO...Yes
> Checking that host ptys support SIGIO on close...No, enabling workaround
> Checking for /dev/anon on the host...Not available (open failed with errno
> 2) NET: Registered protocol family 16
> mconsole (version 2) initialized on /root/.uml/SV9Zwm/mconsole
> ..........................
>
> (3) uml .config
> #
> # UML-specific options
> #
> CONFIG_MODE_TT=y
> CONFIG_MODE_SKAS=y
> # CONFIG_64_BIT is not set
> CONFIG_TOP_ADDR=0xc0000000
> # CONFIG_3_LEVEL_PGTABLES is not set
> CONFIG_ARCH_HAS_SC_SIGNALS=y
> CONFIG_ARCH_REUSE_HOST_VSYSCALL_AREA=y
> CONFIG_LD_SCRIPT_STATIC=y
> CONFIG_NET=y
> CONFIG_BINFMT_ELF=y
> CONFIG_BINFMT_MISC=y
> CONFIG_HOSTFS=y
> CONFIG_MCONSOLE=y
> CONFIG_MCONSOLE_EXEC=y
> CONFIG_MAGIC_SYSRQ=y
> # CONFIG_HOST_2G_2G is not set
> # CONFIG_SMP is not set
> CONFIG_NEST_LEVEL=0
> CONFIG_KERNEL_HALF_GIGS=1
> # CONFIG_HIGHMEM is not set
> CONFIG_KERNEL_STACK_ORDER=2
> CONFIG_UML_REAL_TIME_CLOCK=y
>
> I wonder why It can't fire up the debug xterm. Thanks.

-- 
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to