From owner-freebsd-ppc@FreeBSD.ORG Fri Dec 2 12:41:44 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7959C1065673 for ; Fri, 2 Dec 2011 12:41:44 +0000 (UTC) (envelope-from freebsd-ppc@dino.sk) Received: from loki.netlab.sk (ns3.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 27B9D8FC16 for ; Fri, 2 Dec 2011 12:41:43 +0000 (UTC) Received: from atom.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by loki.netlab.sk with ESMTPSA; Fri, 02 Dec 2011 13:37:50 +0100 id 00033CAF.4ED8C69E.0001015F Date: Fri, 2 Dec 2011 13:41:21 +0100 From: Milan Obuch To: "Andrey V. Elsukov" , freebsd-ppc@freebsd.org Message-ID: <20111202134121.4ad57b45@atom.dino.sk> In-Reply-To: <4ED8B6D3.3030508@FreeBSD.org> References: <20111202121746.6cce0999@atom.dino.sk> <4ED8B6D3.3030508@FreeBSD.org> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: ak5rwz4-aUa>hPFZlcg,bXxn.(TN}e9DGFrKU\.i_'B[&5=pAd9o"j)5VSUYW:BRQG#^42Ev$Il|; Ztn=,C X-Operating-System: FreeBSD/amd64 8.2-STABLE Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: CURRENT on Mac Mini does not boot for a week... X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 12:41:44 -0000 On Fri, 02 Dec 2011 15:30:27 +0400 "Andrey V. Elsukov" wrote: > On 02.12.2011 15:17, Milan Obuch wrote: > > As partition map is rejected, root file system can't be mounted from > > disk, but I can mount root file system from USB flash disk. > > > > Any idea here what could be wrong? Is this integrity check something > > just freshly introduced in CURRENT? What does it check, actually? > > Everything worked in 9 and still works in yesterday compiled > > 9-PRERELEASE, it worked with 10-CURRENT up until a week (see at the > > beginning of this message), but not after that point. > > Hi, > > i think it happened after r228061. > And, probably, you have partition that overlaps APM boundaries. > If you enable verbose boot mode you will see what is incorrect. > As temporary solution you can disable integrity check with this loader > tunable: kern.geom.part.check_integrity="0". > It will be good if you send GEOM_PART' messages from verbose log, > also output of `gpart list` will be helpful. > Thanks, that helped - boot -s produced clear hint: GEOM_PART: partition 1 has start offset below first LBA: 11 < 64 I changed it so it looks like this => 64 195371504 ada0 APM (93G) 64 262144 1 freebsd (128M) 262208 52166656 2 apple-hfs (24G) 52428864 1600 3 apple-boot (800k) 52430464 10485760 4 freebsd-ufs (5.0G) 62916224 1600 5 apple-boot (800k) 62917824 10485760 6 freebsd-ufs (5.0G) 73403584 10485760 7 freebsd-swap (5.0G) 83889344 111482224 8 freebsd-ufs (53G) now, and it works again. First entry in table is actually just a placeholder so no free area is here :) This map was initialized with Disk Utility from Mac OS X, and for some reason when created four partition there were four 128 MB free areas. I deleted all entries but apple-hfs partition 2 and divided the disk the way I saw fit at the time, and as the first free area was layed with beginning at sector 11 so I did it this way - I still now not that much about all the fine details of this. Anyway, this way I have three bootable systems, Apple's Mac OS X, FreeBSD 9-PRERELEASE and FreeBSD 10-CURRENT with first being currently the default system, FreeBSD 9-PRERELEASE being selectable from Apple's OPT boot menu, just last one is not directly bootable from here - disk image is show, but when selected, first freebsd-ufs partition is used for kernel and root filesystem, so I can boot it now from Open firmware console only, but it is not that bad, and some solution surely could be found. I know I need to modify second apple-boot partition, but did not yet get well into its details (I found something in the archive, so hopefully it will not be that hard, again). Regards, Milan