Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754980AbZAZU0n (ORCPT ); Mon, 26 Jan 2009 15:26:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754076AbZAZU0X (ORCPT ); Mon, 26 Jan 2009 15:26:23 -0500 Received: from courier.cs.helsinki.fi ([128.214.9.1]:58541 "EHLO mail.cs.helsinki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753812AbZAZU0V (ORCPT ); Mon, 26 Jan 2009 15:26:21 -0500 Message-ID: <497E1B6E.8050207@cs.helsinki.fi> Date: Mon, 26 Jan 2009 22:22:06 +0200 From: Pekka Enberg User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Sandro Bonazzola CC: Pavel Machek , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Linux Netdev List Subject: Re: [PATCH] w35und: fix usb_control_msg() error handling in wb35_probe() References: <20090122114237.GA13845@atrey.karlin.mff.cuni.cz> <4978C812.90702@gmail.com> <20090122211052.GA1928@elf.ucw.cz> <4978F47C.6010909@gmail.com> <4978F3CF.2010301@cs.helsinki.fi> <497E0F94.8000003@gmail.com> <84144f020901261140j242bb31cg1b2a59a5ae71ae29@mail.gmail.com> <84144f020901261143o1bb41b76o680c8616a81dc2db@mail.gmail.com> <497E1962.6000804@gmail.com> In-Reply-To: <497E1962.6000804@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2686 Lines: 76 Sandro Bonazzola wrote: > Well, I don't know if this can be somehow related to a bug in the driver, but on > my system, after I've unplugged the USB trasnsitter, ksoftirqd/0 begin to use > 89% of my CPU time (top). I suspect that there are some issue that should be > fixed somewhere. Heh, yes, there's plenty of things to fix. :-) >> Actually, it's probably me who broke the driver. I think Greg merged >> most of my patches after 2.6.28 came out. Sandro, if you have some >> time, please consider doing git bisect to find out which changeset >> causes the problem. > > Well, actually my 2.6.29 copy seems to be broken: > arch/x86/kernel/amd_iommu.o: In function `debugfs_create_size_t': > amd_iommu.c:(.text+0x0): multiple definition of `debugfs_create_size_t' > arch/x86/kernel/kdebugfs.o:kdebugfs.c:(.text+0x0): first defined here > make[1]: *** [arch/x86/kernel/built-in.o] Error 1 > make: *** [arch/x86/kernel] Error 2 > > # git pull > Already up-to-date. > > # git status > # On branch master > # Changed but not updated: > # (use "git add ..." to update what will be committed) > # (use "git checkout -- ..." to discard changes in working directory) > # > # modified: drivers/staging/winbond/wbusb.c > # > no changes added to commit (use "git add" and/or "git commit -a") > > > I don't know too much how to use git to do what you're asking. I've some years > of experience with svn and cvs but git is quite a new tool for me. > I'll wait a git kernel that compile while I'll try to find out how to do what > you're asking. Here's a tutorial on git bisect. http://kernel.org/pub/software/scm/git/docs/v1.3.3/howto/isolate-bugs-with-bisect.txt > I have not so much free time to spend in a checkout / build / test if the test > phase need a kernel reinstall / system reboot. If it's only the driver module I > think I can try to test it for each changeset in a couple of weeks /starting > from the day I know how to bisect :-) ). Assuming 2.6.29-rc1 is broken, you initialize the bisection with: git bisect start -- drivers/staging/winbond/ git bisect good v2.6.28 git bisect bad v2.6.29-rc1 Then you continue doing this: and git bisect good or git bisect bad depending on whether the kernel worked or not. Repeat until git bisect tells you which changeset broke the kernel. The process shouldn't take more than 5 compiles/reboots. Pekka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/