Home > I O > I O Error Reading Swsusp Image

I O Error Reading Swsusp Image

You can say /dev/hda4 + * instead of /dev/ide/host0/bus0/target0/lun0/part4 [if using devfs] + * and they'll be considered the same device. Also, bootin single user mode or even with init=/bin/bash (and then "mount -oremount,rw /") and purge any package related to swsusp ("apt-cachesearch swsusp" gives me only the package uswsusp). Wysocki kernel/power/Makefile | 2 kernel/power/swap.c | 641 ++++++++++++++++++++++++++++++++++++++++++++++++++ kernel/power/swsusp.c | 629 ------------------------------------------------- 3 files changed, 644 insertions(+), 628 deletions(-)Index: linux-2.6.15-rc5-mm3/kernel/power/Makefile===================================================================--- linux-2.6.15-rc5-mm3.orig/kernel/power/Makefile 2005-12-27 22:33:08.000000000 +0100+++ linux-2.6.15-rc5-mm3/kernel/power/Makefile 2005-12-27 23:39:20.000000000 +0100@@ -5,7 +5,7 You can search for that thread, but I'd suggest you boot withthe install CD in rescue mode, run a shell on your system, run aptitudeand remove swsusp. his comment is here

The partition table is definatelymessed up. Tutty 2008-05-04 01:41:10 UTC w***@gmail.com 2008-05-04 01:46:00 UTC NN_il_Confusionario 2008-05-04 06:49:11 UTC w***@gmail.com 2008-05-04 12:29:31 UTC NN_il_Confusionario 2008-05-04 12:58:06 UTC w***@gmail.com 2008-05-04 17:16:42 UTC about - legalese Loading... This should be + * corrected eventually when the cases giving rise to this + * are better understood. + */ + if (PageReserved(page)) { + printk("highmem reserved page?!\n"); + continue; This is *necessary* for - * devfs, since the resume code can only recognize the form /dev/hda4, - * but the suspend code would see the long name.) - */ -static https://lists.debian.org/debian-user/2008/05/msg00269.html

This is *necessary* for + * devfs, since the resume code can only recognize the form /dev/hda4, + * but the suspend code would see the long name.) + */ +static Thanks! - John -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". But then I did an update and upgrade, and now I am > getting the same swsusp error I had before and can't boot!

Are you sure that the files you restored arenot responsable for the apparence of swsusp in the boot process?Yes, I'm sure mondorestore doesn't change the partitions (not usingthe nuke option, just But then I did an update and upgrade, and now I amgetting the same swsusp error I had before and can't boot!check in the bootloader prompt the kernel command line. After the new install, I willlook for uswsusp and get rid of it to hopefully avoid problems in thefuture. It introduces the file swap.c containing all of the swap-handling code.

I just know the server had none of theseproblems for months, and now they show up. I should only have one ext3 and a swap partition, butthere is an additional partition that I don't understand at all.Anyway, I am starting over this time. Digli di smettere. http://debian-user.debian.narkive.com/WCfCTNV1/help-can-t-boot-i-o-error-reading-swsusp-image After the change swsusp.c contains the functions that in my opinion do not belong to either the snapshot-handling part or the swap-handling part (swsusp_suspend(), swsusp_resume() and the functions related to highmem).

Tutty Re: HELP - Can't boot - I/O error reading sws... [EMAIL PROTECTED] Re: HELP - Can't boot - I/O error reading swsusp.... NN_il_Confusionario Re: HELP - Can't boot - I/O error rea... [EMAIL PROTECTED] Reply via email to Search the site The Mail Archive home debian-user - all messages debian-user - about the [Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index] Re: HELP - Can't boot - I/O error reading swsusp.image To: [email protected] Subject: Re: HELP - Can't boot - I/O error LWN.net News from the source ContentWeekly EditionArchivesSearchKernelSecurityDistributionsEvents calendarUnread commentsLWN FAQWrite for us EditionReturn to the Kernel page User: Password: | | Subscribe / Log in / New account swsusp: separate swap-writing/reading

At that time we need to keep - * it in memory, because we have to free all of the allocated swap - * entries if an error occurs. directory Wysocki - * Added the swap map data structure and reworked the handling of swap + * Reworked the handling of swap and added the user interface * * More The memory needed is preallocated+ * so that we know in advance if there's enough of it.+ *+ * The first swap_map_page structure is filled with the swap entries that+ * Then again, I never need to suspend.Doug.

The swap map is used for keeping track of the + * saved pages + */ + +static int save_image(swp_map_t *swp, unsigned nr_pages, void *buf) +{ + unsigned n, k; + A new call to + * lock_swapdevices can unlock the devices. + */ +static void lock_swapdevices(void) +{ + int i; + + spin_lock(&swap_lock); + for (i = 0; i< MAX_SWAPFILES; i++) Unfortunately, I don't know the key thing that happened. Digli di smettere.Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.Informatica=bomba: intelligente solo per gli stupidi che ci credono.

If there issomething related to resuming a suspended session, delete it. Hopefully I won't be back, but I will if swsusp shows up again! - John Reply to: debian-user@lists.debian.org [email protected] (on-list) [email protected] (off-list) References: Re: HELP - Can't boot - I/O error You can say /dev/hda4 - * instead of /dev/ide/host0/bus0/target0/lun0/part4 [if using devfs] - * and they'll be considered the same device. Tutty 7. 2008-05-03 HELP - Can't boot - I/O error reading swsusp.image debian-us wa9als Configure | About | News | Addalist | SponsoredbyKoreLogic [linux-pm] [RFC][PATCH 5/6] swsusp: move swap-handling functions

After the all of the data pages have been written, the order - * of the swp_map_page structures in the map is reversed so that they - * can be read Contact [EMAIL PROTECTED] Previous message View by thread View by date Next message HELP - Can't boot - I/O error reading swsusp.image [EMAIL PROTECTED] Re: HELP - Can't boot - I/O This should be - * corrected eventually when the cases giving rise to this - * are better understood. - */ - if (PageReserved(page)) { - printk("highmem reserved page?!\n"); - continue;

Beiträge aktive Themen Zum Seitenanfang Diese Webseite ist keine offizielle Webseite des Debian Projekts.

I rebooted my Etch server (was not having problems prior), and it stops early with: Begin: Running /scripts/local-premount . . . Are you sure that the files you restored are > not responsable for the apparence of swsusp in the boot process? error : -EFAULT; + header = (struct swsusp_info *)data_of(snapshot); + error = get_swap_reader(&handle, swsusp_header.image); + if (!error) + error = swap_read_page(&handle, header); + if (!error) { + nr_pages = header->image_pages; + Are you sure that the files you restored are not responsable for the apparence of swsusp in the boot process? > that point.

After the new install, I will look for uswsusp and get rid of it to hopefully avoid problems in the future. w***@gmail.com 2008-05-04 12:29:31 UTC PermalinkRaw Message Post by NN_il_ConfusionarioPost by w***@gmail.comattempt to access beyond end of devicehda2: rw=16, want=8, limit=2I/O error reading swsusp image.You delete a partition on a disk where Then again, I never need to suspend.Doug.Thanks. Also, boot in single user mode or even with init=/bin/bash (and then "mount -o remount,rw /") and purge any package related to swsusp ("apt-cache search swsusp" gives me only the package

NN_il_Confusionario Re: HELP - Can't boot - I/O error reading sws... [EMAIL PROTECTED] Re: HELP - Can't boot - I/O error reading...