- 论坛徽章:
- 0
|
故障现象:每隔几分钟系统自动待机(当在系统中有操作时,比如执行ping,top命令,间隔时间会长一些,但也待机),在控制台敲一下键盘又会返回活跃状态。
操作系统:centos 4.4 (2.6.9-42.EL)
努力过程:
1.似乎是出现硬盘类报错,然后休眠。把smartd服务停掉,该报错消失,但依旧休眠。
2.重新开启smartd服务,硬盘类报错消失,出现以下报错:
kernel: uhci_hcd 0000:00:07.3: Unlink after no-IRQ? Different ACPI or APIC settings may help.
kernel: uhci_hcd 0000:00:07.2: Unlink after no-IRQ? Different ACPI or APIC settings may help.
禁用bios里的电源管理,禁用apm,acpid服务,grub中启用noapic,nousb(禁用usb,因为从lspci的输出结果来看,这两个是USB相关的)
重启,此报错消失,休眠依旧。
3.禁掉绝大多数系统服务,(见下面的chkconfig --list结果),效果一样。
4.重装最新的网卡驱动(反正闲着也是闲着),无效。
网卡是Intel的,不过,lspci和mii-tool的输出结果似乎不太一样:
lspci:
00:10.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
mii-tool -v:
product info: Intel 82555 rev 4
5.现在,(休眠时)偶尔会出现下面的报错,但不经常。
Spurious 8259A interrupt: IRQ7
不知道咋处理,没处理。
6.自始至终(在dmesg里)都会出现下面的报告(从休眠状态返回时):
PCI: Found IRQ 12 for device 0000:00:07.5
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
7.现在,除了第6条的信息之外,再无其它报告(dmesg,message中)。
没有改动内核,是centos4.4的官方最新内核。
望大家来诊断下,谢。
附:
硬件信息:
硬盘:
# smartctl -A /dev/hda1
smartctl version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0007 092 086 021 Pre-fail Always - 2791
4 Start_Stop_Count 0x0032 100 100 040 Old_age Always - 831
5 Reallocated_Sector_Ct 0x0033 199 199 140 Pre-fail Always - 2
7 Seek_Error_Rate 0x000b 200 200 051 Pre-fail Always - 0
9 Power_On_Hours 0x0032 087 087 000 Old_age Always - 9633
10 Spin_Retry_Count 0x0013 100 099 051 Pre-fail Always - 0
Rate 0x0009 200 200 051 Pre-fail Offline - 085
CPU:
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Celeron (Coppermine)
stepping : 6
cpu MHz : 848.155
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1698.60
PCI:
# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev c4)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
00:10.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
01:00.0 VGA compatible controller: Trident Microsystems 3DImage 9750 (rev f3)
系统服务状态列表:
# chkconfig --list
autofs 0:off 1:off 2:off 3:off 4:on 5:on 6:off
messagebus 0:off 1:off 2:off 3:off 4:on 5:on 6:off
apmd 0:off 1:off 2:on 3:off 4:on 5:on 6:off
rpcgssd 0:off 1:off 2:off 3:off 4:on 5:on 6:off
haldaemon 0:off 1:off 2:off 3:off 4:on 5:on 6:off
atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
acpid 0:off 1:off 2:off 3:off 4:on 5:on 6:off
netdump 0:off 1:off 2:off 3:off 4:off 5:off 6:off
rawdevices 0:off 1:off 2:off 3:off 4:on 5:on 6:off
nfslock 0:off 1:off 2:off 3:off 4:on 5:on 6:off
psacct 0:off 1:off 2:off 3:off 4:off 5:off 6:off
cups 0:off 1:off 2:off 3:off 4:off 5:off 6:off
xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
portmap 0:off 1:off 2:off 3:off 4:on 5:on 6:off
microcode_ctl 0:off 1:off 2:on 3:on 4:on 5:on 6:off
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rpcidmapd 0:off 1:off 2:off 3:off 4:on 5:on 6:off
NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off
readahead 0:off 1:off 2:off 3:off 4:off 5:on 6:off
mdmonitor 0:off 1:off 2:on 3:off 4:on 5:on 6:off
bluetooth 0:off 1:off 2:off 3:off 4:off 5:off 6:off
pcmcia 0:off 1:off 2:on 3:off 4:on 5:on 6:off
netfs 0:off 1:off 2:off 3:off 4:on 5:on 6:off
yum 0:off 1:off 2:off 3:off 4:off 5:off 6:off
isdn 0:off 1:off 2:on 3:off 4:on 5:on 6:off
sendmail 0:off 1:off 2:on 3:off 4:on 5:on 6:off
smartd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rhnsd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
winbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
irda 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netplugd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xfs 0:off 1:off 2:on 3:off 4:on 5:on 6:off
anacron 0:off 1:off 2:on 3:on 4:on 5:on 6:off
gpm 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nscd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
irqbalance 0:off 1:off 2:off 3:off 4:on 5:on 6:off
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
smb 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
kudzu 0:off 1:off 2:off 3:off 4:on 5:on 6:off
readahead_early 0:off 1:off 2:off 3:off 4:off 5:on 6:off
diskdump 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
cpuspeed 0:off 1:on 2:on 3:on 4:on 5:on 6:off
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
auditd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
mdmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xinetd based services:
time-udp: off
rsync: off
echo-udp: off
kshell: off
daytime: off
chargen-udp: off
krb5-telnet: off
daytime-udp: off
time: off
klogin: off
eklogin: off
gssftp: off
cups-lpd: off
echo: off
chargen: off |
|