You are not logged in.

#1 2004-09-08 21:08:14

robot5x
Member
Registered: 2004-01-26
Posts: 266

Problems recompiling 2.6.8

Hi all,
Can't find any problems related to compilng kernel 2.6.8 in the forum so I guess its just me doing something weird.
Well, I upgraded to stock 2.6.8 last night and all went fine. Then I decided to recompile with ABS today and all went fine. Then I was messing around with iptables and realised I needed some other modules so I went for another recompile - for some reason this time it keeps borking out on me. All I've changed is the config and the md5s in the PKGBUILD - this is the output I get:

[root@sigma7 kernel26]# makepkg -f
==> Making package: kernel26  (Wed Sep  8 22:17:05 BST 2004)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of linux-2.6.8.1.tar.bz2
==>     Found config in build dir
==>     Found cdburning.patch in build dir
==>     Found logo_linux_clut224.ppm in build dir
==>     Found bio_uncopy_user-mem-leak.patch in build dir
==>     Found bio_uncopy_user-mem-leak-fix.patch in build dir
==>     Using local copy of acpi-20040715-2.6.8.diff.bz2
==> Validating source files with MD5sums
    linux-2.6.8.1.tar.bz2 ... Passed
    config ... Passed
    cdburning.patch ... Passed
    logo_linux_clut224.ppm ... Passed
    bio_uncopy_user-mem-leak.patch ... Passed
    bio_uncopy_user-mem-leak-fix.patch ... Passed
    acpi-20040715-2.6.8.diff.bz2 ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=bzip2 -xf linux-2.6.8.1.tar.bz2
==>     bunzip2 acpi-20040715-2.6.8.diff.bz2
==> Removing existing pkg/ directory...
==> Starting build()...
patching file fs/bio.c
patching file fs/bio.c
patching file drivers/block/scsi_ioctl.c
patching file arch/i386/kernel/acpi/boot.c
patching file arch/i386/kernel/acpi/sleep.c
patching file arch/i386/kernel/cpu/cpufreq/acpi.c
patching file arch/i386/kernel/dmi_scan.c
patching file arch/i386/kernel/i8259.c
patching file arch/i386/kernel/io_apic.c
patching file arch/i386/kernel/setup.c
patching file arch/i386/kernel/smpboot.c
patching file arch/i386/mm/discontig.c
patching file arch/ia64/kernel/acpi.c
patching file arch/x86_64/kernel/i8259.c
patching file arch/x86_64/kernel/setup.c
patching file arch/x86_64/kernel/smpboot.c
patching file drivers/acpi/Makefile
patching file drivers/acpi/acpi_ksyms.c
patching file drivers/acpi/asus_acpi.c
patching file drivers/acpi/blacklist.c
patching file drivers/acpi/bus.c
patching file drivers/acpi/button.c
patching file drivers/acpi/dispatcher/dsmethod.c
patching file drivers/acpi/dispatcher/dsmthdat.c
patching file drivers/acpi/dispatcher/dsopcode.c
patching file drivers/acpi/dispatcher/dswload.c
patching file drivers/acpi/dispatcher/dswstate.c
patching file drivers/acpi/ec.c
patching file drivers/acpi/events/evevent.c
patching file drivers/acpi/events/evgpe.c
patching file drivers/acpi/events/evgpeblk.c
patching file drivers/acpi/events/evmisc.c
patching file drivers/acpi/events/evregion.c
patching file drivers/acpi/events/evxface.c
patching file drivers/acpi/events/evxfevnt.c
patching file drivers/acpi/events/evxfregn.c
patching file drivers/acpi/executer/exconfig.c
patching file drivers/acpi/executer/exfldio.c
patching file drivers/acpi/executer/exmisc.c
patching file drivers/acpi/executer/exmutex.c
patching file drivers/acpi/executer/exoparg2.c
patching file drivers/acpi/executer/exresolv.c
patching file drivers/acpi/executer/exstore.c
patching file drivers/acpi/hardware/hwgpe.c
patching file drivers/acpi/hardware/hwregs.c
patching file drivers/acpi/hardware/hwsleep.c
The next patch would create the file drivers/acpi/motherboard.c,
which already exists!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/acpi/motherboard.c.rej
patching file drivers/acpi/namespace/nsaccess.c
patching file drivers/acpi/namespace/nsalloc.c
patching file drivers/acpi/namespace/nseval.c
patching file drivers/acpi/namespace/nsinit.c
patching file drivers/acpi/namespace/nsparse.c
patching file drivers/acpi/namespace/nsxfeval.c
patching file drivers/acpi/namespace/nsxfname.c
patching file drivers/acpi/osl.c
patching file drivers/acpi/parser/psopcode.c
patching file drivers/acpi/parser/psxface.c
patching file drivers/acpi/pci_link.c
patching file drivers/acpi/power.c
patching file drivers/acpi/processor.c
patching file drivers/acpi/resources/rsutils.c
patching file drivers/acpi/resources/rsxface.c
patching file drivers/acpi/scan.c
patching file drivers/acpi/sleep/Makefile
patching file drivers/acpi/sleep/main.c
patching file drivers/acpi/sleep/proc.c
patching file drivers/acpi/sleep/sleep.h
The next patch would create the file drivers/acpi/sleep/wakeup.c,
which already exists!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/acpi/sleep/wakeup.c.rej
patching file drivers/acpi/tables/tbxfroot.c
patching file drivers/acpi/thermal.c
patching file drivers/acpi/utilities/utalloc.c
patching file drivers/acpi/utilities/uteval.c
patching file drivers/acpi/utilities/utglobal.c
patching file drivers/acpi/utilities/utxface.c
patching file include/acpi/acconfig.h
patching file include/acpi/acdebug.h
patching file include/acpi/acdisasm.h
patching file include/acpi/acdispat.h
patching file include/acpi/acevents.h
patching file include/acpi/acexcep.h
patching file include/acpi/acglobal.h
patching file include/acpi/achware.h
patching file include/acpi/acinterp.h
patching file include/acpi/aclocal.h
patching file include/acpi/acmacros.h
patching file include/acpi/acnamesp.h
patching file include/acpi/acobject.h
patching file include/acpi/acparser.h
patching file include/acpi/acpi_bus.h
patching file include/acpi/acpi_drivers.h
patching file include/acpi/acpiosxf.h
patching file include/acpi/acpixf.h
patching file include/acpi/acstruct.h
patching file include/acpi/actbl.h
patching file include/acpi/actypes.h
patching file include/acpi/platform/acenv.h
patching file include/acpi/platform/aclinux.h
patching file include/asm-i386/acpi.h
patching file include/asm-i386/smp.h
patching file include/asm-ia64/acpi.h
patching file include/asm-x86_64/acpi.h
patching file init/main.c
==> ERROR: Build Failed.  Aborting...

Does anyone have any suggestions here?If I'd changed something major then it would give me a clue about what to fix.
Thanks in advance.

Offline

#2 2004-09-09 07:59:07

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: Problems recompiling 2.6.8

I had a thought that it might be a problem with my recompiled kernel so I reinstalled the stock 2.6.8 and booted into that...tried my edited config and the same thing happens. THen, I rerun ABS and though I would try to recompile the kernel just using the stock PKGBUILD and making no changes at all - still get the same error. Seems like for some reason now I can't get past this error at patching init/main.c....

Offline

#3 2004-09-09 13:42:04

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: Problems recompiling 2.6.8

Me again smile
IT seems like its the acpi file that the PKGBUILD needs that's causing the problem-I removed it from the PKGBUILD and it compiled fine (I have yet to load it and test it tho)...I can't find any news item or forum thread relating to what this file is and whether it's important or not, can anyone let me know?
On a side note, when I just ran makepkg the acpi.diff file wouldn't download - I had to go get it myself - is there an error in the url in the PKGBUILD?
nobody else seems to be having any trouble here, which is making me a bit paranoid!

Offline

#4 2004-09-09 14:52:41

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Problems recompiling 2.6.8

I tried to use PKBUILD for 2.6.8.1 url for acpi patch was wrong!!!

grabbed patch myself built Ok....

HTH

edit take a look in ...

http://www.kernel.org/pub/linux/kernel/ … e-release/

then edit PKGBUILD....


Mr Green

Offline

#5 2004-09-09 19:58:40

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: Problems recompiling 2.6.8

Ta Greeno, but I'm stuck...
I reverted back to a previous kernel version and everything's OK.
I'd sure like to know what the problem was tho.

Offline

#6 2004-09-10 06:51:14

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Problems recompiling 2.6.8

I see a new version is out 2.6.8.1-4 give that a go

here I have acpi patch '#'ed  out but just check yours ...


HTH


Mr Green

Offline

Board footer

Powered by FluxBB