Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2003 12:02:44 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 42969 for review
Message-ID:  <200311232002.hANK2iVT017759@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=42969

Change 42969 by rwatson@rwatson_powerbook on 2003/11/23 12:02:01

	Correct a typo in sample nvram command.
	Talk about the virtues of a backup kernel.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin/bootstrap_instructions.txt#17 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin/bootstrap_instructions.txt#17 (text+ko) ====

@@ -231,7 +231,7 @@
     boot-device     mac-io/ata-4@1f000/@0:5,\\:tbxi
     auto-boot?      true
     boot-screen
-    % sudo nvram boot-file=mac-io/ata-4@1f00/@0:5,/mach_kernel.sedarwin
+    % sudo nvram boot-file=mac-io/ata-4@1f000/@0:5,/mach_kernel.sedarwin
 
   Note that the boot-file variable consists if {bootdevice},{filename},
   and that the bootdevice is extracted from the more confusing
@@ -245,6 +245,15 @@
   to "-v" to get a text-based boot with console messages, rather than the
   pretty but less informative Apple logo, etc.
 
+  We've found that boot-time failure modes with Darwin are a bit hard
+  to diagnose, and problems booting a new kernel frequent result in a
+  hang with the Apple logo showing.  This can be a result of
+  incorrect permissions for the kernel file, among other things.  We
+  recommend keeping a safe backup of your original mach_kernel in case
+  of accidental overwrite:
+
+    sudo cp /mach_kernel /mach_kernel.safe
+
 Step 10: Build, Install "Libkvm"
 
     cd apsl/Libkvm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311232002.hANK2iVT017759>