前言:笔者在SCO UNIX SYSTEM 基于奔腾PRO 或MMX 处理器的安装过程中常遇到这样的故障:“unexpected trap in kernel mode PANIC: k_trap – Kernel mode trap type 0x00000006 或 0x00000000 及0x0000000F”(以下简称系统k_trap type 6或0 及 k_trap type F故障),导致SCO UNIX 系统无法正常工作。以下介绍其故障的修复方法。
---- 一. 系统k_trap type 6或0故障的修复故障特征
---- 在基于Pentium PRO or MMX 处理器的PC 或 PC 服务器上安装SCO Unix 3.2v4.2 及Open Server 3.0 等软件后或间歇地启动关闭硬盘, 出现k_trap type 6或 k_trap type 0 。
---- 软件版本
SCO UNIX System V/386 Release 3.2
Operating System Version 4.2
SCO Open Server Enterprise System Release 3.0
SCO Open Server Network System Release 3.0
SCO Open Desktop Release 3.0
SCO Open Desktop Lite Release 3.0
---- 故障排除方法
---- 纠正k_trap type 6或k_trap type 0的问题,以root帐户,按下列步骤做:
# cd /etc/conf/pack.d/pit
# cp Driver.o Driver.orig
# _fst -w Driver.o
* spinwait+2D?w F989 FEE2
* $q
# cd /etc/conf/cf.d
# ./link_unix -y
---- 重新启动系统, 上述k_trap type 6或 k_trap type 0 故障可排除。
---- 二. 系统k_trap type F故障的修复
---- 故障特征
---- k_trap type F 故障常出现在k_trap type 6或 k_trap type 0 故障排除之后,涉及/etc/conf/pack.d/kernel/locore.o文件。
---- 软件版本
SCO UNIX System V/386 Release 3.2
Operating System Version 4.0,
4.1 and 4.2
SCO Open Desktop Release 2.0 and 3.0
SCO Open Server System Release 2.0 and 3.0
---- 故障排除方法
---- 以root帐户,对/etc/conf/pack.d/kernel/locore.o文件进行修补,按以下步骤做:
改变目录到 /etc/conf/pack.d/kernel ;
拷贝一个locore.o的备份文件locore.old ;
使用_fst 命令,按前面带有*的行进行操作;
重新连接内核。
---- 具体操作如下:
# cd /etc/conf/pack.d/kernel
# cp locore.o locore.old
# _fst -w locore.o -
* querytlb+5?w 0x9090
querytlb+0x5: 0x375= 0x9090
* querytlb,4?ai
querytlb: querytlb:
call near 0x17:0x0
querytlb+0x5: nop
querytlb+0x6: nop
querytlb+0x7: sub eax, eax
* $q
# cd /etc/conf/cf.d
# ./link_unix
---- 一旦内核连接完成, 重起引导计算机后,系统改变生效。这样k_trap type F 故障就排除了,SCO Unix 系 统就可正常工作了。
meteor06 回复于:2003-06-26 13:58:10 |
好
还有相关的吗? |
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/