Bug 209619

Summary: Yast having serious problems with sound setup
Product: [openSUSE] SUSE Linux 10.1 Reporter: Marian Kechlibar <inglor>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: 32bit   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Yast 2 Logs

Description Marian Kechlibar 2006-10-03 11:00:19 UTC
I have a built-in sound card CMI. Yast and Yast2 with the original module yast2-sound-2.13.9 was unable to set the card properly and permanently.

Bought a Creative Labs Sound Blaster Audigy, added to the system. Problems worsened, Yast and Yast2 froze during startup of the cards.

Upgraded yast2-sound to version 2.13.15-3 from a RPM foung on http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/i586/

Now, each attempt to start Sound configuration in Hardware section will end up by SIGSEGV. The error message:

yast: /sbin/yast: line 233: 10464 Neoprávněný přístup do paměti (SIGSEGV)                     $ybindir/y2base menu ncurses $NCTHREADS

yast2: Segmentation fault at sound/routines.ycp:3
/sbin/yast2: line 233: 10512 Neoprávněný přístup do paměti (SIGSEGV)                     $ybindir/y2base $module "$@" qt "$Y2_GEOMETRY" $Y2QT_ARGS
Comment 1 Christian Boltz 2006-10-03 17:33:36 UTC
(In reply to comment #0)
> Upgraded yast2-sound to version 2.13.15-3 from a RPM foung on
>http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/i586/

Using Factory packages on 10.1 is a very bad idea. Please re-install the original 10.1 package(s).

If you still have problems, please attach the y2logs (see http://en.opensuse.org/Bugs/YaST )
Comment 2 Marian Kechlibar 2006-10-04 08:05:16 UTC
Reverted yast2-sound back to the original version. See the description of the bugs below.

BTW Cannot find it now, but I believe that installation of a newer yast sound module was suggested in some online forum by a Czech user whose name reminded me of some Czech branch Suse employee (I happen to personally know a lot of them). To tell the truth, he never indicated to take the package from the Factory - in fact, he did not indicate any source for them at all.

As for the bugs: 

I have two soundcards, CMI-8738 on the motherboard and Audigy 4 in a PCI slot. 

When I start Yast sound setup, I can setup the Audigy correctly as snd-card-0, and I can delete the other card (which I do not want to use). I can even play the loudness setting sound during the setting. But when I try to save these settings and click Finish, the saving freezes in 60% (startup of the sound card). I have to kill the frozen app then.

When I restart Yast sound setup after killing the frozen app, the Audigy card seems to be setup correctly and the CMI seems to be inactive - correctly, too.

But no sound can be played by the user, programs like mplayer and realplayer end up in message "cannot open audio device" etc. Root can play sounds and use mplayer and realplayer without problems.

On recommendation of a friend, I tried to add the user to group audio, to no avail. I haven't changed any access rights manually. What should I do to be able to play music as a normal user?

(In reply to comment #1)
> (In reply to comment #0)
> > Upgraded yast2-sound to version 2.13.15-3 from a RPM foung on
> >http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/i586/
> 
> Using Factory packages on 10.1 is a very bad idea. Please re-install the
> original 10.1 package(s).
> 
> If you still have problems, please attach the y2logs (see
> http://en.opensuse.org/Bugs/YaST )
> 

Comment 3 Marian Kechlibar 2006-10-04 08:16:03 UTC
Created attachment 100225 [details]
Yast 2 Logs
Comment 4 Marian Kechlibar 2006-10-15 12:00:29 UTC
(In reply to comment #3)
> Created an attachment (id=100225) [edit]
> Yast 2 Logs
> 

Dear Novell Team, it has been some time since I have entered this bug. Is anyone working on it, or has it been abandoned?

Best Regards

Marian Kechlibar
Comment 5 Ladislav Slezák 2006-10-31 13:22:43 UTC
No, it's not abadoned. I have been working on other (more serious) bug reports.
Comment 6 Ladislav Slezák 2006-11-15 14:57:21 UTC
I cannot reproduce it in openSUSE10.2, it works for me (=> decreasing the severity).

I need more information about your configuration:

- is the resource manager running? (use 'ps -A | grep resmgr' command)
- permissions for /dev/audio ('ls -l /dev/audio')
- ACL permissions for /dev/audio ('getfacl /dev/audio')

The resource manager daemon should set permissions for the local user (see the getfacl output).
Comment 7 Marian Kechlibar 2006-12-08 11:56:16 UTC
Dear Mr. Slezak,

I have installed a fresh version of openSUSE10.2 on my PC, on a new HDD (previous versions were upgrades of 9.3, 10.0 respectively). The problem persists.

resmgrd runs, not resmgr

Permissions:

crw-rw---- 1 root audio 14, 4 2006-12-08 11:44 /dev/audio

ACL permissions:

getfacl: Removing leading '/' from absolute path names
# file: dev/audio
# owner: root
# group: audio
user::rw-
group::rw-
other::---


(In reply to comment #6)
> I cannot reproduce it in openSUSE10.2, it works for me (=> decreasing the
> severity).
> 
> I need more information about your configuration:
> 
> - is the resource manager running? (use 'ps -A | grep resmgr' command)
> - permissions for /dev/audio ('ls -l /dev/audio')
> - ACL permissions for /dev/audio ('getfacl /dev/audio')
> 
> The resource manager daemon should set permissions for the local user (see the
> getfacl output).
> 

Comment 10 Ladislav Slezák 2006-12-11 09:54:23 UTC
Marian, how did you log in into the system? (KDM/XDM/GDM or console/ssh...?) The permissions depend on that...
Comment 11 Marian Kechlibar 2006-12-11 18:11:31 UTC
(In reply to comment #10)
> Marian, how did you log in into the system? (KDM/XDM/GDM or console/ssh...?)
> The permissions depend on that...
> 

I believe it is KDM, since I use KDE and all default settings from a normal SUSE installation. 

ps aux | grep "kdm" gives

root      3633  0.0  0.0   3376   692 ?        Ss   09:13   0:00 
/opt/kde3/bin/kdm

Ms. Bernathova told me that she was able to recreate the bug on a laptop, but then it somehow mended itself again.
Comment 12 Marian Kechlibar 2006-12-11 22:26:43 UTC
PS, when I try to run alsamixer as a normal user, the following error shows up:


marian@saruman:~/circletech/src/Util/SigningManager> alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
Comment 13 Ladislav Slezák 2007-01-18 13:29:08 UTC
Takashi, any idea what can be wrong? I have never seen such problem...
Comment 14 Takashi Iwai 2007-01-18 14:02:48 UTC
It looks mostly like hal / resmgr issue.  Make sure that hal, resmgr, and hal-resmgr are properly installed, and relevant services are running.
Comment 15 Ladislav Slezák 2007-01-18 15:51:19 UTC
Thanks Takashi!

Marian, please check the components mentioned in comment #14.
Comment 16 Ladislav Slezák 2007-02-12 15:26:54 UTC
No feedback, resolving as INVALID

(you can reopen the bug and provide the needed information, see comment #14 and comment #15)