LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-02-2008, 11:00 AM   #1
abhijeet.aks
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
Make User-Mode-Linux work on FC6


Hi

I want to use UML on my FC6 ( kernel 2.6.18-1.2798.fc6-i686 ) system. I have 256 MB RAM.

I get the following output when i try running UML

[root@localhost uml]# ./uml_linux usd0=root_fs
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 for tmpfs mount on /dev/shm...OK
Checking PROT_EXEC mmap in /dev/shm/...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
Adding 13041664 bytes to physical memory to account for exec-shield gap
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
[42949372.960000] Linux version 2.6.18 (root@mamba) (gcc version 4.1.1 (Gentoo 4.1.1)) #2 Wed Sep 20 20:13:42 BST 2006
[42949372.960000] Built 1 zonelists. Total pages: 11376
[42949372.960000] Kernel command line: usd0=root_fs root=98:0
[42949372.960000] PID hash table entries: 256 (order: 8, 1024 bytes)
[42949372.960000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[42949372.960000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[42949372.960000] Memory: 28620k available
[42949373.270000] Security Framework v1.0.0 initialized
[42949373.270000] SELinux: Disabled at boot.
[42949373.270000] Capability LSM initialized
[42949373.270000] Mount-cache hash table entries: 512
[42949373.270000] Checking for host processor cmov support...Yes
[42949373.270000] Checking for host processor xmm support...No
[42949373.270000] Checking that host ptys support output SIGIO...Yes
[42949373.270000] Checking that host ptys support SIGIO on close...No, enabling workaround
[42949373.270000] Using 2.6 host AIO
[42949373.270000] NET: Registered protocol family 16
[42949373.270000] NET: Registered protocol family 2
[42949373.560000] IP route cache hash table entries: 512 (order: -1, 2048 bytes)
[42949373.560000] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[42949373.560000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[42949373.560000] TCP: Hash tables configured (established 2048 bind 1024)
[42949373.560000] TCP reno registered
[42949373.560000] Checking host MADV_REMOVE support...MADV_REMOVE failed, err = -22
[42949373.560000] Can't release memory to the host - memory hotplug won't be supported
[42949373.560000] mconsole (version 2) initialized on /root/.uml/QPAk9D/mconsole
[42949373.560000] ubd: Synchronous mode
[42949373.560000] Host TLS support detected
[42949373.560000] Detected host type: i386
[42949373.560000] audit: initializing netlink socket (disabled)
[42949373.560000] audit(1201970580.991:1): initialized
[42949373.560000] VFS: Disk quotas dquot_6.5.1
[42949373.560000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[42949373.560000] fuse init (API version 7.7)
[42949373.560000] Initializing Cryptographic API
[42949373.560000] io scheduler noop registered
[42949373.560000] io scheduler anticipatory registered (default)
[42949373.560000] io scheduler deadline registered
[42949373.560000] io scheduler cfq registered
[42949374.280000] loop: loaded (max 8 devices)
[42949374.280000] nbd: registered device at major 43
[42949374.280000] PPP generic driver version 2.4.2
[42949374.280000] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
[42949374.280000] tun: Universal TUN/TAP device driver, 1.6
[42949374.280000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[42949374.280000] Netfilter messages via NETLINK v0.30.
[42949374.280000] ip_conntrack version 2.4 (223 buckets, 1784 max) - 228 bytes per conntrack
[42949374.930000] ctnetlink v0.90: registering with nfnetlink.
[42949374.930000] ip_conntrack_pptp version 3.1 loaded
[42949374.930000] ip_nat_pptp version 3.0 loaded
[42949374.930000] ip_tables: (C) 2000-2006 Netfilter Core Team
[42949375.670000] ClusterIP Version 0.8 loaded successfully
[42949375.670000] arp_tables: (C) 2002 David S. Miller
[42949375.780000] TCP bic registered
[42949375.780000] NET: Registered protocol family 1
[42949375.780000] NET: Registered protocol family 10
[42949375.780000] lo: Disabled Privacy Extensions
[42949375.780000] IPv6 over IPv4 tunneling driver
[42949375.780000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[42949376.200000] NET: Registered protocol family 17
[42949376.270000] CCID: Registered CCID 3 (ccid3)
[42949376.270000] CCID: Registered CCID 2 (ccid2)
[42949376.270000] Initialized stdio console driver
[42949376.270000] Console initialized on /dev/tty0
[42949376.270000] Initializing software serial port version 1
[42949376.350000] ubda: unknown partition table
[42949376.540000] kjournald starting. Commit interval 5 seconds
[42949376.540000] EXT3-fs: mounted filesystem with ordered data mode.
[42949376.540000] VFS: Mounted root (ext3 filesystem) readonly.





The terminal simply hangs after this and i have to kill uml_linux .

I checked the homesite. It said to disable CONFIG_COMPAT_VDSO.

I did so by changing the parameter

CONFIG_COMPAT_VDSO=n

in /usr/src/kernels/2.6.18-1.2798.fc6-i686/.config file

Even after doing this change and rebooting by system, I faced the same problem. Also when i changed the parameter vdso by this--

[root@localhost uml]#echo 0 > /proc/sys/kernel/vdso

and checked by running UML again, still i got the same problem. The terminal simple hangs after, "VFS: Mounted root (ext3 filesystem) readonly."

Does anyone has ever faced a similar situation, or knows what to do in this situation please help me out.

Abhijeet
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing FC6 a text mode installation to graphics mode. wbuik Fedora 2 06-19-2007 08:38 PM
How can i make Vim work in 256 color mode ? landuchi Linux - Software 4 01-30-2006 08:14 PM
how to make 'pdflatex' work in my emacs 'auctex-mode' HoreC Linux - Software 2 12-19-2004 02:33 PM
mount doesn't work in single user mode Dominik *BSD 3 02-10-2004 03:14 AM
Super User mode, my root password doesn't work? kko88 Linux - Newbie 8 05-20-2003 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration