Could u build filesystem from scratch and tryout. For me , i built a filesystem and is running perfectly fine .

-Ratheesh

On Thu, Dec 9, 2010 at 2:08 PM, hxqq <houqh06@gmail.com> wrote:
Hi everyone,
    My OS is Fedora 11, I download Linux kernel 2.6.36.1 and use

 make defconfig ARCH=um
 make menuconfig ARCH=um 
to add support for ext-4
 make ARCH=um

 So I get a UML kernel, and I use a filesystem from here: http://fs.devloop.org.uk/filesystems/Fedora14/Fedora14-x86-root_fs.bz2
 
 and use
 
 ./linux ubd0=Fedora14-x86-root_fs mem=512M

 to start the UML guest OS but It hang after Starting crond:[OK], I also use this kernel: http://uml.devloop.org.uk/kernels/kernel32-2.6.36.1.bz2
 but the result is the same.
 The message print is below:
**********************************************************************************

 Locating the bottom of the address space ... 0x0
Locating the top of the address space ... 0xc0000000
Core dump limits :
    soft - 0
    hard - NONE
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: No such file or directory
  - PTRACE_FAULTINFO...not found
  - PTRACE_LDT...not found
UML running in SKAS0 mode
Adding 28512256 bytes to physical memory to account for exec-shield gap
Linux version 2.6.36.1 (root@localhost.localdomain) (gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC) ) #1 Thu Dec 9 16:18:25 CST 2010
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 136954
Kernel command line: ubd0=../Fedora14-x86-root_fs mem=512M root=98:0
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 512152k available
Hierarchical RCU implementation.
    Verbose stalled-CPUs detection is disabled.
NR_IRQS:15
Calibrating delay loop... 5806.48 BogoMIPS (lpj=29032448)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Checking for host processor cmov support...Yes
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
Using 2.6 host AIO
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource itimer
NET: Registered protocol family 2
IP route cache hash table entries: 8192 (order: 3, 32768 bytes)
TCP established hash table entries: 32768 (order: 6, 262144 bytes)
TCP bind hash table entries: 32768 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
TCP reno registered
UDP hash table entries: 512 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
NET: Registered protocol family 1
mconsole (version 2) initialized on /root/.uml/baPFFj/mconsole
Checking host MADV_REMOVE support...OK
Host TLS support detected
Detected host type: i386 (GDT indexes 6 to 9)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 1000
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
TCP cubic registered
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
console [tty0] enabled
Initializing software serial port version 1
console [mc-1] enabled
 ubda: unknown partition table
EXT3-fs (ubda): error: couldn't mount because of unsupported optional features (240)
EXT2-fs (ubda): error: couldn't mount because of unsupported optional features (244)
EXT4-fs (ubda): INFO: recovery required on readonly filesystem
EXT4-fs (ubda): write access will be enabled during recovery
EXT4-fs (ubda): recovery complete
EXT4-fs (ubda): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) readonly on device 98:0.
        Welcome to Fedora
Starting udev: udevd[227]: failed to create queue file: No such file or directory

udevd[227]: error creating queue file

error sending message: Connection refused
udevadm[230]: error sending message: Connection refused

[FAILED]
Setting hostname localhost:  [  OK  ]
Checking filesystems
Checking all file systems.
[  OK  ]
Remounting root filesystem in read-write mode:  EXT4-fs (ubda): re-mounted. Opts: (null)
[  OK  ]
Mounting local filesystems:  [  OK  ]
Enabling /etc/fstab swaps:  [  OK  ]
modprobe: FATAL: Could not load /lib/modules/2.6.36.1/modules.dep: No such file or directory

modprobe: FATAL: Could not load /lib/modules/2.6.36.1/modules.dep: No such file or directory

Entering non-interactive startup
Starting auditd: modprobe: FATAL: Could not load /lib/modules/2.6.36.1/modules.dep: No such file or directory

[FAILED]
Starting system logger: [  OK  ]
Retrigger failed udev events[  OK  ]
Starting sshd: [  OK  ]
sshd (383): /proc/383/oom_adj is deprecated, please use /proc/383/oom_score_adj instead.
Starting sendmail: [  OK  ]
Starting sm-client: [  OK  ]
Starting crond: [  OK  ]
JBD2: Disabling barriers on ubda-8, not supported by device
INFO: rcu_sched_state detected stall on CPU 0 (t=1397 jiffies)
INFO: rcu_sched_state detected stall on CPU 0 (t=1192 jiffies)
INFO: rcu_sched_state detected stall on CPU 0 (t=1319 jiffies)
INFO: rcu_sched_state detected stall on CPU 0 (t=1062 jiffies)
INFO: rcu_sched_state detected stall on CPU 0 (t=1159 jiffies)
INFO: rcu_sched_state detected stall on CPU 0 (t=1368 jiffies)
INFO: rcu_sched_state detected stall on CPU 0 (t=1868 jiffies)
INFO: rcu_sched_state detected stall on CPU 0 (t=1100 jiffies)

****************************************************************************************
Can someone help me about this?

Many thanks!

Kevin

------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user