|
Bugzilla – Full Text Bug Listing |
| Summary: | autoyast doesn't set volumes | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Karsten Kuenne <kuenne> |
| Component: | AutoYaST | Assignee: | Ladislav Slezák <lslezak> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | ug |
| Version: | RC 1 | ||
| Target Milestone: | --- | ||
| Hardware: | i686 | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Ladislav, this seems to be for you. Did the autoyast map that I import to the sound module change from 9.3 to 10.0? There may be a problem with mixer initialization. I fixed one in normal installation, may be that in autoyast mode it remains... Yes, that's how it looks like because after the installation was done there were no sound modules loaded and sound wasn't working at all. So it seems that during autoyast installations the sound isn't started and then of course the mixer settings fail. Can this be reproduced with openSUSE 10.3? I don't know, but I didn't change anything related to autoyast in 10.3. Karsten (or Uwe) could you check it in 10.3? Thank you a lot! I'm just starting to download 10.3. It'll probably take me another couple of weeks before I'll be able to try it, so please be patient. just pinging... I did my first 10.3 autoyast installation and the volumes were set without my workaround! But let me run it a couple more times just to make sure I can't reproduce it anymore. OK, thank you for the testing! I did a couple more installations and it seems to work fine. Volumes are always set after the installation. I'd say it's fixed in 10.3. Nice to hear, thank you! |
If I do an installation with autoyast and have the following in my profile: <volume_settings config:type="list"> <volume_entry config:type="list"> <volume_component config:type="list"> <volume_component_settings>Master</volume_component_settings> <volume_component_settings config:type="integer">90</volume_component_settings> <volume_component_settings config:type="boolean">false</volume_component_settings> </volume_component> <volume_component config:type="list"> <volume_component_settings>Master Mono</volume_component_settings> <volume_component_settings config:type="integer">0</volume_component_settings> <volume_component_settings config:type="boolean">true</volume_component_settings> </volume_component> <volume_component config:type="list"> <volume_component_settings>Headphone</volume_component_settings> <volume_component_settings config:type="integer">0</volume_component_settings> <volume_component_settings config:type="boolean">true</volume_component_settings> </volume_component> ... (and so on) I end up with a system with all volumes set to 0. This was working in SUSE 9.3. The system in question is an IBM Thinkpad T43 with the builtin sound. Following are some messages from the y2log which I can't interpret but maybe show a problem: ... 2005-09-21 15:25:41 <1> sandcat(6203) [Interpreter] Call.ycp:167 Calling YaST client sound_auto (arguments: ["Write"]) 2005-09-21 15:25:41 <1> sandcat(6203) [YCP] clients/sound_auto.ycp:31 ---------------------------------------- 2005-09-21 15:25:41 <1> sandcat(6203) [YCP] clients/sound_auto.ycp:32 Sound auto started 2005-09-21 15:25:42 <2> sandcat(6203) [Parser] sound/routines.ycp:728 Warning: Format string is not constant, no parameter checking possible 2005-09-21 15:25:42 <2> sandcat(6203) [Parser] sound/routines.ycp:773 Warning: Format string is not constant, no parameter checking possible 2005-09-21 15:25:42 <1> sandcat(6203) [wfm] Y2CCWFM.cc(createInLevel):153 Parsing finished 2005-09-21 15:25:42 <1> sandcat(6203) [Interpreter] clients/sound_auto.ycp:244 Calling YaST client sound_write (arguments: [$["configure_detected":false, "modules_conf":[$["alias":"snd-card-0", "bus":"pci", "bus_id":"0000:00:1e.2", "model":"82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller", "module":"snd-intel8x0", "options":$["enable":"1", "index":"0"], "unique_key":"r0Vg.E9SukUjPv66"]], "rc_vars":$["LOAD_ALSA_SEQ":"yes"], "volume_settings":[[["Master", 90, false], ["Master Mono", 0, true], ["Headphone", 0, true], ["PCM", 70, false], ["Line", 0, true], ["CD", 70, false], ["Mic", 0, true], ["Phone", 70, false], ["Aux", 0, true]]]]]) 2005-09-21 15:25:42 <1> sandcat(6203) [YCP] Sound.ycp:804 Required kernel modules: ["snd-intel8x0"] 2005-09-21 15:25:42 <1> sandcat(6203) [YCP] Joystick.ycp:68 Required joystick modules: [] 2005-09-21 15:25:42 <1> sandcat(6203) [YCP] PackageSystem.ycp:288 want: ["snd-intel8x0"] 2005-09-21 15:25:42 <1> sandcat(6203) [wfm] Y2WFMComponent.cc(import):695 Y2WFMComponent::import (PackageCallbacks) .... 2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such file or directory 2005-09-21 15:25:42 <2> sandcat(6203) [agent-modules] ModulesConf.cc(ModulesConf):95 ModulesConf: parseFile failed 2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such file or directory 2005-09-21 15:25:42 <1> sandcat(6203) [YCP] sound/write_routines.ycp:188 using hwcfg file: hwcfg-bus-pci-0000:00:1e.2 2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such file or directory 2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such file or directory 2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such file or directory 2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such file or directory 2005-09-21 15:25:42 <3> sandcat(6203) [agent-modules] ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/sound: No such file or directory 2005-09-21 15:25:42 <2> sandcat(6203) [agent-modules] ModulesConf.cc(writeFile):545 Error while creating backup file in writeFile (): No such file or directory 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:179 Sound::write_only: true 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1148 InitMixer: 0, snd-intel8x0 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1150 Mixer devices: $["CD":70, "Front":70, "Headphone":70, "Master":70, "Master Mono":70, "PCM":70, "Synth":70] 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1162 Mixer devices after merge: $["Aux":0, "CD":70, "Front":70, "Headphone":0, "Line":0, "Master":90, "Master Mono":0, "Mic":0, "PCM":70, "Phone":70, "Synth":70] 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 0, channel: Aux, volume: 0 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 0, channel: CD, volume: 70 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 0, channel: Front, volume: 70 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 0, channel: Headphone, volume: 0 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 0, channel: Line, volume: 0 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 0, channel: Master, volume: 90 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 0, channel: Master Mono, volume: 0 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 0, channel: Mic, volume: 0 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 0, channel: PCM, volume: 70 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 0, channel: Phone, volume: 70 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1168 Set volume: card: 0, channel: Synth, volume: 70 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] Sound.ycp:1172 unmute devices: ["Aux", "CD", "Front", "Headphone", "Line", "Master", "Master Mono", "Mic", "PCM", "Phone", "Synth"] 2005-09-21 15:25:48 <3> sandcat(6203) [agent-audio] AlsaAudio.cc(alsaGetChannels):191 Mixer attach hw:0 error: No such device 2005-09-21 15:25:48 <3> sandcat(6203) [Interpreter] sound/routines.ycp:586 SCR::Dir() failed 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:208 Mixer is initialized 2005-09-21 15:25:48 <3> sandcat(6203) [bash] ShellCommand.cc(shellcommand):78 amixer: Mixer attach default error: No such device 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:81 Mixer (Mixer status before saving the volume): $["exit":1, "stderr":"amixer: Mixer attach default error: No such device\n", "stdout":""] 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:82 volume_settings: [["Synth", 70]] 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:83 asound size: -1 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:216 volume_settings: [["Synth", 70]] 2005-09-21 15:25:48 <3> sandcat(6203) [bash] ShellCommand.cc(shellcommand):78 amixer: Mixer attach default error: No such device 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:81 Mixer (Mixer status after saving the volume): $["exit":1, "stderr":"amixer: Mixer attach default error: No such device\n", "stdout":""] 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:82 volume_settings: [["Synth", 70]] 2005-09-21 15:25:48 <1> sandcat(6203) [YCP] clients/sound_write.ycp:83 asound size: -1 2005-09-21 15:25:48 <3> sandcat(6203) [agent-audio] AlsaAudio.cc(alsaSetVolume):137 Mixer attach hw:0 error: No such device 2005-09-21 15:25:48 <3> sandcat(6203) [Interpreter] sound/routines.ycp:338 SCR::Write() failed 2005-09-21 15:25:48 <3> sandcat(6203) [agent-audio] AlsaAudio.cc(alsaSetMute):167 Mixer attach hw:0 error: No such device 2005-09-21 15:25:48 <3> sandcat(6203) [Interpreter] sound/routines.ycp:339 SCR::Write() failed 2005-09-21 15:25:48 <3> sandcat(6203) [agent-audio] AlsaAudio.cc(alsaSetVolume):137 Mixer attach hw:0 error: No such device ... (and so on) It repeats itself for the various volumes. If I do an interactive installation the volumes are set to some reasonable values.