Hi, I''m trying to install OpenBSD as a DomU with HVM. I''ve been looking through the mailing list archives, and I can''t quite tell if I''m trying to do something that might be a bad idea. Is there any reason why I shouldn''t be able to run OpenBSD on xen with HVM? I thought HVM meant any OS should work, but some of the messages I''ve read are making me worry. If I''m trying to do something impossible i''d like to know so I can go do something else. Does anyone know a good write up about an OpenBSD domU install? I haven''t found one yet. Here''s what I''ve done so far: - I can see hvmloader come up in vnc - from in vnc I can tell the OpeBSD boot loader use the serial port - on the serial port I see the boot progress for a while before it freezes up with the message "wd0c: aborted command reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying" near as I can tell, that means it''s not happy that hda isn''t partitioned yet or something like that. But, of course it''s not partitioned, I haven''t installed anything yet. I''m booting off the install iso, so why is it grumbling about the hard drive? another theory is that it''s actually successfully loading, but the install ramdisk is failing to print to serial (or vnc)... And, if you''re still reading this you probably want to see the xm config file. Below that is the full boot output from the serial port. ----------------8<----------------------- name = "celeste" builder=''hvm'' kernel = "/usr/lib/xen/boot/hvmloader" memory = 512 shadow_memory = 8 device_model = ''/usr/lib64/xen/bin/qemu-dm'' #vif = [ ''mac=00:16:3E:15:D1:40,bridge=xenbr0'', ] vif = [ '''' ] disk = [ ''phy:vg/celeste,hda,w'', ''file:/etc/xen/cd41.iso,hdc:cdrom,r'' ] # boot on floppy (a), hard disk (c) or CD-ROM (d) # default: hard disk, cd-rom, floppy #boot="cda" boot=''dc'' stdvga=1 vnc=1 vnclisten="127.0.0.1" vncpasswd='''' #nographic=1 serial=''pty'' cpus="" vcpus="4" #ip="168.156.85.23" #netmask="255.255.255.224" #gateway="168.156.85.1" hostname="celeste" #root="/dev/celeste/root ro" #extra="console=xvc0 rescue" on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' ------------8<------------------ Script started on Mon 21 May 2007 03:42:04 PM PDT Using config file "./celeste". Started domain celeste>> OpenBSD/i386 CDBOOT 1.06boot> booting cd0a:/4.1/i386/bsd.rd: /4679892/+742564- [52\+169536+154918|]=0x57b288 entry point at 0x200120 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2007 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 4.1 (RAMDISK_CD) #248: Sat Mar 10 19:32:46 MST 2007 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Intel(R) Xeon(R) CPU 5120 @ 1.86GHz ("GenuineIntel" 686-class) 1.87 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,MMX,FXSR,SSE,SSE2,SS,SBF,SSE3,DS-CPL,CX16,xTPR real mem = 536375296 (523804K) avail mem = 483274752 (471948K) using 4278 buffers containing 26943488 bytes (26312K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 06/23/99, BIOS32 rev. 0 @ 0xf9e80, SMBIOS rev. 2.4 @ 0x9f01f (13 entries) bios0: Xen HVM domU apm0 at bios0: Power Management spec V1.2 apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf0000/0x0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfa120/128 (6 entries) pcibios0: PCI Interrupt Router at 000:01:0 ("Intel 82371SB ISA" rev 0x00) pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc0000/0x8000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02 pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00 pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <QEMU HARDDISK> wd0: 16-sector PIO, LBA48, 0MB, 0 sectors wd0(pciide0:0:0): using PIO mode 0, DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <QEMU, QEMU CD-ROM, 0.8.> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 0, DMA mode 2 unknown vendor 0x1234 product 0x1111 (class display subclass VGA, rev 0x00) at pci0 dev 2 function 0 not configured unknown vendor 0x5853 product 0x0001 (class undefined unknown subclass 0x80, rev 0x01) at pci0 dev 3 function 0 not configured isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard pcdisplay0 at isa0 port 0x3d0/16 iomem 0xb8000/32768 wsdisplay0 at pcdisplay0 mux 1: console (80x25, vt100 emulation), using wskbd0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16450, no fifo pccom0: console fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: density unknown fd1 at fdc0 drive 1: density unknown biomask ffed netmask ffed ttymask ffef rd0: fixed, 3800 blocks wd0c: aborted command reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying Script done on Mon 21 May 2007 03:44:25 PM PDT _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users