xuehua 发表于 2003-4-10 09:32:26

IPv6的问题!急!

我需要把IPv6编译到内核中去,可是编译完之后重启的新内核有这样的问题:
mount usb filesystem   :failed
initializing usb hid interface :failed
initializing usb keyboard:failed
initializing usb mouse :failed
bringing up interface eth0: failed

可是在我编译的时候并没有改有关usb的项,只是把有关ipv6得项选上:
Code maturity level options:prompt for development and/or incomplete code/drivers   yes
networking options: The Ipv6protocol    yes
我只改了这两项,就出现了以上的问题,还有现在不能激活网卡了,也不能配置ip地址,又没有人在linux下做过ipv6的帮个忙好吗?很急!还有我下一步要把ipv6主机配成路由器,谁有这方面的资料请推荐一下!


我用的是rh8,现在有关这方面的资料都是rh6的,最好是新资料!

surfingbean 发表于 2003-4-10 09:51:06

i don't know much about ipv6. but why don't u look carefully again at ur kernel configurations about usb and net card?
u never know if there's something wrong.
and it seems to me that you need more than that for ipv6.
in fact i'm learn the kernel compiling and ipv6 too. not yet an expert, just some advices.

Dragonfly 发表于 2003-4-10 10:23:37

xuehua, have u ever compile that kernel code before? if not, then that kernel config is still a default one. and u need choose many. u had better check currently used modules list, and check u hardware before u do this.

recompile kernel is like reinstalling u windows. for windows, check u hardware in device manager and make sure u can find all driver code. then go further, otherwise u will find that u can not use this or that. so for linux. u also need do similar work.

xuehua 发表于 2003-4-10 11:09:26

cheungming 你的意思是在编译内核时除了一些你要加的选项之外,还要把所有你要用的东西在重选一编吗?可是有些是默认的呀,还要在重来吗?我以为只要加上你要添的就可以了,这样不行吗?

Dragonfly 发表于 2003-4-10 11:13:52

no, i mean if u do not compile the kenel before. then the config file in u kernel code does not reflect u current running configuration. so u need to check it again to see if all u need are choosed.

xuehua 发表于 2003-4-10 11:35:45

你的意思是如果从来没有编译过内核,那么现有的内核是默认的,就要根据自己的需要重选一遍,就象重装一遍一样吗?

llc 发表于 2003-4-10 12:28:58

这样,如果你以前没自己编译过内核,直接make xconfig时用的是一个默认的config,但不是你现在所用内核的config,老实说,这个默认的config是个垃圾,千万别完全照着它的配置编译
真正的你现在所用内核的配置config是在/usr/src/your kernel SOUCE/configs目录下,相应你现在所用CPU体系的.config文件

surfingbean 发表于 2003-4-10 12:44:55

呵呵。觉得这个设置也远非最优。看来还得自己配。

xuehua 发表于 2003-4-10 12:51:20

噢,原来是这样,怪不得,原来我用的是垃圾,没办法只好在重来了,谢谢了!
页: [1]
查看完整版本: IPv6的问题!急!