我有一个 RHEL 5 系统:
[root@myhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.11 (Tikanga)
当我运行时dmesg
,我收到一条奇怪且令人不安的消息:
[root@myhost ~]# dmesg | grep -i worm
Worm initializing...<1>done.
此消息是什么意思以及它来自哪里?
答案1
该消息由名为的内核模块生成worm
:
[myhost ~]% lsmod | grep worm
worm 39172 0
[myhost ~]% grep "Worm initializing..." /usr/diags/kernmods/worm/worm.c
printk(KERN_ALERT "Worm initializing...");
从模块源代码中的注释来看:
worm.c -- x86 Linux wormhole driver for diagnostics for 2.2.x Kernels
这个内核模块是由field_diags_xe_x86
包提供的,它提供了SGI硬件的诊断工具:
[myhost ~]% rpm -qf /usr/diags/kernmods/worm/worm.c
field_diags_xe_x86-3.24-4a.x86_64
[myhost ~]% rpm -qi field_diags_xe_x86-3.24-4a.x86_64
Name : field_diags_xe_x86 Relocations: (not relocatable)
Version : 3.24 Vendor: SGI Inc.
Release : 4a Build Date: Wed 05 Nov 2008 07:42:58 AM MST
Install Date: Thu 04 Dec 2008 11:29:46 AM MST Build Host: hook.americas.sgi.com
Group : Applications/System Source RPM: field_diags_xe_x86-3.24-4a.src.rpm
Size : 103026006 License: SGI
Signature : (none)
Packager : Developer dsd on machine hook
URL : http://wwwcf.americas.sgi.com/PUBLIC/diags/Menus/sn2mhome.html
Summary : SGI Altix XE X86 Online Diagnostics
Description :
The SGI Altix XE X86 Online Diagnostics software package.
所以这条消息dmesg
并不是恶意的,尽管内核模块的命名可能很糟糕。