Bug#1051139: fix doas for sxmo

2024-03-19 Thread Philip J Freeman
I'm working on a fix for this bug here:

https://salsa.debian.org/DebianOnMobile-team/sxmo-utils/-/merge_requests/2

I'm not sure I like installing Sxmo's doas.conf as /etc/doas.conf.
Looking into alternatives, but it seems that Debian's doas doesn't
support a doas.d/ directory, as pointed out by Jochen Sprickerhof.

This patch (as submitted in the MR on salsa) is currently working for me
on my pinephonepro.



Bug#985812: libax25: long serial device symlinks break kissattach (in libax25)

2021-03-24 Thread Philip J Freeman
Package: libax25
Version: 0.0.12-rc5+git20190411+b17ff36-3.1
Severity: important
Tags: patch

Dear Maintainer,

I ran into a problem with kissattach, but the buffer overflow was
actually happening in libax25:

(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x76e69230 in __GI_abort () at abort.c:79
#2  0x76eb951c in __libc_message (action=, fmt=)
 at ../sysdeps/posix/libc_fatal.c:181
#3  0x76f3b6fc in __GI___fortify_fail_abort 
(need_backtrace=need_backtrace@entry=true,
 msg=0x76f824d8 "buffer overflow detected") at fortify_fail.c:28
#4  0x76f3b748 in __GI___fortify_fail (msg=) at fortify_fail.c:44
#5  0x76f395c8 in __GI___chk_fail () at chk_fail.c:28
#6  0x76f38a60 in _IO_str_chk_overflow (fp=, c=) 
at vsprintf_chk.c:31
#7  0x76ebdd04 in __GI__IO_default_xsputn (n=, data=, f=)
 at libioP.h:839
#8  __GI__IO_default_xsputn (f=0x7efff400, data=, n=55) at 
genops.c:370
#9  0x76e93800 in _IO_vfprintf_internal (s=s@entry=0x7efff400, 
format=format@entry=0x76fa7180
+"%s/LCK..%s",
 ap=..., ap@entry=...) at ../libio/libioP.h:839
#10 0x76f38b00 in ___vsprintf_chk (s=s@entry=0x7efff500
+"/var/lock/LCK..usb-Coastal_ChipWorks_TNC-X_by_W2F",
 flags=flags@entry=1, slen=slen@entry=50, format=0x76fa7180 "%s/LCK..%s",
 format@entry=0xf571100 , 
args=..., args@entry=...)
 at vsprintf_chk.c:83
#11 0x76f38a2c in ___sprintf_chk (s=s@entry=0x7efff500
+"/var/lock/LCK..usb-Coastal_ChipWorks_TNC-X_by_W2F",
 flags=flags@entry=1, slen=slen@entry=50, format=0x76fa7180 "%s/LCK..%s") at 
sprintf_chk.c:31
#12 0x76fa672c in sprintf (__fmt=0x76fa7180 "%s/LCK..%s",
 __s=0x7efff500 "/var/lock/LCK..usb-Coastal_ChipWorks_TNC-X_by_W2F")
 at /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36
#13 tty_is_locked (
 tty=tty@entry=0x7efff882 
"/dev/serial/by-id/usb-Coastal_ChipWorks_TNC-X_by_W2FS_FT3PPKKT-if00-port0")
 at ttyutils.c:112
#14 0x000112b8 in main (argc=3, argv=) at kissattach.c:294

ran into it in raspbian, debian buster, and in the latest package in testing...
Upstream has fixed it here: 
http://git.linux-ax25.org/cgit/libax25.git/patch/?id=f7e4a620aaa061bca62c2cef7dd508157e482c68

I added the patch locally and tested the fix here, and it seems to work.

-- System Information:
Debian Release: 10.8
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-14-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libax25 depends on:
ii  libc6   2.28-10
ii  zlib1g  1:1.2.11.dfsg-1

libax25 recommends no packages.

libax25 suggests no packages.

-- Configuration Files:
/etc/ax25/axports changed:
1   K6FSM-5 1200255 2   2m radio


-- no debconf information



Bug#972283: graphite-web: saving graphs in dashboard is broken (targets are html escaped)

2020-10-15 Thread Philip J Freeman
Package: graphite-web
Version: 1.1.4-3+deb10u1.1
Severity: important
Tags: patch

Dear Maintainer,

 Saving and recalling user graphs doesn't work. This has been fixed upstream:

https://github.com/graphite-project/graphite-web/pull/2587

 I was able to rebuild the package with the two patches in above PR to fix
locally.

-- System Information:
Distributor ID: Raspbian
Description:Raspbian GNU/Linux 10 (buster)
Release:10
Codename:   buster
Architecture: armv7l

Kernel: Linux 5.4.51-v7+ (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages graphite-web depends on:
ii  adduser 3.118
ii  python  2.7.16-1
ii  python3 3.7.3-1
ii  python3-cairo   1.16.2-1+b1
ii  python3-cairocffi   0.7.2-2.2
ii  python3-django  1:1.11.29-1~deb10u1
ii  python3-django-tagging  1:0.4.5-1
ii  python3-pyparsing   2.2.0+dfsg1-2
ii  python3-simplejson  3.16.0-1
ii  python3-six 1.12.0-1
ii  python3-tz  2019.1-1
ii  python3-urllib3 1.24.1-1
ii  python3-whisper 1.1.4-2

graphite-web recommends no packages.

Versions of packages graphite-web suggests:
ii  graphite-carbon  1.1.4-2
ii  libapache2-mod-wsgi-py3  4.6.5-1
pn  python3-ldap 
pn  python3-memcache 
pn  python3-mysqldb  

-- Configuration Files:
/etc/graphite/local_settings.py changed [not included]

-- no debconf information
>From 0a3e6348d25f289982ae30958375b85cdf219be3 Mon Sep 17 00:00:00 2001
From: Pierce Lopez 
Date: Tue, 14 Apr 2020 02:45:03 -0400
Subject: [PATCH] composer: fix user saved graphs target escaping

saved graphs targets were html-escaped in the json response
to fix an XSS vulnerability in graphite-project/graphite-web#1662

... but that was not really the right place to escape the graph targets,
it broke targets using quotes: #1801 #2334

so effectively revert the original fix, and instead html-escape the
targets just before rendering them in the GraphDataWindow Ext.ListView

also skip the `str()` around `graph.url`, it's already a string,
in both python2 and python3
---
 webapp/content/js/composer_widgets.js |  9 -
 webapp/graphite/browser/views.py  | 29 ++-
 2 files changed, 10 insertions(+), 28 deletions(-)

diff --git a/webapp/content/js/composer_widgets.js 
b/webapp/content/js/composer_widgets.js
index e1ce36c7..ac7cc3b8 100644
--- a/webapp/content/js/composer_widgets.js
+++ b/webapp/content/js/composer_widgets.js
@@ -515,7 +515,14 @@ var GraphDataWindow = {
   hideHeaders: true,
   width: 385,
   height: 140,
-  columns: [ {header: 'Graph Targets', width: 1.0, dataIndex: 'value'} ],
+  columns: [
+{
+  header: 'Graph Targets',
+  width: 1.0,
+  dataIndex: 'value',
+  tpl: '{value:htmlEncode}'
+}
+  ],
   listeners: {
 contextmenu: this.targetContextMenu,
 afterrender: this.targetChanged,
diff --git a/webapp/graphite/browser/views.py b/webapp/graphite/browser/views.py
index 3bc9dc9c..223a76af 100644
--- a/webapp/graphite/browser/views.py
+++ b/webapp/graphite/browser/views.py
@@ -24,7 +24,6 @@ from graphite.user_util import getProfile, 
getProfileByUsername
 from graphite.util import json
 from graphite.logger import log
 from hashlib import md5
-from six.moves.urllib.parse import urlencode, urlparse, parse_qsl
 
 
 def header(request):
@@ -138,19 +137,7 @@ def myGraphLookup(request):
   else:
 m = md5()
 m.update(name.encode('utf-8'))
-
-# Sanitize target
-urlEscaped = str(graph.url)
-graphUrl = urlparse(urlEscaped)
-graphUrlParams = {}
-graphUrlParams['target'] = []
-for param in parse_qsl(graphUrl.query):
-  if param[0] != 'target':
-graphUrlParams[param[0]] = param[1]
-  else:
-graphUrlParams[param[0]].append(escape(param[1]))
-urlEscaped = graphUrl._replace(query=urlencode(graphUrlParams, 
True)).geturl()
-node.update( { 'id' : str(userpath_prefix + m.hexdigest()), 'graphUrl' 
: urlEscaped } )
+node.update( { 'id' : str(userpath_prefix + m.hexdigest()), 'graphUrl' 
: graph.url } )
 node.update(leafNode)
 
   nodes.append(node)
@@ -237,22 +224,10 @@ def userGraphLookup(request):
   m = md5()
   m.update(nodeName.encode('utf-8'))
 
-  # Sanitize target
-  urlEscaped = str(graph.url)
-  graphUrl = urlparse(urlEscaped)
-  graphUrlParams = {}
-  graphUrlParams['target'] = []
-  for param in parse_qsl(graphUrl.query):
-if param[0] != 'target':
-  graphUrlParams[param[0]] = param[1]
-else:
-  

Bug#921311: ITP: canboat -- NMEA 2000 (and 0183) toolkit for marine data networks

2019-02-03 Thread Philip J Freeman
Package: wnpp
Severity: wishlist
Owner: Philip J Freeman 

* Package name: canboat
  Version : 1.2.1
  Upstream Author : Kees Verruijt 
* URL : https://github.com/canboat/canboat
* License : GPL
  Programming Lang: C, Perl, PHP
  Description : NMEA 2000 (and 0183) toolkit for marine data networks

CANboat provides NMEA 2000 (n2k) and NMEA 0183 utilities for interfacing with
marine onboard data networks. An NMEA 2000 PGN decoder can read and decode N2K
messages. You can also generate and publish n2k messages and send them to the
network. USB devices, like the Actisense NGT-1 NMEA2000 PC Interface, or CAN
devices can be used to interface withthe network.
Another utility can read NMEA 0183 data and send it to stdout. You can tee data
to TCP sockets to send data to 3rd party data brokers.

I use this sotware on my boat on an ongoing basis and would like to package it
for my distro. I'm working on some other Sailing/boating related debian
packages as well.

I am not a DD, so I will need a sponsor.



Bug#921311: ITP: canboat -- NMEA 2000 (and 0183) toolkit for marine data networks

2019-02-03 Thread Philip J Freeman
Package: wnpp
Severity: wishlist
Owner: Philip J Freeman 

* Package name: canboat
  Version : 1.2.1
  Upstream Author : Kees Verruijt 
* URL : https://github.com/canboat/canboat
* License : GPL
  Programming Lang: C, Perl, PHP
  Description : NMEA 2000 (and 0183) toolkit for marine data networks

CANboat provides NMEA 2000 (n2k) and NMEA 0183 utilities for interfacing with
marine onboard data networks. An NMEA 2000 PGN decoder can read and decode N2K
messages. You can also generate and publish n2k messages and send them to the
network. USB devices, like the Actisense NGT-1 NMEA2000 PC Interface, or CAN
devices can be used to interface withthe network.
Another utility can read NMEA 0183 data and send it to stdout. You can tee data
to TCP sockets to send data to 3rd party data brokers.

I use this sotware on my boat on an ongoing basis and would like to package it
for my distro. I'm working on some other Sailing/boating related debian
packages as well.

I am not a DD, so I will need a sponsor.



Bug#921311: ITP: canboat -- NMEA 2000 (and 0183) toolkit for marine data networks

2019-02-03 Thread Philip J Freeman
Package: wnpp
Severity: wishlist
Owner: Philip J Freeman 

* Package name: canboat
  Version : 1.2.1
  Upstream Author : Kees Verruijt 
* URL : https://github.com/canboat/canboat
* License : GPL
  Programming Lang: C, Perl, PHP
  Description : NMEA 2000 (and 0183) toolkit for marine data networks

CANboat provides NMEA 2000 (n2k) and NMEA 0183 utilities for interfacing with
marine onboard data networks. An NMEA 2000 PGN decoder can read and decode N2K
messages. You can also generate and publish n2k messages and send them to the
network. USB devices, like the Actisense NGT-1 NMEA2000 PC Interface, or CAN
devices can be used to interface withthe network.
Another utility can read NMEA 0183 data and send it to stdout. You can tee data
to TCP sockets to send data to 3rd party data brokers.

I use this sotware on my boat on an ongoing basis and would like to package it
for my distro. I'm working on some other Sailing/boating related debian
packages as well.

I am not a DD, so I will need a sponsor.



Bug#914495: linux-image-4.18.0-3-amd64: does not boot on x200

2018-12-05 Thread Philip J. Freeman
I also just dist-upgraded my buster machine and was unable to boot, but
vmlinuz.old seems to boot fine:

elektron@x200:~$ ls -la /vmlinuz*
lrwxrwxrwx 1 root root 27 Dec  4 23:23 /vmlinuz -> boot/vmlinuz-4.18.0-3-amd64
lrwxrwxrwx 1 root root 27 Dec  4 23:23 /vmlinuz.old -> 
boot/vmlinuz-4.18.0-2-amd64
elektron@x200:~$ dpkg -l | grep linux-image | grep 4\.18
ii  linux-image-4.18.0-1-amd644.18.6-1  
amd64Linux 4.18 for 64-bit PCs
ii  linux-image-4.18.0-2-amd644.18.10-2+b1  
amd64Linux 4.18 for 64-bit PCs
ii  linux-image-4.18.0-3-amd644.18.20-2 
amd64Linux 4.18 for 64-bit PCs
ii  linux-image-amd64 4.18+100  
amd64Linux for 64-bit PCs (meta-package)

elektron@x200:~$ lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset 
Integrated Graphics Controller (rev 07)

elektron@x200:~$ sudo journalctl --boot -1 | less

Dec 05 08:00:10 x200 kernel: BUG: unable to handle kernel NULL pointer 
dereference at 0008
Dec 05 08:00:10 x200 kernel: PGD 0 P4D 0 
Dec 05 08:00:10 x200 kernel: Oops:  [#1] SMP PTI
Dec 05 08:00:10 x200 kernel: CPU: 1 PID: 385 Comm: systemd-udevd Tainted: G 
 I   4.18.0-3-amd64 #1 Debian 4.18.20-2
Dec 05 08:00:10 x200 kernel: Hardware name: LENOVO 7459PB1/7459PB1, BIOS 
CBET4000 3774c98 09/07/2016
Dec 05 08:00:10 x200 kernel: RIP: 0010:gen4_render_ring_flush+0x55/0xf0 [i915]
Dec 05 08:00:10 x200 kernel: Code: 00 be 16 00 00 00 48 89 ef e8 87 fe ff ff 48 
3d 00 f0 ff ff 77 69 89 18 c7 40 04 02 40 00 7a 48 8b 55 78 48 8b 92 10 02 00 
00 <48> 8b 52 08 48 c7 40 0c 00 00 00 00 83 ca 04 89 50 08 48 8d 50 14 
Dec 05 08:00:10 x200 kernel: RSP: 0018:a814811b7a88 EFLAGS: 00010287
Dec 05 08:00:10 x200 kernel: RAX: a814903ed000 RBX: 0222 RCX: 
0001ff68
Dec 05 08:00:10 x200 kernel: RDX:  RSI: 01a8 RDI: 
0150
Dec 05 08:00:10 x200 kernel: RBP: 9b9ce3b57d40 R08: 0001 R09: 
0002
Dec 05 08:00:10 x200 kernel: R10: a814811b7a58 R11:  R12: 
9b9ce234
Dec 05 08:00:10 x200 kernel: R13: 9b9ce44ea600 R14:  R15: 
9b9ce3b57d40
Dec 05 08:00:10 x200 kernel: FS:  7fa115f0a8c0() 
GS:9b9cefd0() knlGS:
Dec 05 08:00:10 x200 kernel: CS:  0010 DS:  ES:  CR0: 80050033
Dec 05 08:00:10 x200 kernel: CR2: 0008 CR3: 000220f7c000 CR4: 
000406e0
Dec 05 08:00:10 x200 kernel: Call Trace:
Dec 05 08:00:10 x200 kernel:  i915_request_alloc+0x243/0x360 [i915]
Dec 05 08:00:10 x200 kernel:  i915_gem_init+0x284/0x480 [i915]
Dec 05 08:00:10 x200 kernel:  i915_driver_load+0xb22/0xef0 [i915]
Dec 05 08:00:10 x200 kernel:  ? mutex_lock+0xe/0x30
Dec 05 08:00:10 x200 kernel:  ? acpi_dev_found+0x5f/0x70
Dec 05 08:00:10 x200 kernel:  local_pci_probe+0x42/0xa0
Dec 05 08:00:10 x200 kernel:  ? pci_assign_irq+0x27/0x130
Dec 05 08:00:10 x200 kernel:  pci_device_probe+0x146/0x1b0
Dec 05 08:00:10 x200 kernel:  driver_probe_device+0x2fa/0x470
Dec 05 08:00:10 x200 kernel:  __driver_attach+0xdc/0x100
Dec 05 08:00:10 x200 kernel:  ? driver_probe_device+0x470/0x470
Dec 05 08:00:10 x200 kernel:  bus_for_each_dev+0x76/0xc0
Dec 05 08:00:10 x200 kernel:  ? klist_add_tail+0x3b/0x70
Dec 05 08:00:10 x200 kernel:  bus_add_driver+0x161/0x260
Dec 05 08:00:10 x200 kernel:  ? 0xc0b83000
Dec 05 08:00:10 x200 kernel:  driver_register+0x5b/0xe0
Dec 05 08:00:10 x200 kernel:  ? 0xc0b83000
Dec 05 08:00:10 x200 kernel:  do_one_initcall+0x46/0x1c8
Dec 05 08:00:10 x200 kernel:  ? _cond_resched+0x15/0x40
Dec 05 08:00:10 x200 kernel:  ? kmem_cache_alloc_trace+0x15d/0x1c0
Dec 05 08:00:10 x200 kernel:  ? do_init_module+0x22/0x201
Dec 05 08:00:10 x200 kernel:  do_init_module+0x5b/0x201
Dec 05 08:00:10 x200 kernel:  load_module.constprop.56+0x1649/0x1d80
Dec 05 08:00:10 x200 kernel:  ? vfs_read+0x113/0x130
Dec 05 08:00:10 x200 kernel:  ? vfs_read+0x113/0x130
Dec 05 08:00:10 x200 kernel:  ? __do_sys_finit_module+0xe9/0x110
Dec 05 08:00:10 x200 kernel:  __do_sys_finit_module+0xe9/0x110
Dec 05 08:00:10 x200 kernel:  do_syscall_64+0x55/0x110
Dec 05 08:00:10 x200 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Dec 05 08:00:10 x200 kernel: RIP: 0033:0x7fa11696ea79
Dec 05 08:00:10 x200 kernel: Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 
40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 
05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d df 43 0c 00 f7 d8 64 89 01 48 
Dec 05 08:00:10 x200 kernel: RSP: 002b:7ffc86db6728 EFLAGS: 0246 
ORIG_RAX: 0139
Dec 05 08:00:10 x200 kernel: RAX: ffda RBX: 559ef1eefd00 RCX: 
7fa11696ea79
Dec 05 08:00:10 x200 kernel: RDX:  RSI: 7fa116874cad RDI: 
0011
Dec 05 08:00:10 x200 kernel: 

Bug#914495: linux-image-4.18.0-3-amd64: does not boot on x200

2018-12-05 Thread Philip J. Freeman
I also just dist-upgraded my buster machine and was unable to boot, but
vmlinuz.old seems to boot fine:

elektron@x200:~$ ls -la /vmlinuz*
lrwxrwxrwx 1 root root 27 Dec  4 23:23 /vmlinuz -> boot/vmlinuz-4.18.0-3-amd64
lrwxrwxrwx 1 root root 27 Dec  4 23:23 /vmlinuz.old -> 
boot/vmlinuz-4.18.0-2-amd64
elektron@x200:~$ dpkg -l | grep linux-image | grep 4\.18
ii  linux-image-4.18.0-1-amd644.18.6-1  
amd64Linux 4.18 for 64-bit PCs
ii  linux-image-4.18.0-2-amd644.18.10-2+b1  
amd64Linux 4.18 for 64-bit PCs
ii  linux-image-4.18.0-3-amd644.18.20-2 
amd64Linux 4.18 for 64-bit PCs
ii  linux-image-amd64 4.18+100  
amd64Linux for 64-bit PCs (meta-package)

elektron@x200:~$ lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset 
Integrated Graphics Controller (rev 07)

elektron@x200:~$ sudo journalctl --boot -1 | less

Dec 05 08:00:10 x200 kernel: BUG: unable to handle kernel NULL pointer 
dereference at 0008
Dec 05 08:00:10 x200 kernel: PGD 0 P4D 0 
Dec 05 08:00:10 x200 kernel: Oops:  [#1] SMP PTI
Dec 05 08:00:10 x200 kernel: CPU: 1 PID: 385 Comm: systemd-udevd Tainted: G 
 I   4.18.0-3-amd64 #1 Debian 4.18.20-2
Dec 05 08:00:10 x200 kernel: Hardware name: LENOVO 7459PB1/7459PB1, BIOS 
CBET4000 3774c98 09/07/2016
Dec 05 08:00:10 x200 kernel: RIP: 0010:gen4_render_ring_flush+0x55/0xf0 [i915]
Dec 05 08:00:10 x200 kernel: Code: 00 be 16 00 00 00 48 89 ef e8 87 fe ff ff 48 
3d 00 f0 ff ff 77 69 89 18 c7 40 04 02 40 00 7a 48 8b 55 78 48 8b 92 10 02 00 
00 <48> 8b 52 08 48 c7 40 0c 00 00 00 00 83 ca 04 89 50 08 48 8d 50 14 
Dec 05 08:00:10 x200 kernel: RSP: 0018:a814811b7a88 EFLAGS: 00010287
Dec 05 08:00:10 x200 kernel: RAX: a814903ed000 RBX: 0222 RCX: 
0001ff68
Dec 05 08:00:10 x200 kernel: RDX:  RSI: 01a8 RDI: 
0150
Dec 05 08:00:10 x200 kernel: RBP: 9b9ce3b57d40 R08: 0001 R09: 
0002
Dec 05 08:00:10 x200 kernel: R10: a814811b7a58 R11:  R12: 
9b9ce234
Dec 05 08:00:10 x200 kernel: R13: 9b9ce44ea600 R14:  R15: 
9b9ce3b57d40
Dec 05 08:00:10 x200 kernel: FS:  7fa115f0a8c0() 
GS:9b9cefd0() knlGS:
Dec 05 08:00:10 x200 kernel: CS:  0010 DS:  ES:  CR0: 80050033
Dec 05 08:00:10 x200 kernel: CR2: 0008 CR3: 000220f7c000 CR4: 
000406e0
Dec 05 08:00:10 x200 kernel: Call Trace:
Dec 05 08:00:10 x200 kernel:  i915_request_alloc+0x243/0x360 [i915]
Dec 05 08:00:10 x200 kernel:  i915_gem_init+0x284/0x480 [i915]
Dec 05 08:00:10 x200 kernel:  i915_driver_load+0xb22/0xef0 [i915]
Dec 05 08:00:10 x200 kernel:  ? mutex_lock+0xe/0x30
Dec 05 08:00:10 x200 kernel:  ? acpi_dev_found+0x5f/0x70
Dec 05 08:00:10 x200 kernel:  local_pci_probe+0x42/0xa0
Dec 05 08:00:10 x200 kernel:  ? pci_assign_irq+0x27/0x130
Dec 05 08:00:10 x200 kernel:  pci_device_probe+0x146/0x1b0
Dec 05 08:00:10 x200 kernel:  driver_probe_device+0x2fa/0x470
Dec 05 08:00:10 x200 kernel:  __driver_attach+0xdc/0x100
Dec 05 08:00:10 x200 kernel:  ? driver_probe_device+0x470/0x470
Dec 05 08:00:10 x200 kernel:  bus_for_each_dev+0x76/0xc0
Dec 05 08:00:10 x200 kernel:  ? klist_add_tail+0x3b/0x70
Dec 05 08:00:10 x200 kernel:  bus_add_driver+0x161/0x260
Dec 05 08:00:10 x200 kernel:  ? 0xc0b83000
Dec 05 08:00:10 x200 kernel:  driver_register+0x5b/0xe0
Dec 05 08:00:10 x200 kernel:  ? 0xc0b83000
Dec 05 08:00:10 x200 kernel:  do_one_initcall+0x46/0x1c8
Dec 05 08:00:10 x200 kernel:  ? _cond_resched+0x15/0x40
Dec 05 08:00:10 x200 kernel:  ? kmem_cache_alloc_trace+0x15d/0x1c0
Dec 05 08:00:10 x200 kernel:  ? do_init_module+0x22/0x201
Dec 05 08:00:10 x200 kernel:  do_init_module+0x5b/0x201
Dec 05 08:00:10 x200 kernel:  load_module.constprop.56+0x1649/0x1d80
Dec 05 08:00:10 x200 kernel:  ? vfs_read+0x113/0x130
Dec 05 08:00:10 x200 kernel:  ? vfs_read+0x113/0x130
Dec 05 08:00:10 x200 kernel:  ? __do_sys_finit_module+0xe9/0x110
Dec 05 08:00:10 x200 kernel:  __do_sys_finit_module+0xe9/0x110
Dec 05 08:00:10 x200 kernel:  do_syscall_64+0x55/0x110
Dec 05 08:00:10 x200 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Dec 05 08:00:10 x200 kernel: RIP: 0033:0x7fa11696ea79
Dec 05 08:00:10 x200 kernel: Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 
40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 
05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d df 43 0c 00 f7 d8 64 89 01 48 
Dec 05 08:00:10 x200 kernel: RSP: 002b:7ffc86db6728 EFLAGS: 0246 
ORIG_RAX: 0139
Dec 05 08:00:10 x200 kernel: RAX: ffda RBX: 559ef1eefd00 RCX: 
7fa11696ea79
Dec 05 08:00:10 x200 kernel: RDX:  RSI: 7fa116874cad RDI: 
0011
Dec 05 08:00:10 x200 kernel: 

Bug#883614: [pkg-wpa-devel] Bug#883614: wpasupplicant fails to connect in v2.6

2017-12-05 Thread Philip J Freeman
hmm.. turns out, I can't repro anymore after installing new package..
perhaps just a local network issue?

Sorry for the cruft. :-/


On Tue, Dec 05, 2017 at 08:10:24PM +0100, Andrew Shadura wrote:
> Hi Philip,
> 
> From the logs you attached it appears that the connection attempt succeeded. 
> Could you please inspect the exact state wpa-supplicant and the interfaces 
> are left in at that point?
> 
> Thanks!
> -- 
> Cheers,
>   Andrew

-- 
⛵



Bug#883614: Downgrading to wpasupplicant 2:2.4-1.1 fixes issue

2017-12-05 Thread Philip J. Freeman
FYI: Downgrading to wpasupplicant 2:2.4-1.1 fixes issue

elektron@x61s-4280:~/wpasup$ dpkg -l | grep wpasupp
ii  wpasupplicant  2:2.4-1.1
amd64client support for WPA and WPA2 (IEEE 802.11i)

Log:

wpa_supplicant v2.4
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf 
'/home/elektron/.dotfiles/sec/wifi/byc.conf' driver 'default' ctrl_interface 
'N/A' bridge 'N/A'
Configuration file '/home/elektron/.dotfiles/sec/wifi/byc.conf' -> 
'/home/elektron/.dotfiles/sec/wifi/byc.conf'
Reading configuration file '/home/elektron/.dotfiles/sec/wifi/byc.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 5 - start of a new network block
ssid - hexdump_ascii(len=7):
 62 79 63 77 69 66 69  bycwifi 
key_mgmt: 0x2
proto: 0x2
pairwise: 0x10
group: 0x10
PSK (ASCII passphrase) - hexdump_ascii(len=12): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='bycwifi'
rfkill: initial event: idx=0 type=2 op=0 soft=0 hard=0
rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
rfkill: initial event: idx=2 type=2 op=0 soft=0 hard=0
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:10
nl80211: Supported cipher 00-0f-ac:8
nl80211: Supported cipher 00-0f-ac:9
nl80211: Using driver-based off-channel TX
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x558a4f505140
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=0409506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=7f506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x558a4f505140 match=0505
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 
(IF_OPER_DORMANT)
nl80211: driver param='(null)'
Add interface wlan0 to a new radio phy0
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
wlan0: Own MAC address: 00:1f:3b:38:77:e3
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=0 
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=1 
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=2 
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=3 
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=4 
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=5 
set_tx=0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: Setting scan request: 0.10 sec
TDLS: TDLS operation not supported by driver
TDLS: Driver uses internal link setup
TDLS: Driver does not support TDLS channel switching
wlan0: WPS: UUID based on MAC address: 525a8782-38cb-534f-8dd8-c7f73d7da9d4
ENGINE: Loading dynamic engine
ENGINE: Loading dynamic engine
EAPOL: SUPP_PAE entering state 

Bug#883614: wpasupplicant fails to connect in v2.6

2017-12-05 Thread Philip J Freeman
Package: wpasupplicant
Version: 2:2.6-12
Severity: normal

Dear Maintainer,

   * Newer version of wpasupplicant appears to fail connecting to network.
   * Seems to have started after: 2017-11-30 15:20:52 upgrade 
wpasupplicant:amd64 2:2.4-1.1 2:2.6-11

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages wpasupplicant depends on:
ii  adduser   3.116
ii  libc6 2.25-3
ii  libdbus-1-3   1.12.2-1
ii  libnl-3-200   3.2.27-2
ii  libnl-genl-3-200  3.2.27-2
ii  libpcsclite1  1.8.22-1
ii  libreadline7  7.0-3
ii  libssl1.1 1.1.0g-2
ii  lsb-base  9.20170808

wpasupplicant recommends no packages.

Versions of packages wpasupplicant suggests:
pn  libengine-pkcs11-openssl  
pn  wpagui

-- no debconf information

-- Device:

03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN 
[Kedron] Network Connection (rev 61)

-- Config:
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="bycwifi"
key_mgmt=WPA-PSK
proto=WPA2
pairwise=CCMP
group=CCMP
psk="correctpasswd"
}

-- Log:

wpa_supplicant v2.6
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf 
'/home/elektron/.dotfiles/sec/wifi/byc.conf' driver 'default' ctrl_interface 
'N/A' bridge 'N/A'
Configuration file '/home/elektron/.dotfiles/sec/wifi/byc.conf' -> 
'/home/elektron/.dotfiles/sec/wifi/byc.conf'
Reading configuration file '/home/elektron/.dotfiles/sec/wifi/byc.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 5 - start of a new network block
ssid - hexdump_ascii(len=7):
 62 79 63 77 69 66 69  bycwifi 
key_mgmt: 0x2
proto: 0x2
pairwise: 0x10
group: 0x10
PSK (ASCII passphrase) - hexdump_ascii(len=12): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='bycwifi'
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:10
nl80211: Supported cipher 00-0f-ac:8
nl80211: Supported cipher 00-0f-ac:9
nl80211: Using driver-based off-channel TX
nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 00 
00 00 00 00 00 00 40
nl80211: Driver-advertised extended capabilities mask (default) - 
hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x5629734afb20
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=0409506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=7f506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) 
nl_handle=0x5629734afb20 match=0500
rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 
(IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm 

DOM Worker: page allocation stalls (4.9.13)

2017-03-14 Thread Philip J. Freeman
My laptop became almost totally un responsive today. I was able to
switch VTs but not log in and had to power cycle to regain control. I
don't understand what this means. Any ideas?


-- 
"Philip Freeman" 
Mar 14 14:31:20 x61s-44a5 kernel: [168382.032039] DOM Worker: page allocation 
stalls for 10646ms, order:0, mode:0x24280ca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO)
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032061] CPU: 0 PID: 30909 Comm: DOM 
Worker Not tainted 4.9.13 #5
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032065] Hardware name: LENOVO 
7667WAL/7667WAL, BIOS 7NETC2WW (2.22 ) 03/22/2011
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032069]   
8143375d 81c2dbb0 c90003fdbce8
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032080]  811adc58 
024280ca 81c2dbb0 c90003fdbc88
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032090]  00010010 
c90003fdbcf8 c90003fdbca8 1b5962f9
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032100] Call Trace:
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032115]  [] ? 
dump_stack+0x46/0x59
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032124]  [] ? 
warn_alloc+0x148/0x170
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032131]  [] ? 
__alloc_pages_slowpath+0x8ea/0xb80
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032138]  [] ? 
alloc_set_pte+0x1c5/0x460
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032144]  [] ? 
__alloc_pages_nodemask+0x221/0x270
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032149]  [] ? 
handle_mm_fault+0xe5b/0x1030
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032157]  [] ? 
_raw_spin_unlock_irq+0x13/0x30
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032164]  [] ? 
finish_task_switch+0x7f/0x220
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032171]  [] ? 
__do_page_fault+0x206/0x420
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032177]  [] ? 
page_fault+0x1f/0x30
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032181] Mem-Info:
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032192] active_anon:308454 
inactive_anon:154809 isolated_anon:224
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032192]  active_file:869 
inactive_file:978 isolated_file:0
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032192]  unevictable:0 dirty:0 
writeback:0 unstable:0
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032192]  slab_reclaimable:6099 
slab_unreclaimable:8555
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032192]  mapped:1999 shmem:156254 
pagetables:2929 bounce:0
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032192]  free:13192 free_pcp:0 
free_cma:0
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032203] Node 0 active_anon:1233816kB 
inactive_anon:619320kB active_file:3476kB inactive_file:3912kB unevictable:0kB 
isolated(anon):768kB isolated(file):0kB mapped:7996kB dirty:0kB writeback:0kB 
shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 625016kB 
writeback_tmp:0kB unstable:0kB pages_scanned:80297 all_unreclaimable? no
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032215] DMA free:8084kB min:356kB 
low:444kB high:532kB active_anon:6284kB inactive_anon:1312kB active_file:0kB 
inactive_file:0kB unevictable:0kB writepending:0kB present:15984kB 
managed:15900kB mlocked:0kB slab_reclaimable:44kB slab_unreclaimable:44kB 
kernel_stack:0kB pagetables:56kB bounce:0kB free_pcp:0kB local_pcp:0kB 
free_cma:0kB
Mar 14 14:31:22 x61s-44a5 kernel: lowmem_reserve[]: 0 1933 1933 1933
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032237] DMA32 free:44684kB 
min:44696kB low:55868kB high:67040kB active_anon:1227532kB 
inactive_anon:618004kB active_file:3476kB inactive_file:3912kB unevictable:0kB 
writepending:0kB present:2038464kB managed:1986592kB mlocked:0kB 
slab_reclaimable:24352kB slab_unreclaimable:34176kB kernel_stack:4016kB 
pagetables:11660kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
Mar 14 14:31:22 x61s-44a5 kernel: lowmem_reserve[]: 0 0 0 0
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032250] DMA: 25*4kB (UME) 10*8kB (E) 
8*16kB (UME) 5*32kB (UME) 5*64kB (UME) 5*128kB (UE) 4*256kB (UME) 3*512kB (UME) 
2*1024kB (ME) 1*2048kB (M) 0*4096kB = 8084kB
Mar 14 14:31:22 x61s-44a5 kernel: DMA32: 1208*4kB (UME) 856*8kB (UME) 779*16kB 
(UME) 295*32kB (UME) 106*64kB (UME) 20*128kB (UME) 7*256kB (ME) 0*512kB 
0*1024kB 0*2048kB 0*4096kB = 44720kB
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032340] Node 0 hugepages_total=0 
hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032343] 159096 total pagecache pages
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032348] 955 pages in swap cache
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032352] Swap cache stats: add 267105, 
delete 266150, find 100036/132538
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032355] Free swap  = 1836400kB
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032358] Total swap = 1949692kB
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032360] 513612 pages RAM
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032363] 0 pages HighMem/MovableOnly
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032365] 12989 pages 

DOM Worker: page allocation stalls (4.9.13)

2017-03-14 Thread Philip J. Freeman
My laptop became almost totally un responsive today. I was able to
switch VTs but not log in and had to power cycle to regain control. I
don't understand what this means. Any ideas?


-- 
"Philip Freeman" 
Mar 14 14:31:20 x61s-44a5 kernel: [168382.032039] DOM Worker: page allocation 
stalls for 10646ms, order:0, mode:0x24280ca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO)
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032061] CPU: 0 PID: 30909 Comm: DOM 
Worker Not tainted 4.9.13 #5
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032065] Hardware name: LENOVO 
7667WAL/7667WAL, BIOS 7NETC2WW (2.22 ) 03/22/2011
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032069]   
8143375d 81c2dbb0 c90003fdbce8
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032080]  811adc58 
024280ca 81c2dbb0 c90003fdbc88
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032090]  00010010 
c90003fdbcf8 c90003fdbca8 1b5962f9
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032100] Call Trace:
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032115]  [] ? 
dump_stack+0x46/0x59
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032124]  [] ? 
warn_alloc+0x148/0x170
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032131]  [] ? 
__alloc_pages_slowpath+0x8ea/0xb80
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032138]  [] ? 
alloc_set_pte+0x1c5/0x460
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032144]  [] ? 
__alloc_pages_nodemask+0x221/0x270
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032149]  [] ? 
handle_mm_fault+0xe5b/0x1030
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032157]  [] ? 
_raw_spin_unlock_irq+0x13/0x30
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032164]  [] ? 
finish_task_switch+0x7f/0x220
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032171]  [] ? 
__do_page_fault+0x206/0x420
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032177]  [] ? 
page_fault+0x1f/0x30
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032181] Mem-Info:
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032192] active_anon:308454 
inactive_anon:154809 isolated_anon:224
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032192]  active_file:869 
inactive_file:978 isolated_file:0
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032192]  unevictable:0 dirty:0 
writeback:0 unstable:0
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032192]  slab_reclaimable:6099 
slab_unreclaimable:8555
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032192]  mapped:1999 shmem:156254 
pagetables:2929 bounce:0
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032192]  free:13192 free_pcp:0 
free_cma:0
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032203] Node 0 active_anon:1233816kB 
inactive_anon:619320kB active_file:3476kB inactive_file:3912kB unevictable:0kB 
isolated(anon):768kB isolated(file):0kB mapped:7996kB dirty:0kB writeback:0kB 
shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 625016kB 
writeback_tmp:0kB unstable:0kB pages_scanned:80297 all_unreclaimable? no
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032215] DMA free:8084kB min:356kB 
low:444kB high:532kB active_anon:6284kB inactive_anon:1312kB active_file:0kB 
inactive_file:0kB unevictable:0kB writepending:0kB present:15984kB 
managed:15900kB mlocked:0kB slab_reclaimable:44kB slab_unreclaimable:44kB 
kernel_stack:0kB pagetables:56kB bounce:0kB free_pcp:0kB local_pcp:0kB 
free_cma:0kB
Mar 14 14:31:22 x61s-44a5 kernel: lowmem_reserve[]: 0 1933 1933 1933
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032237] DMA32 free:44684kB 
min:44696kB low:55868kB high:67040kB active_anon:1227532kB 
inactive_anon:618004kB active_file:3476kB inactive_file:3912kB unevictable:0kB 
writepending:0kB present:2038464kB managed:1986592kB mlocked:0kB 
slab_reclaimable:24352kB slab_unreclaimable:34176kB kernel_stack:4016kB 
pagetables:11660kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
Mar 14 14:31:22 x61s-44a5 kernel: lowmem_reserve[]: 0 0 0 0
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032250] DMA: 25*4kB (UME) 10*8kB (E) 
8*16kB (UME) 5*32kB (UME) 5*64kB (UME) 5*128kB (UE) 4*256kB (UME) 3*512kB (UME) 
2*1024kB (ME) 1*2048kB (M) 0*4096kB = 8084kB
Mar 14 14:31:22 x61s-44a5 kernel: DMA32: 1208*4kB (UME) 856*8kB (UME) 779*16kB 
(UME) 295*32kB (UME) 106*64kB (UME) 20*128kB (UME) 7*256kB (ME) 0*512kB 
0*1024kB 0*2048kB 0*4096kB = 44720kB
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032340] Node 0 hugepages_total=0 
hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032343] 159096 total pagecache pages
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032348] 955 pages in swap cache
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032352] Swap cache stats: add 267105, 
delete 266150, find 100036/132538
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032355] Free swap  = 1836400kB
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032358] Total swap = 1949692kB
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032360] 513612 pages RAM
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032363] 0 pages HighMem/MovableOnly
Mar 14 14:31:22 x61s-44a5 kernel: [168382.032365] 12989 pages reserved
Mar 14 

Bug#762750: cdrom: automatic partitioning (with seperate /usr) in installer doesn't work for systemd

2014-09-24 Thread Philip J Freeman
Package: cdrom
Severity: critical
Tags: d-i
Justification: breaks unrelated software

Dear Maintainer,

  After installing a new system using partman-auto with separate /usr
partition, systemd was directing me to the following URL:

http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken/

I noticed this error while debugging the default network in libvirt
being broken. I'm unsure why it was broken, but moving the contents
of /usr onto the root filesystem and rebooting fixed the issue in libvirt
networking and made the error message go away.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.17.0-rc6 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140924214554.5078.35587.reportbug@yoga



Bug#762750: cdrom: automatic partitioning (with seperate /usr) in installer doesn't work for systemd

2014-09-24 Thread Philip J Freeman
Package: cdrom
Severity: critical
Tags: d-i
Justification: breaks unrelated software

Dear Maintainer,

  After installing a new system using partman-auto with separate /usr
partition, systemd was directing me to the following URL:

http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken/

I noticed this error while debugging the default network in libvirt
being broken. I'm unsure why it was broken, but moving the contents
of /usr onto the root filesystem and rebooting fixed the issue in libvirt
networking and made the error message go away.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.17.0-rc6 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762750: cdrom: automatic partitioning (with seperate /usr) in installer doesn't work for systemd

2014-09-24 Thread Philip J Freeman
Package: cdrom
Severity: critical
Tags: d-i
Justification: breaks unrelated software

Dear Maintainer,

  After installing a new system using partman-auto with separate /usr
partition, systemd was directing me to the following URL:

http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken/

I noticed this error while debugging the default network in libvirt
being broken. I'm unsure why it was broken, but moving the contents
of /usr onto the root filesystem and rebooting fixed the issue in libvirt
networking and made the error message go away.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.17.0-rc6 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org