Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 2009 23:40:10 GMT
From:      Sergei Mozhaisky <sergei.mozhaisky@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/133553: POSE port does not work on FreeBSD 7.x
Message-ID:  <200904092340.n39NeAMD018387@www.freebsd.org>
Resent-Message-ID: <200904092350.n39No3np072817@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133553
>Category:       ports
>Synopsis:       POSE port does not work on FreeBSD 7.x
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 09 23:50:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Mozhaisky
>Release:        FreeBSD 7.1-RELEASE
>Organization:
>Environment:
FreeBSD amateria 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Tue Feb 24 19:00:53 EET 2009     root@amateria:/usr/obj/usr/src/sys/AMATERIA  i386
>Description:
POSE palm emulator, installed from palm/pose port on FreeBSD 7.x, does not run correctly. When adding ROM image and run, following error occurs:

Hardware exception #3 occurred while the emulator was 
calling the Palm OS function "DlkDispatchRequest". The 
emulator is now in an unstable state and will reset.

After emulator 'soft reset' this error message appears again, so emulator is totally unusable.
>How-To-Repeat:
1. Install POSE
2. Create new configuration, add Palm ROM image.
3. Try to run newly created configuration.
>Fix:
Patch was found here: http://www.opensubscriber.com/message/emulator-forum@news.palmos.com/7847249.html

I've modified it so it applies correctly when port builds.

Patch attached with submission follows:

--- ../SrcShared/Miscellaneous.cpp.orig	2009-04-10 01:19:49.000000000 +0300
+++ ../SrcShared/Miscellaneous.cpp	2009-04-10 01:20:31.000000000 +0300
@@ -1370,7 +1370,7 @@
 	char	buffer[ sizeof (DlpReqHeaderType) +
 					sizeof (DlpTinyArgWrapperType) +
 					sizeof (DlpWriteUserInfoReqHdrType) +
-					dlpMaxUserNameSize];
+					dlpMaxUserNameSize] __attribute__((__aligned__(2)));
 
 	// Get handy pointers to all of the above.
 	DlpReqHeaderType*			reqHdr		= (DlpReqHeaderType*) buffer;


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904092340.n39NeAMD018387>