Bug 170340

Summary: Enabling geom-mirror on 9.1-powerpc64 prevents the system from booting
Product: Base System Reporter: Daniel Morante <daniel>
Component: powerpcAssignee: Andreas Tobler <andreast>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Daniel Morante 2012-08-02 21:40:11 UTC
I attempted to enabled the geom_mirror as detailed in the handbook. After rebooting I am receiving this error:

Invalid memory access at &SRR0: 00000000.0743f4c &SRR1: 90000000.00003030

Same issue on the other identical system, the error is slightly different:

Decrementer exception at &SRR0: 00000000.0743f4c &SRR1: 90000000.00003030

I can't boot either of them at this point, but they are not important. The two systems were built specifically for testing this.  Each system had 2 identical hard drives.

Screen shots of the error can be seen on the forum topic: http://forums.freebsd.org/showthread.php?t=33613 

Or Here:
http://www.daniel.morante.net/screenshot/IMAG0018.jpg
http://www.daniel.morante.net/screenshot/IMAG0022.jpg

Fix: 

Unable to fix
How-To-Repeat: 1) Clean install of FreeBSD 9.1 beta powerpc64 on a Apple Mac Pro G5 with two identical SATA disks.
2) Follow instructions as detailed in the FreeBSD handbook: http://www.freebsd.org/doc/handbook/geom-mirror.html
3) Upon reboot, system fails.
Comment 1 Andreas Tobler freebsd_committer freebsd_triage 2013-01-09 05:42:13 UTC
With a recent 9.1-STABLE loader the issue is resolved.

Building a loader with at least this revision:

http://svn.freebsd.org/changeset/base/240249

allows me to create mirrored partitions. Mirroring the whole disk does
not work.

Andreas
Comment 2 Andreas Tobler freebsd_committer freebsd_triage 2013-11-09 21:51:06 UTC
Responsible Changed
From-To: freebsd-ppc->andreast

I'll take it.
Comment 3 Andreas Tobler freebsd_committer freebsd_triage 2013-11-09 21:52:18 UTC
State Changed
From-To: open->closed

Code is in 9.2 and up. Works here. Close, tThanks!