zhongjiezhe 发表于 2004-12-27 09:42:48

config-network无法激活网络设备eth0怎么办?

系统提示
3c501 device etho does not seem to be present,delaying initialization.
清高手指点!

Bluedata 发表于 2004-12-27 10:00:42

都说了驱动没有发现了,那就装驱动嘛。

zhongjiezhe 发表于 2004-12-27 10:04:26

我的网卡是主板集成的(映泰),是不是在linux下装主板驱动?

Bluedata 发表于 2004-12-27 10:13:43

还没问你是什么发行版,3c501 这种芯片的卡应该都能支持的。
可能只是 alias 的问题。

zhongjiezhe 发表于 2004-12-27 10:23:45

我是一个菜鸟,请你详细的讲解一下什么是alias的问题?我不是很清楚!~谢谢啦!

Bluedata 发表于 2004-12-27 11:12:59

先说发行版。
如果是 Redhat,你可以在 /etc/modules.conf 中加入
alias eth0 3c501

zhongjiezhe 发表于 2004-12-27 11:56:47

我刚才进入etc/modules.conf 中发现文件当中已经有alias eth0 3c501
而且刚才我在我同学的机子上试验了一下,他的机子的eth0也是不活跃的,但是点击激活按钮后就可以活跃了(他是华硕的主板),
还有一个同学的主板和我的型号一样的也是映泰的主板,也是和我一样的问题?怎么回事,是不是和主板的型号有问题?

Bluedata 发表于 2004-12-27 12:26:52

先试试 modprobe 3c501
不行再把 /etc/sysconfig/network-scripts/ifcfg-eth0 贴出来看看。

zhongjiezhe 发表于 2004-12-27 13:34:58

我已经贴出来了,请帮忙看一下!
# modprobe 3c501
/lib/modules/2.4.20-8/kernel/drivers/net/3c501.o: init_module: Input/output error
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

      You may find more information in syslog or the output from dmesg

/lib/modules/2.4.20-8/kernel/drivers/net/3c501.o: insmod /lib/modules/2.4.20-8/kernel/drivers/net/3c501.o failed
/lib/modules/2.4.20-8/kernel/drivers/net/3c501.o: insmod 3c501 failed

#


/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0

ONBOOT=yes

BOOTPROTO=none

IPADDR=222.20.19.227

NETMASK=255.255.255.0

GATEWAY=222.20.19.254

TYPE=Ethernet

USERCTL=no

PEERDNS=no

NETWORK=222.20.19.0

BROADCAST=222.20.19.255

Bluedata 发表于 2004-12-27 14:39:15

insmod 已经失败了,dmesg | more 看看网卡那部分内容先。

zhongjiezhe 发表于 2004-12-27 17:32:10

不是很清楚你的意思?是在终端输入dmesg | more 吗?还是~~~~~不好意思,我是菜鸟,对linux还是初级认识阶段,请你能不能详细的解释一下!

zhongjiezhe 发表于 2004-12-28 09:09:27

怎么没有人回答我的问题呀? :roll::roll::roll::?:

sutie 发表于 2004-12-28 09:34:26

是在终端输入dmesg | more

zhongjiezhe 发表于 2004-12-29 09:54:04

在终端输入dmesg | more ,输出的结果如下,请各位高手帮我检查一下:
# dmesg|more

Linux version 2.4.20-8 ([email protected]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar

13 17:18:24 EST 2003
BIOS-provided physical RAM map:

BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)

BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)

BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)

BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)

BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)

BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)

BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)

BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)

BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)

0MB HIGHMEM available.

255MB LOWMEM available.

On node 0 totalpages: 65520

zone(0): 4096 pages.

zone(1): 61424 pages.

zone(2): 0 pages.

Kernel command line: auto BOOT_IMAGE=linux ro BOOT_FILE=/boot/vmlinuz-2.4.20-8 root=LABEL=/

Initializing CPU#0

Detected 1830.007 MHz processor.

Console: colour VGA+ 80x25

Calibrating delay loop... 3643.80 BogoMIPS

Memory: 252988k/262080k available (1312k kernel code, 6660k reserved, 996k data, 128k init, 0k highmem)

Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072

bytes)

Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)

CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)

CPU: L2 Cache: 512K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on

CPU#0.

CPU:   After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU:             Common caps: 0383fbff c1c3fbff 00000000

00000000
CPU: AMD Athlon(tm) XP 2500+ stepping 00

Enabling fast FPU save and restore... done.

Enabling unmasked SIMD FPU exception support... done.

Checking 'hlt' instruction... OK.

POSIX conformance testing by UNIFIX

mtrr: v1.40 (20010327) Richard Gooch ([email protected])

mtrr: detected mtrr type: Intel

PCI: PCI BIOS revision 2.10 entry at 0xfb4d0, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using

IRQ router default at 00:00.0

isapnp: Scanning for PnP cards...

isapnp: No Plug & Play device found

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)

Starting kswapd

VFS: Disk quotas vdquot_6.5.1

pty: 2048 Unix98 ptys configured

Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled

ttyS0 at 0x03f8 (irq = 4) is a 16550A

ttyS1 at 0x02f8 (irq = 3) is a 16550A

Real Time Clock Driver v1.10e

FDC 0 is a post-1991 82077

NET4: Frame Diverter 0.46

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta

-2.4

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

NFORCE2: IDE controller at PCI slot 00:09.0
NFORCE2: chipset revision 162

NFORCE2: not 100% native mode: will probe irqs later

ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA

ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA

hda: Maxtor 6Y080P0, ATA DISK drive

blk: queue c03be900, I/O limit 4095Mb (mask 0xffffffff)

hdc: Pioneer DVD-ROM ATAPIModel DVD-120, ATAPI CD/DVD-ROM drive

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 160086528 sectors (81964 MB) w/7936KiB Cache,

CHS=9964/255/63, UDMA(33)
ide-floppy driver 0.99.newide

Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 >

ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27

md: Autodetecting RAID arrays.
md: autorun ...

md: ... autorun DONE.

NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)

Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

RAMDISK: Compressed image found at block 0

Freeing initrd memory: 145k freed

VFS: Mounted root (ext2 filesystem).

Journalled Block Device driver loaded

kjournald starting.Commit interval 5 seconds

EXT3-fs: mounted filesystem with ordered data mode.

Freeing unused kernel memory: 128k freed

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Setting latency timer of device 00:02.0 to 64
usb-ohci.c: USB OHCI at membase 0xd0849000, IRQ 5

usb-ohci.c: usb-00:02.0, PCI device 10de:0067 (nVidia Corporation)
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected

PCI: Setting latency timer of device 00:02.1 to 64

usb-ohci.c: USB OHCI at membase 0xd084b000, IRQ 11

usb-ohci.c: usb-00:02.1, PCI device 10de:0067 (nVidia Corporation)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found

hub.c: 3 ports detected

PCI: Setting latency timer of device 00:02.2 to 64
ehci-hcd 00:02.2: PCI device 10de:0068 (nVidia Corporation)
ehci-hcd

00:02.2: irq 5, pci mem d0853000

usb.c: new USB bus registered, assigned bus number 3

PCI: 00:02.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:02.2 PCI cache line size corrected to 64.

ehci-hcd 00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22

hub.c: USB hub found

hub.c: 6 ports detected

usb.c: registered new driver hiddev

usb.c: registered new driver hid

hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[email protected]>
hid-core.c: USB HID support drivers

mice: PS/2 mouse device common for all mice

EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,10), internal journal

Adding Swap: 522072k swap-space (priority -1)

kjournald starting.Commit interval 5 seconds

EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,9), internal journal

EXT3-fs: mounted filesystem with ordered data mode.

MSDOS FS: IO charset cp936
MSDOS FS: IO charset cp936
MSDOS FS: IO charset cp936

MSDOS FS: IO charset cp936

ip_tables: (C) 2000-2002 Netfilter core team

divert: not allocating divert_blk for non-ethernet device eth0

divert: no divert_blk to free, eth0 not ethernet
parport0: PC-style at 0x378
lp0: using parport0 (polling).
lp0: console ready

ide-floppy driver 0.99.newide
hdc: ATAPI 40X DVD-ROM drive, 256kB Cache, UDMA(33)

Uniform CD-ROM driver Revision: 3.12

cdrom: This disc doesn't have any tracks I recognize!

#

zhongjiezhe 发表于 2004-12-30 18:24:27

为什么没有人回答我的问题?请大家帮帮忙!~急切盼望着解决方法!~
页: [1] 2
查看完整版本: config-network无法激活网络设备eth0怎么办?