Sponsored Content
Full Discussion: LOM on SUN ultra 10
Operating Systems Solaris LOM on SUN ultra 10 Post 302245190 by kumarmani on Thursday 9th of October 2008 02:56:55 PM
Old 10-09-2008
Thanks Dear,


can i get some more detail or may be nay good link know to u guys, was trying to access the same on sun and its asking for support contract.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sun Ultra sparc 60

Hello everybody!! I need your help again. I am using Sun Ultra sparc 60 machine.Follwing are the types of files getting generated in /var/tmp. "windu_sm_o aaaa,baaa,caaa,daaa" etc. I am not able to locate which application is generating these files. Can I straightway delete these files ? or... (1 Reply)
Discussion started by: vikasdeshmukh
1 Replies

2. UNIX Benchmarks

Sun Ultra 2 Solaris 8

Sparc Ultra2: Notes prtdiag: System Configuration: Sun Microsystems sun4u Sun Ultra 2 UPA/SBus (2 X UltraSPARC-II 296MHz) System clock frequency: 99 MHz Memory size: 768 Megabytes ========================= CPUs ========================= Run Ecache CPU CPU... (0 Replies)
Discussion started by: tnorth
0 Replies

3. Solaris

sun ultra or sun sparkstation

am wonder wich sun computer is better, a sun ultra or sun sparkstation, and what is the difference (7 Replies)
Discussion started by: nobody
7 Replies

4. Solaris

sun ultra

Hi Guys, I have a 2nd hand Sun ultra-5, I wanted to know how to be able to run it as a normal window. I do not have any experience whatsoever with solaris/unix. Does anyone can give me a clue where to start. When I switch it goes to: unix console login: pa$$word: #UNIX sendmail : enable to... (0 Replies)
Discussion started by: lingosa
0 Replies

5. Solaris

SUN LOM password

Hi friends, Please tell me how to break the LOMlite password on SUN Netra X1 system. Thanks venkat (2 Replies)
Discussion started by: rvrao77
2 Replies

6. Solaris

sun ultra 10 workstation

Hi All, I bought a sun workstation from ebay. Can I replace the cd-rom drive with a dvd-rom drive with any type? I mean, can I just buy a dvd-rom drive from a pc store? Thanks, itik (2 Replies)
Discussion started by: itik
2 Replies

7. Solaris

Help - Accessing Sun Fire V120 A/LOM

Hi All, My company has three V120 servers and two V245 servers. Currently we access ALOM on v245 thru NET MGT port. There are no NET MGT on V120. We use to access A/LOM on the V120s thru Windows Hyper Terminal connected to the Serial A port of v120. Since all of our Windows boxed are... (6 Replies)
Discussion started by: glieu
6 Replies

8. Solaris

SUN ULTRA 45 - Solaris

hi, my sun box hangs- KEYBOARD not found. Using hyper link it boots and then hangs without able to access or get ok promt ----SCREEN SHOT AS-------------------------------------------------- ˙Loading onboard drivers: ebus i2c i2c i2c ppm /ebus@1f,464000: flashprom rtc serial serial env-monitor... (2 Replies)
Discussion started by: mathav22
2 Replies

9. Hardware

Sun Sparc Ultra 30 help

Hi all, I managed to salvage form work an old Sun Sparc Ultra 30. I have had it stored (controlled storage) for a few years and decided to get it home and boot it up. It starts up with a beep then I can hear disks spinning up, CDROM moving but nothing is displayed on the monitor. Can... (2 Replies)
Discussion started by: robbo007
2 Replies

10. Solaris

Sun Ultra 5 new user

Hi I have just acquired an Ultra 5. It has 256MB of memory and a 360Mhz Ultra IIi SPARC processor. So far, I have had some typical fun and games to get it working: - It had a dead NVRAM chip. I hacked it open and installed a CR2032. It looks suitably bodged up, but is working. I set the MAC... (8 Replies)
Discussion started by: _JonB_
8 Replies
tsalarm(7D)							      Devices							       tsalarm(7D)

NAME
tsalarm - Alarm device driver SYNOPSIS
tsalarm@0:ctl DESCRIPTION
The tsalarm driver is a Multi-threaded, loadable non-STREAMS pseudo driver that manages ALOM alarms. The tsalarm driver provides an inter- face through which alarm relays can be controlled on SUNW,Netra-240 and SUNW,Netra-440 platforms. HARDWARE INTERFACE
The alarm hardware differs depending on platform. The Netra 240 and 440 platforms features four dry contact alarm relays which are controlled by ALOM. You can set each alarm to "on" or "off" by using ioctl interfaces provided from the host. The four alarms are labeled as "critical," "major," "minor," and "user." The user alarm is set by a user application depending on system condition. LED's in front of the box provide a visual indication of the four alarms. The number of alarms and their meanings/labels may vary across platforms. IOCTLS
The interface provided by the tsalarm driver comprises ioctls that enable applications to manipulate the alarm module. The alarm module is accessed via two device nodes: i) /dev/lom and /dev/tsalarm:ctl. The following ioctls are supported by the /dev/lom and /dev/tsalarm:ctl devices: TSIOCALCTL - Turn an alarm on or off. The argument is a pointer to the ts_aldata_t/lom_aldata_t structure. This structure is described below. alarm_no member is an integer which specifies the alarm to which the command is to be applied. The alarm_state/state structure member indicates the state to which the alarm should be set (where 0 == off). An error (EINVAL) is returned if either an invalid alarm_no or invalid alarm_state is pro- vided. TSIOCALSTATE - Get the state of the alarms. The argument is a pointer to the ts_aldata_t/lom_aldata_t structure. This structure is described below. alarm_no member is an integer which indicates the alarm to which the command will be applied. The alarm_state member holds the alarm's current state and is filled in by the driver. A zero indicates that the alarm is off. An error (EINVAL) is returned if an invalid alarm_no is provided. The struc- tures and definitions for the values are defined below. Alarm values: The following old style values are defined in <lom.io.h> #define ALARM_NUM_0 0 /* number of zero'th alarm */ #define ALARM_NUM_1 1 /* number of first alarm */ #define ALARM_NUM_2 2 /* number of second alarm */ #define ALARM_NUM_3 3 /* number of third alarm */ Alarm values defined in <lom.io.h> #define ALARM_OFF 0 /* Turn off alarm */ #define ALARM_ON 1 /* Turn on alarm */ Alarm Data Structure: This structure is defined in <lom.io.h> typedef struct { int alarm_no; /* alarm to apply command to */ int alarm_state; /* state of alarm (0 == off) */ } ts_aldata_t; Use the following LOM interfaces to get and set the alarms. These definitions are included in <lom_io.h> #define ALARM_CRITICAL 0 /* number of critical alarm */ #define ALARM_MAJOR 1 /* number of major alarm */ #define ALARM_MINOR 2 /* number of minor alarm */ #define ALARM_USER 3 /* number of user alarm */ The following alarm data structure is provided in <lom_io.h>: typedef struct { int alarm_no; int state; } lom_aldata_t; ERRORS
An open() will fail if: ENXIO The driver is not installed in the system. An ioctl() will fail if: EFAULT There was a hardware failure during the specified operation. EINVAL The alarm number specified is not valid or an invalid value was supplied. ENXIO The driver is not installed in the system or the monitor callback routine could not be scheduled. EXAMPLES
How to set an alarm: #include <sys/unistd.h> #include <fcntl.h> #include <stdio.h> #include <lom_io.h> #define LOM_DEVICE "/dev/lom" int main() { lom_aldata_t lld; int fd = open(LOM_DEVICE, O_RDWR); if (fd == -1) { printf("Error opening device: %s0, LOM_DEVICE); exit(1); } lld.alarm_no = ALARM_CRITICAL; /* Set the critical alarm */ lld.state = ALARM_ON; /* Set the alarm */ if (ioctl(fd, LOMIOCALCTL, (char *)&lld) != 0) printf("Setting alarm failed"); else printf("Alarm set successfully"); close(fd); } FILES
/dev/lom LOM device. /dev/tsalarm:ctl Alarm control device. /platform/platform/kernel/drv/sparcv9/tsalarm Device driver module. /platform/SUNW,Netra-240/kernel/drv/tsalarm.conf Driver configuration file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcarx.u | +-----------------------------+-----------------------------+ |Architecture |SPARC | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) Writing Device Drivers SunOS 5.10 16 Mar 2004 tsalarm(7D)
All times are GMT -4. The time now is 07:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy