LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-02-2017, 09:43 AM   #1
dkrupicka
LQ Newbie
 
Registered: Apr 2017
Posts: 2

Rep: Reputation: Disabled
RHEL 6.8 kmod-bnx2x package uninstall


Hi,
I am quite new, please ask for more info if I forget something...

# uname -r
2.6.32-642.el6.x86_64

Is it safe to remove these packages?
kmod-bnx2-2.2.1.32.269-1.el6_2.x86_64
kmod-bnx2-firmware-2.2.1.32.269-1.el6_2.x86_64
kmod-bnx2x-1.72.00_0.32.269-1.el6_2.x86_64
kmod-bnx2x-firmware-1.72.00_0.32.269-1.el6_2.x86_64
kmod-cnic-2.5.10.32.269-1.el6_2.x86_64

I belive nothing uses them, e.g.:
# lsmod | grep -e 'Used by' -e 'bnx2x'
Module Size Used by
bnx2x 502712 0
libcrc32c 1246 2 sctp,bnx2x
mdio 4769 1 bnx2x

Maybe they were used by
lspci | egrep -i --color 'network|ethernet'
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM57711E 10-Gigabit PCIe
02:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM57711E 10-Gigabit PCIe


But aren't they included in RHEL 6.8 GA?
Please suggest what else to check and if it is safe to remove these packages. Btw, do I need to unload these modules first?

Best regards
David

Last edited by dkrupicka; 04-02-2017 at 09:45 AM.
 
Old 04-02-2017, 09:58 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,659

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by dkrupicka View Post
Hi,
I am quite new, please ask for more info if I forget something...

# uname -r
2.6.32-642.el6.x86_64

Is it safe to remove these packages?
kmod-bnx2-2.2.1.32.269-1.el6_2.x86_64
kmod-bnx2-firmware-2.2.1.32.269-1.el6_2.x86_64
kmod-bnx2x-1.72.00_0.32.269-1.el6_2.x86_64
kmod-bnx2x-firmware-1.72.00_0.32.269-1.el6_2.x86_64
kmod-cnic-2.5.10.32.269-1.el6_2.x86_64

I belive nothing uses them, e.g.:
# lsmod | grep -e 'Used by' -e 'bnx2x'
Module Size Used by
bnx2x 502712 0
libcrc32c 1246 2 sctp,bnx2x
mdio 4769 1 bnx2x

Maybe they were used by
lspci | egrep -i --color 'network|ethernet'
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM57711E 10-Gigabit PCIe
02:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM57711E 10-Gigabit PCIe

But aren't they included in RHEL 6.8 GA? Please suggest what else to check and if it is safe to remove these packages. Btw, do I need to unload these modules first?
If the modules show up in an lsmod, that means that something is using them. If you unload them, chances are you'll find some device not working/behaving properly. And honestly....why bother? The amount of disk space and memory those things take up are miniscule...you certainly won't gain anything by removing them.

Also...you're using RHEL 6.8; this is a commercial, pay-for distro. If you are paying for RHEL, then you can contact RHEL support for help/questions. If you're NOT, and this is a new installation, stop where you are and load the latest CentOS instead, which is 7.x. There is a guide:
https://wiki.centos.org/HowTos/MigrationGuide

Unless you pay for RHEL, you won't be easily able to load software ("yum" won't work and/or resolve any dependencies), and you won't get bug fixes, patches, security updates, etc. Pointless to use RHEL unless you pay, especially when CentOS is identical, but totally free. If this is for your home use, use CentOS...test environment at work? CentOS. A production SERVER? RHEL, and PAY for it.

Also...if this is for home use on a laptop or other 'consumer' device, and you're using it as your daily OS...why??? RHEL/CentOS are designed for servers...things without wifi/bluetooth/sound, or even MONITORS AND KEYBOARDS most times. While you can use them for such things, it's typically more difficult. Load the latest Fedora if you want to stay within the RHEL 'ecosystem', and things will probably work much better for you.
 
1 members found this post helpful.
Old 04-02-2017, 10:06 AM   #3
dkrupicka
LQ Newbie
 
Registered: Apr 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
If the modules show up in an lsmod, that means that something is using them. If you unload them, chances are you'll find some device not working/behaving properly. And honestly....why bother? The amount of disk space and memory those things take up are miniscule...you certainly won't gain anything by removing them.

Also...you're using RHEL 6.8; this is a commercial, pay-for distro. If you are paying for RHEL, then you can contact RHEL support for help/questions. If you're NOT, and this is a new installation, stop where you are and load the latest CentOS instead, which is 7.x. There is a guide:
https://wiki.centos.org/HowTos/MigrationGuide

Unless you pay for RHEL, you won't be easily able to load software ("yum" won't work and/or resolve any dependencies), and you won't get bug fixes, patches, security updates, etc. Pointless to use RHEL unless you pay, especially when CentOS is identical, but totally free. If this is for your home use, use CentOS...test environment at work? CentOS. A production SERVER? RHEL, and PAY for it.

Also...if this is for home use on a laptop or other 'consumer' device, and you're using it as your daily OS...why??? RHEL/CentOS are designed for servers...things without wifi/bluetooth/sound, or even MONITORS AND KEYBOARDS most times. While you can use them for such things, it's typically more difficult. Load the latest Fedora if you want to stay within the RHEL 'ecosystem', and things will probably work much better for you.
Hi, thanks for quick answer. The fact is this is server system and I did a mistake.
I tried to remove the packages before checking. :-( I interrupted the removal process, so bnx2x is broken now (but so far everything runs fine, maybe until next reboot).

# rpm -Vv kmod-bnx2x
missing /etc/depmod.d/bnx2x.conf
......... /lib/modules/2.6.32-220.13.1.el6.x86_64
......... /lib/modules/2.6.32-220.13.1.el6.x86_64/extra
missing /lib/modules/2.6.32-220.13.1.el6.x86_64/extra/bnx2x
missing /lib/modules/2.6.32-220.13.1.el6.x86_64/extra/bnx2x/bnx2x.ko
missing d /usr/share/doc/kmod-bnx2x/greylist.txt

I guess I could install this module again and check the config file.
Well, I can ask the official support as well, but here I think it is much more faster.
 
Old 04-02-2017, 10:08 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,659

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by dkrupicka View Post
Hi, thanks for quick answer. The fact is this is server system and I did a mistake.
I tried to remove the packages before checking. :-( I interrupted the removal process, so bnx2x is broken now (but so far everything runs fine, maybe until next reboot).

# rpm -Vv kmod-bnx2x
missing /etc/depmod.d/bnx2x.conf
......... /lib/modules/2.6.32-220.13.1.el6.x86_64
......... /lib/modules/2.6.32-220.13.1.el6.x86_64/extra
missing /lib/modules/2.6.32-220.13.1.el6.x86_64/extra/bnx2x
missing /lib/modules/2.6.32-220.13.1.el6.x86_64/extra/bnx2x/bnx2x.ko
missing d /usr/share/doc/kmod-bnx2x/greylist.txt

I guess I could install this module again and check the config file.
Correct...if things are being used, removing them isn't good. Re-install those missing packages.
Quote:
Well, I can ask the official support as well, but here I think it is much more faster.
Nope, it isn't. People here respond when they can, and if they WANT to. Calling support is there 24/7/365, when you need it. Not using it isn't the best way to get things done, especially if this is a production server.

Call Red Hat, ask them how to resolve this problem.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd. redhatlbug Linux - Software 4 03-10-2013 06:09 AM
Uninstall RHEL 6 zahid Linux - Newbie 2 06-24-2012 10:13 AM
How to Uninstall RHEL 3 and Install RHEL 9? Sankaranand D Linux - Software 1 07-13-2009 09:33 AM
Kmod-Nvidia Package harshavarma Linux - Newbie 1 02-11-2009 11:11 AM
how to uninstall rhel 4 santhosh tr Linux - Enterprise 1 11-15-2006 04:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration