• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

sunv280R的问题

发布: 2007-6-08 22:43 | 作者: seanhe | 来源: | 查看: 30次 | 进入软件测试论坛讨论

领测软件测试网
ops: 
我通过cisco的串口线登陆V280R,拔掉串口线后,发现机器不能ping通,在登陆,发现进入OK状态,不知啥子原因?

 南非蜘蛛 回复于:2003-11-06 10:25:25
你boot一把

 race 回复于:2003-11-06 10:32:47
线用错了,普通网线就可以

 bj01807 回复于:2003-11-06 10:38:27
以前经常用cisco的串口线,没甚麽问题,就只一次

 C.Arthur 回复于:2003-11-06 16:25:02
电磁信号干扰,你在OK下go就可以回去了,不能用boot!

 bj01807 回复于:2003-11-06 16:59:22
不明白为甚麽电磁信号干扰会使V280进入OK状态,我就是使用go命令回去的。

 wohoo 回复于:2003-11-06 17:09:26
有的时候串口线的一拔掉。
会产生一个类似与stop + A的信号
所以会到ok状态

 bj01807 回复于:2003-11-06 17:15:01
V120存在这个问题,V280不应该存在串口线一拔掉就会掉到OK状态的问题。

 suncn 回复于:2003-11-06 17:33:29
先关掉服务器,然后拔掉串口线,再启动系统不就可以了!

 sunsroad 回复于:2003-11-06 17:43:12
你大概是先关掉PC,后拔的线吧?!这是不行的,要直接拔掉串口线!

 C.Arthur 回复于:2003-11-06 17:57:21
[quote:4f005f30b8="bj01807"]不明白为甚麽电磁信号干扰会使V280进入OK状态,我就是使用go命令回去的。[/quote:4f005f30b8]
在sun的主机上这是经常的时候,呵呵

 sunsroad 回复于:2003-11-06 18:14:45
这个问题我以前遇过,就是因为PC系列在关机的时候,会发出一个信号到串口,这个信号正好是跟CTRL+BREAK相同,因此V280R会出现当到OK mode的状态。解决的方法有两个:
其一如上所述。
其二在/etc/kb(我记不太清了)中修改,Disable掉Ctrl+Break组合键。

 sunsroad 回复于:2003-11-06 18:17:28
这跟SUN的设备无关,接受Ctrl+Break进入OK mode本来就是SUN设计中的一项功能。

 C.Arthur 回复于:2003-11-06 18:18:32
注意点就OK了

 iricyan 回复于:2003-11-06 18:40:36
[quote:9e8605a5e3="sunsroad"]这个问题我以前遇过,就是因为PC系列在关机的时候,会发出一个信号到串口,这个信号正好是跟CTRL+BREAK相同,因此V280R会出现当到OK mode的状态。解决的方法有两个:
其一如上所述。
其二在/etc/kb(我记不太清了?.........[/quote:9e8605a5e3]
厉害,这个对我来说是新知识。
记下了先。

 C.Arthur 回复于:2003-11-06 18:58:45
[quote:7e52051dc5="sunsroad"]这个问题我以前遇过,就是因为PC系列在关机的时候,会发出一个信号到串口,这个信号正好是跟CTRL+BREAK相同,因此V280R会出现当到OK mode的状态。解决的方法有两个:
其一如上所述。
其二在/etc/kb(我记不太清了?.........[/quote:7e52051dc5]
more /etc/default/kbd
# Uncomment the following line to disable keyboard or serial device
# abort sequences:
KEYBOARD_ABORT=disable

# Uncomment the following line to enable a non-BREAK alternate
# serial input device abort sequence:
KEYBOARD_ABORT=alternate

# Uncomment the following line to change the keyclick behavior:
KEYCLICK=off

 南非蜘蛛 回复于:2003-11-06 20:42:14
[quote:2b233bf31a="wohoo"]有的时候串口线的一拔掉。
会产生一个类似与stop + A的信号
所以会到ok状态[/quote:2b233bf31a]

老大,请详细解释一下,这个信号是怎么产生的

 mkwf 回复于:2003-11-06 23:46:21
是线序有问题!
采用正确的接线,在断开时不会产生break信号的。
下面的地方有几乎全部Sun机器的串口线序:
http://www.stokely.com/unix.serial.port.resources/A-B-Ycablepinout.html

 race 回复于:2003-11-07 07:48:06
记的CISCO的线序是全反,即1-8,2-7。。。。。8-1,280R该用直通的线,1-1,2-2。。。。。8-8这样才对

 cookiwu 回复于:2003-11-07 09:28:24
CISCO的线可以用,只是RS232这边线序改改就行了。
个人认为,在系统运行时拔掉console线,是没有问题的,问题在于超级终端中数据流控制的选择,不要选硬件,应选无,就没有什么问题了。呵呵,我就经常一个console同时装n台设备。

 C.Arthur 回复于:2003-11-07 09:30:27
nod

 纳兰婷 回复于:2003-11-07 09:48:30
[quote:2ebe2d11a7="race"]记的CISCO的线序是全反,即1-8,2-7。。。。。8-1,280R该用直通的线,1-1,2-2。。。。。8-8这样才对[/quote:2ebe2d11a7]
同意,但是一般是棕 棕白 蓝 蓝白 绿 绿白 橙 橙白这种线序,全反线一般不常用或者根本没用!

 C.Arthur 回复于:2003-11-07 09:55:43
[quote:742da9c9f3="纳兰婷"]
同意,但是一般是棕 棕白 蓝 蓝白 绿 绿白 橙 橙白这种线序,全反线一般不常用或者根本没用![/quote:742da9c9f3]
藏起

 wohoo 回复于:2003-11-07 11:32:41
[quote:b7d1a11cd7="南非蜘蛛"]

老大,请详细解释一下,这个信号是怎么产生的[/quote:b7d1a11cd7]

蜘蛛mm,这个东东我也不是特别的清楚。
还有一个另一个产品的bug
也和串口有关的。。。。
好像是V480
1. Apply ESD procedure for servicing V480.

2. Only battery-powered laptop is allowed to connect to the V480 serial port.
Otherwise, it will damage the port !.  Whole system board and even whole
chasis may need to be replaced.

Detail is shown at below.


Best Practices for Connecting Laptop to the V480 Serial Port: 
=============================================================
Ensure that all ESD precautions are in place (wrist straps, mats, etc.) when
servicing the Sun Fire V480 or any Sun system. 

Use the laptop's battery power when connecting a laptop to the serial port. If
a battery is not available do not plug directly into the serial port, use a
terminal concentrator that is grounded by connection into a rack or other means. 

If battery power is not available, never connect or disconnect laptop AC power 
source while connected to the V480 serial port. 

Always connect the V480 end (RJ45) or the V880 end (RS232) of the serial port 
cable last and disconnect the V480 /V880 end of the cable first.  Some laptops
may produce terminal break when disconnecting the RJ45 serial cable from V480 
and may cause the V480 system to drop to the ok prompt.   To prevent the V480 
system from taking a terminal break signal turn the system keyswitch to the 
locked position. 

If you suspect that you have a system with this issue, please verify that all 
OBP settings and serial port connections are correct, and that all cables are 
functioning properly.  Make sure the customer's input-device, output-device 
OBP settings are: 

input-device   -> ttya 
output-device -> ttya 

If the problem persists, and the serial port is determined to be failing, the
centerplane,  part# 501-5819  must be replaced (for V880 the I/O board, pn
501-5142 must be replaced)

 南非蜘蛛 回复于:2003-11-07 11:36:13
[quote:bebd533259="wohoo"]

蜘蛛mm,这个东东我也不是特别的清楚。
还有一个另一个产品的bug
也和串口有关的。。。。
好像是V480
1. Apply ESD procedure for servicing V480.

2. Only battery-powered laptop is allowed to connect..........[/quote:bebd533259]

长知识 

 C.Arthur 回复于:2003-11-07 13:15:43
[quote:248479dbff="wohoo"]

蜘蛛mm,这个东东我也不是特别的清楚。
还有一个另一个产品的bug
也和串口有关的。。。。
好像是V480
1. Apply ESD procedure for servicing V480.

2. Only battery-powered laptop is allowed to connect..........[/quote:248479dbff]

高人

 guchengman 回复于:2003-11-08 10:30:49
What's a BREAK? (This excellent description was lifted from Greg Andrews) 
The BREAK signal is where the terminal (or terminal server) sets its transmit data line to a steady positive voltage for a period of time. Normally, the transmit line is not at a steady positive voltage. The stop bit in each character transmitted would interrupt any positive voltage and send it negative. In order to be accepted as a BREAK signal (and not merely a glitch), the signal would need to be positive for longer than it takes to receive 3 characters. 
Suns usually listen on their RS232 console ports at 9600 bps, or 960 characters per second (8 data + 1 start + 1 stop = 10 bits per character). That's roughly one character per millisecond. So, the transmit line would have to be steadily positive for 3-4 milliseconds for the Sun to think it was a BREAK signal. Suns can accept RS423 (+/- 5V) signals as well as RS232 (+/- 12V) signals. The voltage threshold for an RS423 signal is around 3.5 Volts. 

So, a signal glitch that stays above +3.5 Volts for 4 milliseconds can make the Sun think someone's sending a BREAK signal. If the terminal or terminal server is not careful to clamp its outputs when the power supplies are charging up (power on) or discharging (power off), such a glitch would be easy to generate. 

Under certain conditions of cable capacitance and/or inductance, just unplugging the RS232 cable can also produce a glitch on the Sun's receive pin that looks like a BREAK signal.

 minechina 回复于:2003-11-10 10:10:23
[quote:74748c27ea="cookiwu"]CISCO的线可以用,只是RS232这边线序改改就行了。
个人认为,在系统运行时拔掉console线,是没有问题的,问题在于超级终端中数据流控制的选择,不要选硬件,应选无,就没有什么问题了。呵呵,我就经常一个console同..........[/quote:74748c27ea]

这个说法我同意.

 C.Arthur 回复于:2003-11-10 10:19:02
[quote:6753bd1408="guchengman"]What's a BREAK? (This excellent description was lifted from Greg Andrews) 
The BREAK signal is where the terminal (or terminal server) sets its transmit data line to a steady positive voltage for a p..........[/quote:6753bd1408]
好东东,THX

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网