Bug#882848: linux-image-4.9.0-4-amd64: BCM5720 (tg3) and 82574L (e1000e) network package drops and link flapping

2017-11-27 Thread Micha Krause
Package: src:linux
Version: 4.9.51-1
Severity: important

After updating from jessie to wheezy, links on the network cards
metioned are going down, and up again, the problem may be related to
network and/or system load.

e1000e shows this in dmesg:

[4407197.307140] e1000e: eth1 NIC Link is Down
[4407198.294613] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow
Control: Rx/Tx
[4407202.755796] e1000e: eth1 NIC Link is Down
[4407203.427024] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow
Control: Rx/Tx
[4407205.590696] e1000e: eth1 NIC Link is Down
[4407205.600296] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow
Control: Rx/Tx
[4407209.634976] e1000e: eth1 NIC Link is Down
[4407210.133811] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow
Control: Rx/Tx
[4407216.928986] e1000e: eth1 NIC Link is Down
[4407217.396624] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow
Control: Rx/Tx
[4407220.129411] e1000e: eth1 NIC Link is Down
[4407220.748194] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow
Control: Rx/Tx
[4407230.764708] e1000e: eth1 NIC Link is Down
[4407230.982423] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow
Control: Rx/Tx
[4407237.790262] e1000e: eth1 NIC Link is Down

tg3 shows this:

[3237869.564032] tg3 :02:00.1 eno4: Link is down
[3237869.564079] tg3 :02:00.1 eno4: speed changed to 0 for port eno4
[3237872.795490] tg3 :02:00.1 eno4: Link is up at 1000 Mbps, full
duplex
[3237872.795496] tg3 :02:00.1 eno4: Flow control is off for TX and
off for RX
[3237872.795497] tg3 :02:00.1 eno4: EEE is disabled
[3237875.491064] tg3 :02:00.1 eno4: Link is down
[3237875.491094] tg3 :02:00.1 eno4: speed changed to 0 for port eno4
[3237878.869322] tg3 :02:00.1 eno4: Link is up at 1000 Mbps, full
duplex
[3237878.869323] tg3 :02:00.1 eno4: Flow control is off for TX and
off for RX
[3237878.869324] tg3 :02:00.1 eno4: EEE is disabled
[3237913.666207] tg3 :02:00.1 eno4: Link is down
[3237913.666239] tg3 :02:00.1 eno4: speed changed to 0 for port eno4
[3237916.958499] tg3 :02:00.1 eno4: Link is up at 1000 Mbps, full
duplex
[3237916.958501] tg3 :02:00.1 eno4: Flow control is off for TX and
off for RX
[3237916.958502] tg3 :02:00.1 eno4: EEE is disabled
[3237923.556927] tg3 :02:00.1 eno4: Link is down
[3237923.556959] tg3 :02:00.1 eno4: speed changed to 0 for port eno4
[3237927.033749] tg3 :02:00.1 eno4: Link is up at 1000 Mbps, full
duplex
[3237927.033750] tg3 :02:00.1 eno4: Flow control is off for TX and
off for RX
[3237927.033751] tg3 :02:00.1 eno4: EEE is disabled


Port up times on the networking switch confirm that the link went down.


Allso both devices are showing a lot of dropped packages. (see network
data below)


Downgrading to a jessie kernel (3.16) resolves all issues.

A newer kernel from backports has the same issues.


-- Package-specific info:
** Version:
Linux version 4.9.0-4-amd64 (debian-ker...@lists.debian.org) (gcc version 6.3.0 
20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.51-1 (2017-09-28)

** Command line:
BOOT_IMAGE=/vmlinuz-4.9.0-4-amd64 root=/dev/mapper/vg00-root ro console=tty1 
console=ttyS0,115200n8 quiet

** Not tainted

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

** Model information
sys_vendor: Dell Inc.
product_name: PowerEdge R730xd
product_version: 
chassis_vendor: Dell Inc.
chassis_version: 
bios_vendor: Dell Inc.
bios_version: 2.4.3
board_vendor: Dell Inc.
board_name: 072T6D
board_version: A07

** Loaded modules:
binfmt_misc
bonding
cpufreq_powersave
ipmi_devintf
xfs
libcrc32c
iTCO_wdt
iTCO_vendor_support
mxm_wmi
dcdbas
intel_rapl
sb_edac
edac_core
x86_pkg_temp_thermal
intel_powerclamp
coretemp
mgag200
ttm
kvm_intel
drm_kms_helper
kvm
drm
sg
irqbypass
i2c_algo_bit
crct10dif_pclmul
crc32_pclmul
ghash_clmulni_intel
intel_cstate
intel_uncore
mei_me
ipmi_si
intel_rapl_perf
lpc_ich
pcspkr
mfd_core
mei
shpchp
evdev
ipmi_msghandler
wmi
tpm_crb
acpi_power_meter
button
ip_tables
x_tables
autofs4
ext4
crc16
jbd2
crc32c_generic
fscrypto
ecb
mbcache
dm_mod
sd_mod
crc32c_intel
aesni_intel
aes_x86_64
glue_helper
lrw
gf128mul
ablk_helper
cryptd
ehci_pci
ahci
ehci_hcd
libahci
libata
tg3
usbcore
megaraid_sas
ptp
usb_common
pps_core
libphy
scsi_mod

** Network interface configuration:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto bond0
iface bond0 inet static
address 10.210.32.35
gateway 10.210.32.1
netmask 255.255.255.0
bond-mode 4
bond-miimon 100
bond-downdelay 200
bond-updelay 200
bond-lacp-rate 1
bond-slaves eno1 eno2

auto bond1
iface bond1 inet static
address 10.210.96.35
netmask 255.255.255.0

Bug#858440: mongodb-server: mongodb users primary group is nogroup instead of mongodb, which is allso available

2017-03-22 Thread Micha Krause
Package: mongodb-server
Version: 1:2.4.10-5
Severity: minor

This Problem results in a restart loop in combination with this puppet module:

https://github.com/puppetlabs/puppetlabs-mongodb

The Puppet module checks, and fixes permissions in /var/lib/mongodb.
Because the puppet module detects changes, the mongodb process is reloaded.
This resoults in a journal-file to be recreated with mongodb:nogroup.
At the next Puppet run the cycle starts again.

I realise that my problem is very Puppet specific, however I think mongodb 
should
realy use the mongodb group.


-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mongodb-server depends on:
ii  adduser 3.113+nmu3
ii  init-system-helpers 1.22
ii  libboost-filesystem1.55.0   1.55.0+dfsg-3
ii  libboost-program-options1.55.0  1.55.0+dfsg-3
ii  libboost-system1.55.0   1.55.0+dfsg-3
ii  libboost-thread1.55.0   1.55.0+dfsg-3
ii  libc6   2.19-18+deb8u7
ii  libgcc1 1:4.9.2-10
ii  libgoogle-perftools42.2.1-0.2
ii  libpcre32:8.35-3.3+deb8u4
ii  libpcrecpp0 2:8.35-3.3+deb8u4
ii  libsnappy1  1.1.2-3
ii  libssl1.0.0 1.0.1t-1+deb8u6
ii  libstdc++6  4.9.2-10
ii  libv8-3.14.53.14.5.8-8.1
ii  mongodb-clients 1:2.4.10-5

mongodb-server recommends no packages.

mongodb-server suggests no packages.

-- Configuration Files:
/etc/mongodb.conf changed [not included]

-- no debconf information



Bug#787504: iptables-persistent: init script missing in jessie

2015-06-02 Thread Micha Krause
Package: iptables-persistent
Version: 1.0.3
Severity: grave
Justification: renders package unusable

root@jessie:~ # dpkg -L iptables-persistent
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/iptables-persistent
/usr/share/doc/iptables-persistent/README
/usr/share/doc/iptables-persistent/copyright
/usr/share/doc/iptables-persistent/changelog.gz
/usr/share/netfilter-persistent
/usr/share/netfilter-persistent/plugins.d
/usr/share/netfilter-persistent/plugins.d/15-ip4tables
/usr/share/netfilter-persistent/plugins.d/25-ip6tables
/etc
/etc/iptables


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages iptables-persistent depends on:
ii  debconf [debconf-2.0]  1.5.56
ii  iptables   1.4.21-2+b1
ii  netfilter-persistent   1.0.3

iptables-persistent recommends no packages.

iptables-persistent suggests no packages.

-- debconf information:
  iptables-persistent/autosave_v4: true
  iptables-persistent/autosave_v6: true


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



Bug#787504: iptables-persistent: init script missing in jessie

2015-06-02 Thread Micha Krause

Hi,

 Justification: renders package unusable


Not really, iptables-persistent is now a plugin to netfilter-persistent.


Thank you, in this Case the Documentation in 
/usr/share/doc/iptables-persistent/README should be updated.


Micha Krause


smime.p7s
Description: S/MIME cryptographic signature


Bug#758700: ifupdown-extra: /etc/network/if-up.d/10check-duplicate-ip uses arping for ipv6 addresses

2014-08-20 Thread Micha Krause
Package: ifupdown-extra
Version: 0.22
Severity: important
Tags: ipv6

twheezy:~ # ifup -v eth0
Configuring interface eth0=eth0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/vlan
ip addr add 10.2.0.84/255.255.0.0 broadcast 10.2.255.255  dev eth0 
label eth0
ip link set dev eth0   up
 ip route add default via 10.2.0.1  dev eth0 
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/00check-network-cable
run-parts: executing /etc/network/if-up.d/10check-duplicate-ip
root[31732]: DEBUG: Sending arp pings through eth0 (for eth0) to detect other 
systems using 10.2.0.84
run-parts: executing /etc/network/if-up.d/20static-routes
run-parts: executing /etc/network/if-up.d/30check-gateway
root[31763]: DEBUG: Sending arp pings through eth0 to detect if the gateway 
10.2.0.1 is present
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/bind9
run-parts: executing /etc/network/if-up.d/ethtool
run-parts: executing /etc/network/if-up.d/ip
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/upstart
Configuring interface eth0=eth0 (inet6)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/vlan
modprobe -q net-pf-10  /dev/null 21 || true # ignore failure.


sysctl -q -e -w net.ipv6.conf.eth0.autoconf=0
ip link set dev eth0   up
ip -6 addr add 2001:780:0:9:250:56ff:beef:5efa/64  dev eth0 

run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/00check-network-cable
run-parts: executing /etc/network/if-up.d/10check-duplicate-ip
root[31886]: DEBUG: Sending arp pings through eth0 (for eth0) to detect other 
systems using 2001:780:0:9:250:56ff:beef:5efa
arping: unknown host 2001:780:0:9:250:56ff:beef:5efa
root[31888]: ERROR: Duplicate address 2001:780:0:9:250:56ff:beef:5efa assigned 
in the network where eth0 is connected to.
run-parts: executing /etc/network/if-up.d/20static-routes
run-parts: executing /etc/network/if-up.d/30check-gateway
root[31909]: DEBUG: Sending arp pings through eth0 to detect if the gateway 
10.2.0.1 is present
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/bind9
run-parts: executing /etc/network/if-up.d/ethtool
run-parts: executing /etc/network/if-up.d/ip
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/upstart


-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ifupdown-extra depends on:
ii  bind9-host [host]1:9.8.4.dfsg.P1-6+nmu2+deb7u1
ii  dpkg 1.16.15
ii  host 1:9.8.4.dfsg.P1-6+nmu2+deb7u1
ii  iproute  20120521-3+b3
ii  iputils-arping   3:20101006-1+b1
ii  iputils-ping [ping]  3:20101006-1+b1
ii  net-tools1.60-24.2
ii  netcat-openbsd [netcat]  1.105-7
ii  netcat-traditional [netcat]  1.10-40

Versions of packages ifupdown-extra recommends:
ii  ethtool  1:3.4.2-1

ifupdown-extra suggests no packages.

-- Configuration Files:
/etc/network/if-up.d/10check-duplicate-ip changed [not included]

-- no debconf information


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



Bug#719072: btrfs-tools: manpage wrong text for filesystem df

2013-08-08 Thread Micha Krause
Package: btrfs-tools
Version: 0.19+20120328-7.1
Severity: minor

Manpage shows:

filesystem df path
Resize a filesystem identified by path.

Should be:

filesystem df path
Show space usage information for a mount point



-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to de_DE.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages btrfs-tools depends on:
ii  e2fslibs1.42.5-1.1
ii  libc6   2.13-38
ii  libcomerr2  1.42.5-1.1
ii  libuuid12.20.1-5.3
ii  zlib1g  1:1.2.7.dfsg-13

btrfs-tools recommends no packages.

btrfs-tools suggests no packages.

-- no debconf information


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



Bug#712764: dovecot-core: libnss_ldap.so not found

2013-06-19 Thread Micha Krause
Package: dovecot-core
Version: 1:2.1.7-7
Severity: normal

Dear Maintainer,

using dovecot with ldap:

userdb {
  args = service=ldap
  driver = nss
}

I get the following error written to the mail.log:

Jun 19 11:37:04 mailint1 dovecot: auth: Fatal: dlopen(/usr/lib/libnss_ldap.so) 
failed: /usr/lib/libnss_ldap.so: cannot open shared object file: No such file 
or directory
Jun 19 11:37:04 mailint1 dovecot: pop3-login: Disconnected: Auth process broken 
(disconnected before greeting, waited 0 secs): user=, rip=10.2.1.61, 
lip=10.2.0.37, TLS handshaking, session=txtIkn7kFwAKxgF9

Indeed the path of libnss_ldap.so changed to 
/usr/lib/x86_64-linux-gnu/libnss_ldap.so in wheezy.

I guess this change could fix the problem, but I have not tested it jet, and 
obviously works only for x86_64:

--- dovecot-2.1.7.orig/src/auth/userdb-nss.c
+++ dovecot-2.1.7/src/auth/userdb-nss.c
@@ -87,7 +87,7 @@ userdb_nss_load_module(struct nss_userdb
const char *name = module-nss_module.name;
char *path;
 
-   path = p_strdup_printf(pool, /usr/lib/libnss_%s.so, name);
+   path = p_strdup_printf(pool, /usr/lib/x86_64-linux-gnu/libnss_%s.so, 
name);
module-nss_module.handle = dlopen(path, RTLD_GLOBAL | RTLD_NOW);
if (module-nss_module.handle == NULL)
i_fatal(dlopen(%s) failed: %s, path, dlerror());


-- Package-specific info:

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dovecot-core depends on:
ii  adduser 3.113+nmu3
ii  libbz2-1.0  1.0.6-4
ii  libc6   2.13-38
ii  libpam-runtime  1.1.3-7.1
ii  libpam0g1.1.3-7.1
ii  libssl1.0.0 1.0.1e-2
ii  openssl 1.0.1e-2
ii  ucf 3.0025+nmu3
ii  zlib1g  1:1.2.7.dfsg-13

dovecot-core recommends no packages.

Versions of packages dovecot-core suggests:
pn  dovecot-gssapinone
ii  dovecot-imapd 1:2.1.7-7
ii  dovecot-ldap  1:2.1.7-7
pn  dovecot-lmtpd none
ii  dovecot-managesieved  1:2.1.7-7
pn  dovecot-mysql none
pn  dovecot-pgsql none
ii  dovecot-pop3d 1:2.1.7-7
ii  dovecot-sieve 1:2.1.7-7
pn  dovecot-solr  none
pn  dovecot-sqlitenone
ii  ntp   1:4.2.6.p5+dfsg-2

Versions of packages dovecot-core is related to:
ii  dovecot-core [dovecot-common]  1:2.1.7-7
pn  dovecot-dbgnone
pn  dovecot-devnone
pn  dovecot-gssapi none
ii  dovecot-imapd  1:2.1.7-7
ii  dovecot-ldap   1:2.1.7-7
pn  dovecot-lmtpd  none
ii  dovecot-managesieved   1:2.1.7-7
pn  dovecot-mysql  none
pn  dovecot-pgsql  none
ii  dovecot-pop3d  1:2.1.7-7
ii  dovecot-sieve  1:2.1.7-7
pn  dovecot-sqlite none

-- Configuration Files:
/etc/default/dovecot changed [not included]
/etc/dovecot/README [Errno 2] Datei oder Verzeichnis nicht gefunden: 
u'/etc/dovecot/README'
/etc/pam.d/dovecot changed [not included]

-- no debconf information


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



Bug#538975: bind9 dies with assertion failure (db.c:579)

2009-07-28 Thread Micha Krause
Package: bind9
Severity: normal


bind can be crashed with an update packet:

Packet in tcpdump:

15:38:11.676045 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: UDP 
(17), length: 178) 10.2.0.205.59447  10.2.0.205.53:  17378 update [1a] [1n] 
[1au] SOA? 8.0.10.in-addr.arpa. 8.8.0.10.in-addr.arpa. ANY ns: [|domain]

Another view of the Packet:

| ;; HEADER SECTION
| ;; id = 181
| ;; qr = 0opcode = UPDATErcode = NOERROR
| ;; zocount = 1  prcount = 1  upcount = 1  adcount = 1
|
| ;; ZONE SECTION (1 record)
| ;; 8.0.10.in-addr.arpa.   IN  SOA
|
| ;; PREREQUISITE SECTION (1 record)
| 4.8.0.10.in-addr.arpa.0   IN  ANY ; no data
|
| ;; UPDATE SECTION (1 record)
| 4.8.0.10.in-addr.arpa.0   ANY ANY ; no data
|
| ;; ADDITIONAL SECTION (1 record)
| office.example.com.0   ANY TSIGHMAC-MD5.SIG-ALG.REG.INT. 
NOERROR


Such a packet can be created with perl:

-

#!/usr/bin/perl -w

use Net::DNS;

our $NSI = 'dns server';
our $NSI_KEY_NAME = 'key name';
our $NSI_KEY = 'key';


my $rzone = 'zone';
my $rptr  = 1.$rzone;

my $packet = Net::DNS::Update-new($rzone);

$packet-push(
pre = Net::DNS::RR-new(
Name  = $rptr,
Class = 'IN',
Type  = 'ANY',
TTL   = 0,
)
);
$packet-push(
update = Net::DNS::RR-new(
Name  = $rptr,
Class = 'ANY',
Type  = 'ANY',
)
);

$packet-sign_tsig( $NSI_KEY_NAME, $NSI_KEY ) if $NSI_KEY_NAME  $NSI_KEY;


print $packet-string;

Net::DNS::Resolver-new( nameservers = [$NSI] )-send($packet);




bind only crashes, if the used fqdn exists on the nameserver.


-- System Information:
Debian Release: 5.0.2
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-xen-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



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