For the archives I can confirm that this has been fixed, presumably by this commit
http://marc.info/?l=openbsd-cvs&m=150217645202029&w=2 thanks, .jh On 2017/07/28 23:38, Johan Huldtgren wrote: > hello, > > I have a host which has multiple vlan(4) configured. When I go to upgrade > with the latest bsd.rd (and several prior) after I enter which mirror to > fetch the sources from it simply hangs and nothing happens. If I ctrl-c > out and do an 'ifconfig' only one vlan (not the one I need to reach out) > will appear. It looks like this: > > Welcome to the OpenBSD/amd64 6.1 installation program. > (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? u > At any prompt except password prompts you can escape to a shell by > typing '!'. Default answers are shown in []'s and are selected by > pressing RETURN. You can exit this program at any time by pressing > Control-C, but this can leave your system in an inconsistent state. > > Terminal type? [vt220] > Available disks are: sd0. > Which disk is the root disk? ('?' for details) [sd0] > Checking root filesystem (fsck -fp /dev/sd0a)...OK. > Mounting root filesystem (mount -o ro /dev/sd0a /mnt)...OK. > Force checking of clean non-root filesystems? [no] > fsck -p 6fb9381c12ea5fc1.i...OK. > fsck -p 6fb9381c12ea5fc1.f...OK. > fsck -p 6fb9381c12ea5fc1.g...OK. > fsck -p 6fb9381c12ea5fc1.h...OK. > fsck -p 6fb9381c12ea5fc1.e...OK. > /dev/sd0a (6fb9381c12ea5fc1.a) on /mnt type ffs (rw, local) > /dev/sd0i (6fb9381c12ea5fc1.i) on /mnt/home type ffs (rw, local, nodev, > nosuid) > /dev/sd0f (6fb9381c12ea5fc1.f) on /mnt/usr type ffs (rw, local, nodev) > /dev/sd0g (6fb9381c12ea5fc1.g) on /mnt/usr/X11R6 type ffs (rw, local, nodev) > /dev/sd0h (6fb9381c12ea5fc1.h) on /mnt/usr/local type ffs (rw, local, nodev) > /dev/sd0e (6fb9381c12ea5fc1.e) on /mnt/var type ffs (rw, local, nodev, nosuid) > > Let's upgrade the sets! > Location of sets? (disk http or 'done') [http] > HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none] > HTTP Server? (hostname, list#, 'done' or '?') [ftp.openbsd.org] > ftp4.usa.openbsd.org > Server directory? [pub/OpenBSD/snapshots/amd64] > ^C > > > # ifconfig > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768 > llprio 3 > groups: lo > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 > inet 127.0.0.1 netmask 0xff000000 > em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:00:24:d1:ad:60 > llprio 3 > groups: egress > media: Ethernet autoselect (1000baseT full-duplex,master) > status: active > inet 172.16.0.3 netmask 0xffffff00 broadcast 172.16.0.255 > em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:00:24:d1:ad:61 > llprio 3 > media: Ethernet autoselect (1000baseT full-duplex,master) > status: active > em2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:00:24:d1:ad:62 > llprio 3 > media: Ethernet autoselect (1000baseT full-duplex) > status: active > em3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:00:24:d1:ad:63 > llprio 3 > media: Ethernet autoselect (1000baseT full-duplex,master) > status: active > vlan666: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:00:24:d1:ad:63 > llprio 3 > encap: vnetid 666 parent em3 > groups: vlan > media: Ethernet autoselect (1000baseT full-duplex,master) > status: active > inet 10.66.66.3 netmask 0xffffff00 broadcast 10.66.66.255 > # > > Rebooting, this is what an ifconfig normally looks like: > > $ ifconfig > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768 > index 6 priority 0 llprio 3 > groups: lo > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 > inet 127.0.0.1 netmask 0xff000000 > em0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu > 1500 > lladdr 00:00:24:d1:ad:60 > index 1 priority 0 llprio 3 > groups: egress > media: Ethernet autoselect (1000baseT full-duplex) > status: active > inet 172.16.0.3 netmask 0xffffff00 broadcast 172.16.0.255 > em1: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu > 1500 > lladdr 00:00:24:d1:ad:61 > index 2 priority 0 llprio 3 > media: Ethernet autoselect (1000baseT full-duplex) > status: active > em2: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu > 1500 > lladdr 00:00:24:d1:ad:62 > index 3 priority 0 llprio 3 > media: Ethernet autoselect (1000baseT full-duplex,master) > status: active > em3: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu > 1500 > lladdr 00:00:24:d1:ad:63 > index 4 priority 0 llprio 3 > media: Ethernet autoselect (1000baseT full-duplex) > status: active > enc0: flags=0<> > index 5 priority 0 llprio 3 > groups: enc > status: active > vlan20: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:00:24:d1:ad:61 > index 7 priority 0 llprio 3 > vlan: 20 parent interface: em1 > vnetid: 20 > parent: em1 > groups: vlan > status: active > inet 192.168.100.3 netmask 0xffffff00 broadcast 192.168.100.255 > vlan30: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:00:24:d1:ad:62 > index 8 priority 0 llprio 3 > vlan: 30 parent interface: em2 > vnetid: 30 > parent: em2 > groups: vlan > status: active > inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255 > vlan666: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:00:24:d1:ad:63 > index 9 priority 0 llprio 3 > vlan: 666 parent interface: em3 > vnetid: 666 > parent: em3 > groups: vlan > status: active > inet 10.66.66.3 netmask 0xffffff00 broadcast 10.66.66.255 > carp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:00:5e:00:01:01 > index 10 priority 15 llprio 3 > carp: BACKUP carpdev em0 vhid 1 advbase 1 advskew 100 carppeer > 172.16.0.2 > groups: carp > status: backup > inet 172.16.0.103 netmask 0xffffff00 broadcast 172.16.0.255 > carp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:00:5e:00:01:02 > index 11 priority 15 llprio 3 > carp: BACKUP carpdev vlan20 vhid 2 advbase 1 advskew 100 carppeer > 192.168.100.2 > groups: carp > status: backup > inet 192.168.100.103 netmask 0xffffff00 broadcast 192.168.100.255 > carp2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:00:5e:00:01:03 > index 12 priority 15 llprio 3 > carp: BACKUP carpdev vlan30 vhid 3 advbase 1 advskew 100 carppeer > 192.168.0.2 > groups: carp > status: backup > inet 192.168.0.103 netmask 0xffffff00 broadcast 192.168.0.255 > carp3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > lladdr 00:00:5e:00:01:04 > index 13 priority 15 llprio 3 > carp: BACKUP carpdev vlan666 vhid 4 advbase 1 advskew 100 carppeer > 10.66.66.2 > groups: carp > status: backup > inet 10.66.66.103 netmask 0xffffff00 broadcast 10.66.66.255 > tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 > index 14 priority 0 llprio 3 > groups: tun > status: active > inet 10.6.6.1 --> 10.6.6.2 netmask 0xffffffff > pflow0: flags=41<UP,RUNNING> mtu 1448 > index 15 priority 0 llprio 3 > pflow: sender: 192.168.100.3 receiver: 192.168.100.8:9995 version: 10 > groups: pflow > pfsync0: flags=41<UP,RUNNING> mtu 1500 > index 16 priority 0 llprio 3 > pfsync: syncdev: vlan666 syncpeer: 10.66.66.2 maxupd: 128 defer: off > groups: carp pfsync > pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136 > index 17 priority 0 llprio 3 > groups: pflog > > As this is running a snap prior to the latest vlan change, the > /etc/hostname.vlan* > still have the old syntax (changing to the new syntax however does not change > anything) > > # more /etc/hostname.vlan20 > inet 192.168.100.3 255.255.255.0 NONE vlan 20 vlandev em1 > # more /etc/hostname.vlan30 > inet 192.168.0.3 255.255.255.0 NONE vlan 30 vlandev em2 > # more /etc/hostname.vlan666 > inet 10.66.66.3 255.255.255.0 NONE vlan 666 vlandev em3 > > Upgrading a host without vlan(4) works as expected. Hints appreciated. > > thanks, > > .jh > > > dmesg: > > OpenBSD 6.1-current (GENERIC.MP) #69: Fri May 19 09:08:02 MDT 2017 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 2130575360 (2031MB) > avail mem = 2060271616 (1964MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0 > acpi at bios0 not configured > mpbios0 at bios0: Intel MP Specification 1.4 > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Genuine Intel(R) CPU @ 1.60GHz, 1600.22 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR > cpu0: 512KB 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 > cpu0: mwait min=64, max=64, C-substates=0.2.2.0.2.0.3, IBE > cpu1 at mainbus0: apid 1 (application processor) > cpu1: Genuine Intel(R) CPU @ 1.60GHz, 1599.99 MHz > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR > cpu1: 512KB 64b/line 8-way L2 cache > cpu1: smt 1, core 0, package 0 > mpbios0: bus 0 is type PCI > mpbios0: bus 64 is type ISA > ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins > cpu0: unknown Enhanced SpeedStep CPU, msr 0x0612101906001019 > cpu0: using only highest and lowest power states > cpu0: Enhanced SpeedStep 1600 MHz: speeds: 1600, 600 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel E600 Host" rev 0x05 > pchb1 at pci0 dev 1 function 0 "Intel E600 Config" rev 0x00 > ppb0 at pci0 dev 23 function 0 "Intel E600 PCIE" rev 0x00 > pci1 at ppb0 bus 1 > ppb1 at pci1 dev 0 function 0 "Intel EG20T PCIE" rev 0x01 > pci2 at ppb1 bus 2 > "Intel EG20T Packet Hub" rev 0x01 at pci2 dev 0 function 0 not configured > "Intel EG20T Ethernet" rev 0x02 at pci2 dev 0 function 1 not configured > "Intel EG20T GPIO" rev 0x01 at pci2 dev 0 function 2 not configured > ohci0 at pci2 dev 2 function 0 "Intel EG20T USB" rev 0x02: apic 0 int 19, > version 1.0 > ohci1 at pci2 dev 2 function 1 "Intel EG20T USB" rev 0x02: apic 0 int 19, > version 1.0 > ohci2 at pci2 dev 2 function 2 "Intel EG20T USB" rev 0x02: apic 0 int 19, > version 1.0 > ehci0 at pci2 dev 2 function 3 "Intel EG20T USB" rev 0x02: apic 0 int 19 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > "Intel EG20T USB Client" rev 0x02 at pci2 dev 2 function 4 not configured > sdhc0 at pci2 dev 4 function 0 "Intel EG20T SDIO" rev 0x01: apic 0 int 18 > sdhc0: SDHC 1.0, 50 MHz base clock > sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed > sdhc1 at pci2 dev 4 function 1 "Intel EG20T SDIO" rev 0x01: apic 0 int 18 > sdhc1: SDHC 1.0, 50 MHz base clock > sdmmc1 at sdhc1: 4-bit, sd high-speed, mmc high-speed > ahci0 at pci2 dev 6 function 0 "Intel EG20T AHCI" rev 0x02: msi, AHCI 1.1 > ahci0: port 0: 3.0Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 0 lun 0: <ATA, KingSpec KSM-mSA, 1110> SCSI3 0/direct > fixed t10.ATA_KingSpec_KSM-mSATA.5-016SJ_MSA0511122700019_ > sd0: 15272MB, 512 bytes/sector, 31277232 sectors > ohci3 at pci2 dev 8 function 0 "Intel EG20T USB" rev 0x02: apic 0 int 16, > version 1.0 > ohci4 at pci2 dev 8 function 1 "Intel EG20T USB" rev 0x02: apic 0 int 16, > version 1.0 > ohci5 at pci2 dev 8 function 2 "Intel EG20T USB" rev 0x02: apic 0 int 16, > version 1.0 > ehci1 at pci2 dev 8 function 3 "Intel EG20T USB" rev 0x02: apic 0 int 16 > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > "Intel EG20T DMA" rev 0x00 at pci2 dev 10 function 0 not configured > puc0 at pci2 dev 10 function 1 "Intel EG20T Serial" rev 0x01: ports: 1 com > com4 at puc0 port 0 apic 0 int 19: ti16750, 64 byte fifo > puc1 at pci2 dev 10 function 2 "Intel EG20T Serial" rev 0x00: ports: 1 com > com5 at puc1 port 0 apic 0 int 19: ti16750, 64 byte fifo > puc2 at pci2 dev 10 function 3 "Intel EG20T Serial" rev 0x00: ports: 1 com > com6 at puc2 port 0 apic 0 int 19: ti16750, 64 byte fifo > puc3 at pci2 dev 10 function 4 "Intel EG20T Serial" rev 0x00: ports: 1 com > com7 at puc3 port 0 apic 0 int 19: ti16750, 64 byte fifo > "Intel EG20T DMA" rev 0x00 at pci2 dev 12 function 0 not configured > "Intel EG20T SPI" rev 0x00 at pci2 dev 12 function 1 not configured > "Intel EG20T I2C" rev 0x00 at pci2 dev 12 function 2 not configured > "Intel EG20T CAN" rev 0x00 at pci2 dev 12 function 3 not configured > "Intel EG20T 1588" rev 0x01 at pci2 dev 12 function 4 not configured > usb2 at ohci0: USB revision 1.0 > uhub2 at usb2 configuration 1 interface 0 "Intel OHCI root hub" rev 1.00/1.00 > addr 1 > usb3 at ohci1: USB revision 1.0 > uhub3 at usb3 configuration 1 interface 0 "Intel OHCI root hub" rev 1.00/1.00 > addr 1 > usb4 at ohci2: USB revision 1.0 > uhub4 at usb4 configuration 1 interface 0 "Intel OHCI root hub" rev 1.00/1.00 > addr 1 > usb5 at ohci3: USB revision 1.0 > uhub5 at usb5 configuration 1 interface 0 "Intel OHCI root hub" rev 1.00/1.00 > addr 1 > usb6 at ohci4: USB revision 1.0 > uhub6 at usb6 configuration 1 interface 0 "Intel OHCI root hub" rev 1.00/1.00 > addr 1 > usb7 at ohci5: USB revision 1.0 > uhub7 at usb7 configuration 1 interface 0 "Intel OHCI root hub" rev 1.00/1.00 > addr 1 > ppb2 at pci0 dev 24 function 0 "Intel E600 PCIE" rev 0x00 > pci3 at ppb2 bus 3 > ppb3 at pci3 dev 0 function 0 "IDT 89HPES4T4" rev 0x0e > pci4 at ppb3 bus 4 > ppb4 at pci4 dev 2 function 0 "IDT 89HPES4T4" rev 0x0e > pci5 at ppb4 bus 5 > em0 at pci5 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address > 00:00:24:d1:ad:60 > ppb5 at pci4 dev 3 function 0 "IDT 89HPES4T4" rev 0x0e > pci6 at ppb5 bus 6 > em1 at pci6 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address > 00:00:24:d1:ad:61 > ppb6 at pci4 dev 4 function 0 "IDT 89HPES4T4" rev 0x0e > pci7 at ppb6 bus 7 > ppb7 at pci0 dev 25 function 0 "Intel E600 PCIE" rev 0x00 > pci8 at ppb7 bus 8 > ppb8 at pci8 dev 0 function 0 "IDT 89HPES4T4" rev 0x0e > pci9 at ppb8 bus 9 > ppb9 at pci9 dev 2 function 0 "IDT 89HPES4T4" rev 0x0e > pci10 at ppb9 bus 10 > em2 at pci10 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address > 00:00:24:d1:ad:62 > ppb10 at pci9 dev 3 function 0 "IDT 89HPES4T4" rev 0x0e > pci11 at ppb10 bus 11 > em3 at pci11 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address > 00:00:24:d1:ad:63 > ppb11 at pci9 dev 4 function 0 "IDT 89HPES4T4" rev 0x0e > pci12 at ppb11 bus 12 > ppb12 at pci0 dev 26 function 0 "Intel E600 PCIE" rev 0x00 > pci13 at ppb12 bus 13 > tcpcib0 at pci0 dev 31 function 0 "Intel E600 LPC" rev 0x00: 14318179 Hz > timer, watchdog > isa0 at tcpcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ti16750, 64 byte fifo > com0: console > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > skgpio0 at isa0 port 0x680/32 > gpio0 at skgpio0: 16 pins > gpio1 at skgpio0: 2 pins > vmm0 at mainbus0: VMX > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (6fb9381c12ea5fc1.a) swap on sd0b dump on sd0b > carp0: state transition: BACKUP -> MASTER > carp1: state transition: BACKUP -> MASTER > carp2: state transition: BACKUP -> MASTER > carp3: state transition: BACKUP -> MASTER > carp0: state transition: MASTER -> BACKUP > carp1: state transition: MASTER -> BACKUP > carp3: state transition: MASTER -> BACKUP > carp2: state transition: MASTER -> BACKUP >