No modules found in kernel26 package compiled via ABS

Hi,
I have been experiencing problems building kernels recently.  I've used ABS and AUR pkgbuilds to build kernels since 2.6.30, mostly to enable the proper USB scheduler for my hub and to try outside kernel patches, see kernel26-ck.  However, since the release of 2.6.35.2, more likely a mere coincidence, I've been compiling small kernels (~4MB) from the default .configs without any modifcations to the PKGBUILDs or the config files.  Looking at the compiled packages, I noticed the omission of the kernel modules that are normally located in /lib/modules/[kernelname]/kernel.  The missing kernel modules obviously causes my machine to be unable to boot (https://bbs.archlinux.org/viewtopic.php … 15#p872215).  My makepkg.conf is below.  Any explanation on what is going on?  Thanks
~$ cat /etc/makepkg.conf
# /etc/makepkg.conf
# SOURCE ACQUISITION
#-- The download utilities that makepkg should use to acquire sources
# Format: 'protocol::agent'
DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
'rsync::/usr/bin/rsync -z %u %o'
'scp::/usr/bin/scp -C %u %o')
# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/curl
# ARCHITECTURE, COMPILE FLAGS
CARCH="x86_64"
CHOST="x86_64-unknown-linux-gnu"
#-- Exclusive: will only run on x86_64
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j2"
# BUILD ENVIRONMENT
# Defaults: BUILDENV=(fakeroot !distcc color !ccache)
# A negated environment option will do the opposite of the comments below.
#-- fakeroot: Allow building packages as a non-root user
#-- distcc: Use the Distributed C/C++/ObjC compiler
#-- color: Colorize output messages
#-- ccache: Use ccache to cache compilation
BUILDENV=(fakeroot !distcc color !ccache)
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
# GLOBAL PACKAGE OPTIONS
# These are default values for the options=() settings
# Default: OPTIONS=(strip docs libtool emptydirs zipman purge)
# A negated option will do the opposite of the comments below.
#-- strip: Strip symbols from binaries/libraries in STRIP_DIRS
#-- docs: Save doc directories specified by DOC_DIRS
#-- libtool: Leave libtool (.la) files in packages
#-- emptydirs: Leave empty directories in packages
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge: Remove files specified by PURGE_TARGETS
OPTIONS=(strip docs libtool emptydirs zipman purge)
#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
INTEGRITY_CHECK=(md5)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Directories to be searched for the strip option (if strip is specified)
STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
# PACKAGE OUTPUT
# Default: put built package and cached source in build directory
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <[email protected]>"
# EXTENSION DEFAULTS
# WARNING: Do NOT modify these variables unless you know what you are
# doing.
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.gz'
# vim: set ft=sh ts=2 sw=2 et:
Last edited by ssri (2011-01-15 05:56:17)

Ran linpack and noticed that my CPU temp peaked at 74C, well below the critical threshold of 100C (according to intel).  Usually, my CPU runs at arounr 48-55C unless I am doing some CPU-intensive task.  When that happens, it will run up to the upper 70s.
~ $ cat /etc/lininput_xeon64
Sample Intel(R) LINPACK data file
Intel(R) LINPACK data
1 # number of tests
21000 # problem sizes
21000 # leading dimensions
20 # times to run a test
4 # alignment values (in KBytes)
# Change the problem sizes and leading dimensions to suite your free physical memory
# Memory use = 8 x (problem size)^2
# or
# Problem size = sqrt (memory use / 8)
# For 1 GB use a problem size and leading dimensions of 7000
# For 2 GB use a problem size and leading dimensions of 13700
# For 4 GB use a problem size and leading dimensions of 21000
# For 8 GB use a problem size and leading dimensions of 29600
~ $ cat lin_xeon64.txt
Fri Dec 31 21:30:38 PST 2010
Intel(R) LINPACK data
Current date/time: Fri Dec 31 21:30:38 2010
CPU frequency: 1.800 GHz
Number of CPUs: 1
Number of cores: 2
Number of threads: 2
Parameters are set to:
Number of tests : 1
Number of equations to solve (problem size) : 21000
Leading dimension of array : 21000
Number of trials to run : 20
Data alignment value (in Kbytes) : 4
Maximum memory requested that can be used = 3528424096, at the size = 21000
============= Timing linear equation system solver =================
Size LDA Align. Time(s) GFlops Residual Residual(norm)
21000 21000 4 666.408 9.2659 3.591869e-10 2.884103e-02

Similar Messages

  • Updating packages compiled via ABS

    Hey,
    I've just setup Arch for the first time, all is great so far - however I have a question regarding packages that have been compiled via ABS. If I was to recompile Apache, what happens when a new version is out? Would a 'pacman -Syu' automagically re-compile the latest version with the different configure flags and/or patches I set, or do I have to manually re-compile again? If it is the latter, how do I know a new version is out (apart from checking the Apache site all the time)?.
    Regards,

    Allan wrote:You will have to recompile it yourself when a new version is out.  If you don't want your own version to be replaced then add "IgnorePkg   = apache" to your /etc/pacman.conf.  pacman will print a message saying it is ignoring an update when one in the Arch repos is available.
    Ok, quoting Allan here to clarify more confusion on the forums about this as of late.
    Note that when making and installing a package using makepkg and ABS, the package will remain tracked by pacman. Pacman will then automatically upgrade the binary package when a newer version number is released into the repos.
    A way around this is to use the IgnorePackage array in pacman.conf, and simply manually upgrade the package yourself (using ABS and makepkg).
    Custom packages from 3rd party sources are tracked manually as are packages built by using AUR [unsupported] PKGBUILDS, though AUR helpers can automate this process.

  • Hdaps module carried by kernel26 package never work

    Hi, I'm running Arch on thinkpad T400. I found that hdaps.ko module carried by kernel26 package seems never work, I'm currently using tp_smapi package from AUR, it provides hdaps.ko module along with tp_smapi.ko and works flawlessly. I'm wondering why we cannot put the right working module into kernel26 package instead of the useless one?
    The tp_smapi package install tp_smapi.ko and hdaps.ko into /lib/modules/2.6.28-ARCH/extra/, while the default hdaps.ko locates at /lib/modules/2.6.28-ARCH/kernel/drivers/hwmon/. The frustrating point is every time I upgrade kernel26 package, I need to manually remove /lib/modules/2.6.28-ARCH/kernel/drivers/hwmon/hdaps.ko and reinstall tp_smapi-0.40-1-i686.pkg.tar.gz so that kernel can found custom installed modules correctly.
    I guess there are two ways to handle this. First, just remove hdaps.ko module carried along with kernel package, so that it won't mess up module search path of hdaps.ko; Second, add correctly working thinkpad_ec.ko and hdaps.ko or better tp_smapi too into the package.
    Here are all my on opinion, thanks for your attention.
    Best regards!

    You need to raise this with the kernel devs and/or the tp_smapi devs. Our kernel package is built from the upstream source, with as little interference as possible. If we apply patches, we ensure that they have first been submitted upstream, and ideally that they are scheduled for inclusion in a future kernel release.
    It's possible that the tp_smapi devs have already submitted their work for consideration by the kernel devs, but either way, it's their issue, not ours. I'd suggest you submit a bug report to the kernel devs, outlining your problems with the existing module, and suggesting its replacment by the tp_smapi version. I would also contact the tp_smapi guys to ask them if they are in contact with the kernel team about this.

  • [SOLVED] Krusader compilation via abs error

    I tried to compile Krusader using PKGBUILD from abs. I have base-devel installed, but I got in the end error:
    Linking CXX static library ../../lib/libPanel.a
    [ 76%] Built target Panel
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    Application is compiled via Cmake. Ive made litle research but couldn't find solution. Sorry for so few info but I don't really know what would you like more to be able to help, so please just let me know so I could deliver more information.
    Thanks for any help!
    Last edited by Eithrial (2012-06-25 17:05:10)

    Eithrial wrote:I tried to compile Krusader using PKGBUILD from abs. I have base-devel installed, but I got in the end error.....
    I tried your compilation from abs on my system and got your same build failure.  I always build with the "--log" option to makepkg and in a case like this open the build log file and search for the error.  There are lots of warnings about things like "unused parameter" "ignoring return value" and such.  Find the first error.  In your case I searched for the word "error" and came to a line with "error: ‘make_pair’ was not declared in this scope". 
    So enter that error into a google search (krusader error: ‘make_pair’ was not declared in this scope) and near the top of the list is a link to an Archlinux bug report page for the krusader package, https://bugs.archlinux.org/task/29429
    There you find a Comment by Karol (Kudlaty) - Tuesday, 17 April 2012, 16:00 GMT
    ok, compiling error fixed by changing:
    make_pair => std::make_pair
    There's your fix
    The file with the error, from the build log, was src/krusader-2.4.0-beta1/krusader/UserAction/tstring.h (of course open that file and see where make_pair is used).  The two invocations of make_pair need to become std::make_pair, so the fixed build function in our PKGBUILD becomes
    build() {
    cd "${srcdir}"
    sed -i 's/make_pair/std::make_pair/' krusader-2.4.0-beta1/krusader/UserAction/tstring.h
    mkdir build
    cd build
    cmake ../${pkgname}-${_pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
    make
    With the addition of that one sed line to the pkgbuild the krusader package now builds ok.  Always run namcap on your built package: in this case namcap tells us that we got all of the dependencies right and the package looks ok.

  • Kernel26-icc compiled with Intel's compiler instead of gcc

    I'm working on kernel26-icc, it's the kernel26 but compiled with Intel's compiler. Can't seem to upload it to AUR ("Invalid name: only lowercase letters are allowed.")
    http://www.linuxdna.com/
    So far I've this:
    PKGBUILD
    # Maintainer: Mathias Burén <[email protected]>
    pkgname=('kernel26-icc' 'kernel26-icc-firmware' 'kernel26-icc-headers') # Build icc kernel
    _kernelname=${pkgname#kernel26-icc}
    _basekernel=2.6.33
    pkgver=${_basekernel}
    pkgrel=1
    arch=(x86_64)
    license=('GPL2')
    url="http://www.linuxdna.com/"
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
    # the main kernel config files
    config.x86_64
    # standard config files for mkinitcpio ramdisk
    kernel26-icc.preset
    http://www.linuxdna.com/dna-2.6.33-intel64.patch)
    makedepends=('icc')
    md5sums=('c3883760b18d50e8d78819c54d579b00'
    '5c91374d56f115ba4324978d5b002711'
    'a4fd3c59751194bc118c70d1348436ab'
    'a307beb562eb7e68a6f3e2fb5fc216a3')
    build() {
    cd ${srcdir}/linux-$_basekernel
    cat ../config.x86_64 >./.config
    patch -p1 < ../dna-2.6.33-intel64.patch || return 1
    if [ "${_kernelname}" != "" ]; then
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
    fi
    # 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 xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    # ... or manually edit .config
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"
    #return 1
    yes "" | make config
    # build!
    make bzImage modules || return 1
    package_kernel26-icc() {
    pkgdesc="The Linux Kernel and modules built with ICC"
    backup=(etc/mkinitcpio.d/${pkgname}.preset)
    depends=('coreutils' 'kernel26-icc-firmware>=2.6.33' 'module-init-tools' 'mkinitcpio>=0.5.20')
    install=kernel26-icc.install
    optdepends=('crda: to set the correct wireless channels of your country')
    KARCH=x86
    cd ${srcdir}/linux-$_basekernel
    # get kernel version
    _kernver="$(make kernelrelease)"
    mkdir -p ${pkgdir}/{lib/modules,boot}
    make INSTALL_MOD_PATH=${pkgdir} modules_install || return 1
    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 || return 1
    # 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-icc-headers() {
    pkgdesc="Header files and scripts for building modules for kernel26-icc"
    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,x86} config 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/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; 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
    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 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 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 vor 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
    cd ${pkgdir}/usr/src/linux-${_kernver}/include && ln -s asm-$KARCH asm
    # add header for aufs2-util
    cp -a ${srcdir}/linux-$_basekernel/include/asm-generic/bitsperlong.h ${pkgdir}/usr/src/linux-${_kernver}/include/asm/
    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}
    package_kernel26-icc-firmware() {
    pkgdesc="The included firmware files of kernel26-icc"
    cd ${srcdir}/linux-$_basekernel
    make firmware || return 1
    make INSTALL_MOD_PATH=${pkgdir} firmware_install || return 1
    kernel26-icc.preset
    # mkinitcpio preset file for kernel26-icc
    # DO NOT EDIT THIS LINE:
    source /etc/mkinitcpio.d/kernel26-icc.kver
    ALL_config="/etc/mkinitcpio.conf"
    PRESETS=('default' 'fallback')
    #default_config="/etc/mkinitcpio.conf"
    default_image="/boot/kernel26-icc.img"
    #default_options=""
    #fallback_config="/etc/mkinitcpio.conf"
    fallback_image="/boot/kernel26-icc-fallback.img"
    fallback_options="-S autodetect"
    kernel26-icc.install
    # arg 1: the new package version
    # arg 2: the old package version
    KERNEL_NAME=-icc
    KERNEL_VERSION=2.6.33-icc
    post_install () {
    # updating module dependencies
    echo ">>> Updating module dependencies. Please wait ..."
    depmod $KERNEL_VERSION
    # generate init ramdisks
    echo ">>> MKINITCPIO SETUP"
    echo ">>> ----------------"
    echo ">>> If you use LVM2, Encrypted root or software RAID,"
    echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ."
    echo ">>> More information about mkinitcpio setup can be found here:"
    echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"
    echo ""
    echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
    /sbin/mkinitcpio -p kernel26${KERNEL_NAME}
    post_upgrade() {
    pacman -Q grub &>/dev/null
    hasgrub=$?
    pacman -Q grub2 &>/dev/null
    hasgrub2=$?
    pacman -Q lilo &>/dev/null
    haslilo=$?
    # reminder notices
    if [ $haslilo -eq 0 ]; then
    echo ">>>"
    if [ $hasgrub -eq 0 -o $hasgrub2 -eq 0 ]; then
    echo ">>> If you use the LILO bootloader, you should run 'lilo' before rebooting."
    else
    echo ">>> You appear to be using the LILO bootloader. You should run"
    echo ">>> 'lilo' before rebooting."
    fi
    echo ">>>"
    fi
    if grep "^[^#]*/boot" /etc/fstab 2>&1 >/dev/null; then
    if ! grep "/boot" /etc/mtab 2>&1 >/dev/null; then
    echo "WARNING: /boot appears to be a seperate partition but is not mounted"
    echo " This is most likely not what you want. Please mount your /boot"
    echo " partition and reinstall the kernel unless you are sure this is OK"
    fi
    fi
    if [ "`vercmp $2 2.6.13`" -lt 0 ]; then
    # important upgrade notice
    echo ">>>"
    echo ">>> IMPORTANT KERNEL UPGRADE NOTICE"
    echo ">>> -------------------------------"
    echo ">>> As of kernel 2.6.13, DevFS is NO LONGER AVAILABLE!"
    echo ">>> If you still use DevFS, please make the transition to uDev before"
    echo ">>> rebooting. If you really need to stay with DevFS for some reason,"
    echo ">>> then you can manually downgrade to an older version:"
    echo ">>>"
    echo ">>> # pacman -U http://archlinux.org/~judd/kernel/kernel26-scsi-2.6.12.2-1.pkg.tar.gz"
    echo ">>>"
    echo ">>> If you choose to downgrade, don't forget to add kernel26-scsi to your"
    echo ">>> IgnorePkg list in /etc/pacman.conf"
    echo ">>>"
    echo ">>> (NOTE: The following portion applies to uDev users as well!)"
    echo ">>>"
    echo ">>> If you use any DevFS paths in your GRUB menu.lst, then you will not"
    echo ">>> be able to boot! Change your root= parameter to use the classic"
    echo ">>> naming scheme."
    echo ">>>"
    echo ">>> EXAMPLES:"
    echo ">>> - change root=/dev/discs/disc0/part3 to root=/dev/sda3"
    echo ">>> - change root=/dev/md/0 to root=/dev/md0"
    echo ">>>"
    fi
    # generate new init ramdisk
    if [ "`vercmp $2 2.6.18`" -lt 0 ]; then
    echo ">>> --------------------------------------------------------------"
    echo ">>> | WARNING: |"
    echo ">>> |mkinitrd is not supported anymore in kernel >=2.6.18 series!|"
    echo ">>> | Please change to Mkinitcpio setup. |"
    echo ">>> --------------------------------------------------------------"
    echo ">>>"
    fi
    # updating module dependencies
    echo ">>> Updating module dependencies. Please wait ..."
    depmod $KERNEL_VERSION
    echo ">>> MKINITCPIO SETUP"
    echo ">>> ----------------"
    if [ "`vercmp $2 2.6.18`" -lt 0 ]; then
    echo ">>> Please change your bootloader config files:"
    echo ">>> Grub: /boot/grub/menu.lst | Lilo: /etc/lilo.conf"
    echo "------------------------------------------------"
    echo "| - initrd26.img to kernel26${KERNEL_NAME}.img |"
    echo "| - initrd26-full.img to kernel26${KERNEL_NAME}-fallback.img |"
    echo "------------------------------------------------"
    fi
    if [ "`vercmp $2 2.6.19`" -lt 0 ]; then
    echo ""
    echo ">>> New PATA/IDE subsystem - EXPERIMENTAL"
    echo ">>> ----------"
    echo ">>> To use the new pata drivers, change the 'ide' hook "
    echo ">>> to 'pata' in /etc/mkinicpio.conf HOOKS="
    echo ">>> The new system changes: /dev/hd? to /dev/sd?"
    echo ">>> Don't forget to modify GRUB, LILO and fstab to the"
    echo ">>> new naming system. "
    echo ">>> eg: hda3 --> sda3, hdc8 --> sdc8"
    echo ""
    echo ">>> piix/ata_piix (Intel chipsets) - IMPORTANT"
    echo "----------"
    echo ">>> If you have enabled ide/pata/sata HOOKs in /etc/mkinitcpio.conf"
    echo ">>> the 'ata_piix' module will be used."
    echo ">>> This may cause your devices to shift names, eg:"
    echo ">>> - IDE: devices from hd? to sd?"
    echo ">>> - SATA: sda might shift to sdc if you have 2 other disks on a PIIX IDE port."
    echo ">>> To check if this will affect you, check 'mkinitcpio -M' for piix/ata_piix"
    echo ""
    fi
    echo ">>> If you use LVM2, Encrypted root or software RAID,"
    echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ."
    echo ">>> More information about mkinitcpio setup can be found here:"
    echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"
    echo ""
    echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
    if [ "`vercmp $2 2.6.19`" -lt 0 ]; then
    /sbin/mkinitcpio -p kernel26${KERNEL_NAME} -m "ATTENTION:\nIf you get a kernel panic below
    and are using an Intel chipset, append 'earlymodules=piix' to the
    kernel commandline"
    else
    /sbin/mkinitcpio -p kernel26${KERNEL_NAME}
    fi
    if [ "`vercmp $2 2.6.21`" -lt 0 ]; then
    echo ""
    echo "Important ACPI Information:"
    echo ">>> Since 2.6.20.7 all possible ACPI parts are modularized."
    echo ">>> The modules are located at:"
    echo ">>> /lib/modules/$(uname -r)/kernel/drivers/acpi"
    echo ">>> For more information about ACPI modules check this wiki page:"
    echo ">>> 'http://wiki.archlinux.org/index.php/ACPI_modules'"
    fi
    post_remove() {
    rm -f /boot/kernel26${KERNEL_NAME}.img
    rm -f /boot/kernel26${KERNEL_NAME}-fallback.img
    Then there's of course the config, it's based on kernel26 at the moment,.
    I'm building it now, to test. I had to install icc manually because the AUR package for icc didn't work for me. I had to install icc manually (run the installer), but that wasn't enough. Before makepkg, you have to add the icc to $PATH e.g.
    PATH=$PATH:/opt/intel/Compiler/11.1/064/bin/intel64
    and execute iccvars_intel64.sh which is in that folder.
    Last edited by Fackamato (2010-02-25 23:43:38)

    Ashren wrote:So there is a significant performance gain with ICC? Compilation time wise or?
    icc kernel compiles in similar time as gcc kernel, or if there any differences these may be negligible. To be honest I was not really interested in compiling times (was doing somethig else as it takes ~12 min on my system to finish kernel compilation), but rather with overall kernel performance. This is not the same as OS performance, but I am planning to compile firefox with icc and maybe some other stuff (if I am bored enough).
    If you have 32-bit OS (I have no idea how it will work on 64-bit), try it. I can't post PKGBUILD for 32-bit icc kernel because I don't use PKGBUILD for kernels or nvidia as I have found it limiting/cumbersome/unnecessary (while PKGBUILDs work great for anything else on Arch).
    The only part really annoying is intel server speed. Downloading icc sources (710MB for 32-bit only) tahes two hours. If you try to get 32/64bit sources even longer (1GB download).
    32-bit icc PKGBUILD package requires only one modification related to Release Notes otherwise makepkg will fail. Once installed export icc path, edit kernel Makefile and change one line related to compiler: change gcc to icc. You can also add some compiling optimizations.
    Pretty easy if you did compile kernel before.
    note added:
    actually combination of icc and zen seems to have nice effect on desktop responsiveness (this is 2.6.33)
    Last edited by broch (2010-02-26 19:54:57)

  • Bug in Print Module, LR3.6, custom package

    Hi everybody,
    After two days of unequal fight with Print Module bug I hope I finally pinned it down.
    Hope it saves someone time
    I have my photos usually cropped in DSLR format (2:3)
    Printing I use often two popular formats 13x18cm and 15x21cm that are close to 5:7 (first one is 5x7in)
    Initially I was using virtual copies and had them cropped to 5:7 format.
    However this makes a little mess in my workflow and it's time consuming. 
    What I found was Custom Package in Print Module.
    Having cell with target size I drag desired photo into the cell and using cmd-key drag this foto to have proper look as the width target format is smaller. So far so good, but ...   
    From time to time printed photo looked totally different from what I saw on-screen. 
    First of all there are couple threads about that problem. I visited them but they remain unanswered
    http://forums.adobe.com/message/3344521
    http://forums.adobe.com/message/3278739
    http://forums.adobe.com/thread/697107
    http://forums.adobe.com/message/3885690
    There are visual samples there of what happens.
    Photos in JPG file that was created from LR look differently than in LR. Photos in file are bigger or/and wrong positioned within the cell
    What I managed to find is:
    Everything goes fine until photo is rotated by 'Rotate to Fit' function. It happens in my case only with photos that have the same orientation that template.
    Example:
    Template is set on A4 borderless format set to portait (Page Setup... button).
    Two cells 14,85cm height x 21cm width (A5 format). First one over second and both in landcape position.
    When I drag photo cropped in Landscape orientation such a photo is rendered properly.
    When I drag photo cropped in Portrait orientation it's atutomatically rotated 90 degrees (couterclockwise) by "Rotate to Fit option" and that is when **** happens.
    Final print (to file or printer) shows that user dragging is omitted in render. What's more if "Photo border" is set to on, photo in this cell is not reduced. Instead of this (as far as I can see) photo border just crop some part of picture.
    If I switch orientation of the A4 page from portrait to lansdcape, magically photos that are cropped in portrait orientation start to render good (they are not rotated now) while those in landscape start to render wrong.
    This looks 99% as software bug.
    I'm using LR3.6 on mac osx 10.6.8
    I'd like someone to follow it and to check if the same happens on different Mac or Windows.
    Cheers
    Robert

    Confirmed in LR 5.3, OS X 10.9.1.
    Screen display is fine, user repositioning is ignored when printing if page is in landscape mode and the image is rotated 90° (Rotate to Fit on). A4, Epson printer. Bug also appears in PDFs generated via the "Printer…" button. I didn't check JPEG export.

  • Package compiling error

    Hello,
    So I"m continuing to study java and I've been trying to create my first package but I keep getting problems whenever compiling via my java editor (JGrasp) and when trying to compile via the command prompt. I was hoping somebody could help me understand what I'm doing wrong with the code or compilation process. Thanks in advance for any help anybody could provide. (oh as one other sidenote these problems started happening after i'd done this at the command prompt to try to compile as well javac -d C:\ Entertainment.java)
    Josh
    JGrasp compiler problems
    ----jGRASP exec: javac -g C:\Entertainment.java
    ----at: Jun 23, 2006 7:35:32 AM
    ----jGRASP wedge: pid for wedge is 2788.
    ----JGRASP wedge2: pid for wedge2 is 3476.
    ----JGRASP wedge2: CLASSPATH is ".;;.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;C:\Program Files\jGRASP\extensions\classes".
    ----jGRASP wedge2: working directory is [C:\] platform id is 2.
    ----jGRASP wedge2: actual command sent ["C:\javac.exe" -g C:\Entertainment.java].
    ----JGRASP wedge2: pid for process is 3496.
    Can't determine application home
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.
    Actual program
    import javax.swing.*;
    package com.eventhandlers.entertainment2;
    public abstract class Entertainment
    protected String entertainer=("");
    protected int fee=0;
    public Entertainment()
    setEntertainerName();
    setEntertainmentFee();
    public String getEntertainerName()
    return entertainer;
    public double getEntertainerFee()
    return fee;
    public void setEntertainerName()
    entertainer=JOptionPane.showInputDialog(null,
    "Enter Name of entertainer ");
    public abstract void setEntertainmentFee();
    }

    Actual program
    import javax.swing.*;
    package com.eventhandlers.entertainment2;I don't know if it will solve your problem, but these two lines should be
    the other way around, like this:package com.eventhandlers.entertainment2;
    import javax.swing.*;IOW, the package statement (if present) should be the first statement
    in your compilation unit (.java file).
    kind regards,
    Jos

  • Compile via object browser gives ORA-01031 insufficient privileges but...

    Hello,
    Last week I upgraded my APEX version from 2.2 to 3.01; I didn't find any problems up to now. Via the home>SQL Workshop>object browser screen, packages then edit package I modified a package. When I hit the 'compile' button, I got the message: ORA-01031: insufficient privileges.
    When I do 'alter package <package_name> compile [body]' via the home>SQL workshop>SQL commands screen the package is compile succesfully.
    To me this looks like a bug... same (apex) user, same priviliges...
    Has anybody an idea why I can't compile via the object browser screen, receiving the ORA-01031 message, but why I can compile the same package via sql-commands screen.
    The user I am logged on with in APEX is the owner of the package.
    Thanks in advance for your assistance.
    best regards,
    Jan.
    Message was edited by: jan
    J. Hulsing

    Linda,
    Connect as SYSTEM and:
    grant create procedure to XXXXXXX;
    ...where XXXXXXX is the schema name. A DBA would need to do this, of course.
    Scott

  • Switching from custom kernel to the kernel26 package

    I guess I'ma ewbie, so I'm posting here. If this thred fits better in some other forums, just move it.
    I have used a custom kernel a long time, and would like to use the kernel26 package instead with modules and such. I tried to install using pacman, and added the following in lilo.conf:
    image=/boot/vmlinuz26
    label=kernel26
    root=/dev/hda3
    append="devfs=nomount"
    read-only
    I simply copied this from some other kernel I had in lilo.conf. When I tried to start using the kernel26 kernel, it panicked complaining that I needed a "root=..." option or something like that. I checked the wiki but did not find much info about configuring an arch kernel in lilo.conf.
    Is there anyone here that might help me setting up the new kernel?

    The kernel26 package uses initrd. You'll need to add an initrd line to your lilo.conf: http://wiki.archlinux.org/index.php/Initrd

  • Error ITMS-9000: No .app bundles found in the package

    I created my app in Dreamweaver CC with PhoneGap Build 3 and Application Loader. When I used Application Loader to upload my app, I received an error that read, Error ITMS-9000: "No .app bundles found in the package". I spoke with Apple tech support and I was told that I needed to upload my Dreamweaver file into Xcode to produce a production Certificate so that my app can be uploaded to the App Store. How do I upload my Dreamweaver file to Xcode? Please help, thanks!

    Some posts that could help you.
    HTML5 Tools • View topic - No app bundles found in the package at SoftwareAssets/Softwa
    Why am I getting error No .app bundles found in the package - Welcome to the GameSalad forum!
    Thanks,
    Preran

  • [svn:fx-trunk] 11488: Resubmitting binary distribution of xercesPatch. jar from the third party module in the SDK and compiled it with Sun JDK 1.4 .2_12.

    Revision: 11488
    Author:   [email protected]
    Date:     2009-11-05 17:10:10 -0800 (Thu, 05 Nov 2009)
    Log Message:
    Resubmitting binary distribution of xercesPatch.jar from the third party module in the SDK and compiled it with Sun JDK 1.4.2_12.
    QE notes: N/A
    Doc notes: N/A
    Bugs:
    SDK-16818 - Must open-source the code for xercesPatch.jar.
    Reviewer: Discussed with Gordon
    Tests run: Checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-16818
    Modified Paths:
        flex/sdk/trunk/lib/xercesPatch.jar
        flex/sdk/trunk/modules/thirdparty/xerces-patch/build.xml

    Did you try this:
    http://forum.java.sun.com/thread.jsp?thread=434718&forum=60&message=1964421

  • Itms9000 No .app bundles found in the package at "software assets/softwareasset (MZitmsSoftwareAssetpackage)"

    itms9000 No .app bundles found in the package at "software assets/softwareasset (MZitmsSoftwareAssetpackage)"

    Pls: about application loader
    Unable to authenticate the package 756513884.itmsp
    Would you tell me some advice ?

  • What is "No dialog module found" message?

    Hi,
    I'm trying to update a record in pa0558 table using hr_infotype_operation.
    The code looks something like this:
      SELECT SINGLE MAX( begda ) FROM pa0558 INTO begda WHERE pernr = pernr.
      SELECT SINGLE endda FROM pa0558 INTO endda WHERE pernr = pernr AND begda = begda.
      CLEAR i0558.
      i0558-pernr = pernr.
      i0558-infty = '0558'.
      i0558-begda = begda.
      i0558-endda = endda.
      i0558-nip00 = nip00.
      i0558-subty = ''.
      i0558-objps = ''.
      i0558-sprps = ''.
      i0558-seqnr = '000'.
      i0558-pesel = '77040642811'.
      CALL FUNCTION 'HR_INFOTYPE_OPERATION'
        EXPORTING
          infty         = '0558'
          number        = pernr
          validityend   = endda
          validitybegin = begda
          subtype       = ''
          recordnumber  = '000'
          record        = i0558
          operation     = 'MOD'
          tclas         = 'A'
          nocommit      = ' '
        IMPORTING
          return        = hr_return
          key           = key.
    etc.
    The problem is that no data is being updated, and the following message is being shown during debug: "No dialog module found ".
    What does it mean? Does it mean that something is missing, not installed or I don't know what else?
    Regards
    Ladislav
    PS. I'm new to ABAP.

    sample code
    <b>  loop  at ia586.
        move-corresponding ia586 to p0586.
        CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
          EXPORTING
            NUMBER = p0586-pernr.
        CALL FUNCTION 'HR_INFOTYPE_OPERATION'
          EXPORTING
            INFTY         = '0586'
            NUMBER        = p0586-pernr
            LOCKINDICATOR = ''
            VALIDITYEND   = p0586-endda
            VALIDITYBEGIN = p0586-begda
            RECORD        = p0586
            OPERATION     = 'INS'
            NOCOMMIT      = ''
            tclas         = 'A'
          IMPORTING
            RETURN        = RETURN
          EXCEPTIONS
            OTHERS        = 0.
        CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
          EXPORTING
            NUMBER = p0586-pernr.
        clear : p0586.
      endloop.</b>
    Regards
    Prabhu

  • Git - maintain two branches for separate kernel26 packages?

    Hi, I'm maintaining two kernel26 packages on the AUR (kernel26-ice and kernel26-rt-ice). I'm wondering whether git would be suitable for maintaining a repo for both packages.
    kernel26-rt-ice is just derivative from kernel26-ice, but is currently very very left behind since the -rt patch devs haven't released since 2.6.33. This may or may not change in future, but the resulting difference between the PKGBUILDs increases my maintainance time.
    Previously I just had a small script which copied the kernel26-ice files to another folder, some sed hackery to change names/configs etc. Now I'm wondering if I could set up git branches to do the same. My idea is as follows:-
    1. Two branches named kernel26-ice and kernel26-rt-ice
    2. Changes made in kernel26-ice (the more active one) can be cherry-picked into kernel26-rt-ice. This includes general cleaning up of PKGBUILD etc. but not the commits which involve updating variables etc.
    Is this task suitable for git? Or should I just maintain separate trees and diff them every once in a while?

    ngoonee wrote:
    Dieter@be wrote:
    yes we can!
    git >> manual trees and patches
    What is the benefit over manual trees/patches in this specific case? I understand primarily the source control benefit (using it myself for my thesis software development), but am unfamiliar on whether it would actually make my life easier maintaining both packages.
    err there are so many things I could go into..
    with git you will basically have no issues.
    if you currently have no issues, don't switch. if you currently have one or more issues with your workflow, switch to git and those issues will be gone.

  • Schedule Package Link via Data Manager

    Hi all,
    I create a schedule to run package link via data manager (excel) like below:
    But when I check the package link status, it show different start time like below:
    Anybody please help me explain what happen and how to solve this case.
    Thanks you in advance.
    Regards
    Agus Eryanta

    Hi Roberto,
    Yes I'm sure the package link is same.
    I was delete the package link status before March 2015, 12 before I realized the time is different.
    Regards
    Agus Eryanta

Maybe you are looking for

  • How can I change the size of a logo?

    I started making a logo in Illustrator. At the beginning I had to give the size in points. Now I'm finished and I want to change it. How can I do this?

  • Knowing the type of content?

    Here's the problem i have a jsp and wml version of web application. I am using struts. In my actionservlet i need to know the content type so i can forward the user to either the jsp or wml version. The WML version of the web app resides on /wml/ and

  • How to restore old Firefox bookmarks, cookies, passwords, etc. saved in recovery directory to new install of Firefox?

    Used Firefox as my browser. Used a cleaner program. On restart, Windows 7 would not boot fully. System Restore to before installing the cleaner program didn't work. Used HP backup facility to create back of all files, etc. on my C: drive on an extern

  • NullPointerException using Map

    Map<String,Integer> m = new HashMap<String,Integer>(); for(int i=0;i<part_trans.length;i++) m.put(part_trans,intValue(part_trans[i],rule_to_hide_l)); for(int i=0;i<m.size();i++) if(m.get(part_trans[i])>max) result1 = part_trans[i]; max = m.get(part_t

  • Need help on comma seperated vales

    Hi, I need a help on converting string parameter to column. select jan, feb, mar,' a,b,c,d,e,f,g' from dual to select jan,feb,mar,a,b,c,d,e,f,g from dual Thanks --KP