You are not logged in.

#1 2005-04-29 21:06:30

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Ati with kernel26.

Here tonight I tried to use ATI drivers instead of the DRM drivers. But when i try to make my new kernel I gets this error:

[root@matrix kernel26]# makepkg
==> Making package: kernel26  (Fri Apr 29 22:52:36 CEST 2005)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of linux-2.6.11.7.tar.bz2
==>     Found config in build dir
==>     Found logo_linux_clut224.ppm in build dir
==>     Using local copy of acpi-20050228-2.6.11.diff.bz2
==>     Using local copy of nvidia_6111-6629_compat2.diff
==>     Using local copy of acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch
==> Validating source files with MD5sums
    linux-2.6.11.7.tar.bz2 ... Passed
    config ... FAILED
    logo_linux_clut224.ppm ... Passed
    acpi-20050228-2.6.11.diff.bz2 ... Passed
    nvidia_6111-6629_compat2.diff ... Passed
    acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
[root@matrix kernel26]#

Why does 'config' fail? I have follow the instructions given in the wiki, so what is wrong?


Arch - It's something refreshing

Offline

#2 2005-04-29 21:30:17

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Ati with kernel26.

Did you modify the config file?  If yes, you need to replace its md5sum in the PKGBUILD.

Offline

#3 2005-04-29 21:32:57

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Ati with kernel26.

I haven't tried what your doing but if you changed the .config file from what was orginally, ie cut and paste, replace, etc., then you will get that error. If your sure its correct, do makepkg -g >>PKGBUILD. That will give you the new md5sums and the bottom of the PKBUILD. Just cut and paste into the right spot and try again.

Offline

#4 2005-04-29 21:43:46

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Ati with kernel26.

I have run makepkg -g, and here is the output:

[root@matrix kernel26]# makepkg -g
==> Making package: kernel26  (Fri Apr 29 22:36:38 CEST 2005)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Downloading linux-2.6.11.7.tar.bz2
--22:36:38--  ftp://ftp.kernel.org/pub/linux/kernel/v … .7.tar.bz2
           => `linux-2.6.11.7.tar.bz2'
Resolving ftp.kernel.org... 204.152.191.37, 204.152.191.5
Connecting to ftp.kernel.org[204.152.191.37]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/linux/kernel/v2.6 ... done.
==> PASV ... done.    ==> RETR linux-2.6.11.7.tar.bz2 ... done.
Length: 37,099,602 (unauthoritative)

100%[====================================>] 37,099,602    67.37K/s    ETA 00:00

22:46:05 (64.46 KB/s) - `linux-2.6.11.7.tar.bz2' saved [37099602]

==>     Found config in build dir
==>     Found logo_linux_clut224.ppm in build dir
==>     Downloading acpi-20050228-2.6.11.diff.bz2
--22:46:05--  http://ftp.kernel.org/pub/linux/kernel/ … 1.diff.bz2
           => `acpi-20050228-2.6.11.diff.bz2'
Resolving ftp.kernel.org... 204.152.191.37, 204.152.191.5
Connecting to ftp.kernel.org[204.152.191.37]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10,241 [application/x-bzip2]

100%[====================================>] 10,241        25.97K/s             

22:46:06 (25.88 KB/s) - `acpi-20050228-2.6.11.diff.bz2' saved [10241/10241]

==>     Downloading nvidia_6111-6629_compat2.diff
--22:46:06--  http://ck.kolivas.org/patches/2.6/2.6.1 … mpat2.diff
           => `nvidia_6111-6629_compat2.diff'
Resolving ck.kolivas.org... 216.17.101.201
Connecting to ck.kolivas.org[216.17.101.201]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,343 [text/x-diff]

100%[====================================>] 3,343         17.55K/s             

22:46:07 (17.54 KB/s) - `nvidia_6111-6629_compat2.diff' saved [3343/3343]

==>     Downloading acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch
--22:46:07--  http://gaugusch.at/acpi-dsdt-initrd-pat … .6.9.patch
           => `acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch'
Resolving gaugusch.at... 212.236.250.103
Connecting to gaugusch.at[212.236.250.103]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6,359 [text/plain]

100%[====================================>] 6,359         --.--K/s             

22:46:11 (69.78 KB/s) - `acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch' saved [6359/6359]

==> Generating MD5sums for source files
   
md5sums=('04f5efb260ff6fb4eaa221fb5b880d8e' 'e298f255c1072f19b5953fe0d5407444'
         '5a62bcc7e96601052c7405459b483826' '627ebe9d46c2b34a7b6783fae99c59de'
         '82488604906bbba37a412c78d7b5c5f0' '977bc6069e122e5f07b0311e094b5733')

And here is from the PKGBUILD file:

[root@matrix kernel26]# cat PKGBUILD
# $Id: PKGBUILD,v 1.45 2005/04/10 00:57:18 judd Exp $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=kernel26
pkgver=2.6.11.7
pkgrel=1
pkgdesc="The Linux Kernel and modules (IDE support)"
url="http://www.kernel.org"
backup=('boot/kconfig26')
depends=('module-init-tools')
install=kernel26.install
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.7.tar.bz2
  config logo_linux_clut224.ppm
  #http://www.acm.rpi.edu/~dilinger/patches/2.6.10/as2/patch-2.6.10-as2.gz
  http://ftp.kernel.org/pub/linux/kernel/ … 1.diff.bz2
  http://ck.kolivas.org/patches/2.6/2.6.1 … mpat2.diff
  http://gaugusch.at/acpi-dsdt-initrd-pat … 6.9.patch)
md5sums=('04f5efb260ff6fb4eaa221fb5b880d8e' '69a957616071eae6196db00a410b82db'
         '5a62bcc7e96601052c7405459b483826' '627ebe9d46c2b34a7b6783fae99c59de'
         '82488604906bbba37a412c78d7b5c5f0' '977bc6069e122e5f07b0311e094b5733')

build() {
  cd $startdir/src/linux-2.6.11.7
  patch -Np1 -i ../acpi-20050228-2.6.11.diff || return 1
  patch -Np1 -i ../nvidia_6111-6629_compat2.diff || return 1
  patch -Np1 -i ../acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch || return 1
  # various fixes by Andres Salomon
  #patch -Np1 -i ../patch-$pkgver-as2 || return 1
  # remove the -as2 tag
  #sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION =|g' Makefile
  # Arch logo!
  cp ../logo_linux_clut224.ppm drivers/video/logo/
  # get rid of the 'i' in i686
  carch=`echo $CARCH | sed 's|i||'`
  cat ../config | sed "s|#CARCH#|$carch|g" >./.config
  # build the full kernel version to use in pathnames
  . ./.config
  _kernver="${pkgver}${CONFIG_LOCALVERSION}"
  # load configuration
  yes "" | make config
  # build!
  make clean bzImage modules || return 1
  mkdir -p $startdir/pkg/{lib/modules,boot}
  make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
  cp System.map $startdir/pkg/boot/System.map26
  cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26
  install -D -m644 Makefile
    $startdir/pkg/usr/src/linux-${_kernver}/Makefile
  install -D -m644 .config
    $startdir/pkg/usr/src/linux-${_kernver}/.config
  install -D -m644 .config $startdir/pkg/boot/kconfig26
  mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include
  mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/arch/i386/kernel
  for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-${_kernver}/include/
  done
  # copy files necessary for later builds, like nvidia and vmware
  cp -a scripts $startdir/pkg/usr/src/linux-${_kernver}
  mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/.tmp_versions
  cp arch/i386/Makefile $startdir/pkg/usr/src/linux-${_kernver}/arch/i386/
  cp arch/i386/kernel/asm-offsets.s
    $startdir/pkg/usr/src/linux-${_kernver}/arch/i386/kernel/
  # copy in Kconfig files
  for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-${_kernver}/$i
  done
  cd $startdir/pkg/usr/src/linux-${_kernver}/include && ln -s asm-i386 asm
  chown -R root.root $startdir/pkg/usr/src/linux-${_kernver}
  cd $startdir/pkg/lib/modules/${_kernver} &&
    (rm -f source build; ln -sf /usr/src/linux-${_kernver} build)


Arch - It's something refreshing

Offline

#5 2005-04-29 21:53:41

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Ati with kernel26.

Do what I told you: makepkg -g >>PKGBUILD   
It will put the new md5sum list at the bottom of the PKGBUILD. Its up to you to replace it with the old. Also a good idea to back up that PKGBUILD file so future ABS updates wont overwrite it.

Snowman wrote:

Did you modify the config file? If yes, you need to replace its md5sum in the PKGBUILD.

Snowman beat me this time!

Offline

#6 2005-04-29 22:00:42

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Ati with kernel26.

Allright I try.


Arch - It's something refreshing

Offline

#7 2005-04-30 13:38:19

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Ati with kernel26.

Allright it worked, but when I try to run makepkg this happens.

[root@matrix kernel26]# makepkg
==> Making package: kernel26  (Sat Apr 30 15:32:56 CEST 2005)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of linux-2.6.11.7.tar.bz2
==>     Found config in build dir
==>     Found logo_linux_clut224.ppm in build dir
==>     Using local copy of acpi-20050228-2.6.11.diff.bz2
==>     Using local copy of nvidia_6111-6629_compat2.diff
==>     Using local copy of acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch
==> Validating source files with MD5sums
    linux-2.6.11.7.tar.bz2 ... Passed
    config ... Passed
    logo_linux_clut224.ppm ... Passed
    acpi-20050228-2.6.11.diff.bz2 ... Passed
    nvidia_6111-6629_compat2.diff ... Passed
    acpi-dsdt-initrd-patch-v0.7d-2.6.9.patch ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=bzip2 -xf linux-2.6.11.7.tar.bz2
==>     bunzip2 acpi-20050228-2.6.11.diff.bz2
==> Starting build()...
patching file arch/i386/kernel/acpi/sleep.c
patching file arch/ia64/kernel/acpi.c
patching file drivers/acpi/container.c
patching file drivers/acpi/executer/exoparg2.c
patching file drivers/acpi/fan.c
patching file drivers/acpi/parser/psopcode.c
patching file drivers/acpi/resources/rsaddr.c
patching file drivers/acpi/resources/rscalc.c
patching file drivers/acpi/resources/rsdump.c
patching file drivers/acpi/resources/rslist.c
patching file drivers/acpi/scan.c
patching file drivers/acpi/utilities/utdelete.c
patching file drivers/acpi/utilities/utglobal.c
patching file drivers/acpi/utilities/utmisc.c
patching file include/acpi/acconfig.h
patching file include/acpi/acdisasm.h
patching file include/acpi/aclocal.h
patching file include/acpi/actbl.h
patching file include/acpi/actbl2.h
patching file include/acpi/actypes.h
patching file include/acpi/platform/acenv.h
patching file arch/i386/mm/init.c
patching file drivers/pci/search.c
patching file include/linux/pci.h
patching file mm/mmap.c
patching file Documentation/dsdt-initrd.txt
patching file drivers/acpi/osl.c
Hunk #1 succeeded at 35 (offset 1 line).
Hunk #2 succeeded at 246 (offset 8 lines).
Hunk #3 succeeded at 283 (offset 1 line).
patching file drivers/acpi/Kconfig
Hunk #1 succeeded at 257 with fuzz 1 (offset 38 lines).
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c: In function 'parse_config_file':
scripts/basic/fixdep.c:245: warning: pointer targets in passing argument 1 of 'use_config' differ in signedness
scripts/basic/fixdep.c: In function 'parse_dep_file':
scripts/basic/fixdep.c:299: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness
scripts/basic/fixdep.c:299: warning: pointer targets in assignment differ in signedness
  HOSTCC  scripts/basic/split-include
scripts/basic/split-include.c: In function 'main':
scripts/basic/split-include.c:113: warning: pointer targets in assignment differ in signedness
  HOSTCC  scripts/basic/docproc
scripts/basic/docproc.c: In function 'find_export_symbols':
scripts/basic/docproc.c:184: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c:185: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c:202: warning: pointer targets in passing argument 2 of 'add_new_symbol' differ in signedness
scripts/basic/docproc.c: In function 'singfunc':
scripts/basic/docproc.c:274: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c: In function 'parse_file':
scripts/basic/docproc.c:296: warning: pointer targets in assignment differ in signedness
  SHIPPED scripts/kconfig/zconf.tab.h
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function 'strip':
scripts/kconfig/conf.c:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/kconfig/conf.c: In function 'conf_askvalue':
scripts/kconfig/conf.c:94: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
scripts/kconfig/conf.c: In function 'conf_string':
scripts/kconfig/conf.c:187: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/kconfig/conf.c:188: warning: pointer targets in assignment differ in signedness
scripts/kconfig/conf.c: In function 'conf_sym':
scripts/kconfig/conf.c:236: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/kconfig/conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kconfig/conf.c:236: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/kconfig/conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kconfig/conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kconfig/conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kconfig/conf.c:248: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/kconfig/conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kconfig/conf.c:248: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
scripts/kconfig/conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kconfig/conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kconfig/conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
scripts/kconfig/conf.c: In function 'conf_choice':
scripts/kconfig/conf.c:350: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
scripts/kconfig/conf.c:360: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
scripts/kconfig/conf.c:384: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
  HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:1: internal compiler error: in bind, at c-decl.c:486
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [config] Error 2
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-i386
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c: In function 'parse_config_file':
scripts/basic/fixdep.c:245: warning: pointer targets in passing argument 1 of 'use_config' differ in signedness
scripts/basic/fixdep.c: In function 'parse_dep_file':
scripts/basic/fixdep.c:299: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness
scripts/basic/fixdep.c:299: warning: pointer targets in assignment differ in signedness
  HOSTCC  scripts/basic/split-include
scripts/basic/split-include.c: In function 'main':
scripts/basic/split-include.c:113: warning: pointer targets in assignment differ in signedness
  HOSTCC  scripts/basic/docproc
scripts/basic/docproc.c: In function 'find_export_symbols':
scripts/basic/docproc.c:184: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c:185: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c:202: warning: pointer targets in passing argument 2 of 'add_new_symbol' differ in signedness
scripts/basic/docproc.c: In function 'singfunc':
scripts/basic/docproc.c:274: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c: In function 'parse_file':
scripts/basic/docproc.c:296: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c: At top level:
scripts/basic/docproc.c:397: internal compiler error: in pop_scope, at c-decl.c:835
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [scripts/basic/docproc] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** [include/linux/autoconf.h] Error 2
==> ERROR: Build Failed.  Aborting...
[root@matrix kernel26]# 

Arch - It's something refreshing

Offline

Board footer

Powered by FluxBB