Problem with kext with Tunnelblick 3.6 on OSX 10.6.8

375 views
Skip to first unread message

jipo...@gmail.com

unread,
Apr 22, 2016, 2:34:08 PM4/22/16
to tunnelblick-discuss
I noticed a problem when upgrading to Tunnellick 3.6 (and it disappeared when I downgraded). I use OSX 10.6.8. The kernel is 32 bits, while the OS is 64 bit. This might be the issue.

When using the following configuration (containing "dev tap"), it fails:

client
pull
dev tap
proto udp
remote *** 1194
ca certmaster.crt
auth-user-pass
verb 2
script-security 3
fragment 1400
mssfix

The messages are:

2016-04-22 20:07:30 *Tunnelblick: OS X 10.6.8; Tunnelblick 3.6.1 (build 4543.4551); prior version 3.5.8 (build 4270.4530)
2016-04-22 20:07:30 *Tunnelblick: Attempting connection with *** using shadow copy; Set nameserver = 1; monitoring connection
2016-04-22 20:07:30 *Tunnelblick: openvpnstart start ***.tblk 1337 1 0 1 0 1065330 -ptADGNWradsgnw 2.3_git_6a4edc7
2016-04-22 20:07:40 *Tunnelblick:

Could not start OpenVPN (openvpnstart returned with status #226)

Contents of the openvpnstart log:
*Tunnelblick: openvpnstart log:
     Loading tap-20111101.kext
     stderr from kextload: /Applications/Tunnelblick.app/Contents/Resources/tap-20111101.kext failed to load - (libkern/kext) requested architecture/executable not found; check the system/kernel logs for errors or try kextutil(8).
     stderr from kextload: /Applications/Tunnelblick.app/Contents/Resources/tap-20111101.kext failed to load - (libkern/kext) requested architecture/executable not found; check the system/kernel logs for errors or try kextutil(8).
     stderr from kextload: /Applications/Tunnelblick.app/Contents/Resources/tap-20111101.kext failed to load - (libkern/kext) requested architecture/executable not found; check the system/kernel logs for errors or try kextutil(8).
     stderr from kextload: /Applications/Tunnelblick.app/Contents/Resources/tap-20111101.kext failed to load - (libkern/kext) requested architecture/executable not found; check the system/kernel logs for errors or try kextutil(8).
     stderr from kextload: /Applications/Tunnelblick.app/Contents/Resources/tap-20111101.kext failed to load - (libkern/kext) requested architecture/executable not found; check the system/kernel logs for errors or try kextutil(8).
     Unable to load net.tunnelblick.tun and/or net.tunnelblick.tap kexts in 5 tries. Status = 71

The following configuration still works (no kext load?):
client
dev tun
proto udp
remote *** 443
resolv-retry infinite
nobind
persist-key
persist-tun
persist-remote-ip
tls-remote ***
auth-user-pass
comp-lzo
verb 3
auth SHA256
cipher AES-256-CBC
keysize 256
tls-cipher DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:AES256-SHA


In a shell, with Tunnelblick 3.6 installed, this fails:
$ sudo kextload /Applications/Tunnelblick.app/Contents/Resources/tun-20111101.kext
/Applications/Tunnelblick.app/Contents/Resources/tun-20111101.kext failed to load - (libkern/kext) requested architecture/executable not found; check the system/kernel logs for errors or try kextutil(8).

While with Tunnelblick 3.5 installed, this succeeds:
$ sudo kextload -verbose /Applications/Tunnelblick.app/Contents/Resources/tap-20111101.kext
Requesting load of /Applications/Tunnelblick.app/Contents/Resources/tap-20111101.kext.
/Applications/Tunnelblick.app/Contents/Resources/tap-20111101.kext loaded successfully (or already loaded).

In Console.app, I also noticed
22/04/16 19:18:18    Tunnelblick[247]    Unable to determine  32- or 64-bit kernel with uname(), assuming 64-bit kernel; version was 'Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386'

jkbull...gmail.com

unread,
Apr 22, 2016, 2:42:09 PM4/22/16
to tunnelblick-discuss, jipo...@gmail.com
The kexts included in Tunnelblick 3.6 only run under OS X with a 64-bit kernel. It would appear you are running a 32-bit kernel. (OS X 10.6.8 comes in both 32- and 64-bit versions.)

Tunnelblick 3.5.8 is the latest version that works under 32-bit kernels.
Reply all
Reply to author
Forward
0 new messages