Hello,<div><br></div><div>I was recommended to get the code from the litmus-rt repository, instead of using the patched kernel (as in [1]). I issued "make bzImage" using the provided configuration file in [2], just as before, getting a brand new kernel.</div>
<div><br></div><div>I've downloaded the image from [3] and I'm running the following line (strongly based in the suggestion given in [3]) to start the virtual machine:</div><div><br></div><div>qemu-system-x86_64 \</div>
<div> -enable-kvm \</div><div> -smp 2 \</div><div> -hda ../images/ubuntu.backing.qcow2.img \</div><div> -m 1024 \</div><div> -name "ubuntu-qemu-cjk" \</div><div> -nographic \</div><div> -kernel ./bzImage \</div>
<div> -append "console=ttyS0,115200 root=/dev/hda1"</div><div><br></div><div>( As you can see, I've taken the "-gdb tcp::12345 -net nic -net user,hostfwd=::2222-:22" out from the end.</div><div>
<br></div><div>I also took the "-cpu host" part: when I tried using it, I've got a panic in the very beginning. I couldn't find in the documentation what was the "default" cpu (when not specified), but it went "farther" without that. )</div>
<div><br></div><div>Unfortunately, I'm not able to boot. When trying to boot, I get, at some point, the following lines:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
[...] </blockquote><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">[ 4.426853] BIOS EDD facility v0.16 2004-Jun-25, 1 devices found<br>
[ 4.606310] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input2<br>[ 4.612020] EXT4-fs (hda1): couldn't mount as ext3 due to feature incompatibilities<br>[ 4.620340] EXT4-fs (hda1): couldn't mount as ext2 due to feature incompatibilities<br>
[ 4.636304] EXT4-fs (hda1): mounted filesystem with ordered data mode. Opts: (null)<br>[ 4.637116] VFS: Mounted root (ext4 filesystem) readonly on device 3:1.<br>[ 4.637116] Freeing unused kernel memory: 520k freed<br>
udevd[882]: mknod '/dev/fd0' 2:0 060660' failed: Read-only file system<br>udevd[880]: mknod '/dev/.tmp-block-3:0' 3:0 060600' failed: Read-only file system<br>udevd[866]: mknod '/dev/hdc' 22:0 060660' failed: Read-only file system<br>
udevd[806]: mknod '/dev/input/event0' 13:64 020640' failed: Read-only file system<br>udevd[869]: mknod '/dev/ttyS1' 4:65 020660' failed: Read-only file system<br>udevd[866]: mknod '/dev/ttyS2' 4:66 020660' failed: Read-only file system<br>
udevd[880]: mknod '/dev/hda' 3:0 060660' failed: Read-only file system<br>udevd[870]: mknod '/dev/ttyS3' 4:67 020660' failed: Read-only file system </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
[...] (many many more lines like this)</blockquote></div><div><br></div><div><br></div><div>I tested the sha256sum of the downloaded image and it was right (the same as in [3]). I compiled the kernel using gcc 4.4.3 and I am sure that the file downloaded in [2] is not corrupted/bad in any way. I've compiled the kernel in two different machines using independently downloaded git repositories (to assure that the problem wasn't related to any corruption in my git files tree). I tried to search the "Read-only file system" message in Google, but it didn't help much.</div>
<div><br></div><div>Since I was able to boot (it gets stuck for around 2min in the lines below, but it boots) using the kernel compiled using the "patched kernel" (following the steps in [1]), I feel sure that the problem is not related to the image (even though I'm seeing these "Read-only file system" messages).</div>
<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">[ 4.122115] EXT4-fs (hda1): recovery complete<br>
[ 4.123293] EXT4-fs (hda1): mounted filesystem with ordered data mode. Opts: (null)<br>[ 4.123977] VFS: Mounted root (ext4 filesystem) readonly on device 3:1.<br>[ 4.124929] devtmpfs: mounted<br>[ 4.125923] Freeing unused kernel memory: 516k freed<br>
[ 4.289938] init: ureadahead main process (686) terminated with status 5<br>mountall: Disconnected from Plymouth<br>fsck from util-linux 2.19.1<br>/dev/hda1: clean, 55350/327680 files, 352276/1310208 blocks</blockquote>
</div><div><br></div><div><br></div><div>I'm running out of ideas. Any help would be very very welcome!</div><div>Thanks in advance.</div><div><br></div><div><br></div><div>[1]: <a href="https://wiki.litmus-rt.org/litmus/InstallationInstructions">https://wiki.litmus-rt.org/litmus/InstallationInstructions</a></div>
<div>[2]: <a href="http://www.litmus-rt.org/releases/2012.2/x86_64-config">http://www.litmus-rt.org/releases/2012.2/x86_64-config</a></div><div>[3]: <a href="https://wiki.litmus-rt.org/litmus/VirtualMachineImages">https://wiki.litmus-rt.org/litmus/VirtualMachineImages</a><br>
<br>-- <br>John Gamboa<br><a href="http://rabanetescebolas.blogspot.com">rabanetescebolas.blogspot.com</a><br>
</div>