免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 6685 | 回复: 11
打印 上一主题 下一主题

为什么V890的串口无法使用? [复制链接]

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-02-12 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-06-10 14:03 |只看该作者 |倒序浏览
1. 两台主机(都是v890),串口怎么都无法用起来。串口不打印任何东西

2.我用的串口线,串口转接头等等 在其他的V890上都能正常用起来。说明这些串口线,接头都没有问题

3.是不是串口可以被禁用启用啊? 在SMC中,试着找到serail port,发现另外的V890服务器(如下,该服务器是能用串口的)和不能使用串口的2台服务器,他们显示的内容都一样。没什么差别啊。

都是 rsc-console  被disabled。 a 和 b 是enabled

各位有什么思路解决这个问题?多谢了

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-02-12 06:20:00
2 [报告]
发表于 2014-06-10 14:06 |只看该作者
接上面的内容,截图

Serial Ports.png (136.81 KB, 下载次数: 52)

Serial Ports.png

论坛徽章:
0
3 [报告]
发表于 2014-06-10 14:14 |只看该作者
钥匙打到诊断位置开机

论坛徽章:
2
2015年迎新春徽章
日期:2015-03-04 09:58:11IT运维版块每日发帖之星
日期:2015-10-04 06:20:00
4 [报告]
发表于 2014-06-10 18:07 |只看该作者
eeprom 发图,严重怀疑输出到显示器

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-02-12 06:20:00
5 [报告]
发表于 2014-06-10 20:04 |只看该作者
回复 4# rf00147


    你的思路很对。
我直接在telnet下登录,使用eeprom命令,发现确实是点问题,output是rsc-console模式。
output-device=rsc-console
input-device=rsc-console

我想把这个修改成yyta,但是需要在ok模式下才能做如下修改。
ok setenv input-device keyboard
ok setenv output-device ttya


我试着连接rsc的串口,但是我不知道登录的密码。
我试着在telnet登录中,使用 rscadm useradd test  或者# rscadm userpassword admin。 telnet下,均反馈rscadm: not found
我使用man rscadm,发现系统还是能正常打印rscadm命令的各种解释啊。

论坛徽章:
2
2015年迎新春徽章
日期:2015-03-04 09:58:11IT运维版块每日发帖之星
日期:2015-10-04 06:20:00
6 [报告]
发表于 2014-06-10 20:46 |只看该作者
这个要看你系统是否安装了这个软件包,没有的安装的话命令是不能使用的。回复 5# raoyunjia


   

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-02-12 06:20:00
7 [报告]
发表于 2014-06-11 01:57 |只看该作者
本帖最后由 raoyunjia 于 2014-06-11 01:58 编辑

回复 6# rf00147

    1 我是参照了http://www.91linux.com/html/linu ... 00910/06-17952.html
http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=1263969
http://bbs.chinaunix.net/thread-1128332-1-1.html
安装了rsc2.2.3_packages_s9.zip。
安装过程中和上述链接的内容有点不同。
我的是
Setting up serial port interface: DONE
Adding user to RSC:
rscadm: user already exists
when this script completes,
use the rscadm command to correct the error.
Resetting RSC (takes about 90 seconds):
Are you sure you want to reboot RSC (y/n)?  y
DONE
Setting up RSC date: DONE
*******************************
RSC has been successfully setup
*******************************
链接上的是
Setting up serial port interface: DONE
Adding user to RSC:
A valid password is between 6 and 8 characters, has at least two alphabetic characters, and at least one numeric or special character.
The password must differ from the user's login name and any reverse or circular shift of that login name.
Setting User Password Now ...
Password:
Re-enter Password:
User has been added to RSC
Resetting RSC (takes about 90 seconds):
Are you sure you want to reboot RSC (y/n)? y
DONE
Setting up RSC date: DONE
*******************************
RSC has been successfully setup
*******************************
我分析是:现场的服务器,本来就安装了rsc卡,应该以前也对rsc进行过配置。并设置了登录用户admin。
但是我使用rscadm useradd test  或者# rscadm userpassword admin。 不行。
使用 # scadm userpassword admin ,也不行。但我用man rscadm,是能看到  rscadm userpassword 这个命令格式的解释的。


2 另外,我想知道  scadm userpassword admin  和 rscadm userpassword admin 有什么区别?







论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-02-12 06:20:00
8 [报告]
发表于 2014-06-11 13:37 |只看该作者
回复 6# rf00147


我找到原因了,我在参照http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=1263969 时,只是机械的使用#/usr/platform/SUNW,Sun-Fire-480R/rsc/rsc-config

来配置rsc。没有想一想为什么要到这个路径去。

所以,在执行scadm userpassword admin。没有在#/usr/platform/SUNW,Sun-Fire-480R/rsc/  这个路径下,当然不成功。

改到#/usr/platform/SUNW,Sun-Fire-480R/rsc/ 下执行 scadm就成功了。谢谢

另外,还有个小问题
登录进rsc然后使用 console 命令,我就连接到solaris系统命令行了。但是,我一直不明白,怎么从 solaris系统console 返回 RSC?
我重启了主机,发现使用rsc串口进去,还是solaris系统的命令行。

   

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
9 [报告]
发表于 2014-06-11 21:56 |只看该作者
Escape character is '^]'.

论坛徽章:
2
2015年迎新春徽章
日期:2015-03-04 09:58:11IT运维版块每日发帖之星
日期:2015-10-04 06:20:00
10 [报告]
发表于 2014-06-12 09:53 |只看该作者
#. 回复 8# raoyunjia


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP