* Re: Dropping CONFIG_PM_DISK? [not found] <1ulUA-33w-3@gated-at.bofh.it> @ 2004-02-29 16:17 ` Karol Kozimor 2004-02-29 16:23 ` Pavel Machek 0 siblings, 1 reply; 40+ messages in thread From: Karol Kozimor @ 2004-02-29 16:17 UTC (permalink / raw) To: Pavel Machek; +Cc: linux-kernel Thus wrote Pavel Machek: > Would there be any major screaming if I tried to drop CONFIG_PM_DISK? > It seems noone is maintaining it, equivalent functionality is provided > by swsusp, and it is confusing users... It may be ugly, it may be unmaintained, but I get the impression that it works for some people for whom swsusp doesn't. So unless swsusp works for everyone or Nigel's swsusp2 is merged, I'd suggest leaving that in. Best regards, -- Karol 'sziwan' Kozimor sziwan@hell.org.pl ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-02-29 16:17 ` Dropping CONFIG_PM_DISK? Karol Kozimor @ 2004-02-29 16:23 ` Pavel Machek 2004-02-29 17:32 ` Måns Rullgård 0 siblings, 1 reply; 40+ messages in thread From: Pavel Machek @ 2004-02-29 16:23 UTC (permalink / raw) To: Karol Kozimor; +Cc: linux-kernel Hi! > > Would there be any major screaming if I tried to drop CONFIG_PM_DISK? > > It seems noone is maintaining it, equivalent functionality is provided > > by swsusp, and it is confusing users... > > It may be ugly, it may be unmaintained, but I get the impression that it > works for some people for whom swsusp doesn't. So unless swsusp works for > everyone or Nigel's swsusp2 is merged, I'd suggest leaving that in. Do you have example when pmdisk works and swsusp does not? I'm not aware of any in recent history... Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-02-29 16:23 ` Pavel Machek @ 2004-02-29 17:32 ` Måns Rullgård 2004-02-29 18:10 ` Michael Frank 2004-02-29 18:10 ` Pavel Machek 0 siblings, 2 replies; 40+ messages in thread From: Måns Rullgård @ 2004-02-29 17:32 UTC (permalink / raw) To: linux-kernel Pavel Machek <pavel@ucw.cz> writes: > Hi! > >> > Would there be any major screaming if I tried to drop CONFIG_PM_DISK? >> > It seems noone is maintaining it, equivalent functionality is provided >> > by swsusp, and it is confusing users... >> >> It may be ugly, it may be unmaintained, but I get the impression that it >> works for some people for whom swsusp doesn't. So unless swsusp works for >> everyone or Nigel's swsusp2 is merged, I'd suggest leaving that in. > > Do you have example when pmdisk works and swsusp does not? I'm not > aware of any in recent history... For me, none of them (pmdisk, swsusp and swsusp2) work. I did manage to get pmdisk to resume once, and swsusp2 makes it half-way through the resume. The old swsusp doesn't even get that far. -- Måns Rullgård mru@kth.se ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-02-29 17:32 ` Måns Rullgård @ 2004-02-29 18:10 ` Michael Frank 2004-02-29 21:33 ` [Swsusp-devel] " Micha Feigin 2004-02-29 18:10 ` Pavel Machek 1 sibling, 1 reply; 40+ messages in thread From: Michael Frank @ 2004-02-29 18:10 UTC (permalink / raw) To: Måns Rullgård; +Cc: Software suspend, linux-kernel On Sun, 29 Feb 2004 18:32:21 +0100, Måns Rullgård <mru@kth.se> wrote: > Pavel Machek <pavel@ucw.cz> writes: > >> Hi! >> >>> > Would there be any major screaming if I tried to drop CONFIG_PM_DISK? >>> > It seems noone is maintaining it, equivalent functionality is provided >>> > by swsusp, and it is confusing users... >>> >>> It may be ugly, it may be unmaintained, but I get the impression that it >>> works for some people for whom swsusp doesn't. So unless swsusp works for >>> everyone or Nigel's swsusp2 is merged, I'd suggest leaving that in. >> >> Do you have example when pmdisk works and swsusp does not? I'm not >> aware of any in recent history... > > For me, none of them (pmdisk, swsusp and swsusp2) work. I did manage > to get pmdisk to resume once, and swsusp2 makes it half-way through > the resume. Hate to hear this - 2.0 is said to work _flawlessly_ on 2.4.24 and on 2.6.2 within the bounds of more complex PM/driver issues. 2.4.25 and 2.6.3 patches are undergoing testing. If you like to try again, please have a look at http://swsusp.sf.net. There is also comprehensive FAQ and Howto on the site. You also will find a lot of user support wrt specific HW. Myself is running 2.0 on 2.4.2[345] without any stability issues whatsoever this year. In short, I am confident we can make it work for you! Regards Michael ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-02-29 18:10 ` Michael Frank @ 2004-02-29 21:33 ` Micha Feigin 2004-03-01 2:51 ` Michael Frank 0 siblings, 1 reply; 40+ messages in thread From: Micha Feigin @ 2004-02-29 21:33 UTC (permalink / raw) To: Software suspend, linux-kernel On Mon, Mar 01, 2004 at 02:10:09AM +0800, Michael Frank wrote: > On Sun, 29 Feb 2004 18:32:21 +0100, M?ns Rullg?rd <mru@kth.se> wrote: > > >Pavel Machek <pavel@ucw.cz> writes: > > > >>Hi! > >> > >>>> Would there be any major screaming if I tried to drop CONFIG_PM_DISK? > >>>> It seems noone is maintaining it, equivalent functionality is provided > >>>> by swsusp, and it is confusing users... > >>> > >>>It may be ugly, it may be unmaintained, but I get the impression that it > >>>works for some people for whom swsusp doesn't. So unless swsusp works for > >>>everyone or Nigel's swsusp2 is merged, I'd suggest leaving that in. > >> > >>Do you have example when pmdisk works and swsusp does not? I'm not > >>aware of any in recent history... > > > >For me, none of them (pmdisk, swsusp and swsusp2) work. I did manage > >to get pmdisk to resume once, and swsusp2 makes it half-way through > >the resume. > > Hate to hear this - 2.0 is said to work _flawlessly_ on 2.4.24 and > on 2.6.2 within the bounds of more complex PM/driver issues. > > 2.4.25 and 2.6.3 patches are undergoing testing. > > If you like to try again, please have a look at http://swsusp.sf.net. > > There is also comprehensive FAQ and Howto on the site. > > You also will find a lot of user support wrt specific HW. > > Myself is running 2.0 on 2.4.2[345] without any stability issues > whatsoever this year. > > In short, I am confident we can make it work for you! > Same for me. No problems with 2.4.[345] and also works nicely on 2.6.[123] as long as dri is not running (PM problems). Only one problem that is not caused by swsusp but is a bit of a head ache. X will ocationaly crash when changing VT to the console. I originally thought it was a problem with my dri resume patch for mach64, but the resume kicks in only when entering X and not when leaving so its got to be something else. > Regards Michael > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click > _______________________________________________ > swsusp-devel mailing list > swsusp-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/swsusp-devel > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-02-29 21:33 ` [Swsusp-devel] " Micha Feigin @ 2004-03-01 2:51 ` Michael Frank 2004-03-01 11:09 ` Benjamin Herrenschmidt 0 siblings, 1 reply; 40+ messages in thread From: Michael Frank @ 2004-03-01 2:51 UTC (permalink / raw) To: Micha Feigin, Software suspend, linux-kernel On Sun, 29 Feb 2004 23:33:02 +0200, Micha Feigin <michf@post.tau.ac.il> wrote: > On Mon, Mar 01, 2004 at 02:10:09AM +0800, Michael Frank wrote: >> On Sun, 29 Feb 2004 18:32:21 +0100, M?ns Rullg?rd <mru@kth.se> wrote: >> >> >Pavel Machek <pavel@ucw.cz> writes: >> > >> >>Hi! >> >> >> >>>> Would there be any major screaming if I tried to drop CONFIG_PM_DISK? >> >>>> It seems noone is maintaining it, equivalent functionality is provided >> >>>> by swsusp, and it is confusing users... >> >>> >> >>>It may be ugly, it may be unmaintained, but I get the impression that it >> >>>works for some people for whom swsusp doesn't. So unless swsusp works for >> >>>everyone or Nigel's swsusp2 is merged, I'd suggest leaving that in. >> >> >> >>Do you have example when pmdisk works and swsusp does not? I'm not >> >>aware of any in recent history... >> > >> >For me, none of them (pmdisk, swsusp and swsusp2) work. I did manage >> >to get pmdisk to resume once, and swsusp2 makes it half-way through >> >the resume. >> >> Hate to hear this - 2.0 is said to work _flawlessly_ on 2.4.24 and >> on 2.6.2 within the bounds of more complex PM/driver issues. >> >> 2.4.25 and 2.6.3 patches are undergoing testing. >> >> If you like to try again, please have a look at http://swsusp.sf.net. >> >> There is also comprehensive FAQ and Howto on the site. >> >> You also will find a lot of user support wrt specific HW. >> >> Myself is running 2.0 on 2.4.2[345] without any stability issues >> whatsoever this year. >> >> In short, I am confident we can make it work for you! >> > > Same for me. No problems with 2.4.[345] and also works nicely on > 2.6.[123] as long as dri is not running (PM problems). > > Only one problem that is not caused by swsusp but is a bit of a head > ache. X will ocationaly crash when changing VT to the console. I > originally thought it was a problem with my dri resume patch for > mach64, but the resume kicks in only when entering X and not when > leaving so its got to be something else. Yeah, too bad - that 2.4 style PM got depreciated and let die before the "new-driver-model" PM is working - that perfectly good drivers were rewritten from scratch, but without functioning PM support :-( Regards Michael ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 2:51 ` Michael Frank @ 2004-03-01 11:09 ` Benjamin Herrenschmidt 2004-03-01 11:35 ` Karol Kozimor 2004-03-01 11:43 ` Michael Frank 0 siblings, 2 replies; 40+ messages in thread From: Benjamin Herrenschmidt @ 2004-03-01 11:09 UTC (permalink / raw) To: Michael Frank; +Cc: Micha Feigin, Software suspend, Linux Kernel list > > - that 2.4 style PM got depreciated and let die before the > "new-driver-model" PM is workin Except that it never worked > - that perfectly good drivers were rewritten from scratch, > but without functioning PM support Please, give names. Ben. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 11:09 ` Benjamin Herrenschmidt @ 2004-03-01 11:35 ` Karol Kozimor 2004-03-01 11:28 ` Benjamin Herrenschmidt 2004-03-01 11:31 ` Benjamin Herrenschmidt 2004-03-01 11:43 ` Michael Frank 1 sibling, 2 replies; 40+ messages in thread From: Karol Kozimor @ 2004-03-01 11:35 UTC (permalink / raw) To: Benjamin Herrenschmidt Cc: Michael Frank, Micha Feigin, Software suspend, Linux Kernel list Thus wrote Benjamin Herrenschmidt: > > - that 2.4 style PM got depreciated and let die before the > > "new-driver-model" PM is workin > Except that it never worked > > - that perfectly good drivers were rewritten from scratch, > > but without functioning PM support > Please, give names. USB UHCI driver could be a fine example of a regression -- it could survive suspend in 2.4 under certain conditions, this is no longer true for 2.6. There's also a great deal of people, who can't resume when AGP is being used -- that is again a regression over 2.4. The above are major showstoppers for most laptop users that already got used to stable and reliable swsusp and hence prefer to stick with 2.4. Best regards, -- Karol 'sziwan' Kozimor sziwan@hell.org.pl ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 11:35 ` Karol Kozimor @ 2004-03-01 11:28 ` Benjamin Herrenschmidt 2004-03-01 11:51 ` Karol Kozimor 2004-03-01 12:34 ` Micha Feigin 2004-03-01 11:31 ` Benjamin Herrenschmidt 1 sibling, 2 replies; 40+ messages in thread From: Benjamin Herrenschmidt @ 2004-03-01 11:28 UTC (permalink / raw) To: Karol Kozimor Cc: Michael Frank, Micha Feigin, Software suspend, Linux Kernel list On Mon, 2004-03-01 at 22:35, Karol Kozimor wrote: > Thus wrote Benjamin Herrenschmidt: > > > - that 2.4 style PM got depreciated and let die before the > > > "new-driver-model" PM is workin > > Except that it never worked > > > - that perfectly good drivers were rewritten from scratch, > > > but without functioning PM support > > Please, give names. > > USB UHCI driver could be a fine example of a regression -- it could survive > suspend in 2.4 under certain conditions, this is no longer true for 2.6. Well, it may have survived by mere luck... the fact is that 2.4 never had an infrastructure allowing anything remotely safe for suspend/resume. > There's also a great deal of people, who can't resume when AGP is being > used -- that is again a regression over 2.4. > > The above are major showstoppers for most laptop users that already got > used to stable and reliable swsusp and hence prefer to stick with 2.4. There haven't been a regression in the AGP drivers themselves afaik. Ben. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 11:28 ` Benjamin Herrenschmidt @ 2004-03-01 11:51 ` Karol Kozimor 2004-03-01 12:56 ` Martin Wickman 2004-03-01 12:34 ` Micha Feigin 1 sibling, 1 reply; 40+ messages in thread From: Karol Kozimor @ 2004-03-01 11:51 UTC (permalink / raw) To: Benjamin Herrenschmidt Cc: Michael Frank, Micha Feigin, Software suspend, Linux Kernel list Thus wrote Benjamin Herrenschmidt: > > USB UHCI driver could be a fine example of a regression -- it could survive > > suspend in 2.4 under certain conditions, this is no longer true for 2.6. > Well, it may have survived by mere luck... the fact is that 2.4 never That's very likely. Anyway, pure luck is still better than no luck whatsoever... > had an infrastructure allowing anything remotely safe for > suspend/resume. Right, but the point is that while 2.6 has such an infrastructure, its introduction actually completely broke UHCI suspend / resume. > > There's also a great deal of people, who can't resume when AGP is being > > used -- that is again a regression over 2.4. > There haven't been a regression in the AGP drivers themselves afaik. Which, again, leads us to conclusion that it was the driver model change that broke that. I'm not trying to criticize the driver model itself (I'm sure others have already done enough), but merely to emphasize that 2.6 is not yet ready for laptop users. Enough of that, this is becoming off-topic. :) Best regards, -- Karol 'sziwan' Kozimor sziwan@hell.org.pl ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 11:51 ` Karol Kozimor @ 2004-03-01 12:56 ` Martin Wickman 2004-03-01 13:22 ` Michael Frank 0 siblings, 1 reply; 40+ messages in thread From: Martin Wickman @ 2004-03-01 12:56 UTC (permalink / raw) To: Karol Kozimor Cc: Benjamin Herrenschmidt, Michael Frank, Micha Feigin, Software suspend, Linux Kernel list Karol Kozimor wrote: > Thus wrote Benjamin Herrenschmidt: > Right, but the point is that while 2.6 has such an infrastructure, its > introduction actually completely broke UHCI suspend / resume. > >>>There's also a great deal of people, who can't resume when AGP is being >>>used -- that is again a regression over 2.4. >> >>There haven't been a regression in the AGP drivers themselves afaik. > > Which, again, leads us to conclusion that it was the driver model change > that broke that. > > I'm not trying to criticize the driver model itself (I'm sure others have > already done enough), but merely to emphasize that 2.6 is not yet ready for > laptop users. ...and it's pretty obvious that it'll never be unless it's fixed. Its kinda frustrating this agp resume thing keeps holding swsusp2 back -- everything else works (on my laptop at least). ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 12:56 ` Martin Wickman @ 2004-03-01 13:22 ` Michael Frank 0 siblings, 0 replies; 40+ messages in thread From: Michael Frank @ 2004-03-01 13:22 UTC (permalink / raw) To: Martin Wickman, Karol Kozimor Cc: Benjamin Herrenschmidt, Micha Feigin, Software suspend, Linux Kernel list On Mon, 01 Mar 2004 13:56:35 +0100, Martin Wickman <martin.wickman@xms.se> wrote: > Karol Kozimor wrote: >> Thus wrote Benjamin Herrenschmidt: >> Right, but the point is that while 2.6 has such an infrastructure, its >> introduction actually completely broke UHCI suspend / resume. >> >>>> There's also a great deal of people, who can't resume when AGP is being >>>> used -- that is again a regression over 2.4. >>> >>> There haven't been a regression in the AGP drivers themselves afaik. >> >> Which, again, leads us to conclusion that it was the driver model change >> that broke that. >> >> I'm not trying to criticize the driver model itself (I'm sure others have >> already done enough), but merely to emphasize that 2.6 is not yet ready for >> laptop users. > > ...and it's pretty obvious that it'll never be unless it's > fixed. Its kinda frustrating this agp resume thing keeps holding swsusp2 > back -- everything else works (on my laptop at least). > - PM and driver issues are holding back many non-server applications moving from 2.4 to 2.6, and to a substantial extend prevent people moving away from XP... Regards Michael ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 11:28 ` Benjamin Herrenschmidt 2004-03-01 11:51 ` Karol Kozimor @ 2004-03-01 12:34 ` Micha Feigin 1 sibling, 0 replies; 40+ messages in thread From: Micha Feigin @ 2004-03-01 12:34 UTC (permalink / raw) To: Software suspend, Linux Kernel list On Mon, Mar 01, 2004 at 10:28:36PM +1100, Benjamin Herrenschmidt wrote: > On Mon, 2004-03-01 at 22:35, Karol Kozimor wrote: > > Thus wrote Benjamin Herrenschmidt: > > > > - that 2.4 style PM got depreciated and let die before the > > > > "new-driver-model" PM is workin > > > Except that it never worked > > > > - that perfectly good drivers were rewritten from scratch, > > > > but without functioning PM support > > > Please, give names. > > > > USB UHCI driver could be a fine example of a regression -- it could survive > > suspend in 2.4 under certain conditions, this is no longer true for 2.6. > > Well, it may have survived by mere luck... the fact is that 2.4 never > had an infrastructure allowing anything remotely safe for > suspend/resume. > > > There's also a great deal of people, who can't resume when AGP is being > > used -- that is again a regression over 2.4. > > > > The above are major showstoppers for most laptop users that already got > > used to stable and reliable swsusp and hence prefer to stick with 2.4. > > There haven't been a regression in the AGP drivers themselves afaik. The suspend/resume calls have been removed from the drm drivers and returning them doesn't solve the resume problems (I guess either agp isn't woken up properly or something is happening in the wrong order. I haven't had time to investigate further). And I have a simple mach64 (rage mobility m1) card which is relatively easy to wake up since not much needs to be done (the agp bus is via). > > Ben. > ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 11:35 ` Karol Kozimor 2004-03-01 11:28 ` Benjamin Herrenschmidt @ 2004-03-01 11:31 ` Benjamin Herrenschmidt 2004-03-01 11:57 ` Karol Kozimor 1 sibling, 1 reply; 40+ messages in thread From: Benjamin Herrenschmidt @ 2004-03-01 11:31 UTC (permalink / raw) To: Karol Kozimor Cc: Michael Frank, Micha Feigin, Software suspend, Linux Kernel list On Mon, 2004-03-01 at 22:35, Karol Kozimor wrote: > Thus wrote Benjamin Herrenschmidt: > > > - that 2.4 style PM got depreciated and let die before the > > > "new-driver-model" PM is workin > > Except that it never worked > > > - that perfectly good drivers were rewritten from scratch, > > > but without functioning PM support > > Please, give names. > > USB UHCI driver could be a fine example of a regression -- it could survive > suspend in 2.4 under certain conditions, this is no longer true for 2.6. > > There's also a great deal of people, who can't resume when AGP is being > used -- that is again a regression over 2.4. > > The above are major showstoppers for most laptop users that already got > used to stable and reliable swsusp and hence prefer to stick with 2.4. Oh... and what about looking into the problem instead and adding/fixing the necessary stuff ? It's not _that_ rocket science (and I have no UHCI hardware to do it myself, thanks). Ben. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 11:31 ` Benjamin Herrenschmidt @ 2004-03-01 11:57 ` Karol Kozimor 2004-03-01 22:08 ` Benjamin Herrenschmidt 0 siblings, 1 reply; 40+ messages in thread From: Karol Kozimor @ 2004-03-01 11:57 UTC (permalink / raw) To: Benjamin Herrenschmidt Cc: Michael Frank, Micha Feigin, Software suspend, Linux Kernel list Thus wrote Benjamin Herrenschmidt: > > USB UHCI driver could be a fine example of a regression -- it could survive > > suspend in 2.4 under certain conditions, this is no longer true for 2.6. > > > > There's also a great deal of people, who can't resume when AGP is being > > used -- that is again a regression over 2.4. > > > > The above are major showstoppers for most laptop users that already got > > used to stable and reliable swsusp and hence prefer to stick with 2.4. > Oh... and what about looking into the problem instead and adding/fixing > the necessary stuff ? It's not _that_ rocket science (and I have no > UHCI hardware to do it myself, thanks). Well, the AGP problem is black magic to me. Those hangs / reboots happen during the copying of the original kernel back (when S4 is concerned) and that's completely beyond me, sorry. I did try to look into the USB problem back then, but again, I couldn't find anything significantly different between 2.4 and 2.6, so I backed out. Anyway, you're still right about that one should fix it instead of complaining... Best regards, -- Karol 'sziwan' Kozimor sziwan@hell.org.pl ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 11:57 ` Karol Kozimor @ 2004-03-01 22:08 ` Benjamin Herrenschmidt 0 siblings, 0 replies; 40+ messages in thread From: Benjamin Herrenschmidt @ 2004-03-01 22:08 UTC (permalink / raw) To: Karol Kozimor Cc: Michael Frank, Micha Feigin, Software suspend, Linux Kernel list > Well, the AGP problem is black magic to me. Those hangs / reboots happen > during the copying of the original kernel back (when S4 is concerned) and > that's completely beyond me, sorry. Where, the whole swsusp thing is very fragile by design... I'd say you probably need to disable the AGP bridge & release all AGP memory when doing that copying, and re-enable it on wakeup. The list of pages used for AGP have changed between both of those... > I did try to look into the USB problem back then, but again, I couldn't > find anything significantly different between 2.4 and 2.6, so I backed out. > Anyway, you're still right about that one should fix it instead of > complaining... > Best regards, -- Benjamin Herrenschmidt <benh@kernel.crashing.org> ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 11:09 ` Benjamin Herrenschmidt 2004-03-01 11:35 ` Karol Kozimor @ 2004-03-01 11:43 ` Michael Frank 2004-03-01 11:39 ` Benjamin Herrenschmidt 1 sibling, 1 reply; 40+ messages in thread From: Michael Frank @ 2004-03-01 11:43 UTC (permalink / raw) To: Benjamin Herrenschmidt; +Cc: Micha Feigin, Software suspend, Linux Kernel list On Mon, 01 Mar 2004 22:09:22 +1100, Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote: > >> >> - that 2.4 style PM got depreciated and let die before the >> "new-driver-model" PM is workin > > Except that it never worked It is actively used for ide, network, serial drivers with swsusp2. > >> - that perfectly good drivers were rewritten from scratch, >> but without functioning PM support > > Please, give names. > A few I tested: AGP (sis, savage) trident (Ali153x) Serial (82x50) Yenta (Toshiba Topic95) Regards Michael ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 11:43 ` Michael Frank @ 2004-03-01 11:39 ` Benjamin Herrenschmidt 2004-03-01 12:48 ` Michael Frank 0 siblings, 1 reply; 40+ messages in thread From: Benjamin Herrenschmidt @ 2004-03-01 11:39 UTC (permalink / raw) To: Michael Frank; +Cc: Micha Feigin, Software suspend, Linux Kernel list > >> - that 2.4 style PM got depreciated and let die before the > >> "new-driver-model" PM is workin > > > > Except that it never worked > > It is actively used for ide, network, serial drivers with swsusp2. Without any proper ordering guarantee, IDE could take requests after beeing suspended, which could be fatal (and cause data loss) etc... Moving to the new model is easy. I don't see why we should have had such a "compatibility" path on a major kernel version, that makes no sense, just help fixing the drivers that need more fixing instead. > > > >> - that perfectly good drivers were rewritten from scratch, > >> but without functioning PM support > > > > Please, give names. > > > > A few I tested: > > AGP (sis, savage) > trident (Ali153x) > Serial (82x50) > Yenta (Toshiba Topic95) > > Regards > Michael -- Benjamin Herrenschmidt <benh@kernel.crashing.org> ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 11:39 ` Benjamin Herrenschmidt @ 2004-03-01 12:48 ` Michael Frank 2004-03-01 13:47 ` Arjan van de Ven 2004-03-01 22:10 ` Benjamin Herrenschmidt 0 siblings, 2 replies; 40+ messages in thread From: Michael Frank @ 2004-03-01 12:48 UTC (permalink / raw) To: Benjamin Herrenschmidt; +Cc: Micha Feigin, Software suspend, Linux Kernel list On Mon, 01 Mar 2004 22:39:52 +1100, Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote: > >> >> - that 2.4 style PM got depreciated and let die before the >> >> "new-driver-model" PM is workin >> > >> > Except that it never worked >> >> It is actively used for ide, network, serial drivers with swsusp2. > > Without any proper ordering guarantee, IDE could take requests > after beeing suspended, which could be fatal (and cause data loss) > etc... Appreciated, suspending a driver like sending XOFF to a tty is ideal, but not neccessary for _most_ drivers (software suspend) purpose. Wrt IDE, in practice all processes get frozen well before suspending drivers. Tested and no issues were ever reported with 2.4. > > Moving to the new model is easy. I don't see why we should have had > such a "compatibility" path on a major kernel version, that makes > no sense, just help fixing the drivers that need more fixing instead. What for write new drivers for (fast obsoleting) hardware?. - Developer time is the most precious resource - Testing of drivers is in practice very difficult due to lack of several variations of HW (one can't really test anything in one box) - It will take _years_ for drivers to become available and reach the stability of 2.4 drivers. - Many drivers will die for lack of overall resources to port them. So, why burn resources on reinventing wheels, which end up poorly tested and run like a disk sliced of a tree... What is needed is a _compatible_ infrastructure to _any_ 2.4 driver in existence and also provideing rudimentary centralized suspend and resume capability. This infrastructure could even be a config option CONFIG_24_DRIVER_SUPPORT and be independent of the new model. Then one could just drop in a driver from 2.4 and use it. People having time to make new "pretty" drivers could also use this facility for cross checking. > >> > >> >> - that perfectly good drivers were rewritten from scratch, >> >> but without functioning PM support >> > >> > Please, give names. >> > >> >> A few I tested: >> >> AGP (sis, savage) >> trident (Ali153x) >> Serial (82x50) >> Yenta (Toshiba Topic95) >> >> Regards >> Michael ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 12:48 ` Michael Frank @ 2004-03-01 13:47 ` Arjan van de Ven 2004-03-01 14:33 ` Michael Frank 2004-03-01 22:10 ` Benjamin Herrenschmidt 1 sibling, 1 reply; 40+ messages in thread From: Arjan van de Ven @ 2004-03-01 13:47 UTC (permalink / raw) To: Michael Frank Cc: Benjamin Herrenschmidt, Micha Feigin, Software suspend, Linux Kernel list [-- Attachment #1: Type: text/plain, Size: 561 bytes --] > Then one could just drop in a driver from 2.4 and use it. > > People having time to make new "pretty" drivers could > also use this facility for cross checking. I'm sorry but this is a load of bull ;) New kernel revisions come with a new API. If we keep the old one around forever that achieves two things 1) The kernel bloats up 2) Nobody puts effort into using the new (better) API A proof of 2 is the scsi error handling; the old one was kept around as compat for the last 5 years and only 2 or 3 drivers bothered to use the new one. [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 13:47 ` Arjan van de Ven @ 2004-03-01 14:33 ` Michael Frank 2004-03-01 14:38 ` Arjan van de Ven 0 siblings, 1 reply; 40+ messages in thread From: Michael Frank @ 2004-03-01 14:33 UTC (permalink / raw) To: arjanv Cc: Benjamin Herrenschmidt, Micha Feigin, Software suspend, Linux Kernel list On Mon, 01 Mar 2004 14:47:23 +0100, Arjan van de Ven <arjanv@redhat.com> wrote: > >> Then one could just drop in a driver from 2.4 and use it. >> >> People having time to make new "pretty" drivers could >> also use this facility for cross checking. > > I'm sorry but this is a load of bull ;) Thank you, I do fully concur with you from an ideal scientific perspective where resources are not constrained. Applying the same perspective I might like to craft lots of drivers in assembler or even reinvent whatever..., but I do not live an ideal world. > New kernel revisions come with a new API. If we keep the old one around > forever that achieves two things > 1) The kernel bloats up By a few %, only when old API is used, the benefits far outweighs the cost. The old API should be an independent glue layer where incompatible. Performance is not a concern here, functionality is. > 2) Nobody puts effort into using the new (better) API Could be fixed by the simple policy that drivers which did not exist before must use new API. > > A proof of 2 is the scsi error handling; the old one was kept around as > compat for the last 5 years and only 2 or 3 drivers bothered to use the > new one. I am not around here that long, but if those drivers were added after the API was finalized, it would have been a policy issue which does not have to be repeated. At least, (hopefully not from an ideal perspective), the new API is good enough to last and will not have to be trown away in 2.7 or even 2.9 :) Regards Michael ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 14:33 ` Michael Frank @ 2004-03-01 14:38 ` Arjan van de Ven 0 siblings, 0 replies; 40+ messages in thread From: Arjan van de Ven @ 2004-03-01 14:38 UTC (permalink / raw) To: Michael Frank Cc: Benjamin Herrenschmidt, Micha Feigin, Software suspend, Linux Kernel list [-- Attachment #1: Type: text/plain, Size: 1570 bytes --] On Mon, Mar 01, 2004 at 10:33:43PM +0800, Michael Frank wrote: > On Mon, 01 Mar 2004 14:47:23 +0100, Arjan van de Ven <arjanv@redhat.com> > wrote: > > > > >>Then one could just drop in a driver from 2.4 and use it. > >> > >>People having time to make new "pretty" drivers could > >>also use this facility for cross checking. > > > >I'm sorry but this is a load of bull ;) > > Thank you, I do fully concur with you from an ideal scientific perspective > where resources are not constrained. Applying the same perspective I might > like to craft lots of drivers in assembler or even reinvent whatever..., > but I do not live an ideal world. I do not live an ideal world, However I do live in a practical world of having to put distribution kernels together. > > >New kernel revisions come with a new API. If we keep the old one around > >forever that achieves two things > >1) The kernel bloats up > > By a few %, only when old API is used, the benefits far outweighs the cost. Ehm no. You entirely forget the cost where the new API and old API need to work together, which is a significant complexity explosion. When linux grows a new API that touches so many drivers, there's a good reason for that, eg the API improves something or makes something possible. Making powermanagement work is hard, even with 1 API to worry about. With 2 interfering API's it becomes outright impossible and untrackable. That's not a scientific perspective, that's a practical perspective where the scientific theory maybe says you can have 2 parallel api's that never interact ;) [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [Swsusp-devel] Re: Dropping CONFIG_PM_DISK? 2004-03-01 12:48 ` Michael Frank 2004-03-01 13:47 ` Arjan van de Ven @ 2004-03-01 22:10 ` Benjamin Herrenschmidt 1 sibling, 0 replies; 40+ messages in thread From: Benjamin Herrenschmidt @ 2004-03-01 22:10 UTC (permalink / raw) To: Michael Frank; +Cc: Micha Feigin, Software suspend, Linux Kernel list > Appreciated, suspending a driver like sending XOFF to a tty is ideal, > but not neccessary for _most_ drivers (software suspend) purpose. > > Wrt IDE, in practice all processes get frozen well before > suspending drivers. Tested and no issues were ever reported with 2.4. It is still fragile. I have seen IDE requests slipping in anyway. But IDE isn't a problem, I wrote a working PM implementation for IDE in 2.6. > > Moving to the new model is easy. I don't see why we should have had > > such a "compatibility" path on a major kernel version, that makes > > no sense, just help fixing the drivers that need more fixing instead. > > What for write new drivers for (fast obsoleting) hardware?. Ok, you are at troll, no need to argue more. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-02-29 17:32 ` Måns Rullgård 2004-02-29 18:10 ` Michael Frank @ 2004-02-29 18:10 ` Pavel Machek 2004-02-29 18:29 ` Måns Rullgård 1 sibling, 1 reply; 40+ messages in thread From: Pavel Machek @ 2004-02-29 18:10 UTC (permalink / raw) To: M?ns Rullg?rd; +Cc: linux-kernel Hi! > >> > Would there be any major screaming if I tried to drop CONFIG_PM_DISK? > >> > It seems noone is maintaining it, equivalent functionality is provided > >> > by swsusp, and it is confusing users... > >> > >> It may be ugly, it may be unmaintained, but I get the impression that it > >> works for some people for whom swsusp doesn't. So unless swsusp works for > >> everyone or Nigel's swsusp2 is merged, I'd suggest leaving that in. > > > > Do you have example when pmdisk works and swsusp does not? I'm not > > aware of any in recent history... > > For me, none of them (pmdisk, swsusp and swsusp2) work. I did manage > to get pmdisk to resume once, and swsusp2 makes it half-way through > the resume. The old swsusp doesn't even get that far. Try current swsusp with minimal drivers, init=/bin/bash. Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-02-29 18:10 ` Pavel Machek @ 2004-02-29 18:29 ` Måns Rullgård 2004-03-01 9:40 ` Pavel Machek 0 siblings, 1 reply; 40+ messages in thread From: Måns Rullgård @ 2004-02-29 18:29 UTC (permalink / raw) To: Pavel Machek; +Cc: linux-kernel Pavel Machek <pavel@suse.cz> writes: > Hi! > >> >> > Would there be any major screaming if I tried to drop CONFIG_PM_DISK? >> >> > It seems noone is maintaining it, equivalent functionality is provided >> >> > by swsusp, and it is confusing users... >> >> >> >> It may be ugly, it may be unmaintained, but I get the impression that it >> >> works for some people for whom swsusp doesn't. So unless swsusp works for >> >> everyone or Nigel's swsusp2 is merged, I'd suggest leaving that in. >> > >> > Do you have example when pmdisk works and swsusp does not? I'm not >> > aware of any in recent history... >> >> For me, none of them (pmdisk, swsusp and swsusp2) work. I did manage >> to get pmdisk to resume once, and swsusp2 makes it half-way through >> the resume. The old swsusp doesn't even get that far. > > Try current swsusp with minimal drivers, init=/bin/bash. Well, if I do that it works. Or at least some old version did, I assume the later ones would too. However, that sort of removes the whole point. Taking down the system enough to be able to unload almost everything is as close as rebooting you'll get. BTW, is there some easier way to track the development than using the patches from the web page? Unpatching after a couple of BK merges isn't the easiest thing. Is there a BK tree somewhere I can pull from? -- Måns Rullgård mru@kth.se ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-02-29 18:29 ` Måns Rullgård @ 2004-03-01 9:40 ` Pavel Machek 2004-03-01 10:08 ` Måns Rullgård 0 siblings, 1 reply; 40+ messages in thread From: Pavel Machek @ 2004-03-01 9:40 UTC (permalink / raw) To: M?ns Rullg?rd; +Cc: linux-kernel Hi! > >> >> > Would there be any major screaming if I tried to drop CONFIG_PM_DISK? > >> >> > It seems noone is maintaining it, equivalent functionality is provided > >> >> > by swsusp, and it is confusing users... > >> >> > >> >> It may be ugly, it may be unmaintained, but I get the impression that it > >> >> works for some people for whom swsusp doesn't. So unless swsusp works for > >> >> everyone or Nigel's swsusp2 is merged, I'd suggest leaving that in. > >> > > >> > Do you have example when pmdisk works and swsusp does not? I'm not > >> > aware of any in recent history... > >> > >> For me, none of them (pmdisk, swsusp and swsusp2) work. I did manage > >> to get pmdisk to resume once, and swsusp2 makes it half-way through > >> the resume. The old swsusp doesn't even get that far. > > > > Try current swsusp with minimal drivers, init=/bin/bash. > > Well, if I do that it works. Or at least some old version did, I > assume the later ones would too. However, that sort of removes the > whole point. Taking down the system enough to be able to unload > almost everything is as close as rebooting you'll get. Well, now do a search for "which module/application causes failure". > BTW, is there some easier way to track the development than using the > patches from the web page? Unpatching after a couple of BK merges > isn't the easiest thing. Is there a BK tree somewhere I can pull > from? Are you using swsusp2? That's _not_ what I'm talking about. swsusp is in mainline. Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-03-01 9:40 ` Pavel Machek @ 2004-03-01 10:08 ` Måns Rullgård 2004-03-01 10:39 ` Pavel Machek 2004-03-01 10:45 ` Michael Frank 0 siblings, 2 replies; 40+ messages in thread From: Måns Rullgård @ 2004-03-01 10:08 UTC (permalink / raw) To: Pavel Machek; +Cc: linux-kernel Pavel Machek <pavel@ucw.cz> writes: >> > Try current swsusp with minimal drivers, init=/bin/bash. >> >> Well, if I do that it works. Or at least some old version did, I >> assume the later ones would too. However, that sort of removes the >> whole point. Taking down the system enough to be able to unload >> almost everything is as close as rebooting you'll get. > > Well, now do a search for "which module/application causes failure". I know, it just takes an awful time. >> BTW, is there some easier way to track the development than using the >> patches from the web page? Unpatching after a couple of BK merges >> isn't the easiest thing. Is there a BK tree somewhere I can pull >> from? > > Are you using swsusp2? Well, trying to. Isn't it supposed to be the latest and greatest? > That's _not_ what I'm talking about. swsusp is in mainline. It would still be the same module(s) that caused it to fail, right? -- Måns Rullgård mru@kth.se ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-03-01 10:08 ` Måns Rullgård @ 2004-03-01 10:39 ` Pavel Machek 2004-03-01 9:58 ` Nigel Cunningham 2004-03-01 10:45 ` Michael Frank 1 sibling, 1 reply; 40+ messages in thread From: Pavel Machek @ 2004-03-01 10:39 UTC (permalink / raw) To: M?ns Rullg?rd; +Cc: Pavel Machek, linux-kernel Hi! > >> > Try current swsusp with minimal drivers, init=/bin/bash. > >> > >> Well, if I do that it works. Or at least some old version did, I > >> assume the later ones would too. However, that sort of removes the > >> whole point. Taking down the system enough to be able to unload > >> almost everything is as close as rebooting you'll get. > > > > Well, now do a search for "which module/application causes failure". > > I know, it just takes an awful time. Binary search should be pretty fast. > >> BTW, is there some easier way to track the development than using the > >> patches from the web page? Unpatching after a couple of BK merges > >> isn't the easiest thing. Is there a BK tree somewhere I can pull > >> from? > > > > Are you using swsusp2? > > Well, trying to. Isn't it supposed to be the latest and greatest? It is latest, but not most stable. Pavel -- Horseback riding is like software... ...vgf orggre jura vgf serr. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-03-01 10:39 ` Pavel Machek @ 2004-03-01 9:58 ` Nigel Cunningham 2004-03-01 12:46 ` Pavel Machek 0 siblings, 1 reply; 40+ messages in thread From: Nigel Cunningham @ 2004-03-01 9:58 UTC (permalink / raw) To: Pavel Machek; +Cc: M?ns Rullg?rd, Linux Kernel Mailing List Can you provide specific examples? I can fix bugs if I'm given reproducible issues instead of hand waving :> Nigel On Mon, 2004-03-01 at 23:39, Pavel Machek wrote: > It is latest, but not most stable. -- My work on Software Suspend was graciously brought to you between October and January by LinuxFund.org. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-03-01 9:58 ` Nigel Cunningham @ 2004-03-01 12:46 ` Pavel Machek 2004-03-01 18:16 ` Nigel Cunningham 0 siblings, 1 reply; 40+ messages in thread From: Pavel Machek @ 2004-03-01 12:46 UTC (permalink / raw) To: Nigel Cunningham; +Cc: Pavel Machek, M?ns Rullg?rd, Linux Kernel Mailing List Hi! > Can you provide specific examples? I can fix bugs if I'm given > reproducible issues instead of hand waving :> > Try compiling with regparm=3; you are likely to find some missing asmlinkages. Pavel -- 64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-03-01 12:46 ` Pavel Machek @ 2004-03-01 18:16 ` Nigel Cunningham 2004-03-01 20:22 ` Pavel Machek 0 siblings, 1 reply; 40+ messages in thread From: Nigel Cunningham @ 2004-03-01 18:16 UTC (permalink / raw) To: Pavel Machek; +Cc: M?ns Rullg?rd, Linux Kernel Mailing List Forgive my ignorance, but I don't see how that could be something that makes suspend2 less stable than the already-merged versions. They have the same problem (assuming your patch hasn't been merged yet). Regards, Nigel On Tue, 2004-03-02 at 01:46, Pavel Machek wrote: > Hi! > > > Can you provide specific examples? I can fix bugs if I'm given > > reproducible issues instead of hand waving :> > > > > Try compiling with regparm=3; you are likely to find some > missing asmlinkages. > Pavel -- My work on Software Suspend was graciously brought to you between October and January by LinuxFund.org. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-03-01 18:16 ` Nigel Cunningham @ 2004-03-01 20:22 ` Pavel Machek 0 siblings, 0 replies; 40+ messages in thread From: Pavel Machek @ 2004-03-01 20:22 UTC (permalink / raw) To: Nigel Cunningham; +Cc: M?ns Rullg?rd, Linux Kernel Mailing List Hi! > Forgive my ignorance, but I don't see how that could be something that > makes suspend2 less stable than the already-merged versions. They have > the same problem (assuming your patch hasn't been merged yet). Okay... well... swsusp2 is meant to be feature-full. in kernel swsusp is meant to be stable. Perhaps swsusp2 manages to be both feature-full and stable at same time; at that point I'm obviously doing not-too-good job. Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-03-01 10:08 ` Måns Rullgård 2004-03-01 10:39 ` Pavel Machek @ 2004-03-01 10:45 ` Michael Frank 1 sibling, 0 replies; 40+ messages in thread From: Michael Frank @ 2004-03-01 10:45 UTC (permalink / raw) To: Måns Rullgård; +Cc: linux-kernel On Mon, 01 Mar 2004 11:08:01 +0100, Måns Rullgård <mru@kth.se> wrote: > Pavel Machek <pavel@ucw.cz> writes: > >>> > Try current swsusp with minimal drivers, init=/bin/bash. >>> >>> Well, if I do that it works. Or at least some old version did, I >>> assume the later ones would too. However, that sort of removes the >>> whole point. Taking down the system enough to be able to unload >>> almost everything is as close as rebooting you'll get. >> >> Well, now do a search for "which module/application causes failure". > > I know, it just takes an awful time. > >>> BTW, is there some easier way to track the development than using the >>> patches from the web page? Unpatching after a couple of BK merges >>> isn't the easiest thing. Is there a BK tree somewhere I can pull >>> from? >> >> Are you using swsusp2? > > Well, trying to. Isn't it supposed to be the latest and greatest? > >> That's _not_ what I'm talking about. swsusp is in mainline. > > It would still be the same module(s) that caused it to fail, right? > Further to my post yesterday, here is a short article which may be of interest. http://lwn.net/Articles/68747/ So, to make it work better lets get PM usable :) swsusp2 mailing list: swsusp-devel@lists.sourceforge.net Regards Michael ^ permalink raw reply [flat|nested] 40+ messages in thread
* Dropping CONFIG_PM_DISK? @ 2004-02-28 23:00 Pavel Machek 2004-02-28 23:52 ` Benjamin Herrenschmidt 2004-03-01 12:40 ` Romano Giannetti 0 siblings, 2 replies; 40+ messages in thread From: Pavel Machek @ 2004-02-28 23:00 UTC (permalink / raw) To: Andrew Morton, kernel list, Patrick Mochel Hi! Would there be any major screaming if I tried to drop CONFIG_PM_DISK? It seems noone is maintaining it, equivalent functionality is provided by swsusp, and it is confusing users... Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-02-28 23:00 Pavel Machek @ 2004-02-28 23:52 ` Benjamin Herrenschmidt 2004-02-29 7:30 ` Pavel Machek 2004-03-01 12:40 ` Romano Giannetti 1 sibling, 1 reply; 40+ messages in thread From: Benjamin Herrenschmidt @ 2004-02-28 23:52 UTC (permalink / raw) To: Pavel Machek; +Cc: Andrew Morton, Linux Kernel list, Patrick Mochel On Sun, 2004-02-29 at 10:00, Pavel Machek wrote: > Hi! > > Would there be any major screaming if I tried to drop CONFIG_PM_DISK? > It seems noone is maintaining it, equivalent functionality is provided > by swsusp, and it is confusing users... Except that pmdisk code is +/- readable, swsusp is not... Ben. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-02-28 23:52 ` Benjamin Herrenschmidt @ 2004-02-29 7:30 ` Pavel Machek 2004-02-29 7:22 ` Benjamin Herrenschmidt 0 siblings, 1 reply; 40+ messages in thread From: Pavel Machek @ 2004-02-29 7:30 UTC (permalink / raw) To: Benjamin Herrenschmidt; +Cc: Andrew Morton, Linux Kernel list, Patrick Mochel On Ne 29-02-04 10:52:01, Benjamin Herrenschmidt wrote: > On Sun, 2004-02-29 at 10:00, Pavel Machek wrote: > > Hi! > > > > Would there be any major screaming if I tried to drop CONFIG_PM_DISK? > > It seems noone is maintaining it, equivalent functionality is provided > > by swsusp, and it is confusing users... > > Except that pmdisk code is +/- readable, swsusp is not... Would you be willing to either maintain pmdisk or (preffered) split it up and submit me pieces? Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-02-29 7:30 ` Pavel Machek @ 2004-02-29 7:22 ` Benjamin Herrenschmidt 2004-02-29 12:40 ` Pavel Machek 0 siblings, 1 reply; 40+ messages in thread From: Benjamin Herrenschmidt @ 2004-02-29 7:22 UTC (permalink / raw) To: Pavel Machek; +Cc: Andrew Morton, Linux Kernel list, Patrick Mochel > > Except that pmdisk code is +/- readable, swsusp is not... > > Would you be willing to either maintain pmdisk or (preffered) split it > up and submit me pieces? Heh, if I had time ... :) Ben. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-02-29 7:22 ` Benjamin Herrenschmidt @ 2004-02-29 12:40 ` Pavel Machek 2004-03-01 9:46 ` Nigel Cunningham 0 siblings, 1 reply; 40+ messages in thread From: Pavel Machek @ 2004-02-29 12:40 UTC (permalink / raw) To: Benjamin Herrenschmidt; +Cc: Andrew Morton, Linux Kernel list, Patrick Mochel Hi! > > > Except that pmdisk code is +/- readable, swsusp is not... > > > > Would you be willing to either maintain pmdisk or (preffered) split it > > up and submit me pieces? > > Heh, if I had time ... :) Well, unless someone steps up, I guess I'll just let it bitrot, and when its broken enough, I'll attempt removal. I really do not have time to maintain two implementations... Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-02-29 12:40 ` Pavel Machek @ 2004-03-01 9:46 ` Nigel Cunningham 0 siblings, 0 replies; 40+ messages in thread From: Nigel Cunningham @ 2004-03-01 9:46 UTC (permalink / raw) To: Pavel Machek Cc: Benjamin Herrenschmidt, Andrew Morton, Linux Kernel Mailing List, Patrick Mochel I'd like to work on patching it into suspend2. I'm being real slow at the moment because I'm not working on suspend much at all, but that doesn't mean I don't want to do anything :> Regards, Nigel On Mon, 2004-03-01 at 01:40, Pavel Machek wrote: > Hi! > > > > > Except that pmdisk code is +/- readable, swsusp is not... > > > > > > Would you be willing to either maintain pmdisk or (preffered) split it > > > up and submit me pieces? > > > > Heh, if I had time ... :) > > Well, unless someone steps up, I guess I'll just let it bitrot, and > when its broken enough, I'll attempt removal. I really do not have > time to maintain two implementations... > Pavel -- My work on Software Suspend was graciously brought to you between October and January by LinuxFund.org. ^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: Dropping CONFIG_PM_DISK? 2004-02-28 23:00 Pavel Machek 2004-02-28 23:52 ` Benjamin Herrenschmidt @ 2004-03-01 12:40 ` Romano Giannetti 1 sibling, 0 replies; 40+ messages in thread From: Romano Giannetti @ 2004-03-01 12:40 UTC (permalink / raw) To: Pavel Machek; +Cc: linux-kernel On Sun, Feb 29, 2004 at 12:00:40AM +0100, Pavel Machek wrote: > Hi! > > Would there be any major screaming if I tried to drop CONFIG_PM_DISK? > It seems noone is maintaining it, equivalent functionality is provided > by swsusp, and it is confusing users... > Pavel Last time I tried (2.6.1) PM_DISK was the only suspend mechanism that worked on my vaio with ACPI enabled (PGC-FX701). I had not time (my humble apologies to Nigel) to make more tests, I've been swamped with a conference deadline, but I can try to help finding out the problem in the next weeks, I hope. Romano -- Romano Giannetti - Univ. Pontificia Comillas (Madrid, Spain) Electronic Engineer - phone +34 915 422 800 ext 2416 fax +34 915 596 569 ^ permalink raw reply [flat|nested] 40+ messages in thread
end of thread, other threads:[~2004-03-01 22:23 UTC | newest]
Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1ulUA-33w-3@gated-at.bofh.it>
2004-02-29 16:17 ` Dropping CONFIG_PM_DISK? Karol Kozimor
2004-02-29 16:23 ` Pavel Machek
2004-02-29 17:32 ` Måns Rullgård
2004-02-29 18:10 ` Michael Frank
2004-02-29 21:33 ` [Swsusp-devel] " Micha Feigin
2004-03-01 2:51 ` Michael Frank
2004-03-01 11:09 ` Benjamin Herrenschmidt
2004-03-01 11:35 ` Karol Kozimor
2004-03-01 11:28 ` Benjamin Herrenschmidt
2004-03-01 11:51 ` Karol Kozimor
2004-03-01 12:56 ` Martin Wickman
2004-03-01 13:22 ` Michael Frank
2004-03-01 12:34 ` Micha Feigin
2004-03-01 11:31 ` Benjamin Herrenschmidt
2004-03-01 11:57 ` Karol Kozimor
2004-03-01 22:08 ` Benjamin Herrenschmidt
2004-03-01 11:43 ` Michael Frank
2004-03-01 11:39 ` Benjamin Herrenschmidt
2004-03-01 12:48 ` Michael Frank
2004-03-01 13:47 ` Arjan van de Ven
2004-03-01 14:33 ` Michael Frank
2004-03-01 14:38 ` Arjan van de Ven
2004-03-01 22:10 ` Benjamin Herrenschmidt
2004-02-29 18:10 ` Pavel Machek
2004-02-29 18:29 ` Måns Rullgård
2004-03-01 9:40 ` Pavel Machek
2004-03-01 10:08 ` Måns Rullgård
2004-03-01 10:39 ` Pavel Machek
2004-03-01 9:58 ` Nigel Cunningham
2004-03-01 12:46 ` Pavel Machek
2004-03-01 18:16 ` Nigel Cunningham
2004-03-01 20:22 ` Pavel Machek
2004-03-01 10:45 ` Michael Frank
2004-02-28 23:00 Pavel Machek
2004-02-28 23:52 ` Benjamin Herrenschmidt
2004-02-29 7:30 ` Pavel Machek
2004-02-29 7:22 ` Benjamin Herrenschmidt
2004-02-29 12:40 ` Pavel Machek
2004-03-01 9:46 ` Nigel Cunningham
2004-03-01 12:40 ` Romano Giannetti
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox