From: Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] ne2k brokenness
Date: Thu, 07 Oct 2004 04:17:05 +0200 [thread overview]
Message-ID: <87brffuva6.wl@ulysses.g10code.de> (raw)
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
next reply other threads:[~2004-10-07 2:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-07 2:17 Marcus Brinkmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-10-07 2:54 [Qemu-devel] ne2k brokenness Marcus Brinkmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87brffuva6.wl@ulysses.g10code.de \
--to=marcus.brinkmann@ruhr-uni-bochum.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).