2003-09-13 10:25:10

by Somsak RAKTHAI

[permalink] [raw]
Subject: st_options.h

Dear sir,
I used Linux RedHat 7.2. My kernel is 2.4.7-10smp.
I want to modify file below to make new kernel.
/usr/src/linux/drivers/scsi/st_options.h

But don"t have "st_optioms.h" in my system.
Please let me know how to solve this problem.
Thank you very much.
regards,
Somsak.


2003-09-13 12:10:29

by Stuart Longland

[permalink] [raw]
Subject: Re: st_options.h

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somsak RAKTHAI wrote:
| I used Linux RedHat 7.2. My kernel is 2.4.7-10smp.

Any reason why you're running such an old kernel? Linux 2.4.22 was
released a couple of weeks ago, and I'm guessing that 2.4.23 won't be
too far off.

My suggestion,

1. Grab Linux 2.4.22 from ftp.kernel.org, and extract the source
into /usr/src

2. Copy your config file into the /usr/src/linux-2.4.22 directory
(as .config). You'll probably find it in
/boot/config-2.4.7-10smp or something like that. Simply run:

cp /boot/config-2.4.7-10smp /usr/src/linux-2.4.22/.config

3. Run the usual commands:
make mrproper oldconfig dep bzImage modules modules_install

4. Dump your kernel image into /boot and reconfigure your bootloader
(/etc/lilo.conf will be worth a look here).

cp /usr/src/linux-2.4.22/arch/i386/boot/bzImage \
/boot/vmlinuz-new

5. Boot the kernel, give it a try. If it works fine, then you can make
it your default kernel.
- --
+-------------------------------------------------------------+
| Stuart Longland stuartl at longlandclan.hopto.org |
| Brisbane Mesh Node: 719 http://stuartl.cjb.net/ |
| I haven't lost my mind - it's backed up on a tape somewhere |
| Griffith Student No: Course: Bachelor/IT (Nathan) |
+-------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/YwkwIGJk7gLSDPcRAkSWAJ9bxhHQyB4fRZNEtNNVfIgFbHxzJwCdGuw/
Odp+bOov2zpV506ZlO0n6Ro=
=bjBy
-----END PGP SIGNATURE-----

2003-09-13 18:07:58

by Alan

[permalink] [raw]
Subject: Re: st_options.h

On Sad, 2003-09-13 at 11:26, Somsak RAKTHAI wrote:
> Dear sir,
> I used Linux RedHat 7.2. My kernel is 2.4.7-10smp.
> I want to modify file below to make new kernel.
> /usr/src/linux/drivers/scsi/st_options.h

Make sure you have kernel-source installed (I'd also strongly advise
you to update to the errata packages for 7.2 if you can).

Alan