From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 369C01C2E; Fri, 12 Jul 2024 02:12:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.255 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720750368; cv=none; b=CvV/T7njXnsl6JtsPiaq4AiJji/WS4RBpMCVjpgP0kVfmIWRRdwb1ZwRXWDyckGoqBiiq/3FP+hc6yqaHvRmK1VOG4CZHEcL/6ZGBLOQEbLKzmE5i7pjIoW1VH5Ff9Ocu6EePJQOuKTCQWnOaMkhnfHvIoXdSLF7AF59K81o1To= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720750368; c=relaxed/simple; bh=HtzZ6A0IiEv3xiOuZN0F5NGeHhHuIBn1Dk6ROtkXXyA=; h=Message-ID:Date:MIME-Version:Subject:From:To:References: In-Reply-To:Content-Type; b=YKHvHDDHdMbqQdItzdpXF7DiNNYLyurBcBihpecFMI1OnKhH4equ2e/hbkddEzr2No3STt1JbkjvT9U3JdxMpANP8naq1u0vKZw0NIvKIUuLdv0Ax8uHAiuOz0eNbszAK6DyGRBAVfp7BPb5Ai9vKHyLCJddNmyKDAjurTLEn74= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.255 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4WKw3f2z0Zz1T5VC; Fri, 12 Jul 2024 10:07:58 +0800 (CST) Received: from dggpeml500023.china.huawei.com (unknown [7.185.36.114]) by mail.maildlp.com (Postfix) with ESMTPS id 26457180ADF; Fri, 12 Jul 2024 10:12:43 +0800 (CST) Received: from [10.67.110.112] (10.67.110.112) by dggpeml500023.china.huawei.com (7.185.36.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 12 Jul 2024 10:12:42 +0800 Message-ID: <8036617e-62f3-17cb-f43a-80531e10e241@huawei.com> Date: Fri, 12 Jul 2024 10:12:42 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [BUG REPORT] kernel BUG at lib/dynamic_queue_limits.c:99! Content-Language: en-US From: xiujianfeng To: , Linux kernel mailing list References: <08227db9-6ed7-4909-838d-ce9a0233fba3@huawei.com> In-Reply-To: <08227db9-6ed7-4909-838d-ce9a0233fba3@huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpeml500023.china.huawei.com (7.185.36.114) On 2024/7/12 10:08, xiujianfeng wrote: > I found a problem with my QEMU environment, and the log is as follows. > > After I did the bisect to locate the issue, I found > 8490dd0592e85e0cceefa6b48d66dbdd73df0fb3 is the first bad commit, > however this is a merge commit, and I cannot further confirm which > specific commit caused this issue. It's on https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git and the base commit is f477dd6eede3 > > ------------[ cut here ]------------ > kernel BUG at lib/dynamic_queue_limits.c:99! > Oops: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI > CPU: 1 UID: 0 PID: 203 Comm: ip Not tainted > 6.10.0-rc7-next-20240711-12643-gf477dd6eede3 #613 > Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 > 04/01/2014 > RIP: 0010:dql_completed+0x212/0x230 > Code: 41 1c 01 48 89 57 58 e9 85 fe ff ff 85 ed 40 0f 95 c5 41 39 d8 0f > 95 c1 40 84 cd 74 05 45 85 e4 78 0a 44 89 d9 e9 67 fe fe > RSP: 0018:ffffc900000f0d70 EFLAGS: 00000213 > RAX: 0000000000000000 RBX: ffff88800413b800 RCX: ffff888005925240 > RDX: 0000000000000000 RSI: 0000000081df1116 RDI: ffff888003a0d700 > RBP: ffff888003a0d600 R08: 0000000000000000 R09: 0000000000000000 > R10: 0000000000000000 R11: ffff88800a403c90 R12: 0000000000000001 > R13: ffffc900000f0db0 R14: ffff888003a0d680 R15: ffff88803cc80000 > FS: 00007fcf4229f1c0(0000) GS:ffff88803cc80000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 00005596d60d1290 CR3: 00000000093c0000 CR4: 00000000000006f0 > Call Trace: > > ? die+0x32/0x90 > ? do_trap+0xdc/0x100 > ? dql_completed+0x212/0x230 > ? do_error_trap+0x60/0x80 > ? dql_completed+0x212/0x230 > ? exc_invalid_op+0x4f/0x70 > ? dql_completed+0x212/0x230 > ? asm_exc_invalid_op+0x1a/0x20 > ? dql_completed+0x212/0x230 > __free_old_xmit+0xb2/0x120 > free_old_xmit+0x23/0x70 > ? _raw_spin_trylock+0x46/0x60 > virtnet_poll+0xe0/0x590 > ? update_curr+0xf9/0x1c0 > ? find_held_lock+0x2b/0x80 > __napi_poll+0x25/0x160 > net_rx_action+0x177/0x310 > ? clockevents_program_event+0x53/0x100 > ? lock_release+0xa4/0x1d0 > ? ktime_get+0x76/0x100 > ? lapic_next_event+0x10/0x20 > handle_softirqs+0xd0/0x210 > do_softirq+0x3b/0x60 > > > __local_bh_enable_ip+0x55/0x70 > virtnet_open+0xac/0x2d0 > __dev_open+0xda/0x190 > __dev_change_flags+0x1b3/0x230 > ? __pfx_stack_trace_consume_entry+0x10/0x10 > ? arch_stack_walk+0x9d/0xf0 > dev_change_flags+0x20/0x60 > do_setlink+0x27e/0x1120 > ? set_track_prepare+0x3b/0x60 > ? rtnl_newlink+0x5a/0xa0 > ? rtnetlink_rcv_msg+0x199/0x4c0 > ? __nla_validate_parse+0x5e/0xed0 > ? netlink_sendmsg+0x1e3/0x420 > ? __sock_sendmsg+0x5e/0x60 > ? ____sys_sendmsg+0x1da/0x210 > ? ___sys_sendmsg+0x7b/0xc0 > ? __sys_sendmsg+0x50/0x90 > ? do_syscall_64+0x4b/0x110 > ? entry_SYSCALL_64_after_hwframe+0x76/0x7e > __rtnl_newlink+0x50d/0x990 > ? __kmalloc_cache_noprof+0x1a0/0x260 > ? __kmalloc_cache_noprof+0x204/0x260 > ? rtnetlink_rcv_msg+0x14e/0x4c0 > ? rtnl_newlink+0x5a/0xa0 > rtnl_newlink+0x73/0xa0 > rtnetlink_rcv_msg+0x199/0x4c0 > ? find_held_lock+0x2b/0x80 > ? __pfx_rtnetlink_rcv_msg+0x10/0x10 > netlink_rcv_skb+0x56/0x100 > ? netlink_unicast+0x69/0x3a0 > netlink_unicast+0x283/0x3a0 > netlink_sendmsg+0x1e3/0x420 > __sock_sendmsg+0x5e/0x60 > ____sys_sendmsg+0x1da/0x210 > ? copy_msghdr_from_user+0x68/0xa0 > ___sys_sendmsg+0x7b/0xc0 > ? stack_depot_save_flags+0x2e/0x8a0 > ? check_bytes_and_report.constprop.0+0x48/0x120 > ? check_object+0xb5/0x3a0 > ? find_held_lock+0x2b/0x80 > __sys_sendmsg+0x50/0x90 > do_syscall_64+0x4b/0x110 > entry_SYSCALL_64_after_hwframe+0x76/0x7e > RIP: 0033:0x7fcf423c7f03 > Code: 64 89 02 48 c7 c0 ff ff ff ff eb b7 66 2e 0f 1f 84 00 00 00 00 00 > 90 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 2e 00 00 00 08 > RSP: 002b:00007ffcbfa59528 EFLAGS: 00000246 ORIG_RAX: 000000000000002e > RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fcf423c7f03 > RDX: 0000000000000000 RSI: 00007ffcbfa59590 RDI: 0000000000000003 > RBP: 0000000066907e78 R08: 0000000000000001 R09: 00007fcf42499be0 > R10: 0000000000000076 R11: 0000000000000246 R12: 0000000000000001 > R13: 00007ffcbfa59660 R14: 0000000000000000 R15: 00005596d6088020 > > Modules linked in: > ---[ end trace 0000000000000000 ]--- > RIP: 0010:dql_completed+0x212/0x230 > Code: 41 1c 01 48 89 57 58 e9 85 fe ff ff 85 ed 40 0f 95 c5 41 39 d8 0f > 95 c1 40 84 cd 74 05 45 85 e4 78 0a 44 89 d9 e9 67 fe fe > RSP: 0018:ffffc900000f0d70 EFLAGS: 00000213 > RAX: 0000000000000000 RBX: ffff88800413b800 RCX: ffff888005925240 > RDX: 0000000000000000 RSI: 0000000081df1116 RDI: ffff888003a0d700 > RBP: ffff888003a0d600 R08: 0000000000000000 R09: 0000000000000000 > R10: 0000000000000000 R11: ffff88800a403c90 R12: 0000000000000001 > R13: ffffc900000f0db0 R14: ffff888003a0d680 R15: ffff88803cc80000 > FS: 00007fcf4229f1c0(0000) GS:ffff88803cc80000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 00005596d60d1290 CR3: 00000000093c0000 CR4: 00000000000006f0 > Kernel panic - not syncing: Fatal exception in interrupt > Kernel Offset: disabled > ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]--- >