On 15/10/2014 11:27 PM, harisha ja
wrote:
That is because you are trying to boot a system without providing the root file system. You could get a simple non-GUI based file systems if you just search for it, else you could build your own and then try launching QEMU. First of all, the underlying hardware, which in your case is VmWare box, has to support that! Ok, first of all, what Paul suggested is absolutely right. You can't get through the kernel log for a KERN_DEBUG(except for changing some make options and all). Try using dev_info(). The next thing I see is that, you are printing in the driver's probe function, which would not be called unless a matching hardware is found. While launching kvm itself, you have you provide the hardware as well. So, your complete setup should be something like this. 1) Download a file system image(or make your own). Lets call this "rootfs.img" 2) Compile the driver, e1000 as a part of linux(not as a module). 3) While launching QEMU, provide an option to "emulate" the e1000 device as well. 4) Launch qemu as : $ qemu-system-x86 -hda rootfs.img -kernel bzImage -append "root=/dev/sda1" -net nic,model=e1000 Hope this helps. Raghavendra
------------------------------------------------------------------------------------------------------------------------------- [ C-DAC is on Social-Media too. Kindly follow us at: Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ] This e-mail is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies and the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email is strictly prohibited and appropriate legal action will be taken. ------------------------------------------------------------------------------------------------------------------------------- |
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies