Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67477

Summary: Please add sparc KEYWORD to mdadm-1.*.ebuild
Product: Gentoo Linux Reporter: Gregor Riepl <seto-kun>
Component: New packagesAssignee: Sparc Porters <sparc>
Status: RESOLVED TEST-REQUEST    
Severity: enhancement    
Priority: High    
Version: 2004.2   
Hardware: Sparc   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gregor Riepl 2004-10-13 15:03:15 UTC
i just set up a software raid on my ultra 10 box using mdadm.
since no ebuild had a sparc KEYWORD, i had to add it manually.
it works fine, can someone fix this please?

the only reason why it shouldn't be there is that md uses native endianness for the superblock, so disks from BE/LE systems aren't interchangeable without rebuilding it. this is a piece of cake if you know the attributes though, and it's exactly the same with raidtools.
my reiserfs migrated seamlessly from an x86 to a sparc :)
Comment 1 Ciaran McCreesh 2004-10-13 15:06:25 UTC
Isn't there some nasty bug with mdadm which is why it's unkeyworded and we tell people to use raidtools instead? Can't remember the specifics, but I seem to recall having problems with something... Or maybe it was bazik that encountered it... Anyone recall?
Comment 2 Gustavo Zacarias (RETIRED) gentoo-dev 2005-01-17 11:07:13 UTC
mdadm-1.7.1 seems to work (tested with loopback devices).
mdadm-1.8.0 goes sigbus when doing a "--assemble --scan" on a previously created array.
I'm doing ~sparc for 1.7.1, but i'd like to see it tested on real disks before going stable.
Thanks.
Comment 3 Gregor Riepl 2005-01-23 03:51:07 UTC
Thanks a lot, I'll test it a bit more and report!