LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2005, 08:56 PM   #1
tsiMental
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62

Rep: Reputation: 15
Ethernet card not supported VIA VT6122 Mandrake 10.1 community


Hi,

I've just installed my first Linux desktop, Mandrake 10.1 Community distribution.

Well... my motherboard, Abit NF7-S2G has an integrated VIA VT6122 Gigabit ethernetcard.

When I install mandrake 10.1 it recognizes this card as a VIA VT3119 Gigabit Ethernetdevice, which it is not, and when mandrake loads these drivers during booting, the computer hangs and fully stops responding.It doesn't even recover and tell me there is something wrong with the networkdevice, which I think it should've done.

Well... does anyone know how to install the drivers I've downloaded from via.com? There is just a bunch of .c, .h files, a Makefile and a Linux.txt file...

The Linux.txt file isn't very descriptive. It tells that you have to make a temp directory, unpack the file you downloaded (which you must have already done to read the document by the way), compile the files and load them into the kernel.

It's the last two steps I've trouble with, compiling and loading into the kernel.

I would really appreciate ANY answers... I'm stuck...

Tnx in advance...
 
Old 01-25-2005, 09:37 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Most people are disabling the onboard and putting a realtech card in.
 
Old 01-25-2005, 09:43 PM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You probably need to do "make" in that directory, then "insmod" the created module.
 
Old 01-26-2005, 08:20 AM   #4
tsiMental
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62

Original Poster
Rep: Reputation: 15
make not working

Tnx for the answer Matir. But when I type

"make" in the directory containing the driver sourcefiles, it reports:
"Makefile:16: *** Linux kernel source not found. Stop."

Any insight on that anyone? I did install the kernel source, the compilation tools and the documentation when I installed mandrake...

EDIT:
I guess it is ok to post a link to the drivers in question, since they are open source.

This seems to be the first 17 lines of the Makefile:
DEBUG = 0

KSP := /lib/modules/$(shell uname -r)/build \
/usr/src/linux-$(shell uname -r) \
/usr/src/linux-$(shell uname -r | sed 's/-.*//') \
/usr/src/kernel-headers-$(shell uname -r) \
/usr/src/kernel-source-$(shell uname -r) \
/usr/src/linux-$(shell uname -r | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \
/usr/src/linux

test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir))
KSP := $(foreach dir, $(KSP), $(test_dir))

KSRC := $(firstword $(KSP))
ifeq (,$(KSRC))
$(error Linux kernel source not found)
endif

Last edited by tsiMental; 01-26-2005 at 08:43 AM.
 
Old 01-26-2005, 09:17 AM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Do you have the source code for your kernel in /usr/src/linux?
 
Old 01-26-2005, 09:46 AM   #6
tsiMental
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62

Original Poster
Rep: Reputation: 15
the only directory in /usr/src is RPM, so I guess the kernel is not located there... that might be the problem, but how do I locate the kernelsource and how do I let make know where it is? Or what do I do?
 
Old 01-26-2005, 10:08 AM   #7
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Having never used mandrake, I'm not quite sure how they handle package management, but most distros have a package like kernel-source or similar.
 
Old 01-26-2005, 10:30 AM   #8
tsiMental
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62

Original Poster
Rep: Reputation: 15
Found the RPM for the kernelsource and installed it (using rpmdrake).

Managed to compile the driver using make.
Got some .ko and .o files:
velocityget.ko
velocityget.o
velocityget.mod.o
velocityget_main.o
velocityget_proc.o
velocityget_wol.o

Tried to type insmod, but I got the answer:
Usage: insmod filename [args]

Now, what should I do? use insmod on each of these files?

What about "make install" what does that do?

Last edited by tsiMental; 01-26-2005 at 10:32 AM.
 
Old 01-26-2005, 10:57 AM   #9
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
make install will probably put the module in your standard module path (accessible with modprobe).

To use insmod, just do (from that directory) "insmod velocityget.ko"... if it is installed, "modprobe velocityget". .ko=kernel object.
 
Old 01-26-2005, 11:06 AM   #10
tsiMental
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62

Original Poster
Rep: Reputation: 15
Tnx for all your help, got it working now
 
Old 02-03-2005, 12:45 PM   #11
tsiMental
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62

Original Poster
Rep: Reputation: 15
Hi again...

Seems like I was wrong... I only got the card partly working. The network is disconnecting all the time and is extremely unstable.

I think the reason is because I wasn't able to install / configure Linux to use the correct driver. I suppose that mandrake uses the bundled driver for the VT3119 chip but when I made it use autoprobe and DHCP, it works. Once I try using manual settings for IP-adresses and DNS-servers and gateway, the computer hangs during boot up and I'm back to scratch.

The way I tried to install the driver:

logged in as root
extracted to a directory home/velocityget and entered the directory
typed make
make install
insmod velocityget.ko

(all completed successfully)

then I opened Harddrake (mandrakes hardware config tool), marked the network card, chose config tool, choose driver manually, chose VIA velocity VT3119 (which still was the only VIA velocity-cards in the list, chose ok and an autoprobe of the resources.

modprobe velocityget
gave no output

and lsmod still told me that no devices used the velocityget module.
 
Old 02-17-2005, 08:26 PM   #12
Gwarlak
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
velocityget unstable

My experience with the velocityget module/driver is also that it is unstable. I can use the network but it starts and stops working every second. This makes things very slow! It's almost as if the packets are coming in bursts. It works... it pauses... it works... it pauses. Again, it pauses every second... or less. I cannot view google without it pausing. When I boot to Windows XP the ethernet works fine and I can quickly browse the Internet without troubles. So I know it isn't my Internet connection or hardware.

I tried forcing the card into 10Mbps half-duplex mode. It did go to that mode, but that didn't help. I thought maybe it was trying to communicate at gigabit speeds with my 100Mbps switch.

Anyone have suggestions?
 
Old 02-18-2005, 08:50 AM   #13
tsiMental
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62

Original Poster
Rep: Reputation: 15
I got it to work... but I had to change to Fedora Core 3. It worked the second the FC3 installer had probed the network

So to all of u struggling with this problem. At least it works on Fedora Core 3...

All I experienced was that it does not work on Mandrake 10.1 - might work on a lot of other distros though...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
No driver for onboard Via VT6122 Gigabit Ethernet corkypa Linux - Networking 2 11-06-2005 09:49 PM
Mandrake 10 ethernet card not supported bcf2 Mandriva 7 05-19-2005 06:25 PM
Ethernet Card Realtek 8139 not working on MDK 10.1 community [MDK]NooB Mandriva 3 05-10-2005 02:54 PM
mandrake 10.0 community sound card issues superm1782 Mandriva 1 08-06-2004 08:36 PM
So what ethernet card is supported "as standard" by 2.2.19 kernel?... Simon W Linux - Networking 2 02-14-2002 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:26 AM.

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