QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: lbohr

???? alsa-0.9.2 @ RedHat 9.0 ?

[复制链接]
发表于 2003-4-23 10:36:35 | 显示全部楼层
[quote:7faf30d9fa="llc"]刚刚在redhat内核2.4.20-9的源码目录下查了一下,内核源码里有两个地方用到这个schedule_work函数,按道理应该支持才对
drivers/message/fusion/mptscsih.h:      if (schedule_work(x) == 0) {    \
drivers/message/fusion/mptlan.c:                        schedule_work(&priv->post_buckets_task);
include/linux/workqueue.h:extern int FASTCALL(schedule_work(struct work_struct *work));

不知道你现在用的内核是不是自己编译的?如果用的还是rh9原装自带的2.4.18-8,试试将kernel-source rpm包用--force参数覆盖安装一遍,然后重新make alsa驱动[/quote]

from u post, i can not find where linux kernel implement this schedule_work(). and again redhat hack the linux kernel and back port this from 2.5.x kernel. my vanillia 2.4.20 kernel does not have this. even doesnot have this waitqueue.h.
回复

使用道具 举报

发表于 2003-4-23 10:37:58 | 显示全部楼层
[quote:4bcc612dd5="lbohr"]# ./configure --with-kernel=/usr/src/linux-2.4.20-8 --with-moddir=/lib/modules/2.4.20-8/kernel --with-sequencer=yes --with-cards=via82xx

checking for kernel module symbol versions... "yes"

#make
proceeding....

Thank u[/quote]

en? how u manage to get this?
回复

使用道具 举报

 楼主| 发表于 2003-4-23 11:05:04 | 显示全部楼层
in kernel src fold,as you said
make menuconfig
choose :enable all three options in load module support
save
make dep

but after make all,
modprobe snd-via82xx
the same problem:
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod snd-via82xx failed
回复

使用道具 举报

发表于 2003-4-23 11:25:46 | 显示全部楼层
[quote:22d4c22603="lbohr"]in kernel src fold,as you said
make menuconfig
choose :enable all three options in load module support
save
make dep

but after make all,
modprobe snd-via82xx
the same problem:
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod snd-via82xx failed[/quote]

i do not have rh9 at hand. i will try it asap and tell u why. i use gentoo and use vanilla kernel, it is so easy to get it work. and my rh8 on another desktop does not give me such pain.
回复

使用道具 举报

 楼主| 发表于 2003-4-23 15:52:45 | 显示全部楼层
http://www.mail-archive.com/[email protected]/msg07209.html
go back to 0.9.0rc6 for it to work properly

I try again with 0.9.6rc6,it work well
THanks
回复

使用道具 举报

发表于 2003-4-23 23:28:18 | 显示全部楼层
i test the alsa 092 on my rh 8.0 , no any problem.
a last try is to recompile the kernel, boot with new kernel, and try to compile alsa again. u can try that if u want. i do not find rh 9 till now.
回复

使用道具 举报

发表于 2003-4-24 06:05:17 | 显示全部楼层
i download a rh 9 kernel source on my rh8 and try to recompile it. it is a stupid kernel code. my customized config always fails in compilation. so u had better stay at 0.90 or download 0.92 rpm from freshrpm.net
回复

使用道具 举报

 楼主| 发表于 2003-4-24 18:36:29 | 显示全部楼层
谢谢你,做了这么多工作,我就用0.9.0rc6,不重编译内核了。
//bow
回复

使用道具 举报

发表于 2003-4-24 22:20:44 | 显示全部楼层
welcome. i just feel interested why my kernel works well while rh one has so many troubles.
回复

使用道具 举报

发表于 2003-4-24 23:31:23 | 显示全部楼层
rh9的内核确实问题多多,我在rh8下编译可以通过的摄影头驱动在rh9的内核下就是不行,错误情况和楼主的差不多,自己胡乱修改了一下后,可以驱动了,但几乎功能尽失,拍出的画面惨不认睹
回复

使用道具 举报

发表于 2003-4-24 23:42:50 | 显示全部楼层
i believe rh back port many linux 2.5.x patches to 2.4.20 while do not do enough test. so if u really want to use new functionalities, u can install a 2.5.66. that is stable enough.
回复

使用道具 举报

 楼主| 发表于 2003-4-25 07:26:35 | 显示全部楼层
看来不得不重新编译内核了,
不过刚看到,没有NV支持2。5的驱动
回复

使用道具 举报

 楼主| 发表于 2003-4-25 19:50:41 | 显示全部楼层
recompile kernel 2.4.20(tarball from www.kernel.org)
alsa-0.9.2 works now.
There are some bugs in kernel 2.4.20-8(RedHat 9.0)
回复

使用道具 举报

发表于 2003-4-25 22:30:57 | 显示全部楼层
[quote:368ea77bb7="lbohr"]recompile kernel 2.4.20(tarball from www.kernel.org)
alsa-0.9.2 works now.
There are some bugs in kernel 2.4.20-8(RedHat 9.0)[/quote]
this is what i want to recommend.      
回复

使用道具 举报

发表于 2003-4-26 19:26:06 | 显示全部楼层
RH9,自己编译的2.4.20内核.从 www.kernel.org 下载的官方的内核,不是RH自带的源代码.SB live 5.1

换了多个不同版本的alsa的驱动,编译都不通过,包括公社前天提供的rc5.
[code:1]configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
[/code:1]
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-17 23:58 , Processed in 0.035277 second(s), 12 queries .

© 2021 Powered by Discuz! X3.5.

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