qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] ne2k brokenness
@ 2004-10-07  2:17 Marcus Brinkmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcus Brinkmann @ 2004-10-07  2:17 UTC (permalink / raw)
  To: qemu-devel

Hi,

(Please CC me on reply, I am not subscribed).

the NE2K driver has serious issues, assuming that GRUB's ns8390 driver
is correct (as it works on real hardware, the assumption is reasonable
in the context of emulation, I'd guess).

I have set up a tun device (which works fine in Bochs).  I have setup
a GRUB 0.95 (actually, 0.95 with some CVS fixes as used in Debian)
netboot floppy image with the ns8390 driver enabled (NE2000 PCI).  I
have reused an old hdimage of mine, which I used at some time with an
older version of qemu.

I compiled qemu CVS of 2004-10-06, but also tried qemu 0.6.0.  I
didn't try older versions.  I use GNU/Linux as my host OS, Linux
kernel version is 2.6.7-1-686 (stock Debian kernel).  I have an Intel
P4 2.8GHz processor.

This is my command line:

$ qemu -m 128 -boot a -fda ~/.bochs/grub-0.95-i386-pc.ext2fs \
-hda ~/.bochs/guest.hd0 -n /home/marcus/gnu/bochs/start-tun

This will set up the tun device and bring up GRUB.  However, GRUB
fails to detect the NIC.  Oops.

Now, here is the weird thing, and the only hint I have to the problem:
If I run the same command as above under "strace", it works!  At least
up to the point of detecting the NIC, downloading the menu.lst file
via tftpboot, and starting to download the kernel etc.  It was too
slow to test further, but it seemed to make progress.

I don't have time to do serious debugging (not within the next two
weeks anyway), but I am happy to test what you throw at me, or try
some stuff if you can give some pointers.

My goal is to use qemu instead bochs for developing the GNU/Hurd port
to the L4 microkernel.  It's absolutely essential that I can just drop
my stuff into the tftpboot directory and test it quickly.  Bochs 2.1
can't even boot L4 anymore, it's a misery ;)

The speed advantage of using qemu (over Bochs) is an extra bonus.
Keep it up, guys.  Very impressive progress in the last months.

Thanks,
Marcus

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Qemu-devel] ne2k brokenness
@ 2004-10-07  2:54 Marcus Brinkmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcus Brinkmann @ 2004-10-07  2:54 UTC (permalink / raw)
  To: qemu-devel

Hi,

(Please CC me on reply, I am not subscribed).

the NE2K driver has serious issues, assuming that GRUB's ns8390 driver
is correct (as it works on real hardware, the assumption is reasonable
in the context of emulation, I'd guess).

I have set up a tun device (which works fine in Bochs).  I have setup
a GRUB 0.95 (actually, 0.95 with some CVS fixes as used in Debian)
netboot floppy image with the ns8390 driver enabled (NE2000 PCI).  I
have reused an old hdimage of mine, which I used at some time with an
older version of qemu.

I compiled qemu CVS of 2004-10-06, but also tried qemu 0.6.0.  I
didn't try older versions.  I use GNU/Linux as my host OS, Linux
kernel version is 2.6.7-1-686 (stock Debian kernel).  I have an Intel
P4 2.8GHz processor.

This is my command line:

$ qemu -m 128 -boot a -fda ~/.bochs/grub-0.95-i386-pc.ext2fs \
-hda ~/.bochs/guest.hd0 -n /home/marcus/gnu/bochs/start-tun

This will set up the tun device and bring up GRUB.  However, GRUB
fails to detect the NIC.  Oops.

Now, here is the weird thing, and the only hint I have to the problem:
If I run the same command as above under "strace", it works!  At least
up to the point of detecting the NIC, downloading the menu.lst file
via tftpboot, and starting to download the kernel etc.  It was too
slow to test further, but it seemed to make progress.

I don't have time to do serious debugging (not within the next two
weeks anyway), but I am happy to test what you throw at me, or try
some stuff if you can give some pointers.

My goal is to use qemu instead bochs for developing the GNU/Hurd port
to the L4 microkernel.  It's absolutely essential that I can just drop
my stuff into the tftpboot directory and test it quickly.  Bochs 2.1
can't even boot L4 anymore, it's a misery ;)

The speed advantage of using qemu (over Bochs) is an extra bonus.
Keep it up, guys.  Very impressive progress in the last months.

Thanks,
Marcus

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-07  3:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-07  2:17 [Qemu-devel] ne2k brokenness Marcus Brinkmann
  -- strict thread matches above, loose matches on Subject: below --
2004-10-07  2:54 Marcus Brinkmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).