Subject: Re: ipc errors/Linux Emulation NetBSD-3BETA using Oracle
To: Chuck Silvers <chuq@chuq.com>
From: Jose Luis Rodriguez Garcia <jose.l.rodriguez@getronics.com>
List: current-users
Date: 11/02/2005 19:14:09
Chuck Silvers wrote:

>On Wed, Nov 02, 2005 at 08:04:49AM +0100, GNMJLR@terra.es wrote:
>  
>
>>The error that produces that Oracle ends i the call: ipc(0x18,0xd0000,
>>0x102,0,0xbfbfd8d0)
>>
>>The question: where can I find doc about decoding 
>>the parameters of ipc?
>>
>>
>>After this Oracle quits and prints this:
>>
>>skgm 
>>error 27121: errno = 22, info = 1, 917504, 0, 0
>>OPIRIP: Uncaught error 
>>1034. Error stack:
>>ORA-01034: ORACLE not available
>>ORA-27121: unable to 
>>determine size of shared memory segment
>>Linux Error: 22: Invalid argument
>>    
>>
>
>try the attached patch.
>
>-Chuck
>  
>
It didn't work.
It appears that it calls linux_sys_shmctl
I have added the next line at the end of this funcition:

printf("sys_shmctl: %d\n",SCARG(uap, cmd));

It prints the next output:
sys_shmctl: 258

Can it be: 258=256 +2, and LINUX_IPC_STAT=2?