From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Kvl6U-00069L-BJ for garchives@archives.gentoo.org; Fri, 31 Oct 2008 03:55:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7493E02BD; Fri, 31 Oct 2008 03:55:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 846F7E02BD for ; Fri, 31 Oct 2008 03:55:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id C5E77648E2 for ; Fri, 31 Oct 2008 03:55:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.413 X-Spam-Level: X-Spam-Status: No, score=-2.413 required=5.5 tests=[AWL=0.186, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mSM0kLG+hNQU for ; Fri, 31 Oct 2008 03:55:07 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by smtp.gentoo.org (Postfix) with ESMTP id 8984664E07 for ; Fri, 31 Oct 2008 03:55:06 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsAEAPwdCknO+JlS/2dsb2JhbACBdslgg1GBDg X-IronPort-AV: E=Sophos;i="4.33,519,1220241600"; d="scan'208";a="29113746" Received: from 206-248-153-82.dsl.teksavvy.com (HELO waltdnes.org) ([206.248.153.82]) by ironport2-out.teksavvy.com with SMTP; 30 Oct 2008 23:55:04 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Thu, 30 Oct 2008 23:54:56 -0400 From: "Walter Dnes" Date: Thu, 30 Oct 2008 23:54:56 -0400 To: Gentoo Users List Subject: [gentoo-user] Screwed up swap while trying to get hibernate working; help Message-ID: <20081031035456.GA4974@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 1b7735e4-caa4-4884-b5e4-a18fe977f644 X-Archives-Hash: f79d3c1bb7d7c52ae6e4833fb7be4ef7 I ran hibernate once unsuccessfully. I forgot to put "resume=" into my lilo.conf (oops). I finally did that, but now, hiberate gets to... hibernate: Running /usr/sbin/s2disk ... s2disk: Could not use the resume device (try swapon -a). Reason: No such device ...and backs out gracefully. According to "fdisk -l", swap is there... [d530][root][~] fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xd0000000 Device Boot Start End Blocks Id System /dev/sda1 1 60801 488384001 5 Extended /dev/sda5 1 62 497952 83 Linux /dev/sda6 63 549 3911796 82 Linux swap / Solaris /dev/sda7 550 60801 483974158+ 83 Linux ...but according to swapon, it's not... [d530][root][~] swapon -a swapon: /dev/sda6: Invalid argument What did I did? And how do I straighten it out? -- Walter Dnes