Clean up tree on ML81N
Hi to alla Experts,
I have a problem with ML81N transaction.
I would cleaning up all PO History in the tree on the left side.
Someone Can Help Me ?
Thanks !!
Marco
Hello Marco,
The Document Overview displays a list of purchase orders against which performed services have recently been entered, together with the associated entry sheets. The list appears on the left-hand side of the screen. From the list, you can select POs and entry sheets for display, changing or copying by double clicking on the relevant objects.
"Recently", in this case, means the last 25 Purchase Orders for each
vendor you have created a service entry sheet for, or the last 10.
Whether there are displayed 25 or 10 is due to whether the flag "Low Speed Connection" is on or off. The flag is set from the SAP-Logon under Properties -> Advanced -> Connection speed.
As far as I know, this is the only way to control the number of entries in this tree.
I hope this helps,
Esther.
Similar Messages
-
Document overview tree in ML81N is blank
Hi All,
User has reported an issue that the document overview tree in ML81N is blank. It is not showing any recent POs. Is there any setting through which this tree can be populated? Or this is related to some authorization issue?
Thanks In advance.
SoumyaClick on the Switch display as below :
-
BP group hierarchy - delete hierarchy trees?
Hello,
I would like to delete hierarchy trees in transaction BPH, but I haven't found any function to do this. Is there a special program or report to delete a hierarchy tree completely or any other possibility to clean hierarchy trees?
Thanks for helping!
Regards,
GeorgHi,
This might help.
http://help.sap.com/saphelp_crm40/helpdata/en/ae/b7cc9737a5442e83355df3c61a51c3/content.htm
Usually you don't delete hierarchy tree, but stop using it by manipulating validity dates.
Hope it helps.
Regards,
Kaushal -
A PKGBUILD that helps you compile kernel from local source tree
I don't know if someone did this beofore. Hours ago I wrote a PKGBUILD file for compiling kernel,
it is different than the one from abs. It allows you
compile a kernel from a exiting kernel source tree and leave it clean.
honor the Archway, this means you have a clean filesystem
It is acutally because I'm currently playing with The Eudyptula Challenge.
and I'm tied our compress/decompress a kernel tree all the time. If you are kernel developer, you
may also find it useful.
The PKGBUILD file worked on my machine, I will add headers and docs later.
Oh, almost forgot: here is my PKGBUILD:
#So we will have a clean src tree
pkgbase=linux-test
_kernel_bin=kernel_build
#the variable you have to provide
_builddir=kernel_build
kernel_src_dir='/home/developer/Courses/kernel-base'
_srcname=kernel_tree
#end the variable you have to provide
pkgver=3.8.1
pkgrel=1
pkgdesc="The Linux kernel and modules"
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
optdepends=('crda: to set the correct wireless channels of your country')
provides=("kernel26${_kernelname}=${pkgver}")
conflicts=("kernel26${_kernelname}")
replaces=("kernel26${_kernelname}")
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
source=(#if we provide this, means kernel compile progress is already done
"${_kernel_bin}.tar.xz"
'linux.preset'
sha256sums=('65847bc847344434657db729d2dde4a408e303ea29ae1409520cecee8da6fc3d'
'2c2e8428e2281babcaf542e246c2b63dea599abb7ae086fa482081580f108a98')
#this one strip the linux off
_kernelname=${pkgbase#linux}
prepare() {
#XXX:checked
#build dir has to be the same as kernel_bin files, then builddir is created
#automatically by tar
if [ "${kernel_src_dir}" == "" ];then
return 1
fi
#provide kernel source tree for compile and move modules
ln -s ${kernel_src_dir} ${srcdir}/${_srcname}
mkdir -p "${srcdir}/${_srcname}"
#we need to check here if there exist kernel bin files
if [ "${_kernel_bin}" == "" ]; then
make O="${srcdir}/${_builddir}" menuconfig
fi
build() {
#XXX:checked
cd "${srcdir}/${_srcname}"
#we need to check here if there exist kernel bin files
if [ "${_kernel_bin}" == "" ]; then
#return 1
make O="${srcdir}/${_builddir}" bzImage modules
fi
#otherwise this step is done already done
_package() {
#we dont need to worry about mkinitcpio, depmod thing, They are done by
#install script, we need to provide a preset and install file instead.
#we build kernel objs on _builddir, and install them in pkgdir
#install binary files, this means we have a compiled binary tree
cd "${srcdir}/${_srcname}"
#echo "$(pwd)"
KARCH=x86
install=linux.install
# get kernel version
_kernver="$(make O="${srcdir}/${_builddir}" kernelrelease)"
_kernver=$(echo "${_kernver}" | sed -n 2p -)
#strip the -dirty away
_kernver=${_kernver%-*}
_basekernel=${_kernver%%-*}
_basekernel=${_basekernel%.*}
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
make O="${srcdir}/${_builddir}" INSTALL_MOD_PATH="${pkgdir}" modules_install
cp "${srcdir}/${_builddir}"/arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}"
# 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}/" -i "${startdir}/${install}"
sed "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\"|" \
-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...
#echo "Call Depmod"
cp "${srcdir}/${_builddir}/System.map" System.map
depmod -b "${pkgdir}" -F System.map "${_kernver}"
#echo "Called Depmod"
# move module tree /lib -> /usr/lib
mkdir -p "${pkgdir}/usr"
mv "${pkgdir}/lib" "${pkgdir}/usr/"
# add vmlinux
install -D -m644 "${srcdir}/${_builddir}/"vmlinux "${pkgdir}/usr/lib/modules/${_kernver}/build/vmlinux"
pkgname=("${pkgbase}")
for _p in ${pkgname[@]}; do
eval "package_${_p}() {
_package${_p#${pkgbase}}
done
and here is the address of it on github
Last edited by xedchou (2014-12-23 12:41:55)Based on the title alone I almost reflexively binned this thread. Please rename this thread to *something* relating to what you're actually posting.
-
Need some help with a split package
Basically, I'd like to have some code in my PKGBUILD that will append some extra info to the package name based on a file the user defined. This is for kernel26-ck and the file I speak of is the .config he/she makes. Below is the code that doesn't work and I think it doesn't work because the name of the package is the name of the package_name() {} function and both of of these have to match the pkgname array. What I want is to have the pkgname array get generated dynamically based on the code below which starts before the make command in the build section. Advise is appreciated. Is what I'm asking for possible?
# Contributor: graysky <graysky AT archlinux dot us>
# Contributor: Cray "MP2E" Elliott <MP2E { AT } archlinux.us>
# Contributor: Tobias Powalowski <[email protected]>
# Contributor: Thomas Baechler <[email protected]>
# Patch and Build Options
_BFQ_patches="n" # add BFQ patches
_makemenucfg="n" # menuconfig option
_streamline_="n" # run Steven Rostedt's streamline_config.pl script - see notes below!
_use_current="n" # use the current kernel's .config file - see notes below!
# More Details and References
## Note all kernels get the ck patch set - there is no option to enable/disable it!
## BFQ
# read, http://algo.ing.unimo.it/people/paolo/disk_sched/
## MAKEMENUCONFIG OPTION
# Allow you to select additional kernel options prior to a build via a menuconfig.
## STREAMLINE_CONFIG OPTION
# Similar to a make localmodconfig but this actually works!
# WARNING - make CERTAIN that all modules are modprobed BEFORE you begin making the pkg!
# read, https://bbs.archlinux.org/viewtopic.php?pid=830221#p830221
# to keep track of which modules are needed for your specific system/hardware, give my module_db script.
# a try: http://aur.archlinux.org/packages.php?ID=41689
# Not that if you use my script, this PKGBUILD will auto run the reload_data base for you to probe
# all the modules you have logged!
## USE CURRENT KERNEL'S .CONFIG
# Enabling this option will use the .config of the RUNNING kernel rather than the ARCH defaults.
# Useful when the package gets updated and you already went through the trouble of customizing your
# config options. NOT recommended when a new kernel is released, but again, convenient for package bumps.
pkgname='kernel26-ck'
#true && pkgname=("kernel26-ck" "kernel26-ck-headers")
_basekernel=2.6.36
pkgver=${_basekernel}.1
pkgrel=4
arch=('i686' 'x86_64')
license=('GPL2')
url="http://users.on.net/~ckolivas/kernel"
_archpatchversion=3
_ckpatchversion=2
_kernelname=-ck
_patchname="patch-${pkgver}-${_archpatchversion}-ARCH"
_ckpatchname="patch-${_basekernel}-ck${_ckpatchversion}"
_bfqpath="http://algo.ing.unimo.it/people/paolo/disk_sched/patches/2.6.36"
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2 # kernel source
ftp://ftp.archlinux.org/other/kernel26/${_patchname}.bz2 # arch patchset
config config.x86_64 kernel26.preset # configs
# ck patchset
http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/${_basekernel}/${_basekernel}-ck${_ckpatchversion}/${_ckpatchname}.bz2
# BFQ patches
${_bfqpath}/0001-bfq_iosched-block-prepare_IO_context_code-v1-2.6.36.patch
${_bfqpath}/0002-bfq_iosched-block-add-cgroups-kconfig-and-build-bits-for-BFQ-v1-2.6.36.patch
${_bfqpath}/0003-bfq_iosched-block-introduce_BFQ-v1-2.6.36.patch)
build() {
# Patch source with -ARCH patches
# See http://projects.archlinux.org/linux-2.6-ARCH.git/
msg "Patching source with-ARCH patches"
cd ${srcdir}/linux-$_basekernel
patch -Np1 -i ${srcdir}/${_patchname}
# Patch source for BFQ patches
if [ ${_BFQ_patches} = "y" ]; then
msg "Patching source with BFQ patches"
for p in $(ls ${srcdir}/*-bfq_*); do
patch -Np1 -i $p
done
fi
# Patch source with ck
# Fix double name in EXTRAVERSION
sed -i -re "s/^(.EXTRAVERSION).*$/\1 = /" ${srcdir}/${_ckpatchname}
# Add -ck base patch set
msg "Patching source with ck1 patch set"
patch -Np1 -i ${srcdir}/${_ckpatchname}
msg "Running make mrproper to clean source tree"
make mrproper
if [ "$CARCH" = "x86_64" ]; then
cat ../config.x86_64 >./.config
else
cat ../config >./.config
fi
# use current kernel's config
# code originally by nous; http://aur.archlinux.org/packages.php?ID=40191
if [ ${_use_current} = "y" ]; then
if [[ -s /proc/config.gz ]]; then
msg "Extracting config from /proc/config.gz..."
modprobe configs
zcat /proc/config.gz > ./.config
else
warning "You kernel was not compiled with IKCONFIG_PROC!"
warning "You cannot read the current config!"
warning "Aborting!"
exit 0
fi
fi
if [ "${_kernelname}" != "" ]; then
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
fi
msg "Running make prepare for you to enable patched options of your choosing"
make prepare
# If user patched to BFQ and enabled it in the prev step, set it as default io scheduler
if [ ${_BFQ_patches} = "y" ]; then
sed -i s'/CONFIG_DEFAULT_CFQ=y/# CONFIG_DEFAULT_CFQ is not set/g' ./.config
sed -i s'/# CONFIG_DEFAULT_BFQ is not set/CONFIG_DEFAULT_BFQ=y/g' ./.config
sed -i s'/CONFIG_DEFAULT_IOSCHED="cfq"/CONFIG_DEFAULT_IOSCHED="bfq"/g' ./.config
fi
if [ $_streamline_ = "y" ]; then
msg "If you have modprobe_db installed, running reload_database now"
if [ -e /usr/bin/reload_database ]; then
/usr/bin/reload_database
fi
msg "Running Steven Rostedt's streamline_config script now "
chmod +x ./scripts/kconfig/streamline_config.pl
./scripts/kconfig/streamline_config.pl > config_strip
cp config_strip .config
msg "An error about ksource in line 118 blah blah is NORMAL as are the one you will get for each"
msg "module you have probed that is not in the kernel itself like nvidia for example!"
fi
if [ $_makemenucfg = "y" ]; then
msg "Running make menuconfig"
make menuconfig
fi
# This allows building cpu-optimized packages with according package names.
# Useful for repo maintainers.
CPU=`egrep "MK8=y|MCORE2=y|MPSC=y|MATOM=y|MPENTIUMII=y|MPENTIUMIII=y|MPENTIUMM=y|MPENTIUM4=y|MK7=y|CONFIG_GENERIC_CPU=y|CONFIG_X86_GENERIC=y|M686=y" ./.config`
CPU=`sed -e "s/CONFIG_M\(.*\)=y/\1/" <<<$CPU`
case $CPU in
CORE2)
_pn="-core2"
_pd=" Intel Core2 optimized."
K8)
_pn="-k8"
_pd="AMD K8 optimized."
PSC)
_pn="-psc"
_pd="Intel Pentium4/D/Xeon optimized."
ATOM)
_pn="-atom"
_pd="Intel Atom optimized."
K7)
_pn="-k7"
_pd="AMD K7 optimized."
PENTIUMII)
_pn="-p2"
_pd="Intel Pentium2 optimized."
PENTIUMIII)
_pn="-p3"
_pd="Intel Pentium3 optimized."
PENTIUMM)
_pn="-pm"
_pd="Intel Pentium-M optimized."
PENTIUM4)
_pn="-p4"
_pd="Intel Pentium4 optimized."
default)
esac
# save to a file for reacall in subsequent sections
echo "_pn=\"${_pn}\"" > vars
echo "_pd=\"${_pd}\"" >> vars
msg "Running make bzImage and modules"
make bzImage modules
package_kernel26-ck() {
. ${srcdir}/linux-$_basekernel/vars
pkgname="kernel26-ck${_pn}"
pkgdesc="ARCH kernel with Con Kolivas' patchset using the Brain Fuck Scheduler (BFS). Budget Fair Queueing (BFQ) I/O scheduler optional.${_pd}"
backup=(etc/mkinitcpio.d/kernel26.preset)
depends=('coreutils' 'linux-firmware' 'module-init-tools' 'mkinitcpio>=0.5.20')
install=kernel26.install
optdepends=('crda: to set the correct wireless channels of your country' \
'nvidia-ck-stable: NVIDIA drivers for kernel26-ck' \
'nvidia-beta-ck: NVIDIA beta drivers for kernel26-ck' \
'modprobed_db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
KARCH=x86
cd ${srcdir}/linux-$_basekernel
#get kernel version
_kernver="$(make kernelrelease)"
mkdir -p ${pkgdir}/{lib/modules,lib/firmware,boot}
msg "Running make modules_install"
make INSTALL_MOD_PATH=${pkgdir} modules_install
cp System.map ${pkgdir}/boot/System.map26${_kernelname}
cp arch/$KARCH/boot/bzImage ${pkgdir}/boot/vmlinuz26${_kernelname}
# add vmlinux
install -m644 -D vmlinux ${pkgdir}/usr/src/linux-${_kernver}/vmlinux
# install fallback mkinitcpio.conf file and preset file for kernel
install -m644 -D ${srcdir}/kernel26.preset ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
# set correct depmod command for install
sed \
-e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
-e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
-i $startdir/kernel26.install
sed \
-e "s|source .*|source /etc/mkinitcpio.d/kernel26${_kernelname}.kver|g" \
-e "s|default_image=.*|default_image=\"/boot/${pkgname}.img\"|g" \
-e "s|fallback_image=.*|fallback_image=\"/boot/${pkgname}-fallback.img\"|g" \
-i ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${pkgname}.kver
# remove build and source links
rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
# remove the firmware
rm -rf ${pkgdir}/lib/firmware
package_kernel26-ck-headers () {
. ${srcdir}/linux-$_basekernel/vars
pkgname="kernel26-ck${_pn}-headers"
pkgdesc="Header files and scripts to build modules for kernel26-ck.${_pd}"
provides=("kernel26-ck${_pn}-headers=${pkgver}")
mkdir -p ${pkgdir}/lib/modules/${_kernver}
cd ${pkgdir}/lib/modules/${_kernver}
ln -sf ../../../usr/src/linux-${_kernver} build
cd ${srcdir}/linux-$_basekernel
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 generated linux math-emu media net pcmcia scsi sound trace video; 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
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
# need to remove zc0301 from the array with 2.26.36
for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo; do
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$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:
# http://bugs.archlinux.org/task/9912
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
# add dvb headers for external modules
# in reference to:
# http://bugs.archlinux.org/task/11194
if [ -d ${srcdir}/linux-$_basekernel/include/config/dvb ]; then
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
fi
# add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
# in reference to:
# http://bugs.archlinux.org/task/13146
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/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
# add dvb headers
# in reference to:
# http://bugs.archlinux.org/task/20402
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb
cp drivers/media/dvb/dvb-usb/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/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/common/tuners
cp drivers/media/common/tuners/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/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
# add headers for virtualbox
# in reference to:
# http://bugs.archlinux.org/task/14568
cp -a include/drm $pkgdir/usr/src/linux-${_kernver}/include/
# add headers for broadcom wl
# in reference to:
# http://bugs.archlinux.org/task/14568
cp -a include/trace $pkgdir/usr/src/linux-${_kernver}/include/
# 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 {} \;
# remove unneeded architectures
rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
# Global pkgdesc and depends are here so that they will be picked up by AUR
pkgdesc="ARCH kernel with Con Kolivas' patchset using the Brain Fuck Scheduler (BFS). Budget Fair Queueing (BFQ) I/O scheduler optional."
depends=('coreutils' 'linux-firmware' 'module-init-tools' 'mkinitcpio>=0.5.20')
sha256sums=('15a076d1a435a6bf8e92834eba4b390b4ec094ce06d47f89d071ca9e5788ce04'
'96ed15bd64ae90163f81996ee31c3db6c7433d8af156e546ca7b36bedec1728b'
'1b9abff4752d4a294716b05ae17b981e2e5aaae1b51d19613e6b4bac0aea989d'
'd1b8757e99ee6cbeacf0b4185236c654440d5d945458b94948fd2cc4af0a881d'
'7ead13bbe2fdfc5308ddc3a0484d66f8150f78bbdbc59643e0b52bb9e776b5da'
'092e17164f453bdca8bd50e4fd71c074755740252bd8ad5c3eb6d2d51e78a104'
'f5c42a2ec2869a756e53fabada51a25dcb9de13861f367463e9ec4da8bf0b86a'
'f3f52953a2ccc07af3f23c7252e08e61580ec4b165934c089351ddd719c3e41f'
'cca4eea16278e302c2f7649a145e4d5ceb5ff2ece25fea3988eca82290b0c633')
Last edited by graysky (2010-11-24 20:09:31)Got it!
Allan wrote:What about in the -headers package?
Yep, headers package is good too!
# Generated by makepkg 3.4.1
# using fakeroot version 1.14.4
# Wed Nov 24 23:06:36 UTC 2010
pkgname = kernel26-ck-headers-core2
pkgbase = kernel26-ck
pkgver = 2.6.36.1-4
pkgdesc = Header files and scripts to build modules for kernel26-ck. Intel Core2 optimized.
url = http://users.on.net/~ckolivas/kernel
builddate = 1290639996
packager = Unknown Packager
size = 31174656
arch = x86_64
license = GPL2
depend = coreutils
depend = linux-firmware
depend = module-init-tools
depend = mkinitcpio>=0.5.20
provides = kernel26-ck-headers-core2=2.6.36.1
makepkgopt = strip
makepkgopt = docs
makepkgopt = libtool
makepkgopt = emptydirs
makepkgopt = zipman
makepkgopt = purge
PKGBUILD built using the modified makepkg suggested by nous.
# Contributor: graysky <graysky AT archlinux dot us>
# Contributor: Cray "MP2E" Elliott <MP2E { AT } archlinux.us>
# Contributor: Tobias Powalowski <[email protected]>
# Contributor: Thomas Baechler <[email protected]>
# Patch and Build Options
_BFQ_patches="n" # add BFQ patches
_makemenucfg="n" # menuconfig option
_streamline_="n" # run Steven Rostedt's streamline_config.pl script - see notes below!
_use_current="n" # use the current kernel's .config file - see notes below!
# More Details and References
## Note all kernels get the ck patch set - there is no option to enable/disable it!
## BFQ
# read, http://algo.ing.unimo.it/people/paolo/disk_sched/
## MAKEMENUCONFIG OPTION
# Allow you to select additional kernel options prior to a build via a menuconfig.
## STREAMLINE_CONFIG OPTION
# Similar to a make localmodconfig but this actually works!
# WARNING - make CERTAIN that all modules are modprobed BEFORE you begin making the pkg!
# read, https://bbs.archlinux.org/viewtopic.php?pid=830221#p830221
# to keep track of which modules are needed for your specific system/hardware, give my module_db script.
# a try: http://aur.archlinux.org/packages.php?ID=41689
# Not that if you use my script, this PKGBUILD will auto run the reload_data base for you to probe
# all the modules you have logged!
## USE CURRENT KERNEL'S .CONFIG
# Enabling this option will use the .config of the RUNNING kernel rather than the ARCH defaults.
# Useful when the package gets updated and you already went through the trouble of customizing your
# config options. NOT recommended when a new kernel is released, but again, convenient for package bumps.
pkgname='kernel26-ck'
true && pkgname=("kernel26-ck" "kernel26-ck-headers")
_basekernel=2.6.36
pkgver=${_basekernel}.1
pkgrel=4
arch=('i686' 'x86_64')
license=('GPL2')
url="http://users.on.net/~ckolivas/kernel"
_archpatchversion=3
_ckpatchversion=2
_kernelname=-ck
_patchname="patch-${pkgver}-${_archpatchversion}-ARCH"
_ckpatchname="patch-${_basekernel}-ck${_ckpatchversion}"
_bfqpath="http://algo.ing.unimo.it/people/paolo/disk_sched/patches/2.6.36"
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2 # kernel source
ftp://ftp.archlinux.org/other/kernel26/${_patchname}.bz2 # arch patchset
config config.x86_64 kernel26.preset # configs
# ck patchset
http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/${_basekernel}/${_basekernel}-ck${_ckpatchversion}/${_ckpatchname}.bz2
# BFQ patches
${_bfqpath}/0001-bfq_iosched-block-prepare_IO_context_code-v1-2.6.36.patch
${_bfqpath}/0002-bfq_iosched-block-add-cgroups-kconfig-and-build-bits-for-BFQ-v1-2.6.36.patch
${_bfqpath}/0003-bfq_iosched-block-introduce_BFQ-v1-2.6.36.patch)
build() {
# Patch source with -ARCH patches
# See http://projects.archlinux.org/linux-2.6-ARCH.git/
msg "Patching source with-ARCH patches"
cd ${srcdir}/linux-$_basekernel
patch -Np1 -i ${srcdir}/${_patchname}
# Patch source for BFQ patches
if [ ${_BFQ_patches} = "y" ]; then
msg "Patching source with BFQ patches"
for p in $(ls ${srcdir}/*-bfq_*); do
patch -Np1 -i $p
done
fi
# Patch source with ck
# Fix double name in EXTRAVERSION
sed -i -re "s/^(.EXTRAVERSION).*$/\1 = /" ${srcdir}/${_ckpatchname}
# Add -ck base patch set
msg "Patching source with ck1 patch set"
patch -Np1 -i ${srcdir}/${_ckpatchname}
msg "Running make mrproper to clean source tree"
make mrproper
if [ "$CARCH" = "x86_64" ]; then
cat ../config.x86_64 >./.config
else
cat ../config >./.config
fi
# use current kernel's config
# code originally by nous; http://aur.archlinux.org/packages.php?ID=40191
if [ ${_use_current} = "y" ]; then
if [[ -s /proc/config.gz ]]; then
msg "Extracting config from /proc/config.gz..."
modprobe configs
zcat /proc/config.gz > ./.config
else
warning "You kernel was not compiled with IKCONFIG_PROC!"
warning "You cannot read the current config!"
warning "Aborting!"
exit 0
fi
fi
if [ "${_kernelname}" != "" ]; then
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
fi
msg "Running make prepare for you to enable patched options of your choosing"
make prepare
# If user patched to BFQ and enabled it in the prev step, set it as default io scheduler
if [ ${_BFQ_patches} = "y" ]; then
sed -i s'/CONFIG_DEFAULT_CFQ=y/# CONFIG_DEFAULT_CFQ is not set/g' ./.config
sed -i s'/# CONFIG_DEFAULT_BFQ is not set/CONFIG_DEFAULT_BFQ=y/g' ./.config
sed -i s'/CONFIG_DEFAULT_IOSCHED="cfq"/CONFIG_DEFAULT_IOSCHED="bfq"/g' ./.config
fi
if [ $_streamline_ = "y" ]; then
msg "If you have modprobe_db installed, running reload_database now"
if [ -e /usr/bin/reload_database ]; then
/usr/bin/reload_database
fi
msg "Running Steven Rostedt's streamline_config script now "
chmod +x ./scripts/kconfig/streamline_config.pl
./scripts/kconfig/streamline_config.pl > config_strip
cp config_strip .config
msg "An error about ksource in line 118 blah blah is NORMAL as are the one you will get for each"
msg "module you have probed that is not in the kernel itself like nvidia for example!"
fi
if [ $_makemenucfg = "y" ]; then
msg "Running make menuconfig"
make menuconfig
fi
# This allows building cpu-optimized packages with according package names.
# Useful for repo maintainers.
# Code by nous.
CPU=`egrep "MK8=y|MCORE2=y|MPSC=y|MATOM=y|MPENTIUMII=y|MPENTIUMIII=y|MPENTIUMM=y|MPENTIUM4=y|MK7=y|CONFIG_GENERIC_CPU=y|CONFIG_X86_GENERIC=y|M686=y" ./.config`
CPU=`sed -e "s/CONFIG_M\(.*\)=y/\1/" <<<$CPU`
case $CPU in
CORE2)
_pn="-core2"
_pd=" Intel Core2 optimized."
K8)
_pn="-k8"
_pd="AMD K8 optimized."
PSC)
_pn="-psc"
_pd="Intel Pentium4/D/Xeon optimized."
ATOM)
_pn="-atom"
_pd="Intel Atom optimized."
K7)
_pn="-k7"
_pd="AMD K7 optimized."
PENTIUMII)
_pn="-p2"
_pd="Intel Pentium2 optimized."
PENTIUMIII)
_pn="-p3"
_pd="Intel Pentium3 optimized."
PENTIUMM)
_pn="-pm"
_pd="Intel Pentium-M optimized."
PENTIUM4)
_pn="-p4"
_pd="Intel Pentium4 optimized."
default)
esac
# save to a file for reacall in subsequent sections
echo "_pn=\"${_pn}\"" > vars
echo "_pd=\"${_pd}\"" >> vars
msg "Running make bzImage and modules"
make bzImage modules
package_kernel26-ck() {
. ${srcdir}/linux-$_basekernel/vars
pkgname="kernel26-ck${_pn}"
pkgdesc="ARCH kernel with Con Kolivas' patchset using the Brain Fuck Scheduler (BFS). Budget Fair Queueing (BFQ) I/O scheduler optional.${_pd}"
backup=(etc/mkinitcpio.d/kernel26.preset)
depends=('coreutils' 'linux-firmware' 'module-init-tools' 'mkinitcpio>=0.5.20')
install=kernel26.install
optdepends=('crda: to set the correct wireless channels of your country' \
'nvidia-ck-stable: NVIDIA drivers for kernel26-ck' \
'nvidia-beta-ck: NVIDIA beta drivers for kernel26-ck' \
'modprobed_db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
KARCH=x86
cd ${srcdir}/linux-$_basekernel
#get kernel version
_kernver="$(make kernelrelease)"
mkdir -p ${pkgdir}/{lib/modules,lib/firmware,boot}
msg "Running make modules_install"
make INSTALL_MOD_PATH=${pkgdir} modules_install
cp System.map ${pkgdir}/boot/System.map26${_kernelname}
cp arch/$KARCH/boot/bzImage ${pkgdir}/boot/vmlinuz26${_kernelname}
# add vmlinux
install -m644 -D vmlinux ${pkgdir}/usr/src/linux-${_kernver}/vmlinux
# install fallback mkinitcpio.conf file and preset file for kernel
install -m644 -D ${srcdir}/kernel26.preset ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
# set correct depmod command for install
sed \
-e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
-e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
-i $startdir/kernel26.install
sed \
-e "s|source .*|source /etc/mkinitcpio.d/kernel26${_kernelname}.kver|g" \
-e "s|default_image=.*|default_image=\"/boot/${pkgname}.img\"|g" \
-e "s|fallback_image=.*|fallback_image=\"/boot/${pkgname}-fallback.img\"|g" \
-i ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${pkgname}.kver
# remove build and source links
rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
# remove the firmware
rm -rf ${pkgdir}/lib/firmware
package_kernel26-ck-headers () {
. ${srcdir}/linux-$_basekernel/vars
pkgname="kernel26-ck-headers${_pn}"
pkgdesc="Header files and scripts to build modules for kernel26-ck.${_pd}"
provides=("kernel26-ck-headers${_pn}=${pkgver}")
mkdir -p ${pkgdir}/lib/modules/${_kernver}
cd ${pkgdir}/lib/modules/${_kernver}
ln -sf ../../../usr/src/linux-${_kernver} build
cd ${srcdir}/linux-$_basekernel
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 generated linux math-emu media net pcmcia scsi sound trace video; 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
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
# need to remove zc0301 from the array with 2.26.36
for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo; do
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$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:
# http://bugs.archlinux.org/task/9912
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
# add dvb headers for external modules
# in reference to:
# http://bugs.archlinux.org/task/11194
if [ -d ${srcdir}/linux-$_basekernel/include/config/dvb ]; then
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
fi
# add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
# in reference to:
# http://bugs.archlinux.org/task/13146
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/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
# add dvb headers
# in reference to:
# http://bugs.archlinux.org/task/20402
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-usb
cp drivers/media/dvb/dvb-usb/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/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/common/tuners
cp drivers/media/common/tuners/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/common/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
# add headers for virtualbox
# in reference to:
# http://bugs.archlinux.org/task/14568
cp -a include/drm $pkgdir/usr/src/linux-${_kernver}/include/
# add headers for broadcom wl
# in reference to:
# http://bugs.archlinux.org/task/14568
cp -a include/trace $pkgdir/usr/src/linux-${_kernver}/include/
# 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 {} \;
# remove unneeded architectures
rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
# Global pkgdesc and depends are here so that they will be picked up by AUR
pkgdesc="ARCH kernel with Con Kolivas' patchset using the Brain Fuck Scheduler (BFS). Budget Fair Queueing (BFQ) I/O scheduler optional."
depends=('coreutils' 'linux-firmware' 'module-init-tools' 'mkinitcpio>=0.5.20')
sha256sums=('15a076d1a435a6bf8e92834eba4b390b4ec094ce06d47f89d071ca9e5788ce04'
'96ed15bd64ae90163f81996ee31c3db6c7433d8af156e546ca7b36bedec1728b'
'1b9abff4752d4a294716b05ae17b981e2e5aaae1b51d19613e6b4bac0aea989d'
'd1b8757e99ee6cbeacf0b4185236c654440d5d945458b94948fd2cc4af0a881d'
'7ead13bbe2fdfc5308ddc3a0484d66f8150f78bbdbc59643e0b52bb9e776b5da'
'092e17164f453bdca8bd50e4fd71c074755740252bd8ad5c3eb6d2d51e78a104'
'f5c42a2ec2869a756e53fabada51a25dcb9de13861f367463e9ec4da8bf0b86a'
'f3f52953a2ccc07af3f23c7252e08e61580ec4b165934c089351ddd719c3e41f'
'cca4eea16278e302c2f7649a145e4d5ceb5ff2ece25fea3988eca82290b0c633')
@Allan - can you see any other potential down sides of implementing the patch suggested by nous? What about dependency issues? For example, nvidia-ck depends on kernel26-ck, not kernel26-ck-core2. Perhaps circumvent this with a provides=('kernel26-ck-headers') for headers and provides=('kernel26-ck') for the main package?
Last edited by graysky (2010-11-24 23:08:02) -
Is the disk equal to log files and other questions?
In the web page http://www.oracle.com/technology/documentation/berkeley-db/je/GettingStartedGuide/introduction.html#dplfeatures, there is a statement, " The checkpointer is responsible for flushing database data to *disk* that was written to cache as the result of a transaction commit ".
I wonder if the disk here means log files under the JE home directory.
From my understanding of these documents and other web resources, the check pointer is to write records in Cache to Log files (disk), and then cleaner is to reorganize and then to remove unused log files. For the records in a Cache, they are brought from disk to Cache by querying the index organized in a B-Tree structure, and the In-Compressor is to delete some empty internal nodes of B-Tree.
I wonder if the above is right to describe relations among these components, check pointer, cleaner, B-Tree and In-Compressor.
Thanks for your help!
Best,
JiangfanJiangfan Shi wrote:
I wonder if the disk here means log files under the JE home directory. Yes.
I wonder if the above is right to describe relations among these components, check pointer, cleaner, B-Tree and In-Compressor. Yes. -
Not able to delete web template
Hi Experts,
I have created created web templates for few queries. But unfortunately i have deleted the queries with out deleting the templates first.
Now the queries has been deleted but the templates remains under my Role in WAD. when i try to delete those templates system is saying that those templates are not available.
This is the error i am getting " Deletion not possible"(CL_RSZ_WWW_DB_INTERFACE3 is not available in database).
pls suggest me how can i remove that template being visibe from my role.
Regards,
RameshHi,
Go through this
Clean Role Tree (RSCR_ROLES_REORG):
http://help.sap.com/saphelp_nw04/helpdata/en/8c/e7d33b16e73b0ae10000000a114084/content.htm
Hope it helps
Regards-
Siddhu -
[SOLVED] Problem whilst trying to build kernel26-ck from source
I've spent some time reading about kernel patch sets, and after some research and valuable info from the Arch community, I've decided that the ck patchset is most appropriate for my system, however, I receive the following error after issuing a mkpkg -sc command:
==> Validating source files with md5sums...
linux-2.6.36.tar.bz2 ... Passed
patch-2.6.36-2-ARCH.bz2 ... Passed
config ... Passed
config.x86_64 ... Passed
kernel26.preset ... Passed
patch-2.6.36-ck2.bz2 ... Passed
0001-bfq_iosched-block-prepare_IO_context_code-v1-2.6.36.patch ... Passed
0002-bfq_iosched-block-add-cgroups-kconfig-and-build-bits-for-BFQ-v1-2.6.36.patch ... Passed
0003-bfq_iosched-block-introduce_BFQ-v1-2.6.36.patch ... Passed
==> Extracting Sources...
-> Extracting linux-2.6.36.tar.bz2 with bsdtar
-> Extracting patch-2.6.36-2-ARCH.bz2 with bzip2
-> Extracting patch-2.6.36-ck2.bz2 with bzip2
==> Starting build()...
==> Patching source with-ARCH patches
patching file drivers/video/logo/logo_linux_clut224.ppm
patching file drivers/video/logo/logo_linux_mono.pbm
patching file drivers/video/logo/logo_linux_vga16.ppm
patching file fs/file_table.c
patching file fs/namei.c
patching file fs/namespace.c
patching file fs/notify/group.c
patching file fs/notify/mark.c
patching file fs/open.c
patching file fs/splice.c
patching file fs/statfs.c
patching file include/linux/fs.h
patching file include/linux/namei.h
patching file include/linux/splice.h
patching file security/commoncap.c
patching file security/device_cgroup.c
patching file security/security.c
==> Patching source with BFQ patches
patching file block/Kconfig.iosched
patching file block/blk-ioc.c
patching file block/cfq-iosched.c
patching file fs/ioprio.c
patching file include/linux/iocontext.h
patching file block/Makefile
patching file include/linux/cgroup_subsys.h
patching file block/bfq-cgroup.c
patching file block/bfq-ioc.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h
==> Patching source with ck1 patch set
patching file arch/powerpc/platforms/cell/spufs/sched.c
patching file Documentation/scheduler/sched-BFS.txt
patching file Documentation/sysctl/kernel.txt
patching file fs/proc/base.c
patching file include/linux/init_task.h
patching file include/linux/ioprio.h
patching file include/linux/sched.h
patching file init/Kconfig
patching file init/main.c
patching file kernel/delayacct.c
patching file kernel/exit.c
patching file kernel/kthread.c
patching file kernel/posix-cpu-timers.c
patching file kernel/sched_bfs.c
patching file kernel/sched.c
patching file kernel/sysctl.c
patching file lib/Kconfig.debug
patching file mm/vmscan.c
patching file include/linux/swap.h
patching file mm/memory.c
patching file mm/swapfile.c
patching file include/linux/mmzone.h
patching file include/linux/mm_inline.h
patching file mm/filemap.c
patching file mm/swap.c
patching file mm/page-writeback.c
patching file arch/x86/Kconfig
patching file kernel/Kconfig.hz
patching file arch/x86/kernel/cpu/proc.c
patching file arch/x86/kernel/smpboot.c
patching file include/linux/nfsd/stats.h
patching file include/net/inet_timewait_sock.h
patching file init/calibrate.c
patching file kernel/Kconfig.preempt
patching file drivers/cpufreq/cpufreq_ondemand.c
patching file Makefile
==> Running make mrproper to clean source tree
==> Running make prepare for you to enable patched options of your choosing
HOSTCC scripts/basic/fixdep
/bin/sh: scripts/basic/fixdep: Permission denied
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
Aborting...
[taylor-unix@Legion kernel26-ck]$
Issuing a mkpkg command '--asroot' fails to make any difference whatsoever.
Am I missing something here?
Last edited by edward.taylor89 (2010-11-09 22:38:29)SOLVED!
The trick was to remove 'noexec' along the mount options for /home from fstab.
Last edited by edward.taylor89 (2010-11-09 17:22:01) -
You knew it was coming: kernel build issues after kmod upgrade
Good morning,
After reading the BIG SCARY NOTE on the mailing list, I just *had* to upgrade my system and kernel. Following a -Syu, i built a kernel from the latest source (3.5.0-rc5+). Naturally, it built just fine. However, when i ran 'make modules_install', it installed the modules into /lib, which i was expecting. Moving on from *that* test, i ran:
make INSTALL_MOD_PATH=/usr/ modules_install
(Note that the INSTALL_MOD_PATH is /usr, NOT /usr/lib/modules/. This is because of how the variable is used)
Anyway, that command installed the modules correctly, but shot this error when it tried to depmod (paraphrasing. the important bit here is the path):
ERROR: Failed to open /usr//usr/lib/modules/98.99.3.5.0-rc5-custom+: no such file or directory
Interestingly enough, running a simple 'depmod 3.5.0-rc5-custom+' works fine, and all is well. the kernel runs fantasticly, right up to the nvidia module.
So, i submit to you:
What is the prepended "98.99." in the file structure about, and why is the kernel's built-in depmod prepending usr twice?
Thanks folks,
Aaron
EDIT: For clarity, the 98.99 isn't actually there in the file structure, just in the depmod command the kernel makefile runs following modules_install.
Last edited by usagi (2012-07-04 11:02:30)falconindy wrote:No... the error is being generated from the same depmod.sh script which is called in the temporary root that is created by Kbuild when you call tar-pkg. The same fix of removing the hack in this script will fix your tarball creation.
The sequence goes something like this:
In a clean, vanilla tree, make tar-pkg borks with this message (the same one the OP reported):
ERROR: could not open directory /home/sujith/dev/wireless-testing/build/tar-install/usr/usr/lib/modules/99.98.3.5.0-rc5-wl: No such file or directory
After adding the fix you posted:
ERROR: could not open directory /home/sujith/dev/wireless-testing/build/tar-install/usr/lib/modules/3.5.0-rc5-wl: No such file or directory
After fixing the 'buildtar' script to use '/usr' as the install-prefix (note the extra 'usr'):
ERROR: could not open directory /home/sujith/dev/wireless-testing/build/tar-install/usr/usr/lib/modules/3.5.0-rc5-wl: No such file or directory
After a dirty hack using dirname to strip the extra 'usr' (at this point, I just wanted to move on :-) ):
Tarball successfully created in /home/sujith/dev/wireless-testing/build/linux-3.5.0-rc5-wl.tar
Hope that clears things a bit ! -
How to find tables for left side tree fields for ML81n
Hi All,
I have a issue about ML81n tcode.In this transaction, if we click on button(switch display <-> vendor/po), some of the text fields in the tree are displaying in other languages, but it has to display in english.
I need solution for displaying texts to english.
Can anyone plese provide me the solution.
Thanks in advance
regards
RLhi,
Check the structure of the DS and find the field which you want to check the source table.
open the FM in SE37 and then CNTRL+F give the name of the field and check the table which is updating your field.
regards,
Arvind. -
I was wondering if there was a way in pacman to reinstall every package I have on the system automatically? As in take the list of packages that I have installed, then assume that they are not actually installed, and install them from scratch.
The reason I want this is that I've run into the following problem. After a crash, I had a corrupted filesystem. During repair a few inodes had to be thrown out, and they must have had something important, because when I try to log into a KDE session, the splash screen freezes at "Initilalizing system services". Logging into XFCE, for example, works fine. I tried to reinstall kde packages, but that didn't fix it (I'm guessing it's something like sound that's screwed up, but I don't know for sure).
Any ideas are appreciated.
Thanks.Hope this helps:
http://bbs.archlinux.org/viewtopic.php? … l+packages -
Problem with trees and memory handling.
Hi there, I just want to know if, when I create a large binary tree, and I re-"pointed" the root pointer to another node somewhere below in that same tree (say, a terminal node), will the "upper" parts of the tree (starting from the new root node) be removed/deleted from memory? Please explain your answers.
Thank you.f I changed the root to B, will A and its children be
deleted from memory?If you do root = B, AND if nothing else is referring to A or C or anything else beneath them, then A, C, and all of C's children will become eligible for garbage collection.
Whether the memory actually gets cleaned up is something you can't really predict or control, but it doesn't really matter. If it's needed, it will get cleaned up. If it's not needed, it may or may not get cleaned up, but your program won't care.
So, in short, yes, for all intents and purposes, A's, C's, and C's descendants' memory is released when you re-root to B. -
LOG_FILE_NOT_FOUND when running cleaner manually after some data purge
I hit LOG_FILE_NOT_FOUND error when running cleaner manually after some data purge, I searched the forum, found someone also faced the same issue before, but cannot find any clue on how to fix it. Below is the error trace and followed by our configurations
Caused by: com.sleepycat.je.EnvironmentFailureException: (JE 4.1.6)
Environment must be closed, caused by:
com.sleepycat.je.EnvironmentFailureException: Environment invalid because of
previous exception: (JE 4.1.6) /scratch/tie/thirdeye/index/data-store
fetchTarget of 0x50f/0x3fb9dd6 parent IN=368491717 IN
class=com.sleepycat.je.tree.IN lastFullVersion=0x510/0x2ca7d18
parent.getDirty()=false state=0 LOG_FILE_NOT_FOUND: Log file missing, log is
likely invalid. Environment is invalid and must be closed.
at
com.sleepycat.je.EnvironmentFailureException.wrapSelf(EnvironmentFailureExcept
ion.java:196)
at
com.sleepycat.je.dbi.EnvironmentImpl.checkIfInvalid(EnvironmentImpl.java:1439)
at com.sleepycat.je.Environment.checkEnv(Environment.java:2117)
at com.sleepycat.je.Environment.checkpoint(Environment.java:1440)
at
com.oracle.thirdeye.datastore.DataStoreManager.clean(DataStoreManager.java:402
at
com.oracle.thirdeye.infostore.InfoStoreManager.clean(InfoStoreManager.java:301
... 11 more
Caused by: com.sleepycat.je.EnvironmentFailureException: Environment invalid
because of previous exception: (JE 4.1.10)
/scratch/tie/thirdeye/index/data-store fetchTarget of 0x50f/0x3fb9dd6 parent
IN=368491717 IN class=com.sleepycat.je.tree.IN
lastFullVersion=0x510/0x2ca7d18 parent.getDirty()=false state=0
LOG_FILE_NOT_FOUND: Log file missing, log is likely invalid. Environment is
invalid and must be closed.
at com.sleepycat.je.tree.IN.fetchTarget(IN.java:1332)
at com.sleepycat.je.tree.IN.findParent(IN.java:2886)
at com.sleepycat.je.tree.Tree.getParentINForChildIN(Tree.java:881)
at com.sleepycat.je.tree.Tree.getParentINForChildIN(Tree.java:809)
at
com.sleepycat.je.cleaner.FileProcessor.findINInTree(FileProcessor.java:1152)
at com.sleepycat.je.cleaner.FileProcessor.processIN(FileProcessor.java:1090)
at
com.sleepycat.je.cleaner.FileProcessor.processFile(FileProcessor.java:538)
at com.sleepycat.je.cleaner.FileProcessor.doClean(FileProcessor.java:241)
at com.sleepycat.je.cleaner.Cleaner.doClean(Cleaner.java:463)
------------Configurations-------------------------
EnvironmentConfig.ENV_RUN_CLEANER -> false
EnvironmentConfig.CHECKPOINTER_HIGH_PRIORITY -> true
EnvironmentConfig.CLEANER_EXPUNGE -> false
Any hints are appreciated. I'm also working for Oracle CDC, feel free to call me at 861065151679 or drop me an email at [email protected] so that we can talk more in detail
AnferneeAnfernee, I will contact you via email.
--mark -
Is there a way to update all snapshots in a tree?
Hi all,
I'm running Server 2012 R2 and have a VM with about a dozen snapshots under the main "clean" snapshot. The problem I'm running into is that when I do a monthly check of updates, I have to update each individual snapshot with the new updates.
With a dozen snapshots its annoying more than a real problem, but I'm about to add several more VMs each with the same amount of snapshots and once I do it would go from annoying to intolerable, it would be just to time consuming.
Is there a way to update the base image and have changes to the base image populate down to all the snapshots in the tree below it?
Thanks!!Thanks a lot, but no that's not what I was looking for. Here's the scenario - I have a base image lets say it's called CP1 and from that base image I make changes and create a new checkpoint, call that CP2. From CP2 I make some other
changes and make another checkpoint call that CP3, etc. creating a checkpoint tree.
The problem I run into is that when Microsoft rolls out updates our IT dept bundles them all up and forces all domain joined systems to update with them monthly. As you can imagine this causes some issues with the user community who is using them.
Since each checkpoint is discreet as mentioned in the article you referenced, I have to manually update each checkpoint with the updates, major pain to say the least. I was hoping there was a process that would allow me to update the base
image (CP1) and then be able to have those changes made to CP1 be forced onto CP2, CP3, etc.
Vielen Dank! :) -
No backup possible, even after a clean re-install
I - NEED - HELP!!!
This is what happens before I encountered my problems with backing up my hard drive:
I'm using a MacBook Pro 17" Unibody. The hard drive was partitioned into two partitions. The first one was the bootcamp partition, 50 GBytes in size, running Windows 7 Ultimate. The second partition was the Mac OS X partition, 450 GBytes in size and running Mac OS X 10.6.4.
I had to change the size of the bootcamp partition due to a Windows game installation. For this I bought an used "CampTune 8.0" from Paragon Software. The repartitioning using "CampTune" didn't report any errors so I assumed everything was fine. But then I saw the slow dying of a Mac:
Trying to boot into Windows lead to the error message the the installation was damaged and I should repair it using the repair option of the Windows install DVD. I did as I told but was always caught in the startup loop:
"1. Insert install DVD
2. Restart your computer
3. Choose the repair option"
Trying to boot into Mac OS X shows a strange behaviour ranging from getting stuck in file system checking up to not being able to log in as normal user. Instead I was only able to log in as administrator. And when I was able to log in, there where more and more kernel panics during access to all kinds of volumes (internal hard drive, external USB hard drives, USB sticks...)
Fortunately I was able to save (NOT backup) my users home folder by hand.
And now the strange things started...
I decided to do a clean install of my Mac OS X 10.6.4 and all of my applications. For that I repartitioned the internal hard drive to one partition, chose the GUID-patition table, then formatted the drive using the option "overwrite with zeros".
Then I installed my Mac OS X and the applications and tried to do a bootable backup to an external USB hard drive. This drive I had partitioned with one partition, GUID-partition table and formatted it also using the option "overwrite with zeros".
I used the software "Data Backup 3" from ProSoft Engineering. But during backup there was a kernel panic and after that the B-tree of my internal drive was corrupted. I couldn't be repaired by Mac OS X. But the internal drive was still readable.
I tried again and again with "Data Backup 3", always ending in a kernel panic. But the active thread always was different (sometimes it was launchd, CleanApp deamon, Kasperskys kav deamon) without a repeating pattern.
I was able to make a backup using "Carbon Copy Clone 3.3", fortunately, and started from the backup. After that I used "TechToolPro 5.0.7" to find out if there were surface errors or problems in the directory structure. But even "TechToolPro" caused a kernel panic when accessing the hard drive...
To restore the contents of my external drive to the internal one I used "SmartBackup 3" from Solesignal Ltd. because I thought "Data Backup 3" caused the kernal panics. But it was the same with "SmartBackup 3": accessing the hard drives during backup causes kernel panics...
My last idea then was to use the restore function of Apples disk utility. And it worked. But when I copied the contents of my saved user home folder, I caused a kernel panic when the size of data copied exceeds more then approximately 80 GBytes. And after that the B-tree of my backup drive was corrupted.
This all is strange to me, because I installed a fresh system.
Does anyone encountered similar problems using backup software? And is there a solution for this?
Regards
Ansgarwhatever I tried I couldn't get the camera to work. So took it into local apple store and they swapped immediately with a new iphone 5.
loads of chatter on the internet about it.
This discussion has had 19000+ views
https://discussions.apple.com/thread/5327076?start=90&tstart=0
Maybe you are looking for
-
Group title in Floor plan manager is not getting transported to quality
HI Experts, In Component Configuration "EHHSS_INC_REC_NRM_QAF_V3_BSCI", I have added group and gave title to that group in development. The group is getting transported when I release request but the title is not getting transported. Could anyone hel
-
SPSecurityTokenService slow for other domain users
We have a situation where users from another trusted domain suddenly are having slowness getting into SharePoint. On tracking the ULS entries, I noticed that the SPSecurityTokenService was taking a while to complete issuing a token. Everytime, the wa
-
Hi, My client has a problem while executing the data monitor in ECCS process. The following error is coming up when we run GL25 transaction Code. Data records cannot be processed - terminating processing Message no. G3618 *Diagnosis* *After checking
-
Show Package Contents in 10.10.1
The option is gone from menu. The problem, I can't extract images from Pages or Keynote.
-
What's the latest "stable" version of Gedit? The one in the repos?
I was just wondering because there are some cool features that I really really want from a new Gedit that have already been added in the gnome GIT repo. If ther current version "stable" is 2.30.4 then i'll wait, but if not, then can you (Jan De Groot