Public bug reported:

If ->get_regs_len() callback return 0, we allocate 0 bytes of memory,
what print the following warning in kern.log :

vmalloc: allocation failure: 0 bytes
ethtool: page allocation failure: order:0, mode:0x24080c2
CPU: 21 PID: 7668 Comm: ethtool Tainted: G 4.4.0-62-generic #83-Ubuntu
Hardware name:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
0000000000000286 000000005949f325 ffff8801fddcfba8 ffffffff813f7c63
00000000024080c2 ffffffff81ccfe30 ffff8801fddcfc38 ffffffff8119498a
ffffffff81ccfe30 ffff8801fddcfbc8 0000000000000018 ffff8801fddcfc48
Call Trace:
[<ffffffff813f7c63>] dump_stack+0x63/0x90
[<ffffffff8119498a>] warn_alloc_failed+0xfa/0x150
[<ffffffff811d1082>] __vmalloc_node_range+0x202/0x290
[<ffffffff8183812e>] ? _raw_spin_unlock_bh+0x1e/0x20
[<ffffffff811d1214>] vzalloc+0x54/0x60
[<ffffffff81733c57>] ? dev_ethtool+0xfc7/0x1ef0
[<ffffffff81733c57>] dev_ethtool+0xfc7/0x1ef0
[<ffffffff81746362>] dev_ioctl+0x182/0x580
[<ffffffff8170d4a2>] sock_do_ioctl+0x42/0x50
[<ffffffff8170d9a2>] sock_ioctl+0x1d2/0x290
[<ffffffff812227af>] do_vfs_ioctl+0x29f/0x490
[<ffffffff8106b514>] ? __do_page_fault+0x1b4/0x400
[<ffffffff81222a19>] SyS_ioctl+0x79/0x90
[<ffffffff818385f2>] entry_SYSCALL_64_fastpath+0x16/0x71

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete

** Affects: linux (Ubuntu Xenial)
     Importance: Medium
     Assignee: Eric Desrochers (slashd)
         Status: New


** Tags: xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1703944

Title:
  ethtool - "vmalloc: allocation failure: 0 bytes" message

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to