[LITMUS^RT] Can not register DEMO Scheduler Plugin in LITMUS^RT

Glenn Elliott gelliott at cs.unc.edu
Thu Jan 9 04:25:42 CET 2014


On Jan 8, 2014, at 10:03 PM, Sanjib Das <cnt.sanjib at googlemail.com> wrote:

> Dear Concern, 
> This time I am trying to boot QEMU image provided in LITMUS-RT wiki with the following code:
> qemu-system-x86_64 -gdb tcp::1234 -s -S -enable-kvm -cpu host -smp 2 -m 512 -kernel /home/sdas/litmus/litmus-rt/arch/x86_64/boot/bzImage -hda /home/sdas/ubuntu_iso/ubuntu.backing.qcow2.img -append "console=ttyS0,115200 root=/dev/sda8" -nographic -net nic
> 
> where the kernel image was compiled by following the instruction given in plug-in tutorial https://wiki.litmus-rt.org/litmus/CreateAPluginTutorial/Step0 . 
> 
> And I am using also gdb to control qemu stub. (eg. target remot localhost:1234 and continue)
> 
> But still I am getting 'kernel panic not syncing vfs unable to mount root fs on unknown-block (0,0)'. 
> 
> Moreover only qemu image is loading smoothly with the following command:
> 
> qemu-system-x86_64 -gdb tcp::1234 -hda /home/sdas/ubuntu_iso/ubuntu.backing.qcow2.img -nographic
> 
> My current system is UBUNTU 12.04 and its a multi boot system. 
> 
> Would be grate with a quick reply or suggestion. 
> 
> Thanks in advance 
> 
> Sanjib 

Hi Sanjib,

What happens when you remove the “-kernel” parameter?  Does it boot properly?  If it does, then I think your kernel's .config needs more work.  You may have to do a little exploration to see what kernel parameters you need.

-Glenn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20140108/a66d8caa/attachment.html>


More information about the litmus-dev mailing list