Bug 2807

Summary: Raid Tools corrupts kernel memory and doesn't function correctly on at least SPARC architecture.
Product: [Retired] Red Hat Linux Reporter: dws
Component: raidtoolsAssignee: Elliot Lee <sopwith>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: rmroczk, valankar
Target Milestone: ---   
Target Release: ---   
Hardware: sparc   
OS: Linux   
URL: http://engr.uark.edu/~dws/raid
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-16 13:36:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description dws 1999-05-14 03:24:29 UTC
I tried to get both Linear and Raid 0 running on a Sun
SparcStation LX with 24 Megabytes of memory and three SCSI
hard drives.  I tested each drive separately and they all
worked fine.  When I tried to do a mkraid /dev/md0 (after
loading the linear and raid0 modules and setting up the
examples listed in the docs) the machine
started doing very strange things (like VI couldn't find
a symbol in the libc shared library).  The mkraid command
returned an "invalid argument /dev/md0" error message and
a lot of kernel raid debugging messages printed out from the
kernel.  I then grabbed the latest version of
raidtools-19990421-0.90 from
the listed site and was able to get raid0 working but not
linear mode. (Please see my other bug report on the
initscripts package having to do with loading modules before
the raidstart command is run).  Please let me know if I can
do any other specific tests that would help with the
problem.

Comment 1 Viraj Alankar 1999-07-22 13:03:59 UTC
I was not even able to mkraid on my sun4m. It sends a kernel messages
'Unimplemented SPARC system call 140'. After looking through the
latest source, I defined __usparc__ in raid_io.c, recompiled, and was
able to mkraid. Then strange things happened such as not being able to
execute /bin/vi (cannot execute binary file).

Comment 2 Elliot Lee 2001-07-16 18:49:39 UTC
Closing ancient bug, please reopen if still relevant on !sparc in current
release (7.1).