Bug#294163: [Pkg-db-devel] Bug#294163: error while sourcing test.tcl on hppa [#11954]

2005-02-21 Thread Clint Adams
> *** dbinc/mutex.h
> --- dbinc/mutex.h
> ***

What?  This patch is already applied; do you want it reversed?


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



Bug#294163: error while sourcing test.tcl on hppa [#11954]

2005-02-20 Thread Michael Cahill
Begin forwarded message:
From: Michael Cahill <[EMAIL PROTECTED]>
Date: 11 February 2005 5:23:56 PM
To: Daniel van Eeden <[EMAIL PROTECTED]>
Cc: Carol Sandstrom <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: error while sourcing test.tcl on hppa [#11954]
Hi Daniel,
My name is Michael Cahill and I am with Sleepycat Software.
Carol Sandstrom asked me to reply to your support request:
result is 0db0: __db_tas_mutex_init: mutex not appropriately aligned
db0: PANIC: Invalid argument
db0: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
db0: Database handles remain at environment close
db0: Database handles remain at environment close
DB_RUNRECOVERY: Fatal error, run database recovery
Can you please try the attached patch to address the mutex alignment
issue on PA-RISC in addition to the ones Carol sent you?
Let us know if you have any more trouble with this.
Regards,
Michael.
--
Michael Cahill  Sleepycat Software
mailto:[EMAIL PROTECTED]http://www.sleepycat.com



4.3.27-hppa-mutex.diff
Description: Binary data


Bug#294163: error while sourcing test.tcl on hppa [#11954]

2005-02-20 Thread Daniel van Eeden
*** dbinc/mutex.h
--- dbinc/mutex.h
***
*** 128,134 
  
  #ifndef   MUTEX_ALIGN
  #define   MUTEX_ALIGN 16
! #define   HPUX_MUTEX_PAD   8
  #endif
  #endif
  
--- 128,138 
  
  #ifndef   MUTEX_ALIGN
  #define   MUTEX_ALIGN 16
! #ifdef __hpux__
! # define  HPUX_MUTEX_PAD   8
! #else
! # define  HPUX_MUTEX_PAD   4
! #endif
  #endif
  #endif
  
***
*** 494,500 
  
  #ifndef   MUTEX_ALIGN
  #define   MUTEX_ALIGN 16
! #define   HPUX_MUTEX_PAD   8
  #endif
  
  #ifdef LOAD_ACTUAL_MUTEX_CODE
--- 498,508 
  
  #ifndef   MUTEX_ALIGN
  #define   MUTEX_ALIGN 16
! #ifdef __hpux__
! # define  HPUX_MUTEX_PAD   8
! #else
! # define  HPUX_MUTEX_PAD   4
! #endif
  #endif
  
  #ifdef LOAD_ACTUAL_MUTEX_CODE
***
*** 510,516 
__r &
1;\
  })
  
! #define   MUTEX_UNSET(tsl)(*(tsl) = -1)
  #define   MUTEX_INIT(tsl) (MUTEX_UNSET(tsl), 0)
  #endif
  #endif
--- 518,524 
__r &
1;\
  })
  
! #define   MUTEX_UNSET(tsl)(*(volatile tsl_t *)(tsl) = -1)
  #define   MUTEX_INIT(tsl) (MUTEX_UNSET(tsl), 0)
  #endif
  #endif


On Sat, 2005-02-19 at 22:01 +0100, Kurt Roeckx wrote:
> On Tue, Feb 15, 2005 at 01:57:44PM +0100, Daniel van Eeden wrote:
> > The "source ../test/test.tcl" now works. :)
> > It's now runinng the standard tests.
> 
> Could you please send the patch to the bug tracking system?
> 
> 
> Kurt
> 
-- 
Daniel van Eeden <[EMAIL PROTECTED]>


smime.p7s
Description: S/MIME cryptographic signature


Bug#294163: error while sourcing test.tcl on hppa [#11954]

2005-02-19 Thread Kurt Roeckx
On Tue, Feb 15, 2005 at 01:57:44PM +0100, Daniel van Eeden wrote:
> The "source ../test/test.tcl" now works. :)
> It's now runinng the standard tests.

Could you please send the patch to the bug tracking system?


Kurt



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



Bug#294163: error while sourcing test.tcl on hppa [#11954]

2005-02-15 Thread Daniel van Eeden
The "source ../test/test.tcl" now works. :)
It's now runinng the standard tests.

Daniel van Eeden <[EMAIL PROTECTED]>

On Fri, 2005-02-11 at 17:23 +1100, Michael Cahill wrote:
> Hi Daniel,
> 
> My name is Michael Cahill and I am with Sleepycat Software.
> Carol Sandstrom asked me to reply to your support request:
> 
> > result is 0db0: __db_tas_mutex_init: mutex not appropriately aligned
> > db0: PANIC: Invalid argument
> > db0: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
> > db0: Database handles remain at environment close
> > db0: Database handles remain at environment close
> > DB_RUNRECOVERY: Fatal error, run database recovery
> 
> Can you please try the attached patch to address the mutex alignment
> issue on PA-RISC in addition to the ones Carol sent you?
> 
> Let us know if you have any more trouble with this.
> 
> Regards,
> Michael.
> 
> 
> --
> Michael Cahill  Sleepycat Software
> mailto:[EMAIL PROTECTED]http://www.sleepycat.com
-- 
Daniel van Eeden <[EMAIL PROTECTED]>


smime.p7s
Description: S/MIME cryptographic signature