Hello,

I want to connect to my UML using a port connection. For that purpose I've 
added the following to my UML kernel command line:

con7=port:9000 

When I try to telnet to localhost:9000 on the host I get following message in 
UML:

[42949394.490000] port_accept : port_connection returned 2

I have telnetd and port-helper installed inside UML. I also tried con6 instead 
of con7 but then the boot process halts (apparently waiting for a connection 
to con6). When I try to telnet to port 9000 i get the same message inside UML 
as when using con7 and I'm stuck in the bott process.

UML kernel version if 2.6.26-rc8, my host system is Ubuntu 8.4 (kernel 
2.6.24).

I also tried the final version of kernel 2.6.26 but it gives me:

EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Stub registers -
        0 - 0
        1 - 0
        2 - 0
        3 - 0
        4 - 0
        5 - 0
        6 - 0
        7 - 0
        8 - 0
        9 - 0
        10 - 0
        11 - ffffffff
        12 - 0
        13 - 73
        14 - 10202
        15 - 0
        16 - 7b
wait_stub_done : failed to wait for SIGTRAP, pid = 18605, n = 18605, errno = 
0, status = 0xb7f
Kernel panic - not syncing: Attempted to kill init!

EIP: 0073:[<b7fa3410>] CPU: 0 Not tainted ESP: 007b:bfae0d08 EFLAGS: 00000246
    Not tainted
EAX: 00000000 EBX: 000048a8 ECX: 00000013 EDX: 000048a8
ESI: 000048a4 EDI: b7e4daac EBP: bfae0d34 DS: 007b ES: 007b
09c5cb1c:  [<0806a0fb>] show_regs+0xb4/0xb9
09c5cb48:  [<08059b92>] panic_exit+0x25/0x3b
09c5cb5c:  [<080839da>] notifier_call_chain+0x27/0x4c
09c5cb84:  [<08083a16>] __atomic_notifier_call_chain+0x17/0x19
09c5cb94:  [<08083a2d>] atomic_notifier_call_chain+0x15/0x17
09c5cbb0:  [<080700a3>] panic+0x52/0xd8
09c5cbd0:  [<08072dfd>] do_exit+0x5a/0x5b4
09c5cc0c:  [<080733d3>] do_group_exit+0x7c/0xa8
09c5cc28:  [<0807af10>] get_signal_to_deliver+0x279/0x28e
09c5cc4c:  [<080584ed>] do_signal+0x20f/0x2c9
09c5cd1c:  [<080599ef>] fatal_sigsegv+0x1f/0x24
09c5cd30:  [<080671a2>] wait_stub_done+0xa3/0xab
09c5cd5c:  [<08066a59>] do_syscall_stub+0xa0/0x171
09c5cd80:  [<08066c34>] run_syscall_stub+0x9c/0xa1
09c5cd94:  [<080680ba>] write_ldt_entry+0xe2/0x140
09c5cddc:  [<08068786>] init_new_ldt+0x18a/0x2c0
09c5ce5c:  [<08059ea0>] init_new_context+0xca/0x10e
09c5ce7c:  [<080adc07>] bprm_mm_init+0x3f/0x164
09c5ceac:  [<080ae7df>] do_execve+0x6d/0x198
09c5cecc:  [<08056a5d>] execve1+0x25/0x40
09c5cef0:  [<08056ac9>] um_execve+0x14/0x34
09c5cefc:  [<080587b9>] kernel_execve+0x2c/0x36
09c5cf1c:  [<080567ac>] run_init_process+0x18/0x1d
09c5cf30:  [<08056857>] init_post+0xa6/0xcf
09c5cf3c:  [<0804953f>] kernel_init+0x1e2/0x1ec
09c5cfb4:  [<080641df>] run_kernel_thread+0x37/0x3f
09c5cfe0:  [<08057aa0>] new_thread_handler+0x57/0x7e
09c5cffc:  [<00000000>] 0x0

Any ideas what is going wrong? All i want is a console that is put in a port 
of the host machine such that I can telnet to it.

Thanks,
-- 
Thomas Winkler
[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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