Port-xen archive

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

Re: Booting NetBSD under HVM



On Wed, Aug 29, 2007 at 09:02:55PM +0300, Andreas Gustafsson wrote:
> Hi,
> 
> Has anyone successfully booted NetBSD-current as a fully virtualized
> (HVM) guest under Xen?
> 
> I'm trying to do that on Xen 3.0.3-0 using a Linux dom0, but the kernel
> hangs during boot.  For example, I tried the following:
> 
>  - Build NetBSD-current/i386 using "build.sh release"
> 
>  - Copy release/i386/installation/cdrom/boot-com.iso to
>    the Xen system as /root/images/boot-com.iso
> 
>  - Create the following Xen configuration file
>    (/etc/xen/cdrom.cfg):
> 
>      kernel = "/usr/lib/xen-ioemu-3.0/boot/hvmloader"
>      builder = 'hvm'
>      memory = 256
>      name = "cdrom"
>      vcpus = 1
>      vif = [ 'type=ioemu, bridge=xenbr0' ]
>      disk = [ 'file:/root/images/boot-com.iso,hdc:cdrom,r' ]
>      device_model = '/usr/lib/xen-ioemu-3.0/bin/qemu-dm'
>      boot='d'
>      serial = 'pty'
>      nographic = 1
> 
>  - Boot the virtual machine:
> 
>    # xm create -c cdrom.cfg
>    Using config file "/etc/xen/cdrom.cfg".
>    Started domain cdrom
> 
>    >> NetBSD/i386 BIOS Boot, Revision 3.3
>    >> (root%guru.araneus.fi@localhost, Mon Aug  6 21:18:55 EEST 2007)
>    >> Memory: 639/261120 k
>    Press return to boot now, any other key for boot menu
>    booting cd0a:netbsd - starting in 0 
>    [...]
>    fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
>    isapnp0: no ISA Plug 'n Play devices found
> 
> At that point, there is no further output.  I also tried booting
> without a serial console (replacing "nographic = 1" with "vnc = 1" and
> booting from boot.iso instead of boot-com.iso), but it hangs in
> the same place.
> 
> Any ideas?

>From memory, I think I had to disable fdc (from boot -c).

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index