ULi M5263 Ethernet Controller Driver for kernel 2.6.x
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
------------------------------------------------------------------------------------
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.