I have followed the yum instructions found on a Xen discussion in Redhat Magazine to get an FC3 root_fs:
http://www.redhat.com/magazine/004feb05/features/virtualization/
The difference being that I didn't run the MAKEDEV script but just copied my hosts' /dev directory over.
(If this was a bad idea, let me know). I also created the udb[a-h] devs. If anyone is interested in my script for this I'd be happy to post it.
It is similar to Matt Lawrence's script. Unfortunately, my experience with Matt's script was more difficult than I expected, but I might have skipped a step.


Host is running 2.6.11.6 vanilla. Guest is 2.6.11.6 vanilla. This combination does not induce high (1.0+) uptime on host with idle guest. Uptime on guest reads at 1.00.

Question: I get some stack traces during boot. Are they signifigant and should I patch host kernel to get rid of them? They look like some kind of attempted operations against tty0.

If this is noise, I do appologize. I must say I'm happy to be able to get to play round with some vanilla kernel compiles that work! Thanks!

Jed

These are guest boot messages:

Checking for /proc/mm...not found
Checking PROT_EXEC mmap in /tmp...OK
tracing thread pid = 19133
Linux version 2.6.11 ([EMAIL PROTECTED]) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 Mon Apr 4 09:13:36 PDT 2005
Built 1 zonelists
Kernel command line: root=/dev/ubda ubda=root_fs ubdh=swap con=null con0=fd:0,fd:1 con1=xterm eth0=tuntap,tap1,,192.168.50.23
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: 29088k available
Security Framework v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
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...missing
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 /home/jreynolds/.uml/monster/mconsole
Netdevice 0 : TUN/TAP backend - IP = 192.168.50.23
audit: initializing netlink socket (disabled)
audit(0.230:0): initialized
SELinux: Registering netfilter hooks
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
Initializing software serial port version 1
ubda: unknown partition table
ubdh: unknown partition table
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
line_ioctl: tty0: ioctl KDSIGACCEPT called
Debug: sleeping function called from invalid context at include/asm/arch/semaphore.h:107
in_atomic():0, irqs_disabled():1
Call Trace:
a086b9c0: [<a002ed4b>] __might_sleep+0x9b/0xbc
a086b9f0: [<a001d7c6>] uml_console_write+0x26/0x5c
a086ba10: [<a0031614>] __call_console_drivers+0x50/0x58
a086ba40: [<a0031705>] call_console_drivers+0x79/0x120
a086ba70: [<a0031aac>] release_console_sem+0x3c/0xb4
a086ba80: [<a0031a84>] release_console_sem+0x14/0xb4
a086ba90: [<a003196c>] vprintk+0xe8/0x13c
a086bab0: [<a0031882>] printk+0x12/0x14
a086bad0: [<a001ed84>] line_ioctl+0x88/0x90
a086bb00: [<a00ed3a1>] tty_ioctl+0x3ad/0x4d4
a086bb50: [<a007cbe7>] do_ioctl+0x3f/0x5c
a086bb80: [<a007d041>] vfs_ioctl+0x55/0x2dc
a086bbd0: [<a007d311>] sys_ioctl+0x49/0x68
a086bc00: [<a001a3da>] execute_syscall_tt+0xaa/0xf0
a086bc70: [<a0016c1e>] record_syscall_start+0x4e/0x58
a086bc90: [<a001a45f>] syscall_handler_tt+0x3f/0x74
a086bcc0: [<a001b5b0>] sig_handler_common_tt+0x90/0x108
a086bcd0: [<a001b611>] sig_handler_common_tt+0xf1/0x108
a086bd00: [<a0028983>] sig_handler+0x1f/0x34
a086bd20: [<a0172148>] __restore+0x0/0x8


INIT: version 2.85 booting
line_ioctl: tty0: ioctl TIOCLINUX called
Welcome to Fedora Core
Press 'I' to enter interactive startup.
Starting udev: [ OK ]
Initializing hardware... storage network audio done[ OK ]
Configuring kernel parameters: [ OK ]
Setting clock : Tue Apr 5 17:54:33 EDT 2005 [ OK ]
Setting hostname monster.stargateusa.com: [ OK ]
Checking root filesystem
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/ubda
/dev/ubda: clean, 51151/393216 files, 172691/786432 blocks
[ OK ]
Remounting root filesystem in read-write mode: [ OK ]
Setting up Logical Volume Management: [ OK ]
Checking filesystems
Checking all file systems.
[ OK ]
Mounting local filesystems: [ OK ]
Enabling local filesystem quotas: [ OK ]
getgrnam failed for \uffffEnabling swap space: [ OK ]
INIT: Entering runlevel: 3
Entering non-interactive startup
Checking for new hardware [ OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
Starting portmap: [ OK ]
Starting NFS statd: [ OK ]
Starting RPC idmapd: FATAL: Module sunrpc not found.
FATAL: Error running install command for sunrpc
Mounting other filesystems: [ OK ]
Starting sshd:ip_tables: (C) 2000-2002 Netfilter core team
Debug: sleeping function called from invalid context at include/asm/arch/semaphore.h:107
in_atomic():0, irqs_disabled():1
Call Trace:
a1597ab0: [<a002ed4b>] __might_sleep+0x9b/0xbc
a1597ae0: [<a001d7c6>] uml_console_write+0x26/0x5c
a1597b00: [<a0031614>] __call_console_drivers+0x50/0x58
a1597b30: [<a0031705>] call_console_drivers+0x79/0x120
a1597b60: [<a0031aac>] release_console_sem+0x3c/0xb4
a1597b70: [<a0031a84>] release_console_sem+0x14/0xb4
a1597b80: [<a003196c>] vprintk+0xe8/0x13c
a1597b94: [<a2820b20>] ipt_get_matches+0x0/0x9c [ip_tables]
a1597ba0: [<a0031882>] printk+0x12/0x14
a1597bb8: [<a2820b20>] ipt_get_matches+0x0/0x9c [ip_tables]
a1597bc0: [<a2824129>] init+0x129/0x187 [ip_tables]
a1597bf0: [<a004c656>] sys_init_module+0x152/0x1e8
a1597c00: [<a001a3da>] execute_syscall_tt+0xaa/0xf0
a1597c70: [<a0016c1e>] record_syscall_start+0x4e/0x58
a1597c90: [<a001a45f>] syscall_handler_tt+0x3f/0x74
a1597cc0: [<a001b5b0>] sig_handler_common_tt+0x90/0x108
a1597cd0: [<a001b611>] sig_handler_common_tt+0xf1/0x108
a1597d00: [<a0028983>] sig_handler+0x1f/0x34
a1597d20: [<a0172148>] __restore+0x0/0x8


[  OK  ]
Starting sendmail: [  OK  ]
Starting sm-client: [  OK  ]
Starting crond: [  OK  ]
Starting anacron: [  OK  ]
Starting atd: [  OK  ]
Starting system message bus: [  OK  ]
Starting HAL daemon: [  OK  ]


These messages present on power-down:

INIT: Switching to runlevel: 0
INIT: Sending processes the TERM signal
Stopping HAL daemon: [FAILED]
Stopping system message bus: [FAILED]
Stopping atd: [ OK ]
Stopping sshd:[ OK ]
Shutting down sendmail: [ OK ]
Shutting down sm-client: [ OK ]
Stopping crond: [ OK ]
Stopping NFS statd: [ OK ]
Stopping portmap: [ OK ]
Shutting down kernel logger: [ OK ]
Shutting down system logger: [ OK ]
line_ioctl: tty0: ioctl TIOCLINUX called
Debug: sleeping function called from invalid context at include/asm/arch/semaphore.h:107
in_atomic():0, irqs_disabled():1
Call Trace:
a1d2b9c0: [<a002ed4b>] __might_sleep+0x9b/0xbc
a1d2b9f0: [<a001d7c6>] uml_console_write+0x26/0x5c
a1d2ba10: [<a0031614>] __call_console_drivers+0x50/0x58
a1d2ba40: [<a0031705>] call_console_drivers+0x79/0x120
a1d2ba70: [<a0031aac>] release_console_sem+0x3c/0xb4
a1d2ba80: [<a0031a84>] release_console_sem+0x14/0xb4
a1d2ba90: [<a003196c>] vprintk+0xe8/0x13c
a1d2bab0: [<a0031882>] printk+0x12/0x14
a1d2bad0: [<a001ed84>] line_ioctl+0x88/0x90
a1d2bb00: [<a00ed3a1>] tty_ioctl+0x3ad/0x4d4
a1d2bb20: [<a00178bb>] flush_tlb_page+0x1f/0x24
a1d2bb50: [<a007cbe7>] do_ioctl+0x3f/0x5c
a1d2bb80: [<a007d041>] vfs_ioctl+0x55/0x2dc
a1d2bbd0: [<a007d311>] sys_ioctl+0x49/0x68
a1d2bc00: [<a001a3da>] execute_syscall_tt+0xaa/0xf0
a1d2bc70: [<a0016c1e>] record_syscall_start+0x4e/0x58
a1d2bc90: [<a001a45f>] syscall_handler_tt+0x3f/0x74
a1d2bcc0: [<a001b5b0>] sig_handler_common_tt+0x90/0x108
a1d2bcd0: [<a001b611>] sig_handler_common_tt+0xf1/0x108
a1d2bd00: [<a0028983>] sig_handler+0x1f/0x34
a1d2bd20: [<a0172148>] __restore+0x0/0x8


Shutting down interface eth0: line_ioctl: tty0: ioctl TIOCLINUX called
[ OK ]
Shutting down loopback interface: line_ioctl: tty0: ioctl TIOCLINUX called
Debug: sleeping function called from invalid context at include/asm/arch/semaphore.h:107
in_atomic():0, irqs_disabled():1
Call Trace:
a175f9c0: [<a002ed4b>] __might_sleep+0x9b/0xbc
a175f9f0: [<a001d7c6>] uml_console_write+0x26/0x5c
a175fa10: [<a0031614>] __call_console_drivers+0x50/0x58
a175fa40: [<a0031705>] call_console_drivers+0x79/0x120
a175fa70: [<a0031aac>] release_console_sem+0x3c/0xb4
a175fa80: [<a0031a84>] release_console_sem+0x14/0xb4
a175fa90: [<a003196c>] vprintk+0xe8/0x13c
a175fab0: [<a0031882>] printk+0x12/0x14
a175fad0: [<a001ed84>] line_ioctl+0x88/0x90
a175fb00: [<a00ed3a1>] tty_ioctl+0x3ad/0x4d4
a175fb20: [<a00178bb>] flush_tlb_page+0x1f/0x24
a175fb50: [<a007cbe7>] do_ioctl+0x3f/0x5c
a175fb80: [<a007d041>] vfs_ioctl+0x55/0x2dc
a175fbd0: [<a007d311>] sys_ioctl+0x49/0x68
a175fc00: [<a001a3da>] execute_syscall_tt+0xaa/0xf0
a175fc70: [<a0016c1e>] record_syscall_start+0x4e/0x58
a175fc90: [<a001a45f>] syscall_handler_tt+0x3f/0x74
a175fcc0: [<a001b5b0>] sig_handler_common_tt+0x90/0x108
a175fcd0: [<a001b611>] sig_handler_common_tt+0xf1/0x108
a175fd00: [<a0028983>] sig_handler+0x1f/0x34
a175fd20: [<a0172148>] __restore+0x0/0x8


[ OK ]
line_ioctl: tty0: ioctl TIOCLINUX called
Debug: sleeping function called from invalid context at include/asm/arch/semaphore.h:107
in_atomic():0, irqs_disabled():1
Call Trace:
a1fb39c0: [<a002ed4b>] __might_sleep+0x9b/0xbc
a1fb39f0: [<a001d7c6>] uml_console_write+0x26/0x5c
a1fb3a10: [<a0031614>] __call_console_drivers+0x50/0x58
a1fb3a40: [<a0031705>] call_console_drivers+0x79/0x120
a1fb3a70: [<a0031aac>] release_console_sem+0x3c/0xb4
a1fb3a80: [<a0031a84>] release_console_sem+0x14/0xb4
a1fb3a90: [<a003196c>] vprintk+0xe8/0x13c
a1fb3ab0: [<a0031882>] printk+0x12/0x14
a1fb3ad0: [<a001ed84>] line_ioctl+0x88/0x90
a1fb3b00: [<a00ed3a1>] tty_ioctl+0x3ad/0x4d4
a1fb3b20: [<a00178bb>] flush_tlb_page+0x1f/0x24
a1fb3b50: [<a007cbe7>] do_ioctl+0x3f/0x5c
a1fb3b80: [<a007d041>] vfs_ioctl+0x55/0x2dc
a1fb3bd0: [<a007d311>] sys_ioctl+0x49/0x68
a1fb3c00: [<a001a3da>] execute_syscall_tt+0xaa/0xf0
a1fb3c70: [<a0016c1e>] record_syscall_start+0x4e/0x58
a1fb3c90: [<a001a45f>] syscall_handler_tt+0x3f/0x74
a1fb3cc0: [<a001b5b0>] sig_handler_common_tt+0x90/0x108
a1fb3cd0: [<a001b611>] sig_handler_common_tt+0xf1/0x108
a1fb3d00: [<a0028983>] sig_handler+0x1f/0x34
a1fb3d20: [<a0172148>] __restore+0x0/0x8


Starting killall: line_ioctl: tty0: ioctl TIOCLINUX called
line_ioctl: tty0: ioctl TIOCLINUX called
Stopping HAL daemon: [FAILED]
Stopping system message bus: [FAILED]
[FAILED]
line_ioctl: tty0: ioctl TIOCLINUX called
Debug: sleeping function called from invalid context at include/asm/arch/semaphore.h:107
in_atomic():0, irqs_disabled():1
Call Trace:
a1fb39c0: [<a002ed4b>] __might_sleep+0x9b/0xbc
a1fb39f0: [<a001d7c6>] uml_console_write+0x26/0x5c
a1fb3a10: [<a0031614>] __call_console_drivers+0x50/0x58
a1fb3a40: [<a0031705>] call_console_drivers+0x79/0x120
a1fb3a70: [<a0031aac>] release_console_sem+0x3c/0xb4
a1fb3a80: [<a0031a84>] release_console_sem+0x14/0xb4
a1fb3a90: [<a003196c>] vprintk+0xe8/0x13c
a1fb3ab0: [<a0031882>] printk+0x12/0x14
a1fb3ad0: [<a001ed84>] line_ioctl+0x88/0x90
a1fb3b00: [<a00ed3a1>] tty_ioctl+0x3ad/0x4d4
a1fb3b20: [<a00178bb>] flush_tlb_page+0x1f/0x24
a1fb3b50: [<a007cbe7>] do_ioctl+0x3f/0x5c
a1fb3b80: [<a007d041>] vfs_ioctl+0x55/0x2dc
a1fb3bd0: [<a007d311>] sys_ioctl+0x49/0x68
a1fb3c00: [<a001a3da>] execute_syscall_tt+0xaa/0xf0
a1fb3c70: [<a0016c1e>] record_syscall_start+0x4e/0x58
a1fb3c90: [<a001a45f>] syscall_handler_tt+0x3f/0x74
a1fb3cc0: [<a001b5b0>] sig_handler_common_tt+0x90/0x108
a1fb3cd0: [<a001b611>] sig_handler_common_tt+0xf1/0x108
a1fb3d00: [<a0028983>] sig_handler+0x1f/0x34
a1fb3d20: [<a0172148>] __restore+0x0/0x8


Sending all processes the TERM signal...
Sending all processes the KILL signal...
Saving random seed:
Turning off swap:
Turning off quotas:
Halting system...
md: stopping all md devices.
Debug: sleeping function called from invalid context at include/asm/arch/semaphore.h:107
in_atomic():0, irqs_disabled():1
Call Trace:
a0a33970: [<a002ed4b>] __might_sleep+0x9b/0xbc
a0a339a0: [<a001d7c6>] uml_console_write+0x26/0x5c
a0a339c0: [<a0031614>] __call_console_drivers+0x50/0x58
a0a339f0: [<a0031705>] call_console_drivers+0x79/0x120
a0a33a20: [<a0031aac>] release_console_sem+0x3c/0xb4
a0a33a30: [<a0031a84>] release_console_sem+0x14/0xb4
a0a33a40: [<a003196c>] vprintk+0xe8/0x13c
a0a33a60: [<a0031882>] printk+0x12/0x14
a0a33a80: [<a010d430>] md_notify_reboot+0x24/0xa4
a0a33a90: [<a00cffa8>] selinux_capable+0x18/0x3c
a0a33aa0: [<a0040ed6>] notifier_call_chain+0x22/0x40
a0a33ad0: [<a0041570>] sys_reboot+0x1b0/0x1d8
a0a33af0: [<a003e651>] kill_proc_info+0x29/0x34
a0a33b10: [<a003e687>] kill_something_info+0x2b/0xe8
a0a33b50: [<a004045f>] sys_kill+0x6b/0x70
a0a33b60: [<a0082869>] dput+0xdd/0x188
a0a33b90: [<a0017d8f>] segv+0x7f/0x23c
a0a33bb0: [<a006adc4>] filp_close+0x4c/0x7c
a0a33be0: [<a006ae43>] sys_close+0x4f/0x5c
a0a33c00: [<a001a3da>] execute_syscall_tt+0xaa/0xf0
a0a33c70: [<a0016c1e>] record_syscall_start+0x4e/0x58
a0a33c90: [<a001a45f>] syscall_handler_tt+0x3f/0x74
a0a33cc0: [<a001b5b0>] sig_handler_common_tt+0x90/0x108
a0a33cd0: [<a001b611>] sig_handler_common_tt+0xf1/0x108
a0a33d00: [<a0028983>] sig_handler+0x1f/0x34
a0a33d20: [<a0172148>] __restore+0x0/0x8


md: md0 switched to read-only mode.
Power down.

Set 'tap1' nonpersistent



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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