04.05.2010 00:55, Daniel Mack пишет:
On Sun, May 02, 2010 at 08:56:18PM +0400, The Source wrote:
27.04.2010 21:33, Daniel Mack пишет:
On Tue, Apr 27, 2010 at 09:27:15PM +0400, The Source wrote:
27.04.2010 19:43, Daniel Mack пишет:
You would check out the latest mainline sources:
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git $ cd linux-2.6
Then create a branch and merge the latest ALSA patches:
$ git checkout -b alsa $ git pull git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
Then build and install the kernel and verify it still shows the error. Start the bisect and mark the current revision as 'bad':
$ git bisect start $ git bisect bad
Assuming that v2.6.34-rc5 (before the merge) still works, you would mark this as 'good':
$ git bisect good v2.6.34-rc5
git will now iterate you thru the changes and drop you off at chosen points. Just compile the tree you get, and tell git whether this is a good or bad one:
$ git bisect good or $ git bisect bad
Then recompile and test again After some steps, it will tell you which commit precisely broke it.
HTH, Daniel
I'll try that. But is there any way to do this just with alsa and not with entire kernel? Compiling kernel is a loooong process.
The description above won't touch much things outside the ALSA tree during the bisect, so it shouldn't take long to compile.
Thanks for helping, Daniel
I'm sorry, but after 2 or 3 steps (of ~10) I got kernel that doesn't even boot properly (2.6.34-rc4, something with sata is broken) so I can't test my card with this kernel. Should I mark current version as bad and continue or something else can be done?
Hmm, so you say you can't boot a vanilla (unmodified) 2.6.34-rc4? Is your problem fixed in the current git HEAD? The bisect procedure I described shouldn't touch anything else than sound code, so SATA should be unaffected. Anyway, you can skip unbootable or uncompilable versions with
$ git bisect skip
HTH, Daniel
Bisect results:
23caaf19b11eda7054348452e1618d4512a86907 is the first bad commit commit 23caaf19b11eda7054348452e1618d4512a86907 Author: Daniel Mack daniel@caiaq.de Date: Thu Mar 11 21:13:25 2010 +0100
ALSA: usb-mixer: Add support for Audio Class v2.0
USB Audio Class v2.0 compliant devices have different descriptors and a different way of setting/getting min/max/res/cur properties. This patch adds support for them.
Signed-off-by: Daniel Mack daniel@caiaq.de Cc: Clemens Ladisch clemens@ladisch.de Signed-off-by: Takashi Iwai tiwai@suse.de
:040000 040000 db0691095b20f0872c9042e6498ce40693d69241 7cd9e29352fd45e50968b4a17891d1c3225aaba9 M include :040000 040000 981c7c69fc8695281929677ebccf3bdae5ef41de c5bec5c3954278601ec4b29226f4671333262f04 M sound