linjiang_82 发表于 2003-5-13 12:00:03

thers is no nls-cp936.o and nls-gb2312.o
then what should i do and they will appear????

linjiang_82 发表于 2003-5-13 16:28:11

问题解决了,但不知道原因
我编译内核的时候,没有按照《内核编译简法》所说的把/usr/src/linux/arch/i386/kernel下的baImage改名复制到/boot下,其他的几个文件像System。map等也是没考过去,而是在make modules_install之后运行了make install,但我查看了一下,好象文件也复制过去了,而且直接就把/grub/grub.conf修改了,省去了好多事(大概也就是这一点导致了下面的问题),然后重新引导,装好显卡驱动,但是装声卡驱动的时候(alsa0.93)在make的时候最后会出错,最后在modprobe snd-via82xx的时候就会出现我前面所说的问题.
今天我把那个/usr/src/linux-2.4.20下的System.map考过去(原来的那个System.map是指向System-2.4.20.map,大小跟/usr/src/linux-2.4.20下一样大),再装声卡驱动的时候,结果竟然没报错,当然也就可以出声了,觉得很奇怪,请高手给分析分析,为什么会这样???谢谢

Dragonfly 发表于 2003-5-13 21:31:09

yes, make install will do this copy work.
but system.map should not have relationship with u problem.

linjiang_82 发表于 2003-5-14 12:24:04

但不对呀,我确实是把system.map考过去之后,才能正确安装声卡驱动的,否则都会在make的时候出错

Dragonfly 发表于 2003-5-14 21:30:51

can u post u make error here?

linjiang_82 发表于 2003-5-16 14:23:57

不好意思,因为后来给弄好了,所以,错误信息考不出来了,以后再编译完内核,装声卡驱动的时候我再贴上来吧

Dragonfly 发表于 2003-5-16 21:33:25

ok, good luck

amelie 发表于 2003-5-26 14:45:15

我也是新编译的2.4.20的内核,也出现了第一个错误。
按照Dragonfly的意见修改了以后,第一次启动是,的确没有什么错误了
但是第二次启动时又报了相同的错误,
后来重新编译了一遍内核,启动时还是有那个错误,
是什么原因哪??

Dragonfly 发表于 2003-5-26 21:31:45

我也是新编译的2.4.20的内核,也出现了第一个错误。
按照Dragonfly的意见修改了以后,第一次启动是,的确没有什么错误了
但是第二次启动时又报了相同的错误,
后来重新编译了一遍内核,启动时还是有那个错误,
是什么原因哪??

what error? usb error? u still do what i said in the post. if u first reboot is ok, and the second reboot wrong, then what u do bettwen two reboot? and u 2.4.20 is the vanilla 2.4.20 or rh 2.4.20-x?

amelie 发表于 2003-5-26 21:41:57

rh8.0.没有做什么啊。
promod error。也是关于usb的,后来在内核中按照你说的把内核中usb部分y改成m选项。启动后是好的,后来启动时就还出现原来的那个错误。后来干脆重新编译一遍内核,但还是那个错误。为什么哪???

Dragonfly 发表于 2003-5-26 21:58:52

promod error? what u mean? can u post the original output here?

amelie 发表于 2003-5-26 22:12:58

呵呵,刚才写错了
大体是这样的:
initializing usb XXX: modprobe,can't locate module XXX
XXX大概有keydev,mousedev,hid等等。
反正都是关于usb的大概有四五条提示吧。

Dragonfly 发表于 2003-5-26 22:26:08

what kernel version u use? use "uname -r' to see.
then do u have usbxx.o module in /lib/module/<u kernel version>/kernel/drivers/usb

amelie 发表于 2003-5-26 22:34:13

我装的rh8.0,是2.4.18-14的内核,现在这个错误是在升级到2.4.20时编译内核出现的错误。
我看了看/lib/module/2.4.20/kernel/drivers/usb里面只有三项storge,uhci.o,
usbcore.o
在选这部分时,出来把原来的y换为m外,没有做任何其他的改动。

Dragonfly 发表于 2003-5-26 22:41:10

then u also need choose other as M not Y. a simple way is to choose all under USB as M, neither Y nor N.
then modules and modules_install it. u will be fine.
页: 1 2 [3] 4
查看完整版本: 新编译的内核能启动了,但是还有好多问题