<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: New 11.11 kernel bug behind do_remap_large_page2_0: freeing unaligned large page in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275581#M607447</link>
    <description>Oops... there's apparently a missing supersession in the text file - PHKL_42072 actually supersedes PHKL_36133 (which superseded PHKL_33372), according to the INDEX file and the patch family tree tool.&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;supersedes PHKL_32619.CORE2-KRN,fr=*&lt;BR /&gt;supersedes PHKL_33372.CORE2-KRN,fr=*&lt;BR /&gt;supersedes PHKL_36133.CORE2-KRN,fr=*&lt;BR /&gt;</description>
    <pubDate>Mon, 02 May 2011 12:20:15 GMT</pubDate>
    <dc:creator>mvpel</dc:creator>
    <dc:date>2011-05-02T12:20:15Z</dc:date>
    <item>
      <title>New 11.11 kernel bug behind do_remap_large_page2_0: freeing unaligned large page</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275576#M607442</link>
      <description>With the outstanding assistance of WTEC S.T., and a crash dump from last November on one of my Superdomes, a new HP-UX 11.11 kernel bug has been identified.&lt;BR /&gt;&lt;BR /&gt;Panic string: do_remap_large_page2_0: freeing unaligned large page&lt;BR /&gt;&lt;BR /&gt;do_remap_large_page2_0+0x674&lt;BR /&gt;pdremap+0x554&lt;BR /&gt;hdl_user_protect+0x540&lt;BR /&gt;vmprotectpageout+0x48&lt;BR /&gt;nfspageout+0x234&lt;BR /&gt;unmapvnode+0xf8&lt;BR /&gt;dispreg+0xl40&lt;BR /&gt;exit+0x578&lt;BR /&gt;psig+0x304&lt;BR /&gt;trap+0x6f4&lt;BR /&gt;thandler+0xd20&lt;BR /&gt;&lt;BR /&gt;The problem occurs when a large-page memory region, used for executable and shared libs, becomes dirty for some reason. In our case, it may have been a mmap() of the executable getting written to for some reason we haven't pinned down yet.&lt;BR /&gt;&lt;BR /&gt;The dirty large page then needs to be paged out (nfspageout(), above, though it can happen with non-NFS too), and the large page winds up needing two IO operations to write back to disk.&lt;BR /&gt;&lt;BR /&gt;But the data structure involved (vfspage_t) only has room for one of the two IO records, and the second one overwrites the "pgout_start" and "pgout_end" variables in the structure.&lt;BR /&gt;&lt;BR /&gt;Then, when the do_remap starts, the corrupted "pgout_start" is probably not aligned to the beginning of a superpage, and thus the system panics as a result. They were able to replicate the behavior in the patch lab fairly easily.&lt;BR /&gt;&lt;BR /&gt;As it turned out, it's the same basic problem as was fixed in 11.23 PHKL_34546 (JAGaf65980).&lt;BR /&gt;&lt;BR /&gt;The tentative date for the UNOF patch is March 10, and the PHKL is slated for April 15.&lt;BR /&gt;&lt;BR /&gt;The workaround suggested by S.T. is to insure that the executable or shared library is not writable (chmod 555), which would prevent a PROT_WRITE mmap() from succeeding and thus prevent the problematic large page from becoming dirty and requiring a page-out.</description>
      <pubDate>Wed, 02 Mar 2011 17:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275576#M607442</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2011-03-02T17:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: New 11.11 kernel bug behind do_remap_large_page2_0: freeing unaligned large page</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275577#M607443</link>
      <description>The unofficial patch has been released today, and at this point it is planned to supersede both the PHKL_40651 and PHKL_36133 trees.&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;Creation Date: 11/03/15&lt;BR /&gt;Post Date: 11/03/15&lt;BR /&gt;Hardware Platforms - OS Releases:&lt;BR /&gt;        s700: 11.11&lt;BR /&gt;        s800: 11.11&lt;BR /&gt;&lt;BR /&gt;Filesets:&lt;BR /&gt;        OS-Core.CORE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP&lt;BR /&gt;        ProgSupport.C-INC,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP&lt;BR /&gt;        OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP&lt;BR /&gt;        OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP&lt;BR /&gt;&lt;BR /&gt;Automatic Reboot?: Yes&lt;BR /&gt;Critical: Yes&lt;BR /&gt;        UNOF_shared_lgpg: PANIC&lt;BR /&gt;        PHKL_40651: ABORT&lt;BR /&gt;&lt;BR /&gt;Symptoms:&lt;BR /&gt;        UNOF_shared_lgpg:&lt;BR /&gt;        ( QX:QXCR1001107143 )&lt;BR /&gt;        System panics with the following stack trace and panic string.&lt;BR /&gt;        panic+0x6c&lt;BR /&gt;        do_remap_large_page2_0+0x5e8&lt;BR /&gt;        pdremap+0x24c&lt;BR /&gt;        hdl_user_protect+0x494&lt;BR /&gt;        vm_protect_pageout+0x48&lt;BR /&gt;        vx_do_pageout+0x218&lt;BR /&gt;        vx_pageout+0xf8&lt;BR /&gt;        flush_vnode+0x68&lt;BR /&gt;        vx_flush_vnode+0x3c&lt;BR /&gt;        vx_unmap+0x168&lt;BR /&gt;        unmapvnode+0x88&lt;BR /&gt;        do_munmap+0x368&lt;BR /&gt;        foreach_pregion+0xf4&lt;BR /&gt;        munmap+0x74&lt;BR /&gt;        syscall+0x738&lt;BR /&gt;        syscallinit+0x55c&lt;BR /&gt;&lt;BR /&gt;Defect Description:&lt;BR /&gt;        UNOF_shared_lgpg:&lt;BR /&gt;        ( QX:QXCR1001107143 )&lt;BR /&gt;        unable to handle large pages in page out path&lt;BR /&gt;&lt;BR /&gt;        Resolution:&lt;BR /&gt;        Corrected page out path to handle large pages.&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;The planned release date for the PHKL is still April 15, as far as I know.</description>
      <pubDate>Tue, 15 Mar 2011 12:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275577#M607443</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2011-03-15T12:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: New 11.11 kernel bug behind do_remap_large_page2_0: freeing unaligned large page</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275578#M607444</link>
      <description>The release date has been bumped to April 30.</description>
      <pubDate>Wed, 13 Apr 2011 13:40:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275578#M607444</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2011-04-13T13:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: New 11.11 kernel bug behind do_remap_large_page2_0: freeing unaligned large page</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275579#M607445</link>
      <description>The new patch was released on April 28:&lt;BR /&gt;&lt;BR /&gt;Patch Name:&lt;BR /&gt;PHKL_42072&lt;BR /&gt;&lt;BR /&gt;Patch Description:&lt;BR /&gt;s700_800 11.11 Cumulative VM, Psets, Preemption, PRM, MRG&lt;BR /&gt;&lt;BR /&gt;Creation Date: 11/04/21&lt;BR /&gt;&lt;BR /&gt;Post Date: 11/04/28&lt;BR /&gt;&lt;BR /&gt;Hardware Platforms - OS Releases:&lt;BR /&gt;        s700: 11.11&lt;BR /&gt;        s800: 11.11&lt;BR /&gt;&lt;BR /&gt;Symptoms:&lt;BR /&gt;PHKL_42072:&lt;BR /&gt;( QX:QXCR1001107143 )&lt;BR /&gt;For the files mmaped as MAP_SHLIB, large pages are not correctly being handled in page out path. Because of this system may panic.&lt;BR /&gt;The stack trace for the panic may look as follows:&lt;BR /&gt;        0) panic+0x6c&lt;BR /&gt;        1)  do_remap_large_page2_0+0x5e8&lt;BR /&gt;        2)  pdremap+0x24c&lt;BR /&gt;        3)  hdl_user_protect+0x494&lt;BR /&gt;        4)  vm_protect_pageout+0x48&lt;BR /&gt;        5)  vx_do_pageout+0x1d8&lt;BR /&gt;        6)  vx_pageout+0xf8&lt;BR /&gt;        7)  flush_vnode+0x68&lt;BR /&gt;        8)  vx_flush_vnode+0x3c&lt;BR /&gt;        9)  vx_unmap+0x168&lt;BR /&gt;        10)  unmapvnode+0x88&lt;BR /&gt;        11)  do_munmap+0x128&lt;BR /&gt;        12)  foreach_pregion+0xf4&lt;BR /&gt;        13)  munmap+0x74&lt;BR /&gt;        14)  syscall+0x204&lt;BR /&gt;        15)  syscallinit+0x55c&lt;BR /&gt;&lt;BR /&gt;Defect Description:&lt;BR /&gt;PHKL_42072:&lt;BR /&gt;( QX:QXCR1001107143 )&lt;BR /&gt;For files mmaped as "MAP_SHLIB", certain assumptions about large pages in page out code lead to panic.&lt;BR /&gt;&lt;BR /&gt;Resolution:&lt;BR /&gt;The large pages for "MAP_SHLIB" are correctly handled in page out code to prevent this panic.&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;Enjoy!</description>
      <pubDate>Mon, 02 May 2011 11:58:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275579#M607445</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2011-05-02T11:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: New 11.11 kernel bug behind do_remap_large_page2_0: freeing unaligned large page</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275580#M607446</link>
      <description>Looks like the extra two weeks delay in the release of this patch was to eliminate the supersession of PHKL_40651 - it now only supersedes PHKL_33372 from June 2, 2005.</description>
      <pubDate>Mon, 02 May 2011 12:04:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275580#M607446</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2011-05-02T12:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: New 11.11 kernel bug behind do_remap_large_page2_0: freeing unaligned large page</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275581#M607447</link>
      <description>Oops... there's apparently a missing supersession in the text file - PHKL_42072 actually supersedes PHKL_36133 (which superseded PHKL_33372), according to the INDEX file and the patch family tree tool.&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;supersedes PHKL_32619.CORE2-KRN,fr=*&lt;BR /&gt;supersedes PHKL_33372.CORE2-KRN,fr=*&lt;BR /&gt;supersedes PHKL_36133.CORE2-KRN,fr=*&lt;BR /&gt;</description>
      <pubDate>Mon, 02 May 2011 12:20:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275581#M607447</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2011-05-02T12:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: New 11.11 kernel bug behind do_remap_large_page2_0: freeing unaligned large page</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275582#M607448</link>
      <description>PHKL_42072</description>
      <pubDate>Tue, 31 May 2011 13:46:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-11-11-kernel-bug-behind-do-remap-large-page2-0-freeing/m-p/5275582#M607448</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2011-05-31T13:46:22Z</dc:date>
    </item>
  </channel>
</rss>

