On Thursday, 29 March 2007 23:44, Cédric Boutillier wrote: > Hi Raphael, > > On 3/29/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > > I think so, but I'd like Cédric to try one more thing: revert your patch > > and apply the > > appended one. If that works, the comment won't even be necessary (I think). > > I reverted Tim's patch and applied yours. I got exactly the same > results when I lanched s2both : colorful screen, no errors when the > program quits (from ssh), same output from dd count=10c if=/dev/hda3.
Okay, so the patch works. Tim, if you don't mind, I'd like to apply this one. > I want to add something to my previous email : > I retried s2disk after having unloaded a lot of modules (especially > usb-related ones). It resumed ok. reloading ohci_hcd caused a oops. I think this should be reported to the USB development team (linux-usb-devel@lists.sourceforge.net) possibly with a Cc to LKML. Greetings, Rafael > > --- > > suspend.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > Index: suspend/suspend.c > > =================================================================== > > --- suspend.orig/suspend.c > > +++ suspend/suspend.c > > @@ -199,7 +199,7 @@ static inline int free_swap_pages(int de > > return ioctl(dev, SNAPSHOT_FREE_SWAP_PAGES, 0); > > } > > > > -static inline int set_swap_file(int dev, dev_t blkdev, loff_t offset) > > +static inline int set_swap_file(int dev, u_int32_t blkdev, loff_t offset) > > { > > struct resume_swap_area swap; > > int error; > > > -- If you don't have the time to read, you don't have the time or the tools to write. - Stephen King ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel