<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>2488</bug_id>
          
          <creation_ts>2003-04-07 19:20:22 +0400</creation_ts>
          <short_desc>Unable to open the EVMS Engine.</short_desc>
          <delta_ts>2005-08-30 13:49:09 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>evms</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andy Gorev">master</reporter>
          <assigned_to name="Zhenja Kaluta">tren</assigned_to>
          <cc>mcpain</cc>
    
    <cc>mike</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2263</commentid>
    <comment_count>0</comment_count>
    <who name="Andy Gorev">master</who>
    <bug_when>2003-04-07 19:20:22 +0400</bug_when>
    <thetext>[&lt;a href=&quot;mailto:root@horror&quot; target=&quot;_new&quot;&gt;root@horror&lt;/a&gt; gorev]# evms

EVMS Command Line Interpreter Version 1.2.0
...
Unable to open the EVMS Engine.  Engine returns code 6.

Strace в дополнительной информации.
Кроме того, вышла новая версия 2.0

---

---
[&lt;a href=&quot;mailto:root@horror&quot; target=&quot;_new&quot;&gt;root@horror&lt;/a&gt; gorev]# strace evms
execve(\&amp;quot;/usr/sbin/evms\&amp;quot;, [\&amp;quot;evms\&amp;quot;], [/* 31 vars */]) = 0
uname({sys=\&amp;quot;Linux\&amp;quot;, node=\&amp;quot;horror.avilink\&amp;quot;, ...}) = 0
brk(0)                                  = 0x807c8f0
open(\&amp;quot;/etc/ld.so.preload\&amp;quot;, O_RDONLY)    = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(4)                                = 0
open(\&amp;quot;/etc/ld.so.cache\&amp;quot;, O_RDONLY)      = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=44984, ...}) = 0
mmap2(NULL, 44984, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40012000
close(4)                                = 0
open(\&amp;quot;/lib/i686/libdl.so.2\&amp;quot;, O_RDONLY)  = 4
read(4, \&amp;quot;\\177ELF\\1\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\3\\0\\1\\0\\0\\0p\\30\\0\\000\&amp;quot;..., 1024) = 1024
fstat64(4, {st_mode=S_IFREG|0755, st_size=8300, ...}) = 0
mmap2(NULL, 11232, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4001d000
mprotect(0x4001f000, 3040, PROT_NONE)   = 0
mmap2(0x4001f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x1) = 0x4001f000
close(4)                                = 0
open(\&amp;quot;/usr/lib/libdlist.so.1\&amp;quot;, O_RDONLY) = 4
read(4, \&amp;quot;\\177ELF\\1\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\3\\0\\1\\0\\0\\0\\20\\f\\0\&amp;quot;..., 1024) = 1024
fstat64(4, {st_mode=S_IFREG|0755, st_size=10960, ...}) = 0
mmap2(NULL, 14068, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40020000
mprotect(0x40023000, 1780, PROT_NONE)   = 0
mmap2(0x40023000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x2) = 0x40023000
close(4)                                = 0
open(\&amp;quot;/usr/lib/libevms.so.1\&amp;quot;, O_RDONLY) = 4
read(4, \&amp;quot;\\177ELF\\1\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\3\\0\\1\\0\\0\\0\\260I\\0\&amp;quot;..., 1024) = 1024
fstat64(4, {st_mode=S_IFREG|0755, st_size=224624, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40024000
mmap2(NULL, 252320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40025000
mprotect(0x4005c000, 27040, PROT_NONE)  = 0
mmap2(0x4005c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x36) = 0x4005c000
mmap2(0x4005d000, 22944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4005d000
close(4)                                = 0
open(\&amp;quot;/lib/i686/libc.so.6\&amp;quot;, O_RDONLY)   = 4
read(4, \&amp;quot;\\177ELF\\1\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\3\\0\\1\\0\\0\\0P\\207\\1\&amp;quot;..., 1024) = 1024
fstat64(4, {st_mode=S_IFREG|0755, st_size=1156872, ...}) = 0
mmap2(NULL, 1174016, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40063000
mprotect(0x40178000, 39424, PROT_NONE)  = 0
mmap2(0x40178000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x114) = 0x40178000
mmap2(0x4017e000, 14848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4017e000
close(4)                                = 0
munmap(0x40012000, 44984)               = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 8), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40012000
write(1, \&amp;quot;\\n\&amp;quot;, 1
)                       = 1
write(1, \&amp;quot;\\n\&amp;quot;, 1
)                       = 1
write(1, \&amp;quot;EVMS Command Line Interpreter Ve\&amp;quot;..., 45EVMS Command Line Interpreter Version 1.2.0

) = 45
brk(0)                                  = 0x807c8f0
brk(0x807c918)                          = 0x807c918
brk(0x807d000)                          = 0x807d000
unlink(\&amp;quot;/var/log/evmsEngine.10.log\&amp;quot;)    = -1 ENOENT (No such file or directory)
rename(\&amp;quot;/var/log/evmsEngine.9.log\&amp;quot;, \&amp;quot;/var/log/evmsEngine.10.log\&amp;quot;) = -1 ENOENT (No such file or directory)
rename(\&amp;quot;/var/log/evmsEngine.8.log\&amp;quot;, \&amp;quot;/var/log/evmsEngine.9.log\&amp;quot;) = -1 ENOENT (No such file or directory)
rename(\&amp;quot;/var/log/evmsEngine.7.log\&amp;quot;, \&amp;quot;/var/log/evmsEngine.8.log\&amp;quot;) = -1 ENOENT (No such file or directory)
rename(\&amp;quot;/var/log/evmsEngine.6.log\&amp;quot;, \&amp;quot;/var/log/evmsEngine.7.log\&amp;quot;) = -1 ENOENT (No such file or directory)
rename(\&amp;quot;/var/log/evmsEngine.5.log\&amp;quot;, \&amp;quot;/var/log/evmsEngine.6.log\&amp;quot;) = -1 ENOENT (No such file or directory)
rename(\&amp;quot;/var/log/evmsEngine.4.log\&amp;quot;, \&amp;quot;/var/log/evmsEngine.5.log\&amp;quot;) = 0
rename(\&amp;quot;/var/log/evmsEngine.3.log\&amp;quot;, \&amp;quot;/var/log/evmsEngine.4.log\&amp;quot;) = 0
rename(\&amp;quot;/var/log/evmsEngine.2.log\&amp;quot;, \&amp;quot;/var/log/evmsEngine.3.log\&amp;quot;) = 0
rename(\&amp;quot;/var/log/evmsEngine.1.log\&amp;quot;, \&amp;quot;/var/log/evmsEngine.2.log\&amp;quot;) = 0
rename(\&amp;quot;/var/log/evmsEngine.log\&amp;quot;, \&amp;quot;/var/log/evmsEngine.1.log\&amp;quot;) = 0
open(\&amp;quot;/var/log/evmsEngine.log\&amp;quot;, O_WRONLY|O_CREAT|O_TRUNC, 0664) = 4
time(NULL)                              = 1049728474
getpid()                                = 10152
stat64(\&amp;quot;/dev/evms/\&amp;quot;, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64(\&amp;quot;/dev/evms/block_device\&amp;quot;, {st_mode=S_IFBLK|0640, st_rdev=makedev(117, 0), ...}) = 0
open(\&amp;quot;/dev/evms/block_device\&amp;quot;, O_RDWR|O_NONBLOCK) = -1 ENXIO (No such device or address)
time([1049728474])                      = 1049728474
open(\&amp;quot;/etc/localtime\&amp;quot;, O_RDONLY)        = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=767, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000
read(6, \&amp;quot;TZif\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\v\\0\\0\\0\\v\\0\&amp;quot;..., 4096) = 767
close(6)                                = 0
munmap(0x40013000, 4096)                = 0
uname({sys=\&amp;quot;Linux\&amp;quot;, node=\&amp;quot;horror.avilink\&amp;quot;, ...}) = 0
write(4, \&amp;quot;Apr 07 18:14:34 horror.avilink E\&amp;quot;..., 124) = 124
time([1049728474])                      = 1049728474
uname({sys=\&amp;quot;Linux\&amp;quot;, node=\&amp;quot;horror.avilink\&amp;quot;, ...}) = 0
write(4, \&amp;quot;Apr 07 18:14:34 horror.avilink E\&amp;quot;..., 106) = 106
write(1, \&amp;quot;\\n\\n\&amp;quot;, 2

)                     = 2
write(1, \&amp;quot;Unable to open the EVMS Engine. \&amp;quot;..., 57Unable to open the EVMS Engine.  Engine returns code 6.

) = 57
munmap(0x40012000, 4096)                = 0
_exit(6)                                = ?
[&lt;a href=&quot;mailto:root@horror&quot; target=&quot;_new&quot;&gt;root@horror&lt;/a&gt; gorev]#
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5445</commentid>
    <comment_count>1</comment_count>
    <who name="cat">akotv</who>
    <bug_when>2003-04-07 20:50:18 +0400</bug_when>
    <thetext>похоже на то что не загружена кернеловая часть evms (как мимнимум ldev_mgr).
Об этом свидетельствует строка:
open(\&amp;quot;/dev/evms/block_device\&amp;quot;, O_RDWR|O_NONBLOCK) = -1 ENXIO (No such device or address)
--cat</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8814</commentid>
    <comment_count>2</comment_count>
    <who name="cat">akotv</who>
    <bug_when>2003-04-07 20:50:18 +0400</bug_when>
    <thetext>похоже на то что не загружена кернеловая часть evms (как мимнимум ldev_mgr).
Об этом свидетельствует строка:
open(\&amp;quot;/dev/evms/block_device\&amp;quot;, O_RDWR|O_NONBLOCK) = -1 ENXIO (No such device or address)
--cat</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5446</commentid>
    <comment_count>3</comment_count>
    <who name="Andy Gorev">master</who>
    <bug_when>2003-04-07 21:09:26 +0400</bug_when>
    <thetext>Замечательно, и как ее загрузить, эту самую часть?
[&lt;a href=&quot;mailto:root@horror&quot; target=&quot;_new&quot;&gt;root@horror&lt;/a&gt; evms]# ls -l /dev/evms
total 0
brw-r-----    1 root     root     117,   0 Apr  7 17:46 block_device</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8815</commentid>
    <comment_count>4</comment_count>
    <who name="Andy Gorev">master</who>
    <bug_when>2003-04-07 21:09:26 +0400</bug_when>
    <thetext>Замечательно, и как ее загрузить, эту самую часть?
[&lt;a href=&quot;mailto:root@horror&quot; target=&quot;_new&quot;&gt;root@horror&lt;/a&gt; evms]# ls -l /dev/evms
total 0
brw-r-----    1 root     root     117,   0 Apr  7 17:46 block_device</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5447</commentid>
    <comment_count>5</comment_count>
    <who name="Andy Gorev">master</who>
    <bug_when>2003-04-07 21:13:55 +0400</bug_when>
    <thetext>А, дошло! Тогда в postinstall надо добавить алиас на block-major-117 в модулес.конф.

edited on: 07-04 21:15</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8816</commentid>
    <comment_count>6</comment_count>
    <who name="Andy Gorev">master</who>
    <bug_when>2003-04-07 21:13:55 +0400</bug_when>
    <thetext>А, дошло! Тогда в postinstall надо добавить алиас на block-major-117 в модулес.конф.

edited on: 07-04 21:15</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5448</commentid>
    <comment_count>7</comment_count>
    <who name="Andy Gorev">master</who>
    <bug_when>2003-04-07 21:22:08 +0400</bug_when>
    <thetext>Теперь вот что:
[&lt;a href=&quot;mailto:root@horror&quot; target=&quot;_new&quot;&gt;root@horror&lt;/a&gt; evms]# evms
EVMS Command Line Interpreter Version 1.2.0

JFS: jfsutils must be version 1.0.9 or later to function properly with this FSIM.

JFS: jfsutils must also reside in the search path specified by PATH.

JFS: Please get/install the current version of jfsutils from &lt;a href=&quot;http://oss.software.ibm.com/jfs&quot;&gt;http://oss.software.ibm.com/jfs&lt;/a&gt;

Engine: The plug-in JFS in module /usr/lib/evms/libjfsfsim-1.1.1.so failed to load.  The plug-in\&apos;s setup_evms_plugin() function failed with error code 38: Function not implemented.

XFS: xfsutils must be version 2.0.0 or later to function properly with this FSIM.

XFS: xfsutils must also reside in the search path specified by PATH.

XFS: Please get/install the current version of xfsutils from &lt;a href=&quot;http://oss.sgi.com/projects/xfs&quot;&gt;http://oss.sgi.com/projects/xfs&lt;/a&gt;

Engine: The plug-in XFS in module /usr/lib/evms/libxfsfsim-0.1.0.so failed to load.  The plug-in\&apos;s setup_evms_plugin() function failed with error code 38: Function not implemented.

Engine: The plug-in Ext2/3 in module /usr/lib/evms/libe2fsim.1.2.1.so requires Engine services API version (8.1.0) which is greater than this Engine\&apos;s services API version (8.0.0).
Engine: The plug-in failed to load.

Engine: WARNING: Volume \&amp;quot;/dev/evms/hda\&amp;quot; was exported by the EVMS kernel but was not discovered by the EVMS Engine.  The kernel\&apos;s in memory copy of the volume is scheduled to be deleted when changes are committed.  Deleting the kernel\&apos;s in memory copy of the volume will not change any data on the disks.  If the volume truly exists, the kernel will discover it after the changes have been committed.

EVMS:
exit

Если с jfs и xfs еще можно понять, но чего он ругается на ext3?
[&lt;a href=&quot;mailto:root@horror&quot; target=&quot;_new&quot;&gt;root@horror&lt;/a&gt; evms]# rpm -qa|grep evms
evms-1.2.0-alt2
libevms-1.2.0-alt2
evms-plugins-e2fsim-1.32-alt1


edited on: 07-04 21:24</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8817</commentid>
    <comment_count>8</comment_count>
    <who name="Andy Gorev">master</who>
    <bug_when>2003-04-07 21:22:08 +0400</bug_when>
    <thetext>Теперь вот что:
[&lt;a href=&quot;mailto:root@horror&quot; target=&quot;_new&quot;&gt;root@horror&lt;/a&gt; evms]# evms
EVMS Command Line Interpreter Version 1.2.0

JFS: jfsutils must be version 1.0.9 or later to function properly with this FSIM.

JFS: jfsutils must also reside in the search path specified by PATH.

JFS: Please get/install the current version of jfsutils from &lt;a href=&quot;http://oss.software.ibm.com/jfs&quot;&gt;http://oss.software.ibm.com/jfs&lt;/a&gt;

Engine: The plug-in JFS in module /usr/lib/evms/libjfsfsim-1.1.1.so failed to load.  The plug-in\&apos;s setup_evms_plugin() function failed with error code 38: Function not implemented.

XFS: xfsutils must be version 2.0.0 or later to function properly with this FSIM.

XFS: xfsutils must also reside in the search path specified by PATH.

XFS: Please get/install the current version of xfsutils from &lt;a href=&quot;http://oss.sgi.com/projects/xfs&quot;&gt;http://oss.sgi.com/projects/xfs&lt;/a&gt;

Engine: The plug-in XFS in module /usr/lib/evms/libxfsfsim-0.1.0.so failed to load.  The plug-in\&apos;s setup_evms_plugin() function failed with error code 38: Function not implemented.

Engine: The plug-in Ext2/3 in module /usr/lib/evms/libe2fsim.1.2.1.so requires Engine services API version (8.1.0) which is greater than this Engine\&apos;s services API version (8.0.0).
Engine: The plug-in failed to load.

Engine: WARNING: Volume \&amp;quot;/dev/evms/hda\&amp;quot; was exported by the EVMS kernel but was not discovered by the EVMS Engine.  The kernel\&apos;s in memory copy of the volume is scheduled to be deleted when changes are committed.  Deleting the kernel\&apos;s in memory copy of the volume will not change any data on the disks.  If the volume truly exists, the kernel will discover it after the changes have been committed.

EVMS:
exit

Если с jfs и xfs еще можно понять, но чего он ругается на ext3?
[&lt;a href=&quot;mailto:root@horror&quot; target=&quot;_new&quot;&gt;root@horror&lt;/a&gt; evms]# rpm -qa|grep evms
evms-1.2.0-alt2
libevms-1.2.0-alt2
evms-plugins-e2fsim-1.32-alt1


edited on: 07-04 21:24</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5758</commentid>
    <comment_count>9</comment_count>
    <who name="Alexander Bokovoy">ab</who>
    <bug_when>2003-08-25 19:45:50 +0400</bug_when>
    <thetext>Reassign to tren. This is proabbly already fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5795</commentid>
    <comment_count>10</comment_count>
    <who name="Zhenja Kaluta">tren</who>
    <bug_when>2003-08-26 12:16:32 +0400</bug_when>
    <thetext>текущий evms -- 2.x</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9165</commentid>
    <comment_count>11</comment_count>
    <who name="Zhenja Kaluta">tren</who>
    <bug_when>2003-09-10 11:46:28 +0400</bug_when>
    <thetext>Current version is 2.1.1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>