Re: messages log flooded with "xen0: grant table reference..."
On 25 March 2016 at 01:17,wrote: > Synopsis: on XenServer 6.5 messages log is flooded with xen related events > Category: Xen > Environment: > System : OpenBSD 5.9 > Details : OpenBSD 5.9-current (GENERIC) #1829: Thu Mar 24 > 12:13:34 MDT 2016 > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC > > Architecture: OpenBSD.amd64 > Machine : amd64 > > Description: > > On fresh installed system I noticed (in console first, then in messages) that > log is flooded with records like: > > xen0: grant table reference 868 is held by domain 0 > xen0: grant table reference 889 is held by domain 0 > xen0: grant table reference 294 is held by domain 0 > xen0: grant table reference 910 is held by domain 0 > xen0: grant table reference 955 is held by domain 0 > xen0: grant table reference 982 is held by domain 0 > xen0: grant table reference 1033 is held by domain 0 > xen0: grant table reference 949 is held by domain 0 > xen0: grant table reference 1022 is held by domain 0 > xen0: grant table reference 790 is held by domain 0 > xen0: grant table reference 861 is held by domain 0 > xen0: grant table reference 926 is held by domain 0 > xen0: grant table reference 1018 is held by domain 0 > xen0: grant table reference 796 is held by domain 0 > xen0: grant table reference 818 is held by domain 0 > xen0: grant table reference 915 is held by domain 0 > xen0: grant table reference 989 is held by domain 0 > xen0: grant table reference 792 is held by domain 0 > xen0: grant table reference 836 is held by domain 0 > xen0: grant table reference 884 is held by domain 0 > xen0: grant table reference 956 is held by domain 0 > xen0: grant table reference 1004 is held by domain 0 > xen0: grant table reference 811 is held by domain 0 > xen0: grant table reference 906 is held by domain 0 > xen0: grant table reference 973 is held by domain 0 > xen0: grant table reference 1015 is held by domain 0 > xen0: grant table reference 802 is held by domain 0 > xen0: grant table reference 924 is held by domain 0 > xen0: grant table reference 1032 is held by domain 0 > > On this system I have enabled IP forwarding and NAT (with pf). > > How-To-Repeat: > > Install OpenBSD with 2 NICs, enable simple NAT rule, enable IP forwarding and > activate PF, then pass some traffic through it. > > match on $ext_if from $int_if:network to any nat-to ($ext_if) > > Fix: Unknown > Do you observe the same message under GENERIC.MP kernel as well?
messages log flooded with "xen0: grant table reference..."
Synopsis: on XenServer 6.5 messages log is flooded with xen related events Category: Xen Environment: System : OpenBSD 5.9 Details : OpenBSD 5.9-current (GENERIC) #1829: Thu Mar 24 12:13:34 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC Architecture: OpenBSD.amd64 Machine : amd64 Description: On fresh installed system I noticed (in console first, then in messages) that log is flooded with records like: xen0: grant table reference 868 is held by domain 0 xen0: grant table reference 889 is held by domain 0 xen0: grant table reference 294 is held by domain 0 xen0: grant table reference 910 is held by domain 0 xen0: grant table reference 955 is held by domain 0 xen0: grant table reference 982 is held by domain 0 xen0: grant table reference 1033 is held by domain 0 xen0: grant table reference 949 is held by domain 0 xen0: grant table reference 1022 is held by domain 0 xen0: grant table reference 790 is held by domain 0 xen0: grant table reference 861 is held by domain 0 xen0: grant table reference 926 is held by domain 0 xen0: grant table reference 1018 is held by domain 0 xen0: grant table reference 796 is held by domain 0 xen0: grant table reference 818 is held by domain 0 xen0: grant table reference 915 is held by domain 0 xen0: grant table reference 989 is held by domain 0 xen0: grant table reference 792 is held by domain 0 xen0: grant table reference 836 is held by domain 0 xen0: grant table reference 884 is held by domain 0 xen0: grant table reference 956 is held by domain 0 xen0: grant table reference 1004 is held by domain 0 xen0: grant table reference 811 is held by domain 0 xen0: grant table reference 906 is held by domain 0 xen0: grant table reference 973 is held by domain 0 xen0: grant table reference 1015 is held by domain 0 xen0: grant table reference 802 is held by domain 0 xen0: grant table reference 924 is held by domain 0 xen0: grant table reference 1032 is held by domain 0 On this system I have enabled IP forwarding and NAT (with pf). How-To-Repeat: Install OpenBSD with 2 NICs, enable simple NAT rule, enable IP forwarding and activate PF, then pass some traffic through it. match on $ext_if from $int_if:network to any nat-to ($ext_if) Fix: Unknown dmesg: OpenBSD 5.9-current (GENERIC) #1829: Thu Mar 24 12:13:34 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 247463936 (236MB) avail mem = 235917312 (224MB) 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-xs116341" date 01/13/2016 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 0xfee0: PC-AT compat ioapic0 at mainbus0: apid 1 pa 0xfec0, 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 E5-2603 v2 @ 1.80GHz, 1800.33 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,RDRAND,HV,NXE,LONG,LAHF,FSGSBASE,SMEP,ERMS 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 99MHz acpihpet0 at acpi0: 6250 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 0e:0f:77:67:b9:09 xnf1 at xen0: event channel 7, address 36:65:85:56:82:b8 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: wd0: 16-sector PIO, LBA48, 2048MB, 4194304 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: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
openssl command can't be exited
Accidentally ask for a password: # openssl genrsa -aes256 -out /etc/ssl/private/server.key 2048 Generating RSA private key, 2048 bit long modulus .+++ ...+++ e is 65537 (0x10001) Enter pass phrase for /etc/ssl/private/server.key: 822626074580:error:28069065:lib(40):UI_set_result:result too small:/home/tedu/src/lib/libcrypto/crypto/../../libssl/src/crypto/ui/ui_lib.c:834:You must type in 4 to 1023 characters Enter pass phrase for /etc/ssl/private/server.key: Enter pass phrase for /etc/ssl/private/server.key: And now you can't quit. ^C doesn't work. ^D doesn't work. pkill openssl in another terminal doesn't work. Nothing works.
Mar 23 snapshot and ipv6 problem
Hi, I encountered a problem with IPv6 connectivity after upgrade to snapshot Mar 23 on my amd64 router. The router use a pppoe session to get IPv4 and IPv6. I had to made a DHCP-ND request to get routable IPv6, and I use dhcpcd from ports for that. The IPv4 is ok, but for IPv6, dhcpcd has the following error: Mar 24 20:16:33 alf dhcpcd[43667]: DUID 00:01:00:01:1e:40:7c:6c Mar 24 20:16:33 alf dhcpcd[43667]: pppoe0: IAID 00:00:00:01 Mar 24 20:16:33 alf dhcpcd[43667]: pppoe0: IAID 00:00:00:02 Mar 24 20:16:33 alf dhcpcd[43667]: pppoe0: rebinding prior DHCPv6 lease Mar 24 20:16:35 alf dhcpcd[43667]: pppoe0: dhcp6_sendmessage: sendmsg: Invalid argument Mar 24 20:17:03 alf dhcpcd[43667]: timed out Mar 24 20:17:03 alf dhcpcd[43667]: forked to background, child pid 10317 I had ktraced it for grabing the sendmsg syscall arguments used: 43667 dhcpcd CALL sendmsg(10,0x1abbb5052020,0) 43667 dhcpcd STRU struct msghdr { name=0x7f7c5260, namelen=28, iov=0x1abbb5052050, iovlen=1, control=0x1abbb5052070, controllen=40, flags=0 } 43667 dhcpcd STRU struct iovec { base=0x1abb901b5000, len=167 } 43667 dhcpcd STRU struct sockaddr { AF_INET6, [ff02::1:2]:547 } 43667 dhcpcd STRU struct cmsghdr { len=36, level=41, type=46 } 43667 dhcpcd RET sendmsg -1 errno 22 Invalid argument Below a full dmesg. Thanks. -- Sebastien Marie OpenBSD 5.9-current (GENERIC.MP) #1958: Wed Mar 23 23:29:16 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 921632768 (878MB) avail mem = 889450496 (848MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf (42 entries) bios0: vendor Phoenix Technologies, LTD version "MS7297 1.08" date 08/22/2007 bios0: Hewlett-Packard 0A7C acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT HPET MCFG APIC acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) AZAL(S3) AUDO(S3) MODM(S3) P2P_(S5) RLAN(S5) PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+, 2593.88 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,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+, 2593.50 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (P2P_) acpiprt2 at acpi0: bus -1 (PCE2) acpiprt3 at acpi0: bus -1 (PCE3) acpiprt4 at acpi0: bus -1 (PCE4) acpiprt5 at acpi0: bus -1 (PCE5) acpiprt6 at acpi0: bus -1 (PCE6) acpiprt7 at acpi0: bus -1 (PCE7) acpiprt8 at acpi0: bus -1 (PCE8) acpiprt9 at acpi0: bus 1 (AGP_) acpicpu0 at acpi0: C1(@1 halt!), PSS acpicpu1 at acpi0: C1(@1 halt!), PSS acpibtn0 at acpi0: PWRB cpu0: PowerNow! K8 2593 MHz: speeds: 2600 2400 2200 2000 1800 1000 MHz pci0 at mainbus0 bus 0 0:18:0: mem address conflict 0xfec01000/0x400 pchb0 at pci0 dev 0 function 0 "ATI RS480 Host" rev 0x10 ppb0 at pci0 dev 1 function 0 "ATI RS480 PCIE" rev 0x00 pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 5 function 0 "ATI Radeon XPRESS 200" rev 0x00 drm0 at radeondrm0 radeondrm0: apic 2 int 17 ahci0 at pci0 dev 18 function 0 "ATI SB600 SATA" rev 0x00: apic 2 int 22, AHCI 1.1 ahci0: port 0: 1.5Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0:SCSI3 0/direct fixed t10.ATA_FUJITSU_MHV2060BH_NW10T6326AVK sd0: 55796MB, 512 bytes/sector, 114270345 sectors ohci0 at pci0 dev 19 function 0 "ATI SB600 USB" rev 0x00: apic 2 int 16, version 1.0, legacy support ohci1 at pci0 dev 19 function 1 "ATI SB600 USB" rev 0x00: apic 2 int 17, version 1.0, legacy support ohci2 at pci0 dev 19 function 2 "ATI SB600 USB" rev 0x00: apic 2 int 18, version 1.0, legacy support ohci3 at pci0 dev 19 function 3