Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dpkg error: " dpkg: error processing package ice-zc-dkms (--configure): #746

Closed
utkarsh0902311047 opened this issue Aug 10, 2021 · 32 comments

Comments

@utkarsh0902311047
Copy link

Hi,
Since last week I am trying to update and upgrade Ubuntu 20.04 and I keep getting errors for dpkg.
I have attached the snapshot of the errors.

Please help
Screenshot from 2021-08-10 13-17-20

@cardigliano
Copy link
Member

@utkarsh0902311047 are you running Ubuntu server LTS with the default kernel? I see you are running kernel 5.11, it should be 5.8 (this is what Ubuntu 20 is running in our lab)

@utkarsh0902311047
Copy link
Author

I am using Ubuntu Desktop 20.04.2 LTS
So it won't work on Kernel 5.11?
Which kernel should I install from the image attached?
kernel_version

@cardigliano
Copy link
Member

I suggest to install 5.8 which is what is supposed to run on Ubuntu 20

@utkarsh0902311047
Copy link
Author

I have now set kernel 5.8 but still get the same errors.
Screenshot from 2021-08-10 18-00-11

@cardigliano
Copy link
Member

Could you provide one of the generated log files? (e.g. /var/lib/dkms/ixgbe-zc/5.5.3.6804/build/make.log)

@utkarsh0902311047
Copy link
Author

Here it is
make.log

@utkarsh0902311047
Copy link
Author

Please give any suggestions what should I try?

@cardigliano
Copy link
Member

It seems to be due to the kernel version, you are running a 5.8.0-050800-generic, the Ubuntu kernel version should look like 5.8.0-48-generic

@utkarsh0902311047
Copy link
Author

Ok now when I set the kernel to 5.8.0-63-generic, it gets updated properly. Thank you for helping with updating.
Now when I use the pf_ringcfg --configure-driver ice --rss-queues 4, cat /proc/net/pf_ring/dev/ens5f1/info shows zc driver but TX and RX queues still show 1. They should show 4 right?
Screenshot from 2021-08-12 22-07-40

@cardigliano
Copy link
Member

What pf_ring version are you using?
Please provide cat /etc/pf_ring/zc/ice/ice.conf
Please try with a reboot to make sure pf_ring is reloaded.

@utkarsh0902311047
Copy link
Author

Screenshot from 2021-08-12 22-16-52
PF_RING version 8.1.0. It automatically gets updated to 8.1.0 when I run apt-get update && apt-get upgrade

@cardigliano
Copy link
Member

Please try with a reboot to make sure pf_ring is reloaded.
After that please provide cat /proc/net/pf_ring/dev/ens5f1/info again.

@utkarsh0902311047
Copy link
Author

After reboot this is the output of the command cat /proc/net/pf_ring/dev/ens5f1/info
Screenshot from 2021-08-13 16-13-46

@cardigliano
Copy link
Member

The ice driver is not getting loaded, it looks like a misconfiguration, please provide:

tree /etc/pf_ring
cat /proc/net/pf_ring/info

@utkarsh0902311047
Copy link
Author

here it is
Screenshot from 2021-08-13 16-37-35

@cardigliano
Copy link
Member

Uhm you said "updated to 8.1.0", but 8.0.0 is loaded, please cleanup the environment

@cardigliano
Copy link
Member

and make sure ice-zc-dkms is installed

@utkarsh0902311047
Copy link
Author

Uhm you said "updated to 8.1.0", but 8.0.0 is loaded, please cleanup the environment

First I was trying with development builds which installs pfring 8.1.0
Since it was not giving satisfactory results I tried stable build.

Yes, this command I have already executed "apt-get install pfring-drivers-zc-dkms ".
Should I install development builds?

@cardigliano
Copy link
Member

Please do a "systemctl restart pf_ring" and provide me the output of "systemctl status pf_ring"

@utkarsh0902311047
Copy link
Author

It seems ice-zc driver not installed properly. But there was no error while installing. What should I do about it?
pf_ring_error1

@cardigliano
Copy link
Member

Please make sure the ice-zc-dkms package is installed.

apt-get update
apt-get install ice-zc-dkms

@utkarsh0902311047
Copy link
Author

utkarsh0902311047 commented Aug 16, 2021

I update and then apt-get install ice-zc-dkms says E: Unable to locate package ice-zc-dkms
Screenshot from 2021-08-16 16-12-01

@cardigliano
Copy link
Member

@utkarsh0902311047 it seems there is some misconfiguration, the ixe-zc-dkms package is actually available for Ubuntu 20 as you can see at https://packages.ntop.org/apt/20.04/all/ (it is working for me). Please try reconfiguring the repository.

@utkarsh0902311047
Copy link
Author

When I run this command "apt install ./apt-ntop.deb", I get the following message in the end. Should I ignore it?
N: Download is performed unsandboxed as root as file '/root/apt-ntop.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

@utkarsh0902311047
Copy link
Author

I have again download the repository from development build. The pf_ring version is now 7.9.0. The ice driver is installed.
But the queues it shows is still 1.
I have attached a snapshot of the commands
cat /proc/net/pf_ring/dev/ens5f1/info
cat /etc/pf_ring/zc/ice/ice.conf
cat /proc/net/pf_ring/info
Screenshot from 2021-08-18 14-08-10

@cardigliano
Copy link
Member

@utkarsh0902311047 please note the pf_ring version in the dev/nightly build repository is 8.1, this means there is some misconfiguration. If you installed latest packages, it is likely the pf_ring module has not been reloaded (or it has not been reinstalled by dkms, or there is some old pf_ring.ko module installed). First of all I would try with a system reboot. If the problem is still there, I would try playing with the dkms command to rebuild the pf_ring module.

@utkarsh0902311047
Copy link
Author

Ok done. Now what should I do to get the queues equal to 4?
Screenshot from 2021-08-18 15-09-09

@cardigliano
Copy link
Member

Set RSS=4,4 in /etc/pf_ring/zc/ice/ice.conf, then restart the pfring service with systemctl restart pf_ring

@utkarsh0902311047
Copy link
Author

I already tried that. But still it shows queues 1.

@cardigliano
Copy link
Member

@utkarsh0902311047 are you still unable to set RSS? Could you provide ssh access?

@utkarsh0902311047
Copy link
Author

Yes, I am still unable to set the TX and RX queues 4.
I have injured my leg so I am not able to go to the lab this week.
Is it possible to give you ssh access next week?

@cardigliano
Copy link
Member

Sure, feel free to come back on this as soon as you recover from the injury. Drop an email to cardigliano at ntop.org with the credentials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants