Altera_Forum
Honored Contributor
19 years agoeth0 not found
I am trying to bring up the Ethernet interface of my DE2 board, but it keeps me showing "SIOCSIFADDR: No such device" when I ifconfig it.
I followed every step of the tutorial and I am using the uClinux-dist-test-20060511.tar.bz2 with only the uClinux-dist.diff.gz patch. Is there something wrong with this kernel? I am starting to think it could be a hardware problem, cause my board's ethernet connector leds do not turn on when I plug the network cable. Following are the system messages:Uncompressing Linux... Ok, booting the kernel.
Linux version 2.6.16-uc0 (root@localhost) (gcc version 3.4.6)# 7 PREEMPT Thu Aug
3 03:53:27 Local time zone must be set--see z
uClinux/Nios II
Altera Nios II support (C) 2004 Microtronix Datacom Ltd.
setup_arch: No persistant network settings signature at 003F0000
Built 1 zonelists
Kernel command line:
PID hash table entries: 64 (order: 6, 1024 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory available: 6600k/8192k RAM, 0k/0k ROM (1173k kernel code, 324k data)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
io scheduler noop registered
io scheduler deadline registered (default)
Serial: JTAG UART driver $Revision: 1.4 $
ttyJ0 at MMIO 0x80400830 (irq = 1) is a jtag_uart
dmfe_probe:eth0, 50000 Khz Nios
dmfe_probe: eth0 VID: 0x2B2A2928 .ne. 0x90000A46
NET: Registered protocol family 2
IP route cache hash table entries: 128 (order: -3, 512 bytes)
TCP established hash table entries: 512 (order: -1, 2048 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 224k freed (0x932000 - 0x969000)
Shell invoked to run file: /etc/rc
Command: hostname uClinux
Command: mount -t proc proc /proc
Command: mount -t sysfs sysfs /sys
Command: mount -t usbfs none /proc/bus/usb
mount failed: No such file or directory
Command: mkdir /var/tmp
Command: mkdir /var/log
Command: mkdir /var/run
Command: mkdir /var/lock
Command: mkdir /var/empty
Command: ifconfig lo 127.0.0.1
Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo
Command: cat /etc/motd
Welcome to
____ _ _
/ __| ||_|
_ _| | | | _ ____ _ _ _ _
| | | | | | || | _ \| | | |\ \/ /
| |_| | |__| || | | | | |_| |/
| ___\____|_||_|_| |_|\____|\_/\_/
| |
|_|
For further information check:
http://www.uclinux.org/
Execution Finished, Exiting
Sash command shell (version 1.1.1)
/> ifconfig eth0 192.168.254.11
SIOCSIFADDR: No such device Thanks