if  I try to boot into an UML guest (the standard debian guest from 
user-mode-linux package) with 

$ rootstrap root_fs

or after creating the fs with 

$ linux single con0=fd:0,fd:1 con=pts root=/dev/root rootflags=/ 
rootfstype=hostfs ubd1=root_fs init=/usr/lib/rootstrap/builder devfs=nomount

the boot process of tInitialized stdio console driver
[...]
Console initialized on /dev/tty0
Initializing software serial port version 1
 ubda: unknown partition table
 ubdb: unknown partition table
VFS: Mounted root (hostfs filesystem) readonly.he guest stops after

without a login prompt. But I'm able to connect to the guest via uml_mconsole 
and it seems that there is no connection to the host except from con0 (which 
is connected to fd:0,fd:1)
$ config con1
OK pts

Additionally to that the guest uses 100% of my host cpu until I stop it with a 
halt from uml_mconsole.

I also tried to use another guest, the fedora, which I found at 
http://user-mode-linux.sourceforge.net/new/
But starting this I again get no login prompt.

I'm using an IBM Thinkpad with Pentium M and Debian Etch/testing.
My kernel is vanilla 2.6.18.5 patched with linux-phc, tp-smapi, hdaps-protect 
and skas-patch (from the Debian linux-patch-skas package).

Compiling the kernel without skas-patch doesn't help. Booting the fedora uml 
guest end in a kernel panic
[...]
Console initialized on /dev/tty0
Initializing software serial port version 1
 ubda: unknown partition table
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
mapping mmap stub failed, errno = 12
Kernel panic - not syncing: start_userspace : expected SIGSTOP, got status = 
256

And the Debian uml guest shows the following output (coming back to the 
host-prompt afterwards)
[...]
Console initialized on /dev/tty0
Initializing software serial port version 1
 ubda: unknown partition table
 ubdb: unknown partition table
VFS: Mounted root (hostfs filesystem) readonly.
builder running...
idr_remove called for id=1 which is not allocated.
08767a10:  [<0805d048>] dump_stack+0x1c/0x20
08767a28:  [<08135cad>] idr_remove_warning+0x15/0x19
08767a38:  [<08135d78>] sub_remove+0xc7/0xd0
08767a70:  [<08135da0>] idr_remove+0x1f/0x85
08767a8c:  [<0813f794>] release_dev+0x5bc/0x5de
08767b30:  [<0813fa20>] tty_open+0x26a/0x2bd
08767b60:  [<080b17b4>] chrdev_open+0xd1/0xf9
08767b80:  [<080a946c>] __dentry_open+0xb3/0x187
08767b9c:  [<080a963a>] nameidata_to_filp+0x20/0x35
08767bbc:  [<080a9575>] do_filp_open+0x35/0x3e
08767c24:  [<080a9817>] do_sys_open+0x3f/0xbc
08767c50:  [<080a98a7>] sys_open+0x13/0x15
08767c68:  [<0805eeaf>] handle_syscall+0x87/0xa0
08767cb4:  [<0806d812>] userspace+0x1fc/0x240
08767cfc:  [<0805ebdb>] fork_handler+0x97/0x9f
08767d1c:  [<a7f70420>] 0xa7f70420

idr_remove called for id=1 which is not allocated.
[...]
0892bd1c:  [<a7f70420>] 0xa7f70420

idr_remove called for id=1 which is not allocated.
[...]
08913d1c:  [<a7f70420>] 0xa7f70420

slab error in verify_redzone_free(): cache `size-32': double free detected
08913a84:  [<0805d048>] dump_stack+0x1c/0x20
08913a9c:  [<080a5b39>] __slab_error+0x1e/0x23
08913ab4:  [<080a70ab>] cache_free_debugcheck+0xb2/0x199
08913adc:  [<080a7b43>] kfree+0x83/0xc9
08913b00:  [<0811eefb>] hostfs_fill_sb_common+0xe8/0x107
08913b18:  [<080afd6b>] get_sb_nodev+0x39/0x71
08913b38:  [<0811ef33>] hostfs_read_sb+0x19/0x1e
08913b54:  [<080afe6f>] vfs_kern_mount+0x37/0x6b
08913b7c:  [<080afecd>] do_kern_mount+0x2a/0x3e
08913b9c:  [<080c1e0e>] do_new_mount+0x43/0x6c
08913bbc:  [<080c23d0>] do_mount+0x142/0x162
08913c38:  [<080c2655>] sys_mount+0x6f/0xa9
08913c68:  [<0805eeaf>] handle_syscall+0x87/0xa0
08913cb4:  [<0806d812>] userspace+0x1fc/0x240
08913cfc:  [<0805ebdb>] fork_handler+0x97/0x9f
08913d1c:  [<a7f70420>] 0xa7f70420

087a0c40: redzone 1:0x5a2cf071, redzone 2:0x5a2cf071.
mount: special device hostfs does not exist
Using rootstrap module network from:
        /usr/lib/rootstrap/modules/network
netmask: error fetching interface information: Device not found
Traceback (most recent call last):
  File "/usr/lib/rootstrap/builder", line 93, in ?
    dispatch(module, modulevars)
  File "/usr/lib/rootstrap/builder", line 70, in dispatch
    raise "rootstrap: Module '%s' failed, status %d: %s" % \
rootstrap: Module 'network' failed, status 1: Operation not permitted
Kernel panic - not syncing: Attempted to kill init!

EIP: 0073:[<a7f70410>] CPU: 0 Not tainted ESP: 007b:7f57bf9c EFLAGS: 00000246
    Not tainted
EAX: ffffffda EBX: 00000001 ECX: 00001000 EDX: 4018dff4
ESI: 4018c358 EDI: 4018c358 EBP: 7f57bfc8 DS: 007b ES: 007b
08897b94:  [<080701b4>] show_regs+0xb4/0xb9
08897bc0:  [<0805e6a3>] panic_exit+0x25/0x3f
08897bd4:  [<080806b8>] notifier_call_chain+0x1d/0x37
08897bf4:  [<08080742>] atomic_notifier_call_chain+0x11/0x13
08897c08:  [<08074a72>] panic+0x52/0xd3
08897c28:  [<08076d5b>] do_exit+0x6b/0x37c
08897c48:  [<0807712e>] sys_exit_group+0x0/0x13
08897c60:  [<0807713e>] sys_exit_group+0x10/0x13
08897c6c:  [<0805eeaf>] handle_syscall+0x87/0xa0
08897cb8:  [<0806d812>] userspace+0x1fc/0x240
08897d00:  [<0805eb12>] new_thread_handler+0x9c/0xab
08897d1c:  [<a7f70420>] 0xa7f70420

Why I get no access to the login prompt to the uml guest? And why the guests 
are crashing without the skas-patch? What is the reason, my host-kernel?

Any help would be appreciated.

Regards
Sten

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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