Package: src:linux
Version: 3.16.7-ckt11-1+deb8u3
Severity: critical
Tags: patch
Justification: breaks the whole system

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

     When uppgrading DomU to Debain Jessie so dose not bridging work anymore in 
DomU.
     Plus the workaournd is also broken eg. to load the xen_netback with 
parameters.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

     Trying to load the xen_netback with options did not work.
     options xen_netback max_queues=4 


     An patch to fix paramater options in netback.c is located here: 
     
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4c82ac3c37363e8c4ded6a5fe1ec5fa756b34df3


     An workaround for now is to reduce the max_queues in dom0.
     echo 4 > /sys/module/xen_netback/parameters/max_queues


     An patch to fix bridging issue in xen-netfront.c is located here:
     
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=32a844056fd43dda647e1c3c6b9983bdfa04d17d


     Discussions about this Xen bridging issue can be found here:
     
http://lists.xenproject.org/archives/html/xen-users/2015-09/threads.html#00041



   * What was the outcome of this action?
   * What outcome did you expect instead?
   


*** End of the template - remove these template lines ***



-- Package-specific info:
** Version:
Linux version 3.16.0-4-amd64 (debian-ker...@lists.debian.org) (gcc version 
4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04)

** Command line:
placeholder root=UUID=15433b5e-4196-4223-b923-2d2c383eb63c ro

** Not tainted

** Kernel log:

[    1.588313] systemd-udevd[255]: starting version 215
[    1.606097] xen_netfront: Initialising Xen virtual ethernet driver
[    1.648172] blkfront: xvda2: flush diskcache: enabled; persistent grants: 
enabled; indirect descriptors: disabled;
[    1.649190] blkfront: xvda1: flush diskcache: enabled; persistent grants: 
enabled; indirect descriptors: disabled;
[    1.649705] Setting capacity to 2097152
[    1.649716] xvda2: detected capacity change from 0 to 1073741824
[    1.653540] xen_netfront: can't alloc rx grant refs
[    1.653547] net eth1: only created 17 queues
[    1.654027] BUG: unable to handle kernel NULL pointer dereference at 
0000000000000018
[    1.654033] IP: [<ffffffffa0063cc4>] netback_changed+0x964/0xee0 
[xen_netfront]
[    1.654041] PGD 0
[    1.654044] Oops: 0000 [#1] SMP
[    1.654048] Modules linked in: xen_netfront(+) xen_blkfront(+) 
crct10dif_pclmul crct10dif_common crc32c_intel
[    1.654057] CPU: 3 PID: 209 Comm: xenwatch Not tainted 3.16.0-4-amd64 #1 
Debian 3.16.7-ckt11-1+deb8u3
[    1.654061] task: ffff880faf477370 ti: ffff880faf478000 task.ti: 
ffff880faf478000
[    1.654064] RIP: e030:[<ffffffffa0063cc4>] [<ffffffffa0063cc4>] 
netback_changed+0x964/0xee0 [xen_netfront]
[    1.654071] RSP: e02b:ffff880faf47be20  EFLAGS: 00010202
[    1.654074] RAX: 0000000000000000 RBX: ffff880002a729c0 RCX: 0000000000000001
[    1.654077] RDX: 000000000066785c RSI: ffff880002a72a58 RDI: 0000000000003f1f
[    1.654080] RBP: ffff880faa44e000 R08: ffffc90006240000 R09: ffffea0036d3f180
[    1.654083] R10: 000000000000251e R11: 0000000000000000 R12: ffff880faa44f000
[    1.654086] R13: ffff880002a72a58 R14: 00000000000729c0 R15: ffff880fab6f4000
[    1.654093] FS:  0000000000000000(0000) GS:ffff880fb7060000(0000) 
knlGS:0000000000000000
[    1.654096] CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
[    1.654099] CR2: 0000000000000018 CR3: 0000000001813000 CR4: 0000000000042660
[    1.654102] Stack:
[    1.654104]  ffff880faf5aec00 ffff880f0000000f 0000001100000001 
ffff880faf5aec00
[    1.654109]  ffff880002a6b041 ffff880002a6af84 00000001af561000 
0000001100000001
[    1.656945]  ffff8800028e9df1 ffff8800028e8880 ffff880faf47beb8 
ffffffff8135b9e0
[    1.656945] Call Trace:
[    1.656945]  [<ffffffff8135b9e0>] ? unregister_xenbus_watch+0x220/0x220
[    1.656945]  [<ffffffff8135ba78>] ? xenwatch_thread+0x98/0x140
[    1.656945]  [<ffffffff810a7a40>] ? prepare_to_wait_event+0xf0/0xf0
[    1.656945]  [<ffffffff81087f7d>] ? kthread+0xbd/0xe0
[    1.656945]  [<ffffffff81087ec0>] ? kthread_create_on_node+0x180/0x180
[    1.656945]  [<ffffffff815114d8>] ? ret_from_fork+0x58/0x90
[    1.656945]  [<ffffffff81087ec0>] ? kthread_create_on_node+0x180/0x180
[    1.656945] Code: 48 89 c6 e9 bd fd ff ff 48 8b 3c 24 48 c7 c2 b3 52 06 a0 
be f4 ff ff ff 31 c0 e8 38 61 2f e1 e9 54 ff ff ff 48 8b 43 20 4c 89 ee <48> 8b 
78 18 e8 13 63 2f e1 85 c0 0f 88 b0 fd ff ff 48 8b 43 20
[    1.656945] RIP  [<ffffffffa0063cc4>] netback_changed+0x964/0xee0 
[xen_netfront]
[    1.656945]  RSP <ffff880faf47be20>
[    1.656945] CR2: 0000000000000018
[    1.656945] ---[ end trace d92264e4041d27a1 ]--- 
@@ -2132,8 +2132,11 @@ static int __init netif_init(void)
 
        pr_info("Initialising Xen virtual ethernet driver\n");
 
-       /* Allow as many queues as there are CPUs, by default */
-       xennet_max_queues = num_online_cpus();
+       /* Allow as many queues as there are CPUs if user has not
+        * specified a value.
+        */
+       if (xennet_max_queues == 0)
+               xennet_max_queues = num_online_cpus();
 
        return xenbus_register_frontend(&netfront_driver);
 }

Reply via email to