LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Home Forums HCL Reviews Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-22-2006, 10:14 PM   #1
Bataa
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Rep: Reputation: 0
ULi M5263 Ethernet Controller Driver for kernel 2.6.x


Dear friends

Please be kind to my question.

A week ago, I was inspired by Linux OS and decided to
install it on my Laptop. I chose Fedora 4 and after
installing it, everything except for networking seemed
to work fine.
Actually my network card is ULi M5263 10/100M Ethernet Controller.

I googled linux driver for my card and found it in ULi site.
But they say that I have to complie my kernel in order to install
driver. The strange thing, that I wouldnt do.
Fortunately, the driver file has readme instruction as follows
------------------------------------------------------------------------------------
ULi M5263 10/100M Ethernet Controller Driver for kernel 2.6.x
------------------------------------------------------------------------------------

Copyright (c) 2004-2005, ULi Electronics Inc.


------------------
CONTENTS
------------------
1. ULi M5263 10/100M Ethernet Controller Core
2. File Signature
3. Installation Guide
4. Revision History
5. Disclaimer


1. ULi M5263 10/100M Ethernet Controller Core
=============================================
You can use command
/sbin/lspci -n
or
cat /proc/pci | grep 5263
to determine whether ULi M5263 Ethernet controller exists in your
system. If yes, simply follow the steps below to install the driver.

This driver is dedicated to support ULi M5263 10/100M Ethernet
Controller under Linux platform.

Any improper use of this module, such as combining it with different
hardware and/or software environment, may produce unpredicable results.
The author of the driver and its property owner do not have
responsibility for any property lose or damage.


2. File Signature
====================
/driver/uli526x.c source codec c file
readme.txt this file
====================
/sample/Kconfig.in configuration sample file
/sample/Makefile.in sample makefile

3.Installation Guide
====================
To install the driver, you should reconfigure and recompile your Linux
kernel as follows:

Make sure your kernel version number is 2.6.x.

Copy uli526x.c to /usr/src/linux-2.6.x/drivers/net/tulip/, and modify the
following file in this directory. (Make a backup of them.)

1.Kconfig.in
add the following lines to Kconfig.in file.(refer to the Kconfig.in file we provide to you)

config ULI526X
tristate "ULi M526x controller support"
depends on NET_TULIP && PCI
select CRC32
---help---
This driver is for ULi M5261/M5263 10/100M Ethernet Controller

To compile this driver as a module, choose M here.

2.Makefile
add the following lines to Makefile.(refer to the Makefile we provide to you)

obj-$(CONFIG_ULI526X) += uli526x.o
------------------------------------
Install as a kernel module
------------------------------------

Step 1:
Change directory to /usr/src/linux-2.6.x
Use the command "make menuconfig" or "make xconfig", and make
sure "ULi M526x controller support" is set as module.

Example:
Select "Device Drivers"
Select "Networking support"
Select "Ethernet (10 or 100Mbit)"
Select "Tulip family network device support"
Unselect "DECchip Tulip (dc2114x) PCI support"
Select "ULi M526x controller support" as "m"

Step 2:
Select "Loadable module support", and unselect "Set version information
on all module symbols"

Before exit, save your configration.


Step 3:
make modules
make modules_install

Step 4:
rmmod tulip
modprobe uli526x

Then, you can bind any protocol into M5263 driver and use it.

------------------------------------------
Install as a part of linux kernel
------------------------------------------

Step 1:
Change directory to /usr/src/linux-2.6.x
Use the command "make menuconfig" or "make xconfig", and make
sure "ULi M526x controller support" is set as kernel.

Example:
Select "Device Drivers"
Select "Networking support"
Select "Ethernet (10 or 100Mbit)"
Select "Tulip family network device support"
Unselect "DECchip Tulip (dc2114x) PCI support"
Select "ULi M526x controller support" as "y"


Step 2:
Select "Loadable module support", and unselect "Set version information
on all module symbols"

Before exit, save your configration.


Step 3:
make
cp arch/i386/boot/bzImage /boot

Step 4:
If you use grub to boot your linux, then
1) Modify the file /etc/grub.conf by adding
title 2.6.x
root (hd0,2)
kernel /boot/bzImage ro root=/dev/hd1
The disk partition where your linux resides in,
for example: /dev/hda1
2) Reboot and select the kernel 2.6.x

Then, you can bind any protocol into M5263 driver and use it.


4. Revision History
===================
V0.90 - First release.
V0.91 - Change the all ali string to uli string and add the support to ethtool
V0.92 - Change the timeout length for UDP test
V0.93 - Change the tx queue count for UDP test,add non-srom solution

5. Disclaimer
=============
Product names used in this file are for identification purposes only
and may be trademarks of their respective owners.

No part of this file may be copied or reproduced without written
consent from ULi Electronics.

ULi Electronics makes no warranty for the use of its products and
assumes no responsibility for any errors which may appear in this file
nor does it make a commitment to update the information contained
herein.

ULi Electronics retains the right to make changes to these
specifications at any time, without notice.


I followed the instruction until step 2 of the first choice
"Install as a kernel module". There is no menu choice called
"Set version information on all module symbols".
Then I didn't change anything there. And I continued.
In step 3 I give command "make modules", I receive the following
error :

[root@localhost tulip]# ls
Kconfig Makefile uli526x.c
[root@localhost tulip]# cd ..
[root@localhost net]# cd ..
[root@localhost drivers]# cd ..
[root@localhost 2.6.11-1.1369_FC4-i686]# make modules
CHK include/linux/version.h
CHK include/asm-i386/asm_offsets.h
make[1]: *** No rule to make target `arch/i386/kernel/msr.c', needed by `arch/i386/kernel/msr.o'. Stop.
make: *** [arch/i386/kernel] Error 2
[root@localhost 2.6.11-1.1369_FC4-i686]#


Please could you help me to solve this problem.
I am pretty new to Linux world.

Thanks
Bataa
 
Old 02-23-2006, 02:48 AM   #2
Bataa
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Original Poster
Rep: Reputation: 0
I thought this is the place where one asks questions about Linux or Linux problems.
Excuse me.
 
  


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
SATA not working - Debian 'Sarge' 3.1, 2.6.8 kernel, Abit KU8 - ULI-M1689 Chipset marjohan Debian 11 09-24-2005 06:08 AM
Marvell Yukon 88E8036 pci-e fast ethernet controller driver _ major nightmare to find ozzie_penguin Fedora 0 08-16-2005 11:48 PM
Driver for Ethernet Controller: Galileo TEchnology LTD: 4361 cneeley Linux - Wireless Networking 2 05-09-2005 08:36 AM
kernel 2.6.7 nvidia ethernet driver Da_Necromancer Linux - Software 15 10-10-2004 02:09 PM
problems installing Broadcom 4401 Fast Ethernet Controller Driver linuxmandrake Linux - Hardware 3 09-15-2004 03:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration