Sponsored Content
Full Discussion: LOM device
Operating Systems Solaris LOM device Post 83227 by mumpster on Tuesday 13th of September 2005 02:39:03 AM
Old 09-13-2005
V240 needs no lom packages

Quote:
Originally Posted by bubba112557
All,

I am getting the following message on the system post for Solaris 9:

Unknown or badly programmed LOM device

This is a SunFire 240 server which I just built out. Is there any way to fix this problem?

Mike
Mike, you should be noted that V240 needs no LOM packages installed 'cos it has ALOM, not LOM device. Feel the difference! I did the same error but had cope with Smilie.

Just do pkgrm SUNWlomu SUNWlomr SUNWlomm
Then you're done!
 

10 More Discussions You Might Find Interesting

1. Solaris

Determine LOM version?

Is there a way I can determine the LOM version on a Sun machine without actually shutting the system down? I'm confused. :) (2 Replies)
Discussion started by: sysera
2 Replies

2. 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

3. Solaris

Netra T1 LOM Password Reset

Hello All, I had bought Netra T1 AC200 couple of months ago and has setup a user and password in LOMlite but I forgot the password. when i connect to the server i get the LOMlite prompt and i cant connect to the Serial console (there is no prompt). I have tried the JP13 JP14 and JP15... (1 Reply)
Discussion started by: Pratik Gharti
1 Replies

4. Solaris

lom don't execute commands

I'm new in Sun, i just recieved a sun v100 server, i already connected the server to a workstation (using the hyperterminal tool) and it seemmed to be fine... however when the LOM> prompt appears and i try to introduce various commands but it does nothing. LOMlite starting up. CPU type:... (6 Replies)
Discussion started by: pasalagua
6 Replies

5. Solaris

LOM password

Hello, I need to run several command under LOM from unix shell. the first command is resetsc -y and then I required to enter admin password. Is there any way to make it with a script like: #. <<LOM resetsc -y admin password LOM Is the password will accepted in that way ? ... (1 Reply)
Discussion started by: Alalush
1 Replies

6. Solaris

LOM on SUN ultra 10

Hi experts is it possible to install lom on sun ultra 10 box? can you guys help me in undertanding lom as i tried goggling , couldn't get good stuff. Please :) (6 Replies)
Discussion started by: kumarmani
6 Replies

7. Solaris

lom to ok prompt in netra 1280

HI group, Can anyone please suggest what can be the problem when we send poweron command on lom it again comes to lom and show following error what does it means lom>poweron /N0/PS0: already on /N0/PS1: already on /N0/PS2: already on /N0/PS3: already on Powering boards on ... Tue Dec... (5 Replies)
Discussion started by: sameergrover
5 Replies

8. Solaris

Need Help to create LOM Cable Netra x1

hi all, I have a SUN NETRA x1. To Installation need LOM cable . There are ways that you can help me to make LOM Cable ? as the information I have serial cable CISCO Cisco and I have been trying to connect but only blank (2 Replies)
Discussion started by: moslemovic
2 Replies

9. Solaris

Set IP for LOM from Operating System

Hi, I have a Sun-Fire-V440 server. I want to set IP address for its LOM from operating system. Earlier it does not have any IP address. Is it possible to set IP from Operating System ? if possible, how can we do it ? Thanks Sri (3 Replies)
Discussion started by: sri243
3 Replies

10. Hardware

How to reset lom password in netra T1?

Hello, I bought Netra T1 some time ago and set user and password in LOMlite.It seems that I forgot the password. When i connect to the server i get the LOMlite prompt. Can anybody tell me what is the proper sequence or the right way to reset the LOMlite password/account. Thanks (5 Replies)
Discussion started by: pitmod
5 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.11 16 Mar 2004 tsalarm(7D)
All times are GMT -4. The time now is 10:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy