login
Header Space

 
 

Re: Reporting bugs and bisection

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stephen Clark <sclark46@...>
Cc: Evgeniy Polyakov <johnpol@...>, Rafael J. Wysocki <rjw@...>, Andrew Morton <akpm@...>, Willy Tarreau <w@...>, Tilman Schmidt <tilman@...>, <Valdis.Kletnieks@...>, Mark Lord <lkml@...>, David Miller <davem@...>, <jesper.juhl@...>, <yoshfuji@...>, <jeff@...>, linux-kernel <linux-kernel@...>, <git@...>, <netdev@...>
Date: Sunday, April 13, 2008 - 7:51 pm

cross-posted to git for the suggestion at the bottom

On Sun, 13 Apr 2008, Stephen Clark wrote:


I've been reading LKML for 11 years now, I've tested kernels and reported 
a few bugs along the way.

the expectation is that the submitter should have tested the patches 
before submitting them (where hardware allows). but that "where hardware 
allows" is a big problem. so many issues are dependant on hardwre that 
it's not possible to test everything.

there are people who download, compile and test the tree nightly (with 
farms of machines to test different configs), but they can't catch 
everything.

expecting the patches to be tested to the point where there are no bugs is 
unreasonable.

bisecting is a very powerful tool, but I do think that sometimes 
developers lean on it a bit much. taking the attitude (as some have) that 
'if the reporter can't be bothered to do a bisection I can't be bothered 
to deal with the bug' is going way too far.

if a bug can be reproduced reliably on a test system then bisecting it may 
reveal the patch that introduced or unmasked the bug (assuming that there 
aren't other problems along the way), but if the bug takes a long time to 
show up after a boot, or only happens under production loads, bisecting it 
may not be possible. that doesn't mean that the bug isn't real, it just 
means that the user is going to have to stick with an old version until 
there is a solution or work-around.

even in the hard-to-test situations, the reporter is usually able to test 
a few fixes, but there's a big difference between going to management and 
saying "the kernel guru's think that this will help, can we test it this 
weekend" 2-3 times and doing a bisection that will take 10-15 cycles to 
find the problem.

it's very reasonable to ask the reporter if they can bisect the problem, 
but if they say that they can't, declaring that they are out of luck is 
not reasonable, it just means that it's going to take more thinking to 
find the problem instead of being able to let the mechanical bisect 
process narrow things down for you. it may mean that the developer will 
need to make a patch to instrament an old (working) kernel that has 
minimal impact on that kernel so that the reporter can run this to gather 
information about what the load is so that the developer can try to 
simulate it on a new (non-working) kernel

in theory everyone has a test environment that lets them simulate 
everything in their production envrionment. in practice this is only true 
at the very low end (where it's easy to do) and the very high end (where 
it's so critical that it's done no matter how much it costs). Everyone 
else has a test environment that can test most things, but not everything. 
As such when they run into a problem they may not be able to do lots of 
essentially random testing.

elsewhere in this thread someone said that the pre-git way was to do a 
manual bisect where the developer would send patches backing out specific 
changes to find the problem. one big difference between tat and bisecting 
the problem is that the manual process was focused on the changes in the 
area that is suspected of causing the problem, while the git bisect 
process goes after all changes. this makes it much more likely that the 
tester will run into unrelated problems along the way.

I wonder if it would be possible to make a variation of git bisect that 
only looked at a subset of the tree when picking bisect points (if you are 
looking for a e1000 bug, testing bisect points that haven't changed that 
driver won't help you for example). If this can be done it would speed up 
the reporters efforts, but will require more assistance from the 
developers (who would need to tell the reporters what subtrees to test) so 
it's a tradeoff of efficiancy vs simplicity.

David Lang
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 8:16 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 8:26 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 8:29 pm)
Re: 2.6.25-rc8: FTP transfer errors, YOSHIFUJI Hideaki / , (Thu Apr 10, 10:59 pm)
Re: 2.6.25-rc8: FTP transfer errors, Pavel Emelyanov, (Fri Apr 11, 3:50 am)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 8:24 pm)
Re: 2.6.25-rc8: FTP transfer errors, Tilman Schmidt, (Thu Apr 10, 8:56 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 9:08 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 8:27 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Thu Apr 10, 8:39 pm)
Re: about bisections, David Miller, (Tue Apr 15, 6:30 pm)
Re: about bisections, Ingo Molnar, (Tue Apr 15, 6:48 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Thu Apr 10, 9:23 pm)
Re: 2.6.25-rc8: FTP transfer errors, , (Fri Apr 11, 3:58 pm)
Re: 2.6.25-rc8: FTP transfer errors, Tilman Schmidt, (Fri Apr 11, 6:27 pm)
Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP trans..., Rafael J. Wysocki, (Sun Apr 13, 2:40 pm)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 5:58 am)
Re: Reporting bugs and bisection, Willy Tarreau, (Mon Apr 14, 6:00 am)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 6:16 am)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 6:29 am)
Re: Reporting bugs and bisection, David Miller, (Sun Apr 13, 4:35 pm)
Re: Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP t..., Rafael J. Wysocki, (Sun Apr 13, 4:33 pm)
Re: Reporting bugs and bisection, Stephen Clark, (Sun Apr 13, 6:24 pm)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 5:26 am)
Re: Reporting bugs and bisection, , (Sun Apr 13, 7:51 pm)
Re: Reporting bugs and bisection, Willy Tarreau, (Mon Apr 14, 12:39 am)
Re: Reporting bugs and bisection, Al Viro, (Mon Apr 14, 1:39 am)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 2:24 am)
Re: Reporting bugs and bisection, Rene Herman, (Mon Apr 14, 3:13 pm)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 4:38 pm)
Re: Reporting bugs and bisection, Rene Herman, (Mon Apr 14, 6:18 pm)
Re: Reporting bugs and bisection, Al Viro, (Mon Apr 14, 3:23 am)
Re: Reporting bugs and bisection, James Morris, (Mon Apr 14, 11:54 am)
Re: Reporting bugs and bisection, David Newall, (Tue Apr 15, 5:33 am)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Wed Apr 16, 8:15 am)
Re: Reporting bugs and bisection, Jesper Juhl, (Wed Apr 16, 5:17 pm)
Re: Reporting bugs and bisection, David Newall, (Thu Apr 17, 1:04 pm)
Re: Reporting bugs and bisection, Rafael J. Wysocki, (Thu Apr 17, 3:09 pm)
Re: Reporting bugs and bisection, Ray Lee, (Thu Apr 17, 3:35 pm)
Re: Reporting bugs and bisection, Al Viro, (Thu Apr 17, 4:16 pm)
Re: Reporting bugs and bisection, Ray Lee, (Thu Apr 17, 4:38 pm)
Re: Reporting bugs and bisection, Al Viro, (Thu Apr 17, 4:53 pm)
Re: Reporting bugs and bisection, Ray Lee, (Thu Apr 17, 5:01 pm)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Thu Apr 17, 3:57 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 9:26 am)
Re: Reporting bugs and bisection, Willy Tarreau, (Wed Apr 16, 4:04 pm)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Wed Apr 16, 3:39 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 4:16 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 4:53 pm)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Wed Apr 16, 5:05 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 5:25 pm)
Re: Reporting bugs and bisection, Andrew Morton, (Wed Apr 16, 3:02 pm)
Re: Reporting bugs and bisection, Alexey Dobriyan, (Wed Apr 16, 3:58 pm)
Re: Reporting bugs and bisection, Arjan van de Ven, (Wed Apr 16, 4:01 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Wed Apr 16, 3:55 pm)
Re: Reporting bugs and bisection, J. Bruce Fields, (Thu Apr 17, 9:50 am)
Re: Reporting bugs and bisection, Adrian Bunk, (Thu Apr 17, 11:26 am)
Re: Reporting bugs and bisection, Sverre Rabbelier, (Wed Apr 16, 3:43 pm)
Re: Reporting bugs and bisection, Michael Kerrisk, (Tue Apr 15, 5:54 am)
Re: Reporting bugs and bisection, David Newall, (Tue Apr 15, 10:04 am)
Re: Reporting bugs and bisection, Rafael J. Wysocki, (Tue Apr 15, 4:51 pm)
Re: Reporting bugs and bisection, David Newall, (Tue Apr 15, 10:34 pm)
Re: Reporting bugs and bisection, Willy Tarreau, (Wed Apr 16, 12:29 am)
Re: Reporting bugs and bisection, Rafael J. Wysocki, (Wed Apr 16, 8:13 am)
Re: Reporting bugs and bisection, , (Tue Apr 15, 11:53 pm)
Re: Reporting bugs and bisection, Stephen Clark, (Wed Apr 16, 8:41 am)
Re: Reporting bugs and bisection, David Newall, (Wed Apr 16, 5:06 am)
Re: Reporting bugs and bisection, Andi Kleen, (Wed Apr 16, 7:02 am)
Re: Reporting bugs and bisection, David Miller, (Mon Apr 14, 6:01 pm)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 7:05 pm)
Re: Reporting bugs and bisection, Willy Tarreau, (Tue Apr 15, 12:55 am)
Work WAS(Re: Reporting bugs and bisection, jamal, (Tue Apr 15, 9:18 am)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 4:04 am)
Re: Reporting bugs and bisection, Arjan van de Ven, (Mon Apr 14, 10:43 am)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 1:51 pm)
Re: Reporting bugs and bisection, Ilpo Järvinen, (Mon Apr 14, 3:30 pm)
Re: Reporting bugs and bisection, Arjan van de Ven, (Mon Apr 14, 2:24 pm)
Re: Reporting bugs and bisection, Adrian Bunk, (Mon Apr 14, 8:08 am)
Re: Reporting bugs and bisection, David Miller, (Mon Apr 14, 4:30 am)
Re: Reporting bugs and bisection, Andrew Morton, (Mon Apr 14, 6:15 am)
Re: Reporting bugs and bisection, David Miller, (Mon Apr 14, 6:41 am)
Re: Reporting bugs and bisection, Roman Shaposhnik, (Mon Apr 14, 1:35 pm)
Re: Reporting bugs and bisection, Andi Kleen, (Mon Apr 14, 5:46 am)
Re: Reporting bugs and bisection, Bill Fink, (Tue Apr 15, 1:25 am)
Re: Reporting bugs and bisection, Christoph Hellwig, (Mon Apr 14, 5:06 am)
Re: Reporting bugs and bisection, Al Viro, (Mon Apr 14, 3:43 am)
Re: Reporting bugs and bisection, David Miller, (Mon Apr 14, 2:39 am)
Re: Reporting bugs and bisection, David Miller, (Mon Apr 14, 2:43 am)
Re: Reporting bugs and bisection, Jakub Narebski, (Sun Apr 13, 8:36 pm)
Re: Reporting bugs and bisection, Rafael J. Wysocki, (Sun Apr 13, 6:41 pm)
Re: Reporting bugs and bisection, David Miller, (Sun Apr 13, 3:47 pm)
Re: Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP t..., Rafael J. Wysocki, (Sun Apr 13, 3:27 pm)
Re: 2.6.25-rc8: FTP transfer errors, Ilpo Järvinen, (Fri Apr 11, 2:40 am)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Fri Apr 11, 9:19 am)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Fri Apr 11, 10:35 am)
Re: 2.6.25-rc8: FTP transfer errors, Tilman Schmidt, (Fri Apr 11, 6:16 pm)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Fri Apr 11, 6:26 pm)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Fri Apr 11, 6:25 pm)
Re: 2.6.25-rc8: FTP transfer errors, Tilman Schmidt, (Fri Apr 11, 7:23 pm)
Re: 2.6.25-rc8: FTP transfer errors, Ilpo Järvinen, (Sat Apr 12, 3:06 am)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Sat Apr 12, 1:37 am)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Fri Apr 11, 6:27 pm)
Re: 2.6.25-rc8: FTP transfer errors, Mark Lord, (Fri Apr 11, 10:59 am)
Re: 2.6.25-rc8: FTP transfer errors, , (Fri Apr 11, 3:58 pm)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Fri Apr 11, 11:18 am)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Fri Apr 11, 2:07 pm)
Re: 2.6.25-rc8: FTP transfer errors, Willy Tarreau, (Sat Apr 12, 4:44 am)
Re: 2.6.25-rc8: FTP transfer errors, David Miller, (Sat Apr 12, 5:49 am)
Re: 2.6.25-rc8: FTP transfer errors, Rafael J. Wysocki, (Sun Apr 13, 2:15 pm)
Re: 2.6.25-rc8: FTP transfer errors, Sergio Luis, (Sun Apr 13, 2:51 pm)
Re: 2.6.25-rc8: FTP transfer errors, Rafael J. Wysocki, (Sun Apr 13, 3:24 pm)
Re: 2.6.25-rc8: FTP transfer errors, Evgeniy Polyakov, (Fri Apr 11, 5:29 pm)
speck-geostationary