I have successfully upgraded via source from 3.6-stable to 3.7-stable, however I would strongly suggest just doing a binary upgrade via cd (or ftp if you can't afford the $45) as it's really not worth the trouble (I did it before you could download the 3.7 binaries). That and scratching the custom kernel, as you will not be getting any help with that. There were a lot of changes to pf stuff between 3.6 and 3.7, so I'm not surprised pfctl from 3.6 didn't work on 3.7 kernel, you must build 3.7 userland before the pf stuff will work again. But please, do a binary upgrade, and only use GENERIC kernels (I doubt you have a good reason to use a custom kernel) as those are the only supported methods. http://www.openbsd.org/faq/upgrade37.html
Jason On 6/2/05, Mihai IACOB <[EMAIL PROTECTED]> wrote: > Hello! > I am running an Internet gateway using OpenBSD 3.6. I built a custom > kernel and everything is ok. The server is used for NAT and it also > runs djbdns, qmail, vmailmgr and aide. > Last week I decided to upgrade to 3.7 - from source. I built and > installed gcc 3.xx from 3.6 sources. Then I checked out the > 3.7-stable, I built the GENERIC kernel and booted it. The server > worked ok, except for the NAT. When I tried "# pfctl -F all -f > /etc/pf.conf", I got an answer about an IO error and not being able to > insert rules. I built my custom kernel from 3.7 sources and tried to > boot it - didn't work. There was a recommendation not to ask for help > without providing the output of some commends (trace and some other > command). > My questions are: > 1. Did anyone go through this before? Is there an obvious mistake I did? > 2. How can I save the output of "trace", other way than copying it by hand? > > Thank you for your time. > Mihai IACOB