reboot vs poweroff
Subsystems (3)
Quoted 4 lines
Patch tested and works fine here. You should probably make a note in the bugzilla so we don't get a conflicting merge from the ACPI folks.
One might also consider that it would be a good idea to send patches that break ACPI files to the ACPI maintainer and [email protected] before sending them to Linus...
-Len
Quoted 9 lines · Len
Quoted 4 lines
Patch tested and works fine here. You should probably make a note in the bugzilla so we don't get a conflicting merge from the ACPI folks.
One might also consider that it would be a good idea to send patches that break ACPI files to the ACPI maintainer and [email protected] before sending them to Linus...
My apologies, for bug fixes that are not complete and simply move where the bug is. My apologies also for not cc'ing you, I didn't intend to omit you but it never occurred to me. The patch was also 2 lines and obviously correct.
For this round I knew you were on the CC list and deliberately included you.
My goal for the reboot/halt/suspend/kexec path is to fix it so the generic code is correct and consistent. Something it hasn't been for years creating the affect that a correct bug fix in one place would break something else.
Until the reboot paths are correct and consistent things will continue to break, in weird and unpredictable ways, that will keep us all hunting weird strange bugs for a long time. I think the S4 suspend case is the last code path that needs to be fixed. It is certainly the last one I am aware of.
Eric
Quoted 9 lines · Len
Quoted 4 lines
Patch tested and works fine here. You should probably make a note in the bugzilla so we don't get a conflicting merge from the ACPI folks.
One might also consider that it would be a good idea to send patches that break ACPI files to the ACPI maintainer and [email protected] before sending them to Linus...
OK hopefully this is my final version of this bug fix.
Eric
include/linux/reboot.h +4 -0
@@ -59,6 +59,10 @@ extern void machine_crash_shutdown(struc* Architecture independent implemenations of sys_reboot commands. */ +extern void kernel_restart_prepare (char *cmd); +extern void kernel_halt_prepare (void ); +extern void kernel_power_off_prepare (void ); +extern void kernel_restart (char *cmd);extern void kernel_halt (void );extern void kernel_power_off (void );
kernel/power/disk.c +2 -4
@@ -17,12 +17,12 @@#include <linux/delay.h> #include <linux/fs.h> #include <linux/mount.h> +#include <linux/pm.h> #include "power.h" extern suspend_disk_method_t pm_disk_mode; -extern struct pm_ops * pm_ops;extern int swsusp_suspend (void );extern int swsusp_write (void );
@@ -49,13 +49,11 @@ dev_t swsusp_resume_device;static void power_down (suspend_disk_method_t mode) { -unsigned long flags;int error =0 ; -local_irq_save (flags);switch (mode) {case PM_DISK_PLATFORM : -device_shutdown (); +kernel_power_off_prepare (); error = pm_ops->enter (PM_SUSPEND_DISK );break ;case PM_DISK_SHUTDOWN :
kernel/sys.c +46 -6
99 lines not on this page · raw message
Quoted 1 line
OK hopefully this is my final version of this bug fix.
I'm not in the position to test threse patches any more because the mainboard in question died last week when I installed some more RAM into it. Masoud Sharbiani <[email protected]> added to CC: since he experienced the same problem.
Signature · 8 lines
Meelis Roos ([email protected]) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Quoted 5 lines · Meelis Roos
Quoted 1 line
OK hopefully this is my final version of this bug fix.
I'm not in the position to test threse patches any more because the mainboard in question died last week when I installed some more RAM into it. Masoud Sharbiani <[email protected]> added to CC: since he experienced the same problem.
Thanks for looking.
At this point I am less worried about fixing the bug. Then I am worried about the form of the bug fix. (i.e. do weird compile options break it).
But any testing or review is appreciated.
Eric
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
PATCH 1/2 reboot: Comment and factor the main reboot functions
In reply to Meelis RoosIn the lead up to 2.6.13 I fixed a large number of reboot problems by making the calling conventions consistent. Despite checking and double checking my work it appears I missed an obvious one.
This first patch simply refactors the reboot routines so all of the preparation for various kinds of reboots are in their own functions. Making it very hard to get the various kinds of reboot out of sync.
---
include/linux/reboot.h | 4 ++++ kernel/sys.c | 52 ++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 50 insertions(+), 6 deletions(-)
bc95b88c85ec3e7a0525f73f6c3ae19fa9640fbd
include/linux/reboot.h +4 -0
@@ -59,6 +59,10 @@ extern void machine_crash_shutdown(struc* Architecture independent implemenations of sys_reboot commands. */ +extern void kernel_restart_prepare (char *cmd); +extern void kernel_halt_prepare (void ); +extern void kernel_power_off_prepare (void ); +extern void kernel_restart (char *cmd);extern void kernel_halt (void );extern void kernel_power_off (void );
kernel/sys.c +46 -6
99 lines not on this page · raw message
PATCH 2/2 suspend: Cleanup calling of power off methods.
In the lead up to 2.6.13 I fixed a large number of reboot problems by making the calling conventions consistent. Despite checking and double checking my work it appears I missed an obvious one.
The S4 suspend code for PM_DISK_PLATFORM was also calling device_shutdown without setting system_state, and was not calling the appropriate reboot_notifier.
This patch fixes the bug by replacing the call of device_suspend with kernel_poweroff_prepare.
Various forms of this failure have been fixed and tracked for a while.
Thanks for tracking this down go to: Alexey Starikovskiy,
Meelis Roos <[email protected]>, Nigel Cunningham <ncunningham-3EexvZdKGZRWk0Htik3J/[email protected]>, Pierre Ossman <[email protected]>
History of this bug is at:
http://bugme.osdl.org/show_bug.cgi?id=4320
---
kernel/power/disk.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
2c72ba7b1126a7ccf3e8fc032f041a223e39aa97
kernel/power/disk.c +2 -4
@@ -17,12 +17,12 @@#include <linux/delay.h> #include <linux/fs.h> #include <linux/mount.h> +#include <linux/pm.h> #include "power.h" extern suspend_disk_method_t pm_disk_mode; -extern struct pm_ops * pm_ops;extern int swsusp_suspend (void );extern int swsusp_write (void );
@@ -49,13 +49,11 @@ dev_t swsusp_resume_device;static void power_down (suspend_disk_method_t mode) { -unsigned long flags;int error =0 ; -local_irq_save (flags);switch (mode) {case PM_DISK_PLATFORM : -device_shutdown (); +kernel_power_off_prepare (); error = pm_ops->enter (PM_SUSPEND_DISK );break ;case PM_DISK_SHUTDOWN :
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Hi!
Quoted 8 lines
In the lead up to 2.6.13 I fixed a large number of reboot problems by making the calling conventions consistent. Despite checking and double checking my work it appears I missed an obvious one.
The S4 suspend code for
PM_DISK_PLATFORMwas also callingdevice_shutdownwithout settingsystem_state, and was not calling the appropriatereboot_notifier.
ACK on both. But should not you submit patch via -mm, so it gets at least some testing there?
Pavel
Signature · 1 line
if you have sharp zaurus hardware you don't need... you know my address
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Quoted 7 lines · Pavel Machek
Hi!
Quoted 5 lines
In the lead up to 2.6.13 I fixed a large number of reboot problems by making the calling conventions consistent. Despite checking and double checking my work it appears I missed an obvious one.
Quoted 6 lines
Quoted 3 lines
The S4 suspend code for
PM_DISK_PLATFORMwas also callingdevice_shutdownwithout settingsystem_state, and was not calling the appropriatereboot_notifier.ACK on both. But should not you submit patch via -mm, so it gets at least some testing there?
The code is obviously correct, and the people with the problem have reported that this approach solves it.
If this bit of functionality is to even work we need to do something like this.
So I don't see what benefit putting this in -mm would give. If I was aggressive I would say that this needs to be in 2.6.13.N. If I'm not following some procedure I don't have a problem changing though.
This is the final fix I know of to get a consistent set of semantics for the everything in the ``reboot path''.
Quoted 1 line
From a practical standpoint I am very tardy in getting this out.
Eric
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Hi!
Quoted 10 lines
Quoted 6 lines
Quoted 3 lines
The S4 suspend code for
PM_DISK_PLATFORMwas also callingdevice_shutdownwithout settingsystem_state, and was not calling the appropriatereboot_notifier.ACK on both. But should not you submit patch via -mm, so it gets at least some testing there?
The code is obviously correct, and the people with the problem have reported that this approach solves it.
Quoted 7 lines
If this bit of functionality is to even work we need to do something like this.
So I don't see what benefit putting this in -mm would give. If I was aggressive I would say that this needs to be in 2.6.13.N. If I'm not following some procedure I don't have a problem changing though.
I think you are not following the proper procedure. All the patches should go through akpm.
Pavel
Signature · 1 line
Boycott Kodak -- for their patent abuse against Java.
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Quoted 2 lines · Pavel Machek
I think you are not following the proper procedure. All the patches should go through akpm.
Ok. I must have missed the most recent procedure change.
Anyway. Andrew has picked these patches up so all looks good.
Eric
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
In reply to Pavel MachekQuoted 3 lines · Pavel Machek
I think you are not following the proper procedure. All the patches should go through akpm.
One issue is that I actually worry that Andrew will at some point be where I was a couple of years ago - overworked and stressed out by just tons and tons of patches.
Yes, he's written/modified tons of patch-tracking tools, and the git merging hopefully avoids some of the pressures, but it still worries me. If Andrew burns out, we'll all suffer hugely.
I'm wondering what we can do to offset those kinds of issues. I _do_ like having -mm as a staging area and catching some problems there, so going through andrew is wonderful in that sense, but it has downsides.
Andrew?
Linus
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Quoted 4 lines · Linus Torvalds
Quoted 3 lines · Pavel Machek
I think you are not following the proper procedure. All the patches should go through akpm.
Ok. I thought it was fine to send simple and obviously correct bug fixes to Linus.
Quoted 11 lines
One issue is that I actually worry that Andrew will at some point be where I was a couple of years ago - overworked and stressed out by just tons and tons of patches.
Yes, he's written/modified tons of patch-tracking tools, and the git merging hopefully avoids some of the pressures, but it still worries me. If Andrew burns out, we'll all suffer hugely.
I'm wondering what we can do to offset those kinds of issues. I _do_ like having -mm as a staging area and catching some problems there, so going through andrew is wonderful in that sense, but it has downsides.
It is especially challenging for people like me who typically work on parts of the kernel without a maintainer. So there frequently isn't an intermediate I can submit my patches to.
Eric
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Quoted 10 lines · ebiederm-aS9lmoZGLiVWk0Htik3J/[email protected] (Eric W. Biederman) wrote:
Quoted 4 lines · Linus Torvalds
Quoted 3 lines · Pavel Machek
I think you are not following the proper procedure. All the patches should go through akpm.
Ok. I thought it was fine to send simple and obviously correct bug fixes to Linus.
I habitually scoop up patches and will get them into Linus (preferably after 1-2 -mm cycles) if he ducks them.
Quoted 8 lines
Quoted 8 lines
One issue is that I actually worry that Andrew will at some point be where I was a couple of years ago - overworked and stressed out by just tons and tons of patches.
Yes, he's written/modified tons of patch-tracking tools, and the git merging hopefully avoids some of the pressures, but it still worries me. If Andrew burns out, we'll all suffer hugely.
Quoted 7 lines
Quoted 3 lines
I'm wondering what we can do to offset those kinds of issues. I _do_ like having -mm as a staging area and catching some problems there, so going through andrew is wonderful in that sense, but it has downsides.
It is especially challenging for people like me who typically work on parts of the kernel without a maintainer. So there frequently isn't an intermediate I can submit my patches to.
Yup. And MAINTAINERS has quite a few omissions. I generally know who should be poked and if there's nobody obvious I have 26000 patches to grep through to find out who might know a bit about that code. Low-level x86 is a bit of a problem really because it has many cooks and no obvious chef.
Individual maintainers have differing response times, differing attentiveness and differing patchloss ratios.
There's also confusion once I've cc'ed a maintainer on a patch over whether I'll be sending it to Linus or whether I want them to.
If a maintainer has a tree in -mm then I'll autodrop the patch if they merge it, so there's no confusion there.
If the maintainer says "thanks, merged" and I don't have their tree in -mm then I'll tend to hang onto the patch indefinitely until it finally hits -linus. Or I'll eventually forget and merge it up anyway ;)
If the maintainer just acks the patch I'll send it in to Linus.
If the maintainer nacks the patch I'll either drop it or I'll mark it not-for-merging and hang onto it anwyay, as a reminder that we have some bug which needs fixing.
If the maintainer has a tree in -mm and doesn't merge the patch I'll hang onto it and periodically resend to the maintainer until some definite response comes back.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
In reply to Linus TorvaldsQuoted 11 lines · On Wed, Sep 21, 2005 at 09:35:20AM -0700 Linus Torvalds wrote:
Quoted 3 lines · Pavel Machek
I think you are not following the proper procedure. All the patches should go through akpm.
One issue is that I actually worry that Andrew will at some point be where I was a couple of years ago - overworked and stressed out by just tons and tons of patches.
Quoted 8 lines
Yes, he's written/modified tons of patch-tracking tools, and the git merging hopefully avoids some of the pressures, but it still worries me. If Andrew burns out, we'll all suffer hugely.
I'm wondering what we can do to offset those kinds of issues. I _do_ like having -mm as a staging area and catching some problems there, so going through andrew is wonderful in that sense, but it has downsides.
Morever bugme.osdl.org is severely underworked (acpi being a noteable exception) and Andrew has stepped in alot there too. Alot of bugs reported on the mailing list are only followed up by Andrew.
I think he really should receive much more help than he currently does.
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Quoted 23 lines · Alexander Nyberg
Quoted 11 lines · On Wed, Sep 21, 2005 at 09:35:20AM -0700 Linus Torvalds wrote:
Quoted 3 lines · Pavel Machek
I think you are not following the proper procedure. All the patches should go through akpm.
One issue is that I actually worry that Andrew will at some point be where I was a couple of years ago - overworked and stressed out by just tons and tons of patches.
Quoted 8 lines
Yes, he's written/modified tons of patch-tracking tools, and the git merging hopefully avoids some of the pressures, but it still worries me. If Andrew burns out, we'll all suffer hugely.
I'm wondering what we can do to offset those kinds of issues. I _do_ like having -mm as a staging area and catching some problems there, so going through andrew is wonderful in that sense, but it has downsides.
Quoted 5 lines
Morever bugme.osdl.org is severely underworked (acpi being a noteable exception) and Andrew has stepped in alot there too. Alot of bugs reported on the mailing list are only followed up by Andrew.
I think he really should receive much more help than he currently does.
Yes, kernel bugmeister is a completely separate function from patchmonkeying. It is something which a separate person can and should do.
My current thinking is that I'll develop the processes, find out what works and then look to hand it off to some other sucker. I wouldn't claim that this is going very well at present, perhaps because I'm just not putting enough time into the bugmeistering to be able to demonstrate what works and what does not.
I wouldn't say that bugmeister is a fulltime job, but it'll be a lot-of-time job. It needs someone who isn't shy and who has a good understanding of the kernel code-wise, of the processes (hah) and of the people.
The ability to maintain an overall view of where we're at, which bugs are serious and which aren't. The ability to succinctly communicate that overview to everyone else. Able to tell Linus "you can't release a kernel until bugs A, B and C are fixed". The skills and gut-feel to know when a patch is some once-off which can be ignored unless it reoccurs, etc. It's one of those things which can consume as much effort as one is able to put into it.
Kernel development is more professional than we like to pretend nowadays, and developers will react well to someone who is doing this for us. It's pretty boring tho.
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Quoted 6 lines · Andrew Morton
I wouldn't say that bugmeister is a fulltime job, but it'll be a lot-of-time job. It needs someone who isn't shy and who has a good understanding of the kernel code-wise, of the processes (hah) and of the people.
Quoted 7 lines
The ability to maintain an overall view of where we're at, which bugs are serious and which aren't. The ability to succinctly communicate that overview to everyone else. Able to tell Linus "you can't release a kernel until bugs A, B and C are fixed". The skills and gut-feel to know when a patch is some once-off which can be ignored unless it reoccurs, etc. It's one of those things which can consume as much effort as one is able to put into it.
I recognize this description: sorry, Andrew, can we please clone you?
Hugh
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
In reply to Alexander NybergQuoted 3 lines · Alexander Nyberg
Morever bugme.osdl.org is severely underworked (acpi being a noteable exception) and Andrew has stepped in alot there too. Alot of bugs reported on the mailing list are only followed up by Andrew.
One of the things I'm _really_ missing from OSDL's bugzilla setup is a mailing list (if there's one I've never heard about it) where all changes/new bugs/ random crap are posted. Something like:
http://lists.freedesktop.org/archives/xorg-bugzilla-noise/2005-April/thread.html
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Quoted 11 lines · Diego Calleja
Quoted 3 lines · Alexander Nyberg
Morever bugme.osdl.org is severely underworked (acpi being a noteable exception) and Andrew has stepped in alot there too. Alot of bugs reported on the mailing list are only followed up by Andrew.
One of the things I'm _really_ missing from OSDL's bugzilla setup is a mailing list (if there's one I've never heard about it) where all changes/new bugs/ random crap are posted.
There is such a list - it's a great way to depress yourself while still half asleep.
[email protected], but I'm not sure how one subscribes. It doesn't
appear at http://lists.osdl.org/mailman/listinfo/. Martin?
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
Morever bugme.osdl.org is severely underworked (acpi being a noteable exception) and Andrew has stepped in alot there too. Alot of bugs reported on the mailing list are only followed up by Andrew.
One of the things I'm _really_ missing from OSDL's bugzilla setup is a mailing list (if there's one I've never heard about it) where all changes/new bugs/ random crap are posted.
Quoted 5 lines
There is such a list - it's a great way to depress yourself while still half asleep.
[email protected], but I'm not sure how one subscribes. It doesn't
appear at http://lists.osdl.org/mailman/listinfo/. Martin?
http://lists.osdl.org/mailman/listinfo/bugme-new
But it's not "all changes/new bugs/random crap", it's "new bugs". And it's all categories, but there's handy-dandy X- header fields to filter on.
M.
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Quoted 5 lines · Martin J. Bligh
http://lists.osdl.org/mailman/listinfo/bugme-new
But it's not "all changes/new bugs/random crap", it's "new bugs". And it's all categories, but there's handy-dandy X- header fields to filter on.
I discovered this other ml: http://lists.osdl.org/mailman/listinfo/bugme-janitors
So, http://lists.osdl.org/mailman/listinfo/bugme-new is just for new bugs and http://lists.osdl.org/mailman/listinfo/bugme-janitors for everything else, or bugme-janitors is non-functional? (I tried to subscribe to check it myself but subscription requires "moderator approval")
If so, can we have the bugme-janitors and bugme-new archives opened for everyone (so google can index it?)
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
--Diego Calleja <[email protected]> wrote (on Monday, September 26, 2005 14:09:00 +0200):
Quoted 9 lines
Quoted 5 lines · Martin J. Bligh
http://lists.osdl.org/mailman/listinfo/bugme-new
But it's not "all changes/new bugs/random crap", it's "new bugs". And it's all categories, but there's handy-dandy X- header fields to filter on.
Quoted 6 lines
I discovered this other ml: http://lists.osdl.org/mailman/listinfo/bugme-janitors
So, http://lists.osdl.org/mailman/listinfo/bugme-new is just for new bugs and http://lists.osdl.org/mailman/listinfo/bugme-janitors for everything else, or bugme-janitors is non-functional? (I tried to subscribe to check it myself but subscription requires "moderator approval")
Ooops. shouldn't do. will fix.
Quoted 2 lines
If so, can we have the bugme-janitors and bugme-new archives opened for everyone (so google can index it?)
Yeah, sounds fair enough (though I think google will index bugzilla too)
M.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
In reply to Andrew MortonQuoted 2 lines · Andrew Morton
There is such a list - it's a great way to depress yourself while still half asleep.
Thanks. While we are at it, what do people thinks about this very humble wiki page? (ie, does it have sense or I'd better remove it?):
http://wiki.kernelnewbies.org/wiki/LinuxChanges
I'm trying to do something useful, ie like:
http://wiki.dragonflybsd.org/index.php/DragonFly_Status
(yes, I also hate wikis, but if people knows of a better "colaborative environment" crap which works even with lynx and using it is as easy *cough* as writing text in a text form in lynx I'm all ears.
http://gcc.gnu.org/wiki/ is also a great example of why kernel could benefit from using a wiki)
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
In reply to Alexander NybergQuoted 3 lines · Alexander Nyberg
Morever bugme.osdl.org is severely underworked (acpi being a noteable exception) and Andrew has stepped in alot there too. Alot of bugs reported on the mailing list are only followed up by Andrew.
That depends on your point of view. One of the biggest problems bugme has is that not enough of the kernel developers are on it.
I originally signed up to bugme to be able to use it as a service for those folk who want to report a bug against the new code I look after, but (for me) it's turned into a bug reporting system for all serial drivers and seemingly its my responsibility to fix them all (because I can't assign them to anyone else - I don't even know who else is signed up to bugme to be able to give them away.)
And as a direct result of this, I tend to end up rejecting bug reports for random serial drivers that I have absolutely no idea about just because I can't shift them. I don't like doing this because it means as a whole we're losing valuable bug reports, but if I don't take this drastic action, I'd end up with pages of unprocessable bugs.
So, before trying to get the "underworked" bug system used more, please try to get more developers signed up to it so that we have the necessary folk behind the bug system to handle the increased work load.
Signature · 3 lines
Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Quoted 5 lines · Russell King
So, before trying to get the "underworked" bug system used more,
please try to get more developers signed up to it so that we have the necessary folk behind the bug system to handle the increased work load.
They don't actually need to be signed up to bugzilla. Just cc bugme-daemon-ztI5WcYan/[email protected] on the email trail and anything with '[Bug NNNN]' in Subject: gets filed appropriately.
So all you need to do forward the email to the relevant culprit and cc bugme-daemon-ztI5WcYan/[email protected] Unfotunately some of the emails which bugzilla sends (the [bugme-new] ones) don't actually have bugme-daemon-ztI5WcYan/[email protected] on the To: or Cc: lines, so you need to add that by hand the first time.
On problem with all this is that once the discussion has gone to email, it kinda has to stay that way - if someone goes in and updates the bug via the web interface, those people who were getting the info only via direct email
don't get to see the new info. Generally that works out OK.
It would be nice if
a) we could add non-bugzilla-account-holders to a bug's cc list and
b) Once bugzilla sees any person either sending or receiving emails or web entries, it autoadds that person to the bug's cc list, so they get email for all further activity. Could be a bit irritating, but tough luck ;) We need to fix bugs.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
In reply to Russell KingQuoted 7 lines · Russell King
So, before trying to get the "underworked" bug system used more, please try to get more developers signed up to it so that we have the necessary folk behind the bug system to handle the increased work load.
What we probably need then is an official policy that maintainers need to have an account in the bugzilla. Start with the subsystem maintainers and leave it to them to get each driver maintainer in line. Having only a handful of parts of the kernel in the bugzilla is just confusing.
Personally I think the mailing lists are a great way for general discussion. But once we have a confirmed bug (or difficult new feature) it is better off being tracked in bugzilla. And this is my opinion both as a user and as a developer. Bugzilla is the de facto standard of reporting bugs so some users might find it troublesome dealing with mailing lists such as LKML.
Rgds
Pierre
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Re: [ACPI] Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Hi,
Quoted 15 lines · Pierre Ossman
Quoted 7 lines · Russell King
So, before trying to get the "underworked" bug system used more, please try to get more developers signed up to it so that we have the necessary folk behind the bug system to handle the increased work load.
What we probably need then is an official policy that maintainers need to have an account in the bugzilla. Start with the subsystem maintainers and leave it to them to get each driver maintainer in line. Having only a handful of parts of the kernel in the bugzilla is just confusing.
Quoted 6 lines
Personally I think the mailing lists are a great way for general discussion. But once we have a confirmed bug (or difficult new feature) it is better off being tracked in bugzilla. And this is my opinion both as a user and as a developer. Bugzilla is the de facto standard of reporting bugs so some users might find it troublesome dealing with mailing lists such as LKML.
Generally, I think, all bugs fall into one of two categories. Namely, there are bugs that get fixed immediately as soon as someone with a clue sees the report, compilation problems and the like, and there are bugs that require much time to be handled. IMHO, it doesn't make sense to litter bugzilla with bugs of the first kind, but all bugs of the second kind should be tracked in it, at least for the record.
Greetings,
Rafael
Signature · 3 lines
- Would you tell me, please, which way I ought to go from here? - That depends a good deal on where you want to get to. -- Lewis Carroll "Alice's Adventures in Wonderland"
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
In reply to Pierre OssmanQuoted 4 lines · Pierre Ossman
What we probably need then is an official policy that maintainers need to have an account in the bugzilla. Start with the subsystem maintainers and leave it to them to get each driver maintainer in line. Having only a handful of parts of the kernel in the bugzilla is just confusing.
But the definition of a maintainer is whoever takes responsibility for part X. The are many pieces of the kernel that don't easily break up into the taxonomy of subsystem and driver. There are many people to reluctantly take responsibility because there is no one else, and so aren't even mentioned in MAINTAINERS much less the rest of it.
Quoted 6 lines
Personally I think the mailing lists are a great way for general discussion. But once we have a confirmed bug (or difficult new feature) it is better off being tracked in bugzilla. And this is my opinion both as a user and as a developer. Bugzilla is the de facto standard of reporting bugs so some users might find it troublesome dealing with mailing lists such as LKML.
One problem I have with a system like bugzilla is that frequently bug reports are not complete, and bugzilla sets the expectation that once you file a bug the reporters part is complete. Frequently it takes several round trips via email to even understand the bug that is being reported.
So either we need a two level bug tracking system where there is a place to capture bugs that users see, and a place to track bugs that developers understand. Or we need something that is much more interactive than bugzilla.
I like Andrews idea of a short term mailing lists for each bug. Where filing the bug creates the mailing list and the mailing list exists until the bug is closed sounds like something that might even get used, as it can be easy for everyone.
Eric
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Quoted 5 lines · Eric W. Biederman
One problem I have with a system like bugzilla is that frequently bug reports are not complete, and bugzilla sets the expectation that once you file a bug the reporters part is complete. Frequently it takes several round trips via email to even understand the bug that is being reported.
What it needs is something like the Red Hat bugzilla front end, where reporters are guided through the information they need to submit. Maybe that would help with bugme if we had such a front end?
Signature · 10 lines
Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
In reply to Eric W. BiedermanQuoted 8 lines · Eric W. Biederman
But the definition of a maintainer is whoever takes responsibility for part X. The are many pieces of the kernel that don't easily break up into the taxonomy of subsystem and driver. There are many people to reluctantly take responsibility because there is no one else, and so aren't even mentioned in
MAINTAINERSmuch less the rest of it.
Setting up an account for a mailing list and linking unmaintained parts to it would be a solution to that. Either set up a specific list for this or use when of the current ones (like LKML). The big problem I see at the moment is that not all parts of the kernel are represented in the bugzilla.
Quoted 7 lines
One problem I have with a system like bugzilla is that frequently bug reports are not complete, and bugzilla sets the expectation that once you file a bug the reporters part is complete. Frequently it takes several round trips via email to even understand the bug that is being reported.
I agree that most bug reports are incomplete. But I still think that a bugzilla is the way to go. We need to educate the users in filing bug reports no matter which forum is used. Russell's point about having a wizard would probably help a lot. A bugzilla also gives the option of marking bugs with NEEDINFO, INVALID and similar, clearly expressing to the user how the maintainer sees this bug.
Quoted 7 lines
So either we need a two level bug tracking system where there is a place to capture bugs that users see, and a place to track bugs that developers understand. Or we need something that is much more interactive than bugzilla.
I think that the categories NEW/ASSIGNED/CONFIRMED suffices. Although discussions on mailing lists are more natural for the people here I don't agree that bugzilla is less interactive than lists.
Rgds
Pierre
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
In reply to Linus TorvaldsQuoted 11 lines · Linus Torvalds
Quoted 3 lines · Pavel Machek
I think you are not following the proper procedure. All the patches should go through akpm.
One issue is that I actually worry that Andrew will at some point be where I was a couple of years ago - overworked and stressed out by just tons and tons of patches.
Patches are very low overhead, really. It's patches which don't work which take lots of time - a single dud patch can take hours and can make me think rude thoughts about its originator.
Quoted 10 lines
Yes, he's written/modified tons of patch-tracking tools, and the git merging hopefully avoids some of the pressures, but it still worries me. If Andrew burns out, we'll all suffer hugely.
I'm wondering what we can do to offset those kinds of issues. I _do_ like having -mm as a staging area and catching some problems there, so going through andrew is wonderful in that sense, but it has downsides.
Andrew?
I'm doin OK.
Patch volume isn't a problem wrt the simple mechanics of handling them. The problem we have at present is lack of patch reviewing bandwidth. I'll be tightening things up in that area. Relatively few developers seem to have the stomach to do a line-by-line through large patches, and it would be nice to refocus people a bit on that. Christoph's work is hugely appreciated, thanks.
Famous last words, but the actual patch volume _has_ to drop off one day. In fact there doesn't seem to much happening out there wrt 2.6.15.
Bugs are a big problem - it takes 4 hours minimum to get a -mm out the door and a single bug can cause it to slip to the next day in which case I have to start again. A couple of times it has taken over two days just to get together a tree which boots on four architectures and compiles on seven.
I'm spending more and more time on bugs now. We have hundreds of bugs which people have taken the time to report, which the relevant developers know about and NOTHING IS HAPPENING. "I can't reproduce it" is not an adequate reason when there are nice testers out there who are available to work through the diagnosis process. We have hundreds of machines out there which we are known to have broken and developers just need to reapportion some of their time to getting these things fixed.
The -mm tree does prevent a large amount of crap from hitting mainline - I'd guess the bug leakthrough rate is ~10%, although that 90% tends to be the easy stuff - often compile errors. I'd like to release -mm's more often and I'd like -mm to have less of a wild-and-crappy reputation. Both of these would happen if originators were to test ther stuff more carefully.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Quoted 1 line · Andrew Morton
I'm doin OK.
Good to hear.
Quoted 9 lines
Patch volume isn't a problem wrt the simple mechanics of handling them. The problem we have at present is lack of patch reviewing bandwidth. I'll be tightening things up in that area. Relatively few developers seem to have the stomach to do a line-by-line through large patches, and it would be nice to refocus people a bit on that. Christoph's work is hugely appreciated, thanks.
Famous last words, but the actual patch volume _has_ to drop off one day. In fact there doesn't seem to much happening out there wrt 2.6.15.
Due to changes coming through git or that there will simply be fewer things that need to be patched?
As for 2.6.15 I know I have patches in the queue that I intend to send out later this week, which probably count. I wonder if other developers are similar.
Eric
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Re: [PATCH 2/2] suspend: Cleanup calling of power off methods.
Quoted 6 lines · [email protected] (Eric W. Biederman) wrote:
Quoted 3 lines
Famous last words, but the actual patch volume _has_ to drop off one day. In fact there doesn't seem to much happening out there wrt 2.6.15.
Due to changes coming through git or that there will simply be fewer things that need to be patched?
We're at -rc2 and I only have only maybe 100 patches tagged for 2.6.15 at this time. The number of actual major features lined up for 2.6.15 looks relatively small too.
As I said, famous last words. But we have to finish this thing one day ;)
Quoted 3 lines
As for 2.6.15 I know I have patches in the queue that I intend to send out later this week, which probably count. I wonder if other developers are similar.
Possibly. Quite a few of the git trees are looking pretty fat. I need to get another kernel-status thingy out soon, but that takes many hours of bugzilla-poking.