qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] NetBSD is booting :) (was: qemu static elf boot / VGA e


From: Nicolas Ollinger
Subject: Re: [Qemu-devel] NetBSD is booting :) (was: qemu static elf boot / VGA emulation)
Date: Mon, 28 Jul 2003 12:36:04 +0200 (CEST)

On Mon, 28 Jul 2003, Fabrice Bellard wrote:

> > The kernel inside the filesystem is now relocated at 0x90000000 in order
> > to allow qemu boot. So with Fabrice's recent addition of real mode support
> > in qemu, vl is now able to charge the kernel into memory using the usual
> > bootloader. Unfortunately, for some reason, the kernel do not boot at all.
> > No abortion, no fatal error, just... void.
>
> Try with my latest fix. I think now the problem is that a proper VGA
> emulation is needed. I plan to add it soon by using an SDL wrapper.

I replaced the usual vga console by a dumber one (aka pccons generic PC
console driver), updated qemu to current and retried. Now the kernel boots!

It seems that most of the periphericals are well handeld but the
coprocessor (complains concerning npx0) and that it failed when starting
init.

Due to the VGA BIOS stuff, the display is a little confused but here is
what I get (up to beautifying):

----------------------------------------------------------------------------
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.6U (BLOP) #2: Mon Jul 28 11:54:15 CEST 2003
        address@hidden:/local/nollinge/qemu/obj/sys/arch/i386/compile/BLOP
total memory = 32380 KB
avail memory = 28344 KB
using 430 buffers containing 1720 KB of memory
BIOS32 rev. 0 found at 0xf9250
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium Pro (686-class), 647.22 MHz, id 0x613
cpu0: features a1bd<FPU,DE,PSE,TSC,MSR,MCE,CX8>
cpu0: features a1bd<PGE,CMOV>
isa0 at mainbus0
ne1 at isa0 port 0x300-0x31f irq 10
ne1: NE1000 Ethernet
ne1: Ethernet address 52:52:54:54:00:00
com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <QEMU HARDDISK>
wd0: drive supports 8-sector PIO transfers, LBA addressing
wd0: 66528 KB, 132 cyl, 16 head, 63 sec, 512 bytes/sect x 133056 sectors
npx0 at isa0 port 0xf0-0xff: error reporting broken; not using
pc0 at isa0 port 0x60-0x6f irq 1: color
pc0: console
boot device: <unknown>
root on wd0d dumps on wd0b
init: copying out path `/sbin/init' 11
----------------------------------------------------------------------------

Stuff availables at the same URL still:

http://www.ens-lyon.fr/~nollinge/netbsd_bochs/

Cheers,
Nicolas.
-- 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]