Le 05/11/2010 13:26, ryuuta a écrit :
> Hi Brice,
>
> Thanks for the patch.
> I applied your new patch after undoing the previous patch,
> rebuilt hwloc, and 'lstopo oroppas.xml' to make sure oroppas.xml
> contains a single line of "page_type" with the same size and count.
> I double-checked 'make check' passed without an error.
> I think it's good to go.
>
> Thanks for the fix!

Thanks for testing, I am pushing this to trunk and the 1.1 branch now.

> Out of curiosity, how can I check whether my kernel has the hugepage
> support or not?

Look for CONFIG_HUGE is your config file (either /boot/config-$(uname
-r) or .config in the kernel source directory

Brice


>
> Regards,
> Ryuta
>
> On Fri, Nov 5, 2010 at 6:51 PM, Brice Goglin <brice.gog...@inria.fr
> <mailto:brice.gog...@inria.fr>> wrote:
>
>     Here's a proper patch that should fix your problem without
>     breaking hugepages support. Can you do what's below again?
>
>     thanks,
>     Brice
>
>
>
>     Le 05/11/2010 08:33, ryuuta a écrit :
>>     OK. I applied the patch and rebuilt hwloc.
>>     Then, I did 'lstopo oroppas' to produce oroppas.xml.
>>     The output xml file only contains a single "page_type" lne as you
>>     indicated.
>>     And I ran 'make check' to confirm all the tests passed.
>>
>>     Thank you for the fixes!
>>
>>     Regards,
>>     Ryuta
>>
>>     On Fri, Nov 5, 2010 at 4:10 PM, Brice Goglin
>>     <brice.gog...@inria.fr <mailto:brice.gog...@inria.fr>> wrote:
>>
>>         Interesting, you don't have any hugepage information, it's
>>         probably disabled in the kernel. Can you apply th attached
>>         patch and check that the XML output only contains a single
>>         "page_type" line and that it looks valid ? It should be
>>         something like
>>           <page_type size="4096" count="256834"/>
>>         If so, then rerun make check again.
>>
>>         thanks,
>>         Brice
>>
>>
>>
>>         Le 05/11/2010 07:55, ryuuta a écrit :
>>>         Here they are.
>>>         Thanks for the diagnosis.
>>>
>>>         Regards,
>>>         Ryuta
>>>
>>>         On Fri, Nov 5, 2010 at 3:46 PM, Brice Goglin
>>>         <brice.gog...@inria.fr <mailto:brice.gog...@inria.fr>> wrote:
>>>
>>>             Looks like you have some unexpected hugepage
>>>             information. Not sure it's the cause of the XML problem,
>>>             but we need to debug this too. Can you send the .tar.bz2
>>>             and .output file that hwloc-gather-topology.sh generates ?
>>>
>>>             In the meantime, I need to change this test so as to
>>>             show the difference between the XML exports when this
>>>             make check test fails.
>>>
>>>             thanks,
>>>             Brice
>>>
>>>
>>>
>>>             Le 05/11/2010 07:35, ryuuta a écrit :
>>>>             Here you go.
>>>>
>>>>             On Fri, Nov 5, 2010 at 3:07 PM, Brice Goglin
>>>>             <brice.gog...@inria.fr <mailto:brice.gog...@inria.fr>>
>>>>             wrote:
>>>>
>>>>                 Looks like there's something specific to your
>>>>                 machine. Can you send the XML output of lstopo ?
>>>>
>>>>                 thanks
>>>>                 Brice
>>>>
>>>>
>>>>
>>>>                 Le 05/11/2010 05:41, ryuuta a écrit :
>>>>>                 Hi,
>>>>>
>>>>>                 I'd like to report the failure of the one of the
>>>>>                 tests run by 'make check':
>>>>>
>>>>>                 exported to buffer 0x8546408 length 3070
>>>>>                 re-exported to buffer 0x854ce70 length 3047
>>>>>                 lt-xmlbuffer: ../../hwloc/tests/xmlbuffer.c:36:
>>>>>                 main: Assertion `size1 == size2' failed.
>>>>>                 /bin/sh: line 5: 14531 Aborted                
>>>>>                 ${dir}$tst
>>>>>                 FAIL: xmlbuffer
>>>>>                 ========================================================
>>>>>                 1 of 19 tests failed
>>>>>                 Please report to
>>>>>                 http://www.open-mpi.org/community/help/
>>>>>                 ========================================================
>>>>>
>>>>>                 I'm using gcc-4.5.1, libxml2-2.7.7, and zlib-1.2.5.
>>>>>                 The revision of hwloc checked out from svn is: 2702
>>>>>
>>>>>                 Regards,
>>>>>                 Ryuta
>>>>>
>>>>>
>>>>>                 _______________________________________________
>>>>>                 hwloc-users mailing list
>>>>>                 hwloc-us...@open-mpi.org <mailto:hwloc-us...@open-mpi.org>
>>>>>                 http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users
>>>>>                   
>>>>
>>>>
>>>
>>>
>>
>
>

Reply via email to