[Nouveau] [bug report] null ptr deref in nouveau_platform_probe (tegra186-p2771-0000)
Anthony Eden
aeden at csail.mit.edu
Thu Dec 14 21:09:14 UTC 2017
With linux-next-2017-12-14, I get a crash when nouveau is loaded by
systemd-udevd.
[ 12.050625] Unable to handle kernel NULL pointer dereference at virtual
address 00000058
[ 12.050627] Mem abort info:
[ 12.050628] ESR = 0x96000004
[ 12.050630] Exception class = DABT (current EL), IL = 32 bits
[ 12.050631] SET = 0, FnV = 0
[ 12.050632] EA = 0, S1PTW = 0
[ 12.050633] Data abort info:
[ 12.050634] ISV = 0, ISS = 0x00000004
[ 12.050635] CM = 0, WnR = 0
[ 12.050637] user pgtable: 4k pages, 48-bit VAs, pgd = 00000000af2ac1b1
[ 12.050639] [0000000000000058] *pgd=0000000000000000
[ 12.050643] Internal error: Oops: 96000004 [#1] SMP
[ 12.050644] Modules linked in: dwmac_dwc_qos_eth(+) stmmac_platform
stmmac ptp nouveau(+) tegra_drm(+) i2c_algo_bit ttm gpio_keys
drm_kms_helper drm drm_panel_orientation_quirks(P) syscopy
area sysfillrect sysimgblt fb_sys_fops pps_core host1x
[ 12.050665] CPU: 0 PID: 261 Comm: systemd-udevd Tainted: P S
4.15.0-rc3-next-20171214-ARCH-AEDEN+ #3
[ 12.050666] Hardware name: NVIDIA Tegra186 P2771-0000 Development Board
(DT)
[ 12.050668] pstate: 80000005 (Nzcv daif -PAN -UAO)
[ 12.050675] pc : mutex_lock+0x28/0x58
[ 12.050676] lr : mutex_lock+0x1c/0x58
[ 12.050677] sp : ffff00000a33b970
[ 12.050679] x29: ffff00000a33b970 x28: ffff000009527a20
[ 12.050682] x27: ffff8001c5089c00 x26: ffffffffffffffff
[ 12.050684] x25: 0000000000000001 x24: 0000000000000001
[ 12.050686] x23: 0000000000000000 x22: 0000000000000000
[ 12.050689] x21: ffff8001c8c5af80 x20: 0000000000000058
[ 12.050691] x19: 0000000000000058 x18: 0000000000000230
[ 12.050693] x17: fffffffffffffff0 x16: ffff7e00071fb300
[ 12.050695] x15: 0000000000000000 x14: ffffffffffffffff
[ 12.050697] x13: 0000000000000038 x12: 0000000000000018
[ 12.050700] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[ 12.050702] x9 : 0000000000000000 x8 : ffff8001c8c5b000
[ 12.050704] x7 : 0000000000000000 x6 : 000000000000003f
[ 12.050706] x5 : 0000000000000040 x4 : 0000000000000000
[ 12.050708] x3 : 0000000000000004 x2 : 0000000000000000
[ 12.050710] x1 : ffff8001c915b800 x0 : 0000000000000000
[ 12.050713] Process systemd-udevd (pid: 261, stack limit =
0x00000000247b2b64)
[ 12.050714] Call trace:
[ 12.050717] mutex_lock+0x28/0x58
[ 12.050721] iommu_attach_device+0xac/0xf8
[ 12.050948] nvkm_device_tegra_new+0x260/0x510 [nouveau]
[ 12.051166] nouveau_platform_device_create+0x48/0xa8 [nouveau]
[ 12.051364] nouveau_platform_probe+0x34/0x80 [nouveau]
[ 12.051368] platform_drv_probe+0x60/0xc0
[ 12.051372] driver_probe_device+0x33c/0x4a0
[ 12.051375] __driver_attach+0xdc/0x128
[ 12.051377] bus_for_each_dev+0x5c/0xa8
[ 12.051379] driver_attach+0x30/0x40
[ 12.051381] bus_add_driver+0x218/0x2b8
[ 12.051384] driver_register+0x6c/0x118
[ 12.051385] __platform_driver_register+0x54/0x60
[ 12.051578] nouveau_drm_init+0x164/0x1000 [nouveau]
[ 12.051584] do_one_initcall+0x44/0x138
[ 12.051588] do_init_module+0x64/0x1dc
[ 12.051590] load_module+0x12f4/0x14b8
[ 12.051592] SyS_finit_module+0xd8/0xf0
[ 12.051594] el0_svc_naked+0x20/0x24
[ 12.051597] Code: 97fffa1e d2800000 d5384101 f9800271 (c85ffe62)
[ 12.051600] ---[ end trace 7e15532ee457d321 ]---
[ 12.346156] iommu: Adding device 15220000.display to group 1
[ 12.360735] tegra-dpaux 15040000.dpaux: 15040000.dpaux supply vdd not
found, using dummy regulator
[ 12.372895] tegra-dpaux 155c0000.dpaux: 155c0000.dpaux supply vdd not
found, using dummy regulator
[ 12.384763] tegra-sor 15580000.sor: failed to probe output: -517
[ 12.391830] tegra-sor 15580000.sor: failed to probe output: -517
Here's the trace with files and line numbers (via addr2line -pfi):
__cmpxchg_case_acq_8 at arch/arm64/include/asm/atomic_ll_sc.h:284
(inlined by) __cmpxchg_acq at arch/arm64/include/asm/cmpxchg.h:140
(inlined by) __mutex_trylock_fast at kernel/locking/mutex.c:143
(inlined by) mutex_lock at kernel/locking/mutex.c:240
iommu_group_device_count at drivers/iommu/iommu.c:673
(inlined by) iommu_attach_device at drivers/iommu/iommu.c:1312
clk_prepare_enable at include/linux/clk.h:646
(inlined by) nvkm_device_tegra_power_up at
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c:37
(inlined by) nvkm_device_tegra_new at
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c:319
nouveau_platform_device_create at drivers/gpu/drm/nouveau/nouveau_drm.c:1193
nouveau_platform_probe at drivers/gpu/drm/nouveau/nouveau_platform.c:44
platform_drv_probe at drivers/base/platform.c:577
really_probe at drivers/base/dd.c:423
(inlined by) driver_probe_device at drivers/base/dd.c:565
__driver_attach at drivers/base/dd.c:799
bus_for_each_dev at drivers/base/bus.c:311
driver_attach at drivers/base/dd.c:819
bus_add_driver at drivers/base/bus.c:668
driver_register at drivers/base/driver.c:166
__platform_driver_register at drivers/base/platform.c:636
nouveau_drm_init at drivers/gpu/drm/nouveau/nouveau_drm.c:1212
do_one_initcall at init/main.c:833
do_init_module at kernel/module.c:3451
load_module at kernel/module.c:3775
SYSC_finit_module at kernel/module.c:3874
(inlined by) SyS_finit_module at kernel/module.c:3850
el0_svc_naked at arch/arm64/kernel/entry.S:937
Serial output is attached which includes rest of dmesg.
Thanks,
-Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20171214/6d038d9b/attachment-0001.html>
-------------- next part --------------
[0001.143] I> 4) Base:0xf7b00000 Size:0x00100000
[0001.147] I> 5) Base:0xf7a00000 Size:0x00100000
[0001.152] I> 6) Base:0xf7600000 Size:0x00200000
[0001.156] I> 7) Base:0xf7000000 Size:0x00400000
[0001.160] I> 8) Base:0xf7900000 Size:0x00100000
[0001.165] I> 9) Base:0xf7800000 Size:0x00100000
[0001.169] I> 10) Base:0xf6800000 Size:0x00800000
[0001.174] I> 11) Base:0x30000000 Size:0x00040000
[0001.178] I> 12) Base:0xf7500000 Size:0x00100000
[0001.183] I> 13) Base:0x30040000 Size:0x00001000
[0001.187] I> 14) Base:0x30048000 Size:0x00001000
[0001.191] I> 15) Base:0x30049000 Size:0x00001000
[0001.196] I> 16) Base:0x3004a000 Size:0x00001000
[0001.200] I> 17) Base:0x3004b000 Size:0x00001000
[0001.205] I> 18) Base:0x3004c000 Size:0x00001000
[0001.209] I> 19) Base:0x3004d000 Size:0x00001000
[0001.214] I> 20) Base:0x3004e000 Size:0x00001000
[0001.218] I> 21) Base:0x3004f000 Size:0x00001000
[0001.222] I> 22) Base:0x00000000 Size:0x00000000
[0001.227] I> 23) Base:0xf7ff0000 Size:0x00010000
[0001.231] I> 24) Base:0x00000000 Size:0x00000000
[0001.236] I> 25) Base:0x00000000 Size:0x00000000
[0001.240] I> 26) Base:0x00000000 Size:0x00000000
[0001.245] I> 27) Base:0x00000000 Size:0x00000000
[0001.249] I> 28) Base:0x84400000 Size:0x00400000
[0001.253] I> 29) Base:0x30000000 Size:0x00010000
[0001.258] I> 30) Base:0xf8000000 Size:0x08000000
[0001.262] I> 31) Base:0x00000000 Size:0x00000000
[0001.267] I> 32) Base:0xf6000000 Size:0x00600000
[0001.271] I> 33) Base:0x80000000 Size:0x76000000
[0001.276] I> 34) Base:0x100000000 Size:0x180000000
[0001.280] I> 35) Base:0x00000000 Size:0x00000000
[0001.285] I> 36) Base:0x00000000 Size:0x00000000
[0001.289] I> 37) Base:0xf7fc0000 Size:0x00020000
[0001.293] I> 38) Base:0x84000000 Size:0x00400000
[0001.298] I> 39) Base:0x96000000 Size:0x02000000
[0001.302] I> 40) Base:0x84800000 Size:0x00b00000
[0001.307] I> 41) Base:0xf7f00000 Size:0x00080000
[0001.311] I> 42) Base:0x00000000 Size:0x00000000
[0001.316] I> 43) Base:0x00000000 Size:0x00000000
[0001.320] platform_init_interrupts-121, 1*
[0001.324] Interrupts Init done
[0001.327] calling constructors
[0001.331] initializing heap
[0001.333] initializing threads
[0001.336] initializing timers
[0001.339] creating bootstrap completion thread
[0001.344] top of bootstrap2()
[0001.347] CPU: ARM Cortex A57
[0001.350] CPU: MIDR: 0x411FD073, MPIDR: 0x80000100
[0001.355] initializing platform
[0001.358] I> Boot-device: eMMC
[0001.362] I> odm data is 1090000
[0001.365] I> Reading GPT from 512 for device 00000003
[0001.371] I> Reading GPT from 8388096 for device 00000003
[0001.377] I> Found 6 partitions in 00000003 device
[0001.382] I> Reading GPT from 512 for device 00010003
[0001.388] I> Found 17 partitions in 00010003 device
[0001.393] W> No valid slot number is found in scratch register
[0001.398] W> Return default slot: _a
[0001.402] I> A/B: bin_type (1) slot 0
[0001.405] I> Select partition: kernel-dtb
[0001.409] I> Loading partition kernel-dtb at 0x92000000
[0001.418] I> Kernel_dtb @0x92000000
[0001.421] I> Bl_dtb @0x85300000
[0001.424] I> gpio framework initialized
[0001.428] I> tegrabl_gpio_driver_register: register 'tegra_gpio_main_driver' driver
[0001.435] I> tegrabl_gpio_driver_register: register 'tegra_gpio_aon_driver' driver
[0001.443] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xee
[0001.451] I> tegrabl_gpio_driver_register: register 'tca9539_gpio_driver' driver
[0001.458] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xe8
[0001.466] I> tegrabl_gpio_driver_register: register 'tca9539_gpio_driver' driver
[0001.474] E> tegrabl_blob_init: BMP partition does not have valid Blob
[0001.481] E> tegrabl_load_bmp_blob: BMP blob initialization failed
[0001.487] W> Loading bmp blob to memory failed
[0001.495] I> Find /i2c at c250000's alias i2c7
[0001.499] I> Reading eeprom i2c=7 address=0x50
[0001.528] I> Device at /i2c at c250000:0x50
[0001.532] I> Reading eeprom i2c=7 address=0x57
[0001.561] I> Device at /i2c at c250000:0x57
[0001.566] I> Find /i2c at c240000's alias i2c1
[0001.570] I> Reading eeprom i2c=1 address=0x51
[0001.575] I> Eeprom read failed 0x1a800027
[0001.580] I> Find /i2c at 3160000's alias i2c0
[0001.584] I> Reading eeprom i2c=0 address=0x50
[0001.589] I> Eeprom read failed 0x1a800027
[0001.594] I> Find /i2c at 3180000's alias i2c2
[0001.598] I> Reading eeprom i2c=2 address=0x54
[0001.602] I> Enabling gpio chip_id = 2, gpio pin = 9
[0001.633] I> Disabling gpio chip_id = 2, gpio pin = 9
[0001.638] I> Device at /i2c at 3180000:0x54
[0001.642] I> create_pm_ids: id: 3310-1000-B00-E, len: 15
[0001.647] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0001.658] I> create_pm_ids: id: 2597-0000-500-C, len: 15
[0001.663] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0001.674] I> create_pm_ids: id: 3326-1000-100-M, len: 15
[0001.679] I> config: mem-type:ff,power-config:ff,misc-config:ff,modem-config:ff,touch-config:ff,display-config:ff,, len: 93
[0001.690] initializing target
[0001.693] calling apps_init()
[0001.696] starting app android_boot_app
[0001.700] I> Gpio keyboard init success
[0001.704] I> Kernel type = Normal
[0001.707] I> Loading kernel/boot.img ...
[0001.711] W> No valid slot number is found in scratch register
[0001.716] W> Return default slot: _a
[0001.720] I> A/B: bin_type (0) slot 0
[0001.723] I> Select partition: kernel
[0001.727] I> Loading partition kernel at 0xa8000000
[0001.808] W> No valid slot number is found in scratch register
[0001.813] W> Return default slot: _a
[0001.817] I> A/B: bin_type (1) slot 0
[0001.820] I> Select partition: kernel-dtb
[0001.824] I> Loading partition kernel-dtb at 0x92000000
[0001.833] I> Kernel DTB @ 0x92000000
[0001.836] I> Verified boot state = Orange
[0001.840] E> tegrabl_display_clear: display is not initialized
[0001.846] I> Checking boot.img header magic ... [0001.850] I> [OK]
[0001.852] I> Valid boot.img @ 0xa8000000
[0001.856] I> decompressor handler not found
[0001.860] I> Copying kernel image (451792 bytes) from 0xa8000800 to 0x80080000 ... [0001.867] I> Done
[0001.869] I> Move ramdisk (len: 6252235) from 0xa806f000 to 0x98000000
[0001.878] I> Updated bpmp info to DTB
[0001.884] I> Ramdisk: Base: 0x98000000; Size: 0x5f66cb
[0001.889] I> Updated initrd info to DTB
[0001.892] I> disabled_core_mask: 0xffffff0c
[0001.896] I> Kernel type = Normal
[0001.900] I> add_serialno: Serial Num = 0320717048574
[0001.904] W> No valid slot number is found in scratch register
[0001.910] W> Return default slot: _a
[0001.914] I> Linux Cmdline: root=/dev/mmcblk1p1 rw rootwait fbcon=map:0 net.ifnames=0 console=tty0 OS=l4t console=ttyS0,115200n8 memtype=0 video=tegrafb no_console_suspend=1 earlycon=uart825
0,mmio32,0x03100000 nvdumper_reserved=0xf7fc0000 gpt androidboot.secureos=none tegraid=18.1.2.0.0 tegra_keep_boot_clocks maxcpus=6 android.kerneltype=normal androidboot.serialno=0320717048574
androidboot.security=non-secure sdhci_tegra.en_boot_part_access=1
[0001.953] I> Updated bootarg info to DTB
[0001.958] I> eeprom_get_mac_addr: MAC (type: 0): 00:04:4b:8c:3b:b6
[0001.964] I> eeprom_get_mac_addr: MAC (type: 1): 00:04:4b:8c:3b:b7
[0001.970] I> eeprom_get_mac_addr: MAC (type: 2): 00:04:4b:8c:3b:b8
[0001.976] E> "ids" doesn't exist, creating
[0001.980] E> "connection" doesn't exist, creating
[0001.985] E> "configs" doesn't exist, creating
[0001.989] I> create_pm_ids: id: 3310-1000-B00-E, len: 15
[0001.994] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0002.005] I> create_pm_ids: id: 2597-0000-500-C, len: 15
[0002.010] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0002.021] I> create_pm_ids: id: 3326-1000-100-M, len: 15
[0002.026] I> config: mem-type:ff,power-config:ff,misc-config:ff,modem-config:ff,touch-config:ff,display-config:ff,, len: 93
[0002.037] I> Adding plugin-manager/ids/3310-1000-B00=/i2c at c250000:module at 0x50
[0002.044] E> "i2c at c250000" doesn't exist, creating
[0002.049] E> "module at 0x50" doesn't exist, creating
[0002.054] I> Adding plugin-manager/ids/2597-0000-500=/i2c at c250000:module at 0x57
[0002.061] E> "module at 0x57" doesn't exist, creating
[0002.066] I> Adding plugin-manager/ids/3326-1000-100=/i2c at 3180000:module at 0x54
[0002.073] E> "i2c at 3180000" doesn't exist, creating
[0002.077] E> "module at 0x54" doesn't exist, creating
[0002.084] I> Adding plugin-manager/ids/3310-1000-B00-E
[0002.091] I> Adding plugin-manager/configs/3310-mem-type 00
[0002.097] I> Adding plugin-manager/configs/3310-power-config 00
[0002.102] I> Adding plugin-manager/configs/3310-misc-config 00
[0002.108] I> Adding plugin-manager/configs/3310-modem-config 00
[0002.114] I> Adding plugin-manager/configs/3310-touch-config 00
[0002.120] I> Adding plugin-manager/configs/3310-display-config 00
[0002.126] E> "chip-id" doesn't exist, creating
[0002.130] I> Adding plugin-manager/chip-id/A02P
[0002.137] I> Updated memory info to DTB
[0002.142] E> "reset" doesn't exist, creating
[0002.146] E> "pmc-reset-reason" doesn't exist, creating
[0002.152] E> "pmic-reset-reason" doesn't exist, creating
[0002.157] I> disabled_core_mask: 0xffffff0c
[0002.167] I> tegrabl_load_kernel_and_dtb: Done
U-Boot 2017.05 (May 09 2017 - 20:03:11 -0400)
TEGRA186
Model: NVIDIA P2771-0000-500
DRAM: 7.8 GiB
MMC: Tegra SD/MMC: 0, Tegra SD/MMC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: eth0: ethernet at 2490000
Hit any key to stop autoboot: 0
MMC: no card present
mmc_init: -123, time 0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
838 bytes read in 88 ms (8.8 KiB/s)
p2771-0000 eMMC boot options
1: primary kernel
2: secondary kernel
3: next kernel
Enter choice: 3
3: next kernel
Retrieving file: /boot/next/initramfs-linux.img
206787469 bytes read in 166111 ms (1.2 MiB/s)
Retrieving file: /boot/next/Image
22598144 bytes read in 18256 ms (1.2 MiB/s)
append: console=ttyS0,115200n8 root=UUID=7388bb07-be26-4f1d-a11c-48675d650192 rw rootfstype=ext4 rootwait
Retrieving file: /boot/next/tegra186-p2771-0000.dtb
23524 bytes read in 91 ms (252 KiB/s)
## Flattened Device Tree blob at 82000000
Booting using the fdt blob at 0x82000000
Using Device Tree in place at 0000000082000000, end 0000000082008be3
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000100 [0x411fd073]
[ 0.000000] Linux version 4.15.0-rc3-next-20171214-ARCH-AEDEN+ (root at rhino) (gcc version 7.2.0 (GCC)) #3 SMP Thu Dec 14 14:49:29 EST 2017
[ 0.000000] Machine model: NVIDIA Tegra186 P2771-0000 Development Board
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 64 MiB at 0x00000000f2000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] random: fast init done
[ 0.000000] percpu: Embedded 24 pages/cpu @ (ptrval) s60712 r8192 d29400 u98304
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2024064
[ 0.000000] Kernel command line: console=ttyS0,115200n8 root=UUID=7388bb07-be26-4f1d-a11c-48675d650192 rw rootfstype=ext4 rootwait
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.000000] software IO TLB [mem 0xedfff000-0xf1fff000] (64MB) mapped at [ (ptrval)- (ptrval)]
[ 0.000000] Memory: 7724200K/8224768K available (12604K kernel code, 2356K rwdata, 5572K rodata, 1472K init, 882K bss, 435032K reserved, 65536K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 GB)
[ 0.000000] .text : 0x (ptrval) - 0x (ptrval) ( 12608 KB)
[ 0.000000] .rodata : 0x (ptrval) - 0x (ptrval) ( 5632 KB)
[ 0.000000] .init : 0x (ptrval) - 0x (ptrval) ( 1472 KB)
[ 0.000000] .data : 0x (ptrval) - 0x (ptrval) ( 2357 KB)
[ 0.000000] .bss : 0x (ptrval) - 0x (ptrval) ( 883 KB)
[ 0.000000] fixed : 0xffff7dfffe7fb000 - 0xffff7dfffec00000 ( 4116 KB)
[ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)
[ 0.000000] 0xffff7e0000000000 - 0xffff7e0008000000 ( 128 MB actual)
[ 0.000000] memory : 0xffff800000000000 - 0xffff800200000000 ( 8192 MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[ 0.000000] ftrace: allocating 45524 entries in 178 pages
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arch_timer: cp15 timer(s) running at 31.25MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xe6a171046, max_idle_ns: 881590405314 ns
[ 0.000003] sched_clock: 56 bits at 31MHz, resolution 32ns, wraps every 4398046511088ns
[ 0.000087] Console: colour dummy device 80x25
[ 0.000103] Calibrating delay loop (skipped), value calculated using timer frequency.. 62.50 BogoMIPS (lpj=312500)
[ 0.000111] pid_max: default: 32768 minimum: 301
[ 0.000223] Security Framework initialized
[ 0.000229] Yama: becoming mindful.
[ 0.000303] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.000334] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.000997] ASID allocator initialised with 32768 entries
[ 0.001043] Hierarchical SRCU implementation.
[ 0.002451] Tegra Revision: A02 SKU: 220 CPU Process: 0 SoC Process: 0
[ 0.002610] EFI services will not be available.
[ 0.002814] smp: Bringing up secondary CPUs ...
[ 0.003693] Detected PIPT I-cache on CPU1
[ 0.003709] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64DFR0_EL1. Boot CPU: 0x00000010305106, CPU1: 0x00000010305116
[ 0.003723] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_DFR0_EL1. Boot CPU: 0x00000003010066, CPU1: 0x00000003001066
[ 0.003735] CPU features: Unsupported CPU feature variation detected.
[ 0.003781] CPU1: Booted secondary processor 0x0000000000 [0x4e0f0030]
[ 0.004422] Detected PIPT I-cache on CPU2
[ 0.004436] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64DFR0_EL1. Boot CPU: 0x00000010305106, CPU2: 0x00000010305116
[ 0.004449] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_DFR0_EL1. Boot CPU: 0x00000003010066, CPU2: 0x00000003001066
[ 0.004489] CPU2: Booted secondary processor 0x0000000001 [0x4e0f0030]
[ 0.004963] Detected PIPT I-cache on CPU3
[ 0.004993] CPU3: Booted secondary processor 0x0000000101 [0x411fd073]
[ 0.005356] Detected PIPT I-cache on CPU4
[ 0.005376] CPU4: Booted secondary processor 0x0000000102 [0x411fd073]
[ 0.005737] Detected PIPT I-cache on CPU5
[ 0.005756] CPU5: Booted secondary processor 0x0000000103 [0x411fd073]
[ 0.005802] smp: Brought up 1 node, 6 CPUs
[ 0.005827] SMP: Total of 6 processors activated.
[ 0.005831] CPU features: detected feature: 32-bit EL0 Support
[ 0.007361] CPU: All CPU(s) started at EL2
[ 0.009110] devtmpfs: initialized
[ 0.011693] Built 1 zonelists, mobility grouping on. Total pages: 1947434
[ 0.012963] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.012975] futex hash table entries: 2048 (order: 6, 262144 bytes)
[ 0.013218] pinctrl core: initialized pinctrl subsystem
[ 0.013631] DMI not present or invalid.
[ 0.013841] NET: Registered protocol family 16
[ 0.014581] cpuidle: using governor ladder
[ 0.014645] cpuidle: using governor menu
[ 0.014951] vdso: 2 pages (1 code @ 00000000d0f02166, 1 data @ 00000000b83b57a7)
[ 0.014958] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.015667] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.015869] Serial: AMBA PL011 UART driver
[ 0.021604] tegra-bpmp bpmp: firmware: c11dd04ae487c849cc552f8f702ed8
[ 0.956489] random: crng init done
[ 1.173598] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 1.173801] cryptd: max_cpu_qlen set to 1000
[ 1.174239] ACPI: Interpreter disabled.
[ 1.174984] vgaarb: loaded
[ 1.176248] SCSI subsystem initialized
[ 1.176751] usbcore: registered new interface driver usbfs
[ 1.176806] usbcore: registered new interface driver hub
[ 1.176924] usbcore: registered new device driver usb
[ 1.177637] EDAC MC: Ver: 3.0.0
[ 1.178571] Advanced Linux Sound Architecture Driver Initialized.
[ 1.179087] NetLabel: Initializing
[ 1.179099] NetLabel: domain hash size = 128
[ 1.179108] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 1.179182] NetLabel: unlabeled traffic allowed by default
[ 1.179622] clocksource: Switched to clocksource arch_sys_counter
[ 1.253788] VFS: Disk quotas dquot_6.6.0
[ 1.253877] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.254241] pnp: PnP ACPI: disabled
[ 1.265316] NET: Registered protocol family 2
[ 1.266008] tcp_listen_portaddr_hash hash table entries: 4096 (order: 5, 163840 bytes)
[ 1.266225] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[ 1.266940] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes)
[ 1.269224] TCP: Hash tables configured (established 65536 bind 65536)
[ 1.269469] UDP hash table entries: 4096 (order: 6, 393216 bytes)
[ 1.269935] UDP-Lite hash table entries: 4096 (order: 6, 393216 bytes)
[ 1.270488] NET: Registered protocol family 1
[ 1.271093] RPC: Registered named UNIX socket transport module.
[ 1.271106] RPC: Registered udp transport module.
[ 1.271115] RPC: Registered tcp transport module.
[ 1.271123] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.271286] Unpacking initramfs...
[ 8.322008] Freeing initrd memory: 201940K
[ 8.322558] kvm [1]: 8-bit VMID
[ 8.322564] kvm [1]: IDMAP page: 80cc5000
[ 8.322569] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[ 8.323429] kvm [1]: virtual timer IRQ4
[ 8.323584] kvm [1]: Hyp mode initialized successfully
[ 8.374075] Initialise system trusted keyrings
[ 8.374202] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 8.376793] zbud: loaded
[ 8.378295] NFS: Registering the id_resolver key type
[ 8.378306] Key type id_resolver registered
[ 8.378310] Key type id_legacy registered
[ 8.378319] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 8.378415] SGI XFS with ACLs, security attributes, no debug enabled
[ 8.922391] NET: Registered protocol family 38
[ 8.922402] Key type asymmetric registered
[ 8.922407] Asymmetric key parser 'x509' registered
[ 8.922464] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 8.922554] io scheduler noop registered
[ 8.922559] io scheduler deadline registered
[ 8.922661] io scheduler cfq registered (default)
[ 8.922666] io scheduler mq-deadline registered
[ 8.922669] io scheduler kyber registered
[ 8.922748] io scheduler bfq registered
[ 8.926709] tegra-pcie 10003000.pcie: 4x1, 1x1 configuration
[ 8.926736] tegra-pcie 10003000.pcie: Failed to get supply 'dvdd-pex': -517
[ 8.927206] ipmi message handler version 39.2
[ 8.930002] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 8.931212] console [ttyS0] disabled
[ 8.931241] 3100000.serial: ttyS0 at MMIO 0x3100000 (irq = 22, base_baud = 25500000) is a Tegra
[ 9.801591] console [ttyS0] enabled
[ 9.805436] msm_serial: driver initialized
[ 9.810616] arm-smmu 12000000.iommu: probing hardware configuration...
[ 9.817131] arm-smmu 12000000.iommu: SMMUv2 with:
[ 9.821835] arm-smmu 12000000.iommu: stage 1 translation
[ 9.827220] arm-smmu 12000000.iommu: stage 2 translation
[ 9.832610] arm-smmu 12000000.iommu: nested translation
[ 9.837911] arm-smmu 12000000.iommu: stream matching with 128 register groups
[ 9.845124] arm-smmu 12000000.iommu: 64 context banks (0 stage-2 only)
[ 9.851728] arm-smmu 12000000.iommu: Supported page sizes: 0x61311000
[ 9.858239] arm-smmu 12000000.iommu: Stage-1: 48-bit VA -> 48-bit IPA
[ 9.864756] arm-smmu 12000000.iommu: Stage-2: 48-bit IPA -> 48-bit PA
[ 9.871679] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 9.879128] libphy: Fixed MDIO Bus: probed
[ 9.883912] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 9.890437] ehci-pci: EHCI PCI platform driver
[ 9.894884] ehci-platform: EHCI generic platform driver
[ 9.900168] ehci-orion: EHCI orion driver
[ 9.904214] tegra-ehci: Tegra EHCI driver
[ 9.908292] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 9.914470] ohci-pci: OHCI PCI platform driver
[ 9.918917] ohci-platform: OHCI generic platform driver
[ 9.924191] uhci_hcd: USB Universal Host Controller Interface driver
[ 9.930813] usbcore: registered new interface driver uas
[ 9.936129] usbcore: registered new interface driver usb-storage
[ 9.942139] usbcore: registered new interface driver ums-alauda
[ 9.948053] usbcore: registered new interface driver ums-cypress
[ 9.954066] usbcore: registered new interface driver ums-datafab
[ 9.960073] usbcore: registered new interface driver ums_eneub6250
[ 9.966249] usbcore: registered new interface driver ums-freecom
[ 9.972259] usbcore: registered new interface driver ums-isd200
[ 9.978174] usbcore: registered new interface driver ums-jumpshot
[ 9.984268] usbcore: registered new interface driver ums-karma
[ 9.990104] usbcore: registered new interface driver ums-onetouch
[ 9.996198] usbcore: registered new interface driver ums-realtek
[ 10.002207] usbcore: registered new interface driver ums-sddr09
[ 10.008123] usbcore: registered new interface driver ums-sddr55
[ 10.014048] usbcore: registered new interface driver ums-usbat
[ 10.019905] usbcore: registered new interface driver usbserial_generic
[ 10.026426] usbserial: USB Serial support registered for generic
[ 10.033050] mousedev: PS/2 mouse device common for all mice
[ 10.040536] max77620 0-003c: PMIC Version OTP:0x45 and ES:0x8
[ 10.050688] max77620-sd0: supplied by regulator-dummy
[ 10.055883] VDD_DDR_1V1_PMIC: Bringing 1125000uV into 1100000-1100000uV
[ 10.064339] max77620-sd1: supplied by regulator-dummy
[ 10.070608] max77620-sd2: supplied by regulator-dummy
[ 10.076881] max77620-sd3: supplied by regulator-dummy
[ 10.083348] max77620-ldo0: supplied by regulator-dummy
[ 10.089318] max77620-ldo1: supplied by regulator-dummy
[ 10.095126] max77620-ldo2: supplied by regulator-dummy
[ 10.101388] max77620-ldo3: supplied by regulator-dummy
[ 10.107019] max77620-ldo4: supplied by regulator-dummy
[ 10.112796] max77620-ldo5: supplied by regulator-dummy
[ 10.118155] max77620-ldo6: supplied by regulator-dummy
[ 10.123945] max77620-ldo7: supplied by regulator-dummy
[ 10.129087] VDD_HDMI_1V05: Bringing 1000000uV into 1050000-1050000uV
[ 10.136689] max77620-ldo8: supplied by regulator-dummy
[ 10.141839] VDD_PEX_1V05: Bringing 1000000uV into 1050000-1050000uV
[ 10.152126] max77620-thermal max77620-thermal: Failed to register thermal zone: -19
[ 10.160821] device-mapper: uevent: version 1.0.3
[ 10.165592] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel at redhat.com
[ 10.175541] sdhci: Secure Digital Host Controller Interface driver
[ 10.181717] sdhci: Copyright(c) Pierre Ossman
[ 10.186254] Synopsys Designware Multimedia Card Interface Driver
[ 10.192583] sdhci-pltfm: SDHCI platform and OF driver helper
[ 10.198348] sdhci-tegra 3400000.sdhci: Got CD GPIO
[ 10.203138] sdhci-tegra 3400000.sdhci: Got WP GPIO
[ 10.223693] mmc0: Unknown controller version (4). You may experience problems.
[ 10.262301] mmc0: SDHCI controller on 3440000.sdhci [3440000.sdhci] using ADMA
[ 10.278546] ledtrig-cpu: registered to indicate activity on CPUs
[ 10.285004] hidraw: raw HID events driver (C) Jiri Kosina
[ 10.290721] usbcore: registered new interface driver usbhid
[ 10.296472] usbhid: USB HID core driver
[ 10.302498] drop_monitor: Initializing network drop monitor service
[ 10.309039] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.314353] Initializing XFRM netlink socket
[ 10.318871] NET: Registered protocol family 10
[ 10.329153] Segment Routing with IPv6
[ 10.332852] mip6: Mobile IPv6
[ 10.335826] NET: Registered protocol family 17
[ 10.340706] Key type dns_resolver registered
[ 10.345250] registered taskstats version 1
[ 10.349333] Loading compiled-in X.509 certificates
[ 10.354291] zswap: loaded using pool lzo/zbud
[ 10.359109] Key type big_key registered
[ 10.366155] Key type encrypted registered
[ 10.376825] VDD_1V8_AP: supplied by VDD_1V8
[ 10.381320] SD_CARD_SW_PWR: supplied by VDD_3V3_SYS
[ 10.386849] tegra-pcie 10003000.pcie: 4x1, 1x1 configuration
[ 10.393188] tegra-pcie 10003000.pcie: probing port 0, using 4 lanes
[ 10.401453] tegra-pcie 10003000.pcie: Slot present pin change, signature: 00000018
[ 10.802447] tegra-pcie 10003000.pcie: link 0 down, retrying
[ 11.210810] tegra-pcie 10003000.pcie: link 0 down, retrying
[ 11.619166] tegra-pcie 10003000.pcie: link 0 down, retrying
[ 11.626736] tegra-pcie 10003000.pcie: link 0 down, ignoring
[ 11.632351] tegra-pcie 10003000.pcie: PCI host bridge to bus 0000:00
[ 11.638690] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 11.644859] pci_bus 0000:00: root bus resource [mem 0x50100000-0x57ffffff]
[ 11.651721] pci_bus 0000:00: root bus resource [mem 0x58000000-0x7fffffff pref]
[ 11.659013] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 11.664816] sdhci-tegra 3400000.sdhci: Got CD GPIO
[ 11.669601] sdhci-tegra 3400000.sdhci: Got WP GPIO
[ 11.682655] mmc1: Unknown controller version (4). You may experience problems.
[ 11.721306] mmc1: SDHCI controller on 3400000.sdhci [3400000.sdhci] using ADMA
[ 11.737369] mmc2: Unknown controller version (4). You may experience problems.
[ 11.744970] mmc2: Switching to 3.3V signalling voltage failed
[ 11.776226] mmc2: SDHCI controller on 3460000.sdhci [3460000.sdhci] using ADMA
[ 11.783900] hctosys: unable to open rtc device (rtc0)
[ 11.804505] VDD_RTC: disabling
[ 11.807555] VDDIO_SDMMC3_AP: disabling
[ 11.811499] SD_CARD_SW_PWR: disabling
[ 11.815167] ALSA device list:
[ 11.818127] No soundcards found.
[ 11.823539] Freeing unused kernel memory: 1472K
:: running early hook [udev]
starting version 235
:: running hook [udev]
:: Triggering uevents...
[ 11.897570] mmc2: new high speed MMC card at address 0001
[ 11.903350] mmcblk2: mmc2:0001 032G34 29.1 GiB
[ 11.908138] mmcblk2boot0: mmc2:0001 032G34 partition 1 4.00 MiB
[ 11.914330] mmcblk2boot1: mmc2:0001 032G34 partition 2 4.00 MiB
[ 11.920383] mmcblk2rpmb: mmc2:0001 032G34 partition 3 4.00 MiB, chardev (239:0)
[ 11.929660] mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17
[ 11.994469] pps_core: LinuxPPS API ver. 1 registered
[ 11.994656] iommu: Adding device 13e00000.host1x to group 0
[ 11.998997] drm_panel_orientation_quirks: module license 'unspecified' taints kernel.
[ 11.998998] Disabling lock debugging due to kernel taint
[ 12.011503] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 12.024915] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti at linux.it>
[ 12.029947] iommu: Adding device 15200000.display to group 1
[ 12.041919] iommu: Adding device 15210000.display to group 1
[ 12.044776] PTP clock support registered
[ 12.050625] Unable to handle kernel NULL pointer dereference at virtual address 00000058
[ 12.050627] Mem abort info:
[ 12.050628] ESR = 0x96000004
[ 12.050630] Exception class = DABT (current EL), IL = 32 bits
[ 12.050631] SET = 0, FnV = 0
[ 12.050632] EA = 0, S1PTW = 0
[ 12.050633] Data abort info:
[ 12.050634] ISV = 0, ISS = 0x00000004
[ 12.050635] CM = 0, WnR = 0
[ 12.050637] user pgtable: 4k pages, 48-bit VAs, pgd = 00000000af2ac1b1
[ 12.050639] [0000000000000058] *pgd=0000000000000000
[ 12.050643] Internal error: Oops: 96000004 [#1] SMP
[ 12.050644] Modules linked in: dwmac_dwc_qos_eth(+) stmmac_platform stmmac ptp nouveau(+) tegra_drm(+) i2c_algo_bit ttm gpio_keys drm_kms_helper drm drm_panel_orientation_quirks(P) syscopy
area sysfillrect sysimgblt fb_sys_fops pps_core host1x
[ 12.050665] CPU: 0 PID: 261 Comm: systemd-udevd Tainted: P S 4.15.0-rc3-next-20171214-ARCH-AEDEN+ #3
[ 12.050666] Hardware name: NVIDIA Tegra186 P2771-0000 Development Board (DT)
[ 12.050668] pstate: 80000005 (Nzcv daif -PAN -UAO)
[ 12.050675] pc : mutex_lock+0x28/0x58
[ 12.050676] lr : mutex_lock+0x1c/0x58
[ 12.050677] sp : ffff00000a33b970
[ 12.050679] x29: ffff00000a33b970 x28: ffff000009527a20
[ 12.050682] x27: ffff8001c5089c00 x26: ffffffffffffffff
[ 12.050684] x25: 0000000000000001 x24: 0000000000000001
[ 12.050686] x23: 0000000000000000 x22: 0000000000000000
[ 12.050689] x21: ffff8001c8c5af80 x20: 0000000000000058
[ 12.050691] x19: 0000000000000058 x18: 0000000000000230
[ 12.050693] x17: fffffffffffffff0 x16: ffff7e00071fb300
[ 12.050695] x15: 0000000000000000 x14: ffffffffffffffff
[ 12.050697] x13: 0000000000000038 x12: 0000000000000018
[ 12.050700] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[ 12.050702] x9 : 0000000000000000 x8 : ffff8001c8c5b000
[ 12.050704] x7 : 0000000000000000 x6 : 000000000000003f
[ 12.050706] x5 : 0000000000000040 x4 : 0000000000000000
[ 12.050708] x3 : 0000000000000004 x2 : 0000000000000000
[ 12.050710] x1 : ffff8001c915b800 x0 : 0000000000000000
[ 12.050713] Process systemd-udevd (pid: 261, stack limit = 0x00000000247b2b64)
[ 12.050714] Call trace:
[ 12.050717] mutex_lock+0x28/0x58
[ 12.050721] iommu_attach_device+0xac/0xf8
[ 12.050948] nvkm_device_tegra_new+0x260/0x510 [nouveau]
[ 12.051166] nouveau_platform_device_create+0x48/0xa8 [nouveau]
[ 12.051364] nouveau_platform_probe+0x34/0x80 [nouveau]
[ 12.051368] platform_drv_probe+0x60/0xc0
[ 12.051372] driver_probe_device+0x33c/0x4a0
[ 12.051375] __driver_attach+0xdc/0x128
[ 12.051377] bus_for_each_dev+0x5c/0xa8
[ 12.051379] driver_attach+0x30/0x40
[ 12.051381] bus_add_driver+0x218/0x2b8
[ 12.051384] driver_register+0x6c/0x118
[ 12.051385] __platform_driver_register+0x54/0x60
[ 12.051578] nouveau_drm_init+0x164/0x1000 [nouveau]
[ 12.051584] do_one_initcall+0x44/0x138
[ 12.051588] do_init_module+0x64/0x1dc
[ 12.051590] load_module+0x12f4/0x14b8
[ 12.051592] SyS_finit_module+0xd8/0xf0
[ 12.051594] el0_svc_naked+0x20/0x24
[ 12.051597] Code: 97fffa1e d2800000 d5384101 f9800271 (c85ffe62)
[ 12.051600] ---[ end trace 7e15532ee457d321 ]---
[ 12.346156] iommu: Adding device 15220000.display to group 1
[ 12.360735] tegra-dpaux 15040000.dpaux: 15040000.dpaux supply vdd not found, using dummy regulator
[ 12.372895] tegra-dpaux 155c0000.dpaux: 155c0000.dpaux supply vdd not found, using dummy regulator
[ 12.384763] tegra-sor 15580000.sor: failed to probe output: -517
[ 12.391830] tegra-sor 15580000.sor: failed to probe output: -517
More information about the Nouveau
mailing list