<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:27:31 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-2706] blockdev_attach fails</title>
                <link>https://jira.whamcloud.com/browse/LU-2706</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;block device driver doesn&apos;t work.&lt;/p&gt;

&lt;p&gt;to reproduce:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# /usr/lib64/lustre/tests/llmount.sh
# dd if=/dev/zero of=/mnt/lustre/virtualfs bs=1024 count=30720
# lctl blockdev_attach /mnt/lustre/virtualfs /dev/virtblock
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Kernel crash dump:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
IP: [&amp;lt;ffffffffa00765b3&amp;gt;] lo_ioctl+0x43/0x120 [llite_lloop]
PGD 76704067 PUD 76703067 PMD 0 
Oops: 0000 [#1] SMP 
last sysfs file: /sys/devices/virtual/block/lloop0/removable
Lustre: 2476:0:(lloop.c:717:lloop_ioctl()) Enter llop_ioctl
CPU 1 
Modules linked in: llite_lloop(U) netconsole configfs lustre(U) obdfilter(U) ost(U) osd_ldiskfs(U) cmm(U) fsfilt_ldiskfs(U) exportfs mdt(U) mdd(U) mds(U) mgs(U) ldiskfs(U) jbd mgc(U) lov(U) osc(U) mdc(U) lmv(U) fid(U) fld(U) lquota(U) ptlrpc(U) obdclass(U) lvfs(U) ksocklnd(U) lnet(U) libcfs(U) ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables ipv6 virtio_balloon virtio_console snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc virtio_net i2c_piix4 i2c_core sg ext4 mbcache jbd2 virtio_blk sr_mod cdrom virtio_pci virtio_ring virtio pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]

Pid: 2490, comm: blkid Not tainted 2.6.32-279.14.1.el6_lustre.x86_64 #1 Bochs Bochs
RIP: 0010:[&amp;lt;ffffffffa00765b3&amp;gt;]  [&amp;lt;ffffffffa00765b3&amp;gt;] lo_ioctl+0x43/0x120 [llite_lloop]
RSP: 0018:ffff880076623d68  EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff88007c250100 RCX: 0000000000000000
RDX: 0000000000005331 RSI: 000000000000101d RDI: ffffffffa0078cc0
RBP: ffff880076623db8 R08: ffffffffa00780c0 R09: 0000000000000100
R10: 00007fff14198e00 R11: 0000000000000246 R12: ffff8800758f2a78
R13: ffff8800767e11d8 R14: 0000000000000000 R15: 0000000000005331
FS:  00007f79dfe83740(0000) GS:ffff880002300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000018 CR3: 0000000076701000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process blkid (pid: 2490, threadinfo ffff880076622000, task ffff88007b7d0040)
Stack:
 00007f79df604480 ffff8800765fd7d8 ffff8800376c44a8 00003ffffffff000
&amp;lt;d&amp;gt; ffff880076623df8 ffff8800721e7000 ffff8800758f2a78 0000000000000000
&amp;lt;d&amp;gt; 0000000000000003 0000000000000000 ffff880076623df8 ffffffff8125eb37
Call Trace:
 [&amp;lt;ffffffff8125eb37&amp;gt;] __blkdev_driver_ioctl+0x27/0x80
 [&amp;lt;ffffffff8125effd&amp;gt;] blkdev_ioctl+0x1ed/0x6e0
 [&amp;lt;ffffffff811b3e2c&amp;gt;] block_ioctl+0x3c/0x40
 [&amp;lt;ffffffff8118e4f2&amp;gt;] vfs_ioctl+0x22/0xa0
 [&amp;lt;ffffffff8118e694&amp;gt;] do_vfs_ioctl+0x84/0x580
 [&amp;lt;ffffffff8118ec11&amp;gt;] sys_ioctl+0x81/0xa0
 [&amp;lt;ffffffff8100b0f2&amp;gt;] system_call_fastpath+0x16/0x1b
Code: 4c 89 7d f8 0f 1f 44 00 00 48 8b 87 90 00 00 00 41 89 d7 48 89 fb 48 c7 c7 c0 8c 07 a0 49 89 ce 4c 8b a8 c8 02 00 00 49 8b 45 28 &amp;lt;48&amp;gt; 8b 40 18 48 8b 40 10 48 89 45 b8 e8 3c 1a 02 e1 41 81 ff aa 
RIP  [&amp;lt;ffffffffa00765b3&amp;gt;] lo_ioctl+0x43/0x120 [llite_lloop]
 RSP &amp;lt;ffff880076623d68&amp;gt;
CR2: 0000000000000018
BUG: unable to handle kernel 
---[ end trace 14d4218c937fd43c ]---
Kernel panic - not syncing: Fatal exception
Pid: 2490, comm: blkid Tainted: G      D    ---------------    2.6.32-279.14.1.el6_lustre.x86_64 #1
Call Trace:
 [&amp;lt;ffffffff814fdcba&amp;gt;] ? panic+0xa0/0x168
 [&amp;lt;ffffffff81501e54&amp;gt;] ? oops_end+0xe4/0x100
 [&amp;lt;ffffffff81043bfb&amp;gt;] ? no_context+0xfb/0x260
 [&amp;lt;ffffffff81043e85&amp;gt;] ? __bad_area_nosemaphore+0x125/0x1e0
 [&amp;lt;ffffffff81043fae&amp;gt;] ? bad_area+0x4e/0x60
 [&amp;lt;ffffffff81044760&amp;gt;] ? __do_page_fault+0x3d0/0x480
 [&amp;lt;ffffffff81115783&amp;gt;] ? filemap_fault+0xd3/0x500
 [&amp;lt;ffffffff81114537&amp;gt;] ? unlock_page+0x27/0x30
 [&amp;lt;ffffffff8113f369&amp;gt;] ? __do_fault+0x449/0x510
 [&amp;lt;ffffffff81503e0e&amp;gt;] ? do_page_fault+0x3e/0xa0
 [&amp;lt;ffffffff815011c5&amp;gt;] ? page_fault+0x25/0x30
 [&amp;lt;ffffffffa00765b3&amp;gt;] ? lo_ioctl+0x43/0x120 [llite_lloop]
 [&amp;lt;ffffffff8125eb37&amp;gt;] ? __blkdev_driver_ioctl+0x27/0x80
 [&amp;lt;ffffffff8125effd&amp;gt;] ? blkdev_ioctl+0x1ed/0x6e0
 [&amp;lt;ffffffff811b3e2c&amp;gt;] ? block_ioctl+0x3c/0x40
 [&amp;lt;ffffffff8118e4f2&amp;gt;] ? vfs_ioctl+0x22/0xa0
 [&amp;lt;ffffffff8118e694&amp;gt;] ? do_vfs_ioctl+0x84/0x580
 [&amp;lt;ffffffff8118ec11&amp;gt;] ? sys_ioctl+0x81/0xa0
 [&amp;lt;ffffffff8100b0f2&amp;gt;] ? system_call_fastpath+0x16/0x1b
NULL pointer dereference at 0000000000000018
IP: [&amp;lt;ffffffffa00765b3&amp;gt;] lo_ioctl+0x43/0x120 [llite_lloop]
PGD 78df5067 PUD 79870067 PMD 0 
Oops: 0000 [#2] SMP 
last sysfs file: /sys/devices/virtual/block/lloop13/removable
CPU 0 
Modules linked in: llite_lloop(U) netconsole configfs lustre(U) obdfilter(U) ost(U) osd_ldiskfs(U) cmm(U) fsfilt_ldiskfs(U) exportfs mdt(U) mdd(U) mds(U) mgs(U) ldiskfs(U) jbd mgc(U) lov(U) osc(U) mdc(U) lmv(U) fid(U) fld(U) lquota(U) ptlrpc(U) obdclass(U) lvfs(U) ksocklnd(U) lnet(U) libcfs(U) ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables ipv6 virtio_balloon virtio_console snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc virtio_net i2c_piix4 i2c_core sg ext4 mbcache jbd2 virtio_blk sr_mod cdrom virtio_pci virtio_ring virtio pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]

Pid: 2520, comm: blkid Tainted: G      D    ---------------    2.6.32-279.14.1.el6_lustre.x86_64 #1 Bochs Bochs
RIP: 0010:[&amp;lt;ffffffffa00765b3&amp;gt;]  [&amp;lt;ffffffffa00765b3&amp;gt;] lo_ioctl+0x43/0x120 [llite_lloop]
RSP: 0018:ffff880078e05d68  EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff880075552900 RCX: 0000000000000000
RDX: 0000000000005331 RSI: 000000000000101d RDI: ffffffffa0078cc0
RBP: ffff880078e05db8 R08: ffffffffa00780c0 R09: 0000000000000100
R10: 00007fff7ddb1080 R11: 0000000000000246 R12: ffff8800758a3438
R13: ffff8800767e8ec0 R14: 0000000000000000 R15: 0000000000005331
FS:  00007fd7cc5a4740(0000) GS:ffff880002200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000018 CR3: 000000007a61c000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process blkid (pid: 2520, threadinfo ffff880078e04000, task ffff88007a65aaa0)
Stack:
 00007fd7cbd25480 ffff88007a7912f0 ffff880036ca09e0 00003ffffffff000
&amp;lt;d&amp;gt; ffff880078e05df8 ffff88007aba5400 ffff8800758a3438 0000000000000000
&amp;lt;d&amp;gt; 0000000000000003 0000000000000000 ffff880078e05df8 ffffffff8125eb37
Call Trace:
 [&amp;lt;ffffffff8125eb37&amp;gt;] __blkdev_driver_ioctl+0x27/0x80
 [&amp;lt;ffffffff8125effd&amp;gt;] blkdev_ioctl+0x1ed/0x6e0
 [&amp;lt;ffffffff811b3e2c&amp;gt;] block_ioctl+0x3c/0x40
 [&amp;lt;ffffffff8118e4f2&amp;gt;] vfs_ioctl+0x22/0xa0
 [&amp;lt;ffffffff8118e694&amp;gt;] do_vfs_ioctl+0x84/0x580
 [&amp;lt;ffffffff8118ec11&amp;gt;] sys_ioctl+0x81/0xa0
 [&amp;lt;ffffffff8100b0f2&amp;gt;] system_call_fastpath+0x16/0x1b
Code: 4c 89 7d f8 0f 1f 44 00 00 48 8b 87 90 00 00 00 41 89 d7 48 89 fb 48 c7 c7 c0 8c 07 a0 49 89 ce 4c 8b a8 c8 02 00 00 49 8b 45 28 &amp;lt;48&amp;gt; 8b 40 18 48 8b 40 10 48 89 45 b8 e8 3c 1a 02 e1 41 81 ff aa 
RIP  [&amp;lt;ffffffffa00765b3&amp;gt;] lo_ioctl+0x43/0x120 [llite_lloop]
 RSP &amp;lt;ffff880078e05d68&amp;gt;
CR2: 0000000000000018
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;Notes, there is a test for the block device in sanity: &lt;tt&gt;68a&lt;/tt&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="17358">LU-2706</key>
            <summary>blockdev_attach fails</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</priority>
                        <status id="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="rhenwood">Richard Henwood</reporter>
                        <labels>
                    </labels>
                <created>Tue, 29 Jan 2013 18:42:27 +0000</created>
                <updated>Sun, 14 Aug 2016 17:22:03 +0000</updated>
                            <resolved>Sun, 14 Aug 2016 17:22:03 +0000</resolved>
                                    <version>Lustre 2.1.4</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="51424" author="rhenwood" created="Tue, 29 Jan 2013 18:59:25 +0000"  >&lt;p&gt;If you run &lt;tt&gt;test_68a&lt;/tt&gt; you don&apos;t get a crash, but I&apos;m not convinced it&apos;s working correctly.&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;/usr/lib64/lustre/tests/auster  sanity --only 68a&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;returns &lt;tt&gt;0&lt;/tt&gt;&lt;/p&gt;</comment>
                            <comment id="161845" author="simmonsja" created="Sun, 14 Aug 2016 17:22:03 +0000"  >&lt;p&gt;Old blocker for unsupported version&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="11156">LU-409</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="30006">LU-6585</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvgfr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6311</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>