Bug 202973
Summary: | general protection fault: 0000 [#1] PREEMPT SMP NOPTI | ||
---|---|---|---|
Product: | Drivers | Reporter: | Lakshminarayana Vudum (lakshminarayana.vudum) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | RESOLVED UNREPRODUCIBLE | ||
Severity: | normal | CC: | martin.peres, tiwai |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.0.0 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
Boot log
Boot log with debug patch |
Description
Lakshminarayana Vudum
2019-03-20 14:23:01 UTC
Hrm, it's rather a straightforward code. Maybe the hardware provided some weird parameters so that the code tries to create too many nodes? For example, try to apply the patch below and check the additional debug message from there. --- a/sound/hda/hdac_sysfs.c +++ b/sound/hda/hdac_sysfs.c @@ -402,6 +402,10 @@ int hda_widget_sysfs_init(struct hdac_device *codec) if (codec->widgets) return 0; /* already created */ + pr_info("XXX codec %d: num_nodes=%d, start_nid=%d, afg=%d\n", + codec->num_nodes, codec->start_nid, codec->afg); + return 0; + err = widget_tree_create(codec); if (err < 0) { widget_tree_free(codec); Takashi, do you have any possibility to apply the above patch by yourself? I will then gather the latest logs and attach here? It's a debug patch so it's obviously not for upstream, so it's better to be applied in your side just for testing. It'll help for showing the possible weird hardware configuration on this specific chip. Created attachment 282107 [details] Boot log with debug patch The original issue occured on fi-icl-u2 but the attached log is from fi-icl-u3. https://intel-gfx-ci.01.org/hardware.html here you can find the difference between these machines. Takashi, thanks for your proposal patch. This issue only happened once so far (a month ago), and we are still waiting for another reproduction before applying the patch your proposed (minus the return 0?). Sorry for not getting involved more and letting this bug rot... Last seen this issue 3 months, 4 weeks old. I propose to close this issue. The CI Bug Log issue associated to this bug has been archived. New failures matching the above filters will not be associated to this bug anymore. On CI, last seen this issue on drmtip_694 (8 months, 3 weeks old). |