找回密码
 注册
查看: 2688|回复: 24

较严重的问题,Kmix为何运行不起来? (已解决)

[复制链接]
发表于 2009-11-21 11:06:27 | 显示全部楼层 |阅读模式
kmix 无法运行,终端没给出任何错误提示。另外兼容内核版本有5个包会存在依赖断链。

解决方法,降级udev

http://ftp.magiclinux.org.cn/haulm/fix/

下载运行到目录中执行

rpm -Uvh *.rpm --force


[ 本帖最后由 haulm 于 2009-11-25 00:34 编辑 ]
 楼主| 发表于 2009-11-21 11:14:29 | 显示全部楼层
# alsamixer
cannot open mixer: 没有那个文件或目录
[root@MagicLinux ~]# mixer
bash: mixer: command not found
[root@MagicLinux ~]# alsacard
Open error: No such file or directory
0[root@MagicLinux ~]#
Setting default volumes...
amixer: Mixer attach default error: No such file or directory
Saving the mixer setup used for this in /etc/asound.state.   
/sbin/alsactl: save_state:1502: No soundcards found...

[ 本帖最后由 haulm 于 2009-11-21 11:17 编辑 ]
回复

使用道具 举报

发表于 2009-11-22 21:38:38 | 显示全部楼层
兼容内核版本的kernel-uni-alsa有问题,自己用alsa-driver包编译一个吧。仓库里有。
回复

使用道具 举报

 楼主| 发表于 2009-11-23 00:59:19 | 显示全部楼层
问题是编译alsa-driver会被告知内核已经编译了alsa模块而拒绝编译下去。
回复

使用道具 举报

发表于 2009-11-23 08:34:57 | 显示全部楼层
rpm -e kerenl-uni-alsa,然后再编译试试。不应该出现这种情况才对。
回复

使用道具 举报

 楼主| 发表于 2009-11-23 11:06:36 | 显示全部楼层
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... yes
checking for kernel version... 2.6.30.9-uni
checking for GCC version... Kernel compiler: gcc 4.4.0 20090506 (Magic 4.4.0-5) (GCC)  Used compiler: gcc (GCC) 4.4.0 20090506 (Magic 4.4.0-5)
checking for built-in ALSA... yes
configure: error: You have built-in ALSA in your kernel.
error: Bad exit status from /var/tmp/rpm-tmp.rScbm7 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.rScbm7 (%build)
[root@MagicLinux SPECS]# rpm -qa|grep alsa
alsa-oss-1.0.17-2mgc25.i686
alsa-lib-1.0.21a-1mgc25.i686
alsa-firmware-1.0.20-1mgc25.i686
bluez-alsa-4.53-1mgc25.i686
alsa-utils-1.0.21-1mgc25.i686
回复

使用道具 举报

发表于 2009-11-23 11:28:30 | 显示全部楼层
奇怪了,这个提示是说内核中编译进了ALSA,而不是做为模块编译的,看来.config有问题。
有个地方的配置有问题。编译服务器上的kernel-uni已经改过来了。
回复

使用道具 举报

 楼主| 发表于 2009-11-23 18:53:16 | 显示全部楼层
虽然解决了alsa-driver无法编译的问题,但是alsa-driver仍然无法驱动声卡。
回复

使用道具 举报

 楼主| 发表于 2009-11-23 19:26:01 | 显示全部楼层
能否打包一个2.6.30.7,我找不到旧源码了。

2.6.30.8 更新日志中有关于alsa的记载
ALSA: cs46xx - Fix minimum period size
   
    commit 6148b130eb84edc76e4fa88da1877b27be6c2f06 upstream.
   
    Fix minimum period size for cs46xx cards. This fixes a problem in the
    case where neither a period size nor a buffer size is passed to ALSA;
    this is the case in Audacious, OpenAL, and others.
   
    Signed-off-by: Sophie Hamilton <[email protected]>
    Signed-off-by: Takashi Iwai <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>

commit 5bed4ac47c46cb9425ec1afb090ea3fed2017cbc
Author: Jan Kara <[email protected]>
Date:   Thu Jun 18 12:33:16 2009 +0200

[ 本帖最后由 haulm 于 2009-11-23 19:41 编辑 ]
回复

使用道具 举报

发表于 2009-11-23 21:44:51 | 显示全部楼层
不会吧,你的声卡是什么的?
回复

使用道具 举报

 楼主| 发表于 2009-11-23 22:06:43 | 显示全部楼层
Realtek_HDAudio,31内核有权限问题,30.9内核无声,原30.7是正常的。但奇怪的是我自己压制过的ISO混合了30.9和30.7没来得及清掉的内核附件包是有声的,这个ISO现在我也删掉了,已证明和uni补丁无关,是否重新打个30.7的内核。

[ 本帖最后由 haulm 于 2009-11-23 22:09 编辑 ]
回复

使用道具 举报

发表于 2009-11-24 08:37:31 | 显示全部楼层
30.7正常?重新打一个没有问题的,不过原因在哪里呢。
回复

使用道具 举报

 楼主| 发表于 2009-11-24 10:06:04 | 显示全部楼层
最近的内核引发的问题都很奇怪。
回复

使用道具 举报

发表于 2009-11-24 10:23:24 | 显示全部楼层
编译服务器上已经打了2.6.30.7了。
回复

使用道具 举报

发表于 2009-11-24 11:11:06 | 显示全部楼层
可能是驱动需要加参数,我的F41就需要加参数才能出声。
加错了都会出问题。

另外,HD驱动要看具体的codec芯片型号,realtek的codec型号特别多,而且厂家不同型号相同驱动都有差别……
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-2-7 04:08 , Processed in 0.031082 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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