How uninstall network driver (r8169) under Open Suse 11.4 + Linux 2.4 ?
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How uninstall network driver (r8169) under Open Suse 11.4 + Linux 2.4 ?
Please, i would like to know all the way, command lines to uninstall network driver before install another.
I run on MSI Wind U230 with Linux 2.4 and OpenSuse 11.4
network card : Realtek RTL 8168D(P)/8111D(P)
driver installed but don't function : r8169
I need to unistall this one before install r8168 downloaded
Thanks
Jacques
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
Hi Ozanga, Welcome to LQ. How did you install the driver? Did you download and compile it from source, install an rpm, or was it the driver included with the original install?
?? linux 2.4 ???
so you hacked the very old and now very dead 2.4 kernel to run opensuse 11.4
that is a feat of historical hacking
suse 11.4 is currently running the 2.6.37 kernel
how did you install this driver in the first place
also BE WARNED it is time to upgrade soon to 12.1 or in July 12.2 is coming out and in September support for 11.4 ends
11.4 has only 148 days of life left
I come again, John. Excuse-me, i did'nt know this reply mode. To answer back your questions, i made a mistake (i don't no why): effectively Open Suse 11.4 turn with Linux 2.6.7, however the problem is there.
The driver r8169 for RTL 8111/8168 was installed by Open Suse, and it doesn't run. I've found in the configuration system that network card is not configured, but no way to edit it.
I try to uninstall the driver R8169 before installing r8168 (i've downloaded it in to format : .rpm and .tar.bz)
At this day i don't win to uninstall r8169 because when if i open my laptop in Safe fail mode, i need to write file command in english, and some caracters failed ("_" for example)
By desktop, and Terminal, it seems i can't uninstall, the system say i need to run like a super administrator, it' the reason why i run in Fail safe mode.
I will try to install the latest version of Open Suse, hoping the best driver wil be install, but downloading is not finish.
I will say to you after that
Excuse my bad english
Jacques
Reply for all of the ones who want to know my problem is not resolved.
Ericson 007 toldme about two files command to remove my network driver : # ls mod
this line "ls mod" open a list, in which one is the driver i want to remove, repertory in the list like that: "r8169 38762 0"
The second command line given by Ericson OO7 was :
modprobe _r module_to_remove
This file doesn't work.
System ask me to write : /sbin/modprobe
I do that, like that: /sbin/modprobe _r8169_to_remove
System say: FATAL _r6189 doesn't exist
So i think i don't write the good command line
Please, help me, tell to me what is the good line !
(I try to install the lastversion of Open Suse, the 12.1, but the same bad driver is given (r6189), and too many bugs : Libre Office failed, Fail safe mode boot on desktop, and more, so i reinstall Open Suse 11.4)
Jacques the cunt
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
It sounds as if you've taken the command literally when it was meant as an example. The "_" and "to remove" portions were meant to explain what you're doing when you issue the command not to be typed as part of the command. The command you're looking for is written as follows.
Code:
/sbin/modprobe -r r8169
You may be better served to blacklist the module by adding it to your /etc/modprobe.d/blacklist file.
Thanks a lot for your reply. You're right,i've taken the command literaly, it's a mistake,an simple effect oh my ignorance of Linux commands.
This morning i download "Linux command line" written by William E. Shotts, Jr., which reveal my error.
I will try to use the one you give to me.
I'm not sure to understand how to blacklist the module.
Question: i've downloaded antoher network driver (r8168)for my network card RTL 8111 D(P)/8168 d(P), which is a .rpm file.
After remove the r8169, would the system accept to istall the r8168, or do i have to buid it ? I'm afraid to do that !
Jacques
Here's Zanga. Bad news. Your suggest don't work, i don't know why. I've tried all to remove, but system say : no permitted. So i pass in "super user", but after the command line (/sbin/modprobe -r r8169), nothing, no answer, no comment, and "lsmod" say that r8169 is!
Son i can't remove, and i can't install r8168, it failed: Repository already exists.
After that, i ask 'which gcc', and i know there is no gcc in, so i can't compile !
Well, well, i'm a bit lost
What'the way to put the network "driver" on blacklist ?
Thanks, Jacques
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
If you issue a command and it doesn't return any error, no answer, no comment as you say, it generally means it completed successfully, however, you say lsmod still lists the module?
If the file you downloaded is an rpm file and not an srpm or .src.rpm then you should be able to install it. An rpm is typically a packaged installable binary or precompiled binary, an srpm or .src.rpm is typically packaged source for the rpm binary.
To blacklist a module add it to your /etc/modprobe.d/50-blacklist.conf file in the following format.
Code:
blacklist r8169
You could issue the following command as root or su.
Yes, Peacedog, the "r8169" appears in 'ls' after removing it, and if i 'ls' it, system say r8169 is not a file or a directory. Yes, in fact it's a module, and with 'ls' i know it's used by "0". What's "0"? A kernel zone? An inactive zone?
I tried the command you just give me but no result : for 'blacklist r8169' terminal say 'blacklist' is not a typo;
for the command line 'echo', it keep silence, and r8169 always appears in 'lsmod'.
I pass all my time now to do "exercises" with the book "Linux command line", and sometimes without the result expected. For example, i create a playground to try to move, copy and remove files. Ok, and i make directories in this playground with success. But, after that, if i use the command line 'cp /etc/passwd' to copy passwd in playground, it fails, and say 'cp: missing operation file operand after /etc/passwd'
Really i don't understand.
The driver i would like to install (r8168) was downloaded in two forms. For the rpm form, i download 10 files:
r8168-8.024.00-1.7.src.rpm;
r8168-debugsource-8.024.00-1.7.i586.rpm;
r8168-kmp-default-8.024.00_k2.6.37.6_0.11-1.7.i586;
r8168-kmp-default-debuginfo-8.024.00_k2.6.37.6_0.11-1.7.i586;
r8168-kmp-desktop-8.024.00_k2.6.37.6_0.11-1.7.i586;
r8168-kmp-desktop-debuginfo-8.024.00_k2.6.37.6_0.11-1.7.i586;
r8168-kmp-pae-8.024.00_k2.6.37.6_0.11-1.7.i586;
r8168-kmp-pae-debuginfo-8.024.00_k2.6.37.6_0.11-1.7.i586;
r8168-kmp-xen-8.024.00_k2.6.37.6_0.11-1.7.i586;
r8168-kmp-xen-debuginfo-8.024.00_k2.6.37.6_0.11-1.7.i586;
The second form is an archive tar.bz2. Détails:
the file r8168-8.028.00.tar.bz2
A folder called r8168-8.029.00 contains:
a sub folder called src (with Makefile, Makefile_linux24x, r8168.h, r8168_asf.c, r8168_asf.h, r8168_n.c, rtl_eeprom.c, rtl_eeprom.h, rtltool.c, rtltool.h)
and filescalled: autorun.sh, Makefile, Makefile~ and README
If i try to install the rpm, it refuse because of:[PK_TMP_DIR/dir:///var/tmp/TmpDir.Cuqpfr]Repository already exists. And for each file of that folder, it's nother line ending, but the same refusal.
I'm obstinated, pigheaded, i'm a mule, and if I want to understand and use Linux, it’s because i don't want ever use Windows (Seven is “the best” SE to format brains to insecurity, and so accept antiterrorist laws, I don’t like that), and because viruses attacks in Africa are too many. So i will learn more, and try again, and again (i'm 56 years old, and francophone, it's not easy)
Thanks for your helping
Jacques
Before posting results, i've to say to you i disover with surprise, after X attempt to remove the module, that it get rid of "ls", but modprobe stay and i can build because 'make' is missing.
So, i make place on hard drive to a new install of Open Suse last version (12.1), and, surprise and joy, network work. Well, it's a good thing but i'll not stop to learn et try to understand process of building.
At this time i can't try the last command lines you've given to me because because i re-install the 11.4 Open Suse. Why ? To try your command lines, and to know which module was built to drive the mouse (it's not a mouse because PC is a laptop, and with 12.1 the double click on tactil place don't work)
Soon
Jacques
What did happend next :
After install a nem Open Suse 11.4, i remove r8169 by:
/sbin/modprobe -r r8169
then
cat /etc/modprobe.d/50-blacklist.conf
It says : This module seems to be good for nothing. See bug 129301.
blacklist dpt_i2o
This driver is obsolete and should never be loaded as default
(Personal comment: so, why Open Suse 11.4 built it as default ?)
come a long list a details, and to finish :
For somme bridge both intel-agp and i82875p_edac are loaded. If i82875p_edac is loaded first it will grab the device. Then intel-agp doesn't work. Therefore we disable automtic loading of 82875p_edac. (Bug 213840)
blacklist i82875p_edac
Blacklist the IBM s390 module for I/O dynamic configuration support
Bug bn#478601
blacklist chsc_sch
"That's all for this line"
Then 'lsmod': module r8169 is out of list
For the next line (lspi -v / grep -i net) it's not easy, with my french keyboard i don't have the character (vertical line). I replace it by (/) and it says: if lspi is not a typo you can use command not found...
So i stop there, and reinstall Open Suse 12.1
I don't know to change working of the mouse because there's no driver, only a name : /dev/input/mice) or (/dev/input/mouse0)
I will do many exercises with the 12.1 version, and now i will have network with me !
Soon and sincerely thanks
Jacques
With Open Suse 12.1, the driver r8169 run correctly the RTL 8111/8168 network card, and LAN also run good, but tactil place don't run (click on it = no action); with 11.4, it was really a pleasure to use the tactil place.
Now i have to download "make" and "gcc" to compile.
Thanks a lot for your help, and i'm really happy you're glad to help me.
Soon
Jacques
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.