From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 14 23:44:52 2013 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E93024CA for ; Mon, 14 Jan 2013 23:44:52 +0000 (UTC) (envelope-from marko.cupac@mimar.rs) Received: from www.mimar.rs (www.mimar.rs [193.53.106.101]) by mx1.freebsd.org (Postfix) with ESMTP id 972C7334 for ; Mon, 14 Jan 2013 23:44:52 +0000 (UTC) Received: from kaa.mimar.rs (79-101-90-2.dynamic.isp.telekom.rs [79.101.90.2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: marko.cupac@mimar.rs) by www.mimar.rs (Postfix) with ESMTPSA id 5FBB6B92AB for ; Mon, 14 Jan 2013 21:28:23 +0100 (CET) Date: Mon, 14 Jan 2013 21:28:21 +0100 From: "marko.cupac" To: freebsd-acpi@FreeBSD.org Subject: resume and /boot on usb Message-ID: <20130114212821.7af3a229@kaa.mimar.rs> Organization: mimar X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2013 23:44:53 -0000 I am trying to make suspend / resume work on my Asus N53JQ. My first problem comes from the fact that I boot from gpt partitioned USB stick which contains only bootcode and /boot partition, the rest of the system is on geli encrypted local HDD. Setup is similar to the one described here: http://translate.google.com/translate?sl=3Dsr&tl=3Den&js=3Dn&prev=3D_t&hl= =3Dsr&ie=3DUTF-8&eotf=3D1&u=3Dhttp%3A%2F%2Fwww.bsdserbia.org%2Findex.php%3F= topic%3D1638.msg9969%23msg9969 I need to kldunload usb in rc.suspend, and then again kldload it in rc.resume. After resuming, mount shows da0p2 mounted at /USBboot as it was before suspending, and /USBboot/boot is symlinked to /boot. However, cd and ls under these mountpoints behave strangely, with files missing. It is not possible to remount da0p2 as it reports unclean filesystem needing fsck. Any suggestions how I can make this work? --=20 Marko Cupa=C4=87