UPGRADE: paks, with osdep and EPROTO fix