LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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

Reply
 
LinkBack Search this Thread
Old 04-21-2012, 05:37 AM   #1
Ozanga
LQ Newbie
 
Registered: Apr 2012
Posts: 13

Rep: Reputation: Disabled
Question 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
 
Old 04-21-2012, 03:52 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,277

Rep: Reputation: 166Reputation: 166
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?

Good luck. ;-)
 
Old 04-21-2012, 04:07 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 12,156

Rep: Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597
Quote:
with Linux 2.4 and OpenSuse 11.4
?? 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
 
Old 04-23-2012, 02:30 PM   #4
Ozanga
LQ Newbie
 
Registered: Apr 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
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
 
Old 04-24-2012, 01:17 PM   #5
Ozanga
LQ Newbie
 
Registered: Apr 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
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
 
Old 04-24-2012, 08:48 PM   #6
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,277

Rep: Reputation: 166Reputation: 166
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.

Good luck. ;-)
 
Old 04-25-2012, 08:35 AM   #7
Ozanga
LQ Newbie
 
Registered: Apr 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hello Peacedog

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
 
Old 04-25-2012, 04:28 PM   #8
Ozanga
LQ Newbie
 
Registered: Apr 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
Reply (suite) for Peacedog

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
 
Old 04-25-2012, 09:53 PM   #9
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,277

Rep: Reputation: 166Reputation: 166
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.

Code:
echo >> /etc/modprobe.d/50-blacklist.conf blacklist r8169
Which should append the line to the file.

Hope something there helps.

Good luck. ;-)
 
Old 04-26-2012, 06:10 AM   #10
Ozanga
LQ Newbie
 
Registered: Apr 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
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
 
Old 04-26-2012, 08:03 PM   #11
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,277

Rep: Reputation: 166Reputation: 166
Let's take a look at what is going on. Please issue the following as root or su and post the results here.

Code:
cat /etc/modprobe.d/50-blacklist.conf
lsmod
lspci -v | grep -i net
ifconfig -a
Good luck. ;-)
 
Old 04-27-2012, 03:47 AM   #12
Ozanga
LQ Newbie
 
Registered: Apr 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
No fear; vitality and tenacity

Hie Peacedog

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
 
Old 04-27-2012, 04:38 AM   #13
Ozanga
LQ Newbie
 
Registered: Apr 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
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
 
Old 04-27-2012, 09:14 PM   #14
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,277

Rep: Reputation: 166Reputation: 166
I'm not sure if 12.1 solved this for you or not, but in the future you should be able to copy and paste commands from here directly to your terminal.

If it did work for you I'm glad.

Good luck. ;-)
 
1 members found this post helpful.
Old 04-28-2012, 03:15 PM   #15
Ozanga
LQ Newbie
 
Registered: Apr 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hie Peacedog

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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless Driver r8169.c rodn5yn Linux - Newbie 7 08-25-2010 04:42 AM
Suse Enterprise Server 11: ifconfig does not call my Network driver's open function pvpnguyen Programming 1 09-03-2009 04:21 PM
how to uninstall a path variable and a software package in linux open suse 11.1 sonu kumar Linux - Newbie 3 08-22-2009 02:23 AM
Problem compiling r8169 driver BeGosV Linux - Networking 2 02-23-2006 02:25 PM
Compiling r8169.c network card driver on Alpha... Minuteman Linux - Hardware 1 04-03-2004 06:59 AM


All times are GMT -5. The time now is 07:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration