If you wish to update to 4.1-release or 4.1-stable from previous versions, see the upgrade guide.
Make sure you have read and understood FAQ 5 - Building the System from Source before using -current and the instructions below.
You should ALWAYS use a snapshot as the starting point for running -current. Upgrading by compiling your own source code is not supported.
If you wish to see upgrade information for earlier versions of OpenBSD, see upgrade-old.html. This is provided as a historical record -- it should NOT be used as an upgrade procedure guide.
If you still have Option "xkbrules" "xfree86" in your /etc/X11/xorg.conf configuration file, you now need to change it to Option "xkbrules" "xorg".
If you really wish to build Xenocara from source (don't, use snapshots!) xenocara/README and release(8)
Recent changes to the ahci(4) subsystem can cause SATA disks which were formerly recognized as wd* (e.g wd0) devices to turn up as sd* (e.g sd0) devices instead.
This is a potential problem if you upgrade from an earlier snapshot. Watch the dmesg output at boot. A drive which turned up earlier as:
pciide1 at pci0 dev 31 function 2 "Intel 82801GBM AHCI SATA" rev 0x02: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCInow instead turns up as
pciide1: using apic 2 int 11 (irq 11) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <FUJITSU MHV2080BH>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ahci0 at pci0 dev 31 function 2 "Intel 82801GBM AHCI SATA" rev 0x02: AHCI 1.1: apic 2 int 16 (irq 11)
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, FUJITSU MHV2080B, 0084> SCSI2 0/direct fixed
sd0: 76319MB, 76319 cyl, 64 head, 32 sec, 512 bytes/sec, 156301488 sec total
The recommended workaround is to edit your /etc/fstab file, changing the relevant /dev/wd entries to refer to /dev/sd devices and partitions instead.
The other option is to disable ahci using config(8) or boot -c.
Refer to the manpages for ahci(4) and config(8) for all the details.
bgpd filters using only prefixlen as filter parameter need to include now a address family identifier like inet or inet6:
allow from any inet prefixlen 8 - 24
deny from any inet6 prefixlen > 64