Mailing List Archive

Kernel panics after upgrading to pf_ring 6.4.1
Hello all,


I'm attempting to upgrade pf_ring via the stable rpm packages to 6.4.1. The RPMs install (with errors noted in the pfring package installation) as shown below. However, when I attempt to start the pf_ring service the box kernel panics and gets into a reboot loop. I've attempted removing pf_ring entirely and reinstalling but so far that has not helped. This is a RHEL 7 box. Any ideas?


$ sudo yum install *.rpm

Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-manager

This system is receiving updates from RHN Classic or Red Hat Satellite.

Examining e1000e-zc-3.2.7.1.783-dkms.noarch.rpm: e1000e-zc-3.2.7.1.783-dkms.noarch

Marking e1000e-zc-3.2.7.1.783-dkms.noarch.rpm to be installed

Examining i40e-zc-1.5.18.783-1dkms.noarch.rpm: i40e-zc-1.5.18.783-1dkms.noarch

Marking i40e-zc-1.5.18.783-1dkms.noarch.rpm to be installed

Examining igb-zc-5.3.3.5.783-dkms.noarch.rpm: igb-zc-5.3.3.5.783-dkms.noarch

Marking igb-zc-5.3.3.5.783-dkms.noarch.rpm to be installed

Examining ixgbe-zc-4.1.5.783-dkms.noarch.rpm: ixgbe-zc-4.1.5.783-dkms.noarch

Marking ixgbe-zc-4.1.5.783-dkms.noarch.rpm to be installed

Examining pfring-6.4.1-783.x86_64.rpm: pfring-6.4.1-783.x86_64

Marking pfring-6.4.1-783.x86_64.rpm to be installed

Examining pfring-dkms-6.4.1-783.noarch.rpm: pfring-dkms-6.4.1-783.noarch

Marking pfring-dkms-6.4.1-783.noarch.rpm to be installed

Examining pfring-drivers-zc-dkms-1.2-0.noarch.rpm: pfring-drivers-zc-dkms-1.2-0.noarch

Marking pfring-drivers-zc-dkms-1.2-0.noarch.rpm to be installed

Resolving Dependencies

--> Running transaction check

---> Package e1000e-zc.noarch 0:3.2.7.1.783-dkms will be installed

---> Package i40e-zc.noarch 0:1.5.18.783-1dkms will be installed

---> Package igb-zc.noarch 0:5.3.3.5.783-dkms will be installed

---> Package ixgbe-zc.noarch 0:4.1.5.783-dkms will be installed

---> Package pfring.x86_64 0:6.4.1-783 will be installed

---> Package pfring-dkms.noarch 0:6.4.1-783 will be installed

---> Package pfring-drivers-zc-dkms.noarch 0:1.2-0 will be installed

--> Finished Dependency Resolution


Dependencies Resolved


==============================================================================================================================

Package Arch Version Repository Size

==============================================================================================================================

Installing:

e1000e-zc noarch 3.2.7.1.783-dkms /e1000e-zc-3.2.7.1.783-dkms.noarch 1.1 M

i40e-zc noarch 1.5.18.783-1dkms /i40e-zc-1.5.18.783-1dkms.noarch 2.1 M

igb-zc noarch 5.3.3.5.783-dkms /igb-zc-5.3.3.5.783-dkms.noarch 1.3 M

ixgbe-zc noarch 4.1.5.783-dkms /ixgbe-zc-4.1.5.783-dkms.noarch 1.7 M

pfring x86_64 6.4.1-783 /pfring-6.4.1-783.x86_64 8.9 M

pfring-dkms noarch 6.4.1-783 /pfring-dkms-6.4.1-783.noarch 336 k

pfring-drivers-zc-dkms noarch 1.2-0 /pfring-drivers-zc-dkms-1.2-0.noarch 0.0


Transaction Summary

==============================================================================================================================

Install 7 Packages


Total size: 15 M

Installed size: 15 M

Is this ok [y/d/N]: y

Downloading packages:

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

Installing : igb-zc-5.3.3.5.783-dkms.noarch 1/7

Loading new igb-zc-5.3.3.5.783 DKMS files...

Building for 3.10.0-327.22.2.el7.x86_64

Building initial module for 3.10.0-327.22.2.el7.x86_64

Done.


igb_zc:

Running module version sanity check.

- Original module

- No original module exists within this kernel

- Installation

- Installing to /lib/modules/3.10.0-327.22.2.el7.x86_64/extra/

Adding any weak-modules


depmod...


DKMS: install completed.

Installing : e1000e-zc-3.2.7.1.783-dkms.noarch 2/7

Loading new e1000e-zc-3.2.7.1.783 DKMS files...

Building for 3.10.0-327.22.2.el7.x86_64

Building initial module for 3.10.0-327.22.2.el7.x86_64

Done.


e1000e_zc:

Running module version sanity check.

- Original module

- No original module exists within this kernel

- Installation

- Installing to /lib/modules/3.10.0-327.22.2.el7.x86_64/extra/

Adding any weak-modules


depmod...


DKMS: install completed.

Installing : pfring-dkms-6.4.1-783.noarch 3/7

WARNING: /usr/lib64/dkms/common.postinst does not exist.

Loading new pfring-6.4.1 DKMS files...

Building for 3.10.0-327.22.2.el7.x86_64

Building initial module for 3.10.0-327.22.2.el7.x86_64

Done.


pf_ring:

Running module version sanity check.

Error! Module version 10B328F9F1629E7FEA39B4B for pf_ring.ko

is not newer than what is already found in kernel 3.10.0-327.22.2.el7.x86_64 (2529895847C1F1B8C2B43D8).

You may override by specifying --force.

Adding any weak-modules

modinfo: ERROR: Module /lib/modules/3.10.0-229.7.2.el7.x86_64/weak-updates/ not found.

modinfo: ERROR: Module /lib/modules/3.10.0-327.22.2.el7.x86_64/pf_ring.ko not found.

modprobe: FATAL: Module /lib/modules/3.10.0-327.22.2.el7.x86_64/pf_ring.ko not found.

Warning: Module pf_ring.ko from kernel has no modversions, so it cannot be reused for kernel 3.10.0-229.7.2.el7.x86_64

modinfo: ERROR: Module /lib/modules/3.10.0-229.el7.x86_64/weak-updates/ not found.

modinfo: ERROR: Module /lib/modules/3.10.0-327.22.2.el7.x86_64/pf_ring.ko not found.

modprobe: FATAL: Module /lib/modules/3.10.0-327.22.2.el7.x86_64/pf_ring.ko not found.

Warning: Module pf_ring.ko from kernel has no modversions, so it cannot be reused for kernel 3.10.0-229.el7.x86_64


depmod...


DKMS: install completed.

Installing : i40e-zc-1.5.18.783-1dkms.noarch 4/7

Loading new i40e-zc-1.5.18.783 DKMS files...

Building for 3.10.0-327.22.2.el7.x86_64

Building initial module for 3.10.0-327.22.2.el7.x86_64

Done.


i40e_zc:

Running module version sanity check.

- Original module

- No original module exists within this kernel

- Installation

- Installing to /lib/modules/3.10.0-327.22.2.el7.x86_64/extra/

Adding any weak-modules


depmod...


DKMS: install completed.

Installing : ixgbe-zc-4.1.5.783-dkms.noarch 5/7

Loading new ixgbe-zc-4.1.5.783 DKMS files...

Building for 3.10.0-327.22.2.el7.x86_64

Building initial module for 3.10.0-327.22.2.el7.x86_64

Done.


ixgbe_zc:

Running module version sanity check.

- Original module

- No original module exists within this kernel

- Installation

- Installing to /lib/modules/3.10.0-327.22.2.el7.x86_64/extra/

Adding any weak-modules


depmod...


DKMS: install completed.

Installing : pfring-drivers-zc-dkms-1.2-0.noarch 6/7

Installing : pfring-6.4.1-783.x86_64 7/7

Verifying : ixgbe-zc-4.1.5.783-dkms.noarch 1/7

Verifying : i40e-zc-1.5.18.783-1dkms.noarch 2/7

Verifying : pfring-dkms-6.4.1-783.noarch 3/7

Verifying : pfring-drivers-zc-dkms-1.2-0.noarch 4/7

Verifying : e1000e-zc-3.2.7.1.783-dkms.noarch 5/7

Verifying : pfring-6.4.1-783.x86_64 6/7

Verifying : igb-zc-5.3.3.5.783-dkms.noarch 7/7


Installed:

e1000e-zc.noarch 0:3.2.7.1.783-dkms i40e-zc.noarch 0:1.5.18.783-1dkms igb-zc.noarch 0:5.3.3.5.783-dkms

ixgbe-zc.noarch 0:4.1.5.783-dkms pfring.x86_64 0:6.4.1-783 pfring-dkms.noarch 0:6.4.1-783

pfring-drivers-zc-dkms.noarch 0:1.2-0


Complete!


Thanks,

Derek

________________________________

This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
Re: Kernel panics after upgrading to pf_ring 6.4.1 [ In reply to ]
To answer my own issue, and document it for others in the future, the problem was due to some kernel module objects in /lib/modules/<kernel>/weak-modules and /lib/modules/<kernel>/extras that hadn't been properly removed at some point. Removing all associated pf_ring RPMs, removing these files, and reinstalling the RPMs resolved the issue.


________________________________
From: ntop-misc-bounces@listgateway.unipi.it <ntop-misc-bounces@listgateway.unipi.it> on behalf of Spransy, Derek <dsprans@emory.edu>
Sent: Friday, August 19, 2016 11:11 AM
To: 'ntop-misc@listgateway.unipi.it'
Subject: [Ntop-misc] Kernel panics after upgrading to pf_ring 6.4.1


Hello all,


I'm attempting to upgrade pf_ring via the stable rpm packages to 6.4.1. The RPMs install (with errors noted in the pfring package installation) as shown below. However, when I attempt to start the pf_ring service the box kernel panics and gets into a reboot loop. I've attempted removing pf_ring entirely and reinstalling but so far that has not helped. This is a RHEL 7 box. Any ideas?


$ sudo yum install *.rpm

Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-manager

This system is receiving updates from RHN Classic or Red Hat Satellite.

Examining e1000e-zc-3.2.7.1.783-dkms.noarch.rpm: e1000e-zc-3.2.7.1.783-dkms.noarch

Marking e1000e-zc-3.2.7.1.783-dkms.noarch.rpm to be installed

Examining i40e-zc-1.5.18.783-1dkms.noarch.rpm: i40e-zc-1.5.18.783-1dkms.noarch

Marking i40e-zc-1.5.18.783-1dkms.noarch.rpm to be installed

Examining igb-zc-5.3.3.5.783-dkms.noarch.rpm: igb-zc-5.3.3.5.783-dkms.noarch

Marking igb-zc-5.3.3.5.783-dkms.noarch.rpm to be installed

Examining ixgbe-zc-4.1.5.783-dkms.noarch.rpm: ixgbe-zc-4.1.5.783-dkms.noarch

Marking ixgbe-zc-4.1.5.783-dkms.noarch.rpm to be installed

Examining pfring-6.4.1-783.x86_64.rpm: pfring-6.4.1-783.x86_64

Marking pfring-6.4.1-783.x86_64.rpm to be installed

Examining pfring-dkms-6.4.1-783.noarch.rpm: pfring-dkms-6.4.1-783.noarch

Marking pfring-dkms-6.4.1-783.noarch.rpm to be installed

Examining pfring-drivers-zc-dkms-1.2-0.noarch.rpm: pfring-drivers-zc-dkms-1.2-0.noarch

Marking pfring-drivers-zc-dkms-1.2-0.noarch.rpm to be installed

Resolving Dependencies

--> Running transaction check

---> Package e1000e-zc.noarch 0:3.2.7.1.783-dkms will be installed

---> Package i40e-zc.noarch 0:1.5.18.783-1dkms will be installed

---> Package igb-zc.noarch 0:5.3.3.5.783-dkms will be installed

---> Package ixgbe-zc.noarch 0:4.1.5.783-dkms will be installed

---> Package pfring.x86_64 0:6.4.1-783 will be installed

---> Package pfring-dkms.noarch 0:6.4.1-783 will be installed

---> Package pfring-drivers-zc-dkms.noarch 0:1.2-0 will be installed

--> Finished Dependency Resolution


Dependencies Resolved


==============================================================================================================================

Package Arch Version Repository Size

==============================================================================================================================

Installing:

e1000e-zc noarch 3.2.7.1.783-dkms /e1000e-zc-3.2.7.1.783-dkms.noarch 1.1 M

i40e-zc noarch 1.5.18.783-1dkms /i40e-zc-1.5.18.783-1dkms.noarch 2.1 M

igb-zc noarch 5.3.3.5.783-dkms /igb-zc-5.3.3.5.783-dkms.noarch 1.3 M

ixgbe-zc noarch 4.1.5.783-dkms /ixgbe-zc-4.1.5.783-dkms.noarch 1.7 M

pfring x86_64 6.4.1-783 /pfring-6.4.1-783.x86_64 8.9 M

pfring-dkms noarch 6.4.1-783 /pfring-dkms-6.4.1-783.noarch 336 k

pfring-drivers-zc-dkms noarch 1.2-0 /pfring-drivers-zc-dkms-1.2-0.noarch 0.0


Transaction Summary

==============================================================================================================================

Install 7 Packages


Total size: 15 M

Installed size: 15 M

Is this ok [y/d/N]: y

Downloading packages:

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

Installing : igb-zc-5.3.3.5.783-dkms.noarch 1/7

Loading new igb-zc-5.3.3.5.783 DKMS files...

Building for 3.10.0-327.22.2.el7.x86_64

Building initial module for 3.10.0-327.22.2.el7.x86_64

Done.


igb_zc:

Running module version sanity check.

- Original module

- No original module exists within this kernel

- Installation

- Installing to /lib/modules/3.10.0-327.22.2.el7.x86_64/extra/

Adding any weak-modules


depmod...


DKMS: install completed.

Installing : e1000e-zc-3.2.7.1.783-dkms.noarch 2/7

Loading new e1000e-zc-3.2.7.1.783 DKMS files...

Building for 3.10.0-327.22.2.el7.x86_64

Building initial module for 3.10.0-327.22.2.el7.x86_64

Done.


e1000e_zc:

Running module version sanity check.

- Original module

- No original module exists within this kernel

- Installation

- Installing to /lib/modules/3.10.0-327.22.2.el7.x86_64/extra/

Adding any weak-modules


depmod...


DKMS: install completed.

Installing : pfring-dkms-6.4.1-783.noarch 3/7

WARNING: /usr/lib64/dkms/common.postinst does not exist.

Loading new pfring-6.4.1 DKMS files...

Building for 3.10.0-327.22.2.el7.x86_64

Building initial module for 3.10.0-327.22.2.el7.x86_64

Done.


pf_ring:

Running module version sanity check.

Error! Module version 10B328F9F1629E7FEA39B4B for pf_ring.ko

is not newer than what is already found in kernel 3.10.0-327.22.2.el7.x86_64 (2529895847C1F1B8C2B43D8).

You may override by specifying --force.

Adding any weak-modules

modinfo: ERROR: Module /lib/modules/3.10.0-229.7.2.el7.x86_64/weak-updates/ not found.

modinfo: ERROR: Module /lib/modules/3.10.0-327.22.2.el7.x86_64/pf_ring.ko not found.

modprobe: FATAL: Module /lib/modules/3.10.0-327.22.2.el7.x86_64/pf_ring.ko not found.

Warning: Module pf_ring.ko from kernel has no modversions, so it cannot be reused for kernel 3.10.0-229.7.2.el7.x86_64

modinfo: ERROR: Module /lib/modules/3.10.0-229.el7.x86_64/weak-updates/ not found.

modinfo: ERROR: Module /lib/modules/3.10.0-327.22.2.el7.x86_64/pf_ring.ko not found.

modprobe: FATAL: Module /lib/modules/3.10.0-327.22.2.el7.x86_64/pf_ring.ko not found.

Warning: Module pf_ring.ko from kernel has no modversions, so it cannot be reused for kernel 3.10.0-229.el7.x86_64


depmod...


DKMS: install completed.

Installing : i40e-zc-1.5.18.783-1dkms.noarch 4/7

Loading new i40e-zc-1.5.18.783 DKMS files...

Building for 3.10.0-327.22.2.el7.x86_64

Building initial module for 3.10.0-327.22.2.el7.x86_64

Done.


i40e_zc:

Running module version sanity check.

- Original module

- No original module exists within this kernel

- Installation

- Installing to /lib/modules/3.10.0-327.22.2.el7.x86_64/extra/

Adding any weak-modules


depmod...


DKMS: install completed.

Installing : ixgbe-zc-4.1.5.783-dkms.noarch 5/7

Loading new ixgbe-zc-4.1.5.783 DKMS files...

Building for 3.10.0-327.22.2.el7.x86_64

Building initial module for 3.10.0-327.22.2.el7.x86_64

Done.


ixgbe_zc:

Running module version sanity check.

- Original module

- No original module exists within this kernel

- Installation

- Installing to /lib/modules/3.10.0-327.22.2.el7.x86_64/extra/

Adding any weak-modules


depmod...


DKMS: install completed.

Installing : pfring-drivers-zc-dkms-1.2-0.noarch 6/7

Installing : pfring-6.4.1-783.x86_64 7/7

Verifying : ixgbe-zc-4.1.5.783-dkms.noarch 1/7

Verifying : i40e-zc-1.5.18.783-1dkms.noarch 2/7

Verifying : pfring-dkms-6.4.1-783.noarch 3/7

Verifying : pfring-drivers-zc-dkms-1.2-0.noarch 4/7

Verifying : e1000e-zc-3.2.7.1.783-dkms.noarch 5/7

Verifying : pfring-6.4.1-783.x86_64 6/7

Verifying : igb-zc-5.3.3.5.783-dkms.noarch 7/7


Installed:

e1000e-zc.noarch 0:3.2.7.1.783-dkms i40e-zc.noarch 0:1.5.18.783-1dkms igb-zc.noarch 0:5.3.3.5.783-dkms

ixgbe-zc.noarch 0:4.1.5.783-dkms pfring.x86_64 0:6.4.1-783 pfring-dkms.noarch 0:6.4.1-783

pfring-drivers-zc-dkms.noarch 0:1.2-0


Complete!


Thanks,

Derek

________________________________

This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).