You are not logged in.

#1 2005-06-08 19:49:17

dust
Member
Registered: 2005-06-04
Posts: 152
Website

why is this ati ddriver mod package failing?

Trying to get the ati driver modules to install so i can get ati drivers working on my system.

following steps for the wiki here:
http://wiki2.archlinux.org/index.php/At … rnel%202.6

The problem I'm having thus far is I'm getting this right after doing makepkg for the modules I'm receiving this:

23510 blocks
missing header for unified diff at line 4 of patch
patching file agpgart_be.c
missing header for unified diff at line 2 of patch
can't find file to patch at input line 2
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|c.c    2005-03-02 22:21:42.000000000 +0200
--------------------------
File to patch:     

The PKGBUILD file:

kernel='uname -r'
kernelpkgver=2.6.11.10
pkgname=ati-drivers-module-kernel26
pkgver=8.12.10
pkgrel=1
pkgdesc="ATI drivers kernel module"
url="http://www.ati.com"
license="ATI"
provides=('ati-drivers-module')
depends=("kernel26=$kernelpkgver" 'xorg')
makedepends=('rpmunpack')
install=ati-drives-module.install
source=("http://www2.ati.com/drivers/linux/fglrx_6_8_0-8.12.10-1.i386.rpm" "http://www.hotee.ee/amurde/p1.patch" "http://www.hot.ee/amurde/p2.patch")

#just to get this running, keeping the md5sums line out
build() {
        cd $startdir/src
        rpmunpack < $startdir/src/fglrx_6_8_0-8.12.10-1.i386.rpm | gzip -d | cpio -idmuv
        # compile the DRI kernel module
        cd $startdir/src/lib/modules/fglrx/build_mod
        patch -p0 < $startdir/src/p1.patch
        patch -p0 < $startdir/src/p2.patch
        cp 2.6.x/Makefile .
        export _POSIX2_VERSION="199209"
        make -C /usr/src/linux-$kernel SUBDIRS="'pwd'" modules || return 1

        # Install the kernel module
        install -m 644 -D $startdir/src/lib/modules/fglrx/build_mod/fglrx.ko $startdir/pkg/lib/modules/$kernel/video/fglrx.ko || return 1
}

It had a problem downloading the pn.patch files, so I copy/pasted their contents to files and copied them into the directory:

[root@ethereal ati-drivers-module-kernel26]# ls
PKGBUILD  ati-drivers-module.install  p1.patch  p2.patch

Any ideas please?


Writing stories for a machine.

Offline

#2 2005-06-08 20:11:00

iom
Member
From: Slovenia
Registered: 2005-04-18
Posts: 35

Re: why is this ati ddriver mod package failing?

looks like your copy-pasted p?.patch aren't the same as originals. why don't you remove your local p?.patch files and re-try downloading them

Offline

#3 2005-06-09 17:25:16

qwerty
Member
Registered: 2004-12-17
Posts: 183

Re: why is this ati ddriver mod package failing?

New ati drivers are out... let's try 'em smile

http://www2.ati.com/drivers/linux/linux_8.14.13.html

The new ATI Proprietary Linux Driver Installer makes installing the ATI Linux driver a much simpler and user friendly experience. The installer provides for automatic and custom driver installations. Further, the ATI Proprietary Linux Driver Installer provides an option to generate distribution specific driver packages.


yo!

Offline

#4 2005-06-09 17:28:38

qwerty
Member
Registered: 2004-12-17
Posts: 183

Re: why is this ati ddriver mod package failing?

Offline

#5 2005-06-09 19:38:56

qwerty
Member
Registered: 2004-12-17
Posts: 183

Re: why is this ati ddriver mod package failing?

.. ok, i've also put all you need to build ati drivers on the AUR and i've updated the wiki, let's try 'em and let me know if they works smile)

http://aur.archlinux.org/packages/ati-d … i-drivers/

http://wiki2.archlinux.org/index.php/At … rnel%202.6

Offline

Board footer

Powered by FluxBB