From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CCA15C43334 for ; Wed, 8 Jun 2022 02:41:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6J2NWKe2MJ4IuRyCODL+ip0KAraDiYAH+xjnSXxHp8U=; b=pghdZut+B+zakg L8P2KAtQqHaCeJcLsoFQUC525bRswwZqmZdgoVfSyyn33RcrWdascK/7E4jSfv/Q9/8lzlCzi9hZp PVxHiNrWlEEnas28VLIqyguEVndM8/QdPxS3tWrDmJatn1SHqI9NcxnVzFUqPl025RIUrGE7Ts054 Z+TkyHUuF2ZAkbYUB0pPENETQnBsgK2ZoBed+RF+01fRyPdCmAqGeS2VEUmkKto8Kbg9u7m9iNz1p q6Oa5TB3sXC3guGaIp5+Qr++FCQpMOeLKK15d3uWooUdTg8dkQ5agJWX9LHNAKjs5WloEoxQV7p5S sx1Tx79q7rz3TS3jEUdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nylc5-00APd0-Qa; Wed, 08 Jun 2022 02:40:05 +0000 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nylc1-00APbe-IT for linux-arm-kernel@lists.infradead.org; Wed, 08 Jun 2022 02:40:03 +0000 Received: by mail-pj1-x1032.google.com with SMTP id w2-20020a17090ac98200b001e0519fe5a8so17106023pjt.4 for ; Tue, 07 Jun 2022 19:39:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=6bOa4esw0xksLVfNdAT6B93rV/P/8VSGEKMP6EjzR0E=; b=K6KpXwM81tTGGNFDdq17Lj1eMk1q3eODHH8nocGcaU9nWe7rFntrd/gnI4dJmrX5ot jelT47mS9pdJT0S2PzSCrNgL5Sh63CeXCG+aYcN+ywbxrVtSsSCUllZRXU38BSZmlUri DAKxKJgyjtIwfLg5ysES88sOtfU39kmTixM4U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=6bOa4esw0xksLVfNdAT6B93rV/P/8VSGEKMP6EjzR0E=; b=vTQuzgfUXBBD8fxR5dFYD2Y/ytL7ITcfB52svYnj9GpDTz448XjzFFtRpjK+Hy0SX9 c42+LlNBepd4j4QnLhcFC8CNQXKkM4mbbet3X8PxUFeC8HMlHQaN61Bs21pB2/cvoQMB PJf/zJnbi7Dy137gIz0ZUBAWACBd9VaroCTHL08l8mmpQrgJh6OMefQaLXr+m0uXJ9CZ MKQBXkKt7X4Mei7ck746rpyOrDwKJhhHRYOYGt9goiFFpL82AobyX00Vb6xIwrO2tu/s RTthf7x/duqy4W2RYwNxUTcFlmKCqaENMItG9cdWaMPeZ9vfl/+ysjs/UatAEotbPb50 Ccuw== X-Gm-Message-State: AOAM531boL6gPEgW437+uqSrfVEUiNUfGHF3t1OZWMYx4dumGFcAHN35 Xd4KRg9SGBAopKMxd5YHRb3d/A== X-Google-Smtp-Source: ABdhPJyJZwIgrQupdT+vh6Z2lrRhM1s6jhssKdeRPoFc/TqToiSIDBj6GM5p6VPlbfki0O4rCxkesQ== X-Received: by 2002:a17:90b:3a8f:b0:1e8:7669:8a2f with SMTP id om15-20020a17090b3a8f00b001e876698a2fmr16728205pjb.55.1654655998366; Tue, 07 Jun 2022 19:39:58 -0700 (PDT) Received: from google.com ([2401:fa00:8f:203:463d:a192:6128:66e]) by smtp.gmail.com with ESMTPSA id 84-20020a621857000000b0050dc7628158sm13612168pfy.50.2022.06.07.19.39.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 19:39:57 -0700 (PDT) Date: Wed, 8 Jun 2022 11:39:52 +0900 From: Sergey Senozhatsky To: Minchan Kim Cc: Naresh Kamboju , open list , linux-fsdevel@vger.kernel.org, Linux ARM , "open list:KERNEL SELFTEST FRAMEWORK" , linux-block , regressions@lists.linux.dev, Jens Axboe , Sergey Senozhatsky , Nitin Gupta Subject: Re: qemu-arm: zram: mkfs.ext4 : Unable to handle kernel NULL pointer dereference at virtual address 00000140 Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220607_194001_689902_60EFBD33 X-CRM114-Status: GOOD ( 14.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On (22/06/07 16:52), Minchan Kim wrote: > > rootfs: https://oebuilds.tuxbuild.com/29zhlbEc3EWq2wod9Uy964Bp27q/images/am57xx-evm/rpb-console-image-lkft-am57xx-evm-20220601222434.rootfs.ext4.gz > > kernel: https://builds.tuxbuild.com/29zhqJJizU2Y7Ka7ArhryUOrNDC/zImage > > > > Boot command, > > /usr/bin/qemu-system-aarch64 -cpu host,aarch64=off -machine > > virt-2.10,accel=kvm -nographic -net > > nic,model=virtio,maaacaddr=BA:DD:AD:CC:09:04 -net tap -m 2048 -monitor > > none -kernel kernel/zImage --append "console=ttyAMA0 root=/dev/vda rw" > > -hda rootfs/rpb-console-image-lkft-am57xx-evm-20220601222434.rootfs.ext4 > > -m 4096 -smp 2 > > > > # cd /opt/kselftests/default-in-kernel/zram > > # ./zram.sh > > > > Allow me sometime I will try to bisect this problem. > > Thanks for sharing the info. > > I managed to work your rootfs with my local arm build > based on the problematic git tip. > However, I couldn't suceed to reproduce it. > > I needed to build zsmalloc/zram built-in instead of modules > Is it related? Hmm, > > Yeah, It would be very helpful if you could help to bisect it. This looks like a NULL lock->name dereference in lockdep. I suspect that somehow local_lock doesn't get .dep_map initialized. Maybe running the kernel with CONFIG_DEBUG_LOCK_ALLOC would help us? Naresh, can you help us with this? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel