From: Edward Macfarlane Smith <snowfire@blueyonder.co.uk>
To: Lars Weissflog <L@rs-w.de>, cpufreq@www.linux.org.uk
Subject: Re: 2.4 kernel patch on debian source 2.4.22
Date: Mon, 20 Oct 2003 21:35:43 +0100 [thread overview]
Message-ID: <200310202135.43943.snowfire@blueyonder.co.uk> (raw)
In-Reply-To: <1066607136.1501.16.camel@carryme.shs>
I think you just need to add in all the lines that have a "+" without the plus
to the original file after the line with "obj-$(CONFIG_X86_VISWS_APIC) +=
visws_apic.o". There are 4 files that mess up in a similar way if you apply
the patch from the weekend to the 2.4.23-pre7 kernel. It's some other changes
that upset the patch.
I presume the cpufreq patch will be updated soon, but if anyone really needs
it I can mail them the modified patches.
Regards,
Edward
On Monday 20 October 2003 00:45, Lars Weissflog wrote:
> Hi Stephen,
>
> As far as I remember, all cpufreq-patches are agains the stock kernels
> from kernel.org. Go there and download the original linux-2.4.2x.tar.bz2
> (whatever version x is at this moment; I stopped with 2.4.20 for now,
> waiting to go up to 2.6 when it leaves the -testX state)
>
> Then untar those original sources and try to apply the cpufreq-patches
> against that. Should work. Another way might be to check out the
> modified kernel sources by Alan Cox. You can get them from the
> /people/alan tree on kernel.org. They have an -ac attached to the
> version number and normally include - more or less - the latest
> acpi-stuff. And maybe they include the cpufreq-stuff as well.
> But in any case you should be fine with the stock 2.4.2x-sources.
>
> Good luck and good night.
> Lars
>
> On Sun, 2003-10-19 at 21:21, Stephen English wrote:
> > Hi all,
> > First, thanks to all that contributed to creating this software - it
> > looks great. However, I can't get it to patch the debian kernel sources I
> > downloaded. Basically, I get this on a fresh extraction of the kernel:
> >
> > bex:/usr/src/cpufreq# ./patchin.sh /usr/src/linux
> > patching file Documentation/00-INDEX
> > patching file Documentation/Configure.help
> > Hunk #1 succeeded at 27057 (offset 80 lines).
> > Hunk #2 succeeded at 27458 (offset 80 lines).
> > patching file Makefile
> > Hunk #1 succeeded at 199 (offset 5 lines).
> > patching file arch/i386/config.in
> > Hunk #1 succeeded at 195 (offset 1 line).
> > patching file arch/i386/boot/setup.S
> > patching file arch/i386/kernel/Makefile
> > Hunk #2 FAILED at 44.
> > 1 out of 2 hunks FAILED -- saving rejects to file
> > arch/i386/kernel/Makefile.rej
> > patching file arch/i386/kernel/i386_ksyms.c
> > patching file arch/i386/kernel/setup.c
> > Hunk #3 succeeded at 207 (offset 4 lines).
> > Hunk #4 succeeded at 1150 (offset 10 lines).
> > patching file arch/i386/kernel/time.c
> > patching file drivers/Makefile
> > patching file include/asm-i386/ist.h
> > patching file include/asm-i386/msr.h
> > patching file include/asm-i386/smp.h
> > patching file include/linux/smp.h
> > bex:/usr/src/cpufreq# cd ..
> > bex:/usr/src# cat linux/arch/i386/kernel/Makefile.rej
> > ***************
> > *** 43,47 ****
> > obj-$(CONFIG_X86_LOCAL_APIC) += mpparse.o apic.o nmi.o
> > obj-$(CONFIG_X86_IO_APIC) += io_apic.o
> > obj-$(CONFIG_X86_VISWS_APIC) += visws_apic.o
> >
> > include $(TOPDIR)/Rules.make
> > --- 44,60 ----
> > obj-$(CONFIG_X86_LOCAL_APIC) += mpparse.o apic.o nmi.o
> > obj-$(CONFIG_X86_IO_APIC) += io_apic.o
> > obj-$(CONFIG_X86_VISWS_APIC) += visws_apic.o
> > + obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o
> > + obj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o
> > + obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o
> > + obj-$(CONFIG_X86_LONGHAUL) += longhaul.o
> > + obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o
> > + obj-$(CONFIG_X86_SPEEDSTEP_PIIX4) += speedstep-piix4.o
> > speedstep-lib.o + obj-$(CONFIG_X86_SPEEDSTEP_SMI) +=
> > speedstep-smi.o speedstep-lib.o + obj-$(CONFIG_X86_SPEEDSTEP_ICH)
> > += speedstep-ich.o speedstep-lib.o + obj-$(CONFIG_X86_P4_CLOCKMOD) +=
> > p4-clockmod.o
> > + obj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o
> > + obj-$(CONFIG_X86_LONGRUN) += longrun.o
> > + obj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o
> >
> > include $(TOPDIR)/Rules.make
> >
> > Any info on how to remedy this would be greatly appreciated.
> >
> > Thanks,
> >
> > Stephen English
next prev parent reply other threads:[~2003-10-20 20:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-19 19:21 2.4 kernel patch on debian source 2.4.22 Stephen English
2003-10-19 23:45 ` Lars Weissflog
2003-10-20 20:35 ` Edward Macfarlane Smith [this message]
2003-10-22 8:21 ` Ducrot Bruno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200310202135.43943.snowfire@blueyonder.co.uk \
--to=snowfire@blueyonder.co.uk \
--cc=L@rs-w.de \
--cc=cpufreq@www.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox