Auto GR on TO conf.

Hi,
I have an issue where i want PGR to be done automatically.
PO - Inbound Delv - TO - TO conf - PGR(automatic)
I have tried with Adopt Putaway quantity - using copy WM quantity to delv quantity and POST GR. but it is not working...
Is there anyother proces for auotmatic PGR.
Regrds,
Indhira

Hi indhra,
In Manual method you can use LT12, where choose "adopt putaway qty=2"
For automating the above method, do customizing in WM - Interfaces . You can define Shipping Control for the Movement Type Level and maintain 2 in "copy WM quantity" against the repective W/H No./Mov type combination
i hope it will resolve your query.
regards
rahul

Similar Messages

  • System encryption using LUKS and GPG encrypted keys for arch linux

    Update: As of 2012-03-28, arch changed from gnupg 1.4 to 2.x which uses pinentry for the password dialog. The "etwo" hook described here doesn't work with gnupg 2. Either use the openssl hook below or use a statically compiled version of gnupg 1.4.
    Update: As of 2012-12-19, the mkinitcpio is not called during boot, unless the "install" file for the hook contains "add_runscript". This resulted in an unbootable system for me. Also, the method name was changed from install () to build ().
    Update: 2013-01-13: Updated the hook files using the corrections by Deth.
    Note: This guide is a bit dated now, in particular the arch installation might be different now. But essentially, the approach stays the same. Please also take a look at the posts further down, specifically the alternative hooks that use openssl.
    I always wanted to set up a fully encrypted arch linux server that uses gpg encrypted keyfiles on an external usb stick and luks for root filesystem encryption. I already did it once in gentoo using this guide. For arch, I had to play alot with initcpio hooks and after one day of experimentation, I finally got it working. I wrote a little guide for myself which I'm going to share here for anyone that might be interested. There might be better or easier ways, like I said this is just how I did it. I hope it might help someone else. Constructive feedback is always welcome
    Intro
    Using arch linux mkinitcpio's encrypt hook, one can easily use encrypted root partitions with LUKS. It's also possible to use key files stored on an external drive, like an usb stick. However, if someone steals your usb stick, he can just copy the key and potentially access the system. I wanted to have a little extra security by additionally encrypting the key file with gpg using a symmetric cipher and a passphrase.
    Since the encrypt hook doesn't support this scenario, I created a modifed hook called “etwo” (silly name I know, it was the first thing that came to my mind). It will simply look if the key file has the extension .gpg and, if yes, use gpg to decrypt it, then pipe the result into cryptsetup.
    Conventions
    In this short guide, I use the following disk/partition names:
    /dev/sda: is the hard disk that will contain an encrypted swap (/dev/sda1), /var (/dev/sda2) and root (/dev/sda3) partition.
    /dev/sdb is the usb stick that will contain the gpg encrypted luks keys, the kernel and grub. It will have one partition /dev/sdb1 formatted with ext2.
    /dev/mapper/root, /dev/mapper/swap and /dev/mapper/var will be the encrypted devices.
    Credits
    Thanks to the authors of SECURITY_System_Encryption_DM-Crypt_with_LUKS (gentoo wiki), System Encryption with LUKS (arch wiki), mkinitcpio (arch wiki) and Early Userspace in Arch Linux (/dev/brain0 blog)!
    Guide
    1. Boot the arch live cd
    I had to use a newer testing version, because the 2010.05 cd came with a broken gpg. You can download one here: http://releng.archlinux.org/isos/. I chose the “core“ version. Go ahead and boot the live cd, but don't start the setup yet.
    2. Set keymap
    Use km to set your keymap. This is important for non-qwerty keyboards to avoid suprises with passphrases...
    3. Wipe your discs
    ATTENTION: this will DELETE everything on /dev/sda and /dev/sdb forever! Do not blame me for any lost data!
    Before encrypting the hard disc, it has to be completely wiped and overwritten with random data. I used shred for this. Others use badblocks or dd with /dev/urandom. Either way, this will take a long time, depending on the size of your disc. I also wiped my usb stick just to be sure.
    shred -v /dev/sda
    shred -v /dev/sdb
    4. Partitioning
    Fire up fdisk and create the following partitions:
    /dev/sda1, type linux swap.
    /dev/sda2: type linux
    /dev/sda3: type linux
    /dev/sdb1, type linux
    Of course you can choose a different layout, this is just how I did it. Keep in mind that only the root filesystem will be decrypted by the initcpio. The rest will be decypted during normal init boot using /etc/crypttab, the keys being somewhere on the root filesystem.
    5. Format  and mount the usb stick
    Create an ext2 filesystem on /dev/sdb1:
    mkfs.ext2 /dev/sdb1
    mkdir /root/usb
    mount /dev/sdb1 /root/usb
    cd /root/usb # this will be our working directory for now.
    Do not mount anything to /mnt, because the arch installer will use that directory later to mount the encrypted root filesystem.
    6. Configure the network (if not already done automatically)
    ifconfig eth0 192.168.0.2 netmask 255.255.255.0
    route add default gw 192.168.0.1
    echo "nameserver 192.168.0.1" >> /etc/resolv.conf
    (this is just an example, your mileage may vary)
    7. Install gnupg
    pacman -Sy
    pacman -S gnupg
    Verify that gnupg works by launching gpg.
    8. Create the keys
    Just to be sure, make sure swap is off:
    cat /proc/swaps
    should return no entries.
    Create gpg encrypted keys (remember, we're still in our working dir /root/usb):
    dd if=/dev/urandom bs=512 count=4 | gpg -v --cipher-algo aes256 --digest-algo sha512 -c -a > root.gpg
    dd if=/dev/urandom bs=512 count=4 | gpg -v --cipher-algo aes256 --digest-algo sha512 -c -a > var.gpg
    Choose a strong password!!
    Don't do this in two steps, e.g don't do dd to a file and then gpg on that file. The key should never be stored in plain text on an unencrypted device, except if that device is wiped on system restart (ramfs)!
    Note that the default cipher for gpg is cast5, I just chose to use a different one.
    9. Create the encrypted devices with cryptsetup
    Create encrypted swap:
    cryptsetup -c aes-cbc-essiv:sha256 -s 256 -h whirlpool -d /dev/urandom create swap /dev/sda1
    You should see /dev/mapper/swap now. Don't format nor turn it on for now. This will be done by the arch installer.
    Important: From the Cryptsetup 1.1.2 Release notes:
    Cryptsetup can accept passphrase on stdin (standard input). Handling of new line (\n) character is defined by input specification:
        if keyfile is specified as "-" (using --key-file=- or by positional argument in luksFormat and luksAddKey, like cat file | cryptsetup --key-file=- <action> ), input is processed
          as normal binary file and no new line is interpreted.
        if there is no key file specification (with default input from stdin pipe like echo passphrase | cryptsetup <action> ) input is processed as input from terminal, reading will
          stop after new line is detected.
    If I understand this correctly, since the randomly generated key can contain a newline early on, piping the key into cryptsetup without specifying --key-file=- could result in a big part of the key to be ignored by cryptsetup. Example: if the random key was "foo\nandsomemorebaratheendofthekey", piping it directly into cryptsetup without --key-file=- would result in cryptsetup using only "foo" as key which would have big security implications. We should therefor ALWAYS pipe the key into cryptsetup using --key-file=- which ignores newlines.
    gpg -q -d root.gpg 2>/dev/null | cryptsetup -v -–key-file=- -c aes-cbc-essiv:sha256 -s 256 -h whirlpool luksFormat /dev/sda3
    gpg -q -d var.gpg 2>/dev/null | cryptsetup -v –-key-file=- -c aes-cbc-essiv:sha256 -s 256 -h whirlpool -v luksFormat /dev/sda2
    Check for any errors.
    10. Open the luks devices
    gpg -d root.gpg 2>/dev/null | cryptsetup -v –-key-file=- luksOpen /dev/sda3 root
    gpg -d var.gpg 2>/dev/null | cryptsetup -v –-key-file=- luksOpen /dev/sda2 var
    If you see /dev/mapper/root and /dev/mapper/var now, everything is ok.
    11. Start the installer /arch/setup
    Follow steps 1 to 3.
    At step 4 (Prepare hard drive(s), select “3 – Manually Configure block devices, filesystems and mountpoints. Choose /dev/sdb1 (the usb stick) as /boot, /dev/mapper/swap for swap, /dev/mapper/root for / and /dev/mapper/var for /var.
    Format all drives (choose “yes” when asked “do you want to have this filesystem (re)created”) EXCEPT for /dev/sdb1, choose “no”. Choose the correct filesystem for /dev/sdb1, ext2 in my case. Use swap for /dev/mapper/swap. For the rest, I chose ext4.
    Select DONE to start formatting.
    At step 5 (Select packages), select grub as boot loader. Select the base group. Add mkinitcpio.
    Start step 6 (Install packages).
    Go to step 7 (Configure System).
    By sure to set the correct KEYMAP, LOCALE and TIMEZONE in /etc/rc.conf.
    Edit /etc/fstab:
    /dev/mapper/root / ext4 defaults 0 1
    /dev/mapper/swap swap swap defaults 0 0
    /dev/mapper/var /var ext4 defaults 0 1
    # /dev/sdb1 /boot ext2 defaults 0 1
    Configure the rest normally. When you're done, setup will launch mkinitcpio. We'll manually launch this again later.
    Go to step 8 (install boot loader).
    Be sure to change the kernel line in menu.lst:
    kernel /vmlinuz26 root=/dev/mapper/root cryptdevice=/dev/sda3:root cryptkey=/dev/sdb1:ext2:/root.gpg
    Don't forget the :root suffix in cryptdevice!
    Also, my root line was set to (hd1,0). Had to change that to
    root (hd0,0)
    Install grub to /dev/sdb (the usb stick).
    Now, we can exit the installer.
    12. Install mkinitcpio with the etwo hook.
    Create /mnt/lib/initcpio/hooks/etwo:
    #!/usr/bin/ash
    run_hook() {
    /sbin/modprobe -a -q dm-crypt >/dev/null 2>&1
    if [ -e "/sys/class/misc/device-mapper" ]; then
    if [ ! -e "/dev/mapper/control" ]; then
    /bin/mknod "/dev/mapper/control" c $(cat /sys/class/misc/device-mapper/dev | sed 's|:| |')
    fi
    [ "${quiet}" = "y" ] && CSQUIET=">/dev/null"
    # Get keyfile if specified
    ckeyfile="/crypto_keyfile"
    usegpg="n"
    if [ "x${cryptkey}" != "x" ]; then
    ckdev="$(echo "${cryptkey}" | cut -d: -f1)"
    ckarg1="$(echo "${cryptkey}" | cut -d: -f2)"
    ckarg2="$(echo "${cryptkey}" | cut -d: -f3)"
    if poll_device "${ckdev}" ${rootdelay}; then
    case ${ckarg1} in
    *[!0-9]*)
    # Use a file on the device
    # ckarg1 is not numeric: ckarg1=filesystem, ckarg2=path
    if [ "${ckarg2#*.}" = "gpg" ]; then
    ckeyfile="${ckeyfile}.gpg"
    usegpg="y"
    fi
    mkdir /ckey
    mount -r -t ${ckarg1} ${ckdev} /ckey
    dd if=/ckey/${ckarg2} of=${ckeyfile} >/dev/null 2>&1
    umount /ckey
    # Read raw data from the block device
    # ckarg1 is numeric: ckarg1=offset, ckarg2=length
    dd if=${ckdev} of=${ckeyfile} bs=1 skip=${ckarg1} count=${ckarg2} >/dev/null 2>&1
    esac
    fi
    [ ! -f ${ckeyfile} ] && echo "Keyfile could not be opened. Reverting to passphrase."
    fi
    if [ -n "${cryptdevice}" ]; then
    DEPRECATED_CRYPT=0
    cryptdev="$(echo "${cryptdevice}" | cut -d: -f1)"
    cryptname="$(echo "${cryptdevice}" | cut -d: -f2)"
    else
    DEPRECATED_CRYPT=1
    cryptdev="${root}"
    cryptname="root"
    fi
    warn_deprecated() {
    echo "The syntax 'root=${root}' where '${root}' is an encrypted volume is deprecated"
    echo "Use 'cryptdevice=${root}:root root=/dev/mapper/root' instead."
    if poll_device "${cryptdev}" ${rootdelay}; then
    if /sbin/cryptsetup isLuks ${cryptdev} >/dev/null 2>&1; then
    [ ${DEPRECATED_CRYPT} -eq 1 ] && warn_deprecated
    dopassphrase=1
    # If keyfile exists, try to use that
    if [ -f ${ckeyfile} ]; then
    if [ "${usegpg}" = "y" ]; then
    # gpg tty fixup
    if [ -e /dev/tty ]; then mv /dev/tty /dev/tty.backup; fi
    cp -a /dev/console /dev/tty
    while [ ! -e /dev/mapper/${cryptname} ];
    do
    sleep 2
    /usr/bin/gpg -d "${ckeyfile}" 2>/dev/null | cryptsetup --key-file=- luksOpen ${cryptdev} ${cryptname} ${CSQUIET}
    dopassphrase=0
    done
    rm /dev/tty
    if [ -e /dev/tty.backup ]; then mv /dev/tty.backup /dev/tty; fi
    else
    if eval /sbin/cryptsetup --key-file ${ckeyfile} luksOpen ${cryptdev} ${cryptname} ${CSQUIET}; then
    dopassphrase=0
    else
    echo "Invalid keyfile. Reverting to passphrase."
    fi
    fi
    fi
    # Ask for a passphrase
    if [ ${dopassphrase} -gt 0 ]; then
    echo ""
    echo "A password is required to access the ${cryptname} volume:"
    #loop until we get a real password
    while ! eval /sbin/cryptsetup luksOpen ${cryptdev} ${cryptname} ${CSQUIET}; do
    sleep 2;
    done
    fi
    if [ -e "/dev/mapper/${cryptname}" ]; then
    if [ ${DEPRECATED_CRYPT} -eq 1 ]; then
    export root="/dev/mapper/root"
    fi
    else
    err "Password succeeded, but ${cryptname} creation failed, aborting..."
    exit 1
    fi
    elif [ -n "${crypto}" ]; then
    [ ${DEPRECATED_CRYPT} -eq 1 ] && warn_deprecated
    msg "Non-LUKS encrypted device found..."
    if [ $# -ne 5 ]; then
    err "Verify parameter format: crypto=hash:cipher:keysize:offset:skip"
    err "Non-LUKS decryption not attempted..."
    return 1
    fi
    exe="/sbin/cryptsetup create ${cryptname} ${cryptdev}"
    tmp=$(echo "${crypto}" | cut -d: -f1)
    [ -n "${tmp}" ] && exe="${exe} --hash \"${tmp}\""
    tmp=$(echo "${crypto}" | cut -d: -f2)
    [ -n "${tmp}" ] && exe="${exe} --cipher \"${tmp}\""
    tmp=$(echo "${crypto}" | cut -d: -f3)
    [ -n "${tmp}" ] && exe="${exe} --key-size \"${tmp}\""
    tmp=$(echo "${crypto}" | cut -d: -f4)
    [ -n "${tmp}" ] && exe="${exe} --offset \"${tmp}\""
    tmp=$(echo "${crypto}" | cut -d: -f5)
    [ -n "${tmp}" ] && exe="${exe} --skip \"${tmp}\""
    if [ -f ${ckeyfile} ]; then
    exe="${exe} --key-file ${ckeyfile}"
    else
    exe="${exe} --verify-passphrase"
    echo ""
    echo "A password is required to access the ${cryptname} volume:"
    fi
    eval "${exe} ${CSQUIET}"
    if [ $? -ne 0 ]; then
    err "Non-LUKS device decryption failed. verify format: "
    err " crypto=hash:cipher:keysize:offset:skip"
    exit 1
    fi
    if [ -e "/dev/mapper/${cryptname}" ]; then
    if [ ${DEPRECATED_CRYPT} -eq 1 ]; then
    export root="/dev/mapper/root"
    fi
    else
    err "Password succeeded, but ${cryptname} creation failed, aborting..."
    exit 1
    fi
    else
    err "Failed to open encryption mapping: The device ${cryptdev} is not a LUKS volume and the crypto= paramater was not specified."
    fi
    fi
    rm -f ${ckeyfile}
    fi
    Create /mnt/lib/initcpio/install/etwo:
    #!/bin/bash
    build() {
    local mod
    add_module dm-crypt
    if [[ $CRYPTO_MODULES ]]; then
    for mod in $CRYPTO_MODULES; do
    add_module "$mod"
    done
    else
    add_all_modules '/crypto/'
    fi
    add_dir "/dev/mapper"
    add_binary "cryptsetup"
    add_binary "dmsetup"
    add_binary "/usr/bin/gpg"
    add_file "/usr/lib/udev/rules.d/10-dm.rules"
    add_file "/usr/lib/udev/rules.d/13-dm-disk.rules"
    add_file "/usr/lib/udev/rules.d/95-dm-notify.rules"
    add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/usr/lib/udev/rules.d/11-dm-initramfs.rules"
    add_runscript
    help ()
    cat<<HELPEOF
    This hook allows for an encrypted root device with support for gpg encrypted key files.
    To use gpg, the key file must have the extension .gpg and you have to install gpg and add /usr/bin/gpg
    to your BINARIES var in /etc/mkinitcpio.conf.
    HELPEOF
    Edit /mnt/etc/mkinitcpio.conf (only relevant sections displayed):
    MODULES=”ext2 ext4” # not sure if this is really nessecary.
    BINARIES=”/usr/bin/gpg” # this could probably be done in install/etwo...
    HOOKS=”base udev usbinput keymap autodetect pata scsi sata usb etwo filesystems” # (usbinput is only needed if you have an usb keyboard)
    Copy the initcpio stuff over to the live cd:
    cp /mnt/lib/initcpio/hooks/etwo /lib/initcpio/hooks/
    cp /mnt/lib/initcpio/install/etwo /lib/initcpio/install/
    cp /mnt/etc/mkinitcpio.conf /etc/
    Verify your LOCALE, KEYMAP and TIMEZONE in /etc/rc.conf!
    Now reinstall the initcpio:
    mkinitcpio -g /mnt/boot/kernel26.img
    Make sure there were no errors and that all hooks were included.
    13. Decrypt the "var" key to the encrypted root
    mkdir /mnt/keys
    chmod 500 /mnt/keys
    gpg –output /mnt/keys/var -d /mnt/boot/var.gpg
    chmod 400 /mnt/keys/var
    14. Setup crypttab
    Edit /mnt/etc/crypttab:
    swap /dev/sda1 SWAP -c aes-cbc-essiv:sha256 -s 256 -h whirlpool
    var /dev/sda2 /keys/var
    15. Reboot
    We're done, you may reboot. Make sure you select the usb stick as the boot device in your bios and hope for the best. . If it didn't work, play with grub's settings or boot from the live cd, mount your encrypted devices and check all settings. You might also have less trouble by using uuid's instead of device names.  I chose device names to keep things as simple as possible, even though it's not the optimal way to do it.
    Make backups of your data and your usb stick and do not forget your password(s)! Or you can say goodbye to your data forever...
    Last edited by fabriceb (2013-01-15 22:36:23)

    I'm trying to run my install script that is based on https://bbs.archlinux.org/viewtopic.php?id=129885
    Decrypting the gpg key after grub works, but then "Devce root already exists." appears every second.
    any idea ?
    #!/bin/bash
    # This script is designed to be run in conjunction with a UEFI boot using Archboot intall media.
    # prereqs:
    # EFI "BIOS" set to boot *only* from EFI
    # successful EFI boot of Archboot USB
    # mount /dev/sdb1 /src
    set -o nounset
    #set -o errexit
    # Host specific configuration
    # this whole script needs to be customized, particularly disk partitions
    # and configuration, but this section contains global variables that
    # are used during the system configuration phase for convenience
    HOSTNAME=daniel
    USERNAME=user
    # Globals
    # We don't need to set these here but they are used repeatedly throughout
    # so it makes sense to reuse them and allow an easy, one-time change if we
    # need to alter values such as the install target mount point.
    INSTALL_TARGET="/install"
    HR="--------------------------------------------------------------------------------"
    PACMAN="pacman --noconfirm --config /tmp/pacman.conf"
    TARGET_PACMAN="pacman --noconfirm --config /tmp/pacman.conf -r ${INSTALL_TARGET}"
    CHROOT_PACMAN="pacman --noconfirm --cachedir /var/cache/pacman/pkg --config /tmp/pacman.conf -r ${INSTALL_TARGET}"
    FILE_URL="file:///packages/core-$(uname -m)/pkg"
    FTP_URL='ftp://mirrors.kernel.org/archlinux/$repo/os/$arch'
    HTTP_URL='http://mirrors.kernel.org/archlinux/$repo/os/$arch'
    # Functions
    # I've avoided using functions in this script as they aren't required and
    # I think it's more of a learning tool if you see the step-by-step
    # procedures even with minor duplciations along the way, but I feel that
    # these functions clarify the particular steps of setting values in config
    # files.
    SetValue () {
    # EXAMPLE: SetValue VARIABLENAME '\"Quoted Value\"' /file/path
    VALUENAME="$1" NEWVALUE="$2" FILEPATH="$3"
    sed -i "s+^#\?\(${VALUENAME}\)=.*$+\1=${NEWVALUE}+" "${FILEPATH}"
    CommentOutValue () {
    VALUENAME="$1" FILEPATH="$2"
    sed -i "s/^\(${VALUENAME}.*\)$/#\1/" "${FILEPATH}"
    UncommentValue () {
    VALUENAME="$1" FILEPATH="$2"
    sed -i "s/^#\(${VALUENAME}.*\)$/\1/" "${FILEPATH}"
    # Initialize
    # Warn the user about impending doom, set up the network on eth0, mount
    # the squashfs images (Archboot does this normally, we're just filling in
    # the gaps resulting from the fact that we're doing a simple scripted
    # install). We also create a temporary pacman.conf that looks for packages
    # locally first before sourcing them from the network. It would be better
    # to do either *all* local or *all* network but we can't for two reasons.
    # 1. The Archboot installation image might have an out of date kernel
    # (currently the case) which results in problems when chrooting
    # into the install mount point to modprobe efivars. So we use the
    # package snapshot on the Archboot media to ensure our kernel is
    # the same as the one we booted with.
    # 2. Ideally we'd source all local then, but some critical items,
    # notably grub2-efi variants, aren't yet on the Archboot media.
    # Warn
    timer=9
    echo -e "\n\nMAC WARNING: This script is not designed for APPLE MAC installs and will potentially misconfigure boot to your existing OS X installation. STOP NOW IF YOU ARE ON A MAC.\n\n"
    echo -n "GENERAL WARNING: This procedure will completely format /dev/sda. Please cancel with ctrl-c to cancel within $timer seconds..."
    while [[ $timer -gt 0 ]]
    do
    sleep 1
    let timer-=1
    echo -en "$timer seconds..."
    done
    echo "STARTING"
    # Get Network
    echo -n "Waiting for network address.."
    #dhclient eth0
    dhcpcd -p eth0
    echo -n "Network address acquired."
    # Mount packages squashfs images
    umount "/packages/core-$(uname -m)"
    umount "/packages/core-any"
    rm -rf "/packages/core-$(uname -m)"
    rm -rf "/packages/core-any"
    mkdir -p "/packages/core-$(uname -m)"
    mkdir -p "/packages/core-any"
    modprobe -q loop
    modprobe -q squashfs
    mount -o ro,loop -t squashfs "/src/packages/archboot_packages_$(uname -m).squashfs" "/packages/core-$(uname -m)"
    mount -o ro,loop -t squashfs "/src/packages/archboot_packages_any.squashfs" "/packages/core-any"
    # Create temporary pacman.conf file
    cat << PACMANEOF > /tmp/pacman.conf
    [options]
    Architecture = auto
    CacheDir = ${INSTALL_TARGET}/var/cache/pacman/pkg
    CacheDir = /packages/core-$(uname -m)/pkg
    CacheDir = /packages/core-any/pkg
    [core]
    Server = ${FILE_URL}
    Server = ${FTP_URL}
    Server = ${HTTP_URL}
    [extra]
    Server = ${FILE_URL}
    Server = ${FTP_URL}
    Server = ${HTTP_URL}
    #Uncomment to enable pacman -Sy yaourt
    [archlinuxfr]
    Server = http://repo.archlinux.fr/\$arch
    PACMANEOF
    # Prepare pacman
    [[ ! -d "${INSTALL_TARGET}/var/cache/pacman/pkg" ]] && mkdir -m 755 -p "${INSTALL_TARGET}/var/cache/pacman/pkg"
    [[ ! -d "${INSTALL_TARGET}/var/lib/pacman" ]] && mkdir -m 755 -p "${INSTALL_TARGET}/var/lib/pacman"
    ${PACMAN} -Sy
    ${TARGET_PACMAN} -Sy
    # Install prereqs from network (not on archboot media)
    echo -e "\nInstalling prereqs...\n$HR"
    #sed -i "s/^#S/S/" /etc/pacman.d/mirrorlist # Uncomment all Server lines
    UncommentValue S /etc/pacman.d/mirrorlist # Uncomment all Server lines
    ${PACMAN} --noconfirm -Sy gptfdisk btrfs-progs-unstable libusb-compat gnupg
    # Configure Host
    # Here we create three partitions:
    # 1. efi and /boot (one partition does double duty)
    # 2. swap
    # 3. our encrypted root
    # Note that all of these are on a GUID partition table scheme. This proves
    # to be quite clean and simple since we're not doing anything with MBR
    # boot partitions and the like.
    echo -e "format\n"
    # shred -v /dev/sda
    # disk prep
    sgdisk -Z /dev/sda # zap all on disk
    #sgdisk -Z /dev/mmcb1k0 # zap all on sdcard
    sgdisk -a 2048 -o /dev/sda # new gpt disk 2048 alignment
    #sgdisk -a 2048 -o /dev/mmcb1k0
    # create partitions
    sgdisk -n 1:0:+200M /dev/sda # partition 1 (UEFI BOOT), default start block, 200MB
    sgdisk -n 2:0:+4G /dev/sda # partition 2 (SWAP), default start block, 200MB
    sgdisk -n 3:0:0 /dev/sda # partition 3, (LUKS), default start, remaining space
    #sgdisk -n 1:0:1800M /dev/mmcb1k0 # root.gpg
    # set partition types
    sgdisk -t 1:ef00 /dev/sda
    sgdisk -t 2:8200 /dev/sda
    sgdisk -t 3:8300 /dev/sda
    #sgdisk -t 1:0700 /dev/mmcb1k0
    # label partitions
    sgdisk -c 1:"UEFI Boot" /dev/sda
    sgdisk -c 2:"Swap" /dev/sda
    sgdisk -c 3:"LUKS" /dev/sda
    #sgdisk -c 1:"Key" /dev/mmcb1k0
    echo -e "create gpg file\n"
    # create gpg file
    dd if=/dev/urandom bs=512 count=4 | gpg -v --cipher-algo aes256 --digest-algo sha512 -c -a > /root/root.gpg
    echo -e "format LUKS on root\n"
    # format LUKS on root
    gpg -q -d /root/root.gpg 2>/dev/null | cryptsetup -v --key-file=- -c aes-xts-plain -s 512 --hash sha512 luksFormat /dev/sda3
    echo -e "open LUKS on root\n"
    gpg -d /root/root.gpg 2>/dev/null | cryptsetup -v --key-file=- luksOpen /dev/sda3 root
    # NOTE: make sure to add dm_crypt and aes_i586 to MODULES in rc.conf
    # NOTE2: actually this isn't required since we're mounting an encrypted root and grub2/initramfs handles this before we even get to rc.conf
    # make filesystems
    # following swap related commands not used now that we're encrypting our swap partition
    #mkswap /dev/sda2
    #swapon /dev/sda2
    #mkfs.ext4 /dev/sda3 # this is where we'd create an unencrypted root partition, but we're using luks instead
    echo -e "\nCreating Filesystems...\n$HR"
    # make filesystems
    mkfs.ext4 /dev/mapper/root
    mkfs.vfat -F32 /dev/sda1
    #mkfs.vfat -F32 /dev/mmcb1k0p1
    echo -e "mount targets\n"
    # mount target
    #mount /dev/sda3 ${INSTALL_TARGET} # this is where we'd mount the unencrypted root partition
    mount /dev/mapper/root ${INSTALL_TARGET}
    # mount target
    mkdir ${INSTALL_TARGET}
    # mkdir ${INSTALL_TARGET}/key
    # mount -t vfat /dev/mmcb1k0p1 ${INSTALL_TARGET}/key
    mkdir ${INSTALL_TARGET}/boot
    mount -t vfat /dev/sda1 ${INSTALL_TARGET}/boot
    # Install base, necessary utilities
    mkdir -p ${INSTALL_TARGET}/var/lib/pacman
    ${TARGET_PACMAN} -Sy
    ${TARGET_PACMAN} -Su base
    # curl could be installed later but we want it ready for rankmirrors
    ${TARGET_PACMAN} -S curl
    ${TARGET_PACMAN} -S libusb-compat gnupg
    ${TARGET_PACMAN} -R grub
    rm -rf ${INSTALL_TARGET}/boot/grub
    ${TARGET_PACMAN} -S grub2-efi-x86_64
    # Configure new system
    SetValue HOSTNAME ${HOSTNAME} ${INSTALL_TARGET}/etc/rc.conf
    sed -i "s/^\(127\.0\.0\.1.*\)$/\1 ${HOSTNAME}/" ${INSTALL_TARGET}/etc/hosts
    SetValue CONSOLEFONT Lat2-Terminus16 ${INSTALL_TARGET}/etc/rc.conf
    #following replaced due to netcfg
    #SetValue interface eth0 ${INSTALL_TARGET}/etc/rc.conf
    # write fstab
    # You can use UUID's or whatever you want here, of course. This is just
    # the simplest approach and as long as your drives aren't changing values
    # randomly it should work fine.
    cat > ${INSTALL_TARGET}/etc/fstab <<FSTAB_EOF
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    /dev/sda1 /boot vfat defaults 0 0
    /dev/mapper/cryptswap none swap defaults 0 0
    /dev/mapper/root / ext4 defaults,noatime 0 1
    FSTAB_EOF
    # write etwo
    mkdir -p /lib/initcpio/hooks/
    mkdir -p /lib/initcpio/install/
    cp /src/etwo_hooks /lib/initcpio/hooks/etwo
    cp /src/etwo_install /lib/initcpio/install/etwo
    mkdir -p ${INSTALL_TARGET}/lib/initcpio/hooks/
    mkdir -p ${INSTALL_TARGET}/lib/initcpio/install/
    cp /src/etwo_hooks ${INSTALL_TARGET}/lib/initcpio/hooks/etwo
    cp /src/etwo_install ${INSTALL_TARGET}/lib/initcpio/install/etwo
    # write crypttab
    # encrypted swap (random passphrase on boot)
    echo cryptswap /dev/sda2 SWAP "-c aes-xts-plain -h whirlpool -s 512" >> ${INSTALL_TARGET}/etc/crypttab
    # copy configs we want to carry over to target from install environment
    mv ${INSTALL_TARGET}/etc/resolv.conf ${INSTALL_TARGET}/etc/resolv.conf.orig
    cp /etc/resolv.conf ${INSTALL_TARGET}/etc/resolv.conf
    mkdir -p ${INSTALL_TARGET}/tmp
    cp /tmp/pacman.conf ${INSTALL_TARGET}/tmp/pacman.conf
    # mount proc, sys, dev in install root
    mount -t proc proc ${INSTALL_TARGET}/proc
    mount -t sysfs sys ${INSTALL_TARGET}/sys
    mount -o bind /dev ${INSTALL_TARGET}/dev
    echo -e "umount boot\n"
    # we have to remount /boot from inside the chroot
    umount ${INSTALL_TARGET}/boot
    # Create install_efi script (to be run *after* chroot /install)
    touch ${INSTALL_TARGET}/install_efi
    chmod a+x ${INSTALL_TARGET}/install_efi
    cat > ${INSTALL_TARGET}/install_efi <<EFI_EOF
    # functions (these could be a library, but why overcomplicate things
    SetValue () { VALUENAME="\$1" NEWVALUE="\$2" FILEPATH="\$3"; sed -i "s+^#\?\(\${VALUENAME}\)=.*\$+\1=\${NEWVALUE}+" "\${FILEPATH}"; }
    CommentOutValue () { VALUENAME="\$1" FILEPATH="\$2"; sed -i "s/^\(\${VALUENAME}.*\)\$/#\1/" "\${FILEPATH}"; }
    UncommentValue () { VALUENAME="\$1" FILEPATH="\$2"; sed -i "s/^#\(\${VALUENAME}.*\)\$/\1/" "\${FILEPATH}"; }
    echo -e "mount boot\n"
    # remount here or grub et al gets confused
    mount -t vfat /dev/sda1 /boot
    # mkinitcpio
    # NOTE: intel_agp drm and i915 for intel graphics
    SetValue MODULES '\\"dm_mod dm_crypt aes_x86_64 ext2 ext4 vfat intel_agp drm i915\\"' /etc/mkinitcpio.conf
    SetValue HOOKS '\\"base udev pata scsi sata usb usbinput keymap consolefont etwo encrypt filesystems\\"' /etc/mkinitcpio.conf
    SetValue BINARIES '\\"/usr/bin/gpg\\"' /etc/mkinitcpio.conf
    mkinitcpio -p linux
    # kernel modules for EFI install
    modprobe efivars
    modprobe dm-mod
    # locale-gen
    UncommentValue de_AT /etc/locale.gen
    locale-gen
    # install and configure grub2
    # did this above
    #${CHROOT_PACMAN} -Sy
    #${CHROOT_PACMAN} -R grub
    #rm -rf /boot/grub
    #${CHROOT_PACMAN} -S grub2-efi-x86_64
    # you can be surprisingly sloppy with the root value you give grub2 as a kernel option and
    # even omit the cryptdevice altogether, though it will wag a finger at you for using
    # a deprecated syntax, so we're using the correct form here
    # NOTE: take out i915.modeset=1 unless you are on intel graphics
    SetValue GRUB_CMDLINE_LINUX '\\"cryptdevice=/dev/sda3:root cryptkey=/dev/sda1:vfat:/root.gpg add_efi_memmap i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 pcie_aspm=force quiet\\"' /etc/default/grub
    # set output to graphical
    SetValue GRUB_TERMINAL_OUTPUT gfxterm /etc/default/grub
    SetValue GRUB_GFXMODE 960x600x32,auto /etc/default/grub
    SetValue GRUB_GFXPAYLOAD_LINUX keep /etc/default/grub # comment out this value if text only mode
    # install the actual grub2. Note that despite our --boot-directory option we will still need to move
    # the grub directory to /boot/grub during grub-mkconfig operations until grub2 gets patched (see below)
    grub_efi_x86_64-install --bootloader-id=grub --no-floppy --recheck
    # create our EFI boot entry
    # bug in the HP bios firmware (F.08)
    efibootmgr --create --gpt --disk /dev/sda --part 1 --write-signature --label "ARCH LINUX" --loader "\\\\grub\\\\grub.efi"
    # copy font for grub2
    cp /usr/share/grub/unicode.pf2 /boot/grub
    # generate config file
    grub-mkconfig -o /boot/grub/grub.cfg
    exit
    EFI_EOF
    # Install EFI using script inside chroot
    chroot ${INSTALL_TARGET} /install_efi
    rm ${INSTALL_TARGET}/install_efi
    # Post install steps
    # anything you want to do post install. run the script automatically or
    # manually
    touch ${INSTALL_TARGET}/post_install
    chmod a+x ${INSTALL_TARGET}/post_install
    cat > ${INSTALL_TARGET}/post_install <<POST_EOF
    set -o errexit
    set -o nounset
    # functions (these could be a library, but why overcomplicate things
    SetValue () { VALUENAME="\$1" NEWVALUE="\$2" FILEPATH="\$3"; sed -i "s+^#\?\(\${VALUENAME}\)=.*\$+\1=\${NEWVALUE}+" "\${FILEPATH}"; }
    CommentOutValue () { VALUENAME="\$1" FILEPATH="\$2"; sed -i "s/^\(\${VALUENAME}.*\)\$/#\1/" "\${FILEPATH}"; }
    UncommentValue () { VALUENAME="\$1" FILEPATH="\$2"; sed -i "s/^#\(\${VALUENAME}.*\)\$/\1/" "\${FILEPATH}"; }
    # root password
    echo -e "${HR}\\nNew root user password\\n${HR}"
    passwd
    # add user
    echo -e "${HR}\\nNew non-root user password (username:${USERNAME})\\n${HR}"
    groupadd sudo
    useradd -m -g users -G audio,lp,optical,storage,video,games,power,scanner,network,sudo,wheel -s /bin/bash ${USERNAME}
    passwd ${USERNAME}
    # mirror ranking
    echo -e "${HR}\\nRanking Mirrors (this will take a while)\\n${HR}"
    cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.orig
    mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.all
    sed -i "s/#S/S/" /etc/pacman.d/mirrorlist.all
    rankmirrors -n 5 /etc/pacman.d/mirrorlist.all > /etc/pacman.d/mirrorlist
    # temporary fix for locale.sh update conflict
    mv /etc/profile.d/locale.sh /etc/profile.d/locale.sh.preupdate || true
    # yaourt repo (add to target pacman, not tmp pacman.conf, for ongoing use)
    echo -e "\\n[archlinuxfr]\\nServer = http://repo.archlinux.fr/\\\$arch" >> /etc/pacman.conf
    echo -e "\\n[haskell]\\nServer = http://www.kiwilight.com/\\\$repo/\\\$arch" >> /etc/pacman.conf
    # additional groups and utilities
    pacman --noconfirm -Syu
    pacman --noconfirm -S base-devel
    pacman --noconfirm -S yaourt
    # sudo
    pacman --noconfirm -S sudo
    cp /etc/sudoers /tmp/sudoers.edit
    sed -i "s/#\s*\(%wheel\s*ALL=(ALL)\s*ALL.*$\)/\1/" /tmp/sudoers.edit
    sed -i "s/#\s*\(%sudo\s*ALL=(ALL)\s*ALL.*$\)/\1/" /tmp/sudoers.edit
    visudo -qcsf /tmp/sudoers.edit && cat /tmp/sudoers.edit > /etc/sudoers
    # power
    pacman --noconfirm -S acpi acpid acpitool cpufrequtils
    yaourt --noconfirm -S powertop2
    sed -i "/^DAEMONS/ s/)/ @acpid)/" /etc/rc.conf
    sed -i "/^MODULES/ s/)/ acpi-cpufreq cpufreq_ondemand cpufreq_powersave coretemp)/" /etc/rc.conf
    # following requires my acpi handler script
    echo "/etc/acpi/handler.sh boot" > /etc/rc.local
    # time
    pacman --noconfirm -S ntp
    sed -i "/^DAEMONS/ s/hwclock /!hwclock @ntpd /" /etc/rc.conf
    # wireless (wpa supplicant should already be installed)
    pacman --noconfirm -S iw wpa_supplicant rfkill
    pacman --noconfirm -S netcfg wpa_actiond ifplugd
    mv /etc/wpa_supplicant.conf /etc/wpa_supplicant.conf.orig
    echo -e "ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=network\nupdate_config=1" > /etc/wpa_supplicant.conf
    # make sure to copy /etc/network.d/examples/wireless-wpa-config to /etc/network.d/home and edit
    sed -i "/^DAEMONS/ s/)/ @net-auto-wireless @net-auto-wired)/" /etc/rc.conf
    sed -i "/^DAEMONS/ s/ network / /" /etc/rc.conf
    echo -e "\nWIRELESS_INTERFACE=wlan0" >> /etc/rc.conf
    echo -e "WIRED_INTERFACE=eth0" >> /etc/rc.conf
    echo "options iwlagn led_mode=2" > /etc/modprobe.d/iwlagn.conf
    # sound
    pacman --noconfirm -S alsa-utils alsa-plugins
    sed -i "/^DAEMONS/ s/)/ @alsa)/" /etc/rc.conf
    mv /etc/asound.conf /etc/asound.conf.orig || true
    #if alsamixer isn't working, try alsamixer -Dhw and speaker-test -Dhw -c 2
    # video
    pacman --noconfirm -S base-devel mesa mesa-demos
    # x
    #pacman --noconfirm -S xorg xorg-xinit xorg-utils xorg-server-utils xdotool xorg-xlsfonts
    #yaourt --noconfirm -S xf86-input-wacom-git # NOT NEEDED? input-wacom-git
    #TODO: cut down the install size
    #pacman --noconfirm -S xorg-server xorg-xinit xorg-utils xorg-server-utils
    # TODO: wacom
    # environment/wm/etc.
    #pacman --noconfirm -S xfce4 compiz ccsm
    #pacman --noconfirm -S xcompmgr
    #yaourt --noconfirm -S physlock unclutter
    #pacman --noconfirm -S rxvt-unicode urxvt-url-select hsetroot
    #pacman --noconfirm -S gtk2 #gtk3 # for taffybar?
    #pacman --noconfirm -S ghc
    # note: try installing alex and happy from cabal instead
    #pacman --noconfirm -S haskell-platform haskell-hscolour
    #yaourt --noconfirm -S xmonad-darcs xmonad-contrib-darcs xcompmgr
    #yaourt --noconfirm -S xmobar-git
    # TODO: edit xfce to use compiz
    # TODO: xmonad, but deal with video tearing
    # TODO: xmonad-darcs fails to install from AUR. haskell dependency hell.
    # switching to cabal
    # fonts
    pacman --noconfirm -S terminus-font
    yaourt --noconfirm -S webcore-fonts
    yaourt --noconfirm -S fontforge libspiro
    yaourt --noconfirm -S freetype2-git-infinality
    # TODO: sed infinality and change to OSX or OSX2 mode
    # and create the sym link from /etc/fonts/conf.avail to conf.d
    # misc apps
    #pacman --noconfirm -S htop openssh keychain bash-completion git vim
    #pacman --noconfirm -S chromium flashplugin
    #pacman --noconfirm -S scrot mypaint bc
    #yaourt --noconfirm -S task-git stellarium googlecl
    # TODO: argyll
    POST_EOF
    # Post install in chroot
    #echo "chroot and run /post_install"
    chroot /install /post_install
    rm /install/post_install
    # copy grub.efi file to the default HP EFI boot manager path
    mkdir -p ${INSTALL_TARGET}/boot/EFI/Microsoft/BOOT/
    mkdir -p ${INSTALL_TARGET}/boot/EFI/BOOT/
    cp ${INSTALL_TARGET}/boot/grub/grub.efi ${INSTALL_TARGET}/boot/EFI/Microsoft/BOOT/bootmgfw.efi
    cp ${INSTALL_TARGET}/boot/grub/grub.efi ${INSTALL_TARGET}/boot/EFI/BOOT/BOOTX64.EFI
    cp /root/root.gpg ${INSTALL_TARGET}/boot/
    # NOTES/TODO

  • NVIDIA Optimus on MSI GE70 2OE: No screens, then server fails to start

    Hello,
    I have recently acquired an MSI GE70 2OE-071 laptop with the following configuration, intending to run Arch Linux (dual boot with Windows 7) on it:
    CPU: Intel Core i7-4700 MQ
    GPU: Nvidia GeForce GTX 765M (2 GB DDR5 memory)
    LCD: 17.3" FHD 1920x1080
    Memory: 12 GB DDR3
    HDD: 1 TB 7200 RPM
    I originally installed Arch Linux the same way as described in the beginner's guide. I could get the basic twm setup to work, but the moment I installed the proprietary drivers (using pacman -S nvidia, followed by nvidia-xconfig, followed by a reboot), X Windows crashed, i.e. I started getting the No screens found error. So after some days of digging, I found the NVIDIA Optimus wiki page. Following the advice here, I could get rid of this error, but I still cannot get into the GUI, because the server terminates. There is no hardware problem that I can think of because Manjaro Linux works fine, and being a perpetual Arch novice eager to learn, I just wanted to get this thing to work from the ground up.
    So I'd really appreciate some help.
    Here are the relevant files and command outputs.
    uname -a. url = http://bpaste.net/show/166840/
    Linux gluon 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013 x86_64 GNU/Linux
    .xinitrc. url = http://bpaste.net/show/166837/
    xrandr --setprovideroutputsource modesetting NVIDIA-0
    xrandr --auto
    /etc/X11/xorg.conf. url = http://bpaste.net/show/166838/
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 331.20 (buildmeister@swio-display-x86-rhel47-05) Wed Oct 30 18:20:53 PDT 2013
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection
    Section "Files"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:1:0:0" # manually added
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    /var/log/Xorg.0.log. url = http://bpaste.net/show/166839/
    [ 1684.463]
    X.Org X Server 1.14.5
    Release Date: 2013-12-12
    [ 1684.465] X Protocol Version 11, Revision 0
    [ 1684.465] Build Operating System: Linux 3.12.5-1-ARCH x86_64
    [ 1684.466] Current Operating System: Linux gluon 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013 x86_64
    [ 1684.466] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=d2a5754c-c679-48b4-9b12-02ae94b83604 rw quiet
    [ 1684.467] Build Date: 06 January 2014 10:25:32PM
    [ 1684.467]
    [ 1684.468] Current version of pixman: 0.32.4
    [ 1684.469] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 1684.469] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 1684.472] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 11 07:17:09 2014
    [ 1684.472] (==) Using config file: "/etc/X11/xorg.conf"
    [ 1684.473] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 1684.473] (==) ServerLayout "Layout0"
    [ 1684.473] (**) |-->Screen "Screen0" (0)
    [ 1684.473] (**) | |-->Monitor "Monitor0"
    [ 1684.473] (**) | |-->Device "Device0"
    [ 1684.473] (**) |-->Input Device "Keyboard0"
    [ 1684.473] (**) |-->Input Device "Mouse0"
    [ 1684.473] (==) Automatically adding devices
    [ 1684.473] (==) Automatically enabling devices
    [ 1684.473] (==) Automatically adding GPU devices
    [ 1684.473] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 1684.473] Entry deleted from font path.
    [ 1684.473] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [ 1684.473] Entry deleted from font path.
    [ 1684.473] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 1684.473] Entry deleted from font path.
    [ 1684.473] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 1684.473] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 1684.473] Entry deleted from font path.
    [ 1684.473] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 1684.473] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/
    [ 1684.473] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 1684.473] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
    [ 1684.473] (WW) Disabling Keyboard0
    [ 1684.473] (WW) Disabling Mouse0
    [ 1684.473] (II) Loader magic: 0x7fac20
    [ 1684.473] (II) Module ABI versions:
    [ 1684.473] X.Org ANSI C Emulation: 0.4
    [ 1684.473] X.Org Video Driver: 14.1
    [ 1684.473] X.Org XInput driver : 19.1
    [ 1684.473] X.Org Server Extension : 7.0
    [ 1684.473] (II) xfree86: Adding drm device (/dev/dri/card1)
    [ 1684.473] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 1684.474] (--) PCI:*(0:0:2:0) 8086:0416:1462:10e1 rev 6, Mem @ 0xf7400000/4194304, 0xb0000000/268435456, I/O @ 0x0000f000/64
    [ 1684.474] (--) PCI: (0:1:0:0) 10de:11e2:1462:10e1 rev 161, Mem @ 0xf6000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
    [ 1684.475] Initializing built-in extension Generic Event Extension
    [ 1684.476] Initializing built-in extension SHAPE
    [ 1684.476] Initializing built-in extension MIT-SHM
    [ 1684.477] Initializing built-in extension XInputExtension
    [ 1684.478] Initializing built-in extension XTEST
    [ 1684.478] Initializing built-in extension BIG-REQUESTS
    [ 1684.479] Initializing built-in extension SYNC
    [ 1684.479] Initializing built-in extension XKEYBOARD
    [ 1684.480] Initializing built-in extension XC-MISC
    [ 1684.481] Initializing built-in extension SECURITY
    [ 1684.481] Initializing built-in extension XINERAMA
    [ 1684.482] Initializing built-in extension XFIXES
    [ 1684.482] Initializing built-in extension RENDER
    [ 1684.483] Initializing built-in extension RANDR
    [ 1684.484] Initializing built-in extension COMPOSITE
    [ 1684.484] Initializing built-in extension DAMAGE
    [ 1684.485] Initializing built-in extension MIT-SCREEN-SAVER
    [ 1684.485] Initializing built-in extension DOUBLE-BUFFER
    [ 1684.486] Initializing built-in extension RECORD
    [ 1684.487] Initializing built-in extension DPMS
    [ 1684.487] Initializing built-in extension X-Resource
    [ 1684.488] Initializing built-in extension XVideo
    [ 1684.488] Initializing built-in extension XVideo-MotionCompensation
    [ 1684.489] Initializing built-in extension XFree86-VidModeExtension
    [ 1684.489] Initializing built-in extension XFree86-DGA
    [ 1684.490] Initializing built-in extension XFree86-DRI
    [ 1684.490] Initializing built-in extension DRI2
    [ 1684.490] (II) LoadModule: "glx"
    [ 1684.490] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 1684.490] (II) Module glx: vendor="X.Org Foundation"
    [ 1684.490] compiled for 1.14.5, module version = 1.0.0
    [ 1684.490] ABI class: X.Org Server Extension, version 7.0
    [ 1684.490] (==) AIGLX enabled
    [ 1684.491] Loading extension GLX
    [ 1684.491] (II) LoadModule: "nvidia"
    [ 1684.491] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 1684.491] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 1684.491] compiled for 4.0.2, module version = 1.0.0
    [ 1684.491] Module class: X.Org Video Driver
    [ 1684.491] (II) NVIDIA dlloader X Driver 331.20 Wed Oct 30 17:16:53 PDT 2013
    [ 1684.491] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 1684.491] (++) using VT number 1
    [ 1684.491] (II) Loading sub module "fb"
    [ 1684.491] (II) LoadModule: "fb"
    [ 1684.491] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 1684.491] (II) Module fb: vendor="X.Org Foundation"
    [ 1684.491] compiled for 1.14.5, module version = 1.0.0
    [ 1684.491] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 1684.491] (WW) Unresolved symbol: fbGetGCPrivateKey
    [ 1684.491] (II) Loading sub module "wfb"
    [ 1684.491] (II) LoadModule: "wfb"
    [ 1684.491] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 1684.491] (II) Module wfb: vendor="X.Org Foundation"
    [ 1684.491] compiled for 1.14.5, module version = 1.0.0
    [ 1684.491] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 1684.491] (II) Loading sub module "ramdac"
    [ 1684.491] (II) LoadModule: "ramdac"
    [ 1684.491] (II) Module "ramdac" already built-in
    [ 1684.491] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    [ 1684.491] (==) NVIDIA(0): RGB weight 888
    [ 1684.492] (==) NVIDIA(0): Default visual is TrueColor
    [ 1684.492] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 1684.492] (**) NVIDIA(0): Enabling 2D acceleration
    [ 1684.492] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
    [ 1684.492] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
    [ 1684.492] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
    [ 1684.492] (EE) NVIDIA(0): you continue to encounter problems, Please try
    [ 1684.492] (EE) NVIDIA(0): reinstalling the NVIDIA driver.
    [ 1684.654] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
    [ 1684.655] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 765M (GK106) at PCI:1:0:0 (GPU-0)
    [ 1684.655] (--) NVIDIA(0): Memory: 2097152 kBytes
    [ 1684.655] (--) NVIDIA(0): VideoBIOS: 80.06.5d.00.09
    [ 1684.655] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [ 1684.655] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 765M at PCI:1:0:0
    [ 1684.655] (--) NVIDIA(0): none
    [ 1684.655] (II) NVIDIA(0): Validated MetaModes:
    [ 1684.655] (II) NVIDIA(0): "NULL"
    [ 1684.655] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
    [ 1684.655] (WW) NVIDIA(0): Unable to get display device for DPI computation.
    [ 1684.655] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
    [ 1684.655] (--) Depth 24 pixmap format is 32 bpp
    [ 1684.655] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
    [ 1684.655] (II) NVIDIA: access.
    [ 1684.661] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 1684.661] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
    [ 1684.661] (II) NVIDIA(0): configuration option may not be set correctly. When the
    [ 1684.661] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
    [ 1684.661] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
    [ 1684.661] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
    [ 1684.661] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 1684.661] (II) NVIDIA(0): Config Options in the README.
    [ 1684.661] (II) NVIDIA(0): Setting mode "NULL"
    [ 1684.661] (EE) NVIDIA(0): Failed to initiate mode change.
    [ 1684.661] (EE) NVIDIA(0): Failed to complete mode change
    [ 1684.668] (II) NVIDIA(0): Built-in logo is bigger than the screen.
    [ 1684.668] Loading extension NV-GLX
    [ 1684.670] (==) NVIDIA(0): Disabling shared memory pixmaps
    [ 1684.670] (==) NVIDIA(0): Backing store disabled
    [ 1684.670] (==) NVIDIA(0): Silken mouse enabled
    [ 1684.670] (**) NVIDIA(0): DPMS enabled
    [ 1684.670] Loading extension NV-CONTROL
    [ 1684.670] (II) Loading sub module "dri2"
    [ 1684.670] (II) LoadModule: "dri2"
    [ 1684.670] (II) Module "dri2" already built-in
    [ 1684.670] (II) NVIDIA(0): [DRI2] Setup complete
    [ 1684.670] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
    [ 1684.670] (--) RandR disabled
    [ 1684.673] (II) AIGLX: Screen 0 is not DRI2 capable
    [ 1684.673] (II) AIGLX: Screen 0 is not DRI capable
    [ 1684.680] (II) AIGLX: Loaded and initialized swrast
    [ 1684.680] (II) GLX: Initialized DRISWRAST GL provider for screen 0
    [ 1684.697] (II) config/udev: Adding input device Power Button (/dev/input/event3)
    [ 1684.697] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 1684.697] (II) LoadModule: "evdev"
    [ 1684.697] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 1684.697] (II) Module evdev: vendor="X.Org Foundation"
    [ 1684.697] compiled for 1.14.3, module version = 2.8.2
    [ 1684.697] Module class: X.Org XInput Driver
    [ 1684.697] ABI class: X.Org XInput driver, version 19.1
    [ 1684.697] (II) Using input driver 'evdev' for 'Power Button'
    [ 1684.697] (**) Power Button: always reports core events
    [ 1684.697] (**) evdev: Power Button: Device: "/dev/input/event3"
    [ 1684.697] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 1684.697] (--) evdev: Power Button: Found keys
    [ 1684.697] (II) evdev: Power Button: Configuring as keyboard
    [ 1684.697] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event3"
    [ 1684.697] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
    [ 1684.697] (**) Option "xkb_rules" "evdev"
    [ 1684.697] (**) Option "xkb_model" "pc104"
    [ 1684.697] (**) Option "xkb_layout" "us"
    [ 1684.709] (II) config/udev: Adding input device Video Bus (/dev/input/event12)
    [ 1684.709] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 1684.709] (II) Using input driver 'evdev' for 'Video Bus'
    [ 1684.709] (**) Video Bus: always reports core events
    [ 1684.709] (**) evdev: Video Bus: Device: "/dev/input/event12"
    [ 1684.709] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 1684.709] (--) evdev: Video Bus: Found keys
    [ 1684.709] (II) evdev: Video Bus: Configuring as keyboard
    [ 1684.709] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input13/event12"
    [ 1684.709] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
    [ 1684.709] (**) Option "xkb_rules" "evdev"
    [ 1684.709] (**) Option "xkb_model" "pc104"
    [ 1684.709] (**) Option "xkb_layout" "us"
    [ 1684.709] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
    [ 1684.709] (II) No input driver specified, ignoring this device.
    [ 1684.709] (II) This device may have been added with another device file.
    [ 1684.709] (II) config/udev: Adding input device Video Bus (/dev/input/event11)
    [ 1684.709] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 1684.709] (II) Using input driver 'evdev' for 'Video Bus'
    [ 1684.709] (**) Video Bus: always reports core events
    [ 1684.709] (**) evdev: Video Bus: Device: "/dev/input/event11"
    [ 1684.709] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 1684.709] (--) evdev: Video Bus: Found keys
    [ 1684.709] (II) evdev: Video Bus: Configuring as keyboard
    [ 1684.709] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:48/LNXVIDEO:00/input/input12/event11"
    [ 1684.709] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
    [ 1684.709] (**) Option "xkb_rules" "evdev"
    [ 1684.709] (**) Option "xkb_model" "pc104"
    [ 1684.709] (**) Option "xkb_layout" "us"
    [ 1684.710] (II) config/udev: Adding input device Power Button (/dev/input/event2)
    [ 1684.710] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 1684.710] (II) Using input driver 'evdev' for 'Power Button'
    [ 1684.710] (**) Power Button: always reports core events
    [ 1684.710] (**) evdev: Power Button: Device: "/dev/input/event2"
    [ 1684.710] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 1684.710] (--) evdev: Power Button: Found keys
    [ 1684.710] (II) evdev: Power Button: Configuring as keyboard
    [ 1684.710] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input3/event2"
    [ 1684.710] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
    [ 1684.710] (**) Option "xkb_rules" "evdev"
    [ 1684.710] (**) Option "xkb_model" "pc104"
    [ 1684.710] (**) Option "xkb_layout" "us"
    [ 1684.710] (II) config/udev: Adding drm device (/dev/dri/card1)
    [ 1684.710] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 1684.710] (II) config/udev: Adding input device HDA Intel MID HDMI/DP,pcm=3 (/dev/input/event15)
    [ 1684.710] (II) No input driver specified, ignoring this device.
    [ 1684.710] (II) This device may have been added with another device file.
    [ 1684.710] (II) config/udev: Adding input device HDA Intel MID HDMI/DP,pcm=7 (/dev/input/event14)
    [ 1684.710] (II) No input driver specified, ignoring this device.
    [ 1684.710] (II) This device may have been added with another device file.
    [ 1684.710] (II) config/udev: Adding input device HDA Intel MID HDMI/DP,pcm=8 (/dev/input/event13)
    [ 1684.710] (II) No input driver specified, ignoring this device.
    [ 1684.710] (II) This device may have been added with another device file.
    [ 1684.710] (II) config/udev: Adding input device BisonCam, NB Pro (/dev/input/event9)
    [ 1684.710] (**) BisonCam, NB Pro: Applying InputClass "evdev keyboard catchall"
    [ 1684.710] (II) Using input driver 'evdev' for 'BisonCam, NB Pro'
    [ 1684.710] (**) BisonCam, NB Pro: always reports core events
    [ 1684.710] (**) evdev: BisonCam, NB Pro: Device: "/dev/input/event9"
    [ 1684.710] (--) evdev: BisonCam, NB Pro: Vendor 0x5986 Product 0x14c
    [ 1684.710] (--) evdev: BisonCam, NB Pro: Found keys
    [ 1684.710] (II) evdev: BisonCam, NB Pro: Configuring as keyboard
    [ 1684.710] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input11/event9"
    [ 1684.710] (II) XINPUT: Adding extended input device "BisonCam, NB Pro" (type: KEYBOARD, id 10)
    [ 1684.710] (**) Option "xkb_rules" "evdev"
    [ 1684.710] (**) Option "xkb_model" "pc104"
    [ 1684.710] (**) Option "xkb_layout" "us"
    [ 1684.711] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event6)
    [ 1684.711] (II) No input driver specified, ignoring this device.
    [ 1684.711] (II) This device may have been added with another device file.
    [ 1684.711] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event7)
    [ 1684.711] (II) No input driver specified, ignoring this device.
    [ 1684.711] (II) This device may have been added with another device file.
    [ 1684.711] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event8)
    [ 1684.711] (II) No input driver specified, ignoring this device.
    [ 1684.711] (II) This device may have been added with another device file.
    [ 1684.711] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 1684.711] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 1684.711] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    [ 1684.711] (**) AT Translated Set 2 keyboard: always reports core events
    [ 1684.711] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 1684.711] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
    [ 1684.711] (--) evdev: AT Translated Set 2 keyboard: Found keys
    [ 1684.711] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
    [ 1684.711] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
    [ 1684.711] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
    [ 1684.711] (**) Option "xkb_rules" "evdev"
    [ 1684.711] (**) Option "xkb_model" "pc104"
    [ 1684.711] (**) Option "xkb_layout" "us"
    [ 1684.711] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event10)
    [ 1684.711] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchpad catchall"
    [ 1684.711] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
    [ 1684.711] (**) ETPS/2 Elantech Touchpad: Applying InputClass "Default clickpad buttons"
    [ 1684.711] (II) LoadModule: "synaptics"
    [ 1684.711] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
    [ 1684.711] (II) Module synaptics: vendor="X.Org Foundation"
    [ 1684.711] compiled for 1.14.4, module version = 1.7.2
    [ 1684.711] Module class: X.Org XInput Driver
    [ 1684.711] ABI class: X.Org XInput driver, version 19.1
    [ 1684.711] (II) Using input driver 'synaptics' for 'ETPS/2 Elantech Touchpad'
    [ 1684.711] (**) ETPS/2 Elantech Touchpad: always reports core events
    [ 1684.711] (**) Option "Device" "/dev/input/event10"
    [ 1684.783] (II) synaptics: ETPS/2 Elantech Touchpad: found clickpad property
    [ 1684.783] (--) synaptics: ETPS/2 Elantech Touchpad: x-axis range 0 - 3260 (res 33)
    [ 1684.783] (--) synaptics: ETPS/2 Elantech Touchpad: y-axis range 0 - 2119 (res 33)
    [ 1684.783] (--) synaptics: ETPS/2 Elantech Touchpad: pressure range 0 - 255
    [ 1684.783] (--) synaptics: ETPS/2 Elantech Touchpad: finger width range 0 - 15
    [ 1684.783] (--) synaptics: ETPS/2 Elantech Touchpad: buttons: left double triple
    [ 1684.783] (--) synaptics: ETPS/2 Elantech Touchpad: Vendor 0x2 Product 0xe
    [ 1684.783] (**) Option "TapButton1" "1"
    [ 1684.783] (**) Option "TapButton2" "2"
    [ 1684.783] (**) Option "TapButton3" "3"
    [ 1684.783] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
    [ 1684.783] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
    [ 1684.783] (**) ETPS/2 Elantech Touchpad: always reports core events
    [ 1684.809] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event10"
    [ 1684.809] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 12)
    [ 1684.810] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MinSpeed is now constant deceleration 2.5
    [ 1684.810] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MaxSpeed is now 1.75
    [ 1684.810] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) AccelFactor is now 0.051
    [ 1684.810] (**) ETPS/2 Elantech Touchpad: (accel) keeping acceleration scheme 1
    [ 1684.810] (**) ETPS/2 Elantech Touchpad: (accel) acceleration profile 1
    [ 1684.810] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
    [ 1684.810] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
    [ 1684.810] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
    [ 1684.810] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
    [ 1684.810] (**) ETPS/2 Elantech Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"
    [ 1684.810] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
    [ 1684.810] (II) No input driver specified, ignoring this device.
    [ 1684.810] (II) This device may have been added with another device file.
    [ 1684.810] (II) config/udev: Adding input device MSI WMI hotkeys (/dev/input/event5)
    [ 1684.810] (**) MSI WMI hotkeys: Applying InputClass "evdev keyboard catchall"
    [ 1684.810] (II) Using input driver 'evdev' for 'MSI WMI hotkeys'
    [ 1684.810] (**) MSI WMI hotkeys: always reports core events
    [ 1684.810] (**) evdev: MSI WMI hotkeys: Device: "/dev/input/event5"
    [ 1684.810] (--) evdev: MSI WMI hotkeys: Vendor 0 Product 0
    [ 1684.810] (--) evdev: MSI WMI hotkeys: Found keys
    [ 1684.810] (II) evdev: MSI WMI hotkeys: Configuring as keyboard
    [ 1684.810] (**) Option "config_info" "udev:/sys/devices/virtual/input/input7/event5"
    [ 1684.810] (II) XINPUT: Adding extended input device "MSI WMI hotkeys" (type: KEYBOARD, id 13)
    [ 1684.810] (**) Option "xkb_rules" "evdev"
    [ 1684.810] (**) Option "xkb_model" "pc104"
    [ 1684.810] (**) Option "xkb_layout" "us"
    [ 1685.097] (II) evdev: MSI WMI hotkeys: Close
    [ 1685.097] (II) UnloadModule: "evdev"
    [ 1685.097] (II) UnloadModule: "synaptics"
    [ 1685.097] (II) evdev: AT Translated Set 2 keyboard: Close
    [ 1685.097] (II) UnloadModule: "evdev"
    [ 1685.097] (II) evdev: BisonCam, NB Pro: Close
    [ 1685.097] (II) UnloadModule: "evdev"
    [ 1685.097] (II) evdev: Power Button: Close
    [ 1685.097] (II) UnloadModule: "evdev"
    [ 1685.097] (II) evdev: Video Bus: Close
    [ 1685.097] (II) UnloadModule: "evdev"
    [ 1685.097] (II) evdev: Video Bus: Close
    [ 1685.097] (II) UnloadModule: "evdev"
    [ 1685.097] (II) evdev: Power Button: Close
    [ 1685.097] (II) UnloadModule: "evdev"
    [ 1685.116] (II) NVIDIA(GPU-0): Deleting GPU-0
    [b][ 1685.120] (EE) Server terminated successfully (0). Closing log file.[/b]
    lspci. url = http://bpaste.net/show/166842/
    00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
    00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
    00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
    00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
    00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
    00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
    00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
    00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
    00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
    00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
    00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d5)
    00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
    00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
    00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
    00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
    01:00.0 3D controller: NVIDIA Corporation GK106M [GeForce GTX 765M] (rev a1)
    03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5227 (rev 01)
    04:00.0 Ethernet controller: Qualcomm Atheros Killer E2200 Gigabit Ethernet Controller (rev 13)
    05:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723AE PCIe Wireless Network Adapter
    dmesg. url: http://bpaste.net/show/166841/
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 3.12.6-1-ARCH (tobias@T-POWA-LX) (gcc version 4.8.2 (GCC) ) #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013
    [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=d2a5754c-c679-48b4-9b12-02ae94b83604 rw quiet
    [ 0.000000] e820: BIOS-provided physical RAM map:
    [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000009b171fff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000009b172000-0x000000009b178fff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x000000009b179000-0x000000009b8e8fff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000009b8e9000-0x000000009bb55fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x000000009bb56000-0x00000000ab48ffff] usable
    [ 0.000000] BIOS-e820: [mem 0x00000000ab490000-0x00000000ab697fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000ab698000-0x00000000ab78bfff] usable
    [ 0.000000] BIOS-e820: [mem 0x00000000ab78c000-0x00000000abb73fff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x00000000abb74000-0x00000000abffefff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000abfff000-0x00000000abffffff] usable
    [ 0.000000] BIOS-e820: [mem 0x00000000ad000000-0x00000000af1fffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed00000-0x00000000fed03fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000034fdfffff] usable
    [ 0.000000] NX (Execute Disable) protection: active
    [ 0.000000] SMBIOS 2.7 present.
    [ 0.000000] DMI: Micro-Star International Co., Ltd. GE70 2OC\2OE/MS-1757, BIOS E1757IMS.10E 07/15/2013
    [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
    [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
    [ 0.000000] No AGP bridge found
    [ 0.000000] e820: last_pfn = 0x34fe00 max_arch_pfn = 0x400000000
    [ 0.000000] MTRR default type: uncachable
    [ 0.000000] MTRR fixed ranges enabled:
    [ 0.000000] 00000-9FFFF write-back
    [ 0.000000] A0000-BFFFF uncachable
    [ 0.000000] C0000-CFFFF write-protect
    [ 0.000000] D0000-E7FFF uncachable
    [ 0.000000] E8000-FFFFF write-protect
    [ 0.000000] MTRR variable ranges enabled:
    [ 0.000000] 0 base 0000000000 mask 7E00000000 write-back
    [ 0.000000] 1 base 0200000000 mask 7F00000000 write-back
    [ 0.000000] 2 base 0300000000 mask 7F80000000 write-back
    [ 0.000000] 3 base 00C0000000 mask 7FC0000000 uncachable
    [ 0.000000] 4 base 00B0000000 mask 7FF0000000 uncachable
    [ 0.000000] 5 base 00AE000000 mask 7FFE000000 uncachable
    [ 0.000000] 6 base 00AD000000 mask 7FFF000000 uncachable
    [ 0.000000] 7 base 0360000000 mask 7FE0000000 uncachable
    [ 0.000000] 8 base 0350000000 mask 7FF0000000 uncachable
    [ 0.000000] 9 base 034FE00000 mask 7FFFE00000 uncachable
    [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    [ 0.000000] e820: update [mem 0xad000000-0xffffffff] usable ==> reserved
    [ 0.000000] e820: last_pfn = 0xac000 max_arch_pfn = 0x400000000
    [ 0.000000] found SMP MP-table at [mem 0x000fd770-0x000fd77f] mapped at [ffff8800000fd770]
    [ 0.000000] Scanning 1 areas for low memory corruption
    [ 0.000000] Base memory trampoline at [ffff880000097000] 97000 size 24576
    [ 0.000000] Using GB pages for direct mapping
    [ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
    [ 0.000000] [mem 0x00000000-0x000fffff] page 4k
    [ 0.000000] BRK [0x01b32000, 0x01b32fff] PGTABLE
    [ 0.000000] BRK [0x01b33000, 0x01b33fff] PGTABLE
    [ 0.000000] BRK [0x01b34000, 0x01b34fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x34fc00000-0x34fdfffff]
    [ 0.000000] [mem 0x34fc00000-0x34fdfffff] page 2M
    [ 0.000000] BRK [0x01b35000, 0x01b35fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x34c000000-0x34fbfffff]
    [ 0.000000] [mem 0x34c000000-0x34fbfffff] page 2M
    [ 0.000000] init_memory_mapping: [mem 0x300000000-0x34bffffff]
    [ 0.000000] [mem 0x300000000-0x33fffffff] page 1G
    [ 0.000000] [mem 0x340000000-0x34bffffff] page 2M
    [ 0.000000] init_memory_mapping: [mem 0x00100000-0x9b171fff]
    [ 0.000000] [mem 0x00100000-0x001fffff] page 4k
    [ 0.000000] [mem 0x00200000-0x3fffffff] page 2M
    [ 0.000000] [mem 0x40000000-0x7fffffff] page 1G
    [ 0.000000] [mem 0x80000000-0x9affffff] page 2M
    [ 0.000000] [mem 0x9b000000-0x9b171fff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0x9b179000-0x9b8e8fff]
    [ 0.000000] [mem 0x9b179000-0x9b1fffff] page 4k
    [ 0.000000] [mem 0x9b200000-0x9b7fffff] page 2M
    [ 0.000000] [mem 0x9b800000-0x9b8e8fff] page 4k
    [ 0.000000] BRK [0x01b36000, 0x01b36fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x9bb56000-0xab48ffff]
    [ 0.000000] [mem 0x9bb56000-0x9bbfffff] page 4k
    [ 0.000000] [mem 0x9bc00000-0xab3fffff] page 2M
    [ 0.000000] [mem 0xab400000-0xab48ffff] page 4k
    [ 0.000000] BRK [0x01b37000, 0x01b37fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0xab698000-0xab78bfff]
    [ 0.000000] [mem 0xab698000-0xab78bfff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0xabfff000-0xabffffff]
    [ 0.000000] [mem 0xabfff000-0xabffffff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0x100000000-0x2ffffffff]
    [ 0.000000] [mem 0x100000000-0x2ffffffff] page 1G
    [ 0.000000] RAMDISK: [mem 0x379fc000-0x37cf5fff]
    [ 0.000000] ACPI: RSDP 00000000000f0490 00024 (v02 MSI_NB)
    [ 0.000000] ACPI: XSDT 00000000ab814098 000AC (v01 MSI_NB MEGABOOK 01072009 AMI 00010013)
    [ 0.000000] ACPI: FACP 00000000ab8206b0 0010C (v05 MSI_NB MEGABOOK 01072009 AMI 00010013)
    [ 0.000000] ACPI: DSDT 00000000ab8141d8 0C4D4 (v02 MSI_NB MEGABOOK 00000022 INTL 20091112)
    [ 0.000000] ACPI: FACS 00000000abb72080 00040
    [ 0.000000] ACPI: APIC 00000000ab8207c0 00092 (v03 MSI_NB MEGABOOK 01072009 AMI 00010013)
    [ 0.000000] ACPI: FPDT 00000000ab820858 00044 (v01 MSI_NB MEGABOOK 01072009 AMI 00010013)
    [ 0.000000] ACPI: ASF! 00000000ab8208a0 000A5 (v32 INTEL HCG 00000001 TFSM 000F4240)
    [ 0.000000] ACPI: SSDT 00000000ab820948 00200 (v01 INTEL sensrhub 00000000 INTL 20120711)
    [ 0.000000] ACPI: SSDT 00000000ab820b48 0019D (v01 Intel zpodd 00001000 INTL 20091112)
    [ 0.000000] ACPI: SLIC 00000000ab820ce8 00176 (v01 MSI_NB MEGABOOK 01072009 AMI 00010013)
    [ 0.000000] ACPI: SSDT 00000000ab820e60 00575 (v01 PmRef Cpu0Ist 00003000 INTL 20051117)
    [ 0.000000] ACPI: SSDT 00000000ab8213d8 00AD8 (v01 PmRef CpuPm 00003000 INTL 20051117)
    [ 0.000000] ACPI: MCFG 00000000ab821eb0 0003C (v01 MSI_NB MEGABOOK 01072009 MSFT 00000097)
    [ 0.000000] ACPI: HPET 00000000ab821ef0 00038 (v01 MSI_NB MEGABOOK 01072009 AMI. 00000005)
    [ 0.000000] ACPI: SSDT 00000000ab821f28 00315 (v01 SataRe SataTabl 00001000 INTL 20091112)
    [ 0.000000] ACPI: SSDT 00000000ab822240 0355D (v01 SaSsdt SaSsdt 00003000 INTL 20091112)
    [ 0.000000] ACPI: SSDT 00000000ab8257a0 011FD (v01 SgRef SgPeg 00001000 INTL 20091112)
    [ 0.000000] ACPI: MSFF 00000000ab8269a0 00029 (v01 MSI_NB MEGABOOK 00000010 AMI 00010013)
    [ 0.000000] ACPI: DMAR 00000000ab8269d0 00090 (v01 INTEL HSW 00000001 INTL 00000001)
    [ 0.000000] ACPI: SSDT 00000000ab826a60 01464 (v01 OptRef OptTabl 00001000 INTL 20120711)
    [ 0.000000] ACPI: Local APIC address 0xfee00000
    [ 0.000000] No NUMA configuration found
    [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000034fdfffff]
    [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x34fdfffff]
    [ 0.000000] NODE_DATA [mem 0x34fdf6000-0x34fdfafff]
    [ 0.000000] [ffffea0000000000-ffffea000d3fffff] PMD -> [ffff880343400000-ffff88034f3fffff] on node 0
    [ 0.000000] Zone ranges:
    [ 0.000000] DMA [mem 0x00001000-0x00ffffff]
    [ 0.000000] DMA32 [mem 0x01000000-0xffffffff]
    [ 0.000000] Normal [mem 0x100000000-0x34fdfffff]
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x00001000-0x0009cfff]
    [ 0.000000] node 0: [mem 0x00100000-0x9b171fff]
    [ 0.000000] node 0: [mem 0x9b179000-0x9b8e8fff]
    [ 0.000000] node 0: [mem 0x9bb56000-0xab48ffff]
    [ 0.000000] node 0: [mem 0xab698000-0xab78bfff]
    [ 0.000000] node 0: [mem 0xabfff000-0xabffffff]
    [ 0.000000] node 0: [mem 0x100000000-0x34fdfffff]
    [ 0.000000] On node 0 totalpages: 3125421
    [ 0.000000] DMA zone: 64 pages used for memmap
    [ 0.000000] DMA zone: 21 pages reserved
    [ 0.000000] DMA zone: 3996 pages, LIFO batch:0
    [ 0.000000] DMA32 zone: 10893 pages used for memmap
    [ 0.000000] DMA32 zone: 697105 pages, LIFO batch:31
    [ 0.000000] Normal zone: 37880 pages used for memmap
    [ 0.000000] Normal zone: 2424320 pages, LIFO batch:31
    [ 0.000000] ACPI: PM-Timer IO Port: 0x1808
    [ 0.000000] ACPI: Local APIC address 0xfee00000
    [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x06] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x01] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x03] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x05] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x07] enabled)
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
    [ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    [ 0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
    [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    [ 0.000000] ACPI: IRQ0 used by override.
    [ 0.000000] ACPI: IRQ2 used by override.
    [ 0.000000] ACPI: IRQ9 used by override.
    [ 0.000000] Using ACPI (MADT) for SMP configuration information
    [ 0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
    [ 0.000000] smpboot: Allowing 8 CPUs, 0 hotplug CPUs
    [ 0.000000] nr_irqs_gsi: 40
    [ 0.000000] PM: Registered nosave memory: [mem 0x0009d000-0x0009dfff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9b172000-0x9b178fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x9b8e9000-0x9bb55fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xab490000-0xab697fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xab78c000-0xabb73fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xabb74000-0xabffefff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xac000000-0xacffffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xad000000-0xaf1fffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xaf200000-0xf7ffffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xf8000000-0xfbffffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfc000000-0xfebfffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfecfffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed00000-0xfed03fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed04000-0xfed1bfff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed20000-0xfedfffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfee01000-0xfeffffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xff000000-0xffffffff]
    [ 0.000000] e820: [mem 0xaf200000-0xf7ffffff] available for PCI devices
    [ 0.000000] Booting paravirtualized kernel on bare hardware
    [ 0.000000] setup_percpu: NR_CPUS:128 nr_cpumask_bits:128 nr_cpu_ids:8 nr_node_ids:1
    [ 0.000000] PERCPU: Embedded 29 pages/cpu @ffff88034fa00000 s86464 r8192 d24128 u262144
    [ 0.000000] pcpu-alloc: s86464 r8192 d24128 u262144 alloc=1*2097152
    [ 0.000000] pcpu-alloc: [0] 0 1 2 3 4 5 6 7
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 3076563
    [ 0.000000] Policy zone: Normal
    [ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=d2a5754c-c679-48b4-9b12-02ae94b83604 rw quiet
    [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
    [ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340
    [ 0.000000] Checking aperture...
    [ 0.000000] No AGP bridge found
    [ 0.000000] Calgary: detecting Calgary via BIOS EBDA area
    [ 0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
    [ 0.000000] ------------[ cut here ]------------
    [ 0.000000] WARNING: CPU: 0 PID: 0 at drivers/iommu/dmar.c:488 warn_invalid_dmar+0x7e/0x90()
    [ 0.000000] Your BIOS is broken; DMAR reported at address 0!
    BIOS vendor: American Megatrends Inc.; Ver: E1757IMS.10E; Product Version: REV:1.0
    [ 0.000000] Modules linked in:
    [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.12.6-1-ARCH #1
    [ 0.000000] Hardware name: Micro-Star International Co., Ltd. GE70 2OC\2OE/MS-1757, BIOS E1757IMS.10E 07/15/2013
    [ 0.000000] 000000000000000b ffffffff81801de8 ffffffff814ee4fb ffffffff81801e30
    [ 0.000000] ffffffff81801e20 ffffffff81062bcd ffffffff81b3101c ffffffff81b3106c
    [ 0.000000] 0000000000000000 ffff88034fdaad00 ffffffff819f4000 ffffffff81801e80
    [ 0.000000] Call Trace:
    [ 0.000000] [<ffffffff814ee4fb>] dump_stack+0x54/0x8d
    [ 0.000000] [<ffffffff81062bcd>] warn_slowpath_common+0x7d/0xa0
    [ 0.000000] [<ffffffff81062c84>] warn_slowpath_fmt_taint+0x44/0x50
    [ 0.000000] [<ffffffff818fb9d9>] ? early_ioremap+0x13/0x15
    [ 0.000000] [<ffffffff818f1b3f>] ? __acpi_map_table+0x13/0x18
    [ 0.000000] [<ffffffff813d98be>] warn_invalid_dmar+0x7e/0x90
    [ 0.000000] [<ffffffff81927a65>] check_zero_address+0x68/0xf4
    [ 0.000000] [<ffffffff81927b06>] detect_intel_iommu+0x15/0xae
    [ 0.000000] [<ffffffff818ebd5a>] pci_iommu_alloc+0x4a/0x6c
    [ 0.000000] [<ffffffff818fb3af>] mem_init+0x17/0x9c
    [ 0.000000] [<ffffffff818e1ccb>] start_kernel+0x1de/0x420
    [ 0.000000] [<ffffffff818e18f6>] ? repair_env_string+0x5c/0x5c
    [ 0.000000] [<ffffffff818e1120>] ? early_idt_handlers+0x120/0x120
    [ 0.000000] [<ffffffff818e15de>] x86_64_start_reservations+0x2a/0x2c
    [ 0.000000] [<ffffffff818e16e8>] x86_64_start_kernel+0x108/0x117
    [ 0.000000] ---[ end trace ed55042d28ea2d46 ]---
    [ 0.000000] Memory: 12223184K/12501684K available (5124K kernel code, 807K rwdata, 1628K rodata, 1144K init, 1288K bss, 278500K reserved)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
    [ 0.000000] Dump stacks of tasks blocking RCU-preempt GP.
    [ 0.000000] RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=8.
    [ 0.000000] NR_IRQS:8448 nr_irqs:744 16
    [ 0.000000] Console: colour dummy device 80x25
    [ 0.000000] console [tty0] enabled
    [ 0.000000] allocated 50331648 bytes of page_cgroup
    [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [ 0.000000] hpet clockevent registered
    [ 0.000000] tsc: Fast TSC calibration using PIT
    [ 0.003333] tsc: Detected 2394.605 MHz processor
    [ 0.000002] Calibrating delay loop (skipped), value calculated using timer frequency.. 4791.76 BogoMIPS (lpj=7982016)
    [ 0.000004] pid_max: default: 32768 minimum: 301
    [ 0.000023] Security Framework initialized
    [ 0.000028] AppArmor: AppArmor disabled by boot time parameter
    [ 0.000029] Yama: becoming mindful.
    [ 0.000723] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
    [ 0.002956] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
    [ 0.003897] Mount-cache hash table entries: 256
    [ 0.004021] Initializing cgroup subsys memory
    [ 0.004028] Initializing cgroup subsys devices
    [ 0.004029] Initializing cgroup subsys freezer
    [ 0.004030] Initializing cgroup subsys net_cls
    [ 0.004031] Initializing cgroup subsys blkio
    [ 0.004047] CPU: Physical Processor ID: 0
    [ 0.004047] CPU: Processor Core ID: 0
    [ 0.004050] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
    ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
    [ 0.004809] mce: CPU supports 9 MCE banks
    [ 0.004819] CPU0: Thermal monitoring enabled (TM1)
    [ 0.004828] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
    Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0
    tlb_flushall_shift: 6
    [ 0.004901] Freeing SMP alternatives memory: 20K (ffffffff819e9000 - ffffffff819ee000)
    [ 0.005496] ACPI: Core revision 20130725
    [ 0.012467] ACPI: All ACPI Tables successfully acquired
    [ 0.014025] ftrace: allocating 20318 entries in 80 pages
    [ 0.020098] dmar: Host address width 39
    [ 0.020099] dmar: DRHD base: 0x00000000000000 flags: 0x1
    [ 0.020100] dmar: parse DMAR table failure.
    [ 0.020489] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    [ 0.053520] smpboot: CPU0: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz (fam: 06, model: 3c, stepping: 03)
    [ 0.053525] TSC deadline timer enabled
    [ 0.053531] Performance Events: PEBS fmt2+, 16-deep LBR, Haswell events, full-width counters, Intel PMU driver.
    [ 0.053535] ... version: 3
    [ 0.053536] ... bit width: 48
    [ 0.053537] ... generic registers: 4
    [ 0.053537] ... value mask: 0000ffffffffffff
    [ 0.053538] ... max period: 0000ffffffffffff
    [ 0.053539] ... fixed-purpose events: 3
    [ 0.053539] ... event mask: 000000070000000f
    [ 0.094311] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
    [ 0.080318] smpboot: Booting Node 0, Processors # 1 # 2 # 3 # 4 # 5 # 6 # 7 OK
    [ 0.218665] Brought up 8 CPUs
    [ 0.218667] smpboot: Total of 8 processors activated (38329.08 BogoMIPS)
    [ 0.224614] devtmpfs: initialized
    [ 0.226265] PM: Registering ACPI NVS region [mem 0x9b172000-0x9b178fff] (28672 bytes)
    [ 0.226266] PM: Registering ACPI NVS region [mem 0xab78c000-0xabb73fff] (4096000 bytes)
    [ 0.226792] RTC time: 6:49:04, date: 01/11/14
    [ 0.226816] NET: Registered protocol family 16
    [ 0.226875] cpuidle: using governor ladder
    [ 0.226876] cpuidle: using governor menu
    [ 0.226893] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
    [ 0.226894] ACPI: bus type PCI registered
    [ 0.226896] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
    [ 0.226930] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
    [ 0.226931] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
    [ 0.231360] PCI: Using configuration type 1 for base access
    [ 0.231828] bio: create slab <bio-0> at 0
    [ 0.231908] ACPI: Added _OSI(Module Device)
    [ 0.231909] ACPI: Added _OSI(Processor Device)
    [ 0.231910] ACPI: Added _OSI(3.0 _SCP Extensions)
    [ 0.231911] ACPI: Added _OSI(Processor Aggregator Device)
    [ 0.233324] ACPI: EC: Detected MSI hardware, enabling workarounds.
    [ 0.233326] ACPI: EC: Look up EC in DSDT
    [ 0.233774] ACPI Error: No handler for Region [EC__] (ffff88033e484c18) [EmbeddedControl] (20130725/evregion-162)
    [ 0.233777] ACPI Error: Region EmbeddedControl (ID=3) has no handler (20130725/exfldio-305)
    [ 0.233779] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.EC__._REG] (Node ffff88033e4852f8), AE_NOT_EXIST (20130725/psparse-536)
    [ 0.234482] ACPI: Executed 2 blocks of module-level executable AML code
    [ 0.268613] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
    [ 0.284659] ACPI: SSDT 00000000ab68dc18 003D3 (v01 PmRef Cpu0Cst 00003001 INTL 20051117)
    [ 0.285133] ACPI: Dynamic OEM Table Load:
    [ 0.285135] ACPI: SSDT (null) 003D3 (v01 PmRef Cpu0Cst 00003001 INTL 20051117)
    [ 0.298133] ACPI: SSDT 00000000ab68d618 005AA (v01 PmRef ApIst 00003000 INTL 20051117)
    [ 0.298671] ACPI: Dynamic OEM Table Load:
    [ 0.298673] ACPI: SSDT (null) 005AA (v01 PmRef ApIst 00003000 INTL 20051117)
    [ 0.314712] ACPI: SSDT 00000000ab68cd98 00119 (v01 PmRef ApCst 00003000 INTL 20051117)
    [ 0.315188] ACPI: Dynamic OEM Table Load:
    [ 0.315190] ACPI: SSDT (null) 00119 (v01 PmRef ApCst 00003000 INTL 20051117)
    [ 0.339941] ACPI: Interpreter enabled
    [ 0.339948] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20130725/hwxface-571)
    [ 0.339953] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20130725/hwxface-571)
    [ 0.339965] ACPI: (supports S0 S3 S4 S5)
    [ 0.339967] ACPI: Using IOAPIC for interrupt routing
    [ 0.339990] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
    [ 0.340148] ACPI: No dock devices found.
    [ 0.366372] ACPI: Power Resource [FN00] (off)
    [ 0.366419] ACPI: Power Resource [FN01] (off)
    [ 0.366465] ACPI: Power Resource [FN02] (off)
    [ 0.366511] ACPI: Power Resource [FN03] (off)
    [ 0.366555] ACPI: Power Resource [FN04] (off)
    [ 0.367075] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])
    [ 0.367173] acpi PNP0A08:00: Requesting ACPI _OSC control (0x1d)
    [ 0.367293] acpi PNP0A08:00: ACPI _OSC control (0x18) granted
    [ 0.367577] ACPI: \_SB_.PCI0.TPMX: can't evaluate _ADR (0x5)
    [ 0.367642] ACPI: \_SB_.PCI0.PDRC: can't evaluate _ADR (0x5)
    [ 0.367643] ACPI: \_SB_.PCI0.DOCK: can't evaluate _ADR (0x5)
    [ 0.367659] ACPI: \_SB_.PCI0.WMI1: can't evaluate _ADR (0x5)
    [ 0.367660] PCI host bridge to bus 0000:00
    [ 0.367662] pci_bus 0000:00: root bus resource [bus 00-3e]
    [ 0.367663] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7]
    [ 0.367664] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff]
    [ 0.367665] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
    [ 0.367666] pci_bus 0000:00: root bus resource [mem 0x000d0000-0x000d3fff]
    [ 0.367667] pci_bus 0000:00: root bus resource [mem 0x000d4000-0x000d7fff]
    [ 0.367668] pci_bus 0000:00: root bus resource [mem 0x000d8000-0x000dbfff]
    [ 0.367669] pci_bus 0000:00: root bus resource [mem 0x000dc000-0x000dffff]
    [ 0.367670] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000e3fff]
    [ 0.367671] pci_bus 0000:00: root bus resource [mem 0x000e4000-0x000e7fff]
    [ 0.367672] pci_bus 0000:00: root bus resource [mem 0xaf200000-0xfeafffff]
    [ 0.367677] pci 0000:00:00.0: [8086:0c04] type 00 class 0x060000
    [ 0.367735] pci 0000:00:01.0: [8086:0c01] type 01 class 0x060400
    [ 0.367760] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
    [ 0.367794] pci 0000:00:01.0: System wakeup disabled by ACPI
    [ 0.367819] pci 0000:00:02.0: [8086:0416] type 00 class 0x030000
    [ 0.367827] pci 0000:00:02.0: reg 0x10: [mem 0xf7400000-0xf77fffff 64bit]
    [ 0.367832] pci 0000:00:02.0: reg 0x18: [mem 0xb0000000-0xbfffffff 64bit pref]
    [ 0.367835] pci 0000:00:02.0: reg 0x20: [io 0xf000-0xf03f]
    [ 0.367887] pci 0000:00:03.0: [8086:0c0c] type 00 class 0x040300
    [ 0.367893] pci 0000:00:03.0: reg 0x10: [mem 0xf7b14000-0xf7b17fff 64bit]
    [ 0.367970] pci 0000:00:14.0: [8086:8c31] type 00 class 0x0c0330
    [ 0.367986] pci 0000:00:14.0: reg 0x10: [mem 0xf7b00000-0xf7b0ffff 64bit]
    [ 0.368043] pci 0000:00:14.0: PME# supported from D3hot D3cold
    [ 0.368071] pci 0000:00:14.0: System wakeup disabled by ACPI
    [ 0.368097] pci 0000:00:16.0: [8086:8c3a] type 00 class 0x078000
    [ 0.368113] pci 0000:00:16.0: reg 0x10: [mem 0xf7b1e000-0xf7b1e00f 64bit]
    [ 0.368169] pci 0000:00:16.0: PME# supported from D0 D3hot D3cold
    [ 0.368229] pci 0000:00:1a.0: [8086:8c2d] type 00 class 0x0c0320
    [ 0.368247] pci 0000:00:1a.0: reg 0x10: [mem 0xf7b1c000-0xf7b1c3ff]
    [ 0.368328] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold
    [ 0.368366] pci 0000:00:1a.0: System wakeup disabled by ACPI
    [ 0.368391] pci 0000:00:1b.0: [8086:8c20] type 00 class 0x040300
    [ 0.368403] pci 0000:00:1b.0: reg 0x10: [mem 0xf7b10000-0xf7b13fff 64bit]
    [ 0.368460] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
    [ 0.368490] pci 0000:00:1b.0: System wakeup disabled by ACPI
    [ 0.368512] pci 0000:00:1c.0: [8086:8c10] type 01 class 0x060400
    [ 0.368569] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
    [ 0.368599] pci 0000:00:1c.0: System wakeup disabled by ACPI
    [ 0.368621] pci 0000:00:1c.2: [8086:8c14] type 01 class 0x060400
    [ 0.368678] pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
    [ 0.368709] pci 0000:00:1c.2: System wakeup disabled by ACPI
    [ 0.368731] pci 0000:00:1c.3: [8086:8c16] type 01 class 0x060400
    [ 0.368787] pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
    [ 0.368817] pci 0000:00:1c.3: System wakeup disabled by ACPI
    [ 0.368839] pci 0000:00:1c.5: [8086:8c1a] type 01 class 0x060400
    [ 0.368896] pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
    [ 0.368926] pci 0000:00:1c.5: System wakeup disabled by ACPI
    [ 0.368953] pci 0000:00:1d.0: [8086:8c26] type 00 class 0x0c0320
    [ 0.368972] pci 0000:00:1d.0: reg 0x10: [mem 0xf7b1b000-0xf7b1b3ff]
    [ 0.369051] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
    [ 0.369089] pci 0000:00:1d.0: System wakeup disabled by ACPI
    [ 0.369114] pci 0000:00:1f.0: [8086:8c4b] type 00 class 0x060100
    [ 0.369249] pci 0000:00:1f.2: [8086:8c03] type 00 class 0x010601
    [ 0.369263] pci 0000:00:1f.2: reg 0x10: [io 0xf0b0-0xf0b7]
    [ 0.369269] pci 0000:00:1f.2: reg 0x14: [io 0xf0a0-0xf0a3]
    [ 0.369276] pci 0000:00:1f.2: reg 0x18: [io 0xf090-0xf097]
    [ 0.369283] pci 0000:00:1f.2: reg 0x1c: [io 0xf080-0xf083]
    [ 0.369289] pci 0000:00:1f.2: reg 0x20: [io 0xf060-0xf07f]
    [ 0.369296] pci 0000:00:1f.2: reg 0x24: [mem 0xf7b1a000-0xf7b1a7ff]
    [ 0.369328] pci 0000:00:1f.2: PME# supported from D3hot
    [ 0.369373] pci 0000:00:1f.3: [8086:8c22] type 00 class 0x0c0500
    [ 0.369385] pci 0000:00:1f.3: reg 0x10: [mem 0xf7b19000-0xf7b190ff 64bit]
    [ 0.369403] pci 0000:00:1f.3: reg 0x20: [io 0xf040-0xf05f]
    [ 0.369506] pci 0000:01:00.0: [10de:11e2] type 00 class 0x030200
    [ 0.369520] pci 0000:01:00.0: reg 0x10: [mem 0xf6000000-0xf6ffffff]
    [ 0.369537] pci 0000:01:00.0: reg 0x14: [mem 0xc0000000-0xcfffffff 64bit pref]
    [ 0.369552] pci 0000:01:00.0: reg 0x1c: [mem 0xd0000000-0xd1ffffff 64bit pref]
    [ 0.369563] pci 0000:01:00.0: reg 0x24: [io 0xe000-0xe07f]
    [ 0.369574] pci 0000:01:00.0: reg 0x30: [mem 0xf7000000-0xf707ffff pref]
    [ 0.369649] pci 0000:01:00.0: System wakeup disabled by ACPI
    [ 0.374726] pci 0000:00:01.0: PCI bridge to [bus 01]
    [ 0.374728] pci 0000:00:01.0: bridge window [io 0xe000-0xefff]
    [ 0.374730] pci 0000:00:01.0: bridge window [mem 0xf6000000-0xf70fffff]
    [ 0.374733] pci 0000:00:01.0: bridge window [mem 0xc0000000-0xd1ffffff 64bit pref]
    [ 0.374803] acpiphp: Slot [1] registered
    [ 0.374809] pci 0000:00:1c.0: PCI bridge to [bus 02]
    [ 0.374970] pci 0000:03:00.0: [10ec:5227] type 00 class 0xff0000
    [ 0.375028] pci 0000:03:00.0: reg 0x10: [mem 0xf7a00000-0xf7a00fff]
    [ 0.375359] pci 0000:03:00.0: supports D1 D2
    [ 0.375360] pci 0000:03:00.0: PME# supported from D1 D2 D3hot D3cold
    [ 0.375443] pci 0000:03:00.0: System wakeup disabled by ACPI
    [ 0.381443] pci 0000:00:1c.2: PCI bridge to [bus 03]
    [ 0.381448] pci 0000:00:1c.2: bridge window [mem 0xf7a00000-0xf7afffff]
    [ 0.381581] pci 0000:04:00.0: [1969:e091] type 00 class 0x020000
    [ 0.381627] pci 0000:04:00.0: reg 0x10: [mem 0xf7900000-0xf793ffff 64bit]
    [ 0.381672] pci 0000:04:00.0: reg 0x18: [io 0xd000-0xd07f]
    [ 0.381900] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    [ 0.381990] pci 0000:04:00.0: System wakeup disabled by ACPI
    [ 0.388100] pci 0000:00:1c.3: PCI bridge to [bus 04]
    [ 0.388104] pci 0000:00:1c.3: bridge window [io 0xd000-0xdfff]
    [ 0.388108] pci 0000:00:1c.3: bridge window [mem 0xf7900000-0xf79fffff]
    [ 0.388207] pci 0000:05:00.0: [10ec:8723] type 00 class 0x028000
    [ 0.388235] pci 0000:05:00.0: reg 0x10: [io 0xc000-0xc0ff]
    [ 0.388284] pci 0000:05:00.0: reg 0x18: [mem 0xf7800000-0xf7803fff 64bit]
    [ 0.388429] pci 0000:05:00.0: supports D1 D2
    [ 0.388430] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    [ 0.388469] pci 0000:05:00.0: System wakeup disabled by ACPI
    [ 0.394758] pci 0000:00:1c.5: PCI bridge to [bus 05]
    [ 0.394762] pci 0000:00:1c.5: bridge window [io 0xc000-0xcfff]
    [ 0.394766] pci 0000:00:1c.5: bridge window [mem 0xf7800000-0xf78fffff]
    [ 0.394830] acpi PNP0A08:00: Disabling ASPM (FADT indicates it is unsupported)
    [ 0.402198] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 *11 12 14 15)
    [ 0.402232] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 *4 5 6 10 11 12 14 15)
    [ 0.402263] ACPI: PCI Interrupt Link [LNKC] (IRQs *3 4 5 6 10 11 12 14 15)
    [ 0.402295] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 *10 11 12 14 15)
    [ 0.402326] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
    [ 0.402357] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
    [ 0.402388] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 *5 6 10 11 12 14 15)
    [ 0.402419] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 *11 12 14 15)
    [ 0.402688] ACPI: Enabled 5 GPEs in block 00 to 3F
    [ 0.402692] ACPI: \_SB_.PCI0: notify handler is installed
    [ 0.402741] Found 1 acpi root devices
    [ 0.402767] ACPI: EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62
    [ 0.402823] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
    [ 0.402826] vgaarb: loaded
    [ 0.402826] vgaarb: bridge control possible 0000:00:02.0
    [ 0.402849] PCI: Using ACPI for IRQ routing
    [ 0.404045] PCI: pci_cache_line_size set to 64 bytes
    [ 0.404093] e820: reserve RAM buffer [mem 0x0009d800-0x0009ffff]
    [ 0.404094] e820: reserve RAM buffer [mem 0x9b172000-0x9bffffff]
    [ 0.404095] e820: reserve RAM buffer [mem 0x9b8e9000-0x9bffffff]
    [ 0.404096] e820: reserve RAM buffer [mem 0xab490000-0xabffffff]
    [ 0.404097] e820: reserve RAM buffer [mem 0xab78c000-0xabffffff]
    [ 0.404098] e820: reserve RAM buffer [mem 0x34fe00000-0x34fffffff]
    [ 0.404149] NetLabel: Initializing
    [ 0.404150] NetLabel: domain hash size = 128
    [ 0.404150] NetLabel: protocols = UNLABELED CIPSOv4
    [ 0.404157] NetLabel: unlabeled traffic allowed by default
    [ 0.404169] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
    [ 0.404172] hpet0: 8 comparators, 64-bit 14.318180 MHz counter
    [ 0.406193] Switched to clocksource hpet
    [ 0.408777] pnp: PnP ACPI init
    [ 0.408783] ACPI: bus type PNP registered
    [ 0.408822] system 00:00: [mem 0xfed40000-0xfed44fff] has been reserved
    [ 0.408824] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
    [ 0.408831] pnp 00:01: [dma 4]
    [ 0.408839] pnp 00:01: Plug and Play ACPI device, IDs PNP0200 (active)
    [ 0.408852] pnp 00:02: Plug and Play ACPI device, IDs INT0800 (active)
    [ 0.408908] pnp 00:03: Plug and Play ACPI device, IDs PNP0103 (active)
    [ 0.408937] pnp 00:04: Plug and Play ACPI device, IDs PNP0c04 (active)
    [ 0.409005] system 00:05: [io 0x0680-0x069f] has been reserved
    [ 0.409006] system 00:05: [io 0xffff] has been reserved
    [ 0.409007] system 00:05: [io 0xffff] has been reserved
    [ 0.409008] system 00:05: [io 0xffff] has been reserved
    [ 0.409010] system 00:05: [io 0x1c00-0x1cfe] has been reserved
    [ 0.409011] system 00:05: [io 0x1d00-0x1dfe] has been reserved
    [ 0.409012] system 00:05: [io 0x1e00-0x1efe] has been reserved
    [ 0.409013] system 00:05: [io 0x1f00-0x1ffe] has been reserved
    [ 0.409015] system 00:05: [io 0x1800-0x18fe] could not be reserved
    [ 0.409016] system 00:05: [io 0x164e-0x164f] has been reserved
    [ 0.409017] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.409033] pnp 00:06: Plug and Play ACPI device, IDs PNP0b00 (active)
    [ 0.409058] system 00:07: [io 0x1854-0x1857] has been reserved
    [ 0.409060] system 00:07: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active)
    [ 0.409121] system 00:08: [io 0x0680-0x068f] has been reserved
    [ 0.409122] system 00:08: [io 0x0c10-0x0c1f] has been reserved
    [ 0.409123] system 00:08: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.409150] system 00:09: [io 0x04d0-0x04d1] has been reserved
    [ 0.409152] system 00:09: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.409182] pnp 00:0a: Plug and Play ACPI device, IDs ETD0301 PNP0f13 SYN1500 SYN0002 (active)
    [ 0.409206] pnp 00:0b: Plug and Play ACPI device, IDs MSI0001 PNP030b (active)
    [ 0.412551] pnp 00:0c: Plug and Play ACPI device, IDs ENE0110 (active)
    [ 0.416130] system 00:0d: [mem 0xfed1c000-0xfed1ffff] has been reserved
    [ 0.416131] system 00:0d: [mem 0xfed10000-0xfed17fff] has been reserved
    [ 0.416132] system 00:0d: [mem 0xfed18000-0xfed18fff] has been reserved
    [ 0.416133] system 00:0d: [mem 0xfed19000-0xfed19fff] has been reserved
    [ 0.416135] system 00:0d: [mem 0xf8000000-0xfbffffff] has been reserved
    [ 0.416136] system 00:0d: [mem 0xfed20000-0xfed3ffff] has been reserved
    [ 0.416137] system 00:0d: [mem 0xfed90000-0xfed93fff] has been reserved
    [ 0.416138] system 00:0d: [mem 0xfed45000-0xfed8ffff] has been reserved
    [ 0.416139] system 00:0d: [mem 0xff000000-0xffffffff] has been reserved
    [ 0.416140] system 00:0d: [mem 0xfee00000-0xfeefffff] could not be reserved
    [ 0.416142] system 00:0d: [mem 0xf7fef000-0xf7feffff] has been reserved
    [ 0.416143] system 00:0d: [mem 0xf7ff0000-0xf7ff0fff] has been reserved
    [ 0.416144] system 00:0d: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.416328] pnp: PnP ACPI: found 14 devices
    [ 0.416329] ACPI: bus type PNP unregistered
    [ 0.422174] pci 0000:00:1c.0: bridge window [io 0x1000-0x0fff] to [bus 02] add_size 1000
    [ 0.422176] pci 0000:00:1c.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 02] add_size 200000
    [ 0.422177] pci 0000:00:1c.0: bridge window [mem 0x00100000-0x000fffff] to [bus 02] add_size 200000
    [ 0.422195] pci 0000:00:1c.0: res[14]=[mem 0x00100000-0x000fffff] get_res_add_size add_size 200000
    [ 0.422196] pci 0000:00:1c.0: res[15]=[mem 0x00100000-0x000fffff 64bit pref] get_res_add_size add_size 200000
    [ 0.422197] pci 0000:00:1c.0: res[13]=[io 0x1000-0x0fff] get_res_add_size add_size 1000
    [ 0.422200] pci 0000:00:1c.0: BAR 14: assigned [mem 0xaf200000-0xaf3fffff]
    [ 0.422202] pci 0000:00:1c.0: BAR 15: assigned [mem 0xaf400000-0xaf5fffff 64bit pref]
    [ 0.422203] pci 0000:00:1c.0: BAR 13: assigned [io 0x2000-0x2fff]
    [ 0.422205] pci 0000:00:01.0: PCI bridge to [bus 01]
    [ 0.422206] pci 0000:00:01.0: bridge window [io 0xe000-0xefff]
    [ 0.422208] pci 0000:00:01.0: bridge window [mem 0xf6000000-0xf70fffff]
    [ 0.422210] pci 0000:00:01.0: bridge window [mem 0xc0000000-0xd1ffffff 64bit pref]
    [ 0.422213] pci 0000:00:1c.0: PCI bridge to [bus 02]
    [ 0.422215] pci 0000:00:1c.0: bridge window [io 0x2000-0x2fff]
    [ 0.422219] pci 0000:00:1c.0: bridge window [mem 0xaf200000-0xaf3fffff]
    [ 0.422222] pci 0000:00:1c.0: bridge window [mem 0xaf400000-0xaf5fffff 64bit pref]
    [ 0.422227] pci 0000:00:1c.2: PCI bridge to [bus 03]
    [ 0.422231] pci 0000:00:1c.2: bridge window [mem 0xf7a00000-0xf7afffff]
    [ 0.422238] pci 0000:00:1c.3: PCI bridge to [bus 04]
    [ 0.422240] pci 0000:00:1c.3: bridge window [io 0xd000-0xdfff]
    [ 0.422244] pci 0000:00:1c.3: bridge window [mem 0xf7900000-0xf79fffff]
    [ 0.422251] pci 0000:00:1c.5: PCI bridge to [bus 05]
    [ 0.422253] pci 0000:00:1c.5: bridge window [io 0xc000-0xcfff]
    [ 0.422257] pci 0000:00:1c.5: bridge window [mem 0xf7800000-0xf78fffff]
    [ 0.422264] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7]
    [ 0.422265] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff]
    [ 0.422266] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
    [ 0.422267] pci_bus 0000:00: resource 7 [mem 0x000d0000-0x000d3fff]
    [ 0.422268] pci_bus 0000:00: resource 8 [mem 0x000d4000-0x000d7fff]
    [ 0.422269] pci_bus 0000:00: resource 9 [mem 0x000d8000-0x000dbfff]
    [ 0.422270] pci_bus 0000:00: resource 10 [mem 0x000dc000-0x000dffff]
    [ 0.422271] pci_bus 0000:00: resource 11 [mem 0x000e0000-0x000e3fff]
    [ 0.422272] pci_bus 0000:00: resource 12 [mem 0x000e4000-0x000e7fff]
    [ 0.422273] pci_bus 0000:00: resource 13 [mem 0xaf200000-0xfeafffff]
    [ 0.422274] pci_bus 0000:01: resource 0 [io 0xe000-0xefff]
    [ 0.422275] pci_bus 0000:01: resource 1 [mem 0xf6000000-0xf70fffff]
    [ 0.422276] pci_bus 0000:01: resource 2 [mem 0xc0000000-0xd1ffffff 64bit pref]
    [ 0.422277] pci_bus 0000:02: resource 0 [io 0x2000-0x2fff]
    [ 0.422278] pci_bus 0000:02: resource 1 [mem 0

    If I understand this correctly, then you have an Optimus graphics card (couldn't find anything online, but your lspci looks like it). I too have such a setup on my laptop. The thing to keep in mind here, is that your main graphics card is the Intel integrated card. So instead of installing your system like with an nvidia card, you install it like an intel card. Specifically, you would want to follow the instructions on Bumblebee. Once you followed them, the whole graphics part runs on the Intel card. Once you want to play a game or do some other heavy graphics card work you call your application like this:
    optirun wine /path/to/game.exe
    Notice how optirun tells the system to use the nvidia card. It will take a second or two to start it (specifically, enable the card, start another X screen and launch the application on it transparently). Follow the instructions in the Wiki if you have any problems.
    If you don't have an Optimus card (just NVIDIA, no Intel), then don't follow any Optimus instructions, just usual NVIDIA stuff from the Wiki.

  • [SOLVED] I can't get X to run correctly after new install

    Hi all,
    Over the last few days I have been trying to get Arch Linux installed on an old computer that I have. The only major hurdle that I have had so far has been getting wireless to work (no wired connection available here). I got that sorted out yesterday though with a bit of research
    I haven't been so lucky getting X to run though. Following the Beginners' Guide, I have gotten up to the part where I have to configure and test X. This is what I have done so far:
    Basically I have tried to use Xorg -configure to auto-create an Xorg.conf, which seemed to work (as in, the file got created and looked okay).
    I then set up hotplugging with HAL, setting up everything as it says in the Beginner's guide.
    When I ran the Xorg test with X -config /etc/X11/xorg.conf, I got a black screen with no mouse or anything.
    I rechecked xorg.conf to make sure the driver was correct (it's set to "radeon" which seems to be right). I also checked the horizontal and  vertical refresh are set correctly - which they were (autodetected correctly by Xorg -configure).
    I then had a look through the Xorg page on the wiki, but nothing much there seemed to help.
    I then decided to not use hotplugging with HAL, so I removed it from starting at startup and set up my xorg.conf to have the autoadddevices as false.
    After that, I am having the exact same problem when I run the Xorg test (X -config /etc/X11/xorg.conf).
    I really have no clues as to what to do now, does anyone have any tips for an Arch Linux n00b?
    My graphics are provided onboard by an ATI RS480 (Radeon Xpress 200G Series). I am using the "radeon" driver, provided by the xf86-video-ati package. My screen is an LG FLATRON L246WH.
    My relevant config files are:
    xorg.conf xorg.conf
    ~/xinitrc doesn't exist for me.
    /var/log/Xorg.0.log.old isn't able to be uploaded by wgetpaste for some reason... Using the verbose switch indicates that it's saving to /dev/null. I'll keep trying to work out how to get this file uploaded somewhere... it's quite long - 881 lines.
    Last edited by NovaAesa (2009-08-09 04:16:51)

    Did you miss the step to copy the skeleton .xinitrc to your home directory? Please do this. Then try starting X as a normal user, not root.
    You can also try starting the Xserver without any xorg.conf file as jdiez has done. That works for many people.
    To lessen your copy and paste problems, and to help you sort out the logfile, try the following two commands as a normal user in your home directory:
    grep "(EE)" /var/log/Xorg.0.log > xorg_faults
    grep "(WW)" /var/log/Xorg.0.log >> xorg_faults
    This will locate the log lines displaying errors (EE) and then warnings (WW) and write them to the file ~/xorg_faults. Errors will be listed first. This file should be much smaller than the original Xorg.0.log.
    For hot-plugging and HAL, make sure you have dbus installed.
    pacman -Q dbus
    If it's not there, you should install it with pacman.  HAL is supposed to start dbus, but I'm a belt and suspenders person, so I list dbus then hal in my /etc/rc.conf daemons.
    The wiki also has an article on Xorg that may be of help to you.
    Last edited by thisoldman (2009-08-09 03:35:31)

  • Connecting tomcat to apache.

    Hello, I seek help in connecting apache to tomcat.
    I followed this guide
    http://johnturner.com/howto/winxp-howto.html
    I have
    WinXP SP2 fully updated
    Apache 2.0.55
    jakarta-tomcat-4.1.31
    j2sdk-1_4_2_11-windows-i586-p
    mod_jk-2.0.55.so
    everything I think is installed correctly, my Problem is, tomcat will not auto generate a mod_jk.conf as it is supose to.
    Anyone have any advice?
    thank you.

    harsh884 wrote:
    but the service block called by the servlet container to allow the servlet to respond to a request.And this method is only called after the servlet's init() method has completed successfully and this is what the documentation says.....
    so any idea why it was causing the problem... Already answered. service() is supposed to invoke doGet() or doPost() or doPut() etc etc depending on the request. You overrode that to not do that anymore, so you had broken it completely.
    Normally the only times anyone overrides service() is if they put ALL of the logic that would have otherwise been in doGet()/doPost()/doPut() etc etc inside service() instead. Even then, I would generally consider it bad practice to ever override this method.

  • Webpass configuration in linux is failing.

    I am running into issue where in I am not able configure my webpass with webserver.
    webserver does not start after auto updating the httpd.conf. starting webserver resulting in following error.
    Cannot load /netpoint/webcomponent/identity/oblix/apps/webpass/bin/libwebpass.so into server: netpoint/webcomponent/identity/oblix/apps/webpass/bin/libwebpass.so: undefined symbol: apr_bucket_type_flush.
    I have installed Directory server and webserver first and then installed COREid server (Identity server) .After this installation I have tried to install webpass ,during webpass installation ,webserver fails to come up with above mentioned error.
    Please some one help me regarding this.
    Note: I am using 7.0.3 version of CoreId
    Regards,
    Nataraj

    I am also facing the same problem..
    Appreciate your help on this.
    Syntax error on line 1090 of /s0/software_install/oid/Apache/Apache/conf/httpd.conf:
    Cannot load /s0/software_install/OracleAccessManager/netpoint/webcomponent/identity/oblix/apps/webpass/bin/libwebpass.so into server: /s0/software_install/OracleAccessManager/netpoint/webcomponent/identity/oblix/apps/webpass/bin/libwebpass.so: undefined symbol: apr_bucket_type_flush
    ./apachectl start: httpd could not be started
    Many thanks in advance

  • Alsa no PCM channel

    After a reinstall I'm missing the PCM channel in alsamixer. Is this new behavior or can I add a virtual PCM with asoundrc? My card is a hda intel type idt 92HD87B2/4
    Example screenshot: https://s1.file1.info/7DwRSzBh
    Last edited by Wilco (2012-08-20 14:45:50)

    Thanks for looking into this. Aplay does not report antyhing strange as a far as I can tell.
    aplay --list-devices
    **** List of PLAYBACK Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: HDMI [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    aplay --list-pcms   
    null
    Discard all samples (playback) or generate zero samples (capture)
    default:CARD=SB
    HDA ATI SB, STAC92xx Analog
    Default Audio Device
    sysdefault:CARD=SB
    HDA ATI SB, STAC92xx Analog
    Default Audio Device
    front:CARD=SB,DEV=0
    HDA ATI SB, STAC92xx Analog
    Front speakers
    surround40:CARD=SB,DEV=0
    HDA ATI SB, STAC92xx Analog
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=SB,DEV=0
    HDA ATI SB, STAC92xx Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=SB,DEV=0
    HDA ATI SB, STAC92xx Analog
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=SB,DEV=0
    HDA ATI SB, STAC92xx Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=SB,DEV=0
    HDA ATI SB, STAC92xx Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    hdmi:CARD=HDMI,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
    I created /etc/modprobe.d/alsa.conf because the default card is the HDMI output and I need SB as the first card.
    options snd-hda-intel id=HDMI,SB index=1,0 model=auto
    Removing this alsa.conf does not help however.
    There is no pulsaudio (edit: libpulse is installed but not pulseaudio), no /etc/asound.conf and no ~/.asoundrc
    I think the audio driver is bugged because about every 15 minutes the audio stops playing. Whether it's mplayer, xmms or youtube, after a while they stop and I have to restart the browser, xmms or mplayer. Mplayer gives this warning when the audio is stuck: audio device got stuck
    Last edited by Wilco (2012-07-18 06:36:04)

  • Arch Linux has helped me learn and I am grateful.

    I am going to tell you what sparked this thread first:  I was reading your wiki on installing a 32bit bundled system into a 64bit system. And NO, I did not know what the heck was going on as usual. The thing is I am always curious. That is why I end up learning. Here is what sparked me...  I got to the 'sed' command and did NOT understand what was going on and I dove in! What a wonderful and amazingly, useful tool. Instead of just copying commands such as:
    # sed -e 's/\$arch/i686/g' /etc/pacman.d/mirrorlist > /opt/arch32/mirrorlist
    # sed -e 's@/etc/pacman.d/mirrorlist@/opt/arch32/mirrorlist@g' -e '/Architecture/ s,auto,i686,' /etc/pacman.conf > /opt/arch32/pacman.conf
    I took the command apart,  tried it in various ways, made test files and learned what it all meant. This type of thing is happening over and over again while using Arch. Arch was extremely overwhelming at first but, I really like it that way, I tend to learn really fast this way. In the beginning it is REALLY hard though.
    i have read about said and I know about substitute and global (s///g) but what through me off was -e '/Architecture/ s,auto,i686,' So I made a test file with Architecture in it.
    echo "Architecture = auto" > test
    then ran
    cat test | sed -e '/Architecture/ s,auto,i686,'
    Wow! Guys, I was so excited when I finally figured out what was going on. Through trial and error, I just learned some really cool things about said and also got better at seeing that you can use any character as the separator - like @ instead of /. See this makes me happy, when I figure something out like this. It is SO rewarding. Im like a kid at Christmas
    So what is happening is I am getting this phenominal understanding of Linux by diving deep into Arch Linux. I have now swithced over my only computer to Arch Linux. I only really cared about a few windows programs and with wine I have one of them running!!
    I just want to thank you all for such a great experience. I didn't know how much I love this stuff until I started with Arch Linux. Thanks again!
    Last edited by AcousticBruce (2015-05-21 16:21:18)

    firekage wrote:
    I wanted to learn too...so i have question.
    Could somebody explain  this? Also, what this is exacly
    '/Architecture/ s,auto,i686,'
    Let me show you by example...
    echo "hello world" | sed 's/world/universe/'
    echo "hello world" | sed 's,world,universe,'
    echo "hello world" | sed 's@world@universe@'
    Notice all of these are the same result. This is because you can use any character you like in place of the separator.
    So when you look at this '/Architecture/ ***s.auto,i686,*** that is replacing the word 'auto' with 'i686'
    The /Architecture/ is like using grep.
    so if you have a file that looks like this
    color1 = red
    color2 = red
    Easy way to make this in one command. Make sure and use $ and ' ' instead of " "
    echo $'color1 = red\ncolor2 = red' > test
    and run this
    cat test | sed -e '/color1/ s,red,blue,'
    same thing...
    cat test | sed -e '/color1/ s@red@blue@'
    also to prove its like grep
    cat test | grep color2 | sed -e 's/red/black/'
    sed is very powerful and awesome. There is WAY more than this.
    Last edited by AcousticBruce (2015-05-21 18:39:28)

  • [VPN] [GUIDE] Setting up nordvpn with systemd

    Since I haven't seen specific guide to setting up nordvpn for archlinux with systemd, I thought I should write them up what I have done. This might be useful for those unfamiliar with systemd. Simply connecting with provided *.ovpn file do not update the DNS correctly and the command
    sudo systemctl start [email protected] do not work.
    1. Follow nordvpn's connecting with shell instruction at https://nordvpn.com/tutorials/linux/linux-openvpn/ and make sure you can manually connect by typing:
    sudo openvpn vpn_at_nordvpn_tcp.ovpn
    2. Create unit systemd for a server
    sudo nano /etc/systemd/system/nordvpn.service
    [Unit]
    Description=OpenVPN connection to yourovpn.ovpn
    [Service]
    Type=forking
    ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/yourovpn.ovpn --daemon [email protected] --writepid /run/[email protected]
    PIDFile=/run/[email protected]
    [Install]
    WantedBy=multi-user.target
    replace yourovpn with the desired server.
    For whatever reason, the following modified /usr/lib/systemd/system/[email protected] do not work.
    [Unit]
    Description=OpenVPN connection to %i
    [Service]
    Type=forking
    #ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid
    ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.ovpn --daemon openvpn@%i --writepid /run/openvpn@%i.pid
    PIDFile=/run/openvpn@%i.pid
    [Install]
    WantedBy=multi-user.target
    3. The DNS was not updated. So use the guide from the wiki and add these to your .ovpn file
    # auto update /etc/resolv.conf
    script-security 2
    up /etc/openvpn/update-resolv-conf.sh
    down /etc/openvpn/update-resolv-conf.sh
    the shell script is found at https://raw.githubusercontent.com/maste … lv-conf.sh
    One issue I found is that you do not get that "Initialization Sequence Completed" to indicate a successful vpn connection. I had to either google my public ip address or type:
    ip addr show | grep tun0
    Any feedback or improvisations are appreciated.

    Since I haven't seen specific guide to setting up nordvpn for archlinux with systemd, I thought I should write them up what I have done. This might be useful for those unfamiliar with systemd. Simply connecting with provided *.ovpn file do not update the DNS correctly and the command
    sudo systemctl start [email protected] do not work.
    1. Follow nordvpn's connecting with shell instruction at https://nordvpn.com/tutorials/linux/linux-openvpn/ and make sure you can manually connect by typing:
    sudo openvpn vpn_at_nordvpn_tcp.ovpn
    2. Create unit systemd for a server
    sudo nano /etc/systemd/system/nordvpn.service
    [Unit]
    Description=OpenVPN connection to yourovpn.ovpn
    [Service]
    Type=forking
    ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/yourovpn.ovpn --daemon [email protected] --writepid /run/[email protected]
    PIDFile=/run/[email protected]
    [Install]
    WantedBy=multi-user.target
    replace yourovpn with the desired server.
    For whatever reason, the following modified /usr/lib/systemd/system/[email protected] do not work.
    [Unit]
    Description=OpenVPN connection to %i
    [Service]
    Type=forking
    #ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid
    ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.ovpn --daemon openvpn@%i --writepid /run/openvpn@%i.pid
    PIDFile=/run/openvpn@%i.pid
    [Install]
    WantedBy=multi-user.target
    3. The DNS was not updated. So use the guide from the wiki and add these to your .ovpn file
    # auto update /etc/resolv.conf
    script-security 2
    up /etc/openvpn/update-resolv-conf.sh
    down /etc/openvpn/update-resolv-conf.sh
    the shell script is found at https://raw.githubusercontent.com/maste … lv-conf.sh
    One issue I found is that you do not get that "Initialization Sequence Completed" to indicate a successful vpn connection. I had to either google my public ip address or type:
    ip addr show | grep tun0
    Any feedback or improvisations are appreciated.

  • X -config problems

    I used the command
    X -configure
    to auto make my xorg.conf file.  It then tells me to test it using
    X -config ~/xorg.conf.new
    So I do that and it starts up but I see weird lines through the screen.  There is also a twitching line across the screen where the mouse is.  If I move the mouse the line moves with it.
    I took a few screen pictures of what it looks like.  The second one if when I moved the mouse to the upper part of the screen.
    http://i5.photobucket.com/albums/y188/p … /xorg1.jpg
    http://i5.photobucket.com/albums/y188/p … /xorg2.jpg
    This is my xorg.conf file.
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/75dpi"
    FontPath "/usr/share/fonts/100dpi"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "extmod"
    Load "dbe"
    Load "record"
    Load "xtrap"
    Load "dri"
    Load "freetype"
    Load "type1"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "ShadowFB" # [<bool>]
    #Option "DefaultRefresh" # [<bool>]
    #Option "ModeSetClearScreen" # [<bool>]
    Identifier "Card0"
    Driver "vesa"
    VendorName "Intel Corporation"
    BoardName "82815 CGC [Chipset Graphics Controller]"
    BusID "PCI:0:2:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection

    I think your Screen-Section is wrong or not complete.
    Try to add Display-Subsections. Mine looks like this:
    Section "Screen"
    Identifier "Monitor"
    Device "GeForceGT6600"
    Monitor "BenqFP767"
    DefaultDepth 24
    Subsection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    EndSection
    And add a HorizSync and VertRefresh to your Monitor as well.
    Mine:
    Section "Monitor"
    Identifier "BenqFP767"
    HorizSync 31-81
    VertRefresh 56-76
    EndSection
    But your HorizSync and VertRefresh-Rates will be different. Just to reveal the right syntax. You'll find the corresponding values in your monitor's manual or product description.

  • [SOLVED:] SLIM not reading slim.conf (no password auto-focus)

    Yesterday I began having issues with SLIM.  I'm not sure if they're related, but  while running Puppy , I inadvertently deleted the desktop icon for my Arch home directory on /dev/sda8.  I rebooted Puppy and it reappeared.  After running Puppy, something went wrong with my clocks (system and hardware) and the times were all wrong.  I fixed that with NTPD.  I currently dual boot Arch and Windows 7 from the hard drive, and occasionally from a USB stick, Puppy Linux.  I'm using an ASUS K50IJ laptop.  I run Xfce4.  I do not have any disk encryption enabled.
    When I boot up, the SLIM login appears as normal, but rather than password auto-focus, I'm prompted for a username.  If I enter the username and hit return, I'm still staring at the username prompt.  After three or four iterations of entering a username + enter, I finally get a password prompt and can log in.
    I have tried:
    1.  Reinstalling archlinux-themes-slim
    2.  Uninstalling archlinux-themes-slim and slim, then reinstalling slim
    3.  Removing old Xfce4 & Xfwm sessions
    4.  Removing slim.conf and entering a pristine version.
    5.  Reviewing /var/log/slim.log files for oddities.  I found one:
    Before the trouble started, I the message in the log was:
    slim: waiting for X server to begin accepting connections
    X.Org X Server 1.12.2
    Release Date: 2012-05-29
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.0.32-1-lts x86_64
    Current Operating System: Linux asus 3.4.4-2-ARCH #1 SMP PREEMPT Sun Jun 24 18:5
    9:47 CEST 2012 x86_64
    Kernel command line: root=/dev/sda4 ro
    Build Date: 30 May 2012 07:24:13PM
    Current version of pixman: 0.26.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 8 15:30:48 2012
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    /usr/bin/xauth: file /home/rasteenb/.Xauthority does not exist
    /usr/bin/startxfce4: X server already running on display :0.0
    Now I get:
    slim: waiting for X server to begin accepting connections.slim: unexpected signal 15
    slim: waiting for X server to begin accepting connections.
    slim: System is booting up.
    slim: pam_authentication(): Authentication failure
    slim: System is booting up.
    slim: pam_authentication(): Authentication failure
    slim: System is booting up.
    slim: pam_authentication(): Authentication failure
    slim: System is booting up.
    slim: pam_authentication(): Authentication failure
    slim: System is booting up.
    slim: pam_authentication(): Authentication failure
    Now I'm stumped.
    Rob
    Last edited by rasteenb (2012-07-17 11:16:03)

    I solved this - slim was not the last daemon I started in rc.conf.  By moving it to the end, I get password auto-focus and everything works.
    Now my rc.conf looks like
    # DAEMONS
    DAEMONS=(syslog-ng dbus acpid @network @wicd @openntpd @cupsd @crond slim)
    I found this recommendation in the Display Manager wiki page while researching the problem:
    Ensure you start the display manager last in the DAEMONS array, otherwise X will later allocate a tty device which was previously claimed by Getty (see /etc/inittab). Not placing the display manager at the end can cause X crashes, and is therefore unsupported.
    I'd just been lucky before that there wasn't a conflict.
    There is a "flicker" during login where I'm shown the XFCE splash, then the SLIM splash again, then the XFCE desktop.  Not sure what's going on there, but it's no big deal.
    Cheers,
    Rob

  • Can't run apache after setting mod_jk.conf-auto

    Can anybody help me?
    In the beginning when jdk1.3.1 & tomcat3.2.2 are just set, they both can work porperly, but after setting mod_jk.conf-auto (for running jsp), Apache can't start and give out the following error msg:
    Starting httpd: Syntax error on line 60 of /usr/local/jakarta-tomcat-3.2.2/conf/mod_jk.conf-auto:
    Invalid command 'Alias', perhaps mis-spelled or defined by a module not included in the server configuration
    [60G[[1;31mFAILED[0;39m]
    Thank you for your attention!
    RoRo

    always start Tomcat first
    then Apache

  • Tomcat not creating a mod_jk.conf-auto file

    can anyone tell me why my tomcat (which looks like it is running) is not producing the mod_jk.conf-auto file that I need to include into my httpd.conf?

    can't even find startup.sh!!!
    I don't have one and I KNOW I installed the right thing, and the full version too!

  • Auto created xorg.conf

    I have noticed that when xorg automatically creates xorg.conf settings It works better than when I use my own xorg.conf.. I also get a lot fewer Warnings in xorg.log.
    The question is, where is the autoconfigured xorg.conf?? I would really like to take a look at it, and apply it to my xorg.conf...

    I also get this problem with my xorg.conf, but not with xorgs auto:
    [12:19 root ~]# glxinfo
    name of display: :0.0
    libGL warning: 3D driver claims to not support visual 0x67
    display: :0 screen: 0
    direct rendering: Yes
    Also this problem:
    the pager in kdemod, I have it set to show the wallpapers, but with my xorg.conf The first desktop in the pager shows nothing, but other 3 desktops shows the wallpaper background..
    my xorg.conf
    Section "ServerLayout"
    Identifier "Xorg Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "USB Mouse" "CorePointer"
    Option "AIGLX" "true"
    EndSection
    Section "ServerFlags"
    Option "AllowMouseOpenFail" "true"
    EndSection
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc:unscaled"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/100dpi"
    FontPath "/usr/share/fonts/PEX"
    # Additional fonts: Locale, Gimp, TTF...
    FontPath "/usr/share/fonts/cyrillic"
    # FontPath "/usr/share/lib/X11/fonts/latin2/75dpi"
    # FontPath "/usr/share/lib/X11/fonts/latin2/100dpi"
    # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/ttf/western"
    FontPath "/usr/share/fonts/ttf/decoratives"
    FontPath "/usr/share/fonts/truetype"
    FontPath "/usr/share/fonts/truetype/openoffice"
    FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath "/usr/share/fonts/latex-ttf-fonts"
    FontPath "/usr/share/fonts/defoma/CID"
    FontPath "/usr/share/fonts/defoma/TrueType"
    EndSection
    Section "Module"
    Load "ddc" # ddc probing of monitor
    Load "dbe"
    Load "dri"
    Load "extmod"
    Load "glx"
    Load "bitmap" # bitmap-fonts
    Load "type1"
    Load "freetype"
    Load "record"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "keyboard"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" ""
    Option "XkbVariant" ""
    EndSection
    Section "InputDevice"
    Identifier "Serial Mouse"
    Driver "mouse"
    Option "Protocol" "Microsoft"
    Option "Device" "/dev/ttyS0"
    Option "Emulate3Buttons" "true"
    Option "Emulate3Timeout" "70"
    Option "SendCoreEvents" "true"
    EndSection
    Section "InputDevice"
    Identifier "PS/2 Mouse"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "ZAxisMapping" "4 5"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "true"
    Option "Emulate3Timeout" "70"
    Option "SendCoreEvents" "true"
    EndSection
    Section "InputDevice"
    Identifier "USB Mouse"
    Driver "mouse"
    Option "Device" "/dev/input/mice"
    Option "SendCoreEvents" "true"
    Option "Protocol" "ExplorerPS/2"
    Option "Buttons" "5"
    Option "ZAxisMapping" "4 5"
    Option "ButtonMapping" "1 2 3 6 7"
    EndSection
    Section "Monitor"
    Identifier "LCD Monitor"
    Option "DPMS"
    HorizSync 28.0 - 96.0
    VertRefresh 50.0 - 75.0
    # 1280x800 @ 75.00 Hz (GTF) hsync: 62.62 kHz; pclk: 107.21 MHz
    Modeline "1280x800_75.00" 107.21 1280 1360 1496 1712 800 801 804 835 -HSync +Vsync
    EndSection
    Section "Device"
    Identifier "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Device Number 1"
    Driver "i810" # xf86-video-i810 Package
    BusID "PCI:0:2:0" # Reported by lspci
    # VideoRam
    Screen 0
    # Option "XAANoOffscreenPixmaps" "true" # AIGLX (XAA), EXA better for i810.
    Option "DRI" "true" # AIGLX
    Option "AccelMethod" "EXA" # Xaa is old but stable, EXA is new and better.
    Option "TripleBuffer" "true" # better 3d performance, but worse 2D/3D mix.
    endSection
    Section "Device"
    Identifier "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Device Number 2"
    Driver "i810"
    BusId "PCI:0:2:1"
    endSection
    Section "Screen"
    Identifier "Screen0"
    Device "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Device Number 1"
    Monitor "LCD Monitor"
    DefaultColorDepth 24
    SubSection "Display"
    Depth 16
    Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 32
    Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection
    Section "Extensions" # AIGLX
    Option "Composite" "Enable"
    EndSection
    Section "DRI"
    Mode 0666
    EndSection

  • Auto generate xorg.conf at startup

    Does Archlinux have a package like gentoo's mkxf86config?
    auto generate xorg.conf ?
    thanks

    Is there any special reason you need a program to do this? If you weren't aware, X.org has been able to run without xorg.conf for quite some time now with generally good detection. Only proprietary driver users tend to need such a thing (but only minimals), which their drivers can make (at least, nvidia can with nvidia-xconfig). Most of the tools that I know of to do what you ask are accordingly out of date.
    Last edited by FrozenFox (2010-04-26 06:58:38)

Maybe you are looking for