Re: Cannot create Segment or Container or Region at arm platform

"Michael Yao" <[email protected]> Thu, 29 Mar 2007 14:22:12 +0800
Newsgroups gmane.linux.evms.devel
Message-ID <[email protected]>
Hi, Plazeus
Thanks for your help, I saw the thread and I think this may be different cases.
At the Intel XScale processor (8032x), DOS Segment Manager says it
wrote the partition table to the disk successfully.

But at my ARM926EJ, I am running evms 2.5.5 with all extra patches.
DOS Segment Manager did not write the partition table.
It just exit after Discovery finished and leave a log say, DosSegMgr:
initialize_create_option_descriptors: error, wrong number of option
descriptors ... count= 0

For example:

# echo 'create:segment,sdb_freespace1,primary=false' | evms -s -d Error -v1

EVMS Command Line Interpreter Version 2.5.5

Loading module: /lib/evms/2.5.5/disk-1.2.13.so
Validating plug-in: Local Disk Manager
Loading module: /lib/evms/2.5.5/dos-1.1.16.so
Validating plug-in: DOS Segment Manager
Loading module: /lib/evms/2.5.5/error-1.0.2.so
Validating plug-in: Error Device Manager
Loading module: /lib/evms/2.5.5/ext2-1.1.13.so
Validating plug-in: Ext2/3 File System Interface Module
Loading module: /lib/evms/2.5.5/fat-1.0.0.so
Validating plug-in: FAT32 File System Interface Module
Validating plug-in: FAT16 File System Interface Module
Loading module: /lib/evms/2.5.5/lvm-1.1.15.so
Validating plug-in: LVM Region Manager
Loading module: /lib/evms/2.5.5/lvm2-1.0.5.so
Validating plug-in: LVM2 Region Manager
Loading module: /lib/evms/2.5.5/md-1.1.20.so
Validating plug-in: MD Linear Raid Region Manager
Validating plug-in: MD Raid 1 Region Manager
Validating plug-in: MD RAID0 Region Manager
Validating plug-in: MD RAID 4/5 Region Manager
Validating plug-in: MD Multipath Region Manager
Loading module: /lib/evms/2.5.5/ntfs-1.0.3.so
Validating plug-in: NTFS File System Interface Module
Loading module: /lib/evms/2.5.5/reiser-1.1.15.so
Validating plug-in: ReiserFS File System Interface Module
Loading module: /lib/evms/2.5.5/snapshot-3.1.11.so
Validating plug-in: Snapshot Feature
Loading module: /lib/evms/2.5.5/swap-1.1.13.so
Validating plug-in: Swap File System Interface Module
Loading module: /lib/evms/2.5.5/xfs-1.0.12.so
Validating plug-in: XFS File System Interface Module
Loading module: /lib/evms/2.5.5/jfs-1.1.15.so
Validating plug-in: JFS File System Interface Module
Loading module: /lib/evms/2.5.5/ocfs2-1.0.0.so
Validating plug-in: OCFS2 File System Interface Module
Setup plug-in: Local Disk Manager
Setup plug-in: Error Device Manager
Setup plug-in: DOS Segment Manager
Setup plug-in: LVM Region Manager
Setup plug-in: LVM2 Region Manager
Setup plug-in: MD Linear Raid Region Manager
Setup plug-in: MD Raid 1 Region Manager
Setup plug-in: MD RAID0 Region Manager
Setup plug-in: MD RAID 4/5 Region Manager
Setup plug-in: MD Multipath Region Manager
Setup plug-in: Snapshot Feature
Setup plug-in: Ext2/3 File System Interface Module
Setup plug-in: FAT32 File System Interface Module
Setup plug-in: FAT16 File System Interface Module
Setup plug-in: NTFS File System Interface Module
Setup plug-in: ReiserFS File System Interface Module
Setup plug-in: Swap File System Interface Module
Setup plug-in: XFS File System Interface Module
Setup plug-in: JFS File System Interface Module
Setup plug-in: OCFS2 File System Interface Module
Discovering disks...
Discovering disks
Discovering segments...
Discovering segments
Discovering segments.
Discovering regions...
Discovering regions
Discovering regions.
Discovering regions..
Discovering regions...
Discovering regions
Discovering regions.
Discovering regions..
Discovering regions...
Discovering regions
Discovering regions.
Discovering regions..
Discovering regions...
Discovering regions
Cleaning up the /dev/evms tree...
Cleaning up the /dev/evms tree
Cleaning up the /dev/evms tree.
Cleaning up the /dev/evms tree..
Cleaning up the /dev/evms tree...
Cleaning up the /dev/evms tree
Cleaning up the /dev/evms tree.
Finished cleaning up the /dev/evms tree.
Discovery finished.
EVMS:  # tail /var/log/e*
Mar 29 14:08:02 michael _2_ DosSegMgr:
initialize_create_option_descriptors: error, wrong number of option
descriptors ... count= 0

Any idea?

I attched a file running -d Debug at creating Segment for sdb.
These are objects on my system
# evms_query objects
sda
sdb
sdb_mbr
sdb_freespace1

Thank,
Michael Yao

>On 3/28/07, Plazeus Phillips <[email protected]> wrote:
> Hi Michael,
>
>    Yes. I have tried on ARM before. There is an issue here around the
> O_DIRECT calls and how it is being implemented in the kernel.
>
> Please trace this ' Strange EVMS/MD behavior on Intel XScale processor'
> on this list and the replies on it. It might be useful.
>
>
>
> Thanks
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Evms-devel mailing list
[email protected]
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
evms-engine.log (application/octet-stream, 279.3 KB) - not displayed