remove "root=/dev/hda". you may have not compiled
block drivers as built-in, and fc3.img may not have
the proper init files (which should be inside your
initrd).


On 1/28/07, Neo Jia <[EMAIL PROTECTED]> wrote:
The following is the command line i used

qemu -kernel vmlinuz-2.6.20-rc6 -initrd initrd-2.6.20-rc6.img -hda
fc3.img -nographic -append console=ttyS0 root=/dev/hda

The following is the error message ...

(...)
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!


On 1/28/07, Christian MICHON <[EMAIL PROTECTED]> wrote:
> one possibility is to include your kernel and initrd inside a
> bootable iso (mkisofs and isolinux are your friends: look at
> the man pages for numerous solutions).
>
> the kernel panic could be actually missing block drivers
> or your root parameter is wrong.
>
> On 1/28/07, Neo Jia <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > I notice that this would be a very newbie question. Hope you can point me 
out.
> >
> > I am going to simulate i386 arch. But I cannot run it just with initrd
> > and vmlinuz just like running it for mips arch. It always complained
> > about missing the hda image file. When I applied the hda.img file, the
> > kernel will panic due to the file format (eg, ext3).
> >
> > Acturallly, my goal is trying to use qemu to setup a kernel debugging envir.
> >
> > Your help will be greatly appreciated!
> >
> > Thanks,
> > Neo
> >
> > --
> > I would remember that if researchers were not ambitious
> > probably today we haven't the technology we are using!
> >
> >
> > _______________________________________________
> > Qemu-devel mailing list
> > Qemu-devel@nongnu.org
> > http://lists.nongnu.org/mailman/listinfo/qemu-devel
> >
>
>
> --
> Christian
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>


--
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!

_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel





--
Christian
--
 << There's a symlink from awk to gawk, if you're using gawk!
If you're not using gawk, there's no symlink from gawk to awk!
Use the standard names, _please_! >> - Rob Landley


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to