Hi all, I'm just starting to dabble with UML with Mandriva. I'm running Mandriva 2006 with an updated kernel from cooker. I've also installed the kernel-uml package from cooker's contrib directory. Here's what I have installed:
kernel-uml-2.6.16-1mdk kernel-2.6.17.4mdv-1-1mdv2007.0 uml-utilities-20060323-2mdv2007.0 I've tried running the kernel as a user and as root and with various different root_fs's from nagafix.co.uk with the same result. The process hangs after it prints "VFS: Mounted root (ext3 filesystem) readonly." and the process seems to start using more than 50% CPU causing the host system load to rise significantly. Here's the output from the uml execution followed by an excerpt from ps below. bash# uname -a Linux ferret 2.6.17-4mdv #1 SMP Tue Sep 5 10:29:51 EDT 2006 i686 Intel(R) Pentium(R) M processor 1.70GHz unknown GNU/Linux bash# cp ./Mandriva-2006-x86-root_fs root_fs bash# kernel-uml 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 PROT_EXEC mmap in /tmp...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.16-uml ([EMAIL PROTECTED]) (gcc version 4.0.3 (4.0.3-1mdk for Mandriva Linux release 2006.1)) #1 Mon Mar 20 14:25:55 CET 2006 Built 1 zonelists Kernel command line: ubd0=./Mandriva-2006-x86-root_fs con0=fd:0,fd:1 root=/dev/ubda 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: 25308k available Security Framework v1.0.0 initialized Capability LSM initialized 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 Checking for /dev/anon on the host...Not available (open failed with errno 2) Using 2.6 host AIO NET: Registered protocol family 16 mconsole (version 2) initialized on /root/.uml/s4i6h7/mconsole ubd: Synchronous mode UML Watchdog Timer VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]). NTFS driver 2.1.26 [Flags: R/O]. fuse init (API version 7.6) JFS: nTxBlock = 197, nTxLock = 1583 SGI XFS with ACLs, security attributes, realtime, no debug enabled SGI XFS Quota Management subsystem OCFS2 1.3.3 OCFS2 Node Manager 1.3.3 OCFS2 DLM 1.3.3 OCFS2 DLMFS 1.3.3 OCFS2 User DLM kernel interface loaded Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered SoftDog: cannot register miscdev on minor=130 (err=-16) RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) nbd: registered device at major 43 tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky <[EMAIL PROTECTED]> netconsole: not configured, aborting md: linear personality registered for level -1 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 md: raid5 personality registered for level 5 md: raid4 personality registered for level 4 raid5: measuring checksumming speed 8regs : 6308.000 MB/sec 8regs_prefetch: 3697.600 MB/sec 32regs : 3028.800 MB/sec 32regs_prefetch: 2471.600 MB/sec raid5: using function: 8regs (6308.000 MB/sec) md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 device-mapper: 4.5.0-ioctl (2005-10-04) initialised: [EMAIL PROTECTED] NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 1, 8192 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered TCP bic registered Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 NET: Registered protocol family 15 Initialized stdio console driver Console initialized on /dev/tty0 Initializing software serial port version 1 ubda: 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. # <--hangs here. Kill from another window terminates it. >From another shell: bash# ps -eaf | grep kern jeff 20600 4456 56 13:18 pts/1 00:00:07 kernel-uml (n3JpfP) [/sbin/init] jeff 20606 20600 0 13:18 pts/1 00:00:00 kernel-uml (n3JpfP) [/sbin/init] jeff 20607 20600 0 13:18 pts/1 00:00:00 kernel-uml (n3JpfP) [/sbin/init] jeff 20608 20600 0 13:18 pts/1 00:00:00 kernel-uml (n3JpfP) [/sbin/init] jeff 20609 20600 39 13:18 pts/1 00:00:04 [kernel-uml] bash# uptime 13:19:00 up 5:34, 1 user, load average: 1.21, 0.47, 0.27 >From top: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 20600 jeff 25 0 33044 11m 11m R 59.2 1.2 0:57.45 kernel-uml 20609 jeff 16 0 80 80 80 T 37.9 0.0 0:39.15 kernel-uml A minute later: bash# uptime 13:20:19 up 5:36, 1 user, load average: 2.05, 0.90, 0.44 bash# kill 20600 bash# ps -eaf | grep kern jeff 20828 20615 0 13:21 pts/5 00:00:00 grep kern bash# uptime 13:21:41 up 5:37, 1 user, load average: 0.80, 0.82, 0.45 I can mount and peruse the root image just fine with "-o loop" so I assume the image isn't corrupt. I know the skas patch doesn't seem to be installed but from what I've read, it didn't seem to be absolutely required to get it to run. I tried following the instructions under "Diagnosing Problems" on the UML website but it looks like this package wasn't compiled with debug. Before I start spinning cycles compiling my own kernel & uml kernel, I wanted to check to see if there was anything else I can do to debug this problem. Thanks! -Jeff ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user