git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Reporting bugs and bisection

From
AMAndrew Morton <akpm@linux-foundation.org>
Date
Apr 14, 2008, 17:51 UTC
Message-ID
<20080414105152.9cc06fab.akpm@linux-foundation.org>
In-Reply-To
<20080414074349.24fa90f8@laptopd505.fenrus.org>
On Mon, 14 Apr 2008 07:43:49 -0700 Arjan van de Ven <arjan@infradead.org> wrote:
Show 44 quoted lines
> On Mon, 14 Apr 2008 01:04:12 -0700
> > 
> > The steps to be taken are:
> > 
> > a) agree that we have a problem
> > 
> 
> 
> I for one do not agree that we have a problem.
> 
> Based on actual data on oopses (which very clearly excludes other kinds of bugs, so I know I only see part of the story)
> we are doing reasonably well. Lets look at the 2.6.25 cycle. 
> We got a total of roughly 2700 reports of oopses/warn_ons from users. (This may sound high to those of you only reading
> lkml, but this includes automatically collected oopses from Fedora 9 beta testers).
> Out of these 2700, the top 20 issues account for 75% of the total reports.
> 
> Out of these 20 issues, 9 were from still out of tree drivers (wireless.git and drm.git included in F9). These were
> caught before they even got close to mainline.
> The remaining 11 issues can be split in
> 1) The ones we caught and fixed
> 2) TCP/IP warnings that DaveM and co are chasing down hard (but have trouble finding reproducers)
> 3) An EXT3 bug that in theory can cause data corruption, but in practice seems to happen after you yank out a USB stick
>   with an EXT3 filesystem on (so it can't corrupt the disk data). Ted is working on this
> 4) A bug (double free) that hits in the skb layer, probably caused by a bug in the ipv4 code
>    (a first analysis + potential patch was mailed to netdev this weekend)
> 5) sysfs "existing file added" warning, mostly in the USB stack
>    (gregkh claims he fixed this recently, I'm not entirely sure he got all cases)
> 
> And when I look beyond the first 20, the same pattern arises, we fixed the majority of the issues before -rc9.
> At position 25 we have less than 20 reports per bug. At position 35 we have less than 10 reports per bug. 
> At position 50 we have less than 5 reports per bug. Conclusion there: the bugs people actually hit fall of dramatically;
> there's a core set of issues that gets hit a lot, the rest quickly gets reduced to noise levels.
> 
> 
> To me this does not sound like we have a huge quality problem because
> 1) The distribution of the bugs is such that there is a relatively small set of core issues
>    that are widely hit, and then there's a near exponential drop after that
> 2) We are fixing the important bugs by and large before they hit a release
>    (important as defined by the number of people actually hitting the bug)
> 
> 
>  
> I'll be writing a report with more details about this soon with more analysis and statistics
> (I'll be looking at more detail around the top 25 issues, when they got introduced, when they got fixed etc)

Well OK. But I don't think we can generalise from oops-causing bugs all the way to all bugs. Very few bugs actually cause oopses, and oopses tend to be the thing which developers will zoom in on and pay attention to.

If we had metrics on "time goes backwards" or anything containing "ASUS", things might be different.

Previous: Arjan van de VenNext: Arjan van de Ven
Message 20 of 66 in “Re: Reporting bugs and bisection”
  1. david@lang.hmApr 13, 2008
  2. Jakub NarebskiApr 14, 2008
  3. Willy TarreauApr 14, 2008
  4. Al ViroApr 14, 2008
  5. Andrew MortonApr 14, 2008
  6. David MillerApr 14, 2008
  7. David MillerApr 14, 2008
  8. Al ViroApr 14, 2008
  9. Al ViroApr 14, 2008
  10. Andrew MortonApr 14, 2008
  11. David MillerApr 14, 2008
  12. Christoph HellwigApr 14, 2008
  13. Andi KleenApr 14, 2008
  14. Bill FinkApr 15, 2008
  15. Andrew MortonApr 14, 2008
  16. David MillerApr 14, 2008
  17. Roman ShaposhnikApr 14, 2008
  18. Adrian BunkApr 14, 2008
  19. Arjan van de VenApr 14, 2008
  20. Andrew MortonApr 14, 2008
  21. Arjan van de VenApr 14, 2008
  22. Ilpo JärvinenApr 14, 2008
  23. James MorrisApr 14, 2008
  24. David MillerApr 14, 2008
  25. Andrew MortonApr 14, 2008
  26. Willy TarreauApr 15, 2008
  27. Work WAS(Re: Reporting bugs and bisectionjamal, Apr 15, 2008
  28. David NewallApr 15, 2008
  29. Michael KerriskApr 15, 2008
  30. David NewallApr 15, 2008
  31. Rafael J. WysockiApr 15, 2008
  32. David NewallApr 16, 2008
  33. david@lang.hmApr 16, 2008
  34. David NewallApr 16, 2008
  35. Andi KleenApr 16, 2008
  36. Stephen ClarkApr 16, 2008
  37. Willy TarreauApr 16, 2008
  38. Rafael J. WysockiApr 16, 2008
  39. Sverre RabbelierApr 16, 2008
  40. Adrian BunkApr 16, 2008
  41. Andrew MortonApr 16, 2008
  42. Sverre RabbelierApr 16, 2008
  43. Adrian BunkApr 16, 2008
  44. J. Bruce FieldsApr 17, 2008
  45. Adrian BunkApr 17, 2008
  46. Alexey DobriyanApr 16, 2008
  47. Arjan van de VenApr 16, 2008
  48. Sverre RabbelierApr 16, 2008
  49. Adrian BunkApr 16, 2008
  50. Adrian BunkApr 16, 2008
  51. Sverre RabbelierApr 16, 2008
  52. Adrian BunkApr 16, 2008
  53. Willy TarreauApr 16, 2008
  54. Jakub NarebskiApr 16, 2008
  55. Jesper JuhlApr 16, 2008
  56. David NewallApr 17, 2008
  57. Rafael J. WysockiApr 17, 2008
  58. Ray LeeApr 17, 2008
  59. Sverre RabbelierApr 17, 2008
  60. Al ViroApr 17, 2008
  61. Ray LeeApr 17, 2008
  62. Al ViroApr 17, 2008
  63. Ray LeeApr 17, 2008
  64. Rene HermanApr 14, 2008
  65. Andrew MortonApr 14, 2008
  66. Rene HermanApr 14, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.