hostname.gre panic. 6.5 RELEASE

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

hostname.gre panic. 6.5 RELEASE

andreas-2
>Synopsis: hostname.gre panic
>Category: network
>Environment:
        System      : OpenBSD 6.5
        Details     : OpenBSD 6.5 (GENERIC.MP) #3: Sat Apr 13 14:48:43 MDT 2019
                         [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
        panic when running netstart with gre interface configured
>How-To-Repeat:

echo "10.255.1.4 10.255.1.3 netmask 0xffffffff mtu 1400
inet6 alias fd00::2:2 126
tunnel 78.141.aa.bb 84.55.xx.yy
group mailgre
up" > /etc/hostname.gre1

sh /etc/netstart

# Which results in the following error as can be seen in this screenshot:
http://gw.nullbyte.se/dump/openbsd/openbsd_65_gre_panic.PNG

>Fix:
# Make sure the 'tunnel' statement is before the inet/inet6 commands

echo "tunnel 78.141.aa.bb 84.55.xx.yy
inet6 alias fd00::2:2 126
10.255.1.4 10.255.1.3 netmask 0xffffffff mtu 1400
group mailgre
up" > /etc/hostname.gre1

sh /etc/netstart


dmesg:
OpenBSD 6.5 (GENERIC.MP) #3: Sat Apr 13 14:48:43 MDT 2019
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1056817152 (1007MB)
avail mem = 1015209984 (968MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf5700 (9 entries)
bios0: vendor SeaBIOS version "rel-1.12.0-0-ga698c8995f-prebuilt.qemu.org" date 04/01/2014
bios0: QEMU Standard PC (i440FX + PIIX, 1996)
acpi0 at bios0: rev 0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP APIC HPET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Virtual CPU 523cbcdd6ca4, 2395.27 MHz, 06-3d-02
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,RDTSCP,LONG,LAHF,ABM,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,ARAT,XSAVEOPT,MELTDOWN
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 1000MHz
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
acpihpet0 at acpi0: 100000000 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
"ACPI0006" at acpi0 not configured
acpipci0 at acpi0 PCI0: _OSC failed
acpicmos0 at acpi0
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"QEMU0002" at acpi0 not configured
"ACPI0010" at acpi0 not configured
pvbus0 at mainbus0: KVM
pvclock0 at pvbus0
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
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 2.5+> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 int 9
iic0 at piixpm0
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)
virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio0: address 56:00:02:1b:e0:e7
virtio0: msix per-VQ
virtio1 at pci0 dev 4 function 0 "Qumranet Virtio Storage" rev 0x00
vioblk0 at virtio1
scsibus2 at vioblk0: 2 targets
sd0 at scsibus2 targ 0 lun 0: <VirtIO, Block Device, > SCSI3 0/direct fixed
sd0: 25600MB, 512 bytes/sector, 52428800 sectors
virtio1: msix shared
virtio2 at pci0 dev 5 function 0 "Qumranet Virtio Memory Balloon" rev 0x00
viomb0 at virtio2
virtio2: apic 0 int 10
virtio3 at pci0 dev 6 function 0 "Qumranet Virtio RNG" rev 0x00
viornd0 at virtio3
virtio3: apic 0 int 10
isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
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
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
uhidev0 at uhub0 port 1 configuration 1 interface 0 "QEMU QEMU USB Tablet" rev 2.00/0.00 addr 2
uhidev0: iclass 3/0
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a (9036e8608c9b0980.a) swap on sd0b dump on sd0b
fd0 at fdc0 drive 1: density unknown

usbdevs:
Controller /dev/usb0:
addr 01: 8086:0000 Intel, UHCI root hub
         full speed, self powered, config 1, rev 1.00
         driver: uhub0
addr 02: 0627:0001 QEMU, QEMU USB Tablet
         full speed, power 100 mA, config 1, rev 0.00, iSerial 42
         driver: uhidev0

pcidump:
Domain /dev/pci0:
 0:0:0: Intel 82441FX
        0x0000: Vendor ID: 8086, Product ID: 1237
        0x0004: Command: 0103, Status: 0000
        0x0008: Class: 06 Bridge, Subclass: 00 Host,
                Interface: 00, Revision: 02
        0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
                Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1af4 Product ID: 1100
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
        0x0000: 12378086 00000103 06000002 00000000
        0x0010: 00000000 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 11001af4
        0x0030: 00000000 00000000 00000000 00000000
        0x0040: 00000000 00000000 00000000 00000000
        0x0050: 00000000 80000000 11111000 33111111
        0x0060: 00000000 00000000 00000000 00000000
        0x0070: 000a0000 00000000 00000000 00000000
        0x0080: 00000000 00000000 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:1:0: Intel 82371SB ISA
        0x0000: Vendor ID: 8086, Product ID: 7000
        0x0004: Command: 0103, Status: 0200
        0x0008: Class: 06 Bridge, Subclass: 01 ISA,
                Interface: 00, Revision: 00
        0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
                Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1af4 Product ID: 1100
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
        0x0000: 70008086 02000103 06010000 00800000
        0x0010: 00000000 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 11001af4
        0x0030: 00000000 00000000 00000000 00000000
        0x0040: 00000000 00000000 00000000 0003004d
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 0b0b0a0a 00000000 00000200 00000000
        0x0070: 00000080 0c0c0000 00000002 00000000
        0x0080: 00000000 00000000 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000008 00000000 0000000f 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:1:1: Intel 82371SB IDE
        0x0000: Vendor ID: 8086, Product ID: 7010
        0x0004: Command: 0107, Status: 0280
        0x0008: Class: 01 Mass Storage, Subclass: 01 IDE,
                Interface: 80, Revision: 00
        0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
                Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR io addr: 0x0000c0e0/0x0010
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1af4 Product ID: 1100
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
        0x0000: 70108086 02800107 01018000 00000000
        0x0010: 00000000 00000000 00000000 00000000
        0x0020: 0000c0e1 00000000 00000000 11001af4
        0x0030: 00000000 00000000 00000000 00000000
        0x0040: a3070000 00000000 00000000 00000000
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 00000000 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 00000000 00000000 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:1:2: Intel 82371SB USB
        0x0000: Vendor ID: 8086, Product ID: 7020
        0x0004: Command: 0107, Status: 0000
        0x0008: Class: 0c Serial Bus, Subclass: 03 USB,
                Interface: 00, Revision: 01
        0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
                Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR io addr: 0x0000c080/0x0020
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1af4 Product ID: 1100
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 04 Line: 0b Min Gnt: 00 Max Lat: 00
        0x0000: 70208086 00000107 0c030001 00000000
        0x0010: 00000000 00000000 00000000 00000000
        0x0020: 0000c081 00000000 00000000 11001af4
        0x0030: 00000000 00000000 00000000 0000040b
        0x0040: 00000000 00000000 00000000 00000000
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 00000010 00000000 00010000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 00000000 00000000 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00002000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:1:3: Intel 82371AB Power
        0x0000: Vendor ID: 8086, Product ID: 7113
        0x0004: Command: 0103, Status: 0280
        0x0008: Class: 06 Bridge, Subclass: 80 Miscellaneous,
                Interface: 00, Revision: 03
        0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
                Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1af4 Product ID: 1100
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 09 Min Gnt: 00 Max Lat: 00
        0x0000: 71138086 02800103 06800003 00000000
        0x0010: 00000000 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 11001af4
        0x0030: 00000000 00000000 00000000 00000109
        0x0040: 00000601 00000000 00000000 00000000
        0x0050: 00000000 00000000 02000000 10000000
        0x0060: 60000000 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 00000001 00000000 00000000 00000000
        0x0090: 00000701 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00090000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:2:0: Cirrus Logic CL-GD5446
        0x0000: Vendor ID: 1013, Product ID: 00b8
        0x0004: Command: 0107, Status: 0000
        0x0008: Class: 03 Display, Subclass: 00 VGA,
                Interface: 00, Revision: 00
        0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
                Cache Line Size: 00
        0x0010: BAR mem prefetchable 32bit addr: 0xfc000000/0x02000000
        0x0014: BAR mem 32bit addr: 0xfebf0000/0x00001000
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1af4 Product ID: 1100
        0x0030: Expansion ROM Base Address: febe0000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
        0x0000: 00b81013 00000107 03000000 00000000
        0x0010: fc000008 febf0000 00000000 00000000
        0x0020: 00000000 00000000 00000000 11001af4
        0x0030: febe0000 00000000 00000000 00000000
        0x0040: 00000000 00000000 00000000 00000000
        0x0050: 00000000 00000000 00000000 00000000
        0x0060: 00000000 00000000 00000000 00000000
        0x0070: 00000000 00000000 00000000 00000000
        0x0080: 00000000 00000000 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:3:0: Qumranet Virtio Network
        0x0000: Vendor ID: 1af4, Product ID: 1000
        0x0004: Command: 0107, Status: 0010
        0x0008: Class: 02 Network, Subclass: 00 Ethernet,
                Interface: 00, Revision: 00
        0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
                Cache Line Size: 00
        0x0010: BAR io addr: 0x0000c000/0x0040
        0x0014: BAR mem 32bit addr: 0xfebf1000/0x00001000
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR mem prefetchable 64bit addr: 0x00000000fe000000/0x00004000
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1af4 Product ID: 0001
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
        0x0098: Capability 0x11: Extended Message Signalled Interrupts (MSI-X)
                Enabled: yes; table size 18 (BAR 1:0)
        0x0084: Capability 0x09: Vendor Specific
        0x0070: Capability 0x09: Vendor Specific
        0x0060: Capability 0x09: Vendor Specific
        0x0050: Capability 0x09: Vendor Specific
        0x0040: Capability 0x09: Vendor Specific
        0x0000: 10001af4 00100107 02000000 00000000
        0x0010: 0000c001 febf1000 00000000 00000000
        0x0020: fe00000c 00000000 00000000 00011af4
        0x0030: 00000000 00000098 00000000 0000010b
        0x0040: 01100009 00000004 00000000 00001000
        0x0050: 03104009 00000004 00001000 00001000
        0x0060: 04105009 00000004 00002000 00001000
        0x0070: 02146009 00000004 00003000 00001000
        0x0080: 00000004 05147009 00000000 00000000
        0x0090: 00000000 00000000 80118411 00000001
        0x00a0: 00000801 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:4:0: Qumranet Virtio Storage
        0x0000: Vendor ID: 1af4, Product ID: 1001
        0x0004: Command: 0107, Status: 0010
        0x0008: Class: 01 Mass Storage, Subclass: 00 SCSI,
                Interface: 00, Revision: 00
        0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
                Cache Line Size: 00
        0x0010: BAR io addr: 0x0000c040/0x0040
        0x0014: BAR mem 32bit addr: 0xfebf2000/0x00001000
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR mem prefetchable 64bit addr: 0x00000000fe004000/0x00004000
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1af4 Product ID: 0002
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
        0x0098: Capability 0x11: Extended Message Signalled Interrupts (MSI-X)
                Enabled: yes; table size 2 (BAR 1:0)
        0x0084: Capability 0x09: Vendor Specific
        0x0070: Capability 0x09: Vendor Specific
        0x0060: Capability 0x09: Vendor Specific
        0x0050: Capability 0x09: Vendor Specific
        0x0040: Capability 0x09: Vendor Specific
        0x0000: 10011af4 00100107 01000000 00000000
        0x0010: 0000c041 febf2000 00000000 00000000
        0x0020: fe00400c 00000000 00000000 00021af4
        0x0030: 00000000 00000098 00000000 0000010b
        0x0040: 01100009 00000004 00000000 00001000
        0x0050: 03104009 00000004 00001000 00001000
        0x0060: 04105009 00000004 00002000 00001000
        0x0070: 02146009 00000004 00003000 00001000
        0x0080: 00000004 05147009 00000000 00000000
        0x0090: 00000000 00000000 80018411 00000001
        0x00a0: 00000801 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:5:0: Qumranet Virtio Memory Balloon
        0x0000: Vendor ID: 1af4, Product ID: 1002
        0x0004: Command: 0107, Status: 0010
        0x0008: Class: 00 Prehistoric, Subclass: ff (unknown),
                Interface: 00, Revision: 00
        0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
                Cache Line Size: 00
        0x0010: BAR io addr: 0x0000c0a0/0x0020
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR mem prefetchable 64bit addr: 0x00000000fe008000/0x00004000
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1af4 Product ID: 0005
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00
        0x0084: Capability 0x09: Vendor Specific
        0x0070: Capability 0x09: Vendor Specific
        0x0060: Capability 0x09: Vendor Specific
        0x0050: Capability 0x09: Vendor Specific
        0x0040: Capability 0x09: Vendor Specific
        0x0000: 10021af4 00100107 00ff0000 00000000
        0x0010: 0000c0a1 00000000 00000000 00000000
        0x0020: fe00800c 00000000 00000000 00051af4
        0x0030: 00000000 00000084 00000000 0000010a
        0x0040: 01100009 00000004 00000000 00001000
        0x0050: 03104009 00000004 00001000 00001000
        0x0060: 04105009 00000004 00002000 00001000
        0x0070: 02146009 00000004 00003000 00001000
        0x0080: 00000004 05147009 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000
 0:6:0: Qumranet Virtio RNG
        0x0000: Vendor ID: 1af4, Product ID: 1005
        0x0004: Command: 0107, Status: 0010
        0x0008: Class: 00 Prehistoric, Subclass: ff (unknown),
                Interface: 00, Revision: 00
        0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
                Cache Line Size: 00
        0x0010: BAR io addr: 0x0000c0c0/0x0020
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR mem prefetchable 64bit addr: 0x00000000fe00c000/0x00004000
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1af4 Product ID: 0004
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00
        0x0084: Capability 0x09: Vendor Specific
        0x0070: Capability 0x09: Vendor Specific
        0x0060: Capability 0x09: Vendor Specific
        0x0050: Capability 0x09: Vendor Specific
        0x0040: Capability 0x09: Vendor Specific
        0x0000: 10051af4 00100107 00ff0000 00000000
        0x0010: 0000c0c1 00000000 00000000 00000000
        0x0020: fe00c00c 00000000 00000000 00041af4
        0x0030: 00000000 00000084 00000000 0000010a
        0x0040: 01100009 00000004 00000000 00001000
        0x0050: 03104009 00000004 00001000 00001000
        0x0060: 04105009 00000004 00002000 00001000
        0x0070: 02146009 00000004 00003000 00001000
        0x0080: 00000004 05147009 00000000 00000000
        0x0090: 00000000 00000000 00000000 00000000
        0x00a0: 00000000 00000000 00000000 00000000
        0x00b0: 00000000 00000000 00000000 00000000
        0x00c0: 00000000 00000000 00000000 00000000
        0x00d0: 00000000 00000000 00000000 00000000
        0x00e0: 00000000 00000000 00000000 00000000
        0x00f0: 00000000 00000000 00000000 00000000

acpidump:
begin-base64 644 APIC.3
QVBJQ3gAAAAB7UJPQ0hTIEJYUENBUElDAQAAAEJYUEMBAAAAAADg/gEAAAAACAAAAQAAAAEMAAAA
AMD+AAAAAAIKAAACAAAAAAACCgAFBQAAAA0AAgoACQkAAAANAAIKAAoKAAAADQACCgALCwAAAA0A
BAb/AAAB
====
begin-base64 644 DSDT.2
RFNEVNgTAAABXEJPQ0hTIEJYUENEU0RUAQAAAEJYUEMBAAAAEEkEXABbgERCR18BCwIEAVuBC0RC
R18BREJHQggULERCVUcBmGhglmBgdIdgAWFwAGKiEJViYXCDiGBiAERCR0J1YnAKCkRCR0IQIl9T
Ql9bghtQQ0kwCF9ISUQMQdAKAwhfQURSAAhfVUlEARBNCF9TQl9bgkUISFBFVAhfSElEDEHQAQMI
X1VJRABbgEhQVE0ADAAA0P4LAARbgRBIUFRNE1ZFTkQgUFJEXyAUNl9TVEEAcFZFTkRgcFBSRF9h
emAKEGCgDJGTYACTYAv//6QAoA6Rk2EAlGEMAOH1BaQApAoPCF9DUlMREQoOh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F9CTEs9MHg2MDQtMHg2MDUKCVBNMl9UTVJfQkxLPTB4NjA4LTB4NjBiCglQTTJf
R1BFMF9CTEs9MHhhZmUwLTB4YWZlMwoJUF9MVkwyX0xBVD00MDk1bXMsIFBfTFZMM19MQVQ9NDA5
NW1zCglGTFVTSF9TSVpFPTAsIEZMVVNIX1NUUklERT0wCglEVVRZX09GRlNFVD0wLCBEVVRZX1dJ
RFRIPTAKCURBWV9BTFJNPTAsIE1PTl9BTFJNPTAsIENFTlRVUlk9NTAKCUZsYWdzPXtXQklOVkQs
UFJPQ19DMSxTTFBfQlVUVE9OLFJUQ19TNH0KCgpEU0RUOiBMZW5ndGg9NTA4MCwgUmV2aXNpb249
MSwgQ2hlY2tzdW09OTIsCglPRU1JRD1CT0NIUywgT0VNIFRhYmxlIElEPUJYUENEU0RULCBPRU0g
UmV2aXNpb249MHgxLAoJQ3JlYXRvciBJRD1CWFBDLCBDcmVhdG9yIFJldmlzaW9uPTB4MQoKCkFQ
SUM6IExlbmd0aD0xMjAsIFJldmlzaW9uPTEsIENoZWNrc3VtPTIzNywKCU9FTUlEPUJPQ0hTLCBP
RU0gVGFibGUgSUQ9QlhQQ0FQSUMsIE9FTSBSZXZpc2lvbj0weDEsCglDcmVhdG9yIElEPUJYUEMs
IENyZWF0b3IgUmV2aXNpb249MHgxCgoKSFBFVDogTGVuZ3RoPTU2LCBSZXZpc2lvbj0xLCBDaGVj
a3N1bT0zLAoJT0VNSUQ9Qk9DSFMsIE9FTSBUYWJsZSBJRD1CWFBDSFBFVCwgT0VNIFJldmlzaW9u
PTB4MSwKCUNyZWF0b3IgSUQ9QlhQQywgQ3JlYXRvciBSZXZpc2lvbj0weDEKCg==
====

Reply | Threaded
Open this post in threaded view
|

Re: hostname.gre panic. 6.5 RELEASE

Alexander Bluhm
On Thu, Jul 25, 2019 at 12:40:22PM +0000, [hidden email] wrote:
> # Which results in the following error as can be seen in this screenshot:
> http://gw.nullbyte.se/dump/openbsd/openbsd_65_gre_panic.PNG
>
> >Fix:
> # Make sure the 'tunnel' statement is before the inet/inet6 commands

The inet6 duplicate address detection packet is sent before the
tunnel is set up.  We should reject packets during that time window.

While there, count errors and use generic unhandled_af().

ok?

bluhm

Index: net/if_gre.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/net/if_gre.c,v
retrieving revision 1.151
diff -u -p -r1.151 if_gre.c
--- net/if_gre.c 17 Jul 2019 16:46:17 -0000 1.151
+++ net/if_gre.c 25 Jul 2019 19:03:45 -0000
@@ -1930,8 +1930,10 @@ mgre_output(struct ifnet *ifp, struct mb
  }

  m = gre_l3_encap_dst(&sc->sc_tunnel, addr, m, dest->sa_family);
- if (m == NULL)
+ if (m == NULL) {
+ ifp->if_oerrors++;
  return (ENOBUFS);
+ }

  m->m_pkthdr.ph_family = dest->sa_family;

@@ -2142,6 +2144,10 @@ gre_encap_dst_ip(const struct gre_tunnel
     struct mbuf *m, uint8_t ttl, uint8_t tos)
 {
  switch (tunnel->t_af) {
+ case AF_UNSPEC:
+ /* packets may arrive before tunnel is set up */
+ m_freem(m);
+ return (NULL);
  case AF_INET: {
  struct ip *ip;

@@ -2188,8 +2194,7 @@ gre_encap_dst_ip(const struct gre_tunnel
  }
 #endif /* INET6 */
  default:
- panic("%s: unsupported af %d in %p", __func__, tunnel->t_af,
-    tunnel);
+ unhandled_af(tunnel->t_af);
  }

  return (m);
@@ -2215,8 +2220,7 @@ gre_ip_output(const struct gre_tunnel *t
  break;
 #endif
  default:
- panic("%s: unsupported af %d in %p", __func__, tunnel->t_af,
-    tunnel);
+ unhandled_af(tunnel->t_af);
  }

  return (0);
@@ -4286,7 +4290,7 @@ gre_ip_cmp(int af, const union gre_addr
  case AF_INET:
  return (memcmp(&a->in4, &b->in4, sizeof(a->in4)));
  default:
- panic("%s: unsupported af %d\n", __func__, af);
+ unhandled_af(af);
  }

  return (0);

Reply | Threaded
Open this post in threaded view
|

Re: hostname.gre panic. 6.5 RELEASE

David Gwynne-5


> On 26 Jul 2019, at 5:22 am, Alexander Bluhm <[hidden email]> wrote:
>
> On Thu, Jul 25, 2019 at 12:40:22PM +0000, [hidden email] wrote:
>> # Which results in the following error as can be seen in this screenshot:
>> http://gw.nullbyte.se/dump/openbsd/openbsd_65_gre_panic.PNG
>>
>>> Fix:
>> # Make sure the 'tunnel' statement is before the inet/inet6 commands
>
> The inet6 duplicate address detection packet is sent before the
> tunnel is set up.  We should reject packets during that time window.
>
> While there, count errors and use generic unhandled_af().
>
> ok?

ok

>
> bluhm
>
> Index: net/if_gre.c
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/src/sys/net/if_gre.c,v
> retrieving revision 1.151
> diff -u -p -r1.151 if_gre.c
> --- net/if_gre.c 17 Jul 2019 16:46:17 -0000 1.151
> +++ net/if_gre.c 25 Jul 2019 19:03:45 -0000
> @@ -1930,8 +1930,10 @@ mgre_output(struct ifnet *ifp, struct mb
> }
>
> m = gre_l3_encap_dst(&sc->sc_tunnel, addr, m, dest->sa_family);
> - if (m == NULL)
> + if (m == NULL) {
> + ifp->if_oerrors++;
> return (ENOBUFS);
> + }
>
> m->m_pkthdr.ph_family = dest->sa_family;
>
> @@ -2142,6 +2144,10 @@ gre_encap_dst_ip(const struct gre_tunnel
>     struct mbuf *m, uint8_t ttl, uint8_t tos)
> {
> switch (tunnel->t_af) {
> + case AF_UNSPEC:
> + /* packets may arrive before tunnel is set up */
> + m_freem(m);
> + return (NULL);
> case AF_INET: {
> struct ip *ip;
>
> @@ -2188,8 +2194,7 @@ gre_encap_dst_ip(const struct gre_tunnel
> }
> #endif /* INET6 */
> default:
> - panic("%s: unsupported af %d in %p", __func__, tunnel->t_af,
> -    tunnel);
> + unhandled_af(tunnel->t_af);
> }
>
> return (m);
> @@ -2215,8 +2220,7 @@ gre_ip_output(const struct gre_tunnel *t
> break;
> #endif
> default:
> - panic("%s: unsupported af %d in %p", __func__, tunnel->t_af,
> -    tunnel);
> + unhandled_af(tunnel->t_af);
> }
>
> return (0);
> @@ -4286,7 +4290,7 @@ gre_ip_cmp(int af, const union gre_addr
> case AF_INET:
> return (memcmp(&a->in4, &b->in4, sizeof(a->in4)));
> default:
> - panic("%s: unsupported af %d\n", __func__, af);
> + unhandled_af(af);
> }
>
> return (0);
>