<?xml version="1.0" encoding="UTF-8"?>
<!--PATCHINFO id="e2d9c69e5769175e27a60d2f0027c360"!-->
<patch
    xmlns="http://novell.com/package/metadata/suse/patch"
    xmlns:yum="http://linux.duke.edu/metadata/common"
    xmlns:rpm="http://linux.duke.edu/metadata/rpm"
    xmlns:suse="http://novell.com/package/metadata/suse/common"
    patchid="sdkp1-evms-5079"
    timestamp="1206488988"
    engine="1.0">
  <yum:name>sdkp1-evms</yum:name>
  <summary lang="en">Recommended update for EVMS</summary>
  <summary lang="de">Recommended update for EVMS</summary>
  <description lang="en">   Hint for our patch documentation team, please work with
Boyd Memmot on a really good documentation. This update has
an high impact on OES2 customers.

During install (and possibly at other times) there existed
a window where pools could be corrupted if writing to the
pool during an EVMS engine open.  This was caused by a
switch of which EVMS segment manager claimed the device.
During the window, the write requests could potentially go
to a device mapper object that was 32 sectors different
than the correct position.

The EVMS  package was changed to modify the DOS Segment
manager to not accept devices that were mapped to the NW
Segment Manager.  In addition, the NW Segment Manager code
was modified to not accept devices that were mapped to the
DOS Segment manager.  The NW Segment Manager code was
included in the EVMS package so that both would be
installed at the same time. This avoided a problem where
only one of the managers were updated, leaving a window of
possible corruption.


Info about the bug:

After a system reboot , when nss loaded on the server , we
received a crash. Adding the line /poolautodeactivate=all
to the /etc/opt/novell/nss/conf/nssstart.conf and rebuild
the pool nss could start normally again.

While I can understand that rebuilding the pool resolved
the crash , the nss should not crash the server or not
start if there is corruption in a pool , we should just put
the pool into maintenace mode.

The core can be accessed on 147.2.77.182  under /home/core/.

I have attached the analysis.log to the bug. crash&gt; bt PID:
20395  TASK: f660ed30  CPU: 1   COMMAND: &quot;mount&quot; #0
[f63cd73c] crash_kexec at c013bb1a #1 [f63cd780] die at
c01055fe #2 [f63cd7b0] do_page_fault at c02995e5 #3
[f63cd804] error_code (via page_fault) at c0104e4d EAX:
75c72020  EBX: 20000000  ECX: 00000000  EDX: 10000000  EBP:
f5c72000 DS:  007b      ESI: 00000001  ES:  007b      EDI:
01464c61 CS:  0060      EIP: f9b1e9d2  ERR: ffffffff
EFLAGS: 00210217 #4 [f63cd838] findIndexInXLeaf at f9b1e9d2
#5 [f63cd884] mpkPrivateFree at f8be1317 #6 [f63cd8a4]
LB_StackFree at f8cd5213 #7 [f63cd8b4]
ZFSVOL_LoadSystemBeasts at f9b1c016 #8 [f63cd924]
ZFSPOOL_VOL_ChangeVolumeState at f9b16411 #9 [f63cd974]
VOL_SingleStateChange at f90a7d45 EAX: 00000015  EBX:
08068db0  ECX: 08068dc8  EDX: 08068df0 DS:  007b      ESI:
c0ed0000  ES:  007b      EDI: 08068e20 SS:  007b      ESP:
bfed1470  EBP: bfed14b8 CS:  0073      EIP: ffffe410  ERR:
00000015  EFLAGS: 00200246

</description>
  <description lang="de">   Hint for our patch documentation team, please work with
Boyd Memmot on a really good documentation. This update has
an high impact on OES2 customers.

During install (and possibly at other times) there existed
a window where pools could be corrupted if writing to the
pool during an EVMS engine open.  This was caused by a
switch of which EVMS segment manager claimed the device.
During the window, the write requests could potentially go
to a device mapper object that was 32 sectors different
than the correct position.

The EVMS  package was changed to modify the DOS Segment
manager to not accept devices that were mapped to the NW
Segment Manager.  In addition, the NW Segment Manager code
was modified to not accept devices that were mapped to the
DOS Segment manager.  The NW Segment Manager code was
included in the EVMS package so that both would be
installed at the same time. This avoided a problem where
only one of the managers were updated, leaving a window of
possible corruption.


Info about the bug:

After a system reboot , when nss loaded on the server , we
received a crash. Adding the line /poolautodeactivate=all
to the /etc/opt/novell/nss/conf/nssstart.conf and rebuild
the pool nss could start normally again.

While I can understand that rebuilding the pool resolved
the crash , the nss should not crash the server or not
start if there is corruption in a pool , we should just put
the pool into maintenace mode.

The core can be accessed on 147.2.77.182  under /home/core/.

I have attached the analysis.log to the bug. crash&gt; bt PID:
20395  TASK: f660ed30  CPU: 1   COMMAND: &quot;mount&quot; #0
[f63cd73c] crash_kexec at c013bb1a #1 [f63cd780] die at
c01055fe #2 [f63cd7b0] do_page_fault at c02995e5 #3
[f63cd804] error_code (via page_fault) at c0104e4d EAX:
75c72020  EBX: 20000000  ECX: 00000000  EDX: 10000000  EBP:
f5c72000 DS:  007b      ESI: 00000001  ES:  007b      EDI:
01464c61 CS:  0060      EIP: f9b1e9d2  ERR: ffffffff
EFLAGS: 00210217 #4 [f63cd838] findIndexInXLeaf at f9b1e9d2
#5 [f63cd884] mpkPrivateFree at f8be1317 #6 [f63cd8a4]
LB_StackFree at f8cd5213 #7 [f63cd8b4]
ZFSVOL_LoadSystemBeasts at f9b1c016 #8 [f63cd924]
ZFSPOOL_VOL_ChangeVolumeState at f9b16411 #9 [f63cd974]
VOL_SingleStateChange at f90a7d45 EAX: 00000015  EBX:
08068db0  ECX: 08068dc8  EDX: 08068df0 DS:  007b      ESI:
c0ed0000  ES:  007b      EDI: 08068e20 SS:  007b      ESP:
bfed1470  EBP: bfed14b8 CS:  0073      EIP: ffffe410  ERR:
00000015  EFLAGS: 00200246

</description>
  <yum:version ver="5079" rel="0"/>
  <rpm:requires>
    <rpm:entry kind="atom" name="evms" epoch="0" ver="2.5.5" rel="24.54.5" flags="EQ"/>
    <rpm:entry kind="atom" name="evms-gui" epoch="0" ver="2.5.5" rel="24.54.5" flags="EQ"/>
    <rpm:entry kind="atom" name="evms-ha" epoch="0" ver="2.5.5" rel="24.54.5" flags="EQ"/>
  </rpm:requires>
  <category>recommended</category>
  <atoms>
    <package xmlns="http://linux.duke.edu/metadata/common" type="rpm">
      <name>evms</name>
      <arch>i586</arch>
      <version epoch="0" ver="2.5.5" rel="24.54.5"/>
      <checksum type="sha" pkgid="YES">e0574145aa2819dd1850e32776e1bd934115b18c</checksum>
      <time file="1206491433" build="1206488988"/>
      <size package="1210688" installed="3927523" archive="3941376"/>
      <location xml:base="media://#1" href="suse/i586/evms-2.5.5-24.54.5.i586.rpm"/>
      <format>
        <rpm:requires>
          <rpm:entry kind="package" name="evms" epoch="0" ver="2.5.5" rel="24.54.5" flags="GE"/>
        </rpm:requires>
        <suse:freshens>
          <suse:entry kind="package" name="evms"/>
        </suse:freshens>
      </format>
      <pkgfiles xmlns="http://novell.com/package/metadata/suse/patch">
      </pkgfiles>
    </package>
    <package xmlns="http://linux.duke.edu/metadata/common" type="rpm">
      <name>evms-gui</name>
      <arch>i586</arch>
      <version epoch="0" ver="2.5.5" rel="24.54.5"/>
      <checksum type="sha" pkgid="YES">f52e21692e1c7c5e280e6c1f7ea2d5a10e785d95</checksum>
      <time file="1206491433" build="1206488988"/>
      <size package="268009" installed="778284" archive="778668"/>
      <location xml:base="media://#1" href="suse/i586/evms-gui-2.5.5-24.54.5.i586.rpm"/>
      <format>
        <rpm:requires>
          <rpm:entry kind="package" name="evms-gui" epoch="0" ver="2.5.5" rel="24.54.5" flags="GE"/>
        </rpm:requires>
        <suse:freshens>
          <suse:entry kind="package" name="evms-gui"/>
        </suse:freshens>
      </format>
      <pkgfiles xmlns="http://novell.com/package/metadata/suse/patch">
      </pkgfiles>
    </package>
    <package xmlns="http://linux.duke.edu/metadata/common" type="rpm">
      <name>evms-ha</name>
      <arch>i586</arch>
      <version epoch="0" ver="2.5.5" rel="24.54.5"/>
      <checksum type="sha" pkgid="YES">d8039c2acf41266b469379b7b2a56d9d5662e2d5</checksum>
      <time file="1206491433" build="1206488988"/>
      <size package="28457" installed="43448" archive="43992"/>
      <location xml:base="media://#1" href="suse/i586/evms-ha-2.5.5-24.54.5.i586.rpm"/>
      <format>
        <rpm:requires>
          <rpm:entry kind="package" name="evms-ha" epoch="0" ver="2.5.5" rel="24.54.5" flags="GE"/>
        </rpm:requires>
        <suse:freshens>
          <suse:entry kind="package" name="evms-ha"/>
        </suse:freshens>
      </format>
      <pkgfiles xmlns="http://novell.com/package/metadata/suse/patch">
      </pkgfiles>
    </package>
  </atoms>
</patch>
