Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#1287 - please add acpi patches to stock kernel
Attached to Project:
Arch Linux
Opened by Tobias Powalowski (tpowa) - Sunday, 22 August 2004, 15:12 GMT
Last edited by Judd Vinet (judd) - Sunday, 22 August 2004, 17:49 GMT
Opened by Tobias Powalowski (tpowa) - Sunday, 22 August 2004, 15:12 GMT
Last edited by Judd Vinet (judd) - Sunday, 22 August 2004, 17:49 GMT
|
Detailshi
the acpi development team provides patches to the standard kernel on http://acpi.sourceforge.net i suggest to integrate them because it's newer then the kernel acpi subsystem and you don't have to wait till a new kernel is released |
This task depends upon
the lines that have to be added for acpi patch
and it includes the nice logo from damir mm kernel add it if you like it too:
# $Id: PKGBUILD,v 1.22 2004/08/20 16:44:04 judd Exp $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=kernel26
pkgver=2.6.8.1
pkgrel=3
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-$pkgver.tar.bz2 \
config bio_uncopy_user-mem-leak.patch bio_uncopy_user-mem-leak-fix.patch \
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.8/acpi-20040715-2.6.8.diff.bz2)
#md5sums=('9517ca999e822b898fbdc7e72796b1aa' '28a9da5baae85a144279968fc58ef22c')
build() {
cd $startdir/src/linux-$pkgver
# restore classical cd/dvd burning behaviour:
sed -i '196s|if (verify_command(file, cmd))| /* if (verify_command(file, cmd))|;198s|/*| |' drivers/block/scsi_ioctl.c
# the files are copied out of 2.8.6.1-mm3 broken out package available at kernel.org
# to get audio cd burning again
cat ../bio_uncopy_user-mem-leak.patch | patch -p1
cat ../bio_uncopy_user-mem-leak-fix.patch | patch -p1
# to get latest acpi patches
cat ../acpi-20040715-2.6.8.diff | patch -p1
# replace logo:
cp $startdir/src/logo_linux_clut224.ppm $startdir/src/linux-$pkgver/drivers/video/logo/ && echo "==> logo replaced successfully"
sleep 2
# get rid of the 'i' in i686
carch=`echo $CARCH | sed 's|i||'`
cat ../config | sed "s|#CARCH#|$carch|g" >./.config
yes "" | make config
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-$pkgver/Makefile
install -D -m644 .config $startdir/pkg/usr/src/linux-$pkgver/.config
install -D -m644 .config $startdir/pkg/boot/kconfig26
mkdir -p $startdir/pkg/usr/src/linux-$pkgver/include
mkdir -p $startdir/pkg/usr/src/linux-$pkgver/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-$pkgver/include/
done
# copy files necessary for later builds, like nvidia and vmware
cp -a scripts $startdir/pkg/usr/src/linux-$pkgver/
mkdir -p $startdir/pkg/usr/src/linux-$pkgver/.tmp_versions
cp arch/i386/Makefile $startdir/pkg/usr/src/linux-$pkgver/arch/i386/
cp arch/i386/kernel/asm-offsets.s $startdir/pkg/usr/src/linux-$pkgver/arch/i386/kernel/
# copy in Kconfig files
for i in `find . -name "Kconfig*"`; do
mkdir -p $startdir/pkg/usr/src/linux-$pkgver/`echo $i | sed 's|/Kconfig.*||'`
cp $i $startdir/pkg/usr/src/linux-$pkgver/$i
done
cd $startdir/pkg/usr/src/linux-$pkgver/include && ln -s asm-i386 asm
chown -R root.root $startdir/pkg/usr/src/linux-$pkgver
cd $startdir/pkg/lib/modules/$pkgver && \
(rm -f source build; ln -sf /usr/src/linux-$pkgver build)
}
look at:
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm4/
take the broken out package there you get the patches
i'm looking through it to find a patch for the broken pcmcia i82...
perhaps you are faster ;-)
i823650 is old and I bet no i686 Arch users even use it. If they do, it's still available as a module.
okay if i find something i'll let you know
but i don't waste too much time on it
need some time approx 30 - 45 minutes to build
give you feedback after that
you can start building and releasing