Your message dated Fri, 24 Nov 2017 12:52:51 +0000 with message-id <1511527971.14687.82.camel@decadent.org.uk> and subject line Re: Bug#882053: Additional investigations has caused the Debian Bug report #882053, regarding linux-image-4.13.0-0.bpo.1-arm64: feature request: enable contiguous memory allocator (CMA) for arm64 (CONFIG_CMA=y) to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 882053: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882053 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-image-4.13.0-0.bpo.1-arm64: feature request: enable contiguous memory allocator (CMA) for arm64 (CONFIG_CMA=y)
- From: Matthias Luescher <lueschem@gmail.com>
- Date: Sat, 18 Nov 2017 09:06:02 +0000
- Message-id: <[🔎] 151099596228.4629.15080888291785737611.reportbug@raspberry>
Package: src:linux Version: 4.13.4-2~bpo9+1 Severity: wishlist Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? My goal is to generate a pure Debian arm64 image for the Raspberry Pi 3. * What exactly did you do (or not do) that was effective (or ineffective)? I took the latest kernel from stretch-backports and discovered that the vc4 graphics driver complains about missing CMA support. * What was the outcome of this action? The vc4 graphics driver will probably not work. * What outcome did you expect instead? It would be great if the arm64 (and probably also the armmp and armmp-lpae) kernels would work out of the box on the Raspberry Pi. *** End of the template - remove these template lines *** -- Package-specific info: ** Version: Linux version 4.13.0-0.bpo.1-arm64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #1 SMP Debian 4.13.4-2~bpo9+1 (2017-10-17) ** Command line: earlyprintk console=ttyAMA0 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa02082 bcm2709.serial=0x6b00c92d smsc95xx.macaddr=B8:27:EB:00:C9:2D bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 console=ttyS0,115200 root=/dev/mmcblk0p2 elevator=deadline fsck.repair=yes rootwait ** Not tainted ** Kernel log: [ 12.332235] bcm2835-rng 3f104000.rng: hwrng registered [ 12.549340] smsc95xx: unknown parameter 'macaddr' ignored [ 12.571543] smsc95xx v1.0.6 [ 12.651572] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, 62:45:be:82:9f:3e [ 12.671097] vc4_hdmi 3f902000.hdmi: vc4-hdmi-hifi <-> 3f902000.hdmi mapping ok [ 12.671111] vc4_hdmi 3f902000.hdmi: ASoC: no DMI vendor name! [ 12.672032] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4]) [ 12.672280] vc4-drm soc:gpu: bound 3f806000.vec (ops vc4_vec_ops [vc4]) [ 12.672397] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4]) [ 12.672700] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 12.672929] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 12.673157] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 12.673222] vc4-drm soc:gpu: Cannot do DMA to address 0x0000000000000000 [ 12.673229] swiotlb: coherent allocation failed for device soc:gpu size=16777216 [ 12.673241] CPU: 2 PID: 207 Comm: systemd-udevd Not tainted 4.13.0-0.bpo.1-arm64 #1 Debian 4.13.4-2~bpo9+1 [ 12.673244] Hardware name: Raspberry Pi 3 Model B Rev 1.2 (DT) [ 12.673249] Call trace: [ 12.673270] [<ffff00000808a590>] dump_backtrace+0x0/0x2a0 [ 12.673280] [<ffff00000808a8a4>] show_stack+0x24/0x30 [ 12.673293] [<ffff0000087db134>] dump_stack+0x98/0xbc [ 12.673306] [<ffff00000842139c>] swiotlb_alloc_coherent+0x17c/0x190 [ 12.673316] [<ffff00000809c5c0>] __dma_alloc+0x78/0x160 [ 12.673493] [<ffff000000ad610c>] drm_gem_cma_create+0xac/0x138 [drm] [ 12.673578] [<ffff000000c5c714>] vc4_bo_create+0x104/0x160 [vc4] [ 12.673664] [<ffff000000c6bbac>] vc4_allocate_bin_bo+0x9c/0x198 [vc4] [ 12.673749] [<ffff000000c6be60>] vc4_v3d_bind+0x100/0x288 [vc4] [ 12.673766] [<ffff0000085bbc20>] component_bind_all+0x140/0x2c8 [ 12.673850] [<ffff000000c5edac>] vc4_drm_bind+0x84/0x168 [vc4] [ 12.673860] [<ffff0000085bb7a8>] try_to_bring_up_master+0x290/0x2e0 [ 12.673868] [<ffff0000085bba8c>] component_master_add_with_match+0xb4/0x108 [ 12.673955] [<ffff000000c5ef60>] vc4_platform_drm_probe+0xd0/0x130 [vc4] [ 12.673967] [<ffff0000085c5b58>] platform_drv_probe+0x60/0xc8 [ 12.673975] [<ffff0000085c321c>] driver_probe_device+0x2e4/0x460 [ 12.673983] [<ffff0000085c34bc>] __driver_attach+0x124/0x128 [ 12.673990] [<ffff0000085c0928>] bus_for_each_dev+0x88/0xe8 [ 12.673997] [<ffff0000085c2908>] driver_attach+0x30/0x40 [ 12.674004] [<ffff0000085c22a0>] bus_add_driver+0x1f8/0x2b0 [ 12.674011] [<ffff0000085c4270>] driver_register+0x68/0x100 [ 12.674020] [<ffff0000085c5a7c>] __platform_driver_register+0x54/0x60 [ 12.674106] [<ffff000000c85034>] vc4_drm_register+0x34/0x58 [vc4] [ 12.674117] [<ffff00000808399c>] do_one_initcall+0x5c/0x168 [ 12.674128] [<ffff00000816ef98>] do_init_module+0x64/0x1cc [ 12.674134] [<ffff00000816ddec>] load_module+0x2074/0x2718 [ 12.674141] [<ffff00000816e7b8>] SyS_finit_module+0x128/0x140 [ 12.674149] [<ffff00000808378c>] __sys_trace_return+0x0/0x4 [ 12.674202] vc4-drm soc:gpu: failed to allocate buffer with size 16777216 [ 12.674247] vc4-drm soc:gpu: Cannot do DMA to address 0x0000000000000000 [ 12.674252] swiotlb: coherent allocation failed for device soc:gpu size=16777216 [ 12.674263] CPU: 2 PID: 207 Comm: systemd-udevd Not tainted 4.13.0-0.bpo.1-arm64 #1 Debian 4.13.4-2~bpo9+1 [ 12.674266] Hardware name: Raspberry Pi 3 Model B Rev 1.2 (DT) [ 12.674268] Call trace: [ 12.674282] [<ffff00000808a590>] dump_backtrace+0x0/0x2a0 [ 12.674292] [<ffff00000808a8a4>] show_stack+0x24/0x30 [ 12.674302] [<ffff0000087db134>] dump_stack+0x98/0xbc [ 12.674312] [<ffff00000842139c>] swiotlb_alloc_coherent+0x17c/0x190 [ 12.674321] [<ffff00000809c5c0>] __dma_alloc+0x78/0x160 [ 12.674493] [<ffff000000ad610c>] drm_gem_cma_create+0xac/0x138 [drm] [ 12.674581] [<ffff000000c5c738>] vc4_bo_create+0x128/0x160 [vc4] [ 12.674668] [<ffff000000c6bbac>] vc4_allocate_bin_bo+0x9c/0x198 [vc4] [ 12.674754] [<ffff000000c6be60>] vc4_v3d_bind+0x100/0x288 [vc4] [ 12.674765] [<ffff0000085bbc20>] component_bind_all+0x140/0x2c8 [ 12.674850] [<ffff000000c5edac>] vc4_drm_bind+0x84/0x168 [vc4] [ 12.674860] [<ffff0000085bb7a8>] try_to_bring_up_master+0x290/0x2e0 [ 12.674869] [<ffff0000085bba8c>] component_master_add_with_match+0xb4/0x108 [ 12.674953] [<ffff000000c5ef60>] vc4_platform_drm_probe+0xd0/0x130 [vc4] [ 12.674962] [<ffff0000085c5b58>] platform_drv_probe+0x60/0xc8 [ 12.674970] [<ffff0000085c321c>] driver_probe_device+0x2e4/0x460 [ 12.674978] [<ffff0000085c34bc>] __driver_attach+0x124/0x128 [ 12.674985] [<ffff0000085c0928>] bus_for_each_dev+0x88/0xe8 [ 12.674992] [<ffff0000085c2908>] driver_attach+0x30/0x40 [ 12.674998] [<ffff0000085c22a0>] bus_add_driver+0x1f8/0x2b0 [ 12.675006] [<ffff0000085c4270>] driver_register+0x68/0x100 [ 12.675014] [<ffff0000085c5a7c>] __platform_driver_register+0x54/0x60 [ 12.675101] [<ffff000000c85034>] vc4_drm_register+0x34/0x58 [vc4] [ 12.675111] [<ffff00000808399c>] do_one_initcall+0x5c/0x168 [ 12.675119] [<ffff00000816ef98>] do_init_module+0x64/0x1cc [ 12.675126] [<ffff00000816ddec>] load_module+0x2074/0x2718 [ 12.675132] [<ffff00000816e7b8>] SyS_finit_module+0x128/0x140 [ 12.675140] [<ffff00000808378c>] __sys_trace_return+0x0/0x4 [ 12.675152] vc4-drm soc:gpu: failed to allocate buffer with size 16777216 [ 12.675252] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA: [ 12.675255] [drm] num bos allocated: 0 [ 12.675258] [drm] size bos allocated: 0kb [ 12.675260] [drm] num bos used: 0 [ 12.675263] [drm] size bos used: 0kb [ 12.675265] [drm] num bos cached: 0 [ 12.675268] [drm] size bos cached: 0kb [ 12.675278] vc4_v3d 3fc00000.v3d: Failed to allocate memory for tile binning: -12. You may need to enable CMA or give it more memory. [ 12.675403] vc4-drm soc:gpu: failed to bind 3fc00000.v3d (ops vc4_v3d_ops [vc4]): -12 [ 12.690162] vc4-drm soc:gpu: master bind failed: -12 [ 12.690208] vc4-drm: probe of soc:gpu failed with error -12 [ 14.773966] usbcore: registered new interface driver smsc95xx [ 15.341493] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 15.370211] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 15.976357] EXT4-fs (mmcblk0p2): resizing filesystem from 161555 to 7758483 blocks [ 16.133029] EXT4-fs (mmcblk0p2): resized filesystem to 7758483 [ 16.886398] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 16.912849] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1 [ 21.639469] systemd[1]: apt-daily-upgrade.timer: Adding 27min 41.070693s random time. [ 21.947874] systemd[1]: apt-daily-upgrade.timer: Adding 8min 37.596650s random time. ** Model information Device Tree model: Raspberry Pi 3 Model B Rev 1.2 ** Loaded modules: nls_ascii nls_cp437 vfat fat vc4 snd_soc_core snd_pcm_dmaengine snd_pcm smsc95xx usbnet mii snd_timer snd soundcore drm_kms_helper drm pwm_bcm2835 bcm2835_rng rng_core bcm2835_wdt leds_gpio ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic fscrypto ecb sdhci_iproc sdhci_pltfm dwc2 udc_core usbcore sdhci i2c_bcm2835 bcm2835 ** PCI devices: not available ** USB devices: not available -- System Information: Debian Release: 9.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: arm64 (aarch64) Kernel: Linux 4.13.0-0.bpo.1-arm64 (SMP w/4 CPU cores) Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory ANSI_X3.4-1968), LANGUAGE=de_CH.UTF-8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages linux-image-4.13.0-0.bpo.1-arm64 depends on: ii initramfs-tools [linux-initramfs-tool] 0.130 ii kmod 23-2 ii linux-base 4.5 Versions of packages linux-image-4.13.0-0.bpo.1-arm64 recommends: pn firmware-linux-free <none> pn irqbalance <none> Versions of packages linux-image-4.13.0-0.bpo.1-arm64 suggests: pn debian-kernel-handbook <none> pn linux-doc-4.13 <none> Versions of packages linux-image-4.13.0-0.bpo.1-arm64 is related to: pn firmware-amd-graphics <none> pn firmware-atheros <none> pn firmware-bnx2 <none> pn firmware-bnx2x <none> pn firmware-brcm80211 <none> pn firmware-cavium <none> pn firmware-intel-sound <none> pn firmware-intelwimax <none> pn firmware-ipw2x00 <none> pn firmware-ivtv <none> pn firmware-iwlwifi <none> pn firmware-libertas <none> pn firmware-linux-nonfree <none> pn firmware-misc-nonfree <none> pn firmware-myricom <none> pn firmware-netxen <none> pn firmware-qlogic <none> pn firmware-realtek <none> pn firmware-samsung <none> pn firmware-siano <none> pn firmware-ti-connectivity <none> pn xen-hypervisor <none> -- debconf information excluded
--- End Message ---
--- Begin Message ---
- To: 882053-done@bugs.debian.org
- Subject: Re: Bug#882053: Additional investigations
- From: Ben Hutchings <ben@decadent.org.uk>
- Date: Fri, 24 Nov 2017 12:52:51 +0000
- Message-id: <1511527971.14687.82.camel@decadent.org.uk>
- In-reply-to: <[🔎] CAMhkXVOBxLNRcqDUkOSeD0nDeZsT5r+TDZP-h5CZPkC7ocJOMQ@mail.gmail.com>
- References: <[🔎] 151099596228.4629.15080888291785737611.reportbug@raspberry> <[🔎] CAMhkXVOBxLNRcqDUkOSeD0nDeZsT5r+TDZP-h5CZPkC7ocJOMQ@mail.gmail.com>
Version: 4.14-1~exp1 On Fri, 2017-11-24 at 09:58 +0100, Matthias Luescher wrote: > Dear maintainers > > I have just taken a look at > https://anonscm.debian.org/cgit/kernel/linux.git/: > CONFIG_CMA will be switched to yes as soon as commit > ed497f3cb706d0e0f63844b064d9ebbf6f33b052 > gets released on the respective branches. In fact that has been released to experimental, so I'm closing this with the released version. Ben. > For armhf CONFIG_CMA=y is anyway set since a longer time ago. > > Therefore it looks like no additional code change is needed. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse.Attachment: signature.asc
Description: This is a digitally signed message part
--- End Message ---