Need asstance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings:

I have a laptop computer (ARM) that uses the SIS 630s chipset for the
graphics card, audio, modem, and LAN.  I am attempting to apply an
upgraded kernel to my laptop including a "sis900.c and sis900.h" files
that I downloaded from SIS.  I am using Mandrake Linux version 2.4.9.

I have downloaded the "linux-2.4.9.tar" file, and untared it into
/usr/src/linux directory.  I then copied the sis900.* files into the
/usr/src/linux/drivers/net directory.  I have tried "make" ing the file
(make dep, make config, make bzlilo) as outlined in Ollie Lho's
directions. (see below).  I then moved the /System.map and /vmlinuz
files to the /boot directory.  I then issue the "lilo" command to update
lilo.

Everything appears to work except when I reboot my system I get a Kernel
error indicating that the /lib/modules/2.4.9/modules.dep is not
available.  When I check the /lib/modules directory the only directory
that I find is 2.4.3 which is my original linux kernel.  I am not sure
what I am missing, but would appreciate any help you could provide.

Thanks
Mike Pruden

________

         SiS Linux LAN driver for SiS630/SiS630E/SiS630S/730S
Date:11/01/00
                                ver. 1.07.04a
---------------------------------------------------------------------------

   Currently, you can find SiS900 LAN support in Linux kernel 2.2.15 or
later version. That's for SiS630 and SiS900 only. For
SiS630E/SiS630S/730S
LAN support in Linux system, SiS provides update driver for you to
update
your Linux kernel to support SiS630E/SiS630S/SiS730S. It's backward
compatible
with SiS630 and SiS900. Here is the example based on kernel 2.3.xx to
update
Linux LAN driver.

1. Download the latest kernel distribution from
   ftp://ftp.tw.kernel.org/pub/linux/kernel/v2.3/

2. You have to be superuser to be able to update driver kernel.
   Use "su" to become a super user.
   $su

3. move the compressed tared file to /usr/src

   #mv linux-2.3.50.tar.gz /usr/src
   (or #mv linux-2.3.50.tar.bz2 /usr/src)
4. uncompress and untar the file by
   #cd /usr/src
   #gzip -dc linux-2.3.50.tar.gz |tar -xovf -
   (or #bzip2 -d linux-2.3.50.tar.bz2
       #tar -xovf linux-2.3.50.tar)
5. After unzip is completed, there will be a directory /usr/src/linux
created.
   Make sure unzip is successful, and then change directory to
/usr/src/linux
   #ls -al
   drwxr-xr-x   6 root     root         1024 Jan 24 13:38 .
   drwxr-xr-x  22 root     root         1024 Nov 25 14:08 ..
   drwxr-xr-x  15 root     root         1024 Jan 24 17:57 linux

6. You can find the sis900.c and sis900.h files in
/usr/src/linux/drivers/net.
   Replace sis900.c and sis900.h with the update files, sis900.c and
sis900.h

7. Start to re-compile the Linux Kernel.
   #cd linux
   If you are using X-window enviroment you can configure the kernel by
   #make xconfig
   or if you are using text console
   #make menuconfig

4. There are many options you can choose, but the one that is related to

   our SiS900 is in "Network device support". First select "Ethernet"
   and select "SiS900(7016)" to "y". Save your kernel configuration
   by selecting "Save and Exit" in the main menu.

5. Recompile the kernel by
   #make bzlilo
   After the compilation finished there will be two file in / directory
   #ls -al /
   -rw-r--r--   1 root     root       298358 Jan 25 11:49 System.map
   -rw-r--r--   1 root     root       545835 Jan 25 11:49 vmlinuz
   If you are using RedHat move these two file to /boot

6. #cd /
   #mv System.map vmlinuz /boot
   Tell the linux kernel loader (LILO) about the new kernel
   #modify this file /etc/lilo.conf
   #lilo
   Now you can reboot your system
   #reboot
   After the system is rebooted, login and check if the driver is
working
   properly with dmesg
   You can see SiS900 information.





-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux