Repository navigation
scripts: disable pulseaudio before sof bootloop - #855
zhuyingjiang wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
In the commit message, can you describe more detail about the use case here, the error (please paste it), and why pulseaudio is a problem.
I also dont see any connection with thesofproject/linux#534 ? Please explain in more detail.
plbossart
left a comment
There was a problem hiding this comment.
NAK NAK NAK.
the fix wrecks the user setup and PulseAudio should only interact with the card based on udev triggers, so if there is a race condition it needs to be fixed.
There was a problem hiding this comment.
This has got to be one of the silliest fixes I've ever seen. You just erased the entire file with this, so all other settings are gone. Seriously?
|
'>' -> '>>'? anyway, maybe it triggers the simultaneous problem that @keyonjie was looking into recently? it worth looking into deeper. |
the pulseaudio trigger a stream at the start, and it interfered with the timing of sof_remove, so disable it at first Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
7aa51d8 to
35aa045
Compare
lgirdwood
left a comment
There was a problem hiding this comment.
Still don't fully understand the reason for this change as your commit message is missing details. Are you saying there is an issue in sof_remove in the driver ? Can you paste logs. If there is an sof_remove() issue then this seems to be the wrong way to fix it.
@lgirdwood So this comes to the question: "can the module/device be used when do the load/unload"? Analyse with add printk sometimes got NULL pointer which cause the oops, I will go deep and provide more analysis later on. |
|
@zhuyingjiang ok this is a driver bug and needs fixed in the driver. |
|
Closing since it's a kernel issue. @zhuyingjiang please create a FW issue. |
the pulseaudio trigger a stream at the start, and it interfered
with the timing of sof_remove, this fix thesofproject/linux#534
Signed-off-by: Zhu Yingjiang yingjiang.zhu@linux.intel.com