disco verification:

ubuntu@d06-4:~$ cat /proc/version
Linux version 5.0.0-16-generic (buildd@bos02-arm64-013) (gcc version 8.3.0 
(Ubuntu/Linaro 8.3.0-6ubuntu1)) #17-Ubuntu SMP Wed May 15 10:54:19 UTC 2019
ubuntu@d06-4:~$ dmesg | grep cma
[    0.000000] cma: Reserved 16 MiB at 0x000000007f000000
[    0.000000] Memory: 180830576K/184545152K available (11836K kernel code, 
1694K rwdata, 5060K rodata, 5504K init, 1158K bss, 3698192K reserved, 16384K 
cma-reserved)
[   18.211364] cma: cma_alloc: alloc failed, req-size: 33 pages, ret: -12
[   18.217896] cma: cma_alloc: alloc failed, req-size: 33 pages, ret: -12
[   18.254209] cma: cma_alloc: alloc failed, req-size: 33 pages, ret: -12
[   18.308352] cma: cma_alloc: alloc failed, req-size: 33 pages, ret: -12
[   18.328708] cma: cma_alloc: alloc failed, req-size: 33 pages, ret: -12
[   18.350072] cma: cma_alloc: alloc failed, req-size: 33 pages, ret: -12
[   18.350081] cma: cma_alloc: alloc failed, req-size: 33 pages, ret: -12
[   18.350089] cma: cma_alloc: alloc failed, req-size: 33 pages, ret: -12
[   18.350097] cma: cma_alloc: alloc failed, req-size: 33 pages, ret: -12
[   18.350106] cma: cma_alloc: alloc failed, req-size: 33 pages, ret: -12
[   27.962013] cma_alloc: 358 callbacks suppressed
[   27.962014] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -12
[   27.968453] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -12
[   27.974915] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -12
[   27.981347] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -12
[   27.987779] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -12
[   27.994211] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -12
[   28.000647] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -12
[   28.000649] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -12
[   28.013539] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -12
[   28.019974] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -12


** Tags removed: verification-needed-disco
** Tags added: verification-done-disco

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1828092

Title:
  ratelimit cma_alloc messages

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Disco:
  Fix Committed

Bug description:
  [Impact]
  As described in bug 1823753, failures to allocate DMA out of CMA space can 
result in ~10K cma_alloc() error messages. While non-fatal (the code falls back 
to allocating memory out of non-CMA space), the error messages themselves can 
be a problem - esp. for systems w/ slow consoles like the HP m400 (9600 baud). 
It slows down boot so much that MAAS deploys fail due to timeout.

  [Test Case]
  Boot the disco kernel on an HP m400 or a HiSilicon D06 w/ the SMMU disabled 
in the BIOS.

  [Fix]
  Ratelimit the messages.

  [Regression Risk]
  Minimal - we're just attempting to quiescing log spew.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1828092/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to