<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 17/08/10 10:43 AM, Ian Stakenvicius, Aerobiology Research wrote:
    <blockquote cite="mid:4C6AA027.9080902@aerobiology.ca" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <font size="-1"><font face="Helvetica, Arial, sans-serif">Hey all
          -- I've got a user that is having an issue with dmraid, the
          tool does seem to find the raid but is unable to create
          devnodes via devmapper.  He's tried .rc16 as well as CVS
          HEAD.  The following is what he sent me last:<br>
          <br>
          see <a moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://bugs.gentoo.org/show_bug.cgi?id=307439">http://bugs.gentoo.org/show_bug.cgi?id=307439</a> 
          for the full dialogue..  any help would be appreciated.<br>
          <br>
        </font></font>
      <pre wrap="">------- Comment #10 from <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Rainmaker526@hotmail.com">Rainmaker526@hotmail.com</a>  2010-07-27 20:27 0000 -------
Well, the [CVS HEAD dmraid package] compiles fine, but unfortunatly, does not work.

/dev/mapper is still empty.

dmraid -ay hangs for a while, and finally spits out:

Medusa mapper # dmraid -ay
RAID set "isw_dagchgecca_BootEnBackup" already active
RAID set "isw_dagchgecca_Data" already active
ERROR:  Unable to register a device mapper event handler for device
"isw_dagchgecca_BootEnBackup"
ERROR:  Unable to register a device mapper event handler for device
"isw_dagchgecca_Data"
ERROR: opening "/dev/mapper/isw_dagchgecca_BootEnBackup"
ERROR: opening "/dev/mapper/isw_dagchgecca_Data"

Output from 
"strace -f -s 1500 -t -o /tmp/strace dmraid -ay"
is found here:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://sharesend.com/uuu3a">http://sharesend.com/uuu3a</a>

(bzip2'ed, 141MB unpacked, bugzilla has a limit of 1MB for uploaded files, this
is 2.3MB)

line 1002460 shows the error.
Just above (1002436) that you can see the child segfaulting after a munmap()
call.
</pre>
      <br>
    </blockquote>
    Here's some more info from the user:<br>
    -----------------------------------<br>
    <pre wrap="">Created an attachment (id=240367)
 --> (<a class="moz-txt-link-freetext" href="http://bugs.gentoo.org/attachment.cgi?id=240367&action=view">http://bugs.gentoo.org/attachment.cgi?id=240367&action=view</a>) strace output dmeventd

After debugging some more, I'm pretty sure it's dmeventd which is segfaulting.

Testcase; start strace -s 1500 -f -t -o /tmp/dmeventd -- dmeventd -ddd -f in
one terminal, start dmraid -ay in another terminal.

dmeventd exits with "segfault".

strace output is attached (this one is tiny).
</pre>
    <br>
  </body>
</html>