QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 816|回复: 7

请教:内核编译以后声卡的问题!

[复制链接]
发表于 2003-5-26 17:31:23 | 显示全部楼层 |阅读模式
请教有关内核编译后声卡的问题
我重新编了内核,把声卡那一项只选了支持声卡,后面的全都去掉了,本来想装oss的声卡驱动的,结果出现了如下的错误信息:
Checking for any previously installed sound drivers... It looks like the sound driver is linked in the kernel you are currently executing.
You should configure recompile the kernel without the built in sound driver and to
reboot before trying to install OSS/Linux again


Error: OSS cannot be installed because there is another sound driver loaded.
Driver 'sound' has registered the sound device (character major 14) for itself.

You seem to have OSS/Free statically linked into kernel.
You need to reconfigure and reinstall the kernel
with sound support disabled.
想请教一下各位,是什么原因?
我用的是redhat9,在编译内核前是能装上oss声卡驱动的
发表于 2003-5-26 17:50:08 | 显示全部楼层
我的也有上面的问题,我用的是xteam,用7.0的时候没有这个问题,正在尝试中……
回复

使用道具 举报

 楼主| 发表于 2003-5-26 17:53:33 | 显示全部楼层
那你有没有试一下其他的驱动呢?
回复

使用道具 举报

发表于 2003-5-26 22:09:14 | 显示全部楼层
ok, choose that sound core as M not Y, then make bzImage, modules, module_install, reboot. and try again.
回复

使用道具 举报

 楼主| 发表于 2003-5-27 09:43:45 | 显示全部楼层
这倒是可以的,不过有点麻烦,又要重新进行makeconfig,需要半个小时左右,\有没有更简便的方法呢?能够就选这一个模块的,其他的不用管的呢?
回复

使用道具 举报

发表于 2003-5-27 10:01:38 | 显示全部楼层
after u make menuconfig, u need not do make mrproper and make clean,  then u should need several minutes only.
回复

使用道具 举报

 楼主| 发表于 2003-5-27 12:31:48 | 显示全部楼层
不知道这样行不行:
选择一个.config文件,也就是以前的那个,进行make xconfig,把所有的m都去掉,然后进行
make modules,这也是网上一篇文章所说的那样,但是好像不行啊,提示出错
make -r -f tmp_include_depends all
make[1]: Entering directory `/usr/src/linux-2.4.20-8'
make[1]: tmp_include_depends: 没有那个文件或目录
make[1]: *** No rule to make target `tmp_include_depends'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.4.20-8'
make: *** [tmp_include_depends] Error 2
你知道你的做法是什么?
make xconfig以后还有个make dep我也去掉了,不知道那个能不能去掉!
回复

使用道具 举报

发表于 2003-5-27 21:23:46 | 显示全部楼层
i never do that, i do not think that is a good way.
if u have compile kernel before and now u only change some minor from Y to M or M to Y, u only need  do make bzImage, modules, modules_install in most of the time. there is a post here have a good method to compile one module only, u can search, maybe in that "nei he bian yi jian fa".
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-6-16 04:25 , Processed in 0.057044 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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