Sponsored Content
Top Forums UNIX for Advanced & Expert Users Setting up Linux as a RAS - is is possible? Post 26885 by auswipe on Sunday 25th of August 2002 03:55:51 PM
Old 08-25-2002
Re: Thanks man

Quote:
Originally posted by leonpmu
I will follow that link and let you know.

Another person opn another forum also gave me some good ideas, I'll see how they go, and post the results here if you are interested.

Thanks again.

L
Please do.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

NCR MP-RAS 3.02 Root Password

I've just inherited the support of 3 NCR Servers running NCR MP-RAS 3.02 UNIX OS and it looks as though the previous support analyst (who as left the company) has kindly changed all 3 root passwords. Also there are no installation / boot cd's and the etc/passwd directory can only be updated by... (1 Reply)
Discussion started by: Bruv
1 Replies

2. Filesystems, Disks and Memory

Help - NCR Unix 3.02 MP-RAS

Hi, I am new to the UNIX operating system and would realy appreciate some answers to these problems. I have a unix box (Actually several of them throughout the different locations) that have NCR MP-RAS 3.02.x.x (with multiuser and possibly security packages installed.) Originally they had 2gb... (4 Replies)
Discussion started by: ad7_98
4 Replies

3. AIX

Compile errors because of the ras.h file

I recently compile some code in 32 bit mode on a AIX 5.3 server that has its kernal set to 64 bit mode. The compile was successful and the code works great. That being the case I use the model of the successful makefile on some other code but ended up getting errors that looked like this...... ... (2 Replies)
Discussion started by: morrisey
2 Replies

4. UNIX for Dummies Questions & Answers

MP-RAS Unix and NFS

Hi, I would like to know if It's possible configure NFS on MP-RAS Unix so mountd uses a static port instead of a dynamic one. Thanks. (1 Reply)
Discussion started by: cuatrodos
1 Replies

5. UNIX for Advanced & Expert Users

migrating unix mp-ras 32 bit to linux suse 64 bit

Hi. I need to migrate the whole unix environment from a Unix mp-ras 32 bit to a Linux Suse 64 bit. 1) can i use cpio to copy the data? 2) can i just copy the users from unix to linux or do i have to create them by hand 3) are there any other concerns i should worry about? thanx (1 Reply)
Discussion started by: mrodrig
1 Replies

6. UNIX for Dummies Questions & Answers

Setting up Linux.

Dear Administrators and Moderators, Normally I use Windows for browsing net, but few days back my pc was affected with virus. One of my friend suggested me to use Linux for safe browsing. I would like to know 1. I have Mandrake 8.2(HDD) and Obuntu 9.x(CD) - which one is better (have limited... (1 Reply)
Discussion started by: kesari
1 Replies

7. HP-UX

NCR Unix MP-RAS - Mail not working

I am getting the following error when I send mail to any domain say abc123@xyz.com Not delivered to :due to 11 transfer failure (mail: Error #22 'Surrogate command failed ', rc =11) En Route to: xyz.com!abc123 =======surrogate command========== :/user/bin/uux -username -xyz.com!rmail... (13 Replies)
Discussion started by: rush143
13 Replies

8. UNIX for Dummies Questions & Answers

MP-RAS file size limitations

Hello, Here is the question. We have 2 identical boxes (see below), one is functioning as production second is being built as backup. Backup was built by 'osa' restore (image taken from production). Problem is..the max filesize on production is 2147481600 bytes and the max filesize on backup... (0 Replies)
Discussion started by: dbamadness
0 Replies

9. IP Networking

MP-RAS Unix Networking Setup

I have an MP-RAS unix server from ncr. We are trying to get the network configured so that we may transer files between the unix box and a pc. I have used the included TCPCONFIG command to setup the network, however I can not ping, telnet or ftp to any other pcs on the network. Any help would... (0 Replies)
Discussion started by: Rutgerncas
0 Replies

10. Shell Programming and Scripting

Equivalent of mmin in MP-RAS/NCR Unix

Hi, i created a script to look for the modified files in the last 15 minutes. But later was told that the server that we need to implement this script is an MP-RAS (NCR Unix) server on which i found mmin option of the find command doesnt work.:wall: Can anybody please let me know the... (1 Reply)
Discussion started by: utkarsh
1 Replies
RASCTL(2)						      BSD System Calls Manual							 RASCTL(2)

NAME
rasctl -- restartable atomic sequences LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/types.h> #include <sys/ras.h> int rasctl(void *addr, size_t len, int op); DESCRIPTION
Restartable atomic sequences are code sequences which are guaranteed to execute without preemption. This property is assured by the kernel by re-executing a preempted sequence from the start. This functionality enables applications to build atomic sequences which, when executed to completion, will have executed atomically. Restartable atomic sequences are intended to be used on systems that do not have hardware sup- port for low-overhead atomic primitives. The rasctl function manipulates a process's set of restartable atomic sequences. If a restartable atomic sequence is registered and the process is preempted within the range addr and addr+len, then the process is resumed at addr. As the process execution can be rolled-back, the code in the sequence should have no side effects other than a final store at addr+len-1. The kernel does not guarantee that the sequences are successfully restartable. It assumes that the application knows what it is doing. Restartable atomic sequences should adhere to the following guidelines: o have a single entry point and a single exit point; o not execute emulated instructions; and o not invoke any functions or system calls. Restartable atomic sequences are inherited from the parent by the child during the fork(2) operation. Restartable atomic sequences for a process are removed during exec(3). The operations that can be applied to a restartable atomic sequence are specified by the op argument. Possible operations are: RAS_INSTALL Install this sequence. RAS_PURGE Remove the specified registered sequence for this process. RAS_PURGE_ALL Remove all registered sequences for this process. The RAS_PURGE and RAS_PURGE_ALL operations should be considered to have undefined behaviour if there are any other runnable threads in the address space which might be executing within the restartable atomic sequence(s) at the time of the purge. The caller must be responsible for ensuring that there is some form of coordination with other threads to prevent unexpected behaviour. To preserve the atomicity of sequences, the kernel attempts to protect the sequences from alteration by the ptrace(2) facility. RETURN VALUES
Upon successful completion, rasctl() returns zero. Otherwise, -1 is returned and errno is set to indicate the error. ERRORS
The rasctl function will fail if: [EINVAL] Invalid input was supplied, such as an invalid operation, an invalid address, or an invalid length. A process may have a finite number of atomic sequences that is defined at compile time. [EOPNOTSUPP] Restartable atomic sequences are not supported by the kernel. [ESRCH] Restartable atomic sequence not registered. SEE ALSO
ptrace(2) HISTORY
The rasctl functionality first appeared in NetBSD 2.0 based on a similar interface that appeared in Mach 2.5. CAVEATS
Modern compilers reorder instruction sequences to optimize speed. The start address and size of a RAS need to be protected against this. One level of protection is created by compiler dependent instructions, abstracted from user level code via the following macros: RAS_DECL(name) Declares the start and end labels used internally by the other macros to mark a RAS. The name uniquely identifies the RAS. RAS_START(name) Marks the start of the code. Each restart returns to the instruction following this macro. RAS_END(name) Marks the end of the restartable code. RAS_ADDR(name) Returns the start address of a RAS and is used to create the first argument to rasctl. RAS_SIZE(name) Returns the size of a RAS and is used as second argument to rasctl. Recent versions of gcc(1) require the -fno-reorder-blocks flag to prevent blocks of code wrapped with RAS_START/RAS_END being moved outside these labels. However, be aware that this may not always be sufficient to prevent gcc(1) from generating non-restartable code within the RAS due to register clobbers. It is, therefore, strongly recommended that restartable atomic sequences are coded in assembly. RAS blocks within assembly code can be specified by using the following macros: RAS_START_ASM(name) Similar to RAS_START but for use in assembly source code. RAS_END_ASM(name) Similar to RAS_END but for use in assembly source code. RAS_START_ASM_HIDDEN(name) Similar to RAS_START_ASM except that the symbol will not be placed in the dynamic symbol table. RAS_END_ASM_HIDDEN(name) Similar to RAS_END_ASM except that the symbol will not be placed in the dynamic symbol table. BSD
April 29, 2008 BSD
All times are GMT -4. The time now is 02:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy