龙芯开源社区

 找回密码
 注册新用户(newuser)
查看: 64887|回复: 13

plugging in an ethernet cable causes the lemote mini to freeze

  [复制链接]
发表于 2008-10-23 23:56:21 | 显示全部楼层 |阅读模式
i just got the lemote mini a few days ago, and i am unable to use the ethernet with it.

the machine boots into vmlinux-2.6.18.1-fl-v1.01

when i connect an ethernet cable then it tries to activate the interface and then freezes with an error:
Irq 37: nobody cared (try booting with the "irqpoll" option)

i tried setting this irqpoll option, but it did not help.

dpkg -l "*linux*";
claims that the installed kernel is 2.6.23-2.rays3 but there is only a directory for it in /lib/modules. the actual kernel file in /boot is missing. i found that package on http://rays.openrays.org/RAYS_Lo ... -2.rays3_mipsel.deb and installed it by copying it via an usb disk. this kernel however does not boot at all.

how can i get the ethernet working?

greetings, eMBee.

[ Last edited by eMBee at 2008-10-23 23:57 ]
发表于 2008-10-24 02:30:04 | 显示全部楼层
wget ftp://www.bjlx.org.cn/loongson2f/lenny/kernel/linux-image-2.6.18.8-loongson2f-v1.02c_2.6.18.8_mipsel.deb
dpkg -i linux-image-2.6.18.8-loongson2f-v1.02c_2.6.18.8_mipsel.deb
 楼主| 发表于 2008-10-24 02:51:21 | 显示全部楼层
thank you.
unfortunately this one does not boot either. it stops after loading the initrd image.

greetings, eMBee.
发表于 2008-10-24 16:36:45 | 显示全部楼层
Do not use initrd in boot.cfg
try  commenting it out
 楼主| 发表于 2008-10-24 18:06:17 | 显示全部楼层
thank you, removing the initrd makes the kernel boot.

this kernel also freezes when i plug in the cable into eth3 (the port on the edge, renamed from eth0)

however now the second network interface gets activated (it didn't before), and it does not freeze when i use the other port (next to the monitor plug, eth4, renamed from eth1)

i can now successfully ping the machine and also ping from the machine to others. but i can not create any TCP connection. ssh or telnet hang and then exit with a "Connection timed out".

greetings, eMBee.
发表于 2008-10-24 19:44:07 | 显示全部楼层
pmon1.25a fix the initrd bug。
发表于 2008-10-26 17:56:48 | 显示全部楼层
so you mean you get a 6002? with dual gigabyte ethernet port?
I have forwarded your question to related engineers
发表于 2008-10-26 18:47:05 | 显示全部楼层
cat  /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.


# PCI device 0x10ec:0x8169 (r8169)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:1d:92:58:01:16", NAME="eth1"

# PCI device 0x10ec:0x8169 (r8169)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:1d:92:58:01:17", NAME="eth0"

# USB device 0846:1040 (asix)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:09:5b:e0:72:c8", NAME="eth2"
 楼主| 发表于 2008-10-27 12:23:53 | 显示全部楼层
yes, it's a 6002 (just found that number on the bottom)

thank you!

greetings, eMBee.
 楼主| 发表于 2008-10-31 20:23:10 | 显示全部楼层
i just got a second machine, and here the network works. however there seem to be some strange events related to usb. i'll be investigating....

greetings, eMBee.

本版积分规则

小黑屋|手机版|Archiver|Lemote Inc.  

GMT+8, 2019-1-21 21:36 , Processed in 0.195832 second(s), 18 queries .

快速回复 返回顶部 返回列表