当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 6 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]不能上网。请大家帮助分析。
帖子发表于 : 2008-01-18 19:29 

注册: 2007-09-05 1:09
帖子: 156
地址: beijing
送出感谢: 0 次
接收感谢: 0 次
请大家帮我分析一下为什么我上不了网,刚开始还好好的 可是用着用着就上不了。 然后网卡的号码会自动增加。比如eth0 ->eth1->eth2..........依此类推。另外在桌面的网络配置里边可以看到公网的DNS。但是就是ping不出去!!

============================================================
这是/proc/interrupts的信息

wangqi@wangqi-desktop:~$ cat /proc/interrupts
CPU0 CPU1
0: 1682 45045 IO-APIC-edge timer
1: 3 466 IO-APIC-edge i8042
7: 0 0 IO-APIC-edge parport0
8: 0 0 IO-APIC-edge rtc
9: 0 0 IO-APIC-fasteoi acpi
14: 6 1292 IO-APIC-edge ide0
16: 26 9315 IO-APIC-fasteoi nvidia
18: 0 3 IO-APIC-fasteoi ohci1394
20: 35 8098 IO-APIC-fasteoi ahci
21: 85 16282 IO-APIC-fasteoi eth7
22: 15 4796 IO-APIC-fasteoi ohci_hcd:usb2
23: 2 596 IO-APIC-fasteoi ehci_hcd:usb1, HDA Intel
NMI: 0 0
LOC: 46630 46601
ERR: 0

=================================================================
这是/etc/network/interfaces的信息

auto lo
iface lo inet loopback


iface eth5 inet dhcp
address 192.168.5.2
netmask 255.255.255.0

auto eth5

================================================================

这是ifconfig的输出信息

eth7 链路封装:以太网 硬件地址 00:00:6C:02:BF:98
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:6 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:155 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:360 (360.0 b) 发送字节:12625 (12.3 KB)
中断:21 基本地址:0x6000

eth7:avah 链路封装:以太网 硬件地址 00:00:6C:02:BF:98
inet 地址:169.254.6.211 广播:169.254.255.255 掩码:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
中断:21 基本地址:0x6000

lo 链路封装:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 跃点数:1
接收数据包:46 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:46 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:4092 (3.9 KB) 发送字节:4092 (3.9 KB)

请大家注意和/etc/network/interfaces里的信息进行比较 这两个是不对称的。

=================================================================


这是/var/log/messages后10行

Jan 18 19:15:10 wangqi-desktop kernel: [ 44.744421] NET: Registered protocol family 31
Jan 18 19:15:10 wangqi-desktop kernel: [ 44.744423] Bluetooth: HCI device and connection manager initialized
Jan 18 19:15:10 wangqi-desktop kernel: [ 44.744427] Bluetooth: HCI socket layer initialized
Jan 18 19:15:10 wangqi-desktop kernel: [ 44.755039] Bluetooth: L2CAP ver 2.8
Jan 18 19:15:10 wangqi-desktop kernel: [ 44.755045] Bluetooth: L2CAP socket layer initialized
Jan 18 19:15:10 wangqi-desktop kernel: [ 44.788815] Bluetooth: RFCOMM socket layer initialized
Jan 18 19:15:10 wangqi-desktop kernel: [ 44.788839] Bluetooth: RFCOMM TTY layer initialized
Jan 18 19:15:10 wangqi-desktop kernel: [ 44.788841] Bluetooth: RFCOMM ver 1.8
Jan 18 19:15:12 wangqi-desktop dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth7 for sub-path eth7.dbus.get.reason
Jan 18 19:15:57 wangqi-desktop dhcdbd: Unrequested down ?:3


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-01-18 19:30 

注册: 2007-09-05 1:09
帖子: 156
地址: beijing
送出感谢: 0 次
接收感谢: 0 次
=======================================================================
这是dmesg命令的输出信息

[ 0.000000] Linux version 2.6.22-14-generic (buildd@king) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Tue Dec 18 05:28:27 UTC 2007 (Ubuntu 2.6.22-14.47-generic)
[ 0.000000] Command line: root=UUID=b05c2672-d8c8-4a4d-87ca-8046efa31832 ro quiet splash locale=zh_CN vga=792
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[ 0.000000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000007fef0000 (usable)
[ 0.000000] BIOS-e820: 000000007fef0000 - 000000007fef3000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000007fef3000 - 000000007ff00000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000f0000000 - 00000000f2000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
[ 0.000000] Entering add_active_range(0, 0, 159) 0 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 256, 524016) 1 entries of 3200 used
[ 0.000000] end_pfn_map = 1048576
[ 0.000000] DMI 2.4 present.
[ 0.000000] ACPI: RSDP signature @ 0xFFFF8100000F6400 checksum 0
[ 0.000000] ACPI: RSDP 000F6400, 0014 (r0 GBT )
[ 0.000000] ACPI: RSDT 7FEF3000, 0038 (r1 GBT NVDAACPI 42302E31 NVDA 1010101)
[ 0.000000] ACPI: FACP 7FEF3040, 0074 (r1 GBT NVDAACPI 42302E31 NVDA 1010101)
[ 0.000000] ACPI: DSDT 7FEF30C0, 4582 (r1 GBT NVDAACPI 1000 MSFT 100000C)
[ 0.000000] ACPI: FACS 7FEF0000, 0040
[ 0.000000] ACPI: SSDT 7FEF7700, 028A (r1 PTLTD POWERNOW 1 LTP 1)
[ 0.000000] ACPI: HPET 7FEF79C0, 0038 (r1 GBT NVDAACPI 42302E31 NVDA 9
[ 0.000000] ACPI: MCFG 7FEF7A00, 003C (r1 GBT NVDAACPI 42302E31 NVDA 1010101)
[ 0.000000] ACPI: APIC 7FEF7680, 0072 (r1 GBT NVDAACPI 42302E31 NVDA 1010101)
[ 0.000000] Scanning NUMA topology in Northbridge 24
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-000000007fef0000
[ 0.000000] Entering add_active_range(0, 0, 159) 0 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 256, 524016) 1 entries of 3200 used
[ 0.000000] Bootmem setup node 0 0000000000000000-000000007fef0000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] DMA32 4096 -> 1048576
[ 0.000000] Normal 1048576 -> 1048576
[ 0.000000] early_node_map[2] active PFN ranges
[ 0.000000] 0: 0 -> 159
[ 0.000000] 0: 256 -> 524016
[ 0.000000] On node 0 totalpages: 523919
[ 0.000000] DMA zone: 56 pages used for memmap
[ 0.000000] DMA zone: 1125 pages reserved
[ 0.000000] DMA zone: 2818 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 7108 pages used for memmap
[ 0.000000] DMA32 zone: 512812 pages, LIFO batch:31
[ 0.000000] Normal zone: 0 pages used for memmap
[ 0.000000] ACPI: PM-Timer IO Port: 0x1008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 (Bootup-CPU)
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[ 0.000000] Processor #1
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 2, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] ACPI: IRQ14 used by override.
[ 0.000000] Setting APIC routing to flat
[ 0.000000] ACPI: HPET id: 0x10de8201 base: 0xfeff0000
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000f0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000f0000 - 0000000000100000
[ 0.000000] Allocating PCI resources starting at 80000000 (gap: 7ff00000:70100000)
[ 0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs
[ 0.000000] PERCPU: Allocating 34696 bytes of per cpu data
[ 0.000000] Built 1 zonelists. Total pages: 515630
[ 0.000000] Kernel command line: root=UUID=b05c2672-d8c8-4a4d-87ca-8046efa31832 ro quiet splash locale=zh_CN vga=792
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[ 0.000000] Marking TSC unstable due to TSCs unsynchronized
[ 18.193573] time.c: Detected 2511.389 MHz processor.
[ 18.193609] Console: colour dummy device 80x25
[ 18.193622] Checking aperture...
[ 18.193624] CPU 0: aperture @ f07e000000 size 32 MB
[ 18.193626] Aperture too small (32 MB)
[ 18.199403] No AGP bridge found
[ 18.213676] Memory: 2055120k/2096064k available (2274k kernel code, 40556k reserved, 1181k data, 296k init)
[ 18.213713] SLUB: Genslabs=23, HWalign=64, Order=0-1, MinObjects=4, CPUs=2, Nodes=1
[ 18.293575] Calibrating delay using timer specific routine.. 5027.49 BogoMIPS (lpj=10054995)
[ 18.293602] Security Framework v1.0.0 initialized
[ 18.293607] SELinux: Disabled at boot.
[ 18.293733] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 18.294816] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 18.295340] Mount-cache hash table entries: 256
[ 18.295448] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 18.295450] CPU: L2 Cache: 512K (64 bytes/line)
[ 18.295452] CPU 0/0 -> Node 0
[ 18.295454] CPU: Physical Processor ID: 0
[ 18.295455] CPU: Processor Core ID: 0
[ 18.295470] SMP alternatives: switching to UP code
[ 18.295670] Early unpacking initramfs... done
[ 18.529833] ACPI: Core revision 20070126
[ 18.529876] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
[ 18.573246] Using local APIC timer interrupts.
[ 18.612994] result 12556943
[ 18.612995] Detected 12.556 MHz APIC timer.
[ 18.617033] SMP alternatives: switching to SMP code
[ 18.617115] Booting processor 1/2 APIC 0x1
[ 18.627507] Initializing CPU#1
[ 18.705151] Calibrating delay using timer specific routine.. 5022.84 BogoMIPS (lpj=10045697)
[ 18.705156] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 18.705158] CPU: L2 Cache: 512K (64 bytes/line)
[ 18.705160] CPU 1/1 -> Node 0
[ 18.705162] CPU: Physical Processor ID: 0
[ 18.705163] CPU: Processor Core ID: 1
[ 18.705246] AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ stepping 01
[ 18.708822] Brought up 2 CPUs
[ 19.439691] migration_cost=137
[ 19.439567] NET: Registered protocol family 16
[ 19.439665] ACPI: bus type pci registered
[ 19.439669] PCI: Using configuration type 1
[ 19.440585] ACPI: EC: Look up EC in DSDT
[ 19.445067] ACPI: Interpreter enabled
[ 19.445070] ACPI: (supports S0 S1 S4 S5)
[ 19.445082] ACPI: Using IOAPIC for interrupt routing
[ 19.451592] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 19.451602] PCI: Probing PCI hardware (bus 00)
[ 19.452076] PCI: Transparent bridge - 0000:00:08.0
[ 19.452173] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 19.452354] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
[ 19.474549] ACPI: PCI Interrupt Link [LNK1] (IRQs *5 7 9 10 11 14 15)
[ 19.474661] ACPI: PCI Interrupt Link [LNK2] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 19.474772] ACPI: PCI Interrupt Link [LNK3] (IRQs 5 7 9 *10 11 14 15)
[ 19.474882] ACPI: PCI Interrupt Link [LNK4] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 19.474992] ACPI: PCI Interrupt Link [LNK5] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 19.475102] ACPI: PCI Interrupt Link [LNK6] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 19.475211] ACPI: PCI Interrupt Link [LNK7] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 19.475321] ACPI: PCI Interrupt Link [LNK8] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 19.475456] ACPI: PCI Interrupt Link [LP2P] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 19.475568] ACPI: PCI Interrupt Link [LUBA] (IRQs 5 7 9 10 *11 14 15)
[ 19.475679] ACPI: PCI Interrupt Link [LUB2] (IRQs *5 7 9 10 11 14 15)
[ 19.475789] ACPI: PCI Interrupt Link [LU1B] (IRQs 5 7 9 10 11 14 15) *0
[ 19.475899] ACPI: PCI Interrupt Link [LU2B] (IRQs 5 7 9 10 11 14 15) *0
[ 19.476010] ACPI: PCI Interrupt Link [LMAC] (IRQs 5 7 9 10 11 14 *15)
[ 19.476120] ACPI: PCI Interrupt Link [LAZA] (IRQs 5 7 9 10 *11 14 15)
[ 19.476230] ACPI: PCI Interrupt Link [LPMU] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 19.476341] ACPI: PCI Interrupt Link [LSMB] (IRQs 5 7 9 *10 11 14 15)
[ 19.476452] ACPI: PCI Interrupt Link [LIDE] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[ 19.476563] ACPI: PCI Interrupt Link [LSID] (IRQs 5 7 9 10 *11 14 15)
[ 19.476705] ACPI: PCI Interrupt Link [APC1] (IRQs 16) *0
[ 19.476840] ACPI: PCI Interrupt Link [APC2] (IRQs 17) *0, disabled.
[ 19.476973] ACPI: PCI Interrupt Link [APC3] (IRQs 1 *0
[ 19.477109] ACPI: PCI Interrupt Link [APC4] (IRQs 19) *0, disabled.
[ 19.477243] ACPI: PCI Interrupt Link [APC5] (IRQs 16) *0, disabled.
[ 19.477376] ACPI: PCI Interrupt Link [APC6] (IRQs 16) *0, disabled.
[ 19.477510] ACPI: PCI Interrupt Link [APC7] (IRQs 16) *0, disabled.
[ 19.477643] ACPI: PCI Interrupt Link [APC8] (IRQs 16) *0, disabled.
[ 19.477777] ACPI: PCI Interrupt Link [AUBA] (IRQs 20 21 22 23) *0
[ 19.477912] ACPI: PCI Interrupt Link [AUB2] (IRQs 20 21 22 23) *0
[ 19.478046] ACPI: PCI Interrupt Link [AU1B] (IRQs 20 21 22 23) *0
[ 19.478180] ACPI: PCI Interrupt Link [AU2B] (IRQs 20 21 22 23) *0
[ 19.478315] ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22 23) *0
[ 19.478450] ACPI: PCI Interrupt Link [APMU] (IRQs 20 21 22 23) *0, disabled.
[ 19.478584] ACPI: PCI Interrupt Link [AAZA] (IRQs 20 21 22 23) *0
[ 19.478720] ACPI: PCI Interrupt Link [APCS] (IRQs 20 21 22 23) *0
[ 19.478855] ACPI: PCI Interrupt Link [APCM] (IRQs 20 21 22 23) *0, disabled.
[ 19.478990] ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22 23) *0, disabled.
[ 19.479126] ACPI: PCI Interrupt Link [APSI] (IRQs 20 21 22 23) *0
[ 19.479202] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 19.479216] pnp: PnP ACPI init
[ 19.479227] ACPI: bus type pnp registered
[ 19.482098] pnp: PnP ACPI: found 12 devices
[ 19.482099] ACPI: ACPI bus type pnp unregistered
[ 19.482165] PCI: Using ACPI for IRQ routing
[ 19.482169] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[ 19.482230] NET: Registered protocol family 8
[ 19.482231] NET: Registered protocol family 20
[ 19.482296] hpet0: at MMIO 0xfeff0000, IRQs 2, 8, 31
[ 19.482300] hpet0: 3 32-bit timers, 25000000 Hz
[ 19.483349] pnp: 00:01: ioport range 0x1000-0x107f has been reserved
[ 19.483351] pnp: 00:01: ioport range 0x1080-0x10ff has been reserved
[ 19.483353] pnp: 00:01: ioport range 0x1400-0x147f has been reserved
[ 19.483356] pnp: 00:01: ioport range 0x1480-0x14ff has been reserved
[ 19.483358] pnp: 00:01: ioport range 0x1800-0x187f has been reserved
[ 19.483360] pnp: 00:01: ioport range 0x1880-0x18ff has been reserved
[ 19.483362] pnp: 00:01: iomem range 0x0-0x0 could not be reserved
[ 19.483373] pnp: 00:0a: iomem range 0xf0000000-0xf1ffffff could not be reserved
[ 19.483377] pnp: 00:0b: iomem range 0xcc800-0xcffff has been reserved
[ 19.483379] pnp: 00:0b: iomem range 0xf0000-0xf7fff could not be reserved
[ 19.483382] pnp: 00:0b: iomem range 0xf8000-0xfbfff could not be reserved
[ 19.483384] pnp: 00:0b: iomem range 0xfc000-0xfffff could not be reserved
[ 19.483734] Time: hpet clocksource has been installed.
[ 19.483730] PCI: Bridge: 0000:00:08.0
[ 19.483731] IO window: disabled.
[ 19.483735] MEM window: f6000000-f60fffff
[ 19.483736] PREFETCH window: disabled.
[ 19.483741] PCI: Bridge: 0000:00:0d.0
[ 19.483743] IO window: b000-bfff
[ 19.483745] MEM window: f2000000-f5ffffff
[ 19.483747] PREFETCH window: e0000000-efffffff
[ 19.483756] PCI: Setting latency timer of device 0000:00:08.0 to 64
[ 19.483762] PCI: Setting latency timer of device 0000:00:0d.0 to 64
[ 19.483797] NET: Registered protocol family 2
[ 19.531359] IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 19.532023] TCP established hash table entries: 262144 (order: 10, 6291456 bytes)
[ 19.535026] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 19.535579] TCP: Hash tables configured (established 262144 bind 65536)
[ 19.535582] TCP reno registered
[ 19.547383] checking if image is initramfs... it is
[ 20.083031] Freeing initrd memory: 7200k freed
[ 20.087253] audit: initializing netlink socket (disabled)
[ 20.087269] audit(1200683685.864:1): initialized
[ 20.089176] VFS: Disk quotas dquot_6.5.1
[ 20.089219] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 20.089306] io scheduler noop registered
[ 20.089308] io scheduler anticipatory registered
[ 20.089309] io scheduler deadline registered
[ 20.089386] io scheduler cfq registered (default)
[ 20.090011] Boot video device is 0000:02:00.0
[ 20.090128] PCI: Setting latency timer of device 0000:00:0d.0 to 64
[ 20.090145] assign_interrupt_mode Found MSI capability
[ 20.090147] Allocate Port Service[0000:00:0d.0:pcie00]
[ 20.120200] Real Time Clock Driver v1.12ac
[ 20.120288] Linux agpgart interface v0.102 (c) Dave Jones
[ 20.120290] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 20.120386] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 20.120917] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 20.121498] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 20.121682] input: Macintosh mouse button emulation as /class/input/input0
[ 20.121745] PNP: PS/2 Controller [PNP0303S2K] at 0x60,0x64 irq 1
[ 20.121747] PNP: PS/2 controller doesn't have AUX irq; using default 12
[ 20.124787] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 20.124899] mice: PS/2 mouse device common for all mice
[ 20.125077] TCP cubic registered
[ 20.125130] NET: Registered protocol family 1
[ 20.125341] /build/buildd/linux-source-2.6.22-2.6.22/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 20.125348] Freeing unused kernel memory: 296k freed
[ 20.158171] input: AT Translated Set 2 keyboard as /class/input/input1
[ 21.456866] AppArmor: AppArmor initialized<5>audit(1200683687.236:2): type=1505 info="AppArmor initialized" pid=1245
[ 21.467159] fuse init (API version 7.
[ 21.475050] Failure registering capabilities with primary security module.
[ 22.391410] usbcore: registered new interface driver usbfs
[ 22.391452] usbcore: registered new interface driver hub
[ 22.391486] usbcore: registered new device driver usb
[ 22.392826] ACPI: PCI Interrupt Link [AUB2] enabled at IRQ 23
[ 22.392835] ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [AUB2] -> GSI 23 (level, low) -> IRQ 23
[ 22.392989] PCI: Setting latency timer of device 0000:00:02.1 to 64
[ 22.392998] ehci_hcd 0000:00:02.1: EHCI Host Controller
[ 22.393183] ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
[ 22.393217] ehci_hcd 0000:00:02.1: debug port 1
[ 22.393221] PCI: cache line size of 64 is not supported by device 0000:00:02.1
[ 22.393233] ehci_hcd 0000:00:02.1: irq 23, io mem 0xf6108000
[ 22.393240] ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 22.393430] usb usb1: configuration #1 chosen from 1 choice
[ 22.393472] hub 1-0:1.0: USB hub found
[ 22.393481] hub 1-0:1.0: 10 ports detected
[ 22.398613] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[ 22.405831] forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.60.
[ 22.416722] SCSI subsystem initialized
[ 22.421593] libata version 2.21 loaded.
[ 22.504925] ACPI: PCI Interrupt Link [AUBA] enabled at IRQ 22
[ 22.504935] ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [AUBA] -> GSI 22 (level, low) -> IRQ 22
[ 22.505112] PCI: Setting latency timer of device 0000:00:02.0 to 64
[ 22.505120] ohci_hcd 0000:00:02.0: OHCI Host Controller
[ 22.505208] ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-01-18 19:31 

注册: 2007-09-05 1:09
帖子: 156
地址: beijing
送出感谢: 0 次
接收感谢: 0 次
[ 22.505233] ohci_hcd 0000:00:02.0: irq 22, io mem 0xf6107000
[ 22.564635] usb usb2: configuration #1 chosen from 1 choice
[ 22.564858] hub 2-0:1.0: USB hub found
[ 22.564868] hub 2-0:1.0: 10 ports detected
[ 22.670920] ACPI: PCI Interrupt Link [APCH] enabled at IRQ 21
[ 22.670931] ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [APCH] -> GSI 21 (level, low) -> IRQ 21
[ 22.670937] PCI: Setting latency timer of device 0000:00:06.0 to 64
[ 22.670946] forcedeth: using HIGHDMA
[ 22.670964] 0000:00:06.0: Invalid Mac address detected: 33:52:96:4d:1a:00
[ 22.670967] Please complain to your hardware vendor. Switching to a random MAC.
[ 22.992952] usb 2-3: new low speed USB device using ohci_hcd and address 2
[ 23.193775] eth0: forcedeth.c: subsystem: 01458:e000 bound to 0000:00:06.0
[ 23.193978] ahci 0000:00:0a.0: version 2.2
[ 23.194319] ACPI: PCI Interrupt Link [APSI] enabled at IRQ 20
[ 23.194327] ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [APSI] -> GSI 20 (level, low) -> IRQ 20
[ 23.215024] usb 2-3: configuration #1 chosen from 1 choice
[ 23.227970] usbcore: registered new interface driver hiddev
[ 23.234793] input: Logitech Logitech USB Optical Mouse as /class/input/input2
[ 23.234828] input: USB HID v1.11 Mouse [Logitech Logitech USB Optical Mouse] on usb-0000:00:02.0-3
[ 23.234845] usbcore: registered new interface driver usbhid
[ 23.234848] /build/buildd/linux-source-2.6.22-2.6.22/drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[ 24.199075] ahci 0000:00:0a.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl IDE mode
[ 24.199080] ahci 0000:00:0a.0: flags: 64bit ncq pm led clo pmp pio
[ 24.199084] PCI: Setting latency timer of device 0000:00:0a.0 to 64
[ 24.200235] scsi0 : ahci
[ 24.200666] scsi1 : ahci
[ 24.200924] scsi2 : ahci
[ 24.201145] scsi3 : ahci
[ 24.201480] ata1: SATA max UDMA/133 cmd 0xffffc20000aa8100 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 20
[ 24.201484] ata2: SATA max UDMA/133 cmd 0xffffc20000aa8180 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 20
[ 24.201487] ata3: SATA max UDMA/133 cmd 0xffffc20000aa8200 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 20
[ 24.201490] ata4: SATA max UDMA/133 cmd 0xffffc20000aa8280 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 20
[ 24.686176] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 24.687029] ata1.00: Host Protected Area detected:
[ 24.687031] current size: 312579695 sectors
[ 24.687032] native size: 312581808 sectors
[ 24.687177] ata1.00: native size increased to 312581808 sectors
[ 24.687183] ata1.00: ATA-7: Hitachi HDS721616PLA380, P22OABEA, max UDMA/133
[ 24.687185] ata1.00: 312581808 sectors, multi 16: LBA48 NCQ (depth 31/32)
[ 24.688199] ata1.00: configured for UDMA/133
[ 25.001593] ata2: SATA link down (SStatus 0 SControl 300)
[ 25.313021] ata3: SATA link down (SStatus 0 SControl 300)
[ 25.624447] ata4: SATA link down (SStatus 0 SControl 300)
[ 25.624569] scsi 0:0:0:0: Direct-Access ATA Hitachi HDS72161 P22O PQ: 0 ANSI: 5
[ 25.630423] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[ 25.630431] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 25.633357] ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
[ 25.633369] ACPI: PCI Interrupt 0000:01:0e.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 18
[ 25.683610] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18] MMIO=[f6004000-f60047ff] Max Packet=[2048] IR/IT contexts=[4/8]
[ 25.683854] NFORCE-MCP65: IDE controller at PCI slot 0000:00:09.0
[ 25.683870] NFORCE-MCP65: chipset revision 161
[ 25.683872] NFORCE-MCP65: not 100% native mode: will probe irqs later
[ 25.683875] NFORCE-MCP65: BIOS didn't set cable bits correctly. Enabling workaround.
[ 25.683880] NFORCE-MCP65: 0000:00:09.0 (rev a1) UDMA133 controller
[ 25.683890] ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hdaMA, hdbMA
[ 25.683900] Probing IDE interface ide0...
[ 25.690505] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[ 25.690525] sd 0:0:0:0: [sda] Write Protect is off
[ 25.690528] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 25.690554] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 25.690628] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[ 25.690644] sd 0:0:0:0: [sda] Write Protect is off
[ 25.690646] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 25.690671] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 25.690676] sda: sda1 sda2 < sda5 sda6 sda7 > sda3 sda4
[ 25.744096] sd 0:0:0:0: [sda] Attached SCSI disk
[ 25.748467] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 26.118636] Attempting manual resume
[ 26.118640] swsusp: Resume From Partition 8:7
[ 26.118642] PM: Checking swsusp image.
[ 26.118813] PM: Resume from disk failed.
[ 26.141328] kjournald starting. Commit interval 5 seconds
[ 26.141349] EXT3-fs: mounted filesystem with ordered data mode.
[ 26.422737] hda: PIONEER DVD-ROM DVD-128P, ATAPI CD/DVD-ROM drive
[ 26.954197] ieee1394: Host added: ID:BUS[0-00:1023] GUID[00ea919e00001a4d]
[ 26.966480] ata1: D2H reg with I during NCQ, this message won't be printed again
[ 27.098094] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[ 34.581549] i2c-adapter i2c-0: nForce2 SMBus adapter at 0x1c00
[ 34.581607] i2c-adapter i2c-1: nForce2 SMBus adapter at 0x1c40
[ 34.644073] input: PC Speaker as /class/input/input3
[ 34.665967] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 34.672162] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 34.724730] parport_pc 00:08: reported by Plug and Play ACPI
[ 34.724779] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[ 34.785906] hda: ATAPI 40X DVD-ROM drive, 198kB Cache, UDMA(100)
[ 34.785918] Uniform CD-ROM driver Revision: 3.20
[ 34.847284] nvidia: module license 'NVIDIA' taints kernel.
[ 35.103441] ACPI: PCI Interrupt Link [APC8] enabled at IRQ 16
[ 35.103451] ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [APC8] -> GSI 16 (level, low) -> IRQ 16
[ 35.103461] PCI: Setting latency timer of device 0000:02:00.0 to 64
[ 35.103650] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 100.14.19 Wed Sep 12 14:08:38 PDT 2007
[ 35.408302] ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 23
[ 35.408309] ACPI: PCI Interrupt 0000:00:07.0[B] -> Link [AAZA] -> GSI 23 (level, low) -> IRQ 23
[ 35.408494] PCI: Setting latency timer of device 0000:00:07.0 to 64
[ 36.129496] lp0: using parport0 (interrupt-driven).
[ 36.501125] Adding 4000144k swap on /dev/sda7. Priority:-1 extents:1 across:4000144k
[ 36.995239] EXT3 FS on sda4, internal journal
[ 37.756803] kjournald starting. Commit interval 5 seconds
[ 37.764062] EXT3 FS on sda3, internal journal
[ 37.764067] EXT3-fs: mounted filesystem with ordered data mode.
[ 40.282751] NET: Registered protocol family 17
[ 41.222456] No dock devices found.
[ 41.295549] input: Power Button (FF) as /class/input/input4
[ 41.295599] ACPI: Power Button (FF) [PWRF]
[ 41.295669] input: Power Button (CM) as /class/input/input5
[ 41.295702] ACPI: Power Button (CM) [PWRB]
[ 41.756613] powernow-k8: Found 2 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ processors (version 2.00.00)
[ 41.756426] powernow-k8: 0 : fid 0x11 (2500 MHz), vid 0xa
[ 41.756431] powernow-k8: 1 : fid 0x10 (2400 MHz), vid 0xb
[ 41.756433] powernow-k8: 2 : fid 0xe (2200 MHz), vid 0xd
[ 41.756435] powernow-k8: 3 : fid 0xc (2000 MHz), vid 0xf
[ 41.756437] powernow-k8: 4 : fid 0xa (1800 MHz), vid 0x11
[ 41.756439] powernow-k8: 5 : fid 0x2 (1000 MHz), vid 0x12
[ 43.162853] Failure registering capabilities with primary security module.
[ 43.416918] ppdev: user-space parallel port driver
[ 43.854679] audit(1200654910.008:3): type=1503 operation="inode_permission" requested_mask="a" denied_mask="a" name="/dev/tty" pid=5061 profile="/usr/sbin/cupsd"
[ 44.744305] Bluetooth: Core ver 2.11
[ 44.744421] NET: Registered protocol family 31
[ 44.744423] Bluetooth: HCI device and connection manager initialized
[ 44.744427] Bluetooth: HCI socket layer initialized
[ 44.755039] Bluetooth: L2CAP ver 2.8
[ 44.755045] Bluetooth: L2CAP socket layer initialized
[ 44.788815] Bluetooth: RFCOMM socket layer initialized
[ 44.788839] Bluetooth: RFCOMM TTY layer initialized
[ 44.788841] Bluetooth: RFCOMM ver 1.8


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-01-19 17:21 

注册: 2007-11-25 22:25
帖子: 2
送出感谢: 0 次
接收感谢: 0 次
我也不是特别记得,说说我个人的一些疑问:

1. 为什么是eth5呢?一般来说应该是eth0,你是有几块网卡呢?

2.
address 192.168.5.2
netmask 255.255.255.0

如果是DHCP,应该不需要这两行的,似乎这是指定IP地址?这个我不确定

3. ps -ef | grep dhclient,你可以看到几个dhclient正在运行呢?


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2008-01-20 17:25 

注册: 2007-09-05 1:09
帖子: 156
地址: beijing
送出感谢: 0 次
接收感谢: 0 次
tracegreen 写道:
我也不是特别记得,说说我个人的一些疑问:

1. 为什么是eth5呢?一般来说应该是eth0,你是有几块网卡呢?

2.
address 192.168.5.2
netmask 255.255.255.0

如果是DHCP,应该不需要这两行的,似乎这是指定IP地址?这个我不确定

3. ps -ef | grep dhclient,你可以看到几个dhclient正在运行呢?


当然只有一块网卡 现在已经自增到 eth17了。


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2008-04-12 20:09 
头像

注册: 2007-05-20 18:44
帖子: 438
地址: 唐山,河北,中国
送出感谢: 0 次
接收感谢: 1
在/etc/udev/rules.d中有一个叫做
70-persistent-net.rules
的文件,记录着你的全部的ethX的信息。
打开,保留你想要的(比如eth0),然后将其他的全部删除
保存。打开当前文件夹下的
75-persistent-net-generator.rules
的文件,将以下2行注释掉

代码:
ACTION=="add", SUBSYSTEM=="net", KERNEL=="eth*|ath*|wlan*|ra*|sta*" \
NAME!="?*", DRIVERS=="?*", GOTO="persistent_net_generator_do"


使之变成
代码:
#ACTION=="add", SUBSYSTEM=="net", KERNEL=="eth*|ath*|wlan*|ra*|sta*" \
#   NAME!="?*", DRIVERS=="?*", GOTO="persistent_net_generator_do"

保存,重启,然后就好了。
最后75-persistent-net-generator.rules这个文件应当是类似这个的样子:
代码:
# these rules generate rules for persistent network device naming

#ACTION=="add", SUBSYSTEM=="net", KERNEL=="eth*|ath*|wlan*|ra*|sta*" \
#   NAME!="?*", DRIVERS=="?*", GOTO="persistent_net_generator_do"

GOTO="persistent_net_generator_end"
LABEL="persistent_net_generator_do"

# build device description string to add a comment the generated rule
SUBSYSTEMS=="pci", ENV{COMMENT}="PCI device $attr{vendor}:$attr{device} ($attr{driver})"
SUBSYSTEMS=="usb", ENV{COMMENT}="USB device 0x$attr{idVendor}:0x$attr{idProduct} ($attr{driver})"
SUBSYSTEMS=="ieee1394", ENV{COMMENT}="Firewire device $attr{host_id})"
SUBSYSTEMS=="xen", ENV{COMMENT}="Xen virtual device"
ENV{COMMENT}=="", ENV{COMMENT}="$env{SUBSYSTEM} device ($attr{driver})"

IMPORT{program}="write_net_rules $attr{address}"
ENV{INTERFACE_NEW}=="?*", NAME="$env{INTERFACE_NEW}"

LABEL="persistent_net_generator_end"



_________________
我逗无了奈了……
HP的本跑ubuntu还得把我折腾死。
显卡、无线/有线网卡、声卡、键盘……
代码:
while :
do
  work_hard
done


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 6 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 5 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译