Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 17 Nov 2006 09:40:19 +0300
From: "(GalaxyMaster)" <galaxy@....openwall.com>
To: owl-users@...ts.openwall.com
Subject: Re: SATA controller

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)

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.