Re: [owl-users] SATA controller

From: GalaxyMaster (galaxy@private)
Date: Thu Nov 16 2006 - 22:40:19 PST


Vlad,

On Fri, Nov 17, 2006 at 11:18:04AM +0500, vlad wrote:

>   have decided to put on a house computer. But on my house computer
>   only SATA-disks. Controllers SATA are not identified by the
>   distribution kit. MB - ASUS P4P800-E Deluxe.
>   There are drivers under controllers on a disk with a MB.

AFAIU, you would like to compile additional driver which aren't included
in the default kernel shipped with the Owl installation CD but you have
a disk with the sources of the drivers for you motherboard...

To solve this issue you need to:

1. make a directory, say, kernel in /tmp (i.e. mkdir /tmp/kernel);
2. unpack the kernel sources into the created directory:
   # cd /tmp/kernel
   # tar xjf /usr/src/kernel/linux-2.4.<n>.tar.bz2

3. configure kernel:
   # cp /boot/config* /tmp/kernel/.config
   (unfortunately, I don't remember how the config is named on the CD,
    so you need to look it up in /boot first, but I think you wont
    miss it :) )
4. make a directory for your drivers in /tmp:
   # mkdir /tmp/asus
5. unpack/copy the sources of the driver for your motherboard into
   /tmp/asus and follow the instructions included with them. 

If the drivers are requiring that /usr/include/linux, /usr/include/asm,
etc. directories should be valid, then you could use the following
trick:

1. create a directory /tmp/usr_src_tmp

2. mount-bind it to /usr/src:
   # mount --bind /tmp/user_src_tmp /usr/src

3. create a symbolic link /usr/src/linux -> /tmp/kernel:
   # ln -s /tmp/kernel /usr/src/linux

4. compile your drivers

5. unbind /tmp/usr_src_tmp from /usr/src:
   # umount /usr/src

6. load the compiled drivers with insmod and continue the installation. 

Hope this helps.

-- 
(GM)



This archive was generated by hypermail 2.1.3 : Thu Nov 16 2006 - 22:40:43 PST