On Sun, Feb 14, 2010 at 9:51 PM, Rishikesh K Rajak
<[email protected]> wrote:
> On Mon, Feb 15, 2010 at 11:37:03AM +0800, shenghui wrote:
>> 2010/2/8 Rishikesh <[email protected]>
>>
>> > Hi Rishi,
>> >
>> > Please refer to the following for my error info. And will you please
>> > try it on your workstation and send me
>> > your result?
>> >
>> > Hi Shengui,
>> >
>> > Yes i am also facing this different issue on my TP. Let me investigate more
>> > on that. Meanwhile if you know the solution can you please post your
>> > thought
>> > on this problem ?
>> >
>> > Thanks
>> > Rishi
>> >
>> >
>> >
>> > Thanks!
>> >
>> >
>> > ===============================================================================
>> >
>> > r...@crossover-laptop:/home/crossover/repository/ltp-intermediate-20100119/testcases/kernel/mem/hugetlb/hugeshmget#
>> > ls
>> > hugeshmget01 hugeshmget02 hugeshmget03 hugeshmget05 Makefile
>> > hugeshmget01.c hugeshmget02.c hugeshmget03.c hugeshmget05.c
>> >
>> > r...@crossover-laptop:/home/crossover/repository/ltp-intermediate-20100119/testcases/kernel/mem/hugetlb/hugeshmget#
>> > echo 10 > /proc/sys/vm/nr_hugepages
>> >
>> > r...@crossover-laptop:/home/crossover/repository/ltp-intermediate-20100119/testcases/kernel/mem/hugetlb/hugeshmget#
>> > cat /proc/meminfo
>> > MemTotal: 4048440 kB
>> > MemFree: 1576656 kB
>> > Buffers: 122652 kB
>> > Cached: 1487772 kB
>> > SwapCached: 0 kB
>> > Active: 1225860 kB
>> > Inactive: 1043268 kB
>> > Active(anon): 684228 kB
>> > Inactive(anon): 16 kB
>> > Active(file): 541632 kB
>> > Inactive(file): 1043252 kB
>> > Unevictable: 0 kB
>> > Mlocked: 0 kB
>> > HighTotal: 3211696 kB
>> > HighFree: 1044060 kB
>> > LowTotal: 836744 kB
>> > LowFree: 532596 kB
>> > SwapTotal: 3903752 kB
>> > SwapFree: 3903752 kB
>> > Dirty: 204 kB
>> > Writeback: 0 kB
>> > AnonPages: 658692 kB
>> > Mapped: 239928 kB
>> > Slab: 109460 kB
>> > SReclaimable: 93676 kB
>> > SUnreclaim: 15784 kB
>> > PageTables: 8332 kB
>> > NFS_Unstable: 0 kB
>> > Bounce: 0 kB
>> > WritebackTmp: 0 kB
>> > CommitLimit: 5917732 kB
>> > Committed_AS: 1389392 kB
>> > VmallocTotal: 122880 kB
>> > VmallocUsed: 44644 kB
>> > VmallocChunk: 75956 kB
>> > HugePages_Total: 10
>> > HugePages_Free: 10
>> > HugePages_Rsvd: 0
>> > HugePages_Surp: 0
>> > Hugepagesize: 2048 kB
>> > DirectMap4k: 8184 kB
>> > DirectMap2M: 903168 kB
>> >
>> > r...@crossover-laptop:/home/crossover/repository/ltp-intermediate-20100119/testcases/kernel/mem/hugetlb/hugeshmget#
>> > ./hugeshmget03
>> > hugeshmget03 0 TINFO : errno = 12 : Cannot allocate memory
>> > hugeshmget03 1 TBROK : Didn't get ENOSPC in test setup
>> >
>> > r...@crossover-laptop:/home/crossover/repository/ltp-intermediate-20100119/testcases/kernel/mem/hugetlb/hugeshmget#
>> > echo 32 > /proc/sys/vm/nr_hugepages
>> >
>> > r...@crossover-laptop:/home/crossover/repository/ltp-intermediate-20100119/testcases/kernel/mem/hugetlb/hugeshmget#
>> > ./hugeshmget03
>> > hugeshmget03 0 TINFO : errno = 12 : Cannot allocate memory
>> > hugeshmget03 1 TBROK : Didn't get ENOSPC in test setup
>> >
>> >
>> > --
>> >
>> >
>> > Thanks and Best Regards,
>> > shenghui
>> >
>> >
>> >
>> Hi Rishi,
>>
>> I found hugetlbshmget01 has the same problem. Seems we need do
>> further investigation on these two programs. :)
>
> Hi Shenghui,
> Sure i will have a look into it soon.
> Thanks
> Rishi
If the issue isn't supposedly with the running system, please keep
in mind that if the developers are the same in the testcases, odds are
more than likely it's either a) library code, or b) copy-pasted code
(hopefully it's not the latter case, but there's a large amount of
code like that in the tree).
I know it's not extremely helpful at first glance, but that's the
usual case if you can get a fix to work with one testcase, and others
need fixing...
HTH,
-Garrett
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list