Kernel error caused internet disconnect

virtualization
v7

(Till) #1

NethServer Version: NethServer release 7.4.1708 (Final)
Kernel Version: 3.10.0-693.11.1.el7.x86_64

Hi,

some days ago i updatet my kernel to version 3.10.0-693.11.1.el7.x86_64 . Yesterday I had a short outage of my internet connection which caused me to take a look at the logs. I noticed that there was a kernel error:

Dec 17 20:30:42 net01 kernel: ------------[ cut here ]------------
Dec 17 20:30:42 net01 kernel: WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:300 dev_watchdog+0x242/0x250
Dec 17 20:30:42 net01 kernel: NETDEV WATCHDOG: ens18 (e1000): transmit queue 0 timed out
Dec 17 20:30:42 net01 kernel: Modules linked in: arc4 md4 nls_utf8 cifs dns_resolver binfmt_misc authenc xt_recent ipt_REJECT nf_reject_ipv4 xt_TCPMSS xt_multiport xt_conntrack xt_addrtype xt_mark ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_nat xt_comment xt_policy xt_CT cls_u32 cls_flow cls_fw sch_sfq sch_prio drbg ansi_cprng rmd160 crypto_null bridge xt_NFLOG xt_LOG nf_log_ipv4 nf_log_common nf_nat_tftp ip_vti ip_tunnel nf_nat_snmp_basic nf_conntrack_snmp af_key nf_nat_sip ah6 ah4 esp6 esp4 xfrm4_mode_beet xfrm4_tunnel tunnel4 nf_nat_pptp nf_nat_proto_gre xfrm4_mode_tunnel xfrm4_mode_transport nf_nat_irc nf_nat_h323 xfrm6_mode_transport nf_nat_ftp xfrm6_mode_ro xfrm6_mode_beet xfrm6_mode_tunnel nf_nat_amanda ipcomp ts_kmp nf_conntrack_amanda ipcomp6 xfrm6_tunnel tunnel6 xfrm_ipcomp nf_conntrack_sane nf_conntrack_tftp
Dec 17 20:30:42 net01 kernel: nf_conntrack_sip nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp cmac xt_state camellia_generic iptable_raw iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack cast6_generic iptable_mangle cast5_generic cast_common deflate cts gcm ccm serpent_sse2_x86_64 serpent_generic blowfish_generic blowfish_common twofish_generic xts twofish_x86_64 twofish_common nfnetlink_queue xcbc nfnetlink_log nfnetlink bluetooth sha512_generic mcryptd rfkill des_generic lrw gf128mul glue_helper ablk_helper cryptd tun iptable_filter pppoe pppox ppp_synctty ppp_async crc_ccitt ppp_generic slhc 8021q garp mrp stp llc nfsd auth_rpcgss ppdev pcspkr joydev nfs_acl lockd grace virtio_balloon
Dec 17 20:30:42 net01 kernel: sg parport_pc parport shpchp i2c_piix4 sunrpc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic sr_mod cdrom crct10dif_common ata_generic pata_acpi virtio_net cirrus drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm ata_piix serio_raw e1000 libata virtio_pci i2c_core virtio_ring virtio floppy dm_mirror dm_region_hash dm_log dm_mod
Dec 17 20:30:42 net01 kernel: CPU: 2 PID: 0 Comm: swapper/2 Not tainted 3.10.0-693.11.1.el7.x86_64 #1
Dec 17 20:30:42 net01 kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014
Dec 17 20:30:42 net01 kernel: ffff8800dbb03d78 97d8d41d11bb77a7 ffff8800dbb03d28 ffffffff816a3e61
Dec 17 20:30:42 net01 kernel: ffff8800dbb03d68 ffffffff810879d8 0000012c810c7705 0000000000000000
Dec 17 20:30:42 net01 kernel: ffff8800d731c000 0000000000000001 ffff880036676280 0000000000000002
Dec 17 20:30:42 net01 kernel: Call Trace:
Dec 17 20:30:42 net01 kernel: <IRQ>  [<ffffffff816a3e61>] dump_stack+0x19/0x1b

Any ideas whats going wrong here?


(Stefano Zamboni) #2

well, first of all I’d start telling us how is your server configured… I mean: real server or virtual one? which kind of nic?
usually this kind of issue is hw related


(Till) #3

I´m running nethserver on a proxmox node as a virtual server. Proxmox Version is: 4.1-1/2f9650d4

Here are the Hardware specs that are assigned to the nethserver VM:

Different interface drivers because of perfomance problems.


(Michael Kicks) #4

I do not use ProxMox, but as far as i can remember, in VmWare enviroment e1000 driver is not part of best practice expecially using Linux; vmxnet3 is far preferred.

I see net0 served by a e1000 driver and net1 served by virtio driver.
Which is your internet connection?


(Till) #5

Net0 is my Internet connection. Which driver should i use for this adapter?


(Michael Kicks) #6

Again i do not use ProxMox, therefore what i am suggesting could be a bad idea:
shutdown the server and change driver, trying with virtio?