Jump to content
Калькуляторы

Проблема при обновлении драйвера igb после обновления, загружается старый модуль

Обновил драйвер igb

 

modinfo igb | grep version
version:        4.0.17
srcversion:     BCB38D2CABB33E0A1BA8385
vermagic:       2.6.32-279.19.1.el6.x86_64 SMP mod_unload modversions 

 

Но сетевые продолжают загружать старый драйвер

ethtool -i eth0
driver: igb
version: 3.2.10-k
firmware-version: 1.2-1
bus-info: 0000:07:00.0

 

если выгрузить модуль через rmmod igb, то:

ethtool -i eth0
driver: igb
version: 4.0.17
firmware-version: 1.1, 0xc1d00000
bus-info: 0000:07:00.0

 

Получается загружается оба модуля. Новый подгружается командами alias eth0 igb при загрузке.

Если не прописывать alias eth0 igb, то по rmmod сетевые отпадают, пишет нет драйвера

Как избавиться от старого модуля?

 

При установке драйвера находит старый файл, удаляет и кладет новый, делает depmod -a

 

Вывод lspci -v

 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
Subsystem: Intel Corporation Gigabit ET Dual Port Server Adapter
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at b1820000 (32-bit, non-prefetchable) [size=128K]
Memory at b1400000 (32-bit, non-prefetchable) [size=4M]
I/O ports at 2020 [size=32]
Memory at b18c4000 (32-bit, non-prefetchable) [size=16K]
Expansion ROM at b4400000 [disabled] [size=4M]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [70] MSI-X: Enable+ Count=10 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-1b-21-ff-**-**-**-**
Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
Kernel driver in use: igb
Kernel modules: igb

Share this post


Link to post
Share on other sites

Скорее всего так и есть. Не знал про такое. Начал искать нашел упоминание об необходимости его очистке после обновления модуля.

Для CentOS

 dracut "initramfs-$(uname -r).img" $(uname -r)

Взято здесь

Завтра проверю, сейчас нет доступа до сервера.

Edited by DMiTRONiK

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.