<div>Hi - </div><div>I&#39;m encountering some strange issue with UML. I built the uml kernel from src and started them with root_fs(F14).</div><div>Its fine for the first time. Next time(after &quot;init 0&quot;) ,when I start again ,somehow the file system becomes read-only and throws following error message.</div>
<div><br></div><div>Any thoughts ,how to fix this issue?</div><div>--------------------------------</div><div><div>root# ./linux ubda=Fedora14-AMD64-root_fs mem=128M eth0=tuntap,,,10.1.1.5 eth1=tuntap,,,20.1.1.6 eth2=tuntap,,,10.1.1.20</div>
<div>Core dump limits :</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>soft - NONE</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>hard - NONE</div><div>Checking that ptrace can change system call numbers...OK</div>
<div>Checking syscall emulation patch for ptrace...OK</div><div>Checking advanced syscall emulation patch for ptrace...OK</div><div>Checking for tmpfs mount on /dev/shm...OK</div><div>Checking PROT_EXEC mmap in /dev/shm/...OK</div>
<div>Checking for the skas3 patch in the host:</div><div>  - /proc/mm...not found: No such file or directory</div><div>  - PTRACE_FAULTINFO...not found</div><div>  - PTRACE_LDT...not found</div><div>UML running in SKAS0 mode</div>
<div>Adding 23814144 bytes to physical memory to account for exec-shield gap</div><div>Linux version 2.6.38.3 (root@space) (gcc version 4.4.4 20100630 (Red Hat 4.4.4-10) (GCC) ) #1 Wed Apr 20 14:52:15 IST 2011</div><div>Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 38054</div>
<div>Kernel command line: ubda=Fedora14-AMD64-root_fs mem=128M eth0=tuntap,,,10.1.1.5 eth1=tuntap,,,20.1.1.6 eth2=tuntap,,,10.1.1.20 root=98:0</div><div>PID hash table entries: 1024 (order: 1, 8192 bytes)</div><div>Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)</div>
<div>Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)</div><div>Memory: 123220k available</div><div>NR_IRQS:15</div><div>Calibrating delay loop... 334.23 BogoMIPS (lpj=1671168)</div><div>pid_max: default: 32768 minimum: 301</div>
<div>Mount-cache hash table entries: 256</div><div>Checking that host ptys support output SIGIO...Yes</div><div>Checking that host ptys support SIGIO on close...No, enabling workaround</div><div>Using 2.6 host AIO</div><div>
NET: Registered protocol family 16</div><div>bio: create slab &lt;bio-0&gt; at 0</div><div>Switching to clocksource itimer</div><div>NET: Registered protocol family 2</div><div>IP route cache hash table entries: 2048 (order: 2, 16384 bytes)</div>
<div>TCP established hash table entries: 8192 (order: 5, 131072 bytes)</div><div>TCP bind hash table entries: 8192 (order: 4, 65536 bytes)</div><div>TCP: Hash tables configured (established 8192 bind 8192)</div><div>TCP reno registered</div>
<div>UDP hash table entries: 128 (order: 0, 4096 bytes)</div><div>UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)</div><div>NET: Registered protocol family 1</div><div>mconsole (version 2) initialized on /root/.uml/FRi5ab/mconsole</div>
<div>Checking host MADV_REMOVE support...OK</div><div>VFS: Disk quotas dquot_6.5.2</div><div>Dquot-cache hash table entries: 512 (order 0, 4096 bytes)</div><div>msgmni has been set to 240</div><div>io scheduler noop registered</div>
<div>io scheduler deadline registered</div><div>io scheduler cfq registered (default)</div><div>TCP cubic registered</div><div>NET: Registered protocol family 17</div><div>Initialized stdio console driver</div><div>Console initialized on /dev/tty0</div>
<div>console [tty0] enabled</div><div>Initializing software serial port version 1</div><div>console [mc-1] enabled</div><div> ubda: unknown partition table</div><div>Choosing a random ethernet address for device eth0</div>
<div>Netdevice 0 (16:40:42:14:c1:ec) : </div><div>TUN/TAP backend - IP = 10.1.1.5</div><div>Choosing a random ethernet address for device eth1</div><div>Netdevice 1 (a2:06:ee:39:2d:08) : </div><div>TUN/TAP backend - IP = 20.1.1.6</div>
<div>Choosing a random ethernet address for device eth2</div><div>Netdevice 2 (0a:80:b7:b3:d8:1b) : </div><div>TUN/TAP backend - IP = 10.1.1.20</div><div>Switched to NOHz mode on CPU #0</div><div>EXT3-fs (ubda): error: couldn&#39;t mount because of unsupported optional features (240)</div>
<div>EXT2-fs (ubda): error: couldn&#39;t mount because of unsupported optional features (244)</div><div>EXT4-fs (ubda): INFO: recovery required on readonly filesystem</div><div>EXT4-fs (ubda): write access will be enabled during recovery</div>
<div>EXT4-fs (ubda): recovery complete</div><div>EXT4-fs (ubda): mounted filesystem with ordered data mode. Opts: (null)</div><div>VFS: Mounted root (ext4 filesystem) readonly on device 98:0.</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>Welcome to Fedora </div>
<div>Starting udev: udevd[238]: failed to create queue file: No such file or directory</div><div><br></div><div>udevd[238]: error creating queue file</div><div><br></div><div>error sending message: Connection refused</div>
<div>udevadm[241]: error sending message: Connection refused</div><div><br></div><div>[FAILED]</div><div>Setting hostname localhost:  [  OK  ]</div><div>Checking filesystems</div><div>Checking all file systems.</div><div>
[  OK  ]</div><div>Remounting root filesystem in read-write mode:  mount: can&#39;t find / in /etc/fstab or /etc/mtab</div><div>[FAILED]</div><div>mount: can&#39;t find / in /etc/fstab or /etc/mtab</div><div>Mounting local filesystems:  [  OK  ]</div>
<div>chmod: changing permissions of `/var/lib/random-seed&#39;: Read-only file system</div><div>rm: cannot remove `/var/run/utmp&#39;: Read-only file system</div><div>rm: cannot remove `/var/run/cron.reboot&#39;: Read-only file system</div>
<div>/etc/rc.d/rc.sysinit: line 593: /var/run/utmp: Read-only file system</div><div>touch: cannot touch `/var/log/wtmp&#39;: Read-only file system</div><div>touch: cannot touch `/var/log/btmp&#39;: Read-only file system</div>
<div>chgrp: changing group of `/var/run/utmp&#39;: Read-only file system</div><div>chgrp: changing group of `/var/log/wtmp&#39;: Read-only file system</div><div>chgrp: changing group of `/var/log/btmp&#39;: Read-only file system</div>
<div>chmod: changing permissions of `/var/run/utmp&#39;: Read-only file system</div><div>chmod: changing permissions of `/var/log/wtmp&#39;: Read-only file system</div><div>chmod: changing permissions of `/var/log/btmp&#39;: Read-only file system</div>
<div>rm: cannot remove `/tmp/.ICE-unix&#39;: Read-only file system</div><div>chown: changing ownership of `/tmp/.ICE-unix&#39;: Read-only file system</div><div>Enabling /etc/fstab swaps:  [  OK  ]</div><div>mv: cannot move `/var/log/dmesg&#39; to `/var/log/dmesg.old&#39;: Read-only file system</div>
<div>/etc/rc.d/rc.sysinit: line 651: /var/log/dmesg: Read-only file system</div><div>Entering non-interactive startup</div><div>Starting auditd: [FAILED]</div><div>Starting system logger: Can&#39;t open or create /var/run/syslogd.pid.</div>
<div>Can&#39;t write pid.</div><div><br></div></div>-- <br>----<br>Cheers,<br>Lakshmipathi.G<br>FOSS Programmer.<br><a href="http://www.giis.co.in">www.giis.co.in</a><br>