Bug#866122: slapd-mtread crash on ppc64{,el} in stretch/sid

2017-08-04 Thread Barry Arndt
On Thu, 27 Jul 2017 10:20:12 -0300 Breno Leitao  
wrote:
> Although lack of recent updates, we are still working on this problem.
> 
> Barry (on CC) is allocated to work on this issue and should have updates 
soon.
> 
> 
> 

The offending line of code that Breno mentioned earlier was part of a 
larger patch.  Looking at that larger patch, I'm afraid that just removing 
the offending line of code would make that patch incomplete and could 
possibly leave other errors behind.

We have a few patches for other issues in this area of code.  I tested a 
couple of them, but they did not resolve this issue.  I'm working with 
another developer (who is currently working on other items related to this 
one) to gather more debug information to narrow down to the correct fix.



Bug#865866: libreoffice-writer crash on startup Debian 9 i386 arch

2017-08-04 Thread Hans
Hi folks,

here is another trick:

1. Just install linux-image-4.9.0-0-*** from backports. 

2. Then boot with it, and libreoffice will start.

3. Now reboot and start with the actual kernel i.e. 4.11-**

4. Do NOT delete ~/.config/libreoffice!!!

5. Voila, libreoffice is starting again with the latest kernel.

6. Hint: backup ~/.config/libreoffice

Happy hacking!

Best

Hans


Re: Enhancement of unsupported adapters

2017-08-04 Thread Uwe Kleine-König
Hello,

On Fri, Aug 04, 2017 at 04:43:35PM +0100, Steve McIntyre wrote:
> On Fri, Jul 28, 2017 at 02:37:47PM +0200, Thomas Völker wrote:
> >after a disaster with windows on my HP x2 10-k000ng was Debian my last hope
> >to avoid a hardware scrap.
> >So after installtion of Debian 9 i386 I can work at least offline.
> >Do you think it is possible to integrate the github fix for the realtek
> >adapter rtl8723bs with SDIO supporrt into the unsupported part of the debian
> >distribution?

What is "the github fix for the realtek adapter"? Usually the kernel
team only takes patches that are also in mainline. So probably the best
approach is to prod the wlan kernel maintainers to take the patch and
then report a bug for the Debian kernel asking for a backport.

Best regards
Uwe

-- 
Pengutronix e.K.   | Uwe Kleine-König|
Industrial Linux Solutions | http://www.pengutronix.de/  |



Bug#864714: task crm_node:12797 blocked for more than 120 seconds

2017-08-04 Thread Russell Mosemann

Package: src:linux
Version: 4.9.30-2+deb9u2~bpo8+1
Severity: important

Dear Maintainer,


Aug 04 09:46:19 vhost171 kernel: INFO: task crm_node:12797 blocked for more 
than 120 seconds.
Aug 04 09:46:19 vhost171 kernel:   Not tainted 4.9.0-0.bpo.3-amd64 #1 
Debian 4.9.30-2+deb9u2~bpo8+1
Aug 04 09:46:19 vhost171 kernel: "echo 0 > 
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Aug 04 09:46:19 vhost171 kernel: crm_nodeD0 12797  1 0x0004
Aug 04 09:46:19 vhost171 kernel:  8afba8803400  
8b09b8719040 8af988ad00c0
Aug 04 09:46:19 vhost171 kernel:  8b09bf4187c0 9dbde445f780 
8dc02a4d 3696a76c61e828e2
Aug 04 09:46:19 vhost171 kernel:  8b09b7c7e000 03f5 
0008 8af988ad00c0
Aug 04 09:46:19 vhost171 kernel: Call Trace:
Aug 04 09:46:19 vhost171 kernel:  [] ? __schedule+0x23d/0x6d0
Aug 04 09:46:19 vhost171 kernel:  [] ? 
bit_wait_timeout+0x90/0x90
Aug 04 09:46:19 vhost171 kernel:  [] ? schedule+0x32/0x80
Aug 04 09:46:19 vhost171 kernel:  [] ? 
schedule_timeout+0x249/0x300
Aug 04 09:46:19 vhost171 kernel:  [] ? strlcpy+0x31/0x40
Aug 04 09:46:19 vhost171 kernel:  [] ? 
kernfs_path_from_node_locked+0x296/0x320
Aug 04 09:46:19 vhost171 kernel:  [] ? 
bit_wait_timeout+0x90/0x90
Aug 04 09:46:19 vhost171 kernel:  [] ? 
io_schedule_timeout+0xb4/0x130
Aug 04 09:46:19 vhost171 kernel:  [] ? 
prepare_to_wait_exclusive+0x57/0x80
Aug 04 09:46:19 vhost171 kernel:  [] ? bit_wait_io+0x17/0x60
Aug 04 09:46:19 vhost171 kernel:  [] ? 
__wait_on_bit_lock+0x7f/0xb0
Aug 04 09:46:19 vhost171 kernel:  [] ? __lock_page+0x7f/0xa0
Aug 04 09:46:19 vhost171 kernel:  [] ? 
autoremove_wake_function+0x40/0x40
Aug 04 09:46:19 vhost171 kernel:  [] ? 
pagecache_get_page+0x21b/0x2b0
Aug 04 09:46:19 vhost171 kernel:  [] ? 
shmem_unused_huge_shrink+0x1eb/0x360
Aug 04 09:46:19 vhost171 kernel:  [] ? 
super_cache_scan+0x184/0x190
Aug 04 09:46:19 vhost171 kernel:  [] ? shrink_slab+0x24a/0x450
Aug 04 09:46:19 vhost171 kernel:  [] ? shrink_node+0x10a/0x320
Aug 04 09:46:19 vhost171 kernel:  [] ? 
do_try_to_free_pages+0xfb/0x330
Aug 04 09:46:19 vhost171 kernel:  [] ? 
try_to_free_pages+0xfc/0x1b0
Aug 04 09:46:19 vhost171 kernel:  [] ? 
__alloc_pages_slowpath+0x319/0xb60
Aug 04 09:46:19 vhost171 kernel:  [] ? 
__alloc_pages_nodemask+0x208/0x270
Aug 04 09:46:19 vhost171 kernel:  [] ? 
alloc_pages_current+0x8a/0x110
Aug 04 09:46:19 vhost171 kernel:  [] ? pte_alloc_one+0x13/0x40
Aug 04 09:46:19 vhost171 kernel:  [] ? __pte_alloc+0x19/0x100
Aug 04 09:46:19 vhost171 kernel:  [] ? 
alloc_set_pte+0x521/0x590
Aug 04 09:46:19 vhost171 kernel:  [] ? 
handle_mm_fault+0x801/0x16b0
Aug 04 09:46:19 vhost171 kernel:  [] ? 
__do_page_fault+0x253/0x510
Aug 04 09:46:19 vhost171 kernel:  [] ? page_fault+0x28/0x30


-- Package-specific info:
** Version:
Linux version 4.9.0-0.bpo.3-amd64 (debian-kernel@lists.debian.org) (gcc version 
4.9.2 (Debian 4.9.2-10) ) #1 SMP Debian 4.9.30-2+deb9u2~bpo8+1 (2017-06-27)

** Command line:
BOOT_IMAGE=/vmlinuz-4.9.0-0.bpo.3-amd64 
root=UUID=9d66a149-212c-4638-97a4-1c595bd08392 ro console=tty0 
console=ttyS1,115200n8 quiet

** Not tainted

** Kernel log:
Unable to read kernel log; any relevant messages should be attached

** Model information
sys_vendor: To Be Filled By O.E.M.
product_name: To Be Filled By O.E.M.
product_version: To Be Filled By O.E.M.
chassis_vendor: To Be Filled By O.E.M.
chassis_version: To Be Filled By O.E.M.
bios_vendor: American Megatrends Inc.
bios_version: P2.10
board_vendor: ASRockRack
board_name: EPC612D4I
board_version:

** Loaded modules:
vhost_net
vhost
macvtap
macvlan
tun
ocfs2
quota_tree
veth
iptable_filter
ip_tables
x_tables
nfsd
auth_rpcgss
oid_registry
nfs_acl
nfs
lockd
grace
fscache
sunrpc
ocfs2_dlmfs
ocfs2_stack_o2cb
ocfs2_dlm
ocfs2_nodemanager
ocfs2_stackglue
configfs
bridge
stp
llc
bonding
ipmi_watchdog
intel_rapl
sb_edac
edac_core
x86_pkg_temp_thermal
intel_powerclamp
coretemp
kvm_intel
iTCO_wdt
kvm
ast
mxm_wmi
iTCO_vendor_support
evdev
irqbypass
ttm
crct10dif_pclmul
crc32_pclmul
drm_kms_helper
ghash_clmulni_intel
igb
intel_cstate
drm
xhci_pci
dca
i2c_algo_bit
xhci_hcd
ehci_pci
ehci_hcd
usbcore
intel_uncore
e1000e
mei_me
intel_rapl_perf
pcspkr
sg
usb_common
ptp
i2c_i801
lpc_ich
mei
shpchp
pps_core
mfd_core
i2c_smbus
wmi
acpi_power_meter
acpi_pad
button
ipmi_si
ipmi_poweroff
ipmi_devintf
ipmi_msghandler
fuse
drbd
lru_cache
libcrc32c
crc32c_generic
autofs4
ext4
crc16
jbd2
fscrypto
mbcache
dm_mod
md_mod
sd_mod
crc32c_intel
aesni_intel
aes_x86_64
glue_helper
lrw
gf128mul
ablk_helper
cryptd
ahci
libahci
libata
scsi_mod

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation Haswell-E DMI2 [8086:2f00] (rev 
02)
Subsystem: ASRock Incorporation Device [1849:2f00]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 

00:01.0 PCI bridge [0604]: Intel Corporat

Re: Enhancement of unsupported adapters

2017-08-04 Thread Steve McIntyre
On Fri, Jul 28, 2017 at 02:37:47PM +0200, Thomas Völker wrote:
>Dear  sirs,
>
>after a disaster with windows on my HP x2 10-k000ng was Debian my last hope
>to avoid a hardware scrap.
>So after installtion of Debian 9 i386 I can work at least offline.
>Do you think it is possible to integrate the github fix for the realtek
>adapter rtl8723bs with SDIO supporrt into the unsupported part of the debian
>distribution?

Hi Thomas,

The Debian-CD list isn't the best place for this kind of
request. You're better off talking to the kernel maintainers - see the
CC above...

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"C++ ate my sanity" -- Jon Rabone



Processed: notfound 861477 in 4.9.18-1

2017-08-04 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> notfound 861477 4.9.18-1
Bug #861477 {Done: Salvatore Bonaccorso } [src:linux] 
linux-image-4.9.0-2-amd64: Single-frame blanking/flickering (i915)
No longer marked as found in versions linux/4.9.18-1.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
861477: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861477
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#861477: Bug traced to hardware issue - please close

2017-08-04 Thread Salvatore Bonaccorso
Control: -1 notfound 4.9.18-1

Hi

On Fri, Aug 04, 2017 at 10:43:54AM +0200, r...@gmx.co.uk wrote:
> The bug was traced to a hardware problem, so can be closed.  Thanks!

Thanks for confirming that. Doing so now.

Regards,
Salvatore



Bug#861477: marked as done (linux-image-4.9.0-2-amd64: Single-frame blanking/flickering (i915))

2017-08-04 Thread Debian Bug Tracking System
Your message dated Fri, 4 Aug 2017 14:34:08 +0200
with message-id <20170804123407.2ddkxfu3zlx7b...@lorien.valinor.li>
and subject line Re: Bug#861477: Bug traced to hardware issue - please close
has caused the Debian Bug report #861477,
regarding linux-image-4.9.0-2-amd64: Single-frame blanking/flickering (i915)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
861477: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861477
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:linux
Version: 4.9.18-1
Severity: important
Tags: upstream

Dear Maintainer,

I believe I have a bug that has not been reported.  There are other bugs 
involving i915 flickering but I haven't found one that seems to describe these 
circumstances or that offers a fix that worked in this situation.

The problem is that the screen blanks for approximately a single frame 
intermittently.  When the computer is cold, either first switched on or 
resuming from suspend the blanking is at a rate (that varies apparently 
randomly) of approximately 5Hz-10Hz but after a period of approximately a 
minute or two this settles down to a slower rate, somewhere in the region of 
0.5 - 0.1Hz, with occasional bursts of 5-10Hz activity.  In all cases the 
blanking happens in an apparently random and irregular (but bursty) pattern.

   * What led up to the situation?
Installation of Debian Stretch on a new (so no prior working state for 
comparison) Acer Switch Alpha

   * What exactly did you do (or not do) that was effective (or ineffective)?
apt-get purge xserver-xorg-video-intel
Result: no change in behaviour.

Boot with i915.enable_psr=0
Result: no change in behaviour.

Boot with i915.enable_rc6=0
Result: no change in behaviour.

Boot with i915.modeset=0
Result: Flickering reduced to horizontal black lines across screen 
rather than whole-screen blank.  The flickering is much less frequent and there 
is no output in kern.log (with drm.debug=0x1e) when the screen does flicker - I 
think the flickering in this case may be another (possibly entirely unrelated) 
issue.

Boot linux-image-4.10.0-rc6-amd64 from experimental
Result: no change in behaviour (and identical log messages with 
drm.debug=0x1e).

Boot linux-image-3.16.0-4-amd64
Result: Same effect as booting 4.9 with i915.modeset=0.

The screen appears to blank more frequently when displaying a mostly white 
screen rather than a mostly black screen and also after the computer has been 
off or suspended for a while (i.e. is physically cold).

Please let me know if there is anything I can do to assist in identifying the 
source of this problem.

-- Package-specific info:
** Version:
Linux version 4.9.0-2-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 
20170321 (Debian 6.3.0-11) ) #1 SMP Debian 4.9.18-1 (2017-03-30)

** Command line:
BOOT_IMAGE=/vmlinuz-4.9.0-2-amd64 
root=UUID=6cb64915-1a3d-457f-993a-0e9bebf5c9ae ro quiet

** Not tainted

** Kernel log:
The following is dumped into /var/log/kern.log once for each time the screen 
blanks when kernel is booted with drm.debug=0x1e:

Apr 27 06:57:25 switch kernel: [  242.129803] [drm:intel_get_hpd_pins [i915]] 
hotplug event received, stat 0x0100, dig 0x11101010, pins 0x0010
Apr 27 06:57:25 switch kernel: [  242.129857] [drm:intel_hpd_irq_handler 
[i915]] digital hpd port A - short
Apr 27 06:57:25 switch kernel: [  242.129945] [drm:intel_dp_hpd_pulse [i915]] 
got hpd irq on port A - short
Apr 27 06:57:25 switch kernel: [  242.130554] [drm:intel_dp_read_dpcd [i915]] 
DPCD: 11 0a 84 41 00 00 01 c0 02 03 00 00 00 0b 00
Apr 27 06:57:25 switch kernel: [  242.131744] [drm:intel_dp_check_link_status 
[i915]] DDI A: channel EQ not ok, retraining
Apr 27 06:57:25 switch kernel: [  242.132801] [drm:intel_dp_set_signal_levels 
[i915]] Using signal levels 
Apr 27 06:57:25 switch kernel: [  242.132864] [drm:intel_dp_set_signal_levels 
[i915]] Using vswing level 0
Apr 27 06:57:25 switch kernel: [  242.132924] [drm:intel_dp_set_signal_levels 
[i915]] Using pre-emphasis level 0
Apr 27 06:57:25 switch kernel: [  242.132985] 
[drm:intel_dp_program_link_training_pattern [i915]] Using DP training pattern 
TPS1
Apr 27 06:57:25 switch kernel: [  242.133765] [drm:intel_dp_start_link_train 
[i915]] clock recovery OK
Apr 27 06:57:25 switch kernel: [  242.133825] 
[drm:intel_dp_program_link_training_pattern [i915]] Using DP training pattern 
TPS2
Apr 27 06:57:25 switch kernel: [  242.134930] [drm:intel_dp_set_signal_l

Bug#870703: linux-image-4.11.0-1-amd64: external USB mouse and touchscreen don't work

2017-08-04 Thread Michael Becker
Package: src:linux
Version: 4.11.6-1
Severity: normal

Kernel 4.9 enables external USB mouse, touch screen and touch pad
Kernel 4.11 enables touch pad only


-- Package-specific info:
** Version:
Linux version 4.11.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version 
6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.11.6-1 (2017-06-19)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-4.11.0-1-amd64 
root=UUID=62f3ca76-5fda-4226-baa3-13a0ecc6de46 ro quiet

** Not tainted

** Kernel log:
[1.817977] input: HDA Intel PCH Headphone Mic as 
/devices/pci:00/:00:1b.0/sound/card1/input10
[1.820656] input: PC Speaker as /devices/platform/pcspkr/input/input11
[1.825015] ACPI: Battery Slot [BAT0] (battery present)
[1.827913] wmi: Mapper loaded
[1.830584] iwlwifi :02:00.0: Detected Intel(R) Dual Band Wireless AC 
7260, REV=0x144
[1.832384] [drm] Initialized i915 1.6.0 20170123 for :00:02.0 on minor 0
[1.832697] iwlwifi :02:00.0: L1 Enabled - LTR Enabled
[1.832956] iwlwifi :02:00.0: L1 Enabled - LTR Enabled
[1.834070] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[1.834622] input: Video Bus as 
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input12
[1.836060] RAPL PMU: API unit is 2^-32 Joules, 4 fixed counters, 655360 ms 
ovfl timer
[1.836062] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
[1.836063] RAPL PMU: hw unit of domain package 2^-14 Joules
[1.836063] RAPL PMU: hw unit of domain dram 2^-14 Joules
[1.836064] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules
[1.844736] snd_hda_intel :00:03.0: bound :00:02.0 (ops 
i915_audio_component_bind_ops [i915])
[1.853671] dcdbas dcdbas: Dell Systems Management Base Driver (version 
5.6.0-3.2)
[1.854441] Adding 7811068k swap on /dev/sda7.  Priority:-1 extents:1 
across:7811068k SSFS
[1.854662] tsc: Refined TSC clocksource calibration: 2394.457 MHz
[1.854669] clocksource: tsc: mask: 0x max_cycles: 
0x2283c360c9e, max_idle_ns: 440795302742 ns
[1.855141] fbcon: inteldrmfb (fb0) is primary device
[1.907019] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: 
(null)
[1.908617] iTCO_vendor_support: vendor-support=0
[1.909206] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[1.909255] iTCO_wdt: Found a Lynx Point_LP TCO device (Version=2, 
TCOBASE=0x1860)
[1.909349] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[1.911537] EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: 
(null)
[1.912386] intel_rapl: Found RAPL domain package
[1.912387] intel_rapl: Found RAPL domain core
[1.912388] intel_rapl: Found RAPL domain uncore
[1.912388] intel_rapl: Found RAPL domain dram
[1.921463] systemd-journald[249]: Received request to flush runtime journal 
from PID 1
[1.925998] dell_wmi: Detected Dell WMI interface version 0
[1.926046] input: Dell WMI hotkeys as /devices/virtual/input/input13
[1.941444] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: 
(null)
[1.953751] usb 2-5: New USB device found, idVendor=1bcf, idProduct=28ac
[1.953753] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[1.953754] usb 2-5: Product: Integrated_Webcam_HD
[2.041888] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[2.043640] iwlwifi :02:00.0 wlp2s0: renamed from wlan0
[2.074680] usb 2-6: new full-speed USB device number 5 using xhci_hcd
[2.216400] usb 2-6: New USB device found, idVendor=8087, idProduct=07dc
[2.216403] usb 2-6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[2.246878] media: Linux media interface: v0.10
[2.246911] Bluetooth: Core ver 2.22
[2.246926] NET: Registered protocol family 31
[2.246927] Bluetooth: HCI device and connection manager initialized
[2.246929] Bluetooth: HCI socket layer initialized
[2.246931] Bluetooth: L2CAP socket layer initialized
[2.246936] Bluetooth: SCO socket layer initialized
[2.249835] input: SYNAPTICS Synaptics Large Touch Screen as 
/devices/pci:00/:00:14.0/usb2/2-3/2-3:1.0/0003:06CB:0AF8.0003/input/input15
[2.249903] Linux video capture interface: v2.00
[2.251164] hid-multitouch 0003:06CB:0AF8.0003: input,hiddev0,hidraw2: USB 
HID v1.11 Mouse [SYNAPTICS Synaptics Large Touch Screen] on 
usb-:00:14.0-3/input0
[2.252733] usbcore: registered new interface driver btusb
[2.257696] uvcvideo: Found UVC 1.00 device Integrated_Webcam_HD (1bcf:28ac)
[2.265818] uvcvideo 2-5:1.0: Entity type for entity Extension 4 was not 
initialized!
[2.265820] uvcvideo 2-5:1.0: Entity type for entity Extension 3 was not 
initialized!
[2.265822] uvcvideo 2-5:1.0: Entity type for entity Processing 2 was not 
initialized!
[2.265824] uvcvideo 2-5:1.0: Entity type for entity Camera 1 was not 
initialized!
[2.265932] input: Integrated_Webcam_HD as 
/devices/pci:00/:00:14.0/

Bug#870598: lvm.conf

2017-08-04 Thread Harald Dunkel
On Thu, 3 Aug 2017 11:17:04 +
Daniel Sobe  wrote:

> Providing lvm.conf for both Debian 8 and Debian 9 as suggested. I'm not aware 
> of any modifications to them.
> 
> 

I am not sure if this is your problem, but I would suggest to 
tell lvm2 to ignore the raw devices and to scan only the drbd
volumes. See 

https://docs.linbit.com/doc/users-guide-84/s-lvm-drbd-as-pv/

for example. On my hosts I have set global_filter instead:

diff --git a/lvm/lvm.conf b/lvm/lvm.conf
index 1b7ad9a..38137fe 100644
--- a/lvm/lvm.conf
+++ b/lvm/lvm.conf
@@ -124,6 +124,7 @@ devices {
 # above. Devices that fail the global_filter are not even opened by LVM.
 
 # global_filter = []
+global_filter = [ "a|/dev/drbd|", "r|.*|" ]
 
 # The results of the filtering are cached on disk to avoid
 # rescanning dud devices (which can take a very long time).
@@ -139,7 +140,7 @@ devices {
 cache_file_prefix = ""
 
 # You can turn off writing this cache file by setting this to 0.
-write_cache_state = 1
+write_cache_state = 0
 
 # Advanced settings.
 

Hope this helps. Regards
Harri



Bug#870694: rpc.svcgssd should silently exit

2017-08-04 Thread Harald Dunkel
Package: nfs-common
Version: 1:1.3.4-2.1

I am using NFS without Kerberos. Problem:

Aug  4 10:32:53 il06 rpc.svcgssd[18935]: ERROR: GSS-API: error in 
gss_acquire_cred(): GSS_S_FAILURE (Unspecified GSS failure.  Minor code may 
provide more information) - No key table entry found matching nfs/@
Aug  4 10:32:53 il06 rpc.svcgssd[18935]: unable to obtain root (machine) 
credentials
Aug  4 10:32:53 il06 rpc.svcgssd[18935]: do you have a keytab entry for 
nfs/@ in /etc/krb5.keytab?

This makes "systemctl status" report a degraded system:

il06:/var/log# systemctl status rpc-svcgssd.service
* rpc-svcgssd.service - RPC security service for NFS server
   Loaded: loaded (/lib/systemd/system/rpc-svcgssd.service; static; vendor 
preset: enabled)
   Active: failed (Result: exit-code) since Fri 2017-08-04 10:30:44 CEST; 7min 
ago
  Process: 18328 ExecStart=/usr/sbin/rpc.svcgssd $SVCGSSDARGS (code=exited, 
status=1/FAILURE)

Aug 04 10:30:44 il06.ac.aixigo.de systemd[1]: Starting RPC security service for 
NFS server...
Aug 04 10:30:44 il06.ac.aixigo.de systemd[1]: rpc-svcgssd.service: Control 
process exited, code=exited status=1
Aug 04 10:30:44 il06.ac.aixigo.de systemd[1]: Failed to start RPC security 
service for NFS server.
Aug 04 10:30:44 il06.ac.aixigo.de systemd[1]: rpc-svcgssd.service: Unit entered 
failed state.
Aug 04 10:30:44 il06.ac.aixigo.de systemd[1]: rpc-svcgssd.service: Failed with 
result 'exit-code'.


Would you mind to fix the conditions in rpc-svcgssd.service
accordingly?


Thanx in advance
Harri



Bug#861477: Bug traced to hardware issue - please close

2017-08-04 Thread rnd1
The bug was traced to a hardware problem, so can be closed.  Thanks!



Miksi minulle on lähetetty lisälasku!!!!

2017-08-04 Thread Tomas Ukkonen
Toimintanne on epäilyttävää.
Minulle tuli teiltä lasku jonka eräpäivä oli 30.5. Olin Suomessa 
touko-kesäkuussa ja laskua ei tullut tuolloin. Kun olin matkoilla sain laskun 
tietooni ja maksoin laskun silti välittömästi.
Tästäkin huolimatta minulle tulee vieläkin joku 30 euron lisälasku ja Fortum(?) 
tuntuu haluavan kehitellä kaiken maailman kuvioita saada asiakkaistaan lisää 
rahaa ja tuhota asiakkaitaan.
Maksoin laskun.
Tomas Ukkonen
tomas.ukko...@iki.fi

Bug#870691: linux-image bug

2017-08-04 Thread 张永肃
Package: linux-image-3.16.0-4-amd64

Version: 3.16.43-2+deb8u2

kernel panic on tty driver:

[  306.962357] BUG: unable to handle kernel paging request at 7f78bcc12000
[  306.962595] IP: [] memcpy+0x6/0x110
[  306.962758] PGD 846260067 PUD 832d46067 PMD 832cc8067 PTE 0
[  306.963130] Oops:  [#1] SMP
[  306.963354] Modules linked in: ipt_MASQUERADE 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
bridge aufs(C) 8021q garp stp mrp llc ipmi_devintf
x86_pkg_temp_thermal coretemp kvm_intel kvm iTCO_wdt
iTCO_vendor_support mxm_wmi crc32_pclmul evdev dcdbas aesni_intel
aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ttm
drm_kms_helper drm i2c_algo_bit pcspkr i2c_core lpc_ich mei_me
mfd_core mei shpchp ipmi_si ipmi_msghandler wmi processor
acpi_power_meter thermal_sys button autofs4 ext4 crc16 mbcache jbd2 sg
sd_mod crc_t10dif crct10dif_generic crct10dif_pclmul crct10dif_common
ahci crc32c_intel libahci libata ehci_pci xhci_hcd ehci_hcd ixgbe dca
ptp usbcore pps_core scsi_mod mdio usb_common
[  306.969565]
[  306.969640] CPU: 0 PID: 2209 Comm: apt-get Tainted: G C
3.16.0-4-amd64 #1 Debian 3.16.43-2+deb8u2
[  306.969737] Hardware name: Dell Inc. PowerEdge C6320/082F9M, BIOS
2.1.5 04/12/2016
[  306.969827] task: 88085305c190 ti: 880852428000 task.ti:
880852428000
[  306.969939] RIP: 0010:[]  []
memcpy+0x6/0x110
[  306.970144] RSP: 0018:88085242bd80  EFLAGS: 00010246
[  306.970251] RAX: 88085291b000 RBX:  RCX: 0002
[  306.970361] RDX: 0002 RSI: 7f78bcc12000 RDI: 88085291b000
[  306.970472] RBP: 7f78bcc12002 R08: 0002 R09: 
[  306.970583] R10: 0002 R11: 0fc9 R12: 0002
[  306.970694] R13: 1000 R14: 88085666e6c0 R15: 
[  306.970805] FS:  7f78bcc08740() GS:88087f20()
knlGS:
[  306.970939] CS:  0010 DS:  ES:  CR0: 80050033
[  306.971047] CR2: 7f78bcc12000 CR3: 000854af6000 CR4: 003407f0
[  306.971158] DR0:  DR1:  DR2: 
[  306.971268] DR3:  DR6: fffe0ff0 DR7: 0400
[  306.971379] Stack:
[  306.971477]  81375053 88085666e6c8 008800011208
88085666e6c0
[  306.971896]  c90019295000 881048f1e400 7f78bcc12000

[  306.972315]  0001 c90019295000 8136e3d6
7fff
[  306.972734] Call Trace:
[  306.972840]  [] ? tty_audit_add_data+0x173/0x3a0
[  306.972950]  [] ? n_tty_read+0x826/0xb70
[  306.973061]  [] ? wake_up_state+0x10/0x10
[  306.973168]  [] ? tty_read+0x88/0x100
[  306.973276]  [] ? vfs_read+0x93/0x170
[  306.973383]  [] ? SyS_read+0x42/0xa0
[  306.973492]  [] ? __audit_syscall_exit+0x1f6/0x2a0
[  306.973606]  [] ? system_call_fast_compare_end+0x10/0x15
[  306.973808] Code: 43 50 88 43 4e 5b c3 66 0f 1f 44 00 00 e8 03 fc
ff ff 48 8b 43 58 48 2b 43 50 88 43 4e eb e6 90 90 90 90 90 90 48 89
f8 48 89 d1  a4 c3 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 20 4c 8b 06
4c 8b
[  306.978655] RIP  [] memcpy+0x6/0x110
[  306.978834]  RSP 
[  306.978935] CR2: 7f78bcc12000


I can reproduce this issue by add pam_tty_audit.so in the /etc/pam.d/sshd,
like this:
*session   required pam_tty_audit.so disable=* enable=root*

following the trace:
n_tty_read -> canon_copy_from_read_buf -> tty_copy_to_user ->
tty_copy_to_user

the usr space addr  is used as the kernel addr directly.

check kernel version 4.4 the code has been changed.

this patch below is ok for me:

diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c
index 9ab5c40..f7fbe7d 100644
--- a/drivers/tty/n_tty.c
+++ b/drivers/tty/n_tty.c
@@ -168,7 +168,7 @@ static inline int tty_copy_to_user(struct tty_struct
*tty,
 {
  struct n_tty_data *ldata = tty->disc_data;

- tty_audit_add_data(tty, from, n, ldata->icanon);
+ tty_audit_add_data(tty, to, n, ldata->icanon);
  return copy_to_user(to, from, n);
 }