From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BQKL7-00047J-Ug for qemu-devel@nongnu.org; Wed, 19 May 2004 02:14:06 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BQKKO-0003Y6-7v for qemu-devel@nongnu.org; Wed, 19 May 2004 02:13:52 -0400 Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BQKFO-0001js-9K for qemu-devel@nongnu.org; Wed, 19 May 2004 02:08:10 -0400 Received: from [195.122.192.2] (helo=janik.cz) by mx20.gnu.org with esmtp (Exim 4.34) id 1BQK9j-0002cn-NT for qemu-devel@nongnu.org; Wed, 19 May 2004 02:02:20 -0400 Subject: Re: [Qemu-devel] PCI support References: <40AA98E9.1040001@bellard.org> From: Pavel@Janik.cz (=?iso-8859-2?q?Pavel_Jan=EDk?=) Date: Wed, 19 May 2004 08:02:11 +0200 In-Reply-To: <40AA98E9.1040001@bellard.org> (Fabrice Bellard's message of "Wed, 19 May 2004 01:14:49 +0200") Message-ID: <87y8np7y58.fsf@Janik.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: Fabrice Bellard Date: Wed, 19 May 2004 01:14:49 +0200 Fabrice! it is almost unbelievable, how fast you are :-) > PCI support is now in the QEMU CVS. It is experimental so it is not > enabled by default (use the runtime option '-pci'). There is support > for an i440FX bridge, PIIX3 ISA bridge, PCI IDE controller (without > DMA) and NE2000 PCI card. I tested it succesfully with a Linux 2.4.2= 1 > kernel. I tested two cases: - booting Solaris 10 It failed the last time without PCI support with this: http://tmp.janik.cz/QEMU/Solaris-10-x86-boot.png It still doesn't continue booting, but Boot path has been changed http://tmp.janik.cz/QEMU/Solaris-10-x86-boot-with-pci.png It is now /pci@0,0/pci-ide@3/ide@1/sd@0,0:a Solaris detection find both PCI Ethernet card and IDE. It is the same with Solaris 9. - GRUB boot floppy with stage2.netboot (http://tmp.janik.cz/QEMU/floppy.img) In one project I'm working on, we use this image to boot the systems th= at do not support PXE natively in BIOS. It is a simple GRUB floppy with stage2.netboot (supporting many types of network cards). The GRUB confi= g file contains entries like: title xAPOSTclient dhcp root (nd) kernel (nd)/9.0/linux install=3Dnfs://10.7.7.104/install/9.0/CD1 auto= yast=3Dnfs://10.7.7.104/install/9.0/xAPOSTclient.xml textmode=3D1 initrd (nd)/9.0/initrd The card inside vmware is detected as http://tmp.janik.cz/QEMU/GRUB-vmware.png But in QEMU the detection seems to not work: http://tmp.janik.cz/QEMU/GRUB-qemu.png It detected RTL8139 (which is IMHO the default in GRUB when nothing detected properly). Keep up the good work! --=20 Pavel Jan=EDk Keep it simple to make it faster. -- The Elements of Programming Style (Kernighan & Plau= gher)