Cannot create Segment or Container or Region at arm platform

"Michael Yao" <[email protected]> Wed, 28 Mar 2007 15:00:25 +0800
Newsgroups gmane.linux.evms.devel
Message-ID <[email protected]>
Hi

I was running evms at arm9 platform, kernel 2.6.12.6.

The build process goes smoothly, but I cannot create Segment or
Container or Region.

。 Create Segment,console showed no error.
EVMS: asm:DosSegMgr={}, sda
EVMS: create: Segment, sda_freespace1, primary=false
EVMS: q:s

Segment Name: sda_freespace1
Major: 0
Minor: 0
Active: FALSE
Segment Size: 111.79 GB
Starting LBA: 63
Segment Type: Freespace

Segment Name: sda_mbr
Major: 0
Minor: 0
Active: FALSE
Segment Size: 31.50 KB
Starting LBA: 0
Segment Type: Metadata

evms log shows:
_2_ DosSegMgr: initialize_create_option_descriptors: err
or, wrong number of option descriptors ... count= 0

。 Create Container, console showed:
EVMS: create: Container, LVM2={name=Con_volume1},sda1
Cannot allocate memory

evms log shows:
_3_ Engine: free_option_descriptor_contents: Collection says it has a list but
the list pointer is NULL.
_3_ Engine: free_option_descriptor_contents: Collection says it has a list but
the list pointer is NULL.
_3_ LVM2: create_container_validate_options: Rounded extent-size up to minimum
allowed size of 16 sectors.
_2_ LVM2: allocate_pe_map: Error allocating PE map for PV object sda1.
_3_ Engine: free_option_descriptor_contents: Collection says it has a list but
the list pointer is NULL.
_3_ Engine: free_option_descriptor_contents: Collection says it has a list but
the list pointer is NULL.

。 Create Region, console showed:
EVMS: create: Region, LVM2={name=Reg1, size=1500MB}, lvm2/Con_volume1/Freespace
The create command created region: lvm2/Con_volume1/Reg1
Engine: Error code 22 from write of stop data on object lvm2/Con_volume1/Reg1.

Engine: Error code 5 from write of stop data on object lvm2/Con_volume1/Reg1.

A command line parameter was not valid.

evms log shows:
_3_ Engine: free_option_descriptor_contents: Collection says it has a list but
the list pointer is NULL.
_3_ Engine: free_option_descriptor_contents: Collection says it has a range but
the range pointer is NULL.
_3_ Engine: free_option_descriptor_contents: Collection says it has a list but
the list pointer is NULL.
_3_ Engine: free_option_descriptor_contents: Collection says it has a range but
the range pointer is NULL.
_3_ Engine: free_option_descriptor_contents: Collection says it has a list but
the list pointer is NULL.
_5_ Engine: is_container_change_pending: Change pending: Container
lvm2/Con_volume1 is dirty.
_5_ Engine: is_object_change_pending: Change pending: Object
lvm2/Con_volume1/Reg1 is dirty.
_5_ Engine: is_object_change_pending: Change pending: Object
lvm2/Con_volume1/Reg1 needs to be activated.
_2_ LVM2: map_sector: BUG! Could not find mapping for LE 2251799813685247 in
region lvm2/Con_volume1/Reg1.
_0_ Engine: engine_user_message: Message is: Engine: Error code 22 from write
of stop data on object lvm2/Con_volume1/Reg1.
_2_ LVM2: region_io: I/O request beyond end of region lvm2/Con_volume1/Reg1.
_2_ LVM2: region_io: sector:18446744073709551614 + count:1 > region size:0
_0_ Engine: engine_user_message: Message is: Engine: Error code 5 from write of
stop data on object lvm2/Con_volume1/Reg1.
_2_ LVM2: lvm2_activate: Error activating region lvm2/Con_volume1/Reg1
_3_ Engine: activate: Error code 12 activating object lvm2/Con_volume1/Reg1:
Cannot allocate memory
_2_ LVM2: lvm2_activate: Error activating region lvm2/Con_volume1/Reg1
_3_ Engine: activate: Error code 12 activating object lvm2/Con_volume1/Reg1:
Cannot allocate memory
_3_ Engine: evms_rediscover: activate() returned error code 12: Cannot allocate
memory


However, LVM2 utilities works fine(disabled O_DIRECT),
# pvcreate /dev/sda1
  Physical volume "/dev/sda1" successfully created
# vgcreate Con_volume1 /dev/sda1
  Volume group "Con_volume1" successfully created
# lvcreate -L1500 -nReg1 Con_volume1
  Logical volume "Reg1" created


Does anyone ever run evms on arm?
Any help is appreciated, thanks.
Thanks for your kind help
Attached file: evms_activate -d Debug


Thanks,
Michael Yao

-------------------------------------------------------------------------
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_activate_debug.log (application/octet-stream, 214.1 KB) - not displayed