MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
I'm not exactly sure where this should go, but I have mandriva 2k5 LE x86_64 installed on another partition for experimentation, so I guess this is the right place.
Mandriva installed just peachy on my athlon 64 3k+, detected my x300se well, and everything works just great. however the onboard gigE port riding the pci-e bus on it does not work, not even detected on harddrake.
If you want to know exactly what motherboard and all that that I have it's an ASRock 939sli32 esataII. (got a nice deal on it =D )
Drake detects the firewire port and dubs it eth0, but I can't use that.
I got the driver from the realtek website but I am relatively new when it comes to working with linux (hence the experimentation) and I don't know how to install it. reading the readme file, it says that if I am running the target kernel that I can "make clean modules," "make install," and "depmod -a"
Well I get an error every time I make a command while in that directory.
I read a post by mr coffee (I can't post the url to that topic), but it seems he has a different ethernet chipset than I do. Either way, I will try rebooting into my installation again to see if it works.
The onboard ethernet Was enabled in the bios.
In /var/log/messages, nothing resembling that number showed up, and Lsmod didn't have it either.
modprobe r8168 didn't do anything, it seemed. When I entered it it simply went back to root@mypcname#
Well i think I may have to recompile the kernel with the driver I downloaded. I don't seem to have the kernel source on the cd, though. I can, however, download it and place it on my fat32 hd and access it later. Even if I get it, I don't know how to do it.
I'll keep reading these posts in hopes of finding answers.
No, in /var/log/messages there is no mention of Rxxxx anything.
And I don't exactly know what you mean by searching under eth0. If it makes any sense, It only detects the onboard firewire port and automatically detected a PCI ethernet card that I plugged into it to get SOME form of internet connection. It works and is recognized as eth1.
On a side note, I cant seem to find any archiving utility to extract various source tarballs that I have downloaded (namely the kernel source.)
re-looking at your modprobe did nothing post......once you have done a modprobe (it inserts the module one time while booted....) then you re-do a lsmod with su powers to tell if its loaded.....could you be more explicit and tell me if in then reports that module loaded pls
I have stopped mine and redone it to show what it should look like with su powers
[root@localhost g]# modprobe r8169
[root@localhost g]# lsmod
Module Size Used by
r8169 21740 0
change yours to r8168 if you are confident that is what it is pls
if it is correct you can then add the correct line
modprobe r81XX to /etc/modprobe.preload for each boot up
and then whatever is the correct r number will show up in /var/log/messages and of course with su powers
ifconfig -a should then list both your eth0 and eth1 card details
Hmm. I did modprobe r8168 (It is in fact, r8168 and not 8169), but there is no module to load, at least that is what it tells me. I downloaded the Rtl8168 driver from the realtek website, but it doesn't make properly.
Well, I'll post exactly what happened. (It seems that something like this has allready happend to a few people as it is)
Code:
[root@mercedes r1000]# make install
make -C src/ install
make[1]: Entering directory `/home/mercedes/r1000/src'
install -m 644 -c r1000.ko /lib/modules/2.6.11-6mdk/kernel/drivers/net/
install: cannot stat `r1000.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/mercedes/r1000/src'
make: *** [install] Error 2
I have been a long time windows user and have only dabbled in these things. Mdk has treated me well but this is the first time I've ever had to make a driver for my hardware.
in reply to bob: ./configure gives me a 'no such file or directory' response, untar tells me that there is no such command. I can extract the bz2 archive though, it seems that clicking a tarball on the desktop does not agree with it. Probably just a fluke though.
Excuse me interupting Rus9 please continue Kuma you did type "make" first yes? I think thats what should come first if there is no configure file Also I note I could not find a 2.6 kernel driver only a 2.4 version here
So I hope you got the right one? http://www.opendrivers.com/driver/22...-download.html
Last edited by bobbelfield; 04-16-2006 at 03:12 AM.
Excuse me interupting Rus9 please continue
Kuma you did type "make" first yes?
Yes, I got a similar error.
On another side note, I attempted to install gtkspell, saying to run the configure file in the console before anything, but it says that I don't have a viable C compiler. Does mandriva 2005 not have it?
Added: as for the kernel compatibility, the downloaded realtek files said explicitly that it had the ability to be used for both 2.4.x and 2.6.x
Second addition: What I mean is This chipset. To stop any more confusion
Yes to compile programs like these you must have a compiler installed and if you don't choose the developer options on first install you won't get one
The pre-compiled binaries are more available these days and if you go here http://easyurpmi.zarb.org/
and follow the instructions you can get the video and audio codecs and other stuff they cant put in the distros for legal reasons.
The driver may be precompiled on the plf or main library
Normally the compile process is
Go to the chosen directory
./configure
make
make install
but you probably know that also you did it as root so thats not it
Interestingly I dont have it installed and I get an error typing in "make"
so your machine may have it installed already
just type "su -" enter pass
then type "make" or "gcc" and see what comes up .Ill keep thinking till Rus9 comes back
I downloaded the realtek rtl8168/8111 linux driver, and moved it to linux partition, and when I go into terminal, and type make clean install it says "make: command not found"
I'm following the directions on how to install this driver, but not sure why this isnt working. using ubuntu (dapper beta 2)
[QUOTE=Kuma]Hmm. I did modprobe r8168 (It is in fact, r8168 and not 8169), but there is no module to load, at least that is what it tells me. I downloaded the Rtl8168 driver from the realtek website, but it doesn't make properly.
Well, I'll post exactly what happened. (It seems that something like this has allready happend to a few people as it is)
[code]
[root@mercedes r1000]# make install
make -C src/ install
make[1]: Entering directory `/home/mercedes/r1000/src'
install -m 644 -c r1000.ko /lib/modules/2.6.11-6mdk/kernel/drivers/net/
install: cannot stat `r1000.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/mercedes/r1000/src'
make: *** [install] Error 2
I met the same errors too,wo use the FC5,do you have resolve this questions?
if yes, I holp you can give me a mail,
my mial is:liuzexi2002@126.com
thanks advance!
bobbelfield
thanks for the link so it is for a kernel 2.6 as well...when you unpack the download you will read this in the release note
_______
r1000 v1.04 <2006/07/07>
solve the compile issue in Linux kernel 2.6.x
end of quote_________________
Kuma
back to you, me thinks it is a dependency ( a file or more) you are missing from your system that causes the failure.
lets go back a step and forgive any patronising none intended.
1) Have you been able to compile any other software on your current troublesome setup?
2) Have you got the headers and the source kernel for the one you are running?
a quick check in /boot should show kernel header then what kernel=vmlinuz you are booting....then go to /usr/src to see what kernels you have and where they point to ....for me they point to /opt/ folder yours may differ
Check and search your mcc install software for the keyword kernel and binutils etc to install the stuff (I hope)
2) try these commands and report what the actual error message pls
I use KDE...terminal application called Konsole which has a copy and paste function if you need to copy any errors to a new opened text file for pasting into your reply
________
cd /home/yourname/path to file/
eg [g@]$ cd Download/
[g@ Download]$ ls
r1000_v1.04.tgz
[g@ Download]$ tar vzxf r1000_v1.04.tgz
r1000_v1.04/
r1000_v1.04/release_note.txt
r1000_v1.04/README
r1000_v1.04/src/
r1000_v1.04/src/Makefile_linux24x
r1000_v1.04/src/Makefile_linux26x
r1000_v1.04/src/r1000_ioctl.c
r1000_v1.04/src/r1000.h
r1000_v1.04/src/Makefile
r1000_v1.04/src/r1000_n.c
r1000_v1.04/Makefile
if you do not get above output then you may have attempted to run the command with the readme command of r1000_vX.YZ.tgz instead of the correct version that you just downloaded?
lets move on
cd into the new folder
eg cd r1000_v1.04/
now change to root powers
su
(then root passwd)
changes prompt from $ to #
eg
[g@ Download]$ su
Password:
[root@ Download]#
make clean modules
make install
depmod -a
Now I run a vanilla kernel which I won't explain but you are attempting to build a module that is then installed and linked for the kernel to grab.
However, Mandriva and other distros may have different hardware detections so go into Mcc and check the services area and that you have on boot ...Hal and hardware detection or whatever its called pls
well it mentions certain protocols, they may not be in your current config file for your current kernel.
a copy of the config file is in /boot
open it with a text file and search for expressions (not case sensitive orwhole words) like
ethernet
ieee
network
and after module is installed search for
8168
Of course my kernel has 8169 loaded like this
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
CONFIG_R8169=y
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.