i40e-dkms is not used after kernel update

Bug #1619632 reported by Alexander Bozhenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Albert Syriy

Bug Description

Related bug:
https://bugs.launchpad.net/fuel/+bug/1617425

Problem:
After installing new kernel your system started to use stock driver, that is shipped with kernel. Compare before:

modinfo i40e
filename: /lib/modules/3.13.0-92-generic/updates/dkms/i40e.ko
version: 1.3.47

apt-get update && apt-get dist-upgrade

and after kernel update:
modinfo i40e
filename: /lib/modules/3.13.0-95-generic/kernel/drivers/net/ethernet/intel/i40e/i40e.ko
version: 0.3.36-k

That file comes from this package: linux-image-extra-3.13.0-95-generic

Looks like custom package with latest dkms driver was built due to instability of stock driver:
https://bugs.launchpad.net/fuel/+bug/1445562/comments/2

Ask:
add
AUTOINSTALL=yes
to
/usr/src/i40e-1.3.47/dkms.conf

and then install new kernel as usual. Kernel installation will trigger rebuilding of i40e dkms module, and you will not have to run dpkg-reconfigure

My full bash session showing that AUTOINSTALL=yes helps:
http://paste.openstack.org/show/566050/

Changed in fuel:
importance: Undecided → Medium
Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :
Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Alexander, is this bug about MOS 9.1?

Changed in fuel:
status: New → Incomplete
assignee: Albert Syriy (asyriy) → Alexander Bozhenko (alexbozhenko)
Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

Sorry forgot to specify. No, it is about 9.0.

Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

I didn't check in 9.1 though

Revision history for this message
Albert Syriy (asyriy) wrote :

Actually the dkms.conf is luck of the AUTOINSTALL=yes parameter on the master and 9.x branch

Changed in fuel:
status: Incomplete → Confirmed
assignee: Alexander Bozhenko (alexbozhenko) → Albert Syriy (asyriy)
Albert Syriy (asyriy)
Changed in fuel:
milestone: none → 10.0
Revision history for this message
Albert Syriy (asyriy) wrote :
Revision history for this message
Albert Syriy (asyriy) wrote :
Revision history for this message
Albert Syriy (asyriy) wrote :
Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

@asyriy: I checked, and it works! Thanks)

Revision history for this message
Albert Syriy (asyriy) wrote :

The fix has been merged in master MOS 10
Merging into 9.x branch is in progress now.

Albert Syriy (asyriy)
Changed in fuel:
status: Confirmed → In Progress
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.