Mam problem z instalacją kontrolera Super Trak EX8650.
¦ciągnąłem najnowsze sterowniki ze strony producenta i zacząłem postępować według instrukcji:
Kod: Zaznacz cały
cd /lib/modules/2.6.26-2-686/kernel/
mkdir build
ln -s /usr/src/linux build
Kod: Zaznacz cały
If the kernel source exists,jump the step 5.Please you download the kernel
source and unpack it to /usr/src.From the kernel source directory, clean
the kernel configuration and copy new kernel configuration based on your OS
and platform. For example:
Wiec postanowiłem przejść według instrukcji do 5 punktu:
Kod: Zaznacz cały
5. From the /usr/src directory, create a link "linux" to the kernel source.
# rm linux (if it is existed)
# ln -s kernel_source linux
6. Unpack the driver source package to a directory. Enter this directory, and start to build driver.
# make
Kod: Zaznacz cały
/usr/src/linux/Kod: Zaznacz cały
#makeKod: Zaznacz cały
bash: make: command not foundKod: Zaznacz cały
-rwxr-xr-x 1 root root 817 lis 9 2007 history.txt
-rwxr-xr-x 1 root root 1999 gru 31 2006 Makefile
-rwxr-xr-x 1 root root 2677 lis 7 2007 readme.txt
-rwxr-xr-x 1 root root 39104 paź 16 2007 stex.c
Kod: Zaznacz cały
./Makefile
Kod: Zaznacz cały
./Makefile: line 6: UTSVERSION: command not found
./Makefile: line 11: syntax error near unexpected token `$(OEM),'
./Makefile: line 11: `ifeq ($(OEM),)'Edycja:
Plik readme.txt
Kod: Zaznacz cały
------ Driver Make Instructions
The following examples show how to configure and make the Promise
SuperTrak EX SAS Raid Controller driver(s) for kernel modules.
1. Locate to the driver build directory and create a link to the kernel source.
# cd /lib/modules/`uname -r'
# rm build
# ln -s /usr/src/linux build
2. If the kernel source exists,jump the step 5.Please you download the kernel
source and unpack it to /usr/src.From the kernel source directory, clean
the kernel configuration and copy new kernel configuration based on your OS
and platform. For example:
# make mrproper
# make clean
# uname -a
Linux localhost.localdomain 2.6.21-1.3194.fc7 #1 SMP Tue May 8
17:10:00 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
# cp configs/kernel-2.6.21-x86_64.config .config
Modify the make file
# vi Makefile
correct EXTRAVERSION=-1.3194.fc7
3. From the kernel source directory, run the normal kernel
configuration routine, and then save its changes.
# make oldconfig
or:
# make config
or:
# make menuconfig
or:
# make xconfig
4. Rebuild the kernel.
# make
5. From the /usr/src directory, create a link "linux" to the kernel source.
# rm linux (if it is existed)
# ln -s kernel_source linux
cp
6. Unpack the driver source package to a directory. Enter this directory, and start to build driver.
# make
=== Loading the Drivers As Modules ===
Follow these steps to load the new driver binaries:
1. Load the Promise SuperTrak EX SAS Raid Controller driver. If scsi_mod is not loaded,you should insert it manually.
# lsmod | grep scsi_mod
# insmod scsi_mod (if it is not loaded)
# lsmod | grep stex(if the old driver exist)
# rmmod stex
# insmod stex.o
scsi 7:0:0:0 Direct-Access Promise ST V-LUN
0101 PQ: 0 ANSI: 4
scsi 7:0:16:0 Processor Promise RAID Console
1.00 PQ: 0 ANSI: 3
SCSI device sdb: 1 512-byte hdwr sectors (0 MB)
All Fibre Channel target devices should be detected and mapped to Linux
SCSI devices, /dev/sd{a,b,c,...} when the stex module is loaded.
All Linux commands pertaining to SCSI disk storage management
(fdisk, mke2fs, mount, etc.) using the /dev/sdX[N] notation
should now be functional.
2. The following is the device access example:
# fdisk /dev/sdb
# mke2fs /dev/sdb1
# mount /dev/sdb1 /mnt/s1