On 30 March 2016 at 21:47, Evgeniy Sudyr <[email protected]> wrote:
> Mike, thank you for your great job!
>
> Sorry, but I don't have XenServer anymore for checking with MP.
> Does it mean bug only exists in SP kernel, but not in MP?
>

Yes, it appears so.  We had a bug where lack of atomics in
!MULTIPROCESSOR kernels have causes issues with communicating
a change in a shared memory page with the hypervisor.  I hoped
that those issues were contained in the xen.c module, but
perhaps if_xnf.c needs to do the same dance.  I'm not sure at
the moment.

BTW, the XenServer of yours seems to advertise Hyper-V
presence as well.  Any idea why is it so?

> --
> Evgeniy
>
> On Wed, Mar 30, 2016 at 8:12 PM, Mike Belopuhov <[email protected]> wrote:
>>
>> On Tue, Mar 29, 2016 at 13:43 -0700, siaro wrote:
>> > Hi , I have a fresh install 5.9
>> > its base system , nothing pf rule and service.
>> >
>>
>> Indeed. I can see the issue as well. Please use bsd.mp kernel for now
>> (even on uniprocessor VM configurations). I'll try to resolve this
>> issue in -current.
>>
>> > ifconfig
>> > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
>> >         priority: 0
>> >         groups: lo
>> >         inet6 ::1 prefixlen 128
>> >         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
>> >         inet 127.0.0.1 netmask 0xff000000
>> > xnf0: flags=18843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,MPSAFE> mtu
>> > 1500
>> >         lladdr 96:38:ae:4a:f0:ba
>> >         priority: 0
>> >         groups: egress
>> >         media: Ethernet manual
>> >         status: active
>> >         inet 192.168.2.52 netmask 0xffffff00 broadcast 192.168.2.255
>> > enc0: flags=0<>
>> >         priority: 0
>> >         groups: enc
>> >         status: active
>> > pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33144
>> >         priority: 0
>> >         groups: pflog
>> >
>> >
>> > # pcidump
>> > Domain /dev/pci0:
>> >  0:0:0: Intel 82441FX
>> >  0:1:0: Intel 82371SB ISA
>> >  0:1:1: Intel 82371SB IDE
>> >  0:1:2: Intel 82371SB USB
>> >  0:1:3: Intel 82371AB Power
>> >  0:2:0: Cirrus Logic CL-GD5446
>> >  0:3:0: XenSource Platform Device
>> >
>> > # dmesg
>> > OpenBSD 5.9 (GENERIC) #1761: Fri Feb 26 01:15:04 MST 2016
>> >     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
>> > real mem = 1052770304 (1004MB)
>> > avail mem = 1016758272 (969MB)
>> > mpath0 at root
>> > scsibus0 at mpath0: 256 targets
>> > mainbus0 at root
>> > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xeb01f (11 entries)
>> > bios0: vendor Xen version "4.4.1-xs108914" date 11/26/2015
>> > bios0: Xen HVM domU
>> > acpi0 at bios0: rev 2
>> > acpi0: sleep states S5
>> > acpi0: tables DSDT FACP APIC HPET WAET
>> > acpi0: wakeup devices
>> > acpitimer0 at acpi0: 3579545 Hz, 32 bits
>> > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
>> > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 48 pins
>> > ioapic0: misconfigured as apic 0, remapped to apid 1
>> > cpu0 at mainbus0: apid 0 (boot processor)
>> > cpu0: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2133.12 MHz
>> > cpu0:
>> >
>> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,SSSE3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,HV,NXE,LONG,LAHF
>> > cpu0: 256KB 64b/line 8-way L2 cache
>> > cpu0: smt 0, core 0, package 0
>> > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
>> > cpu0: apic clock running at 100MHz
>> > acpihpet0 at acpi0: 62500000 Hz
>> > acpiprt0 at acpi0: bus 0 (PCI0)
>> > acpicpu0 at acpi0: C1(@1 halt!)
>> > pvbus0 at mainbus0: Hyper-V 0.0, Xen 4.4
>> > xen0 at pvbus0: features 0x705, 32 grant table frames, event channel 2
>> > "vbd" at xen0: device/vbd/768 not configured
>> > "vbd" at xen0: device/vbd/5696 not configured
>> > xnf0 at xen0: event channel 6, address 96:38:ae:4a:f0:ba
>> > pci0 at mainbus0 bus 0
>> > 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, 3072MB, 6291456 sectors
>> > wd0(pciide0:0:0): using PIO mode 0, DMA mode 2
>> > atapiscsi0 at pciide0 channel 1 drive 1
>> > scsibus1 at atapiscsi0: 2 targets
>> > cd0 at scsibus1 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 0.10> ATAPI 5/cdrom
>> > removable
>> > cd0(pciide0:1:1): using PIO mode 0
>> > uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 1 int
>> > 23
>> > piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x01: SMBus
>> > disabled
>> > vga1 at pci0 dev 2 function 0 "Cirrus Logic CL-GD5446" rev 0x00
>> > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>> > xspd0 at pci0 dev 3 function 0 "XenSource Platform Device" rev 0x01
>> > isa0 at pcib0
>> > isadma0 at isa0
>> > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
>> > fd0 at fdc0 drive 0: density unknown
>> > fd1 at fdc0 drive 1: density unknown
>> > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
>> > pckbc0 at isa0 port 0x60/5 irq 1 irq 12
>> > pckbd0 at pckbc0 (kbd slot)
>> > wskbd0 at pckbd0: console keyboard, using wsdisplay0
>> > pms0 at pckbc0 (aux slot)
>> > wsmouse0 at pms0 mux 0
>> > pcppi0 at isa0 port 0x61
>> > spkr0 at pcppi0
>> > lpt0 at isa0 port 0x378/4 irq 7
>> > usb0 at uhci0: USB revision 1.0
>> > uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>> > nvram: invalid checksum
>> > uhidev0 at uhub0 port 2 configuration 1 interface 0 "QEMU 0.10.2 QEMU
>> > USB
>> > Tablet" rev 1.00/0.00 addr 2
>> > uhidev0: iclass 3/1
>> > ums0 at uhidev0: 3 buttons, Z dir
>> > wsmouse1 at ums0 mux 0
>> > vscsi0 at root
>> > scsibus2 at vscsi0: 256 targets
>> > softraid0 at root
>> > scsibus3 at softraid0: 256 targets
>> > root on wd0a (86164a845bbc8db8.a) swap on wd0b dump on wd0b
>> > clock: unknown CMOS layout
>> > xen0: grant table reference 337 is held by domain 0
>> > xen0: grant table reference 383 is held by domain 0
>> > xen0: grant table reference 442 is held by domain 0
>> > xen0: grant table reference 498 is held by domain 0
>> > xen0: grant table reference 270 is held by domain 0
>> > xen0: grant table reference 349 is held by domain 0
>> > xen0: grant table reference 353 is held by domain 0
>> > xen0: grant table reference 425 is held by domain 0
>> > xen0: grant table reference 428 is held by domain 0
>> > xen0: grant table reference 432 is held by domain 0
>> > xen0: grant table reference 436 is held by domain 0
>> > xen0: grant table reference 441 is held by domain 0
>> > xen0: grant table reference 444 is held by domain 0
>> > xen0: grant table reference 453 is held by domain 0
>> > xen0: grant table reference 459 is held by domain 0
>> > xen0: grant table reference 465 is held by domain 0
>> > xen0: grant table reference 471 is held by domain 0
>> > xen0: grant table reference 475 is held by domain 0
>> > xen0: grant table reference 481 is held by domain 0
>> > xen0: grant table reference 487 is held by domain 0
>> > xen0: grant table reference 495 is held by domain 0
>> > xen0: grant table reference 498 is held by domain 0
>> > xen0: grant table reference 501 is held by domain 0
>> > xen0: grant table reference 512 is held by domain 0
>> > xen0: grant table reference 517 is held by domain 0
>> > xen0: grant table reference 267 is held by domain 0
>> > xen0: grant table reference 291 is held by domain 0
>> > xen0: grant table reference 324 is held by domain 0
>> > xen0: grant table reference 348 is held by domain 0
>> > xen0: grant table reference 440 is held by domain 0
>> > xen0: grant table reference 444 is held by domain 0
>> > xen0: grant table reference 475 is held by domain 0
>> > xen0: grant table reference 271 is held by domain 0
>> > xen0: grant table reference 291 is held by domain 0
>> > xen0: grant table reference 294 is held by domain 0
>> > xen0: grant table reference 298 is held by domain 0
>> > xen0: grant table reference 305 is held by domain 0
>> > xen0: grant table reference 315 is held by domain 0
>> > xen0: grant table reference 323 is held by domain 0
>> > xen0: grant table reference 329 is held by domain 0
>> > xen0: grant table reference 333 is held by domain 0
>> > xen0: grant table reference 339 is held by domain 0
>> > xen0: grant table reference 350 is held by domain 0
>> > xen0: grant table reference 356 is held by domain 0
>> > xen0: grant table reference 361 is held by domain 0
>> > xen0: grant table reference 367 is held by domain 0
>> > xen0: grant table reference 373 is held by domain 0
>> > xen0: grant table reference 379 is held by domain 0
>> > xen0: grant table reference 387 is held by domain 0
>> > xen0: grant table reference 393 is held by domain 0
>> > xen0: grant table reference 399 is held by domain 0
>> > xen0: grant table reference 405 is held by domain 0
>> > xen0: grant table reference 411 is held by domain 0
>> > xen0: grant table reference 416 is held by domain 0
>> > xen0: grant table reference 420 is held by domain 0
>> > xen0: grant table reference 426 is held by domain 0
>> > xen0: grant table reference 432 is held by domain 0
>> > xen0: grant table reference 462 is held by domain 0
>> >
>> >
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> > http://openbsd-archive.7691.n7.nabble.com/messages-log-flooded-with-xen0-grant-table-reference-tp292437p292787.html
>> > Sent from the openbsd dev - bugs mailing list archive at Nabble.com.
>> >
>>
>
>
>
> --
> --
> With regards,
> Eugene Sudyr

Reply via email to