Garrett: I like the optimization, and in fact it is my original design. The reason I abandon the design later is that make fast-resume depends on system.map file. If the file does not exist, or be damaged, fast-resume can not work.
I have tried it at my machine and find that it can not work; I will look into it clearly tomorrow. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Garrett Sent: 2008年3月2日 23:00 To: [email protected]; [EMAIL PROTECTED] Subject: Grub fast resume Hi there, I've made a few changes to the grub fast resume patch and would appreciate some testing. The first major change is to remove the need for the symbols file - instead, the kernel version is obtained directly from the kernel header and the symbols are read from System.map. This means we don't need the app for generating the symbols file. Secondly, I've removed the dependency on a splash file - if one isn't specified, then it won't attempt to open a default. The order for resuming is now: root (hd0,0) kernel /boot/vmlinuz-whatever resume_partition (hd0,2) resume_symbols /boot/System.map-whatever resume The source is at http://www.codon.org.uk/~mjg59/tmp/grub/ - if someone could test this and make sure it works for them, I'll get it uploaded. Note that the fast resume code is only enabled on lpia builds in order to avoid risking fragility on x86. -- Matthew Garrett | [EMAIL PROTECTED] -- Ubuntu-mobile mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile -- Ubuntu-mobile mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
