PERFORCE change 42969 for review

Robert Watson rwatson at FreeBSD.org
Sun Nov 23 12:02:46 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=42969

Change 42969 by rwatson at 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 at 1f000/@0:5,\\:tbxi
     auto-boot?      true
     boot-screen
-    % sudo nvram boot-file=mac-io/ata-4 at 1f00/@0:5,/mach_kernel.sedarwin
+    % sudo nvram boot-file=mac-io/ata-4 at 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


More information about the p4-projects mailing list