|
发表于 2005-1-26 18:14:34
|
显示全部楼层
[quote:2f8f091c00="llc"]
对了,还可以这样
启动时别启动alsasound服务,但启动syslog服务,进入系统后,执行
service alsasound restart
看会不会在Starting alsasound那里停住,如果停住,就等上一段时间中断它,然后将/var/log/message里最后那些信息帖出来看看[/quote]
运行service alsasound start显示:
ALSA driver is already running.
第一次运行service alsasound restart显示:
[code:1]Shutting down sound driver: done
Starting sound driver: snd-emu10k1 done[/code:1]
但是没有返回。
但是按CTRL-C不能停止。
运行ps aux | grep alsasound有如下信息:
[code:1][root@Trainer ~]# ps aux | grep alsasound
root 2857 0.0 0.4 5304 1124 pts/1 S 18:21 0:00 /bin/sh /sbin/service alsasound restart
root 2860 0.0 0.4 5348 1196 pts/1 S 18:21 0:00 /bin/bash /etc/init.d/alsasound restart
root 3006 0.0 0.4 5352 1224 pts/1 S 18:21 0:00 /bin/bash /etc/init.d/alsasound start
root 3061 0.0 0.4 5352 1240 pts/1 S 18:21 0:00 /bin/bash /etc/init.d/alsasound start
root 3105 0.0 0.2 4780 692 pts/2 R 18:22 0:00 grep --color=always alsasound[/code:1]
似乎进程都没有退出。
等待一段时间后关闭KDE的终端,再次运行service alsasound restart显示
[code:1][root@Trainer ~]# service alsasound restart
Shutting down sound driver: ERROR: Module snd_seq_oss is in use
ERROR: Module snd_seq_midi_event is in use by snd_seq_oss
ERROR: Module snd_seq is in use by snd_seq_oss,snd_seq_midi_event
ERROR: Module snd_timer is in use by snd_seq
ERROR: Module snd_seq_device is in use by snd_seq_oss,snd_seq
ERROR: Module snd is in use by snd_seq_oss,snd_seq,snd_timer,snd_seq_device
done
ALSA driver is already running.
[root@Trainer ~]#
[/code:1]
此时运行ps aux | grep alsasound显示
[code:1][root@Trainer ~]# ps aux | grep alsasound
root 3264 0.0 0.2 4780 696 pts/2 S 18:27 0:00 grep --color=always alsasound
[/code:1]
表明进程都结束了。
两次过程查看/var/log/里面的文件都没有相关内容的错误提示。
会不会是脚本有问题呢? |
|