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 07F93105D9B5 for ; Wed, 8 Apr 2026 13:59:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4AadTub10MGWkBz4tJiImSeHY4CdK+UwO4p/zkUVfFg=; b=oJR9lC5uaVc9zcaoHlBF1LvB3E zJ9qV9vbaTrkrYC5xbNg+vvSB3lY4xTZYgJ5/Kcen35rx/xMnK8SqqOvS4PdtHAxebuZQedgfTaSP AUMvYDB11R+1wMuVRunz4bHUvQf09caluRd8vO86wurkbTAReBCaNgrd4zzn7RXZOTBjDxDfBemOG bORc9lnk6QV913HOGbzt8T6gzQWrr+1fC9kagEu0fldA8FDocdoAvNh/2kOmaAPTWOE2B5HC2pmZq VTWpc+a6w9oqOY6BEvgTNrcE1j2+YXF/PYFDLUSQuHAvGxAyU4cBL7yTlJ/o4jvoUsA9rxB+uLBD6 0aKTYU0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wATRg-00000008xfF-31gI; Wed, 08 Apr 2026 13:59:52 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wATRd-00000008xeQ-2EnI for linux-arm-kernel@lists.infradead.org; Wed, 08 Apr 2026 13:59:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4AadTub10MGWkBz4tJiImSeHY4CdK+UwO4p/zkUVfFg=; b=DcouKc/nXhCJV+GEv81CeaeLg5 FfL0YnyG74Od21KSGoBwV8VlMZ05KDq1KPwErHynr3bIq3iOM4xAmGgkAP5wdmtK4F10YT1NJU9cx ag3ckjqJNHjsdKYc9hSoTJPcEbbiMp8vQU2LMmdyFlzsVGRVrrisZJB6atqv0+9kaYC6DZHgxzEQD 44aDr2Xw5aVu8MP/D6K3taeGW0GRGND24amruDAr7m6C1eLdrrAt0oeynmshW+m6HnEmf8M53Ppbw IY2+Ve3SzeFSn2DesLQMLNwh8JUx91IrkeMnKFanLXssymXhGIrljEwhS7fa3QazQxkxT3LdpSJFF 3rk8E70A==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55844) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wATRZ-000000002Qg-2i88; Wed, 08 Apr 2026 14:59:45 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.98.2) (envelope-from ) id 1wATRW-000000003Nv-0uLv; Wed, 08 Apr 2026 14:59:42 +0100 Date: Wed, 8 Apr 2026 14:59:42 +0100 From: "Russell King (Oracle)" To: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-ext4@vger.kernel.org, Linus Torvalds Cc: Marek Szyprowski , Robin Murphy , Theodore Ts'o , Andreas Dilger Subject: Re: BUG: net-next (7.0-rc6 based and later) fails to boot on Jetson Xavier NX Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260408_065949_734102_426FE1BB X-CRM114-Status: GOOD ( 29.08 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Apr 08, 2026 at 02:07:36PM +0100, Russell King (Oracle) wrote: > Hi, > > Just a heads-up that current net-next (v7.0-rc6 based) fails to boot on > my nVidia Jetson Xavier platform. v7.0-rc5 and v6.14 based net-next both > boot fine. This is an arm64 platform. > > The problem appears to be completely random in terms of its symptoms, > and looks like severe memory corruption - every boot seems to produce > a different problem. The common theme is, although the kernel gets to > userspace, it never gets anywhere close to a login prompt before > failing in some way. > > The last net-next+ boot (which is currently v7.0-rc6 based) resulted > in: > > tegra-mc 2c00000.memory-controller: xusb_hostw: secure write @0x00000003ffffff00: VPR violation ((null)) > ... > irq 91: nobody cared (try booting with the "irqpoll" option) > ... > depmod: ERROR: could not open directory /lib/modules/7.0.0-rc6-net-next+: No such file or directory > ... > Unable to handle kernel paging request at virtual address 0003201fd50320cf > > > A previous boot of the exact same kernel didn't oops, but was unable > to find the block device to mount for /mnt via block UUID. > > A previous boot to that resulted in an oops. > > > The intersting thing is - the depmod error above is incorrect: > > root@tegra-ubuntu:~# ls -ld /lib/modules/7.0.0-rc6-net-next+ > drwxrwxr-x 3 root root 4096 Apr 8 10:23 /lib/modules/7.0.0-rc6-net-next+ > > The directory is definitely there, and is readable - checked after > booting back into net-next based on 7.0-rc5. In some of these boots, > stmmac hasn't probed yet, which rules out my changes. > > Rootfs is ext4, and it seems there were a lot of ext4 commits merged > between rc5 and rc6, but nothing for rc7. > > My current net-next head is dfecb0c5af3b. Merging rc7 on top also > fails, I suspect also randomly, with that I just got: > > EXT4-fs (mmcblk0p1): VFS: Can't find ext4 filesystem > mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mmcblk0p1, missing codepage or helper program, or other error. > mount: /mnt/: can't find PARTUUID=741c0777-391a-4bce-a222-455e180ece2a. > Unable to handle kernel paging request at virtual address f9bf0011ac0fb893 > Mem abort info: > ESR = 0x0000000096000004 > EC = 0x25: DABT (current EL), IL = 32 bits > SET = 0, FnV = 0 > EA = 0, S1PTW = 0 > FSC = 0x04: level 0 translation fault > Data abort info: > ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 > CM = 0, WnR = 0, TnD = 0, TagAccess = 0 > GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 > [f9bf0011ac0fb893] address between user and kernel address ranges > Internal error: Oops: 0000000096000004 [#1] SMP > Modules linked in: > CPU: 1 UID: 0 PID: 936 Comm: mount Not tainted 7.0.0-rc7-net-next+ #649 PREEMPT > Hardware name: NVIDIA NVIDIA Jetson Xavier NX Developer Kit/Jetson, BIOS 6.0-37391689 08/28/2024 > pstate: 20400009 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) > pc : refill_objects+0x298/0x5ec > lr : refill_objects+0x1f0/0x5ec > > ... > > Call trace: > refill_objects+0x298/0x5ec (P) > __pcs_replace_empty_main+0x13c/0x3a8 > kmem_cache_alloc_noprof+0x324/0x3a0 > alloc_iova+0x3c/0x290 > alloc_iova_fast+0x168/0x2d4 > iommu_dma_alloc_iova+0x84/0x154 > iommu_dma_map_sg+0x2c4/0x538 > __dma_map_sg_attrs+0x124/0x2c0 > dma_map_sg_attrs+0x10/0x20 > sdhci_pre_dma_transfer+0xb8/0x164 > sdhci_pre_req+0x38/0x44 > mmc_blk_mq_issue_rq+0x3dc/0x920 > mmc_mq_queue_rq+0x104/0x2b0 > __blk_mq_issue_directly+0x38/0xb0 > blk_mq_request_issue_directly+0x54/0xb4 > blk_mq_issue_direct+0x84/0x180 > blk_mq_dispatch_queue_requests+0x1a8/0x2e0 > blk_mq_flush_plug_list+0x60/0x140 > __blk_flush_plug+0xe0/0x11c > blk_finish_plug+0x38/0x4c > read_pages+0x158/0x260 > page_cache_ra_unbounded+0x158/0x3e0 > force_page_cache_ra+0xb0/0xe4 > page_cache_sync_ra+0x88/0x480 > filemap_get_pages+0xd8/0x850 > filemap_read+0xdc/0x3d8 > blkdev_read_iter+0x84/0x198 > vfs_read+0x208/0x2d8 > ksys_read+0x58/0xf4 > __arm64_sys_read+0x1c/0x28 > invoke_syscall.constprop.0+0x50/0xe0 > do_el0_svc+0x40/0xc0 > el0_svc+0x48/0x2a0 > el0t_64_sync_handler+0xa0/0xe4 > el0t_64_sync+0x19c/0x1a0 > Code: 54000189 f9000022 aa0203e4 b9402ae3 (f8634840) > ---[ end trace 0000000000000000 ]--- > Kernel panic - not syncing: Oops: Fatal exception > > Looking at the changes between rc5 and rc6, there's one drivers/block > change for zram (which is used on this platform), one change in > drivers/base for regmap, nothing for drivers/mmc, but plenty for > fs/ext4. There are five DMA API changes. > > Now building straight -rc7. If that also fails, my plan is to start > bisecting rc5..rc6, which will likely take most of the rest of the > day. So, in the mean time I'm sending this as a heads-up that rc6 > and onwards has a problem. Plain -rc7 fails (another random oops): Root device found: PARTUUID=741c0777-391a-4bce-a222-455e180ece2a depmod: ERROR: could not open directory /lib/modules/7.0.0-rc7-net-next+: No such file or directory depmod: FATAL: could not search modules: No such file or directory usb 2-3: new SuperSpeed Plus Gen 2x1 USB device number 2 using tegra-xusb hub 2-3:1.0: USB hub found hub 2-3:1.0: 4 ports detected usb 1-3: new full-speed USB device number 3 using tegra-xusb Unable to handle kernel paging request at virtual address 0003201fd50320cf Mem abort info: ESR = 0x0000000096000004 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x04: level 0 translation fault Data abort info: ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [0003201fd50320cf] address between user and kernel address ranges Internal error: Oops: 0000000096000004 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 917 Comm: mount Not tainted 7.0.0-rc7-net-next+ #649 PREEMPT Hardware name: NVIDIA NVIDIA Jetson Xavier NX Developer Kit/Jetson, BIOS 6.0-37391689 08/28/2024 pstate: 20400009 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : refill_objects+0x298/0x5ec lr : refill_objects+0x1f0/0x5ec sp : ffff80008606b500 x29: ffff80008606b500 x28: 0000000000000001 x27: fffffdffc20e6200 x26: 0000000000000006 x25: 0000000000000000 x24: 000000000000003c x23: ffff0000809e4840 x22: ffff0000809dba00 x21: ffff80008606b5a0 x20: ffff000081133820 x19: fffffdffc20e6220 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000100 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: ffff800081e5faa8 x11: ffff800082192c70 x10: ffff8000814074dc x9 : 0000000000000050 x8 : ffff80008606b490 x7 : ffff000083988b40 x6 : ffff80008606b4a0 x5 : 000000080015000f x4 : d503201fd503201f x3 : 00000000000000b0 x2 : d503201fd503201f x1 : ffff000081133828 x0 : d503201fd503201f Call trace: refill_objects+0x298/0x5ec (P) __pcs_replace_empty_main+0x13c/0x3a8 kmem_cache_alloc_noprof+0x324/0x3a0 mempool_alloc_slab+0x1c/0x28 mempool_alloc_noprof+0x98/0xe0 bio_alloc_bioset+0x160/0x3e0 do_mpage_readpage+0x3d0/0x618 mpage_readahead+0xb8/0x144 blkdev_readahead+0x18/0x24 read_pages+0x58/0x260 page_cache_ra_unbounded+0x158/0x3e0 force_page_cache_ra+0xb0/0xe4 page_cache_sync_ra+0x88/0x480 filemap_get_pages+0xd8/0x850 filemap_read+0xdc/0x3d8 blkdev_read_iter+0x84/0x198 vfs_read+0x208/0x2d8 ksys_read+0x58/0xf4 __arm64_sys_read+0x1c/0x28 invoke_syscall.constprop.0+0x50/0xe0 do_el0_svc+0x40/0xc0 el0_svc+0x48/0x2a0 el0t_64_sync_handler+0xa0/0xe4 el0t_64_sync+0x19c/0x1a0 Code: 54000189 f9000022 aa0203e4 b9402ae3 (f8634840) ---[ end trace 0000000000000000 ]--- Now starting the bisect between 7.0-rc5 and 7.0-rc6. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!