Abs cvs kernel config issue.
When building a custom kernel I like to work from the arch config file as a starting point, however there seems to be a problem with the curent config files of the 2.6 kernel around line 78. Mine looks like this:
CONFIG_M#CARCH#=y
Which I am fairly certain is wrong. It also seems to be in the other kernels.
Has anyone else got a similar corruption in their abs tree?
Set up your custom PKGBUILD like this, adding the appropriate lines where necessary. This is an excerpt from my custom PKGBUILD. It will allow you to use arch's config file while letting you make changes.
# 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}-grsec${CONFIG_LOCALVERSION}"
----> # make changes in kernel configuration
----> make xconfig #gconfig menuconfig
# load configuration
yes "" | make config
# build!
make clean bzImage modules || return 1
mkdir -p $startdir/pkg/{lib/modules,boot}
Similar Messages
-
Custom kernel config and fsck error
Why does arch kernel config pass while custom kernel config fail the fsck during boot? Udev obviously populates /dev/sda* with the archlinux kernel config while the custom kernel config populates /dev/hda*. Is there a reason for this behavior related to the config file or is it a initscript based on /etc/fstab related issue? I have the two different kernel configuration files for the i686 machines, just in case someone can figure this out.
http://aur.archlinux.org/packages/longe … ig-longene
http://aur.archlinux.org/packages/longe … -archlinuxCheck to make sure that it is not because of the system time being changed. It will complain about this if it has changed and fail the first filesystem check.
Last edited by Wintervenom (2009-09-08 15:56:26) -
[Solved] ABS built kernel package file conflicts
Index» Kernel & Hardware
Hello-
I am starting a new thread since my previous post was to an ancient thread (sorry, I hadn't noted the date).
I built a custom kernel using ABS, attempting to follow https://wiki.archlinux.org/index.php/Cu … n_with_ABS notes
However the notes regarding _kernelname and pkgname don't seem to match up with the formatting or idea of the PKGBUILD file provided by abs.
Instead of following the wiki, i followed the instruction provided by the PKGBUILD by commenting out the default line and uncommenting/modifying the second line.
#pkgbase=linux # Build stock -ARCH kernel
pkgbase=linux-iwlwifidebug # Build kernel with a different name
The result was a package with conflicting files:
loading packages...
resolving dependencies...
:: Proceed with installation? [Y/n]
Packages (1): linux-iwlwifidebug-3.12.1-1
Total Installed Size: 68.98 MiB
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
error: failed to commit transaction (conflicting files)
linux-iwlwifidebug: /usr/lib/modules/3.12.1-1-ARCH/extramodules exists in filesystem
linux-iwlwifidebug: /usr/lib/modules/3.12.1-1-ARCH/kernel/arch/x86/crypto/ablk_helper.ko.gz exists in filesystem
linux-iwlwifidebug: /usr/lib/modules/3.12.1-1-ARCH/kernel/arch/x86/crypto/aes-x86_64.ko.gz exists in filesystem
linux-iwlwifidebug: /usr/lib/modules/3.12.1-1-ARCH/modules.softdep exists in filesystem
linux-iwlwifidebug: /usr/lib/modules/3.12.1-1-ARCH/modules.symbols exists in filesystem
linux-iwlwifidebug: /usr/lib/modules/3.12.1-1-ARCH/modules.symbols.bin exists in filesystem
linux-iwlwifidebug: /usr/src/linux-3.12.1-1-ARCH/vmlinux exists in filesystem
Errors occurred, no packages were upgraded.
In the thread that was closed due to being too old (https://bbs.archlinux.org/viewtopic.php?pid=234004), jasonwryan noted:
"pkgbase is for split packages, you need pkgname:
_kernelname="-foo"
pkgname=linux-foo
pkgver=3.12.1
pkgrel=1
_srcname=linux-3.12
pkgdesc="The ${pkgname} kernel and modules"
" and you can see that he also changed kernelname.
Which jives with the doc https://wiki.archlinux.org/index.php/Cu … n_with_ABS, which notes
Modify pkgname and _kernelname for your custom package name, e.g.:
_kernelname="-custom" # custom suffix, eg., 3.12.1-1-custom
pkgname=linux-custom # custom package name, eg., vmlinuz-linux-custom
Looking at the logic that is provided by jasonwryan and the doc, I need pkgname and _kernelname to be different than default- however these are defined in PKGBUILD as being based on pkgbase, and it is much cleaner to update the one line that the PKGBUILD maintainer seemed to want us to update.
_kernelname=${pkgbase#linux}
pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs")
Note that the # symbol strips 'linux' from the front of pkgbase assigns it to _kernelname, while pkgname is a list
[dylan@zenbook linux]$ pkgbase=linux-iwlwifidebug
[dylan@zenbook linux]$ echo $pkgbase
linux-iwlwifidebug
[dylan@zenbook linux]$ _kernelname=${pkgbase#linux}
[dylan@zenbook linux]$ echo $_kernelname
-iwlwifidebug
[dylan@zenbook linux]$ pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs")
[dylan@zenbook linux]$ echo ${pkgname[@]}
linux-iwlwifidebug linux-iwlwifidebug-headers linux-iwlwifidebug-docs
So far so good - we have a pkgname and _kernelname which are both non default.
And to show this, I've created a package by just changing the pkgbase, which shows that it changes both the pkgname and the _kernelname:
Change of pkgbase:
[dylan@zenbook linux]$ grep pkgbase= PKGBUILD
#pkgbase=linux # Build stock -ARCH kernel
pkgbase=linux-iwlwifidebug # Build kernel with a different name
Package Names Set
pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs")
for _p in ${pkgname[@]}; do
eval "package_${_p}() {
_package${_p#${pkgbase}}
done
Ouput Package Name
[dylan@zenbook linux]$ ls -l *.xz
-rw-r--r-- 1 dylan dylan 76384600 Nov 26 18:54 linux-3.12.tar.xz
-rw-r--r-- 1 dylan dylan 52329112 Nov 26 20:16 linux-iwlwifidebug-3.12.1-1-x86_64.pkg.tar.xz
-rw-r--r-- 1 dylan dylan 4378564 Nov 26 20:17 linux-iwlwifidebug-docs-3.12.1-1-x86_64.pkg.tar.xz
-rw-r--r-- 1 dylan dylan 6139092 Nov 26 20:17 linux-iwlwifidebug-headers-3.12.1-1-x86_64.pkg.tar.xz
-rw-r--r-- 1 dylan dylan 6620 Nov 26 18:54 patch-3.12.1.xz
_kernelname sets information in package
[dylan@zenbook linux]$ grep -e provides PKGBUILD | grep _kernelname
provides=("kernel26${_kernelname}=${pkgver}")
provides=("kernel26${_kernelname}-headers=${pkgver}")
provides=("kernel26${_kernelname}-docs=${pkgver}")
Which can be seen here
[dylan@zenbook linux]$ pacman -Qpi linux-iwlwifidebug-3.12.1-1-x86_64.pkg.tar.xz | grep -i provides
Provides : kernel26-iwlwifidebug=3.12.1
So, what is going wrong?
So the root problem comes to the install path of the files, not the pkgname or the _kernelname, as I have shown above I believe.
What I found is that changing the pkgrel led to a working install, with the files installed into separate directories.
pkgrel is modified in the Makefile directly
[dylan@zenbook linux.working]$ grep pkgrel PKGBUILD
pkgrel=2
# set extraversion to pkgrel
sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
This leads to a package that can be installed, because the directory path includes the -2 rather than -1
Before changing pkgrel, i had this
[dylan@zenbook linux]$ pacman -Qpl linux-iwlwifidebug-3.12.1-1-x86_64.pkg.tar.xz | tail -2
linux-iwlwifidebug /usr/src/linux-3.12.1-1-ARCH/
linux-iwlwifidebug /usr/src/linux-3.12.1-1-ARCH/vmlinux
After changing (but keeping default name for package)
[dylan@zenbook linux.working]$ pacman -Qpl linux-3.12.1-2-x86_64.pkg.tar.xz | tail -2
linux /usr/src/linux-3.12.1-2-ARCH/
linux /usr/src/linux-3.12.1-2-ARCH/vmlinux
Where does the package directory tree get defined?
The only place pkgrel gets touched is in a re-write of the kernel makefile:
[dylan@zenbook linux.working]$ grep pkgrel PKGBUILD
pkgrel=2
# set extraversion to pkgrel
sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
Where it gets set, then tied to KERNELVERSION
[dylan@zenbook linux.working]$ grep EXTRAVERSION src/linux-3.12/Makefile
EXTRAVERSION = -2
KERNELVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION)
Which appears to only be exported for some source tree stuff
[dylan@zenbook linux.working]$ grep KERNELVERSION src/linux-3.12/Makefile
KERNELVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION)
export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION
echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))"
@echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))"
@echo $(KERNELVERSION)
And not at all in pkgbuild
[dylan@zenbook linux.working]$ grep KERNELVERSION PKGBUILD
[dylan@zenbook linux.working]$
What am i missing here?
Is there a bug that should be changing some headers in the Makefile to create a different directory structure for the packages, by passing in the _kernelname, pkgname, or pkgbase?
Last edited by thenextdon13 (2013-11-27 22:10:44)pkgbuild is default from abs with only pkgbase changed;
I don't see a way to attach files, so will put entire code content here
# $Id: PKGBUILD 200210 2013-11-22 12:19:58Z tpowa $
# Maintainer: Tobias Powalowski <[email protected]>
# Maintainer: Thomas Baechler <[email protected]>
#pkgbase=linux # Build stock -ARCH kernel
pkgbase=linux-iwlwifidebug # Build kernel with a different name
_srcname=linux-3.12
pkgver=3.12.1
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
options=('!strip')
source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
"[url]http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz[/url]"
# the main kernel config files
'config' 'config.x86_64'
# standard config files for mkinitcpio ramdisk
'linux.preset'
'change-default-console-loglevel.patch'
'criu-no-expert.patch')
md5sums=('cc6ee608854e0da4b64f6c1ff8b6398c'
'5a8cb5a659baeeb6df3fe22de8d32df6'
'798bca5d2f0a1505c9b86a5227a2b339'
'8fa6cbb28dda5a4b38730c7f728e1845'
'eb14dcfd80c00852ef81ded6e826826a'
'98beb36f9b8cf16e58de2483ea9985e3'
'd50c1ac47394e9aec637002ef3392bd1')
_kernelname=${pkgbase#linux}
# module.symbols md5sums
# x86_64
# 2fd43e3edc671c61e043a5c0b3b2a1f0 /lib/modules/3.12.0-1-ARCH/modules.symbols
# i686
# e98940249665dbfa380cfdbbacf6c6b8 /lib/modules/3.12.0-1-ARCH/modules.symbols
prepare() {
cd "${srcdir}/${_srcname}"
# add upstream patch
patch -p1 -i "${srcdir}/patch-${pkgver}"
# add latest fixes from stable queue, if needed
# [url]http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git[/url]
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream
# (relevant patch sent upstream: [url]https://lkml.org/lkml/2011/7/26/227)[/url]
patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
# allow criu without expert option set
# patch from fedora
patch -Np1 -i "${srcdir}/criu-no-expert.patch"
if [ "${CARCH}" = "x86_64" ]; then
cat "${srcdir}/config.x86_64" > ./.config
else
cat "${srcdir}/config" > ./.config
fi
if [ "${_kernelname}" != "" ]; then
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config
fi
# set extraversion to pkgrel
sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
# don't run depmod on 'make install'. We'll do this ourselves in packaging
sed -i '2iexit 0' scripts/depmod.sh
build() {
cd "${srcdir}/${_srcname}"
# get kernel version
make prepare
# load configuration
# Configure the kernel. Replace the line below with one of your choice.
make menuconfig # CLI menu for configuration
#make nconfig # new CLI menu for configuration
#make xconfig # X-based configuration
#make oldconfig # using old config from previous kernel version
# ... or manually edit .config
# rewrite configuration
yes "" | make config >/dev/null
# save configuration for later reuse
if [ "${CARCH}" = "x86_64" ]; then
cat .config > "${startdir}/config.x86_64.last"
else
cat .config > "${startdir}/config.last"
fi
# stop here
# this is useful to configure the kernel
#msg "Stopping build"; return 1
# build!
make ${MAKEFLAGS} LOCALVERSION= bzImage modules
_package() {
pkgdesc="The ${pkgbase/linux/Linux} kernel and modules"
[ "${pkgbase}" = "linux" ] && groups=('base')
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
optdepends=('crda: to set the correct wireless channels of your country')
provides=("kernel26${_kernelname}=${pkgver}")
conflicts=("kernel26${_kernelname}")
replaces=("kernel26${_kernelname}")
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
install=linux.install
cd "${srcdir}/${_srcname}"
KARCH=x86
# get kernel version
_kernver="$(make LOCALVERSION= kernelrelease)"
_basekernel=${_kernver%%-*}
_basekernel=${_basekernel%.*}
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install
cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}"
# add vmlinux
install -D -m644 vmlinux "${pkgdir}/usr/src/linux-${_kernver}/vmlinux"
# set correct depmod command for install
cp -f "${startdir}/${install}" "${startdir}/${install}.pkg"
true && install=${install}.pkg
sed \
-e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \
-e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \
-i "${startdir}/${install}"
# install mkinitcpio preset file for kernel
install -D -m644 "${srcdir}/linux.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
sed \
-e "1s|'linux.*'|'${pkgbase}'|" \
-e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgbase}\"|" \
-e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgbase}.img\"|" \
-e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgbase}-fallback.img\"|" \
-i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
# remove build and source links
rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
# remove the firmware
rm -rf "${pkgdir}/lib/firmware"
# gzip -9 all modules to save 100MB of space
find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
# make room for external modules
ln -s "../extramodules-${_basekernel}${_kernelname:--ARCH}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
# add real version for building modules and running depmod from post_install/upgrade
mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}"
echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}/version"
# Now we call depmod...
depmod -b "$pkgdir" -F System.map "$_kernver"
# move module tree /lib -> /usr/lib
mv "$pkgdir/lib" "$pkgdir/usr"
_package-headers() {
pkgdesc="Header files and scripts for building modules for ${pkgbase/linux/Linux} kernel"
provides=("kernel26${_kernelname}-headers=${pkgver}")
conflicts=("kernel26${_kernelname}-headers")
replaces=("kernel26${_kernelname}-headers")
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
cd "${pkgdir}/usr/lib/modules/${_kernver}"
ln -sf ../../../src/linux-${_kernver} build
cd "${srcdir}/${_srcname}"
install -D -m644 Makefile \
"${pkgdir}/usr/src/linux-${_kernver}/Makefile"
install -D -m644 kernel/Makefile \
"${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile"
install -D -m644 .config \
"${pkgdir}/usr/src/linux-${_kernver}/.config"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"
for i in acpi asm-generic config crypto drm generated keys linux math-emu \
media net pcmcia scsi sound trace uapi video xen; do
cp -a include/${i} "${pkgdir}/usr/src/linux-${_kernver}/include/"
done
# copy arch includes for external modules
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/x86"
cp -a arch/x86/include "${pkgdir}/usr/src/linux-${_kernver}/arch/x86/"
# copy files necessary for later builds, like nvidia and vmware
cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
cp -a scripts "${pkgdir}/usr/src/linux-${_kernver}"
# fix permissions on scripts dir
chmod og-w -R "${pkgdir}/usr/src/linux-${_kernver}/scripts"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel"
cp arch/${KARCH}/Makefile "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
if [ "${CARCH}" = "i686" ]; then
cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
fi
cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel/"
# add headers for lirc package
# pci
for i in bt8xx cx88 saa7134; do
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}"
cp -a drivers/media/pci/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}"
done
# usb
for i in cpia2 em28xx pwc sn9c102; do
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}"
cp -a drivers/media/usb/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}"
done
# i2c
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c"
cp drivers/media/i2c/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
for i in cx25840; do
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
cp -a drivers/media/i2c/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
done
# add docbook makefile
install -D -m644 Documentation/DocBook/Makefile \
"${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
# add dm headers
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
cp drivers/md/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
# add inotify.h
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/linux"
cp include/linux/inotify.h "${pkgdir}/usr/src/linux-${_kernver}/include/linux/"
# add wireless headers
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
cp net/mac80211/*.h "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
# add dvb headers for external modules
# in reference to:
# [url]http://bugs.archlinux.org/task/9912[/url]
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core"
cp drivers/media/dvb-core/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core/"
# and...
# [url]http://bugs.archlinux.org/task/11194[/url]
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
cp include/config/dvb/*.h "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
# add dvb headers for [url]http://mcentral.de/hg/~mrec/em28xx-new[/url]
# in reference to:
# [url]http://bugs.archlinux.org/task/13146[/url]
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
cp drivers/media/dvb-frontends/lgdt330x.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
cp drivers/media/i2c/msp3400-driver.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
# add dvb headers
# in reference to:
# [url]http://bugs.archlinux.org/task/20402[/url]
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb"
cp drivers/media/usb/dvb-usb/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb/"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends"
cp drivers/media/dvb-frontends/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners"
cp drivers/media/tuners/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners/"
# add xfs and shmem for aufs building
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm"
cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h"
# copy in Kconfig files
for i in `find . -name "Kconfig*"`; do
mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'`
cp ${i} "${pkgdir}/usr/src/linux-${_kernver}/${i}"
done
chown -R root.root "${pkgdir}/usr/src/linux-${_kernver}"
find "${pkgdir}/usr/src/linux-${_kernver}" -type d -exec chmod 755 {} \;
# strip scripts directory
find "${pkgdir}/usr/src/linux-${_kernver}/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do
case "$(file -bi "${binary}")" in
*application/x-sharedlib*) # Libraries (.so)
/usr/bin/strip ${STRIP_SHARED} "${binary}";;
*application/x-archive*) # Libraries (.a)
/usr/bin/strip ${STRIP_STATIC} "${binary}";;
*application/x-executable*) # Binaries
/usr/bin/strip ${STRIP_BINARIES} "${binary}";;
esac
done
# remove unneeded architectures
rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arc,arm,arm26,arm64,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa}
_package-docs() {
pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel"
provides=("kernel26${_kernelname}-docs=${pkgver}")
conflicts=("kernel26${_kernelname}-docs")
replaces=("kernel26${_kernelname}-docs")
cd "${srcdir}/${_srcname}"
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}"
cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}"
find "${pkgdir}" -type f -exec chmod 444 {} \;
find "${pkgdir}" -type d -exec chmod 755 {} \;
# remove a file already in linux package
rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs")
for _p in ${pkgname[@]}; do
eval "package_${_p}() {
_package${_p#${pkgbase}}
done
# vim:set ts=8 sts=2 sw=2 et: -
[ANN] my tool to compare kernel config file
I'm trying to use lxc(see aur).
The requirement of kernel config is listing in http://lxc.teegra.net/
# name this as lxc.config
CONFIG_GROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_CGROUP_SCHED=y
CONFIG_CGROUPS=y
CONFIG_CGROUP_NS=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CPUSETS=y
CONFIG_PROC_PID_CPUSET=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_RESOURCE_COUNTERS=y
CONFIG_CGROUP_MEM_RES_CTLR=y
CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
CONFIG_MM_OWNER=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_NET_CLS_CGROUP=y
CONFIG_SECURITY_FILE_CAPABILITIES=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
I'm using prebuild linux_pf, guess its config file is in aur's config.x86_64.
So, I write a utility name as kernel_config_diff.go
http://pastebin.com/YxqEECBE
and run this command will show which config lines which I should append into config.
# yaourt -S gorun
kernel_config_diff.go req.config linux_pf.config
BTW, I don't know is there better solution. I wrote this utility by Google Go because I like it and try to familiar to it.Well, lxc.config is describe some config file should modify.
But, original config is a long listing.
So, use vimdiff will let you must view long lines of different.
By this script, I could get a quick view.
And even just append the output of this script into kernel config patch.
Here is my sample output compare to different variant kernel config
$ kernel_config_diff.go lxc.config /var/abs/local/linux/config.x86_64
CONFIG_SECURITY_FILE_CAPABILITIES=y
CONFIG_GROUP_SCHED=y
CONFIG_CGROUP_NS=y
# return exit code as 3
$ kernel_config_diff.go lxc.config /var/abs/local/linux-pf/config.x86_64
CONFIG_RT_GROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_SECURITY_FILE_CAPABILITIES=y
CONFIG_GROUP_SCHED=y
CONFIG_CGROUP_NS=y
CONFIG_CGROUP_SCHED=y
# return exit code as 7
$ kernel_config_diff.go lxc.config /var/abs/local/linux-ck/config.x86_64
CONFIG_CGROUP_SCHED=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_SECURITY_FILE_CAPABILITIES=y
CONFIG_GROUP_SCHED=y
CONFIG_CGROUP_NS=y
# return exit code as 7
Last edited by dlin (2012-05-06 23:39:32) -
Official Kernel Config [solved]
We sure do have an official kernel config. Any chance for us to have it?
I used to have a custom kernel I made while tampering Gentoo but it is long gone and I'm not in the mood of a Gentoo user.
I need it for zen, anyway.
Edit: Now I realized I already have it on `/proc/config.gz`. Sorry for even posting this.
Edit2: Jason I'm still not in a Gentoo user mood to learn ABS . Thank you for providing yet another thing to tinker on.
Last edited by Gulver (2014-07-20 21:16:00)This is going to be inderasding.
if [ -e "${srcdir}/build/.config" ]; then
msg2 "Using existing config found in build environment..."
else
if [ ! -d "${srcdir}/build" ]; then
msg2 "Creating build directory..."
mkdir -p "${srcdir}/build"
fi
msg2 "Creating default config..." # also initializes the output directory
make -C "${srcdir}/$_gitname/" O="${srcdir}/build" defconfig > /dev/null
warning "This package does not ship a kernel config."
I'm looking this piece I found and it is looking me with the exact same way of understanding.
Edit: OK, I chante the road to my config. Ain't I genious. Sorry for talking to myself.
Last edited by Gulver (2014-07-20 18:30:58) -
I can sync bookmarks in firefox for android, but only the ones that are on Bookmarks main folder, the folders create below the main folder are not synchronized. Is this a bug or a config issue?
ThanksThanks Barney, I tried that but all that comes up in Spotlight are the log files that show the file paths! I don't know how Steam works. Are all the files held by Steam on their server perhaps?
-
Default kernel config question: acpi video freezes my laptop
Hi,
I have a Samsung X60 laptop that freezes when the acpi video module is loaded. The default Arch kernel config (and the derived suspend2 one) includes as built-in some of the acpi code (including the video bit). I'm interested to learn why they are included as built in, and if there is a way to selectively skip the acpi video built-in bit of code? (more selectively than acpi=off as a kernel parameter). Would it be reasonable to request a change to the default kernel config?
cheersbugs.archlinux.org to make sure its fixed.
the acpi video module is reasonably new and it can be compiled as a module iirc, so it shouldnt be any harm to have it compiled as such.
James -
"You need to restart your computer" / Kernel Panic issue
Hi guys,
Need your help. i have an mbp i7 13 inch model and just today i am experiencing this " you need to restart your computer" error. i read that this is a kernel panic issue/error. but what do i do? what's wrong?
Below is what appears on the log after I restart the computer _______________________________________________________________________________ ______________________________________________________
Interval Since Last Panic Report: 3634 sec
Panics Since Last Report: 2
Anonymous UUID: 33E6B9BF-3C91-42AC-8CFF-70961F171CFA
Thu Apr 21 04:31:52 2011
panic(cpu 2 caller 0xffffff80002d11f4): Kernel trap at 0xffffff7f80bf7f03, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0xffffff808cd76d20, CR3: 0x0000000000100000, CR4: 0x0000000000040660
RAX: 0x30ec8348f87d8994, RBX: 0xffffff7f80bf7dc2, RCX: 0xffffff805ac3b100, RDX: 0xffffff800da3cd08
RSP: 0xffffff805f763b40, RBP: 0xffffff805f763b60, RSI: 0x0000000000000002, RDI: 0xffffff7f80bf7dc2
R8: 0x00000000000005f0, R9: 0x0000000000000000, R10: 0x0000000000000094, R11: 0xffffff80004f4f48
R12: 0x0000000000000008, R13: 0x0000000000000246, R14: 0xffffff805f763b30, R15: 0xffffff800b3d0000
RFL: 0x0000000000010202, RIP: 0xffffff7f80bf7f03, CS: 0x0000000000000008, SS: 0x0000000000000010
Error code: 0x0000000000000000
Backtrace (CPU 2), Frame : Return Address
0xffffff805f7637e0 : 0xffffff8000204d15
0xffffff805f7638e0 : 0xffffff80002d11f4
0xffffff805f763a30 : 0xffffff80002e3f1a
0xffffff805f763a40 : 0xffffff7f80bf7f03
0xffffff805f763b60 : 0xffffff7f80bf8ab3
0xffffff805f763bd0 : 0xffffff7f80bf97de
0xffffff805f763c10 : 0xffffff7f80dbe562
0xffffff805f763d10 : 0xffffff7f810670e5
0xffffff805f763dd0 : 0xffffff7f81067fac
0xffffff805f763e80 : 0xffffff7f810686af
0xffffff805f763ea0 : 0xffffff7f81061dad
0xffffff805f763ed0 : 0xffffff800053bdd4
0xffffff805f763f10 : 0xffffff800053b2b7
0xffffff805f763f60 : 0xffffff800053af5d
0xffffff805f763fa0 : 0xffffff80002c84f7
Kernel Extensions in backtrace (with dependencies):
com.apple.driver.AppleUSBEthernetHost(2.1.1)@0xffffff7f80bf7000->0xffffff7f80bf cfff
dependency: com.apple.iokit.IONetworkingFamily(1.10)@0xffffff7f80894000
dependency: com.apple.iokit.IOUSBFamily(4.2.0)@0xffffff7f80db6000
com.apple.driver.AppleUSBEHCI(4.2.0)@0xffffff7f8105e000->0xffffff7f81074fff
dependency: com.apple.iokit.IOUSBFamily(4.2.0)@0xffffff7f80db6000
dependency: com.apple.iokit.IOPCIFamily(2.6.2)@0xffffff7f8081d000
com.apple.iokit.IOUSBFamily(4.2.0)@0xffffff7f80db6000->0xffffff7f80deffff
dependency: com.apple.iokit.IOPCIFamily(2.6.2)@0xffffff7f8081d000
BSD process name corresponding to current thread: kernel_task
Mac OS version:
10J3250
Kernel version:
Darwin Kernel Version 10.7.3: Sun Mar 6 13:37:56 PST 2011; root:xnu-1504.14.2~1/RELEASE_X86_64
System model name: MacBookPro8,1 (Mac-94245B3640C91C81)
System uptime in nanoseconds: 286187214153
unloaded kexts:
com.apple.driver.AppleUSBUHCI 4.2.0 (addr 0xffffff7f810a3000, size 0x65536) - last unloaded 106691127607
loaded kexts:
com.vmware.kext.vmnet 3.1.2
com.vmware.kext.vmioplug 3.1.2
com.vmware.kext.vmci 3.1.2
com.vmware.kext.vmx86 3.1.2
com.apple.driver.AppleUSBEthernetHost 2.1.1 - last loaded 255489704091
com.apple.driver.AppleHWSensor 1.9.3d0
com.apple.filesystems.ntfs 3.4
com.apple.driver.AGPM 100.12.31
com.apple.driver.AppleMikeyHIDDriver 1.2.0
com.apple.driver.AppleHDA 2.0.2f10
com.apple.driver.AppleMikeyDriver 2.0.2f10
com.apple.driver.AppleUpstreamUserClient 3.5.4
com.apple.driver.AppleMCCSControl 1.0.17
com.apple.driver.AudioAUUC 1.54
com.apple.driver.SMCMotionSensor 3.0.1d2
com.apple.driver.AppleIntelHDGraphics 6.3.2
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AudioIPCDriver 1.1.6
com.apple.driver.ACPI_SMC_PlatformPlugin 4.6.0d12
com.apple.driver.AppleLPC 1.5.1
com.apple.driver.AppleBacklight 170.0.46
com.apple.kext.AppleSMCLMU 1.5.2d6
com.apple.driver.AppleIntelSNBGraphicsFB 6.3.2
com.apple.filesystems.autofs 2.1.0
com.apple.driver.AppleUSBTCButtons 201.2
com.apple.driver.AppleUSBTCKeyboard 201.2
com.apple.driver.AppleIRController 303.8
com.apple.BootCache 31
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.iokit.SCSITaskUserClient 2.6.6
com.apple.iokit.IOAHCIBlockStorage 1.6.3
com.apple.driver.AppleUSBHub 4.2.0
com.apple.driver.AirPort.Brcm4331 429.10.2
com.apple.driver.AppleSDXC 1.0.2
com.apple.iokit.AppleBCM5701Ethernet 3.0.2b8
com.apple.driver.AppleEFINVRAM 1.4.0
com.apple.driver.AppleSmartBatteryManager 160.0.0
com.apple.driver.AppleFWOHCI 4.7.3
com.apple.driver.AppleAHCIPort 2.1.6
com.apple.driver.AppleUSBEHCI 4.2.0
com.apple.driver.AppleACPIButtons 1.3.6
com.apple.driver.AppleRTC 1.3.1
com.apple.driver.AppleHPET 1.5
com.apple.driver.AppleSMBIOS 1.7
com.apple.driver.AppleACPIEC 1.3.6
com.apple.driver.AppleAPIC 1.4
com.apple.driver.AppleIntelCPUPowerManagementClient 142.4.1
com.apple.security.sandbox 1
com.apple.security.quarantine 0
com.apple.nke.applicationfirewall 2.1.11
com.apple.driver.AppleIntelCPUPowerManagement 142.4.1
com.apple.driver.AppleThunderboltDPOutAdapter 1.1.1
com.apple.driver.AppleThunderboltDPInAdapter 1.1.1
com.apple.driver.AppleThunderboltDPAdapterFamily 1.1.1
com.apple.driver.AppleThunderboltPCIDownAdapter 1.0.5
com.apple.driver.DspFuncLib 2.0.2f10
com.apple.driver.AppleProfileReadCounterAction 17
com.apple.driver.AppleProfileTimestampAction 10
com.apple.driver.AppleProfileThreadInfoAction 14
com.apple.driver.AppleProfileRegisterStateAction 10
com.apple.driver.AppleProfileKEventAction 10
com.apple.driver.AppleProfileCallstackAction 20
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IOFireWireIP 2.0.3
com.apple.driver.AppleThunderboltNHI 1.1.9
com.apple.iokit.IOThunderboltFamily 1.2.2
com.apple.iokit.IOSurface 74.2
com.apple.iokit.IOBluetoothSerialManager 2.4.4f2
com.apple.iokit.IOSerialFamily 10.0.3
com.apple.iokit.IOAudioFamily 1.8.3fc2
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.AppleHDAController 2.0.2f10
com.apple.iokit.IOHDAFamily 2.0.2f10
com.apple.iokit.AppleProfileFamily 41
com.apple.driver.IOPlatformPluginFamily 4.6.0d12
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleBacklightExpert 1.0.1
com.apple.iokit.IONDRVSupport 2.2
com.apple.driver.AppleSMC 3.1.0d5
com.apple.iokit.IOGraphicsFamily 2.2
com.apple.driver.BroadcomUSBBluetoothHCIController 2.4.4f2
com.apple.driver.AppleUSBBluetoothHCIController 2.4.4f2
com.apple.iokit.IOBluetoothFamily 2.4.4f2
com.apple.driver.AppleUSBMultitouch 207.5
com.apple.iokit.IOUSBHIDDriver 4.2.0
com.apple.driver.AppleUSBMergeNub 4.2.0
com.apple.driver.AppleUSBComposite 3.9.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.6
com.apple.iokit.IOBDStorageFamily 1.6
com.apple.iokit.IODVDStorageFamily 1.6
com.apple.iokit.IOCDStorageFamily 1.6.1
com.apple.driver.XsanFilter 402.1
com.apple.iokit.IOAHCISerialATAPI 1.2.5
com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.6
com.apple.iokit.IOUSBUserClient 4.2.0
com.apple.iokit.IO80211Family 320.1
com.apple.iokit.IONetworkingFamily 1.10
com.apple.iokit.IOFireWireFamily 4.2.6
com.apple.iokit.IOAHCIFamily 2.0.5
com.apple.iokit.IOUSBFamily 4.2.0
com.apple.driver.AppleEFIRuntime 1.4.0
com.apple.iokit.IOHIDFamily 1.6.6
com.apple.iokit.IOSMBusFamily 1.1
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 6
com.apple.driver.DiskImages 289
com.apple.iokit.IOStorageFamily 1.6.3
com.apple.driver.AppleACPIPlatform 1.3.6
com.apple.iokit.IOPCIFamily 2.6.2
com.apple.iokit.IOACPIFamily 1.3.0
Model: MacBookPro8,1, BootROM MBP81.0047.B04, 2 processors, Intel Core i7, 2.7 GHz, 4 GB, SMC 1.68f96
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 5.100.198.10.2)
Bluetooth: Version 2.4.4f2, 2 service, 12 devices, 1 incoming serial ports
Network Service: iPhone USB, Ethernet, en2
Serial ATA Device: Hitachi HTS545050B9A302, 465.76 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: FaceTime HD Camera (Built-in), 0x05ac (Apple Inc.), 0x8509, 0xfa200000 / 3
USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 6
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x821a, 0xfa113000 / 9
USB Device: iPhone, 0x05ac (Apple Inc.), 0x1297, 0xfa130000 / 5
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x0245, 0xfa120000 / 4
USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0xfd110000 / 3Firstly, I'd disconnect the USB Ethernet device you are using. Secondly, I'd boot into safe mode to see if the panic is being caused by VM Fusion's extensions.
Also visit The XLab FAQs and read the FAQ on diagnosing kernel panics. -
Can I adjust the kernel config-file? [SOLVED]
so i kicked out linux-3 kernel and installed the "aufs_friendly kernel" with the aufs2 package all went well...after the reboot i got an error "acer_wmid" failure .
my question can i rebuild the kernel WHITOUT the "acer_wmi" part from the config-file within the kernel-source ????
# Altera FPGA firmware download module
CONFIG_ALTERA_STAPL=m
CONFIG_X86_PLATFORM_DEVICES=y
CONFIG_ACER_WMI=m <<==== compiled as module and i want to get rid off...
CONFIG_ACERHDF=m
CONFIG_ASUS_LAPTOP=m
CONFIG_DELL_LAPTOP=m
CONFIG_DELL_WMI=m
CONFIG_DELL_WMI_AIO=m
because in the heather of the file
# Automatically generated make config: don't edit <<==== THIS ??!!
# Linux/x86_64 2.6.39 Kernel Configuration
# Mon Jun 6 22:07:19 2011
anybody any ideas ??
Last edited by gregor (2011-08-01 21:57:48)Uncomment the "make menuconfig" line in the PKGBUILD or run that command when creating your kernel config. This will bring up the console config utility. Navigate to Device Drivers --> all the way down to X86 Platform Specific.. Toggle Acer WMI Laptop Extras using the spacebar.
gonna try ...i'd blacklisted the module for now.
You can also edit the config file directly and change the 'm' to a 'n' This will work but the reason it's not recommended is because some options are dependent on other kernel options.
tried that one .....no success
[EDIT:] Uncomment the "make menuconfig" line in the PKGBUILD = worked for me
BIG THNX
Last edited by gregor (2011-08-01 21:44:06) -
Here are a couple of stupid shell (zsh) functions that I've been banging on to help check out the current kernel config.
Just wondering if anyone thinks this might be useful and worth expanding upon.
kc - returns any KConfig help text for the specified kernel option (don't put CONFIG_) in front
Example:
[✍] ~ $ kc TMPFS
config TMPFS
bool "Virtual memory file system support (former shm fs)"
depends on SHMEM
help
Tmpfs is a file system which keeps all files in virtual memory.
The code:
function kc() {
export SEARCH_TERM=$1
find /usr/src/linux-`uname -r` -name Kconfig -print0 | xargs -0 perl -ne '
$/ = "";
while (<>) {
while (/^(config $ENV{'SEARCH_TERM'}\s.*)/sgm) {
print "$1\n";
unset SEARCH_TERM
kcc - uses the above to go through every kernel config (that is enabled or built as a module)
Example:
[✍] ~ $ kcc
config 60XX_WDT
tristate "SBC-60XX Watchdog Timer"
depends on X86
help
This driver can be used with the watchdog timer found on some
single board computers, namely the 6010 PII based computer.
It may well work with other cards. It reads port 0x443 to enable
and re-set the watchdog timer, and reads port 0x45 to disable
the watchdog. If you have a card that behave in similar ways,
you can probably make this driver work with your card as well.
config 64BIT
depends on TILEGX
def_bool y
[...snip...]
The code:
function kcc() {
for i in `zcat /proc/config.gz | perl -ne '/^CONFIG_(.*)=[y|m]/; print "$1\n";' | sort | uniq`
do
kc $i
doneDoesn't it work out-of-the-box? The latest kernel should have a driver for your soundcard.
-
Arch's default kernel config is well suited to desktop performance, but what about the server? Ubuntu server lists these items on their Kernel Features page:
* The Server Edition uses the Deadline I/O scheduler instead of the CFQ scheduler used by the Desktop Edition.
* Pre-emption is turned off in the Server Edition.
* The timer interrupt is 100 Hz in the Server Edition and 250 Hz in the Desktop Edition.
* The Server Edition is optimised for i686 processors while the Desktop Edition is optimised for both the i586 and i686.
* Virtualization is better supported in the Server Edition through the enabling of IPC namespaces.
* Multiple routing tables for the IPv6 protocol are also supported in the Server Edition.
* For 32-bit systems the Server Edition is configured to use PAE which allows addressing up to 64GB of memory while the Desktop Edition is configured for 4GB.
So if you were making a "Server Edition" of Arch, what would you change?imho, with all my respect to arch as a great desktop distribution, i would not run arch on any production server.
-
Need help kernel config M4A785TD-EVO
Hi,
My SSD died the other day and I got a replacement (a samsung 840 128Gb). I re-installed but unfortunately I didn't keep a copy of my kernel config file so I am creating a new one but somehow I can't get it to work. I want it without a initrd. I also have an IDE drive (/dev/sda). The SSD is /dev/sdb.
I get a kernel panic on: Unable to mount root fs on unknown-block(8,18). I don't know what option I'm missing.
I have:
Device Drivers
<*> Serial ATA and Parallel ATA drivers
<*> ATA SFF support
<*> ATI PATA support
Device Drivers
-*- I2C support
I2C Hardware Bus support
<*> Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC)
And also:
CONFIG_SATA_AHCI=y
If someone can point me at which option I might be missing that would be great.
Thanks.problem resolved. the default arch sees my ssd as /dev/sdb and the IDE as /dev/sda when my kernel sees it the other way around, the ssd as /dev/sda and the IDE as /dev/sdb.
-
Hi all,
Hopefully this will be a nice easy one for you all.
I have recently configured and installed an 851 router successfully :) I now only have one issue, the damn thing switches itself off after a period of inactivity!
If I want to use it again I have to issue a reset command then a boot command.
This takes me to the:
router>
prompt. I then have to issue a copy start run command. And then a no shut on each of my interfaces.
Obviously I would just like the router to stay up and running. But I cant work out how to do it. Im sure that this is just a simple config issue and I would dearly love for you all to solve it!
If any of you know the answer can you please provide clear an accurate commands as I will copy it parrott fashion into the router.
Thank you all in advance.
StuartHello,
as spremkumar already pointed out the config register usually is set to 0x2102. You can reconfigure the register by:
Router#configute terminal
Router(config)#config-register 0x2102
Router(config)#end
Then perform a reload and check whether the config is present after the router finished booting.
Hope this helps! Please rate all posts.
Regards, Martin -
New Kernel Panic Issue (Followed Your Advice)
I posted a thread a few months back about a friend who is having a persistent kernel panic issue. Some of you got back to me with some consistent advice- boot off the install disk, run a diagnostic. I haven't seen the computer since, but recently my friend took a job and left his computer here for me to see if I can fix it.
I popped the install disk in and started the computer holding the "d" key as instructed. I am getting something I have never seen- a constant repeating:
"! OUCH !!! : mshdlr loc zero not zero ! 00007007000000000h @:eeeeeeeeeeeeeeeeeeeeh"
This just repeats itself up the screen, over and over. Eventually, the hardware test box came up. I hit next, it started all over.
This is a 20" Intel iMac running Tiger 4.11. HELP ***?!?!?!iCrane128:
can this be because I am using my gray install disk from my 17' Intel iMac on his 20" Intel iMac?
It can, indeed. Do you have the original disks for the computer you are testing?
cornelius -
Linux kernel config file for suspend to ram
Hi all
To anyone who has suspend to ram working on there lenovo can you send me a copy of your kernel config file.
My suspend to ram instead of going to sleep, it just makes the moon led blink and turns off the pc. I am using the 2.6.27.4 kernel with the new libata driver, I just want to try a reference kernel config that is know to work,
thanksprysm, welcome to the forum,
which Lenovo 3000 system do you have? Posting the Type and Model number will help members help you.
Moved from Lenovo 3000 Notebooks board to Linux board
Andy ______________________________________
Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
Deutsche Community Comunidad en Español English Community Русскоязычное Сообщество
PepperonI blog
Maybe you are looking for
-
Zen Jukebox 30G "Shutting Down" then ha
I bought this unit about a month ago, and I am not very pleased with it so far. The biggest problem I encounter too often is when I power up the unit, it shuts down after playing for about 5 seconds. However, it hangs on the "Shutting Down" message,
-
I noticed that there isn't yet a thread in order to report E55 firmware bugs, so I started this Here the firmware bugs I've found: - Hidden WLAN: when you search for wireless access points (for example from the main screen) the phone see always one "
-
Please can someone assist. I have recieved a Ref number online for the new lion software. It's been 5 days and no voucher number and pin has yet been recieved can someone please help?
-
Does anyone know where I can buy a screen for my HP 2000 Notebook PC 2000-2d24DX ?
My son got a laptop for Christmas last year and recently cracked the screen. I am trying to buy just a screen and not a whole new computer!! ( I actually will not be buy a new computer, he will go without) Here is the information on the box: HP 200
-
We currently have 9iR2 on a WEindows 2K platform. I have tried to install 9iAS and I gather that it is a buggy product as I dould not get the webcache to install or the server cache, and the http server refused to start. Is there likely to be a probl