Re: [Linux-decnet-user] Applying Kernel patch
Brought to you by:
chrissie_c,
ph3-der-loewe
|
From: Akihiko T. <TAN...@sp...> - 2000-08-14 23:03:44
|
I modified proc_fs.h and executed "make zImage" as shown in the kernel installation guide. It complied and linked. However, the following errors were displayed:
Root device is (3,8)
Boot sector 512 bytes.
Setup is 3440 bytes.
System is 619kB
System is too big. Try using bzImage or modules.
make[1]:***[zImage] Error 1
make[1]:Leaving directory 'usr/src/linux-2.2.14/arch/i386/boot'
make:***[zImage]Error 2
Do I need to fix these errors? It looks zImage is created.
Akihiko
---------- Original Message ----------------------------------
From: Patrick Caulfield <pa...@pa...>
Date: Fri, 11 Aug 2000 08:27:54 +0100
>On Thu, Aug 10, 2000 at 08:54:21PM -0400, Akihiko Tanaka wrote:
>> I downloaded the latest patch for DECNET and tried to install on my Red Hat 6.2 Kernel 2.2.14-50 i586 machine for the first time. I follwed the Kernel Patch Installation Guide on the web. When I did
>>
>> patch -p1 <decnet-2_2_16.diff
>>
>> I got an error and created proc_fs.h.rej file. It seems that patch tried to add PROC_NET_PNP and PROC_NET_DECNET to proc_fs.h file.
>>
>> I went ahead to execute make zImage. But because PROC_NET_DECNET is not defined in proc_fs.h, I had a compile error from af_decnet.c.
>>
>> How can I correct a patch error? Do I need to start from patch and the follow the instruction again? 'Make config' asked a lot of questions. It looks like defining a lot of Environment Variables. Can I skip this and use the previously defined values?
>
>
>That's normal for applying the 2.2.16 patch to a 2.2.14 kernel. You should
>either upgrade to 2.2.16 or edit the include/proc_fs.h file as follows:
>
>Look for PROC_NET_LAST and add the following line just before it:
>
>PROC_NET_DECNET,
>
>Don't forget the trailing comma or it won't compile.
>
><whinge mode>
>Considering 2.2.x is supposed to be a stable kernel I find it a little galling
>that new /proc/net entries seem to turn up in almost every new release :-(
></whinge mode>
>
>Just to confirm that, the file should look a little like this in that area:
>
>
> PROC_NET_BRIDGE,
> PROC_NET_DECNET,
> PROC_NET_LAST
>};
>
>enum scsi_directory_inos {
> PROC_SCSI_SCSI = 256,
> PROC_SCSI_ADVANSYS,
>
>
>Patrick
>
>_______________________________________________
>Linux-decnet-user mailing list
>Lin...@li...
>http://lists.sourceforge.net/mailman/listinfo/linux-decnet-user
>
|