Click to See Complete Forum and Search --> : installing patches


Massimo
08-17-2001, 07:05 PM
I downloaded a .patch.bz2 file and I have already unzipped it. How do you install the patch?

Thanks

s1nn
08-17-2001, 07:41 PM
what distro?

bdl
08-17-2001, 08:19 PM
Whats the patch for? Kernel source?

You can usually patch the kernel with a simple command (assumes bzip2 compression):

prompt:/usr/src/linux-$version# bzcat -c /path/to/patch.bz2 | patch -p1

Other source can be patched in the same vain, just check the source code or website where you grabbed the patch for any variances in the command.

You might also consider uncompressing the file beforehand with 'bunzip2 patch.bz2' but it's really not necessary. Luck!

Massimo
08-17-2001, 11:34 PM
The patch was downloaded from the Highpoint.com website and it is a patch for the detection of the Highpoint ultra 66 dma SCSI card. I am assuming that it is patch for the kernel but I have to find out what version of the Kernel it is. I am assuming that it has to match the version that came with Mandrake 8.0, right?

Thanks for the help :rolleyes:

bdl
08-18-2001, 12:01 AM
Originally posted by Massimo:
<STRONG>The patch was downloaded from the Highpoint.com website and it is a patch for the detection of the Highpoint ultra 66 dma SCSI card. I am assuming that it is patch for the kernel but I have to find out what version of the Kernel it is. I am assuming that it has to match the version that came with Mandrake 8.0, right?
</STRONG>

Well, thats correct, you want to make sure you match up the patch version with the kernel version. A couple of points here:

1) Highpoint does not, AFAIK make SCSI adapters, they are IDE ata66/100 adapters.
2) The ata66/100 controllers are more than likely built into the MDK kernel source as it is, you shouldnt even have to patch it.
3) If you do patch the kernel source, use the hedrick (http://www.kernel.org/pub/linux/kernel/people/hedrick) patches rather than the one on highpoint-techs website. And it is highpoint-tech.com (http://www.highpoint-tech.com), not highpoint.com, just FYI.

[ 18 August 2001: Message edited by: bdl ]

Massimo
08-18-2001, 11:33 AM
I am sorry, but Highpint makes a SCSI card that it is didtributed thru ABIT and it is called HOTROD 66 Ultra DMA IDE Card, but it is recognized as a SCSI card.

Massimo
08-18-2001, 11:44 AM
The point is that I am trying to boot directly from the 20Gb HDD that I have installed in an old Gateway Pentium 166 computer. When I boot without the bootdisk, the screen displays a bunch of 01,01,01... and it will scrool this all over the screen and it will not stop. Unfortunately, the bios is to old and it does not have a SCSI Boot option. I tought that if Linux can recognize the SCSI adapter, than I would not have to boot from the floppy and install the bootloader in /dev/sda1. I am wrong? :confused:

bdg1983
08-18-2001, 01:33 PM
The NHF on the Ultra66 explains howto apply the patch. Of course bdl already explained that.

You could also try the section on ide2=..... ide3=...

http://www.linuxnewbie.org/nhf/intel/hardware/udma66.html

bdl
08-18-2001, 01:51 PM
Originally posted by Massimo:
<STRONG>The point is that I am trying to boot directly from the 20Gb HDD that I have installed in an old Gateway Pentium 166 computer. When I boot without the bootdisk, the screen displays a bunch of 01,01,01... and it will scrool this all over the screen and it will not stop. Unfortunately, the bios is to old and it does not have a SCSI Boot option. I tought that if Linux can recognize the SCSI adapter, than I would not have to boot from the floppy and install the bootloader in /dev/sda1. I am wrong? :confused:</STRONG>

Its not a SCSI adapter, so you won't be booting into /dev/sda anything. If your BIOS doesnt support the card, however, thats another problem altogether. Please take a look in the BIOS setup and see if there is an option "Boot PCI cards first" or something similar. I know on older systems like that it was specified as such. That's probably the only way you're going to get that card working with the old BIOS you've got. Then again, if its a Gateway machine with some type of proprietary BIOS, it may be severly limited to what you can do with it anyway. A good tip for next time: try to bring up the hardware issues first off, it helps to troubleshoot the problem.



Just thought of something; is your system showing the blue Highpoint BIOS screen upon boot? If not, the system BIOS doesnt even see the card attached to the it, and may not boot it regardless of what boot options you set. Just a thought...



[ 18 August 2001: Message edited by: bdl ]

Massimo
08-20-2001, 01:08 PM
The system does show the Highpoint screen upon boot and it does show the 20Gb HDD.