Skip to contentSkip to conversation

How to reduce the number of open kernel bugs

DISCUSSION Parag Warudkar 5 participants 13 messages May 2, 2008

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Adrian Bunk <bunk <at> kernel.org> writes:

Maintainer:

Yeah, in any case. I cannot fix it, since it's not a bug in the fobar code. Please reopen a new bug and CC the architecture or PCI maintainer or whatever person related to the bus, chipset or CPU, if you think the foobar device still works. If the foobar hardware got corrupted, you already know what to do...

Quoted 4 lines

I am well aware that loud flames are often the only working way of communication in Linux kernel development, but we mustn't communicate this way with bug submitters.

Actually this way of _communication_ is better because the maintainer has -

a) at least seen the bug
b) made it clear upfront that he/she is not in a position to fix it and
c) not inflicted a huge amount of follow up work for the reporter while giving no hope that it will be fixed.

There is not much you can do if the maintainer feels he/she can't do anything - apart from fixing it yourself which has its limits. So the best that can be done is to communicate it clearly - that happens in this case.

Compare the above to -

* Reporter reports a bug.

* People in position to fix it have no care for it and they show it (By not even looking at it).

* Significant amount of time passes with no activity.

* Reporter receives a automated mail (bonus insult) - New release is available, please retest with new release and open a new bug if the problem still exists.

* Bug is closed

* Bug still exists in next release - reporter knows only when he/she gets a chance to upgrade to next release (not always easy/possible).

Parag

#1 lore raw
Quoted 10 lines · Parag Warudkar
Quoted 8 lines · Adrian Bunk <bunk <at> kernel.org> writes:

Maintainer:

Yeah, in any case. I cannot fix it, since it's not a bug in the fobar code. Please reopen a new bug and CC the architecture or PCI maintainer or whatever person related to the bus, chipset or CPU, if you think the foobar device still works. If the foobar hardware got corrupted, you already know what to do...

Quoted 6 lines
Quoted 4 lines

I am well aware that loud flames are often the only working way of communication in Linux kernel development, but we mustn't communicate this way with bug submitters.

Actually this way of _communication_ is better because the maintainer has -

When immediately closing a new bug with a comment only consisting of "Your hardware is seriously broken." it's borderline whether you can call this "communication" - especially if the hardware works under Windows or with a different driver.

Quoted 4 lines

a) at least seen the bug
b) made it clear upfront that he/she is not in a position to fix it and
c) not inflicted a huge amount of follow up work for the reporter while giving no hope that it will be fixed.

And gave the bug reporter (who might have spent some time on writing a proper bug report) the clear impression his bug reports are unwanted.

Quoted 5 lines

There is not much you can do if the maintainer feels he/she can't do anything - apart from fixing it yourself which has its limits. So the best that can be done is to communicate it clearly - that happens in this case.
...

He can ask for the output of "dmesg" and then reassign the bug to the correct people.

Different to immediately closing the bug with the comment "Your hardware is seriously broken." this can result in the bug actually being fixed.

Quoted 1 line

Parag

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#2 lore raw
In reply to Parag Warudkar
Quoted 20 lines · On Friday 02 May 2008 10:42:21 Parag Warudkar wrote:
Quoted 11 lines · Adrian Bunk <bunk <at> kernel.org> writes:

Maintainer:

Yeah, in any case. I cannot fix it, since it's not a bug in the fobar code. Please reopen a new bug and CC the architecture or PCI maintainer or whatever person related to the bus, chipset or CPU, if you think the foobar device still works. If the foobar hardware got corrupted, you already know what to do...

I am well aware that loud flames are often the only working way of communication in Linux kernel development, but we mustn't communicate this way with bug submitters.

Actually this way of _communication_ is better because the maintainer has -

a) at least seen the bug
b) made it clear upfront that he/she is not in a position to fix it and
c) not inflicted a huge amount of follow up work for the reporter while giving no hope that it will be fixed.

Quoted 4 lines

There is not much you can do if the maintainer feels he/she can't do anything - apart from fixing it yourself which has its limits. So the best that can be done is to communicate it clearly - that happens in this case.

With the above behavior, someone is reporting "I can use OS's A, B and C with no problems - the hardware works perfectly. When I try to use Linux X.Y.Z the driver faults and makes things unusable." and the maintainer is saying "The driver is fine. I didn't write code that has any bugs in it. The problem is your hardware is broken."

That kind of response is irresponsible and idiotic. If the hardware works perfectly in every other OS - and possibly even previous versions of Linux - then obviously the hardware isn't broken. This is what Adrian was pointing out and is exactly what shouldn't be happening.

DRH

Signature · 1 line
Dialup is like pissing through a pipette. Slow and excruciatingly painful.
#3 lore raw
Quoted 2 lines · Daniel Hazelton

If the hardware works
perfectly in every other OS

It depends. There used to be the famous case (not longer true now) that older Linux allocated memory from the top of the memory down and other OS generally allocated it the from bottom to up and when some of your top memory was broken Linux would often hit problems where other OS did not.

Also there can be the case when some OS use hardware quite differently or different hardware features than other. Standard case for example used to be that there were a few platforms where the SMM code had 64bit bugs and of course you would only hit them when running a 64bit OS which was Linux.

A modern OS is a very complicated system with tens of millions of code lines and you can't assume they all program the hardware in the same way.

Simple truths are often wrong.

- and possibly even previous versions of Linux -

Now that is a more interesting case. But regressions are always taken seriously by all maintainers I know.

-Andi

#4 lore raw
Quoted 8 lines · On Friday 02 May 2008 13:27:04 Andi Kleen wrote:
Quoted 2 lines · Daniel Hazelton

If the hardware works
perfectly in every other OS

It depends. There used to be the famous case (not longer true now) that older Linux allocated memory from the top of the memory down and other OS generally allocated it the from bottom to up and when some of your top memory was broken Linux would often hit problems where other OS did not.

True.

Quoted 5 lines

Also there can be the case when some OS use hardware quite differently or different hardware features than other. Standard case for example used to be that there were a few platforms where the SMM code had 64bit bugs and of course you would only hit them when running a 64bit OS which was Linux.

Sadly things like this will continue as long as there is a single OS that has more than a 70% market share of the common desktop market.

Quoted 4 lines

A modern OS is a very complicated system with tens of millions of code lines and you can't assume they all program the hardware in the same way.

Simple truths are often wrong.

Yes, but if the hardware *ISN'T* broken, then claiming it is and closing out a bug is the wrong thing to do. The right thing to do would be to find out why the hardware isn't working correctly for the OS/driver combination in question and, if possible, fix the driver.

Quoted 5 lines

- and possibly even previous versions of Linux -

Now that is a more interesting case. But regressions are always taken seriously by all maintainers I know.

Look to the bug-report posted (cleaned of evidence that would incriminate any single person) by (IIRC) Adrian. The guy says "It worked with X and works in Windows, but it now fails with message Z."

Maintainer says "Your hardware is broken", closes the bug and then goes on to say "If the hardware isn't broken, talk to the people in charge of A and B because my code isn't buggy."

That is idiotic and immature.

DRH

Signature · 1 line
Dialup is like pissing through a pipette. Slow and excruciatingly painful.
#5 lore raw
In reply to Daniel Hazelton

On Fri, May 2, 2008 at 12:29 PM, Daniel Hazelton <[email protected]> wrote:
This is what Adrian was pointing

Quoted 2 lines

... out and is exactly what shouldn't be happening.

I wasn't arguing that it is what should be happening - I was just pointing out that there are worse things than that routinely happen in distro bugzillas!

Also I feel that if maintainer refuse to fix something - that's a dead end as far as that particular bug is considered. We can try and track such bugs in different STATUS but there would have to be people interested in digging through such bugs and willing to fix it after the maintainer has given up. Which is possible but not likely.

Parag

#6 lore raw
Quoted 8 lines · On Friday 02 May 2008 13:30:23 Parag Warudkar wrote:

On Fri, May 2, 2008 at 12:29 PM, Daniel Hazelton <[email protected]>
wrote: This is what Adrian was pointing

Quoted 1 line

... out and is exactly what shouldn't be happening.

I wasn't arguing that it is what should be happening - I was just pointing out that there are worse things than that routinely happen in distro bugzillas!

I have to admit that this is the truth. I've seen it myself. (Hell, I won't touch a bug-tracking system for that reason.)

Quoted 7 lines

Also I feel that if maintainer refuse to fix something - that's a dead end as far as that particular bug is considered. We can try and track such bugs in different STATUS but there would have to be people interested in digging through such bugs and willing to fix it after the maintainer has given up. Which is possible but not likely.

Parag

And I have to agree here. But there should be something that can be done to "coax" the maintainers that pull that kind of immature crap into acting mature and responsible.

DRH

Signature · 1 line
Dialup is like pissing through a pipette. Slow and excruciatingly painful.
#7 lore raw
Quoted 19 lines · Daniel Hazelton
Quoted 8 lines · On Friday 02 May 2008 13:30:23 Parag Warudkar wrote:

On Fri, May 2, 2008 at 12:29 PM, Daniel Hazelton <[email protected]>
wrote: This is what Adrian was pointing

Quoted 1 line

... out and is exactly what shouldn't be happening.

I wasn't arguing that it is what should be happening - I was just pointing out that there are worse things than that routinely happen in distro bugzillas!

I have to admit that this is the truth. I've seen it myself. (Hell, I won't touch a bug-tracking system for that reason.)

Quoted 6 lines

Also I feel that if maintainer refuse to fix something - that's a dead end as far as that particular bug is considered. We can try and track such bugs in different STATUS but there would have to be people interested in digging through such bugs and willing to fix it after the maintainer has given up. Which is possible but not likely.

Quoted 5 lines
Quoted 1 line

Parag

And I have to agree here. But there should be something that can be done to "coax" the maintainers that pull that kind of immature crap into acting mature and responsible.

Well, how exactly would you want to do that?

Rafael

#8 lore raw
Quoted 6 lines · Rafael J. Wysocki
Quoted 4 lines

And I have to agree here. But there should be something that can be done to "coax" the maintainers that pull that kind of immature crap into acting mature and responsible.

Well, how exactly would you want to do that?

He could start to fix a few such bugs he's describing (usually with very vague reports) by himself. Or instead of fixing them just trying to get all the information out of the reporter. Then he would realize what the the difference between theory and practice is.

-Andi

#9 lore raw
Quoted 5 lines · On Friday 02 May 2008 14:18:03 Andi Kleen wrote:
Quoted 4 lines · Rafael J. Wysocki
Quoted 3 lines

And I have to agree here. But there should be something that can be done to "coax" the maintainers that pull that kind of immature crap into acting mature and responsible.

Quoted 8 lines
Quoted 1 line

Well, how exactly would you want to do that?

He could start to fix a few such bugs he's describing (usually with very vague reports) by himself. Or instead of fixing them just trying to get all the information out of the reporter. Then he would realize what the the difference between theory and practice is.

-Andi

Andi (and everyone else) note that the key word in what I said is "Should".
IE: there is nothing that can be done, but I feel that the opposite should be true.

DRH

Signature · 1 line
Dialup is like pissing through a pipette. Slow and excruciatingly painful.
#10 lore raw
In reply to Parag Warudkar
Quoted 8 lines · Parag Warudkar

On Fri, May 2, 2008 at 12:29 PM, Daniel Hazelton <[email protected]> wrote:
This is what Adrian was pointing

Quoted 2 lines

... out and is exactly what shouldn't be happening.

I wasn't arguing that it is what should be happening - I was just pointing out that there are worse things than that routinely happen in distro bugzillas!

And the point is?

If I would kill a man it wouldn't become better by pointing out that other people were responsible for the killing of several million men.

Quoted 5 lines

Also I feel that if maintainer refuse to fix something - that's a dead end as far as that particular bug is considered. We can try and track such bugs in different STATUS but there would have to be people interested in digging through such bugs and willing to fix it after the maintainer has given up. Which is possible but not likely.

You completely miss the point.

Quoted 1 line

From what I forwarded it's clear that we have a bug somewhere in the

kernel.

And the maintainer might well be right that it's not in his driver.

Which means to reassign the bug to the maintainer of the area this bug is in.

And in any case, being more friendly to a bug submitter.

Quoted 1 line

Parag

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#11 lore raw
Quoted 7 lines · Adrian Bunk
Quoted 3 lines · Parag Warudkar

I wasn't arguing that it is what should be happening - I was just pointing out that there are worse things than that routinely happen in distro bugzillas!

And the point is?

Point being that no one can force anyone to do anything in the setting in which kernel developers work.
Distros have been doing this since ever and people have no choice but to move on.
(Everybody works out of their own (or employer's) interest and judgement - so telling some one to act otherwise will not be a whole lot productive.)

Quoted 2 lines

You completely miss the point.

I am not - my point is that you can't do much about it that will go long way in resolving the issue.

Quoted 1 line

And in any case, being more friendly to a bug submitter.

Well again - you can't force people to do something like that. In your example it would amount to the maintainer going against his/her own judgement - however wrong it is to you and me, to the person who can actually fix it - it's not a possibility. So you have to just accept it and reassign it to some one else who is interested/capable - for that I suggested tracking such bugs under a new STATUS.

Parag

#12 lore raw
In reply to Adrian Bunk
Quoted 3 lines · On Friday 02 May 2008 14:01:51 Adrian Bunk wrote:
Quoted 2 lines · Parag Warudkar

On Fri, May 2, 2008 at 12:29 PM, Daniel Hazelton <[email protected]>
wrote: This is what Adrian was pointing

<snip>

Quoted 5 lines

From what I forwarded it's clear that we have a bug somewhere in the kernel.

And the maintainer might well be right that it's not in his driver.

This is something that can't be known without enough information from the person reporting the bug. From what you posted of the bugzilla entry it's unclear whether the reporter did post more than his simple description or not.

However, the point is well made and I, at least, agree. (whatever that may be worth - I've never managed to finish a patch for anything without seeing the equivalent show up here later)

Quoted 2 lines

Which means to reassign the bug to the maintainer of the area this bug is in.

Yep. Closing it with a comment of "broken hardware" is an incorrect response. Doubly or trebly so if the bugzilla entry didn't contain enough information to even determine whether the bug was in the driver or not.

DRH

Signature · 1 line
Dialup is like pissing through a pipette. Slow and excruciatingly painful.