Re: console no responding to key in.

2010-04-16 Thread Polytropon
On Thu, 15 Apr 2010 14:15:24 -0700, Chuck Swiger cswi...@mac.com wrote:
 On Apr 15, 2010, at 1:26 PM, Jessie Xu wrote:
  I must fix the problem since I need console login with root. Any insight
  on this? thanks.  Our machines are Dell PowerEdge 2650 (2U rack mountable) 
  , come with
  Video port, PS2 keyboard/Mouse ports, and two Serial ports. -- I also
  tried the serial ports for console access, no lucky.
 
 PS/2 isn't a hot-pluggable interface.  On older hardware, you
 can blow a fuse on the motherboard by trying to do so while the
 machine is on, although newer equipment uses a polyfuse (aka
 PPTC or resettable fuse) to avoid permanent damage.

An important advice!



 If there was no keyboard there initially, then the hardware
 may never attempt to use one added later, short of a power-cycle. 

If there was no atkbd: at boot time, attaching it later on
will not introduce it to the system. As you said, Chuck,
it may even destroy hardware to try to do so, leading to
the fact that you have a server with *no* AT keyboard at
all. I've already seen that with older systems not using
a resettable fuse.




 In such cases, trying a USB keyboard instead might work better.

Jessie Xu initially said he was on FreeBSD 4. If I remember
correctly,  what you suggest isn't possible in the default
configuration. Maybe a USB keyboard will be detected, causing
a ukbd: message in the log, but that's all - no input from it.
You need to type kbdcontrol -k device to switch over
from the default AT keyboard to the USB keyboard, there's
no kbdmux in 4.



As for servers, trying to connect via serial console seems
to be the standard way. Otherwise, attach keyboard and monitor
to the system while the power is off. REALLY OFF (pull mains
plug to be really sure - see PS/2 defect mentioned above).




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: console no responding to key in.

2010-04-16 Thread Jessie Xu
Thanks.

But I have some of consoles did work - response the key in after the
keyboard pluged in after. 
This is important. Almost all the servers in rack don't have keyboard
collected unless we need to login to console.

I couldn't plug in the keyboard then reboot the server to get access to
the console.  


Jessie Xu
Unix Administrator
jessie...@cryptologic.com
desk phone: 416 545 1453 x 5618
Skype: Jessie.xu972
 

-Original Message-
From: Polytropon [mailto:free...@edvax.de] 
Sent: Friday, April 16, 2010 10:26 AM
To: Chuck Swiger
Cc: Jessie Xu; freebsd-questions@freebsd.org
Subject: Re: console no responding to key in.

On Thu, 15 Apr 2010 14:15:24 -0700, Chuck Swiger cswi...@mac.com
wrote:
 On Apr 15, 2010, at 1:26 PM, Jessie Xu wrote:
  I must fix the problem since I need console login with root. Any 
  insight on this? thanks.  Our machines are Dell PowerEdge 2650 (2U 
  rack mountable) , come with Video port, PS2 keyboard/Mouse ports, 
  and two Serial ports. -- I also tried the serial ports for console
access, no lucky.
 
 PS/2 isn't a hot-pluggable interface.  On older hardware, you can blow

 a fuse on the motherboard by trying to do so while the machine is on, 
 although newer equipment uses a polyfuse (aka PPTC or resettable fuse)

 to avoid permanent damage.

An important advice!



 If there was no keyboard there initially, then the hardware may never 
 attempt to use one added later, short of a power-cycle.

If there was no atkbd: at boot time, attaching it later on will not
introduce it to the system. As you said, Chuck, it may even destroy
hardware to try to do so, leading to the fact that you have a server
with *no* AT keyboard at all. I've already seen that with older systems
not using a resettable fuse.




 In such cases, trying a USB keyboard instead might work better.

Jessie Xu initially said he was on FreeBSD 4. If I remember correctly,
what you suggest isn't possible in the default configuration. Maybe a
USB keyboard will be detected, causing a ukbd: message in the log, but
that's all - no input from it.
You need to type kbdcontrol -k device to switch over from the
default AT keyboard to the USB keyboard, there's no kbdmux in 4.



As for servers, trying to connect via serial console seems to be the
standard way. Otherwise, attach keyboard and monitor to the system while
the power is off. REALLY OFF (pull mains plug to be really sure - see
PS/2 defect mentioned above).




--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: console no responding to key in.

2010-04-16 Thread Polytropon
On Fri, 16 Apr 2010 12:20:46 -0400, Jessie Xu jessie...@cryptologic.com 
wrote:
 But I have some of consoles did work - response the key in after the
 keyboard pluged in after. 

This could be a configuration topic. In /etc/ttys you can
intendedly disable consoles (virtual terminals). If this
has been the case, trying to login locally won't work.

You could try to boot the system from a live CD or DVD
to check the configuration.

If you can reboot the machines, try to enter into single
user mode. In this case, local console login usually is
enabled, but it may require the root password.

See man 5 ttys for possible details.



 This is important. Almost all the servers in rack don't have keyboard
 collected unless we need to login to console.

As it has been mentioned, connecting a PS/2 keyboard to a
running machine can be a really bad idea - even causing
a defect of the PS/2 keyboard connectors.

And with USB, you're mostly unlucky on FreeBSD 4 machines
due to the lack of kbdmux / automatisms like via devd.



 I couldn't plug in the keyboard then reboot the server to get access to
 the console.  

If configured properly, it should be sufficient to press
the power key to initiate a controlled system shutdown.
This should give you the chance to try SUM or a live CD.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: console no responding to key in.

2010-04-16 Thread Jessie Xu
Thanks. I will try to reboot to single user mode, change configuration
to enable serial console. 


Jessie Xu
Unix Administrator
jessie...@cryptologic.com
desk phone: 416 545 1453 x 5618
Skype: Jessie.xu972
 

-Original Message-
From: Polytropon [mailto:free...@edvax.de] 
Sent: Friday, April 16, 2010 12:50 PM
To: Jessie Xu
Cc: Chuck Swiger; freebsd-questions@freebsd.org
Subject: Re: console no responding to key in.

On Fri, 16 Apr 2010 12:20:46 -0400, Jessie Xu
jessie...@cryptologic.com wrote:
 But I have some of consoles did work - response the key in after the 
 keyboard pluged in after.

This could be a configuration topic. In /etc/ttys you can intendedly
disable consoles (virtual terminals). If this has been the case, trying
to login locally won't work.

You could try to boot the system from a live CD or DVD to check the
configuration.

If you can reboot the machines, try to enter into single user mode. In
this case, local console login usually is enabled, but it may require
the root password.

See man 5 ttys for possible details.



 This is important. Almost all the servers in rack don't have keyboard 
 collected unless we need to login to console.

As it has been mentioned, connecting a PS/2 keyboard to a running
machine can be a really bad idea - even causing a defect of the PS/2
keyboard connectors.

And with USB, you're mostly unlucky on FreeBSD 4 machines due to the
lack of kbdmux / automatisms like via devd.



 I couldn't plug in the keyboard then reboot the server to get access 
 to the console.

If configured properly, it should be sufficient to press the power key
to initiate a controlled system shutdown.
This should give you the chance to try SUM or a live CD.


--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


console no responding to key in.

2010-04-15 Thread Jessie Xu
To whom it concerns:
 
I am an unix administrator, am responsible for our company's unix
servers: there are some running FreeBSD (ver 4.10, 4.11, etc).
We I tried to connect to the console by connecting a LCD  keyboard. I
found some consoles are responding the key typing, some are just like a
dead session - no responding to key typing at all. 
 
I must fix the problem since I need console login with root. Any insight
on this? thanks. 
Our machines are Dell PowerEdge 2650 (2U rack mountable) , come with
Video port, PS2 keyboard/Mouse ports, and two Serial ports. -- I also
tried the serial ports for console access, no lucky.
 
My question is: why some machines' LCD console is hang while some are
good. the consoles with hang problem show Unix error message on the
console, but I don't think this could cause the console hang. 
   
I also checked the BIOS, the good ones have same setting wit bad ones.
 
Jessie Xu
Unix Administrator
jessie...@cryptologic.com
desk phone: 416 545 1453 x 5618
Skype: Jessie.xu972

 

 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: console no responding to key in.

2010-04-15 Thread Chuck Swiger
On Apr 15, 2010, at 1:26 PM, Jessie Xu wrote:
 I must fix the problem since I need console login with root. Any insight
 on this? thanks.  Our machines are Dell PowerEdge 2650 (2U rack mountable) , 
 come with
 Video port, PS2 keyboard/Mouse ports, and two Serial ports. -- I also
 tried the serial ports for console access, no lucky.

PS/2 isn't a hot-pluggable interface.  On older hardware, you can blow a fuse 
on the motherboard by trying to do so while the machine is on, although newer 
equipment uses a polyfuse (aka PPTC or resettable fuse) to avoid permanent 
damage.

If there was no keyboard there initially, then the hardware may never attempt 
to use one added later, short of a power-cycle.  In such cases, trying a USB 
keyboard instead might work better.

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org