Forum Discussion
Altera_Forum
Honored Contributor
20 years agoNetwork problems with 2.6.15.4 kernel
I'm trying to use Network with uClinux 2.6.15.4 kermel, however ETH0 interface refuses to come up.
* I built 2.6.15.4 kernel, including this patch.... http://forum.niosforum.com/forum/index.php...d=13274&st=45&# (http://forum.niosforum.com/forum/index.php?showtopic=3174&pid=13274&st=45&#) * The network device driver is SMC91111 Here's what happens when I try to bring up ETH0...# uname -a
uClinux ep2s60 2.6.15.4# 30 PREEMPT Fri Mar 10 15:46:06 EST 2006 nios2nommu unknown
# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
# ifup eth0
ifup: Ignoring unknown interface eth0
# ifconfig eth0 192.168.0.209 netmask 255.255.255.0
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
SIOCSIFNETMASK: No such device BTW, the ETH0 interface works perfectly with same config, but 2.6.x kernel. Can anyone suggest where to start?3 Replies
- Altera_Forum
Honored Contributor
Hi hootsmon,
Thank you for helping the tests of the new kernel. Please find the patch for Space.c in net.zip in post#1 of the guide. I didn't have dev board to test these drivers until I borrowed a 2C35 board last week. I will include these patches in next kernel update. - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Mar 10 2006, 04:43 PM please find the patch for space.c in net.zip in post#1 of the guide. --- Quote End --- Nice work hippo! Network problem is fixed now http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif - Altera_Forum
Honored Contributor
hi:
When I tested goahead web server in nios2 uclinux 2.6, I find a problem. It's goahead not run java applet, but in winbond arm7 uclinux it is running ok. Beacuse the java applet weill bind system ip to host pc IE. some times java pplet will bind lo ip:127.0,0.1, not the fact ip(eth0 ip).So nios2 uclinux not running java applet,because nios2 uclinux have lo ip and eth0 ip. Can I disable the lo ip in config?