3Ware 7506-8 User Guide - Page 73

For Red Hat 2.4, For Red Hat 7.2 and newer, For UP kernels

Page 73 highlights

Red Hat Linux Installation 2 For Red Hat 2.4 kernels, type: cp For example: cp /mnt/rh80/3w-xxxx.* /lib/modules// kernel/drivers/scsi/3w-xxxx.o When prompted to overwrite, type y. If you are using Red Hat 9.0, replace rh80 with rh90 in the previous example. Use the appropriate module name. In the example above, the name of the module you will copy (3w-xxxx.*) varies, depending on the kernel; however you will always copy it to a file named 3w-xxxx.o. The available module files are: For UP kernels: 3w-xxxx.o For SMP kernels: 3w-xxxx.smp For Enterprise kernels: 3w-xxxx.ent For Bigmem kernels: 3w-xxxx.big Use the appropriate kernel string. The kernel string will have different endings, depending on the kernel you are using. For an SMP kernel (multi-processor), the kernel string will end in smp. For example: 2.4.18-14smp. For an Enterprise kernel, the kernel string will end in enterprise. For example: 2.4.18-14enterprise For a Bigmem kernel, the kernel string will end in bigmem. For example: 2.4.18-14bigmem 3 For Red Hat 7.2 and newer, add the following line to /etc/modules.conf, if it isn't already there: alias scsi_hostadapter 3w-xxxx 4 Run mkinitrd by entering the following: /sbin/mkinitrd -v -f /boot/initrd- Note: The first argument for initrd is the kernel version string. The second argument () for initrd is the /lib/modules directory to copy the 3w-xxxx driver from. 5 If you are using the GRUB boot loader, skip to Step 6. www.3ware.com 65

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126

Red Hat Linux Installation
www.3ware.com
65
2
For Red Hat 2.4
kernels, type:
cp <source> <destination>
For example:
cp /mnt/rh80/3w-xxxx.* /lib/modules/
<put the kernel string here>
/
kernel/drivers/scsi/3w-xxxx.o
When prompted to overwrite, type
y
.
If you are using Red Hat 9.0
, replace
rh80
with
rh90
in the previous
example.
Use the appropriate module name.
In the example above, the name
of the module you will copy (
3w-xxxx.*
) varies, depending on the
kernel; however you will always copy it to a file named 3w-xxxx.o.
The available module files are:
For UP kernels:
3w-xxxx.o
For SMP kernels:
3w-xxxx.smp
For Enterprise kernels:
3w-xxxx.ent
For Bigmem kernels:
3w-xxxx.big
Use the appropriate kernel string.
The kernel string will have differ-
ent endings, depending on the kernel you are using.
For an SMP kernel (multi-processor), the kernel string will end in
smp
. For example:
2.4.18-14smp
.
For an Enterprise kernel, the kernel string will end in
enterprise
.
For example:
2.4.18-14enterprise
For a Bigmem kernel, the kernel string will end in
bigmem.
For
example:
2.4.18-14bigmem
3
For Red Hat 7.2 and newer
, add the following line to
/etc/modules.conf, if it isn’t already there:
alias scsi_hostadapter 3w-xxxx
4
Run mkinitrd by entering the following:
/sbin/mkinitrd -v -f /boot/initrd-
<kernel string1.img> <kernel
string1>
Note:
The first argument <kernel string1.img> for initrd is the
kernel version string. The second argument (<kernel string1>)
for initrd is the /lib/modules directory to copy the 3w-xxxx
driver from.
5
If you are using the GRUB boot loader, skip to Step 6.