Bug 111392

Summary: [NV117] bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]
Product: xorg Reporter: Giuseppe Lumia <gius-italy>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: fixpoint.combinator
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Dmesg - Full none

Description Giuseppe Lumia 2019-08-13 09:59:46 UTC
Created attachment 145046 [details]
Dmesg - Full

Hi, everything looks like working fine on my system but I noticed some error messages by Nouveau on dmesg. 


[    1.963196] nouveau: detected PR support, will not use DSM
[    1.964517] nouveau 0000:01:00.0: NVIDIA GM107 (1171b0a2)
[    2.009352] nouveau 0000:01:00.0: bios: version 82.07.79.00.1e
[    2.115174] nouveau 0000:01:00.0: fb: 2048 MiB GDDR5
[    2.115188] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 022554 [ IBUS ]
[    2.125653] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 10ac08 [ IBUS ]
[    2.786164] nouveau 0000:01:00.0: DRM: VRAM: 2048 MiB
[    2.786164] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[    2.786167] nouveau 0000:01:00.0: DRM: Pointer to TMDS table invalid
[    2.786167] nouveau 0000:01:00.0: DRM: DCB version 4.0
[    2.786508] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
[    2.786711] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 1
[   13.593658] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]
[   21.216350] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]
[   31.437080] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]
[ 3506.842157] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]


For read error on addresses 022544 and 10ac08 two bug reports already exists (bug 100423 and bug 104835).

More info
Notebook model: ASUS N551JW
Kernel version: 5.2.6-200.fc30.x86_64 (Fedora 30)
Comment 1 Giuseppe Lumia 2019-08-13 21:02:31 UTC
I found out something new about the bug. Looks like the read on 0x619444 is called by the function gm107_gr_init_bios_2 in https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c?h=v5.2.8#n309. 

I got nvapeek to work on my system ( I had to disable kernel_lockdown since I was getting "PCI init failure" ) and this is the output:

    ./nvapeek 0x619444
    00619444: badf1301


The curious thing is that if I analyze all the addresses preceding and following 0x619444 I get only a list of badf1301 and badf1100 (so a "small error" on the offset is to exclude).

Unfortunately I have no clue what this address 0x619444 refers to and why the function gm107_gr_init_bios_2 was added to the source code. 

I also found out the commit which added this code:
https://github.com/torvalds/linux/commit/0f78acc86bbfc60cdaffd4eb03e4a35b28397cbb
Comment 2 stf 2019-09-04 21:13:49 UTC
I am having the same problem, except that my XFCE sometimes freezes.

# cat /var/log/syslog | grep -i nouveau | cut -d' ' -f 7-
[48132.074803] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]
[    5.461491] nouveau: detected PR support, will not use DSM
[    5.463061] nouveau 0000:01:00.0: NVIDIA GM107 (117360a2)
[    5.582620] nouveau 0000:01:00.0: bios: version 82.07.b0.00.11
[    5.850055] nouveau 0000:01:00.0: fb: 4096 MiB GDDR5
[    5.850120] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 022554 [ IBUS ]
[    5.890448] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 10ac08 [ IBUS ]
[    5.949021] nouveau 0000:01:00.0: DRM: VRAM: 4096 MiB
[    5.949024] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[    5.949030] nouveau 0000:01:00.0: DRM: Pointer to TMDS table invalid
[    5.949041] nouveau 0000:01:00.0: DRM: DCB version 4.0
[    5.949901] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
[    5.949923] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 1
nouveau-pci-0100
[   27.158915] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]
[ 3017.006179] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]

^^^^ This is the last line before the hard restart.

[    4.702574] nouveau: detected PR support, will not use DSM
[    4.704259] nouveau 0000:01:00.0: NVIDIA GM107 (117360a2)
[    4.814736] nouveau 0000:01:00.0: bios: version 82.07.b0.00.11
[    5.225233] nouveau 0000:01:00.0: fb: 4096 MiB GDDR5
[    5.225298] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 022554 [ IBUS ]
[    5.269825] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 10ac08 [ IBUS ]
[    5.328777] nouveau 0000:01:00.0: DRM: VRAM: 4096 MiB
[    5.328779] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[    5.328786] nouveau 0000:01:00.0: DRM: Pointer to TMDS table invalid
[    5.328789] nouveau 0000:01:00.0: DRM: DCB version 4.0
[    5.329569] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
[    5.329589] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 1
nouveau-pci-0100
[   31.454736] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]
[ 1718.113435] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]
[ 1828.533646] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]
[ 1848.942938] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]

Linux kernel:
4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux
Comment 3 Martin Peres 2019-12-04 09:51:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/499.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.