Bug 237709
Summary: | system-config-soundcard crashes on powerbook, breaking firstboot | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Will Woods <wwoods> | ||||||
Component: | system-config-soundcard | Assignee: | Martin Stransky <stransky> | ||||||
Status: | CLOSED ERRATA | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | katzj | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | powerpc | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2007-05-28 13:27:20 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Will Woods
2007-04-24 21:36:54 UTC
Created attachment 153389 [details]
traceback from firstboot
Can you please run system-config-soundcard from console and attach the output? and attach /root/scsconfig.conf (it can be genetared by system-config-soundcard, in "System" tab") No output on the console, but I will attach the resulting scsrun.log, which contains basically the same traceback. Created attachment 153815 [details]
scsrun.log from failed run of system-config-soundcard
Okay, I traced it myself. This is crashing because the alsa playback device for snd_powermac does not have info.vendor, nor do any of its parents. Furthermore, getVendor() in soundcardHalBackend.py doesn't have a fallback for this case. It just returns "None", causing a traceback. I suspect we might need a workaround for snd_powermac - probably some fdi to add info.vendor = "Apple Computer Inc" to snd_powermac devices - but getVendor() should return something reasonable if it fails. Per the hal spec (http://people.redhat.com/davidz/hal-spec/hal-spec.html#device-properties-info), info.vendor isn't a mandatory property to be present for devices. For F-7, I've committed the very minimal handling of the fallthrough when the vendor isn't found to at least avoid things crashing. Post F7, this should be reworked a bit more (so leaving open for that) fixed in system-config-soundcard-2.0.6-6.fc6 |