Package: openvpn
Version: 2.0-1debug2
Followup-For: Bug #313106

Okay to get rid of the unaligned access issues, I built the package with
debugging enabled etc. and traced the unaligned access to the line in
the patch below.

The below patch made the unaliagned accesses disappear for me. I suggest
this makes "etch" a.s.a.p. and preferably the next "sarge" point release
as without it openvpn is extrememly painful on alpha: the console spews
the kernel info messages all the time and the kernel spends most of its
time trapping and fixing up the unaligned access.

--- openvpn-2.0.orig/proto.h    2005-04-11 04:43:58.000000000 +0100
+++ openvpn-2.0/proto.h 2005-06-29 22:40:43.000000000 +0100
@@ -55,7 +55,7 @@
 };
 
 struct openvpn_iphdr {
-# define OPENVPN_IPH_GET_VER(v) (((v) >> 4) & 0x0F)
+# define OPENVPN_IPH_GET_VER(v) (((v) >> 8) & 0xFF)
 # define OPENVPN_IPH_GET_LEN(v) (((v) & 0x0F) << 2)
   uint8_t    version_len;
 


-- System Information:
Debian Release: 3.1
Architecture: alpha
Kernel: Linux 2.4.27-2-generic
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages openvpn depends on:
ii  debconf                     1.4.30.13    Debian configuration management sy
ii  libc6.1                     2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  liblzo1                     1.08-1.2     A real-time data compression libra
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries

-- debconf information:
  openvpn/change_init: true
* openvpn/create_tun: true
* openvpn/stop2upgrade: false
  openvpn/default_port:



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to