are things any better with a non-MP kernel?

On 2008/01/21 11:58, Michael wrote:
> Hi,
>
> [EMAIL PROTECTED] schrieb:
>> I have just try kqemu and I have the following error during the boot process 
>> of a virtualized OpenBSD :
>>
>> [13:17:09] [EMAIL PROTECTED]:~ $ qemu -cdrom install42.iso
>> BEAX=00000000 EBX=00000089 ECX=d099eee0 EDX=00000089
>> ESI=00000001 EDI=d09a6200 EBP=d4fa6e58 ESP=d4fa6e48
>> EIP=d03ee7e8 EFL=00010287 [--S--PC] CPL=0 II=0 A20=1 SMM=0 HLT=0
>> ES =0010 00000000 ffffffff 00cff300
>> CS =0050 00000000 ffffffff 00cffb00
>> SS =0010 00000000 ffffffff 00cff300
>> DS =0010 00000000 ffffffff 00cff300
>> FS =0058 d0741320 000002ab d000f374
>> GS =0010 00000000 ffffffff 00cff300
>> LDT=0018 d06c0160 00000087 d000826c
>> TR =00a8 d4fa5000 00000333 d40089fa
>> GDT=     d4dc6000 0000ffff
>> IDT=     d06c0200 000007ff
>> CR0=e001003b CR2=7fffffff CR3=00744000 CR4=00000680
>> Unsupported return value: 0xffffffff
>>
>> I can't re-use kqemu after : 
>> [13:18:44] [EMAIL PROTECTED]:~ $ qemu -cdrom install42.iso  Error -1 while 
>> initializing QEMU acceleration layer - disabling it for now
>>
>>
>> My /var/log/messages :
>>
>> Jan 20 13:18:10 laptop /bsd: kqemu: aborting: Could not lock user page 
>> 0x8d37f000
>> Jan 20 13:18:10 laptop /bsd: kqemu: failed to unwire page at 0x8d3a3000
>>
>> Any idea ?
>
> Yes and no... I've had the same issue on one of three systems I tested kqemu 
> on. It works on my IBM X41, on Dell Optiplex SX270 but NOT on a Dell 
> Poweredge 2950, either with or without virtualization enabled in the BIOS.
>
> Behavior is as this:
>
> Starting qemu with OpenBSD as host and guest. When the guest finished 
> loading the kernel, the guest just hangs for a while... when I then just 
> kill qemu I get spammed with those "unwire" messages on the host system... 
> even crashed it once.
>
>
> # dmesg
> OpenBSD 4.2-current (GENERIC.MP) #0: Thu Dec 27 12:41:29 CET 2007
>     [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Intel(R) Xeon(R) CPU 5130 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR
> real mem  = 3488874496 (3327MB)
> avail mem = 3385139200 (3228MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 08/10/07, BIOS32 rev. 0 @ 0xffe90, 
> SMBIOS rev. 2.4 @ 0xcffbc000 (62 entries)
> bios0: vendor Dell Inc. version "1.5.1" date 08/10/2007
> bios0: Dell Inc. PowerEdge 2950
> acpi0 at bios0: rev 2
> acpi0: tables DSDT FACP APIC SPCR HPET MCFG
> acpi0: wakeup devices PCI0(S5)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 332 MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Xeon(R) CPU 5130 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz
> cpu1: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,TM2,CX16,xTPR
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 2
> ioapic1 at mainbus0: apid 3 pa 0xfec81000, version 20, 24 pins
> ioapic1: misconfigured as apic 0, remapped to apid 3
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 6 (PEX2)
> acpiprt2 at acpi0: bus 7 (UPST)
> acpiprt3 at acpi0: bus 8 (DWN1)
> acpiprt4 at acpi0: bus 10 (DWN2)
> acpiprt5 at acpi0: bus 1 (PEX3)
> acpiprt6 at acpi0: bus 2 (PE2P)
> acpiprt7 at acpi0: bus 12 (PEX4)
> acpiprt8 at acpi0: bus 14 (PEX6)
> acpiprt9 at acpi0: bus 4 (SBEX)
> acpiprt10 at acpi0: bus 16 (COMP)
> acpicpu0 at acpi0
> acpicpu1 at acpi0
> bios0: ROM list: 0xc0000/0x9000! 0xc9000/0x5200 0xec000/0x4000!
> ipmi at mainbus0 not configured
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 5000X Host" rev 0x12
> ppb0 at pci0 dev 2 function 0 "Intel 5000 PCIE" rev 0x12
> pci1 at ppb0 bus 6
> ppb1 at pci1 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01
> pci2 at ppb1 bus 7
> ppb2 at pci2 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01
> pci3 at ppb2 bus 8
> ppb3 at pci3 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3
> pci4 at ppb3 bus 9
> bnx0 at pci4 dev 0 function 0 "Broadcom BCM5708" rev 0x12: apic 2 int 16 
> (irq 11)
> ppb4 at pci2 dev 1 function 0 "Intel 6321ESB PCIE" rev 0x01: apic 2 int 16 
> (irq 0)
> pci5 at ppb4 bus 10
> ppb5 at pci1 dev 0 function 3 "Intel 6321ESB PCIE-PCIX" rev 0x01
> pci6 at ppb5 bus 11
> ppb6 at pci0 dev 3 function 0 "Intel 5000 PCIE" rev 0x12
> pci7 at ppb6 bus 1
> ppb7 at pci7 dev 0 function 0 "Intel IOP333 PCIE-PCIX" rev 0x00
> pci8 at ppb7 bus 2
> mfi0 at pci8 dev 14 function 0 "Dell PERC 5" rev 0x00: apic 3 int 14 (irq 5)
> mfi0: logical drives 1, version 5.1.1-0040, 256MB RAM
> scsibus0 at mfi0: 1 targets
> sd0 at scsibus0 targ 0 lun 0: <DELL, PERC 5/i, 1.03> SCSI3 0/direct fixed
> sd0: 139392MB, 17769 cyl, 255 head, 63 sec, 512 bytes/sec, 285474816 sec 
> total
> ppb8 at pci7 dev 0 function 2 "Intel IOP333 PCIE-PCIX" rev 0x00
> pci9 at ppb8 bus 3
> ppb9 at pci0 dev 4 function 0 "Intel 5000 PCIE" rev 0x12: apic 2 int 16 (irq 
> 0)
> pci10 at ppb9 bus 12
> ppb10 at pci0 dev 5 function 0 "Intel 5000 PCIE" rev 0x12
> pci11 at ppb10 bus 13
> ppb11 at pci0 dev 6 function 0 "Intel 5000 PCIE" rev 0x12: apic 2 int 16 
> (irq 0)
> pci12 at ppb11 bus 14
> ppb12 at pci0 dev 7 function 0 "Intel 5000 PCIE" rev 0x12
> pci13 at ppb12 bus 15
> pchb1 at pci0 dev 16 function 0 "Intel 5000 Error Reporting" rev 0x12
> pchb2 at pci0 dev 16 function 1 "Intel 5000 Error Reporting" rev 0x12
> pchb3 at pci0 dev 16 function 2 "Intel 5000 Error Reporting" rev 0x12
> pchb4 at pci0 dev 17 function 0 "Intel 5000 Reserved" rev 0x12
> pchb5 at pci0 dev 19 function 0 "Intel 5000 Reserved" rev 0x12
> pchb6 at pci0 dev 21 function 0 "Intel 5000 FBD" rev 0x12
> pchb7 at pci0 dev 22 function 0 "Intel 5000 FBD" rev 0x12
> ppb13 at pci0 dev 28 function 0 "Intel 6321ESB PCIE" rev 0x09
> pci14 at ppb13 bus 4
> ppb14 at pci14 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3
> pci15 at ppb14 bus 5
> bnx1 at pci15 dev 0 function 0 "Broadcom BCM5708" rev 0x12: apic 2 int 16 
> (irq 11)
> uhci0 at pci0 dev 29 function 0 "Intel 6321ESB USB" rev 0x09: apic 2 int 21 
> (irq 11)
> uhci1 at pci0 dev 29 function 1 "Intel 6321ESB USB" rev 0x09: apic 2 int 20 
> (irq 10)
> uhci2 at pci0 dev 29 function 2 "Intel 6321ESB USB" rev 0x09: apic 2 int 21 
> (irq 11)
> ehci0 at pci0 dev 29 function 7 "Intel 6321ESB USB" rev 0x09: apic 2 int 21 
> (irq 11)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb15 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xd9
> pci16 at ppb15 bus 16
> vga1 at pci16 dev 13 function 0 "ATI ES1000" rev 0x02
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> ichpcib0 at pci0 dev 31 function 0 "Intel 6321ESB LPC" rev 0x09: PM disabled
> pciide0 at pci0 dev 31 function 1 "Intel 6321ESB IDE" rev 0x09: DMA, channel 
> 0 configured to compatibility, channel 1 configured to compatibility
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus1 at atapiscsi0: 2 targets
> cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, CD-ROM GCR-8240N, 1.10> SCSI0 
> 5/cdrom removable
> cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at ichpcib0
> 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, using wsdisplay0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> mtrr: Pentium Pro MTRR support
> uhub4 at uhub0 port 1 "Dell product 0xa001" rev 2.00/0.00 addr 2
> uhidev0 at uhub4 port 1 configuration 1 interface 0 "Dell DRAC5" rev 
> 1.10/0.00 addr 3
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 modifier keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev1 at uhub4 port 1 configuration 1 interface 1 "Dell DRAC5" rev 
> 1.10/0.00 addr 3
> uhidev1: iclass 3/1
> ums0 at uhidev1
> ums0: X report 0x0002 not supported
> uhub5 at uhub0 port 5 "Cypress Semiconductor USB2 Hub" rev 2.00/0.0b addr 4
> softraid0 at root
> root on sd0a swap on sd0b dump on sd0b
> bnx1: address 00:1a:a0:19:78:fd
> brgphy0 at bnx1 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6
> bnx0: address 00:1a:a0:19:78:ff
> brgphy1 at bnx0 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6
> kqemu: kqemu version 0x00010300 loaded, max locked mem=1703552kB
> DDB symbols added: 308624 bytes
>

Reply via email to