linux eth0 device not found,mini2440的nfs文件系统挂不上问题“IP-Config: Device `eth0' not found”...

朱慈
2023-12-01

各位大师!

我用mini2440开发板挂载nfs的文件系统,内核打印信息提示“IP-Config: Device `eth0' not found”,我的nfs服务无法完成

一下是我的网络配置

u-boot里配置--

#define CONFIG_BOOTARGS        "console=ttySAC0 root=/dev/nfs nfsroot=192.168.0.101:/opt/s3c2440/root_nfs  ip=192.168.0.99:192.168.0.101:192.168.0.1:255.255.255.0:www.sansung.com:eth0:off"

我的windons网络 192.168.1.70    255.255.255.0 192.168.1.1  dns = 192.168.1.1

我的linux网络     192.168.1.101 255.255.255.0 192.168.1.1  dns = 192.168.1.1

内核通过串口打印的信息为

DRAM:  64 MB

Flash:  2 MB

NAND:  64 MiB

*** Warning - bad CRC, using default environment

In:    serial

Out:   serial

Err:   serial

Hit any key to stop autoboot:  0

dm9000 i/o: 0x20000000, id: 0x90000a46

MAC: 00:80:00:80:00:80

could not establish link

TFTP from server 192.168.1.70; our IP address is 192.168.1.99

Filename 'uImage'.

Load address: 0x32000000

Loading: checksum bad0000, irq 33dress 0x1

checksum bad

#################################################################hannel 1 at c4800040, irq 343c2440-i2c: bus frequency set to

#################################################################at c4800080, irq 35 OUT_ENDP

s3c

#################################################################i

S3C244

#################################################################

usbcore: registered new interf

#####################################################

CPU0:

s3c2410-wdt s3c2410-wdt: watchd

done

Bytes transferred = 1599556 (186844 hex)driver hubtes, associativity 64, 32 byte

## Booting image at 32000000 ...

Image Name:   Linux-2.6.26.5

usbcore: registered new d

Load Address: 30008000

drivers/

Entry Point:  30008000pen rtc device (rtc0)s: 1

Verifying Checksum ... OK

OK

Starting kernel ...h table entries: 20

Uncompressing Linux.............................................................

.......................................... done, booting the kernel.able entries: 2048 (order: 1, 8192 byte

Linux version 2.6.26.5 (root@localhost.localdomain) (gcc version 3.4.1) #3 Fri Ns

Root-NFS

io sch

ov 27 10:43:18 CST 2009e mounting /opt/s

S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz

1f02       2048 mtdblock2 (driver?)

S3C24XX Clocks, (c) 2004 Simtec Electronics

s3c2440-uart.1: s3c2410_serial1 at

CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL onpport

CPU0: D VIVT write-back cache

S3C24XX DMA

CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 setst.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440

CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets

DMA c

DRAM:  64 MB800000, irq

Flash

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)evision: 1.90 $ 4 ports, IRQ s

Memory: 64MB = 64MB total

Memory: 61476KB available (2932K code, 301K data, 140K init)#############################MB###

Mount-cache hash table entries: 512

s3c2440-i2

CPU: Testing write buffer coherency: okKHzq

net_namespace: 192 bytesis

Bytes transfer

NET: Registered protocol family 16

S3C2410 Power Management, (c) 2004 Simtec Electronicse at 32000000 ...1 at MMI24X

S3C2440: Initialising architecture

drivers/rtc

S3C2440: IRQ Support open rtc device (rt

S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics

OK##

Starting kernel ... Driver, (c) 2004 S

DMA channel 0 at c4800000, irq 33comp

IP-Config: Device `eth

DMA channel 1 at c4800040, irq 3

ov 27 10:43:

U-B

TCP established hash table entries: 2048 (order: 2, 16384 bytes)ck

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

Flash:  2 MB92.168.1.101

NAND:

TCP: Hash tables configured (established 2048 bind 2048)

ir

JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.

Err:   serial, (c) 2004 Si

msgmni has been set to 120utoboot:  0ble entries: 25

io scheduler noop registered

io scheduler anticipatory registered (default), id: 0x90000a46active, reset disa

io scheduler deadline registered

timer tcon=00500000

io scheduler cfq registered0:00:80:00:80200,00000000,

Console: switching to colour frame buffer device 30x40uld not establish linkCP cubic registeredcks,

fb0: s3c2410fb frame buffer device

TFTP from server 192.168.1.70;

lp: driver loaded but no devices found

ppdev: user-space parallel port driver 256

RPC

brd: module loaded

loop: module loadedi/o: 0x20000000, id

dm9000 Ethernet Driver, V1.30

Uniform Multi-Platform E-IDE driver

MAC: 0

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

could not establish link responding, tim

BAST NOR-Flash Driver, (c) 2004 Simtec

mount: server 19

Loading: checksum bad

)

s3c2410_nand_update_chip: chip c3dd4abc: 9

checksum badcsator V0.97

Scanning device for bad blocks##############################

Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":nfs32K code, 301K data,

0x00200000-0x00400000 : "kernel"

0x003c0000-0x00760000 : "Rootfs(YSFFS)"

Load Address: 30008000

0x03e00000-0x04000000 : "Homefs(YAFFS)"

NET: Regist

Entry

usbmon: debugfs is not availableons on "

s3c2410-ohci s3c2410-ohci: S3C24XX OHCIChecksum ... OK

s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter

S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics

s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled

TCP cubic registered

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

IP-Config: Device `eth0' not found.

Looking up port of RPC 100003/2 on 192.168.1.101

rpcbind: server 192.168.1.101 not responding, timed out

Root-NFS: Unable to get nfsd port number from server, using default

Looking up port of RPC 100005/1 on 192.168.1.101

rpcbind: server 192.168.1.101 not responding, timed out

Root-NFS: Unable to get mountd port number from server, using default

mount: server 192.168.1.101 not responding, timed out

Root-NFS: Server returned error -5 while mounting /opt/s3c2440/root_nfs

VFS: Unable to mount root fs via NFS, trying floppy.

VFS: Cannot open root device "nfs" or unknown-block(2,0)

Please append a correct "root=" boot option; here are the available partitions:

1f00       2048 mtdblock0 (driver?)

1f01       3712 mtdblock1 (driver?)

1f02       2048 mtdblock2 (driver?)

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

遇到个问题需要大家帮忙分析,分析,摆脱大家了!!!!!!

 类似资料: