netra x1 serial console multi user login

unix

    Next

  • 1. Can't type text in entry fields
    When in the system management console, I'm unable to type text in any entry field. Also, even if I bring up the help window, I'm unable to enter any text in the search fields--or any entry field for that matter. Text entry in a terminal window, web browser and in the "find files" window seems to work however. Anyone able to help, please?
  • 2. Fortran 77 thread unsafe?
    I'm using f77 under SunStudio8 for some low level calculations in a C+ + code base. This code runs concurrently on two threads. All variables are local to the caller. Yet it seems to be changing variables passed to it in a thread-unsafe manner. Am I missing something obvious? I tried -mt to no avail. The final link is with CC with -lfsu.
  • 3. how to use prtvtoc output to allocate disk slice
    Hi, How can i take the following snip from prtvtoc and stuff this back into say the format command to allocate the free space to say slice 4? * Unallocated space: * First Sector Last * Sector Count Sector * 67167765 469644210 536811974 thanks in advance.
  • 4. Sun Microsystems User Research Sept 10, 11, or 12
    We are looking for 1) SA's and IT Managers who research and recommend equipment; or 2) software engineers somewhat familiar with service- oriented architectures to participate in a Sun research study next week. You must be located in the US to participate. Please feel free to forward this message to others who might be interested. Sun employees and contractors are not eligible. Wednesday, Thursday and Friday, September 10 - 12: These sessions will last 60 minutes. Participants will receive a $75 Visa gift card for their feedback. This study will be conducted remotely via a web meeting. If you are interested, please reply and let me know: 1. Your current or most recent job: tell us a bit about what you do. 2. Your experience with Sun products, if any. 3. The size of your business i.e. small, midsize, or large. 4. What time would work for you on Wednesday, Thursday or Friday (include your time zone)? 5. The operating system you will use during the study. 6. A phone number where you can be reached for scheduling. Please answer the questions above rather than attaching your resume. It is unlikely we will reply unless the requested information is provided. Thank You. XXXX@XXXXX.COM
  • 5. What is the functionality of the small key on front of Sun servers ??
    Just curious.... one position shows an "un-locked" padlock, the other shows the lock open. What is the key for and what is accomplished by these two positions of the key ? Thanks

netra x1 serial console multi user login

Postby Hoyte Swager » Mon, 04 Aug 2003 02:55:08 GMT

hi there
on my netra x1 configure on the boot prompt to use seriala for in/out
is can succesfully login in single user mode and acces the machine
but if i switch to multiuser mode (exit/ctrl-d) apparently the tty settings
change in such a way that a lf or cr gives a new login prompt but
trying to login with a username (eg.root) gives an emptyline and the
login prompt again.

i tried every possible option in /etc/ttydefs and /etc/inittab and
basically am stuck getting this machine accessed after single user mode

any suggestions?
regards
hoyte swager
 XXXX@XXXXX.COM 



Re: netra x1 serial console multi user login

Postby Darren Dunham » Mon, 04 Aug 2003 03:38:34 GMT



How did you do that?  Normally seriala will be the console, and there's
already a login on the console.  You don't want to add a second one via
ttym





What is the output from the following commands after you reach
multiuser?  (I'm assuming you can still log in on the network?)

pmadm -l
ps -ef | grep console

-- 
Darren Dunham                                            XXXX@XXXXX.COM 
Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

Re: netra x1 serial console multi user login

Postby Hoyte Swager » Mon, 04 Aug 2003 06:40:15 GMT

well, basically it is the "out of the box" solaris config
the only installations after that where fw1 and ace which
did not seem to have any influence on the x1 serial config.
pmadm -l gives a zsmon/ttymon on ttyb
(i disabled the one monitoring ttya to check if that would make any
difference).
the terminal settings in the command line options have tvi925 at the end
(?is that off?)
(zsmon ttymon ttyb u root /dev/term/b I - /usr/bin/login - 9600
ldterm,ttcompat ttyb login: - tvi925 y #)

# grep ttymon /etc/inittab
co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login: " -T
vt100 -d /dev/console -l console -m ldterm,ttcompat

# grep '^console:" /etc/ttydefs
console:9600 opost onlcr:9600::console

what makes it switch behaviour after single user mode?
not the settings in /etc/ttydefs because i tried those...
any help appreciated
regards
hoyte








settings



Re: netra x1 serial console multi user login

Postby gerg » Mon, 04 Aug 2003 07:42:23 GMT

"Hoyte Swager" < XXXX@XXXXX.COM > writes:

The usual problem is that init doesn't think the machine has
finished booting into multi-user mode (actually run level 3).
Init waits for the /sbin/rc2 and /sbin/rc3 scripts to finish
before running the console ttymon.

This can happen when one of the boot scripts in the /etc/rc2.d
or /etc/rc3.d has hung rather then finished.

Telnet into the machine and see if the /sbin/rc2 or /sbin/rc3
script is still running.  If it is, find out which script has
hung by runing ptree on the numeric process id of the rc2 or
rc3 script.

I.e., if the rc2 script is running and has a pid of 105, run
the command "ptree 105".  The output will tell you which script
hasn't finished yet, and even which command in that script has
hung.

  -Greg
-- 
Do NOT reply via e-mail.
Reply in the newsgroup.

Re: netra x1 serial console multi user login

Postby Darren Dunham » Mon, 04 Aug 2003 13:44:36 GMT



Normally they're both inactive anyway.  I just wanted the output to
verify.


For pmadm output, it's probably irrelvant.


Right.  The 'I' after the /dev/term/b means 'Initialize only'.  There's
not actually a service here, which is normal.  If you hadn't disabled
it, I would have expected a similar line for /dev/term/a, which would
still be okay.  Likewise, sinced it's not running, the tvi925 isn't
really used by anything.


Looks okay.


I have a 'hupcl' option also, but that shouldn't cause this behavior.


My assumption is that something else running since single-user started
running and grabbed the port.  

Anything else with the device open?  I had hoped you would run a 'ps'
and see if anything has 'console' as a controlling tty.

ps -ef | grep console
fuser /dev/console

-- 
Darren Dunham                                            XXXX@XXXXX.COM 
Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

Re: netra x1 serial console multi user login

Postby Hoyte Swager » Mon, 04 Aug 2003 19:38:19 GMT

# ps -ef | grep console
root 302 1 0 11:07:45 console 0:00 /usr/lib/saf/ttymon -g -h -p x1 console
login: -T vt100 -d /dev/console -l con
(chopped of at -l con)

# fuser /dev/console
/dev/console: 302oy

so no other processes accessing the console port

if i compare stty -a in both singleuser mode and
multiuser mode the only difference is hupcl but changing
that in ttydefs make no difference

if checked the voltages on the serial cable (i am becoming desperate ;-)
and only noticed that the terminal has no level on dtr but joining dtr with
dsr
did not help either.

what is happening here?
why is everything ok in singleuser mode and not in multiuser mode?
why does a LF or CR when given without a username correctly gives back
the prompt again and if i type a username and LF or CR it first gives back
an empty line and then the prompt again?

any help appreciated
getting more and more frustrated....
(all this time spent just to get the serial console keeping working
properly...;-(
hoyte swager



Re: netra x1 serial console multi user login

Postby Darren Dunham » Tue, 05 Aug 2003 03:47:52 GMT





I'd start 'truss'ing the ttymon process and see what it does.  Do you
have another functioning machine to compare the truss output against?

-- 
Darren Dunham                                            XXXX@XXXXX.COM 
Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

Re: netra x1 serial console multi user login

Postby Darren Dunham » Thu, 07 Aug 2003 04:41:31 GMT



If login has been corrupted/modified, I tend to think "rootkit" or
"breakin" first.  Better run a rootkit checker or do some binary
analysis.

-- 
Darren Dunham                                            XXXX@XXXXX.COM 
Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

Similar Threads:

1.Netra X1 & console break interrupt

"Andrew Tyson" < XXXX@XXXXX.COM > writes:
>
>The /etc/default/kbd file on the Netra X1 has been editted and the
>KEYBOARD_ABORT=disable uncommented (i.e. we don't want the Netra to drop to
>OBP prompt when shutting down the U10, or pulling the cable). Despite these
>precautions the Netra seems to drop to the OBP prompt if any of the previous
>events take place. Is there something above and beyond that needs to be done
>for this machine to prevent it from freezing when getting an interrupt? Is
>this something to do with LOM?
>

The /etc/default/kbd file isn't magic.  It's only read by the kernel
at boot time, so if you only edited the file, you need to reboot the
machine, or the change to the file will not take effect.

Alternatively, you can type "kbd -a disable" to change the setting
in the kernel without rebooting.

  -Greg
-- 
Do NOT reply via e-mail.
Reply in the newsgroup.

2.Netra X1, Corrupt text received via serial connection

Hi,

I have just got hold of a Sun Netra X1 and would like to install
Solaris 9 (or 10) onto it.

The problem I have is that when I connect to the serial console I get
the LOM prompt alright, but after typing some commands like "help" I
get back scrambled text with some parts recognizable. I am using a
Cisco serial cable which has the same pinout as the sun original cable
(I have also made up a cable as per the Sun spec in the netra manual).

I have also tried connecting to the server via a Linux server, a Sun
Sparstation 5 and a windows laptop (using a variety of software
hyperterm, kermit, etc). All have the same issue.

I'd be very grateful for any opinions, ideas, etc.

Thanks in advance.

James.

3.netra t1 to cyclades ts3000 serial console wiring

Hi,

does anyone have the mapping for this...will a crossover cable
work...the straight through did not...

Kartik Vashishta

4.instalar linux en sun microsystems netra x1

Hola a todos:

Necesito instalar alguna version de linux en una maquina sun microsystems
Netra X1

Donde puedo bajar la version de linux para esta maquina?

De antemano muchas gracias !

Marcelo


5.Netra X1 - Can't open boot device

Hi,


I'm rebuilding a Netra X1 with Solaris 8 2/02.....


I can build it off the network, and the build goes successfully.
However, when I reboot, and the box tries to boot from disk, it gives
me the following:


.....
Boot device: /pci@1f,0/ide@d/disk@0,0   FIle and args:
Evaluating: boot disk

Can't open boot device

......


and then it tries to boot from the network again. Any thoughts? The
hardware is good, I just can't seem to point it to a good boot device.
Please help.

- Thanks,


Todd

6. Netra X1 Disk issue?

7. Install Solaris on a Netra X1 server

8. Simplest way to plug disks on a Netra x1



Return to unix

 

Who is online

Users browsing this forum: No registered users and 69 guest