Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2159265
  • 博文数量: 317
  • 博客积分: 5670
  • 博客等级: 大校
  • 技术积分: 3677
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-10 17:51
文章分类

全部博文(317)

文章存档

2016年(2)

2015年(44)

2014年(68)

2013年(42)

2012年(23)

2011年(51)

2010年(67)

2009年(17)

2008年(3)

分类: LINUX

2013-06-16 14:12:24

vmlite虚拟机启动出错,就把这个虚拟机删除掉重新建立,系统虚拟硬盘使用之前的,启动系统后不能上网,通过ifconfig查看网卡没启动,遂启动网卡服务,但是出错,就是:device eth0 does not seem to be present, delaying initialization,然后想到是不是ifcfg-eth0的配置文件里保存了以前的MAC地址,就把这一行删除掉在重启网卡,还是一样的错误,随后网上查了下资料,把/etc/udev/rules.d/70-persistent-net.rules 删除后重启机器就可以了,因为这个文件绑定了网卡和mac地址,所以换了网卡以后MAC地址变了,所以不能正常启动,也可以直接编辑这个配置文件把里面的网卡和mac地址修改乘对应的,不过这样多麻烦,直接删除重启,它会自动生成个。

1、
vi /etc/sysconfig/network-scripts/ifcfg-eth0
ifcfg-eth0的配置文件里保存了以前的MAC地址,就把这一行删除掉在重启网卡

2、
/etc/udev/rules.d/70-persistent-net.rules 删除后重启机器
因为这个文件绑定了网卡和mac地址,所以换了网卡以后MAC地址变了,所以不能正常启动,也可以直接编辑这个配置文件把里面的网卡和mac地址修改乘对应的,不过这样多麻烦,直接删除重启,它会自动生成个。

一、环境 centos 6.3 _64bit (Lnmp) 
2*Xeon E5620@2.40GHz/2*500G+1*10T/3*8G


问题:服务器运行正常,突然外网卡不通了,

第一次出现问题,系统日志报

Jun 16 13:50:29 media kernel: lo: Disabled Privacy Extensions
Jun 16 13:50:29 media /etc/sysconfig/network-scripts/ifup-eth: Device eth0 does not seem to be present, delaying initialization.
Jun 16 13:50:29 media kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Jun 16 13:50:31 media kernel: e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
Jun 16 13:50:31 media kernel: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

重启网卡报:
# /etc/init.d/network restart
Shutting down interface eth1:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  Device eth0 does not seem to be present, delaying initialization.

解决办法:

1、
vi /etc/sysconfig/network-scripts/ifcfg-eth0
MAC地址行注释掉。

还是不起作用

2、
/etc/udev/rules.d/70-persistent-net.rules 删除后重启机器后恢复正常。
因为这个文件绑定了网卡和mac地址,删除此文件,它会自动生成。

问题还需根究,

第二次网卡eth0 失效,后日志:(2013-7-2)

[root@media ~]# dmesg |grep error
ioatdma 0000:00:16.0: channel error register unreachable
ioatdma 0000:00:16.0: channel enumeration error
ioatdma 0000:00:16.1: channel error register unreachable
ioatdma 0000:00:16.1: channel enumeration error
ioatdma 0000:00:16.2: channel error register unreachable
ioatdma 0000:00:16.2: channel enumeration error
ioatdma 0000:00:16.3: channel error register unreachable
ioatdma 0000:00:16.3: channel enumeration error
ioatdma 0000:00:16.4: channel error register unreachable
ioatdma 0000:00:16.4: channel enumeration error
ioatdma 0000:00:16.5: channel error register unreachable
ioatdma 0000:00:16.5: channel enumeration error
ioatdma 0000:00:16.6: channel error register unreachable
ioatdma 0000:00:16.6: channel enumeration error
ioatdma 0000:00:16.7: channel error register unreachable
ioatdma 0000:00:16.7: channel enumeration erro


cat /var/log/messages|grep -v pure|grep -v nrpe|less

Jun 30 03:32:01 media rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1423" x-info=" Jul  2 05:26:19 media kernel: imklog 5.8.10, log source = /proc/kmsg started.
Jul  2 05:26:19 media rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1474" x-info="
mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Fri Jun 22 12:19:21 UTC 2012
Jul  2 05:26:19 media kernel: Command line: ro root=UUID=f3d8bfdb-f800-441a-8279-707a59ad4f0c nomodeset rd_MD_UUID=21e5a54f:01c84dd9:7bdd0388:d11a10e0  KEYBOARDTYPE=pc KEYTABLE=us rd_MD_UUID=7f0cabea:d4665de2:b674e199:c7002300 rd_NO_LUKS crashkernel=128M LANG=zh_CN.UTF-8 rd_NO_LVM rd_NO_DM rhgb quiet acpi=off noapic
Jul  2 05:26:19 media kernel: KERNEL supported cpus:
Jul  2 05:26:19 media kernel:  Intel GenuineIntel
Jul  2 05:26:19 media kernel:  AMD AuthenticAMD
Jul  2 05:26:19 media kernel:  Centaur CentaurHauls
Jul  2 05:26:19 media kernel: BIOS-provided physical RAM map:
Jul  2 05:26:19 media kernel: BIOS-e820: 0000000000000000 - 0000000000090c00 (usable)
Jul  2 05:26:19 media kernel: BIOS-e820: 0000000000090c00 - 00000000000a0000 (reserved)
Jul  2 05:26:19 media kernel: BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
Jul  2 05:26:19 media kernel: BIOS-e820: 0000000000100000 - 00000000bf780000 (usable)
Jul  2 05:26:19 media kernel: BIOS-e820: 00000000bf78e000 - 00000000bf790000 type 9
Jul  2 05:26:19 media kernel: BIOS-e820: 00000000bf790000 - 00000000bf79e000 (ACPI data)
Jul  2 05:26:19 media kernel: BIOS-e820: 00000000bf79e000 - 00000000bf7d0000 (ACPI NVS)
Jul  2 05:26:19 media kernel: BIOS-e820: 00000000bf7d0000 - 00000000bf7e0000 (reserved)
Jul  2 05:26:19 media kernel: BIOS-e820: 00000000bf7ec000 - 00000000c0000000 (reserved)
Jul  2 05:26:19 media kernel: BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
Jul  2 05:26:19 media kernel: BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
Jul  2 05:26:19 media kernel: BIOS-e820: 00000000ffc00000 - 0000000100000000 (reserved)
Jul  2 05:26:19 media kernel: BIOS-e820: 0000000100000000 - 0000000640000000 (usable)
Jul  2 05:26:19 media kernel: DMI present.
Jul  2 05:26:19 media kernel: SMBIOS version 2.6 @ 0xFBAD0
Jul  2 05:26:19 media kernel: AMI BIOS detected: BIOS may corrupt low RAM, working around it.
Jul  2 05:26:19 media kernel: last_pfn = 0x640000 max_arch_pfn = 0x400000000
Jul  2 05:26:19 media kernel: x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
Jul  2 05:26:19 media kernel: total RAM covered: 24568M
Jul  2 05:26:19 media kernel: Found optimal setting for mtrr clean up
Jul  2 05:26:19 media kernel: gran_size: 64K  chunk_size: 16M  num_reg: 7   lose cover RAM: 0G
Jul  2 05:26:19 media kernel: last_pfn = 0xbf780 max_arch_pfn = 0x400000000
Jul  2 05:26:19 media kernel: Using GB pages for direct mapping
Jul  2 05:26:19 media kernel: init_memory_mapping: 0000000000000000-00000000bf780000
Jul  2 05:26:19 media kernel: init_memory_mapping: 0000000100000000-0000000640000000
Jul  2 05:26:19 media kernel: RAMDISK: 3707d000 - 37fefab6
Jul  2 05:26:19 media kernel: No NUMA configuration found
Jul  2 05:26:19 media kernel: Faking a node at 0000000000000000-0000000640000000
Jul  2 05:26:19 media kernel: Bootmem setup node 0 0000000000000000-0000000640000000
Jul  2 05:26:19 media kernel:  NODE_DATA [0000000000012000 - 0000000000045fff]
Jul  2 05:26:19 media kernel:  bootmap [0000000000100000 -  00000000001c7fff] pages c8
Jul  2 05:26:19 media kernel: (7 early reservations) ==> bootmem [0000000000 - 0640000000]
Jul  2 05:26:19 media kernel:  #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
Jul  2 05:26:19 media kernel:  #1 [0000006000 - 0000008000]       TRAMPOLINE ==> [0000006000 - 0000008000]
Jul  2 05:26:19 media kernel:  #2 [0001000000 - 0002012024]    TEXT DATA BSS ==> [0001000000 - 0002012024]
Jul  2 05:26:19 media kernel:  #3 [003707d000 - 0037fefab6]          RAMDISK ==> [003707d000 - 0037fefab6]
Jul  2 05:26:19 media kernel:  #4 [0000090c00 - 0000100000]    BIOS reserved ==> [0000090c00 - 0000100000]
Jul  2 05:26:19 media kernel:  #5 [0002013000 - 000201327d]              BRK ==> [0002013000 - 000201327d]
Jul  2 05:26:19 media kernel:  #6 [0000010000 - 0000012000]          PGTABLE ==> [0000010000 - 0000012000]
Jul  2 05:26:19 media kernel: found SMP MP-table at [ffff8800000ff780] ff780
Jul  2 05:26:19 media kernel: Reserving 128MB of memory at 48MB for crashkernel (System RAM: 25600MB)
Jul  2 05:26:19 media kernel: Zone PFN ranges:
Jul  2 05:26:19 media kernel:  DMA      0x00000010 -> 0x00001000
Jul  2 05:26:19 media kernel:  DMA32    0x00001000 -> 0x00100000
Jul  2 05:26:19 media kernel:  Normal   0x00100000 -> 0x00640000
Jul  2 05:26:19 media kernel: Movable zone start PFN for each node
Jul  2 05:26:19 media kernel: early_node_map[3] active PFN ranges
Jul  2 05:26:19 media kernel:    0: 0x00000010 -> 0x00000090
Jul  2 05:26:19 media kernel:    0: 0x00000100 -> 0x000bf780
Jul  2 05:26:19 media kernel:    0: 0x00100000 -> 0x00640000
Jul  2 05:26:19 media kernel: SFI: Simple Firmware Interface v0.7 dm-devel@redhat.com
Jul  2 05:26:19 media kernel: udev: starting version 147
Jul  2 05:26:19 media kernel: dracut: Starting plymouth daemon
Jul  2 05:26:19 media kernel: dracut: rd_NO_DM: removing DM RAID activation
Jul  2 05:26:19 media kernel: megasas: 00.00.06.14-rh1 Fri. Jan. 6 17:00:00 PDT 2012
Jul  2 05:26:19 media kernel: megasas: 0x1000:0x0060:0x1000:0x100a: bus 1:slot 0:func 0
Jul  2 05:26:19 media kernel: megaraid_sas 0000:01:00.0: found PCI INT A -> IRQ 11
Jul  2 05:26:19 media kernel: megaraid_sas 0000:01:00.0: sharing IRQ 11 with 0000:00:16.0
Jul  2 05:26:19 media kernel: megaraid_sas 0000:01:00.0: sharing IRQ 11 with 0000:00:16.4
Jul  2 05:26:19 media kernel: megaraid_sas 0000:01:00.0: sharing IRQ 11 with 0000:00:1a.0
Jul  2 05:26:19 media kernel: megaraid_sas 0000:01:00.0: sharing IRQ 11 with 0000:06:00.0
Jul  2 05:26:19 media kernel: megasas: FW now in Ready state
Jul  2 05:26:19 media kernel: megasas_init_mfi: fw_support_ieee=0
Jul  2 05:26:19 media kernel: megasas: INIT adapter done
Jul  2 05:26:19 media kernel: megaraid_sas: fw state:c0000000
Jul  2 05:26:19 media kernel: megasas: fwstate:c0000000, dis_OCR=0
Jul  2 05:26:19 media kernel: scsi0 : LSI SAS based MegaRAID driver
Jul  2 05:26:19 media kernel: scsi 0:0:35:0: Direct-Access     ATA      WDC WD2003FYYS-0 1D05 PQ: 0 ANSI: 5
Jul  2 05:26:19 media kernel: ahci 0000:00:1f.2: found PCI INT B -> IRQ 14
Jul  2 05:26:19 media kernel: ahci 0000:00:1f.2: sharing IRQ 14 with 0000:00:16.3
Jul  2 05:26:19 media kernel: ahci 0000:00:1f.2: sharing IRQ 14 with 0000:00:16.7
Jul  2 05:26:19 media kernel: ahci 0000:00:1f.2: sharing IRQ 14 with 0000:00:1a.2
Jul  2 05:26:19 media kernel: ahci 0000:00:1f.2: sharing IRQ 14 with 0000:00:1d.1
Jul  2 05:26:19 media kernel: ahci 0000:00:1f.2: controller can't do SNTF, turning off CAP_SNTF
Jul  2 05:26:19 media kernel: ahci: SSS flag set, parallel bus scan disabled
Jul  2 05:26:19 media kernel: ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 6 ports 3 Gbps 0x3f impl RAID mode
Jul  2 05:26:19 media kernel: ahci 0000:00:1f.2: flags: 64bit ncq stag pm led clo pio slum part ccc ems sxs
Jul  2 05:26:19 media kernel: scsi1 : ahci
Jul  2 05:26:19 media kernel: scsi2 : ahci
Jul  2 05:26:19 media kernel: scsi 0:0:36:0: Direct-Access     ATA      WDC WD2003FYYS-0 1D05 PQ: 0 ANSI: 5
Jul  2 05:26:19 media kernel: scsi3 : ahci
Jul  2 05:26:19 media kernel: scsi4 : ahci
Jul  2 05:26:19 media kernel: scsi5 : ahci
Jul  2 05:26:19 media kernel: scsi6 : ahci
Jul  2 05:26:19 media kernel: ata1: SATA max UDMA/133 abar m2048@0xfbed6000 port 0xfbed6100 irq 51
Jul  2 05:26:19 media kernel: ata2: SATA max UDMA/133 abar m2048@0xfbed6000 port 0xfbed6180 irq 51
Jul  2 05:26:19 media kernel: ata3: SATA max UDMA/133 irq_stat 0x00400040, connection status changed irq 51
Jul  2 05:26:19 media kernel: ata4: SATA max UDMA/133 irq_stat 0x00400040, connection status changed irq 51
Jul  2 05:26:19 media kernel: ata5: SATA max UDMA/133 abar m2048@0xfbed6000 port 0xfbed6300 irq 51
Jul  2 05:26:19 media kernel: ata6: SATA max UDMA/133 abar m2048@0xfbed6000 port 0xfbed6380 irq 51
Jul  2 05:26:19 media kernel: scsi 0:0:37:0: Direct-Access     ATA      WDC WD2003FYYS-0 1D05 PQ: 0 ANSI: 5
Jul  2 05:26:19 media kernel: scsi 0:0:39:0: Direct-Access     ATA      WDC WD2003FYYS-0 1D05 PQ: 0 ANSI: 5
Jul  2 05:26:19 media kernel: scsi 0:0:40:0: Direct-Access     ATA      WDC WD2003FYYS-0 1D05 PQ: 0 ANSI: 5
Jul  2 05:26:19 media kernel: scsi 0:0:43:0: Direct-Access     ATA      WDC WD2002FAEX-0 1D05 PQ: 0 ANSI: 5
Jul  2 05:26:19 media kernel: scsi 0:2:0:0: Direct-Access     LSI      MegaRAID 8708ELP 1.12 PQ: 0 ANSI: 5
Jul  2 05:26:19 media kernel: Refined TSC clocksource calibration: 2400.084 MHz.
Jul  2 05:26:19 media kernel: Switching to clocksource tsc
Jul  2 05:26:19 media kernel: ata1: SATA link down (SStatus 0 SControl 300)
Jul  2 05:26:19 media kernel: ata2: SATA link down (SStatus 0 SControl 300)
Jul  2 05:26:19 media kernel: ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Jul  2 05:26:19 media kernel: ata3.00: ATA-8: WDC WD5003ABYX-01WERA1, 01.01S02, max UDMA/133
Jul  2 05:26:19 media kernel: ata3.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
Jul  2 05:26:19 media kernel: ata3.00: configured for UDMA/133
Jul  2 05:26:19 media kernel: scsi 3:0:0:0: Direct-Access     ATA      WDC WD5003ABYX-0 01.0 PQ: 0 ANSI: 5
Jul  2 05:26:19 media kernel: ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Jul  2 05:26:19 media kernel: ata4.00: ATA-8: WDC WD5003ABYX-01WERA1, 01.01S02, max UDMA/133
Jul  2 05:26:19 media kernel: ata4.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
Jul  2 05:26:19 media kernel: ata4.00: configured for UDMA/133
Jul  2 05:26:19 media kernel: scsi 4:0:0:0: Direct-Access     ATA      WDC WD5003ABYX-0 01.0 PQ: 0 ANSI: 5
Jul  2 05:26:19 media kernel: ata5: SATA link down (SStatus 0 SControl 300)
Jul  2 05:26:19 media kernel: ata6: SATA link down (SStatus 0 SControl 300)
Jul  2 05:26:19 media kernel: sd 3:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
Jul  2 05:26:19 media kernel: sd 4:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/465 GiB)
Jul  2 05:26:19 media kernel: sd 0:2:0:0: [sda] 19521474560 512-byte logical blocks: (9.99 TB/9.08 TiB)
Jul  2 05:26:19 media kernel: sd 3:0:0:0: [sdb] Write Protect is off
Jul  2 05:26:19 media kernel: sd 4:0:0:0: [sdc] Write Protect is off
Jul  2 05:26:19 media kernel: sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jul  2 05:26:19 media kernel: sd 4:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jul  2 05:26:19 media kernel: sd 0:2:0:0: [sda] Write Protect is off
Jul  2 05:26:19 media kernel: sd 0:2:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
Jul  2 05:26:19 media kernel: sdc:
Jul  2 05:26:19 media kernel: sdb:
Jul  2 05:26:19 media kernel: sda: sdb1 sdb2 sdb3 sdb4 < sdc1 sdc2 sdc3 sdc4 < sda1
Jul  2 05:26:19 media kernel: sd 0:2:0:0: [sda] Attached SCSI disk
Jul  2 05:26:19 media kernel: sdb5 >
Jul  2 05:26:19 media kernel: sd 3:0:0:0: [sdb] Attached SCSI disk
Jul  2 05:26:19 media kernel: sdc5 >
Jul  2 05:26:19 media kernel: sd 4:0:0:0: [sdc] Attached SCSI disk
Jul  2 05:26:19 media kernel: md: bind
Jul  2 05:26:19 media kernel: md: bind
Jul  2 05:26:19 media kernel: md: bind
Jul  2 05:26:19 media kernel: md: bind
Jul  2 05:26:19 media kernel: md: raid1 personality registered for level 1
Jul  2 05:26:19 media kernel: bio: create slab at 1
Jul  2 05:26:19 media kernel: md/raid1:md127: active with 2 out of 2 mirrors
Jul  2 05:26:19 media kernel: md127: detected capacity change from 0 to 500104691712
Jul  2 05:26:19 media kernel: md127: p1 p2 p3 p4 < p5 >
Jul  2 05:26:19 media kernel: md: md127 switched to read-write mode.
Jul  2 05:26:19 media kernel: EXT4-fs (md127p2): mounted filesystem with ordered data mode. Opts:
Jul  2 05:26:19 media kernel: dracut: Mounted root filesystem /dev/md127p2
Jul  2 05:26:19 media kernel: SELinux:  Disabled at runtime.
Jul  2 05:26:19 media kernel: type=1404 audit(1372713960.997:2): selinux=0 auid=4294967295 ses=4294967295
Jul  2 05:26:19 media kernel: dracut:
Jul  2 05:26:19 media kernel: dracut: Switching root
Jul  2 05:26:19 media kernel: readahead-collector: starting
Jul  2 05:26:19 media kernel: udev: starting version 147
Jul  2 05:26:19 media kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Jul  2 05:26:19 media kernel: EDAC MC: Ver: 2.1.0 Jun 22 2012
Jul  2 05:26:19 media kernel: dca service started, version 1.12.1
Jul  2 05:26:19 media kernel: ioatdma: Intel(R) QuickData Technology Driver 4.00
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.0: found PCI INT A -> IRQ 11
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.0: sharing IRQ 11 with 0000:00:16.4
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.0: sharing IRQ 11 with 0000:00:1a.0
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.0: sharing IRQ 11 with 0000:01:00.0
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.0: sharing IRQ 11 with 0000:06:00.0
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.0: channel error register unreachable
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.0: channel enumeration error
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.0: Intel(R) I/OAT DMA Engine init failed
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.1: found PCI INT B -> IRQ 10
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.1: sharing IRQ 10 with 0000:00:16.5
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.1: sharing IRQ 10 with 0000:07:00.0
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.1: channel error register unreachable
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.1: channel enumeration error
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.1: Intel(R) I/OAT DMA Engine init failed
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.2: found PCI INT C -> IRQ 15
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.2: sharing IRQ 15 with 0000:00:16.6
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.2: sharing IRQ 15 with 0000:00:1a.7
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.2: sharing IRQ 15 with 0000:00:1d.2
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.2: sharing IRQ 15 with 0000:00:1f.3
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.2: sharing IRQ 15 with 0000:08:01.0
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.2: channel error register unreachable
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.2: channel enumeration error
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.2: Intel(R) I/OAT DMA Engine init failed
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.3: found PCI INT D -> IRQ 14
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.3: sharing IRQ 14 with 0000:00:16.7
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.3: sharing IRQ 14 with 0000:00:1a.2
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.3: sharing IRQ 14 with 0000:00:1d.1
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.3: channel error register unreachable
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.3: channel enumeration error
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.3: Intel(R) I/OAT DMA Engine init failed
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.4: found PCI INT A -> IRQ 11
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.4: sharing IRQ 11 with 0000:00:16.0
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.4: sharing IRQ 11 with 0000:00:1a.0
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.4: sharing IRQ 11 with 0000:01:00.0
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.4: sharing IRQ 11 with 0000:06:00.0
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.4: channel error register unreachable
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.4: channel enumeration error
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.4: Intel(R) I/OAT DMA Engine init failed
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.5: found PCI INT B -> IRQ 10
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.5: sharing IRQ 10 with 0000:00:16.1
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.5: sharing IRQ 10 with 0000:07:00.0
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.5: channel error register unreachable
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.5: channel enumeration error
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.5: Intel(R) I/OAT DMA Engine init failed
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.6: found PCI INT C -> IRQ 15
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.6: sharing IRQ 15 with 0000:00:16.2
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.6: sharing IRQ 15 with 0000:00:1a.7
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.6: sharing IRQ 15 with 0000:00:1d.2
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.6: sharing IRQ 15 with 0000:00:1f.3
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.6: sharing IRQ 15 with 0000:08:01.0
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.6: channel error register unreachable
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.6: channel enumeration error
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.6: Intel(R) I/OAT DMA Engine init failed
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.7: found PCI INT D -> IRQ 14
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.7: sharing IRQ 14 with 0000:00:16.3
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.7: sharing IRQ 14 with 0000:00:1a.2
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.7: sharing IRQ 14 with 0000:00:1d.1
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.7: channel error register unreachable
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.7: channel enumeration error
Jul  2 05:26:19 media kernel: ioatdma 0000:00:16.7: Intel(R) I/OAT DMA Engine init failed
Jul  2 05:26:19 media kernel: md: export_rdev(sdc)
Jul  2 05:26:19 media kernel: md: export_rdev(sdb)
Jul  2 05:26:19 media kernel: e1000e: Intel(R) PRO/1000 Network Driver - 1.9.5-k
Jul  2 05:26:19 media kernel: e1000e: Copyright(c) 1999 - 2012 Intel Corporation.
Jul  2 05:26:19 media kernel: e1000e 0000:06:00.0: Disabling ASPM L0s
Jul  2 05:26:19 media kernel: e1000e 0000:06:00.0: found PCI INT A -> IRQ 11
Jul  2 05:26:19 media kernel: e1000e 0000:06:00.0: sharing IRQ 11 with 0000:00:16.0
Jul  2 05:26:19 media kernel: e1000e 0000:06:00.0: sharing IRQ 11 with 0000:00:16.4
Jul  2 05:26:19 media kernel: e1000e 0000:06:00.0: sharing IRQ 11 with 0000:00:1a.0
Jul  2 05:26:19 media kernel: e1000e 0000:06:00.0: sharing IRQ 11 with 0000:01:00.0
Jul  2 05:26:19 media kernel: e1000e 0000:06:00.0: eth0: (PCI Express:2.5GT/s:Width x1) 00:25:90:94:fe:54
Jul  2 05:26:19 media kernel: e1000e 0000:06:00.0: eth0: Intel(R) PRO/1000 Network Connection
Jul  2 05:26:19 media kernel: e1000e 0000:06:00.0: eth0: MAC: 3, PHY: 8, PBA No: 0101FF-0FF
Jul  2 05:26:19 media kernel: e1000e 0000:07:00.0: Disabling ASPM L0s
Jul  2 05:26:19 media kernel: e1000e 0000:07:00.0: found PCI INT A -> IRQ 10
Jul  2 05:26:19 media kernel: e1000e 0000:07:00.0: sharing IRQ 10 with 0000:00:16.1
Jul  2 05:26:19 media kernel: e1000e 0000:07:00.0: sharing IRQ 10 with 0000:00:16.5
Jul  2 05:26:19 media kernel: e1000e 0000:07:00.0: eth1: (PCI Express:2.5GT/s:Width x1) 00:25:90:94:fe:55
Jul  2 05:26:19 media kernel: e1000e 0000:07:00.0: eth1: Intel(R) PRO/1000 Network Connection
Jul  2 05:26:19 media kernel: e1000e 0000:07:00.0: eth1: MAC: 3, PHY: 8, PBA No: 0101FF-0FF
Jul  2 05:26:19 media kernel: iTCO_vendor_support: vendor-support=0
Jul  2 05:26:19 media kernel: iTCO_wdt: Intel TCO WatchDog Timer Driver v1.07rh
Jul  2 05:26:19 media kernel: iTCO_wdt: Found a ICH10R TCO device (Version=2, TCOBASE=0x0860)
Jul  2 05:26:19 media kernel: iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
Jul  2 05:26:19 media kernel: i801_smbus 0000:00:1f.3: found PCI INT C -> IRQ 15
Jul  2 05:26:19 media kernel: i801_smbus 0000:00:1f.3: sharing IRQ 15 with 0000:00:16.2
Jul  2 05:26:19 media kernel: i801_smbus 0000:00:1f.3: sharing IRQ 15 with 0000:00:16.6
Jul  2 05:26:19 media kernel: i801_smbus 0000:00:1f.3: sharing IRQ 15 with 0000:00:1a.7
Jul  2 05:26:19 media kernel: i801_smbus 0000:00:1f.3: sharing IRQ 15 with 0000:00:1d.2
Jul  2 05:26:19 media kernel: i801_smbus 0000:00:1f.3: sharing IRQ 15 with 0000:08:01.0
Jul  2 05:26:19 media kernel: microcode: CPU0 sig=0x206c2, pf=0x1, revision=0x15
Jul  2 05:26:19 media kernel: platform microcode: firmware: requesting intel-ucode/06-2c-02
Jul  2 05:26:19 media kernel: microcode: CPU1 sig=0x206c2, pf=0x1, revision=0x15
Jul  2 05:26:19 media kernel: platform microcode: firmware: requesting intel-ucode/06-2c-02
Jul  2 05:26:19 media kernel: microcode: CPU2 sig=0x206c2, pf=0x1, revision=0x15
Jul  2 05:26:19 media kernel: platform microcode: firmware: requesting intel-ucode/06-2c-02
Jul  2 05:26:19 media kernel: microcode: CPU3 sig=0x206c2, pf=0x1, revision=0x15
Jul  2 05:26:19 media kernel: platform microcode: firmware: requesting intel-ucode/06-2c-02
Jul  2 05:26:19 media kernel: microcode: CPU4 sig=0x206c2, pf=0x1, revision=0x15
Jul  2 05:26:19 media kernel: platform microcode: firmware: requesting intel-ucode/06-2c-02
Jul  2 05:26:19 media kernel: microcode: CPU5 sig=0x206c2, pf=0x1, revision=0x15
Jul  2 05:26:19 media kernel: platform microcode: firmware: requesting intel-ucode/06-2c-02
Jul  2 05:26:19 media kernel: microcode: CPU6 sig=0x206c2, pf=0x1, revision=0x15
Jul  2 05:26:19 media kernel: platform microcode: firmware: requesting intel-ucode/06-2c-02
Jul  2 05:26:19 media kernel: microcode: CPU7 sig=0x206c2, pf=0x1, revision=0x15
Jul  2 05:26:19 media kernel: platform microcode: firmware: requesting intel-ucode/06-2c-02
Jul  2 05:26:19 media kernel: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
Jul  2 05:26:19 media kernel: sd 0:2:0:0: Attached scsi generic sg0 type 0
Jul  2 05:26:19 media kernel: sd 3:0:0:0: Attached scsi generic sg1 type 0
Jul  2 05:26:19 media kernel: sd 4:0:0:0: Attached scsi generic sg2 type 0
Jul  2 05:26:19 media kernel: EXT4-fs (md127p1): mounted filesystem with ordered data mode. Opts:
Jul  2 05:26:19 media kernel: EXT4-fs (md127p3): mounted filesystem with ordered data mode. Opts:
Jul  2 05:26:19 media kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
Jul  2 05:26:19 media kernel: Adding 8190968k swap on /dev/md127p5.  Priority:-1 extents:1 across:8190968k
Jul  2 05:26:19 media kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Jul  2 05:26:19 media kernel: nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Jul  2 05:26:19 media kernel: NET: Registered protocol family 10
Jul  2 05:26:19 media kernel: lo: Disabled Privacy Extensions
Jul  2 05:26:19 media kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Jul  2 05:26:19 media kernel: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
Jul  2 05:26:19 media kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jul  2 05:26:19 media kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Jul  2 05:26:19 media kernel: e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
Jul  2 05:26:19 media kernel: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Jul  2 05:26:19 media kernel: p4-clockmod: Warning: EST-capable CPU detected. The acpi-cpufreq module offers voltage scaling in addition to frequency scaling. You should use that instead of p4-clockmod, if possible.
Jul  2 05:26:21 media snmpd[1518]: NET-SNMP version 5.5
Jul  2 05:26:21 media xinetd[1538]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Jul  2 05:26:21 media xinetd[1538]: Started working: 1 available service
Jul  2 05:26:22 media init: prefdm main process (1608) terminated with status 1
Jul  2 05:26:22 media init: prefdm main process ended, respawning
Jul  2 05:26:22 media init: prefdm main process (1647) terminated with status 1
Jul  2 05:26:22 media init: prefdm main process ended, respawning
Jul  2 05:26:22 media init: prefdm main process (1667) terminated with status 1
Jul  2 05:26:22 media init: prefdm main process ended, respawning
Jul  2 05:26:23 media init: prefdm main process (1687) terminated with status 1
Jul  2 05:26:23 media init: prefdm main process ended, respawning
Jul  2 05:26:23 media init: prefdm main process (1707) terminated with status 1
Jul  2 05:26:23 media init: prefdm main process ended, respawning
Jul  2 05:26:23 media init: prefdm main process (1727) terminated with status 1
Jul  2 05:26:23 media init: prefdm main process ended, respawning
Jul  2 05:26:23 media init: prefdm main process (1747) terminated with status 1
Jul  2 05:26:23 media init: prefdm main process ended, respawning
Jul  2 05:26:23 media init: prefdm main process (1767) terminated with status 1
Jul  2 05:26:23 media init: prefdm main process ended, respawning
Jul  2 05:26:23 media init: prefdm main process (1787) terminated with status 1
Jul  2 05:26:23 media init: prefdm main process ended, respawning
Jul  2 05:26:23 media init: prefdm main process (1807) terminated with status 1
Jul  2 05:26:23 media init: prefdm main process ended, respawning
Jul  2 05:26:23 media init: prefdm main process (1827) terminated with status 1
Jul  2 05:26:23 media init: prefdm respawning too fast, stopped
Jul  2 05:26:32 media kernel: readahead-collector: sorting
Jul  2 05:26:32 media kernel: readahead-collector: finished



二、另记录一下遇到的网卡问题
环境: centos 6.3 _64bit 
2*E52620/1*500GSATA/2*4G(1335MHz)

上次硬盘报错,网卡也不能使用了,换块硬盘重装系统问题解决。当时报错如下:

# dmesg

May 19 03:33:01 media rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1944" x-info="media kernel: NETDEV WATCHDOG: eth0 (e1000e): transmit queue 0 timed out

May 25 04:01:13 media kernel: Modules linked in: nf_conntrack_ftp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables cpufreq_ondemand acpi_cpufreq freq_table mperf ipv6 sg microcode serio_raw i2c_i801 i2c_core iTCO_wdt iTCO_vendor_support e1000e ioatdma dca i7core_edac edac_core shpchp ext4 mbcache jbd2 raid1 sd_mod crc_t10dif ahci megaraid_sas dm_mirror dm_region_hash dm_log dm_mod [last unloaded: nf_conntrack]
May 25 04:01:13 media kernel: Pid: 0, comm: swapper Not tainted 2.6.32-279.el6.x86_64 #1
May 25 04:01:13 media kernel: Call Trace:
May 25 04:01:13 media kernel:   [] ? warn_slowpath_common+0x87/0xc0
May 25 04:01:13 media kernel: [] ? warn_slowpath_fmt+0x46/0x50
May 25 04:01:13 media kernel: [] ? dev_watchdog+0x26d/0x280
May 25 04:01:13 media kernel: [] ? insert_work+0x6d/0xb0
May 25 04:01:13 media kernel: [] ? internal_add_timer+0xb5/0x110
May 25 04:01:13 media kernel: [] ? dev_watchdog+0x0/0x280
May 25 04:01:13 media kernel: [] ? run_timer_softirq+0x197/0x340
May 25 04:01:13 media kernel: [] ? tick_sched_timer+0x0/0xc0
May 25 04:01:13 media kernel: [] ? lapic_next_event+0x1d/0x30
May 25 04:01:13 media kernel: [] ? __do_softirq+0xc1/0x1e0
May 25 04:01:13 media kernel: [] ? hrtimer_interrupt+0x140/0x250
May 25 04:01:13 media kernel: [] ? call_softirq+0x1c/0x30
May 25 04:01:13 media kernel: [] ? do_softirq+0x65/0xa0
May 25 04:01:13 media kernel: [] ? irq_exit+0x85/0x90
May 25 04:01:13 media kernel: [] ? smp_apic_timer_interrupt+0x70/0x9b
May 25 04:01:13 media kernel: [] ? apic_timer_interrupt+0x13/0x20
May 25 04:01:13 media kernel:   [] ? intel_idle+0xde/0x170
May 25 04:01:13 media kernel: [] ? intel_idle+0xc1/0x170
May 25 04:01:13 media kernel: [] ? cpuidle_idle_call+0xa7/0x140
May 25 04:01:13 media kernel: [] ? cpu_idle+0xb6/0x110
May 25 04:01:13 media kernel: [] ? rest_init+0x7a/0x80
May 25 04:01:13 media kernel: [] ? start_kernel+0x424/0x430
May 25 04:01:13 media kernel: [] ? x86_64_start_reservations+0x125/0x129
May 25 04:01:13 media kernel: [] ? x86_64_start_kernel+0xfa/0x109
May 25 04:01:13 media kernel: ---[ end trace e32d8764b8a05010 ]---
May 25 04:01:13 media kernel: e1000e 0000:06:00.0: eth0: Reset adapter
May 25 04:01:13 media kernel: e1000e 0000:06:00.0: eth0: Error reading PHY register
May 25 04:01:13 media kernel: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
May 25 12:05:23 media NET[21326]: /etc/sysconfig/network-scripts/ifdown-post : updated /etc/resolv.conf   (这时段重启服务器)
May 25 12:05:24 media kernel: lo: Disabled Privacy Extensions
May 25 12:05:24 media kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
May 25 12:05:28 media NET[21632]: /etc/sysconfig/network-scripts/ifup-post : updated /etc/resolv.conf
May 25 12:05:28 media kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
May 25 12:05:32 media kernel: e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
May 25 12:05:32 media kernel: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
May 25 12:30:02 media NET[21862]: /etc/sysconfig/network-scripts/ifdown-post : updated /etc/resolv.conf

阅读(9187) | 评论(0) | 转发(0) |
0

上一篇:Linux系统的启动过程

下一篇:sort 命令详解

给主人留下些什么吧!~~