我的環境是 Debain 3.1 sarge main ,想架設 DRBL 的環境
原來的 kernel2.4.27 ( vmlinuz-2.4.27-2-386 ) 可以上網可是使用 kernel2.6.8( vmlinuz-2.6.8-2-686-smp )後卻不能上網。
是不是因為雙cpu的關係呢?
在板上找了一些相關資料,確定核心有抓到網卡、pppoe等,不過就是不能使用網路卡。
還請各位大大們幫忙檢查一下,謝謝
我的相關設定如下
/proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-005f : timer
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial
0376-0376 : ide1
0378-037a : parport0
037b-037f : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial
0778-077a : parport0
0cf8-0cff : PCI conf1
4000-403f : 0000:00:07.3
5000-501f : 0000:00:07.3
c000-c01f : 0000:00:07.2
c000-c01f : uhci_hcd
c400-c47f : 0000:00:0b.0
c400-c43f : ALS4000
c800-c87f : 0000:00:0d.0
c800-c87f : via-rhine
cc00-cc07 : 0000:00:13.0
d000-d003 : 0000:00:13.0
d400-d4ff : 0000:00:13.0
d400-d407 : ide2
d410-d4ff : HPT366
d800-d807 : 0000:00:13.1
dc00-dc03 : 0000:00:13.1
e000-e0ff : 0000:00:13.1
e000-e007 : ide3
e010-e0ff : HPT366
f000-f00f : 0000:00:07.1
f000-f007 : ide0
f008-f00f : ide1
/proc/interrupts
CPU0 CPU1
0: 161922 172597 IO-APIC-edge timer
1: 226 258 IO-APIC-edge i8042
2: 0 0 XT-PIC cascade
7: 2 0 IO-APIC-edge parport0
8: 2 2 IO-APIC-edge rtc
12: 1278 1720 IO-APIC-edge i8042
14: 4679 5434 IO-APIC-edge ide0
15: 10 3 IO-APIC-edge ide1
137: 0 0 IO-APIC-level mga@PCI:1:0:0
153: 0 0 IO-APIC-level SoundBlaster
161: 0 0 IO-APIC-level uhci_hcd
NMI: 0 0
LOC: 334405 334410
ERR: 3
MIS: 0
lspci
0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
0000:00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:0b.0 Multimedia audio controller: Avance Logic Inc. ALS4000 Audio Chipset
0000:00:0d.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine] (rev 06)
0000:00:13.0 Unknown mass storage controller: Triones Technologies, Inc. HPT366/
368/370/370A/372 (rev 01)
0000:00:13.1 Unknown mass storage controller: Triones Technologies, Inc. HPT366/
368/370/370A/372 (rev 01)
0000:01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04)
lsmod
Module Size Used by
mga 114484 2
ipv6 281764 10
parport_pc 37796 0
parport 43272 1 parport_pc
floppy 62608 0
pcspkr 3884 0
pci_hotplug 35708 0
intel_agp 23072 1
via_rhine 22696 0
mii 5344 1 via_rhine
snd_als4000 14820 0
snd_sb_common 16640 1 snd_als4000
snd_pcm 102948 1 snd_als4000
snd_page_alloc 12008 1 snd_pcm
snd_opl3_lib 11168 1 snd_als4000
snd_timer 27492 2 snd_pcm,snd_opl3_lib
snd_hwdep 9764 1 snd_opl3_lib
gameport 5120 1 snd_als4000
snd_mpu401_uart 8640 1 snd_als4000
snd_rawmidi 26084 1 snd_mpu401_uart
snd_seq_device 8456 2 snd_opl3_lib,snd_rawmidi
snd 59620 9 snd_als4000,snd_sb_common,snd_pcm,snd_opl3_lib,s
nd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 10816 1 snd
uhci_hcd 34096 0
usbcore 122116 3 uhci_hcd
agpgart 35436 2 intel_agp
evdev 9824 0
mousedev 10736 2
tsdev 7616 0
capability 4744 0
commoncap 7552 1 capability
libcrc32c 2912 0
crc_ccitt 2368 0
pppoe 15616 0
pppox 3976 1 pppoe
ppp_generic 32436 2 pppoe,pppox
slhc 7712 1 ppp_generic
psmouse 20616 0
ide_cd 43232 0
cdrom 41148 1 ide_cd
rtc 14184 0
reiserfs 255344 6
ext2 74536 0
ext3 129704 0
jbd 70584 1 ext3
mbcache 10340 2 ext2,ext3
ide_generic 1632 0
hpt366 23140 2
ide_disk 19648 9 hpt366
piix 13824 1
ide_core 142556 5 ide_cd,ide_generic,hpt366,ide_disk,piix
sd_mod 22144 0
ata_piix 8388 0
libata 42116 1 ata_piix
scsi_mod 127972 2 sd_mod,libata
unix 31156 60
font 8544 0
vesafb 6880 0
cfbcopyarea 4096 1 vesafb
cfbimgblt 3264 1 vesafb
cfbfillrect 4000 1 vesafb
ifup eth0
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.
/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.31
netmask 255.255.255.0
auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider
# please do not modify the following line
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.31
netmask 255.255.255.0
auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider
# please do not modify the following line
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf