[Bug 1763454] [NEW] bpf_map_lookup_elem: BUG: unable to handle kernel paging request

2018-04-12 Thread schu
Public bug reported:

Hey,

we are currently debugging an issue with Scope [1] where the
initialization of the used tcptracer-bpf [2] leads to a kernel oops at
the first call of `bpf_map_lookup_elem`. The OS is Ubuntu Xenial with
kernel version `Ubuntu 4.4.0-119.143-generic 4.4.114`. `4.4.0-116.140`
does not show the problem.

Example:

```
[   58.763045] BUG: unable to handle kernel paging request at 3c0c41a8
[   58.846450] IP: [] bpf_map_lookup_elem+0x6/0x20
[   58.909436] PGD 80003be04067 PUD 3bea1067 PMD 0 
[   58.914876] Oops:  [#1] SMP 
[   58.915581] Modules linked in: ipt_MASQUERADE nf_nat_masquerade_ipv4 
nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype iptable_filter 
ip_tables xt_conntrack x_tables nf_nat nf_conntrack br_netfilter bridge stp llc 
overlay vboxsf isofs ppdev crct10dif_pclmul crc32_pclmul ghash_clmulni_intel 
vboxguest input_leds serio_raw parport_pc parport video ib_iser rdma_cm iw_cm 
ib_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi 
scsi_transport_iscsi autofs4 btrfs raid10 raid456 async_raid6_recov 
async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 
multipath linear mptspi aesni_intel scsi_transport_spi mptscsih aes_x86_64 
glue_helper lrw gf128mul ablk_helper cryptd mptbase psmouse e1000
[   59.678145] CPU: 1 PID: 1810 Comm: scope Not tainted 4.4.0-119-generic 
#143-Ubuntu
[   59.790501] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS 
VirtualBox 12/01/2006
[   59.846405] task: 88003ae23800 ti: 880022c84000 task.ti: 
880022c84000
[   60.000524] RIP: 0010:[]  [] 
bpf_map_lookup_elem+0x6/0x20
[   60.178029] RSP: 0018:880022c87960  EFLAGS: 00010082
[   60.257957] RAX: 8117cd70 RBX: c922f090 RCX: 
[   60.350704] RDX:  RSI: 880022c87ba8 RDI: 3c0c4180
[   60.449182] RBP: 880022c87be8 R08:  R09: 0800
[   60.547638] R10: 88003ae23800 R11: 88003ca12e10 R12: 
[   60.570757] R13: 88003c601200 R14: 88003fd10020 R15: 880022c87d10
[   60.678811] FS:  7f95ba372700() GS:88003fd0() 
knlGS:
[   60.778636] CS:  0010 DS:  ES:  CR0: 80050033
[   60.866380] CR2: 3c0c41a8 CR3: 3aeae000 CR4: 00060670
[   60.963736] DR0:  DR1:  DR2: 
[   61.069195] DR3:  DR6: fffe0ff0 DR7: 0400
[   61.187006] Stack:
[   61.189256]  880022c87be8 81177411  
0001
[   61.253133]  3c0c4180 880022c87ba8  

[   61.345334]   880022c87d10  
0001
[   61.459069] Call Trace:
[   61.505273]  [] ? __bpf_prog_run+0x7a1/0x1360
[   61.625511]  [] ? update_curr+0x79/0x170
[   61.741423]  [] ? update_cfs_shares+0xbc/0x100
[   61.837892]  [] ? __schedule+0x30d/0x7f0
[   61.941349]  [] ? __schedule+0x301/0x7f0
[   62.073874]  [] ? __schedule+0x30d/0x7f0
[   62.185260]  [] ? __schedule+0x301/0x7f0
[   62.186239]  [] ? __schedule+0x30d/0x7f0
[   62.305193]  [] ? __schedule+0x301/0x7f0
[   62.399854]  [] ? __schedule+0x30d/0x7f0
[   62.406219]  [] ? __schedule+0x301/0x7f0
[   62.407994]  [] ? __schedule+0x30d/0x7f0
[   62.410491]  [] ? __schedule+0x301/0x7f0
[   62.431220]  [] ? __schedule+0x30d/0x7f0
[   62.497078]  [] ? __schedule+0x30d/0x7f0
[   62.559245]  [] ? __schedule+0x301/0x7f0
[   62.661493]  [] ? __schedule+0x30d/0x7f0
[   62.712927]  [] ? __schedule+0x301/0x7f0
[   62.799216]  [] trace_call_bpf+0x37/0x50
[   62.881570]  [] kprobe_perf_func+0x37/0x250
[   62.977365]  [] ? finish_task_switch+0x76/0x230
[   62.981405]  [] ? 
__raw_callee_save___pv_queued_spin_unlock+0x11/0x20
[   63.092978]  [] kprobe_dispatcher+0x31/0x50
[   63.184696]  [] ? tcp_close+0x1/0x440
[   63.260350]  [] kprobe_ftrace_handler+0xb6/0x120
[   63.275694]  [] ? tcp_close+0x5/0x440
[   63.278202]  [] ftrace_ops_recurs_func+0x58/0xb0
[   63.289826]  [] 0xc00050d5
[   63.291573]  [] ? tcp_check_oom+0x150/0x150
[   63.299743]  [] ? tcp_close+0x1/0x440
[   63.301658]  [] tcp_close+0x5/0x440
[   63.340651]  [] inet_release+0x42/0x70
[   63.440655]  [] ? tcp_close+0x5/0x440
[   63.549368]  [] ? inet_release+0x42/0x70
[   63.655199]  [] inet6_release+0x30/0x40
[   63.657005]  [] sock_release+0x25/0x80
[   63.658693]  [] sock_close+0x12/0x20
[   63.660735]  [] __fput+0xe7/0x230
[   63.662210]  [] fput+0xe/0x10
[   63.664371]  [] task_work_run+0x86/0xb0
[   63.667217]  [] exit_to_usermode_loop+0xc2/0xd0
[   63.669889]  [] syscall_return_slowpath+0x4e/0x60
[   63.673627]  [] int_ret_from_sys_call+0x25/0x9f
[   63.704763] Code: 41 be 01 00 00 00 e8 fa bd ff ff 49 89 c5 eb 94 e8 f0 14 
0a 00 4c 89 eb e9 e2 fe ff ff e8 a3 60 f0 ff 0f 1f 00 0f 1f 44 00 00 55 <48> 8b 
47 28 48 89 e5 48 8b 40 18 e8 

[Bug 1763454] Re: bpf_map_lookup_elem: BUG: unable to handle kernel paging request

2018-04-13 Thread schu
`Ubuntu 4.4.0-119.143+lp1763454v201804121433-generic 4.4.114` does fix
the problem for us. Tested with Scope
e2b4b3edf63a62836ca27024003cc38aa6b9c0b5

Thanks Seth!

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

Title:
  bpf_map_lookup_elem: BUG: unable to handle kernel paging request

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1763454] Re: bpf_map_lookup_elem: BUG: unable to handle kernel paging request

2018-04-13 Thread schu
Seth, can you give an ETA for when the update with the fix will be
published?

If it's only a matter of a few days, adding a workaround might not be 
necessary..
(https://github.com/weaveworks/scope/pull/3141#discussion_r181340479)

Thanks again.

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

Title:
  bpf_map_lookup_elem: BUG: unable to handle kernel paging request

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1763454] Re: bpf_map_lookup_elem: BUG: unable to handle kernel paging request

2018-05-02 Thread schu
Ubuntu 4.4.0-123.147-generic 4.4.128 does fix it for us as well.

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

Title:
  bpf_map_lookup_elem: BUG: unable to handle kernel paging request

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 763148] Re: Adding/Removing an external monitor causes open windows to move to another workspace

2014-11-08 Thread schu
Problem still exists.

compiz 1:0.9.11.2+14.04.20140714-0ubuntu1
unity 7.2.3+14.04.20140826-0ubuntu1

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

Title:
  Adding/Removing an external monitor causes open windows to move to
  another workspace

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/763148/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs