<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14412</bug_id>
          
          <creation_ts>2021-05-29 22:28:00 +0000</creation_ts>
          <short_desc>ltp test hangs when mounting loopback</short_desc>
          <delta_ts>2021-06-28 09:41:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT AB-INT-TMPFS</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.4 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>90532</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-05-29 22:28:00 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/95/builds/1948/steps/12/logs/stdio

Not apparent at all in the logs and probably the cause of some issues reported in bug 13802.

When mounting on of the loopback devices, the kernel oopses:

[ 2131.423042] BUG: kernel NULL pointer dereference, address: 0000000000000008
[ 2131.444555]  ? show_vfsmnt+0x1b1/0x200
[ 2131.444943]  m_show+0x1a/0x20
[ 2131.445274]  seq_read_iter+0x2c8/0x490
[ 2131.445689]  new_sync_read+0x10d/0x190
[ 2131.446078]  vfs_read+0x128/0x180
[ 2131.446445]  ksys_read+0x67/0xe0
[ 2131.446798]  __x64_sys_read+0x19/0x20
[ 2131.447199]  do_syscall_64+0x38/0x50
[ 2131.447596]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[ 2131.473108] BUG: kernel NULL pointer dereference, address: 0000000000000008
[ 2131.493140] Call Trace:
[ 2131.493401]  show_mountinfo+0x8b/0x330
[ 2131.493799]  m_show+0x1a/0x20
[ 2131.494108]  seq_read_iter+0x2c8/0x490
[ 2131.494494]  new_sync_read+0x10d/0x190
[ 2131.494880]  vfs_read+0x128/0x180
[ 2131.495228]  ksys_read+0x67/0xe0
[ 2131.495562]  __x64_sys_read+0x19/0x20
[ 2131.495941]  do_syscall_64+0x38/0x50
[ 2131.496312]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

See https://lists.yoctoproject.org/g/swat/topic/further_ltp_hang_kernel/83025674</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90560</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-06-03 14:39:24 +0000</bug_when>
    <thetext>Alex is going to add more info but it seems like a kernel bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90569</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2021-06-03 14:58:45 +0000</bug_when>
    <thetext>I&apos;m unfortunately not going to be looking into this any time soon, so putting me in as the assignee, will mean it sits just as long.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90595</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-06-10 13:19:25 +0000</bug_when>
    <thetext>From RP:

http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/t222&amp;id=d7d65aae104caa03afc28837b0abe0b486d5a8b8

IMAGE_INSTALL_append = &apos; ltp&apos;
TEST_SUITES = &apos;ping ssh ltp&apos;
then bitbake core-image-sato; bitbake core-image-sato -c testimage 

Look for BUG: in log in core-image-sato WORKDIR/testimage/qemu*</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90772</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-06-28 09:41:33 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=529bb922c786f1acd041ff9a8d2b675d067e2ae3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>