Bug 16156
Summary: | No Sound with 2.6.34.x Kernel with my Audio-Chip | ||
---|---|---|---|
Product: | Drivers | Reporter: | Ch: Hanisch (ch-hanisch) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | maciej.rutecki, rjw, tiwai |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.34-0.slh.7-sidux-686 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 16055 | ||
Attachments: | Fix patch |
Description
Ch: Hanisch
2010-06-08 11:51:36 UTC
If I've disassembled this correctly, the crash happens in the first call to snd_hda_add_nid() because nids is NULL. Please do the following: - load snd-hda-intel with probe_only=1 option - run alsa-info.sh (with --no-upload option), then attach the content. Hello, I'm a newbe and can not understand what I should do. Please give me exact information what should I do on console or kernel-option. I can't find 'alsa-info.sh'. with regards Ch. Hanisch Am 10.06.2010 12:08, schrieb bugzilla-daemon@bugzilla.kernel.org: > https://bugzilla.kernel.org/show_bug.cgi?id=16156 > > > > > > --- Comment #2 from Takashi Iwai <tiwai@suse.de> 2010-06-10 10:08:13 --- > Please do the following: > - load snd-hda-intel with probe_only=1 option > - run alsa-info.sh (with --no-upload option), then attach the content. > > The script is found in http://www.alsa-project.org/alsa-info.sh The detailed information about HD-audio driver is found in Documentation/sound/alsa/HD-Audio.txt. In this case, add probe_only=1 option to snd-hda-intel module, typically somewhere in /etc/modprobe.d/* file. This will skip parsing the codec content, thus we can get the register access without Oops. Note that the option for snd-hda-intel is different from the option for snd. Some distros have modprobe configs like options snd slots=xxx ... This line isn't for snd-hda-intel. The options for snd-hda-intel is like options snd-hda-intel .... Hello, I have now in the /etc/modprobe.d/sound.conf following content: options snd-hda-intel model=lenovo-nb0763 options snd-hda-intel probe_only=1 The output from alsa-info.sh you can find here http://www.alsa-project.org/db/?f=3eb2b7a6370bc4028ab19ca81d5d7e7d4c331c42 I hope, you can find out the kernel bug now. with regards ch. Hanisch Am 11.06.2010 07:51, schrieb bugzilla-daemon@bugzilla.kernel.org: > https://bugzilla.kernel.org/show_bug.cgi?id=16156 > > > > > > --- Comment #4 from Takashi Iwai <tiwai@suse.de> 2010-06-11 05:51:13 --- > The script is found in > http://www.alsa-project.org/alsa-info.sh > > The detailed information about HD-audio driver is found in > Documentation/sound/alsa/HD-Audio.txt. In this case, add probe_only=1 option > to snd-hda-intel module, typically somewhere in /etc/modprobe.d/* file. This > will skip parsing the codec content, thus we can get the register access > without Oops. > > Note that the option for snd-hda-intel is different from the option for snd. > Some distros have modprobe configs like > > options snd slots=xxx ... > > This line isn't for snd-hda-intel. The options for snd-hda-intel is like > > options snd-hda-intel .... > > Hello, here the alsa-info.sh output as attachment. with regards Ch. Hanisch Thanks. Could you try the patch below? Created attachment 26724 [details]
Fix patch
Hello, I have no experience and have no idea what should I do now with that. Please give me more information how can I do this patch. with regards Ch. Hanisch Am 11.06.2010 11:30, schrieb bugzilla-daemon@bugzilla.kernel.org: > https://bugzilla.kernel.org/show_bug.cgi?id=16156 > > > > > > --- Comment #8 from Takashi Iwai <tiwai@suse.de> 2010-06-11 09:30:26 --- > Created an attachment (id=26724) > --> (https://bugzilla.kernel.org/attachment.cgi?id=26724) > Fix patch > > Handled-By : Takashi Iwai <tiwai@suse.de> (In reply to comment #9) > Hello, > I have no experience and have no idea what should I do now with that. > Please give me more information how can I do this patch. The easiest way is to contact with the distributor and ask them for providing a test kernel with the given patch. Of course, you can build the kernel by yourself if you'd like. Hello Takashi Iwai, your patch is integrated in kernel 2.6.34-0.slh.9-sidux-686 and works fine on my machine. Thanks to you. with regards Ch. Hanisch Am 11.06.2010 17:26, schrieb bugzilla-daemon@bugzilla.kernel.org: > https://bugzilla.kernel.org/show_bug.cgi?id=16156 > > > > > > --- Comment #11 from Takashi Iwai <tiwai@suse.de> 2010-06-11 15:26:37 --- > (In reply to comment #9) > >> Hello, >> I have no experience and have no idea what should I do now with that. >> Please give me more information how can I do this patch. >> > The easiest way is to contact with the distributor and ask them for providing > a > test kernel with the given patch. Of course, you can build the kernel by > yourself if you'd like. > > Fixed by commit fbe618f216830f47b183858c3380d4767b1ad02f . |