RH9+PromiseSX6000+New Kernel(no module pst.o)

Конфигурирование, планирование RAID систем, возможности, технологии, теория. Qlogic, LSI Logic, Adaptec ...

Модераторы: Trinity admin`s, Free-lance moderator`s

Ответить
slavok
Junior member
Сообщения: 3
Зарегистрирован: 03 авг 2004, 19:00
Откуда: Msk

RH9+PromiseSX6000+New Kernel(no module pst.o)

Сообщение slavok » 22 сен 2004, 15:49

Текущее ядро 2.4.20-8, RAID-5-SX6000(дрова для SX6000 при установке Linux2.4.20.-8 встали без проблем-при инсталляци подсунул дискетку с дровами)
Компилирую новое ядро 2.4.26, в исходниках конечно нет поддержки PromiseSX6000. Качнул с ineta исходники модуля для Promise(Makefile,pti_st.o, pti_st.h, pti_stdev.h,i2odef.h, Readme.txt)---не могу сообразить, как при компиляции нового ядра сделать чтобы была поддержка Promise в новом ядре
Помогите, если возможно!!!
Вот Readme.txt:::
SuperTrak Linux Driver Installation

This document describes how to compile and install the new SuperTrak driver for
Linux. Our driver is a module. You do not need to recompile and reinstall the
kernel.

Before you start:

Be sure that your kernel source code is present on your PC, typically in the
/usr/src directory under the name Linux-2.4.16 or another Linux version. You
will need this source code to compile the new driver.

Begin to compile the SuperTrak driver as the following steps:

1. Go to the kernel source code's directory, (for example, "/usr/src/linux-
2.4.16")
2. Run the command "make menuconfig" or "make xconfig" to configure kernel
source codes.
Configure "Loadable Module support" and "Processor type and features"
the same as the kernel on which your PC is running so the driver can be
loaded into the kernel.
3. Save and Exit the configure menu.
4. Run the command "make dep" as shown.
5. Go to the directory where our driver code is located. Before building the
driver code, you have two choices:
1.) If you want run the driver in current kernel version and the kernel
source directory is something like '/usr/src/linux-x.x.xx/', the
'x.x.xx' is the current kernel version, then you can just run make
command in the driver source code directory.
2.) If you don't want run the driver in current kernel version, then you
must tell the make program where is the linux kernel source directory.
thus, you can run 'make KERNEL_SOURCE_DIR=/usr/src/linux-x.xx.xx'
(without the quotation marks).
for example:
If your kernel source directory is '/usr/src/linux-2.4.18-5', then
you can run make like this in command line:
# make KERNEL_SOURCE_DIR="/usr/src/linux-2.4.18-5"
You can also ignore the quotation marks, like the following:
# make KERNEL_SOURCE_DIR=/usr/src/linux-2.4.18-5

9. Run the command "make insmod" or "insmod pti_st.o" to load the new driver.

Аватара пользователя
Stranger03
Сотрудник Тринити
Сотрудник Тринити
Сообщения: 12979
Зарегистрирован: 14 ноя 2003, 16:25
Откуда: СПб, Екатеринбург
Контактная информация:

Сообщение Stranger03 » 22 сен 2004, 16:27

If you don't want run the driver in current kernel version, then you
must tell the make program where is the linux kernel source directory.
thus, you can run 'make KERNEL_SOURCE_DIR=/usr/src/linux-x.xx.xx'
Ну тут же явно написано. Надо взять сырцы драйвера, распаковать, запустить make KERNEL_SOURCE_DIR. MAKE добавит в сырцы ядра поддержку драйвера, дальше make menuconfig и вперед за орденами...

slavok
Junior member
Сообщения: 3
Зарегистрирован: 03 авг 2004, 19:00
Откуда: Msk

Сообщение slavok » 22 сен 2004, 18:11

make KERNEL_SOURCE_DIR=/usr/src/linux-2.4.26>>>
Make: Nothing to be done for "all"

Аватара пользователя
Stranger03
Сотрудник Тринити
Сотрудник Тринити
Сообщения: 12979
Зарегистрирован: 14 ноя 2003, 16:25
Откуда: СПб, Екатеринбург
Контактная информация:

Сообщение Stranger03 » 23 сен 2004, 11:08

slavok писал(а):make KERNEL_SOURCE_DIR=/usr/src/linux-2.4.26>>>
Make: Nothing to be done for "all"
Только вот на этой неделе бился головой об стену в виде RedHat Ent Server. Помогло какое-то шамаство, честно слово, :twisted:.
В usr/src сделал линк linux->linux-2.4.22.
cd linux
make clean
make mrproper
make menuconfig
и так далее. То есть попрбуйте все точно по инструкции как там написано. Только сначала все очистите, сделайте линк, потом пробуйте подключить дрова. Не поможет - надо пробовать руками подпихнуть в кернел.

P.S. вот за что я не люблю линух, :twisted:

Ответить

Вернуться в «Массивы - RAID технологии.»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 47 гостей