Re: [uml-user] uml issue - Read-only file system
On Fri, May 6, 2011 at 10:51 AM, Lakshmipathi.G lakshmipath...@gmail.com wrote: Hi - I'm encountering some strange issue with UML. I built the uml kernel from src and started them with root_fs(F14). (downloaded from http://fs.devloop.org.uk/) . Its fine for the first time. Next time(after shutdown with init 0) ,when I start again ,somehow the file system becomes read-only and throws following error message. Any thoughts ,how to fix this issue? 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. Is this really a UML issue? Tell the kernel to mount the rootfs rw... -- Thanks, //richard -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] uml issue - Read-only file system
Is this really a UML issue? Tell the kernel to mount the rootfs rw... When booted it for the first with same command ,its worked fine. After doing init 0 and starting again it becomes read-only. Here is the exactly steps - host#cp root_fs uml/ cd uml host#./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 Now I can login and its works fine. uml#ls uml#init 0 comes back to host. host#./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 This time it fails with above message. How come same command , which initially loaded it as rw and then r for the second time? Did I shutdown cleanly ? -- Thanks, //richard -- Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] uml issue - Read-only file system
On Fri, May 6, 2011 at 11:14 AM, Lakshmipathi.G lakshmipath...@gmail.com wrote: Is this really a UML issue? Tell the kernel to mount the rootfs rw... When booted it for the first with same command ,its worked fine. After doing init 0 and starting again it becomes read-only. What ext version are you using? Was the filesystem clean? Are you using ext4 to read ext2/3? I would not trust any image from http://fs.devloop.org.uk/. :) -- Thanks, //richard -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] uml issue - Read-only file system
What ext version are you using? Its ext4 , # file Fedora14-AMD64-root_fs Fedora14-AMD64-root_fs: Linux rev 1.0 ext4 filesystem data (extents) (large files) (huge files) Was the filesystem clean? I'm not sure as I didn't create them ,manually.But Its not working after initial shutdown. Are you using ext4 to read ext2/3? Yes,its ext4 root_fs after logged into uml, I tried to create ext2fs (dd if=/dev/zero of=ext2.img bs=1M count=50) and formatted it and then set some break points via gdb -p and mounted it as loop back. Should I use ext2 as root_fs instead of ext4?Will that help? I would not trust any image from http://fs.devloop.org.uk/. :) okay. :D Any suggestions on where I should download root FS image? I want to debug/explore ext2fs using UML. Thanks. -- Thanks, //richard -- Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] uml issue - Read-only file system
On Fri, May 6, 2011 at 2:28 PM, Lakshmipathi.G lakshmipath...@gmail.com wrote: I'm not sure as I didn't create them ,manually.But Its not working after initial shutdown. I guess the root fs was damaged. Are you using ext4 to read ext2/3? Yes,its ext4 root_fs after logged into uml, I tried to create ext2fs (dd if=/dev/zero of=ext2.img bs=1M count=50) and formatted it and then set some break points via gdb -p and mounted it as loop back. Should I use ext2 as root_fs instead of ext4?Will that help? Any Linux fs should work. I would not trust any image from http://fs.devloop.org.uk/. :) okay. :D Any suggestions on where I should download root FS image? I would not trust any website where I con download root fs images. Make your own! -- Thanks, //richard -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] uml issue - Read-only file system
On 05/06/2011 06:59 PM, richard -rw- weinberger wrote: On Fri, May 6, 2011 at 11:14 AM, Lakshmipathi.G lakshmipath...@gmail.com wrote: Is this really a UML issue? Tell the kernel to mount the rootfs rw... When booted it for the first with same command ,its worked fine. After doing init 0 and starting again it becomes read-only. What ext version are you using? Was the filesystem clean? Are you using ext4 to read ext2/3? I would not trust any image from http://fs.devloop.org.uk/. :) Hi Richard, Since I made those images, may I ask why you would not? Is there something I should know? Cheers Antoine -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] uml issue - Read-only file system
On 05/06/2011 07:51 PM, richard -rw- weinberger wrote: On Fri, May 6, 2011 at 2:28 PM, Lakshmipathi.G lakshmipath...@gmail.com wrote: I'm not sure as I didn't create them ,manually.But Its not working after initial shutdown. I guess the root fs was damaged. Are you using ext4 to read ext2/3? Yes,its ext4 root_fs after logged into uml, I tried to create ext2fs (dd if=/dev/zero of=ext2.img bs=1M count=50) and formatted it and then set some break points via gdb -p and mounted it as loop back. Should I use ext2 as root_fs instead of ext4?Will that help? Any Linux fs should work. I would not trust any image from http://fs.devloop.org.uk/. :) okay. :D Any suggestions on where I should download root FS image? I would not trust any website where I con download root fs images. Make your own! The site above contains images for *your convenience*, and includes the scripts or commands used to create them. Most people who want to have a play simply cannot be bothered to learn how to make a filesystem which is going to work, hence why I make it easier for them. I would appreciate in the future if you could recommend that people made their own filesystems (using the instructions I have given if they so wish) rather than implying that my work should not be trusted. Cheers Antoine -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] uml issue - Read-only file system
Hello, On May 6, 2011, at 2:51 PM, richard -rw- weinberger wrote: I would not trust any image from http://fs.devloop.org.uk/. :) okay. :D Any suggestions on where I should download root FS image? I would not trust any website where I con download root fs images. Make your own! I trust Antoine. Experience with running a vServer Freehosting for Students for two years and some honeypots with Rootkit scanners running regularily showed no negative side-effects or reported malware. It's a nice service and saves time with the only possible addition being that my filesystem preprocessor likes SHA512 more than SHA1 or MD5. Great job Antoine :) Greets, Falk -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
Re: [uml-user] uml issue - Read-only file system
Antoine, On Fri, May 6, 2011 at 5:06 PM, Antoine Martin anto...@nagafix.co.uk wrote: On 05/06/2011 06:59 PM, richard -rw- weinberger wrote: On Fri, May 6, 2011 at 11:14 AM, Lakshmipathi.G lakshmipath...@gmail.com wrote: Is this really a UML issue? Tell the kernel to mount the rootfs rw... When booted it for the first with same command ,its worked fine. After doing init 0 and starting again it becomes read-only. What ext version are you using? Was the filesystem clean? Are you using ext4 to read ext2/3? I would not trust any image from http://fs.devloop.org.uk/. :) Hi Richard, Since I made those images, may I ask why you would not? Is there something I should know? My intention was not to blame you or your website as untrustworthy. I see lot's of people blindly downloading filesystems from random websites. This can be problematic. Some images contain errors and make bug hunting very difficult. This is why I wrote to Lakshmipathi.G that he should create the filesystem on his own. After reading my email again, I fully understand your point. It was worded very badly. I'm very sorry about that! -- Thanks, //richard -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user