SSL Passphrases with Nginx and Systemd

I'm currently looking to migrate one of my systems to Arch Linux with Nginx powering my web stack. For my site I use a wildcard SSL certificate for communication, and of course my SSL key is passphrased.
While finishing up the last things on the system last night, I came around to actually putting the real cert on the system and starting Nginx. To my surprise Nginx failed. Using `journal -xn` I found that it was requesting the SSL key's passphrase via stdin which wasn't being sent to me, and thus would just fail.
How are people using SSL passphrases with systemd? I saw some work-around suggestions for Apache in relation to the PasswordAgent, are there any for Nginx? I'm starting to think that I'm just going to need to disable the systemd service for nginx and write my own init script.
I've taken a look at the systemd documentation, and there seemed to be plenty of theoretical / philosophical information about the PasswordAgent but nothing specific about how you add support to a service that needs it. It's possible I just missed the relevant article.
Any information will be greatly helpful.
Cheers!
-Tim

Thank you for the suggestion, I'm not sure how I missed this patch.
I'd like to avoid having to compile nginx from source. I suppose I should probably open a bug report on the project to allow this to be a core feature.
Cheers!
-Tim

Similar Messages

  • A Flaw with LXC and Systemd

    I am running quite a few machines with LXC and systemd.  I noticed one day that one of my more heavily accessed machines was very slow to respond when I tried to log in through ssh.  It sat there for a good 15-30 seconds before letting me in.  No errors were presented, but upon inspection I found that /sbin/init was consuming 100% of a cpu.  We hoped this was a fluke, and that the init was just borked, and monitored it closely.  The time came to reboot the server and when it rebooted, it was fine, but as soon as traffic started hitting it, the /usr/lib/systemd/systemd-logind process was going crazy,pegging at 100%, and then after a day I found it had switched to the /sbin/init taking over as the culprit.
    After investigating systemd and finding that I can list all the units by just typing systemd at the prompt, I found that there were upwards of 15000 scope sessions. (this taking several days)
    systemctl | grep session-c | wc -l
    The scope sessions are identified by the following lines in the systemd unit list:
    session-c43459.scope loaded active running Session c43459 of user root
    session-c43460.scope loaded active running Session c43460 of user root
    After digging further and finding out how to investigate these sessions, it was as I suspected, these are zombie sessions that have persisted.
    [root@mybox ~]# systemctl status session-c43460.scope
    session-c43460.scope - Session c43460 of user root
    Loaded: loaded (/run/systemd/system/session-c43460.scope; static)
    Drop-In: /run/systemd/system/session-c43460.scope.d
    `-90-After-systemd-user-sessions\x2eservice.conf, 90-Description.conf, 90-KillMode.conf, 90-SendSIGHUP.conf, 90-Slice.conf, 90-TimeoutStopUSec.conf
    Active: active (running) since Wed 2014-02-19 13:18:44 MST; 29min ago
    Feb 19 13:18:44 mybox systemd[1]: Started Session c43460 of user root.
    Feb 19 13:18:45 mybox sshd[27105]: Received disconnect from 10.10.10.10: disconnecte...user
    Feb 19 13:18:45 mybox sshd[27105]: pam_unix(sshd:session): session closed for user root
    Hint: Some lines were ellipsized, use -l to show in full.
    This clearly shows me that the session was started for an ssh connection, but then persisted, even after the user disconnected.
    After stopping the 15000+ zombie sessions, Voila! no more CPU grab by init.  The box is running significantly better, and everything is as it should be.
    I know I have a unique environment, with an application that is connecting up to this server several times a minute just to get data, but that's a problem for everyone.  All my other LXC instances have zombie sessions on them too, and while my connects are not nearly as much, within a year I expect to see degraded performance. 
    I've written a script to find and kill these zombie sessions, as can be done by issuing
    systemctl stop session-c43460.scope
    , but it would be nice if these scope sessions were exiting normally as they should when an ssh disconnect occurrs
    So, I believe this is a problem between LXC and systemd, as the hosts are perfectly fine and no zombie sessions are present.
    Anyone else out there having problems with LXC and systemd? or any suggestions or solutions are welcome.
    Last edited by oktobermoon (2014-02-20 22:36:21)

    PLease use code tags... I can't tell what's what.
    Last edited by clfarron4 (2014-02-20 21:56:15)

  • Dm-crypt with LUKS and systemd changes

    I am planning on setting up an FSE using dm-crypt with LUKS and have just completed the secure wipe process using frandom. To avoid major pitfalls with the next step and confusion with outdated guides I was wondering if anyone can shed some light on dm-crypt with LUKS in regard to changes from systemd.
    Specifically I am looking to partition using LVM and have a key-file. This is more complex than using a standard paritions and password-only setup.
    Reading the discussion on the archwiki page for dm-crypt with LUKS it states at the bottom:
    systemd requires lvm-on-cryptdevice.service active in order to open LVMs on cryptdevices that are not the root partition (which is handled by the initrd).
    What does this mean in the scope of my desired setup and are there any more major changes on the dm-crypt process brought about by systemd? Thank you for the support.

    Thanks for the help so far. I decided against using a keyfile and tailored a set of instructions for my goal (LVM on LUKS, passphrase, non-efi). Is this procedure correct?
    Partitioning
    # cfdisk
              -sda1   -   Boot   -   Primary   -    Linux   -   200 (MB)
              -sda2   -             -   Primary   -    Linux   -
    Load the encryption module
    # modprobe dm-mod
    Configuring LUKS and formating paritions with a passphrase
    Format LUKS
    # cryptsetup -h SHA512 -i 5000 -c aes-xts-plain -y -s 512 luksFormat /dev/sda2
    Check results
    # cryptsetup luksDump /dev/sda2
    Unlocking/Mapping LUKS Partitions with the Device Mapper
    # cryptsetup luksOpen /dev/sda2 lvm
    Initialize physical volume
    # lvm pvcreate /dev/mapper/lvm
    Create volume group
    # lvm vgcreate vgroup /dev/mapper/lvm
    Add logical volumes to volume group
    # lvm lvcreate -L 20G -n root vgroup
    # lvm lvcreate -l 100%FREE -n home vgroup
    Make filesystems and mount partitions
    # mkfs.ext4 /dev/mapper/vgroup-root
    # mount /dev/mapper/vgroup-root /mnt
    # mkfs.ext4 /dev/mapper/vgroup-home
    # mkdir /mnt/home
    # mount /dev/mapper/vgroup-home /mnt/home
    # mkfs.ext2 /dev/sda1
    # mkdir /mnt/boot
    # mount /dev/sda1 /mnt/boot
    Backup cryptheader
    # cryptsetup luksHeaderBackup /dev/sda2 --header-backup-file /mnt/<backup>/<file>.img
    Create an initial ramdisk environment
    # nano /etc/mkinitcpio.conf
    HOOKS="base udev autodetect block encrypt lvm2 filesystems shutdown"
    # mkinitcpio -p linux
    Syslinux
    # pacman -S syslinux
    # syslinux-install_update -i -a -m
    Configure syslinux.cfg to point to the right root partition
    # nano /boot/syslinux/syslinux.cfg
    LABEL arch
            APPEND root=/dev/mapper/vgroup-root cryptdevice=/dev/sda2:vgroup ro
    Last edited by Divinorum (2013-01-22 16:02:13)

  • Boot time goes from seconds to minutes with udev and systemd

    A few weeks ago updated and saw that on reboot I was getting messages from systemd that it was waiting for all my LVM partitions, and then finally that:
    'A start job is running for udev Wait for Complete Device Initialization'
    This has never happened before and I can't find any information about it in dmesg.
    Here is my fstab:
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # UUID=f9f12b36-2333-4c46-949a-0bd86e1ab254
    /dev/mapper/Linux-Arch / ext4 rw,relatime,data=ordered 0 1
    # UUID=21ee7aa4-234e-463d-af2a-6c4cb3551ea8
    /dev/mapper/Linux-Home /home ext4 rw,relatime,data=ordered 0 2
    # UUID=E421-470F LABEL=SYSTEM_DRV
    /dev/sda2 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    # UUID=11bf5a3f-86a5-48b7-93da-994e39463f0d
    /dev/mapper/Linux-Swap none swap defaults 0 0
    # Windows
    # /dev/sda5 /mnt/Windows ntfs-3g defaults,ro,noauto 0 0
    I've been digging around for a few weeks and I can't find anything and my boot time is really slow.
    systemd-analyze blame:
    1min 1.644s systemd-udev-settle.service
    10.079s systemd-udev-trigger.service
    9.999s systemd-remount-fs.service
    1.003s lvm2-pvscan@8:8.service
    795ms systemd-timesyncd.service
    700ms systemd-update-utmp.service
    583ms systemd-sysctl.service
    560ms rtkit-daemon.service
    469ms udisks2.service
    449ms NetworkManager.service
    438ms kmod-static-nodes.service
    363ms systemd-vconsole-setup.service
    214ms tmp.mount
    184ms sys-kernel-debug.mount
    144ms sys-kernel-config.mount
    123ms systemd-tmpfiles-clean.service
    116ms dev-mqueue.mount
    90ms [email protected]
    85ms systemd-logind.service
    82ms dev-hugepages.mount
    79ms bluetooth.service
    57ms [email protected]
    42ms polkit.service
    31ms accounts-daemon.service
    31ms wpa_supplicant.service
    24ms systemd-fsck@dev-mapper-Linux\x2dHome.service
    20ms colord.service
    20ms gdm.service
    20ms upower.service
    19ms [email protected]
    18ms [email protected]
    17ms [email protected]
    15ms boot.mount
    12ms systemd-tmpfiles-setup-dev.service
    8ms dev-mapper-Linux\x2dSwap.swap
    8ms systemd-tmpfiles-setup.service
    8ms systemd-journal-flush.service
    5ms home.mount
    5ms systemd-user-sessions.service
    4ms systemd-backlight@backlight:intel_backlight.service
    3ms systemd-random-seed.service
    2ms systemd-udevd.service
    1ms sys-fs-fuse-connections.mount
    EDIT 2: Dmesg output:
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 3.14.23-1-lts (nobody@home-andyrtr-arch64-chroots-testing-x86_64-andyrtr) (gcc version 4.9.1 20140903 (prerelease) (GCC) ) #1 SMP Thu Oct 30 19:41:12 CET 2014
    [ 0.000000] Command line: initrd=\initramfs-linux-lts.img root=/dev/mapper/Linux-Arch rw resume=/dev/mapper/Linux-Swap pcie_aspm=force i915.i915_enable_rc6=1
    [ 0.000000] e820: BIOS-provided physical RAM map:
    [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000087fff] usable
    [ 0.000000] BIOS-e820: [mem 0x0000000000088000-0x00000000000bffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
    [ 0.000000] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000020200000-0x0000000040003fff] usable
    [ 0.000000] BIOS-e820: [mem 0x0000000040004000-0x0000000040004fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000040005000-0x00000000c4daffff] usable
    [ 0.000000] BIOS-e820: [mem 0x00000000c4db0000-0x00000000c61affff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000c61b0000-0x00000000ca7befff] usable
    [ 0.000000] BIOS-e820: [mem 0x00000000ca7bf000-0x00000000caebefff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000caebf000-0x00000000cafbefff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x00000000cafbf000-0x00000000caffefff] ACPI data
    [ 0.000000] BIOS-e820: [mem 0x00000000cafff000-0x00000000caffffff] usable
    [ 0.000000] BIOS-e820: [mem 0x00000000cb000000-0x00000000cf9fffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000f0000000-0x00000000f3ffffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000feb00000-0x00000000feb03fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed19fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed98000-0x00000000fed9ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000ffcc0000-0x00000000ffffffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000022f5fffff] usable
    [ 0.000000] NX (Execute Disable) protection: active
    [ 0.000000] e820: update [mem 0xc3217018-0xc3227057] usable ==> usable
    [ 0.000000] extended physical RAM map:
    [ 0.000000] reserve setup_data: [mem 0x0000000000000000-0x0000000000087fff] usable
    [ 0.000000] reserve setup_data: [mem 0x0000000000088000-0x00000000000bffff] reserved
    [ 0.000000] reserve setup_data: [mem 0x0000000000100000-0x000000001fffffff] usable
    [ 0.000000] reserve setup_data: [mem 0x0000000020000000-0x00000000201fffff] reserved
    [ 0.000000] reserve setup_data: [mem 0x0000000020200000-0x0000000040003fff] usable
    [ 0.000000] reserve setup_data: [mem 0x0000000040004000-0x0000000040004fff] reserved
    [ 0.000000] reserve setup_data: [mem 0x0000000040005000-0x00000000c3217017] usable
    [ 0.000000] reserve setup_data: [mem 0x00000000c3217018-0x00000000c3227057] usable
    [ 0.000000] reserve setup_data: [mem 0x00000000c3227058-0x00000000c4daffff] usable
    [ 0.000000] reserve setup_data: [mem 0x00000000c4db0000-0x00000000c61affff] reserved
    [ 0.000000] reserve setup_data: [mem 0x00000000c61b0000-0x00000000ca7befff] usable
    [ 0.000000] reserve setup_data: [mem 0x00000000ca7bf000-0x00000000caebefff] reserved
    [ 0.000000] reserve setup_data: [mem 0x00000000caebf000-0x00000000cafbefff] ACPI NVS
    [ 0.000000] reserve setup_data: [mem 0x00000000cafbf000-0x00000000caffefff] ACPI data
    [ 0.000000] reserve setup_data: [mem 0x00000000cafff000-0x00000000caffffff] usable
    [ 0.000000] reserve setup_data: [mem 0x00000000cb000000-0x00000000cf9fffff] reserved
    [ 0.000000] reserve setup_data: [mem 0x00000000f0000000-0x00000000f3ffffff] reserved
    [ 0.000000] reserve setup_data: [mem 0x00000000feb00000-0x00000000feb03fff] reserved
    [ 0.000000] reserve setup_data: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
    [ 0.000000] reserve setup_data: [mem 0x00000000fed10000-0x00000000fed19fff] reserved
    [ 0.000000] reserve setup_data: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
    [ 0.000000] reserve setup_data: [mem 0x00000000fed98000-0x00000000fed9ffff] reserved
    [ 0.000000] reserve setup_data: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
    [ 0.000000] reserve setup_data: [mem 0x00000000ffcc0000-0x00000000ffffffff] reserved
    [ 0.000000] reserve setup_data: [mem 0x0000000100000000-0x000000022f5fffff] usable
    [ 0.000000] efi: EFI v2.31 by INSYDE Corp.
    [ 0.000000] efi: ACPI=0xcaffe000 ACPI 2.0=0xcaffe014 SMBIOS=0xcaebef98
    [ 0.000000] efi: mem00: type=3, attr=0xf, range=[0x0000000000000000-0x0000000000001000) (0MB)
    [ 0.000000] efi: mem01: type=2, attr=0xf, range=[0x0000000000001000-0x0000000000007000) (0MB)
    [ 0.000000] efi: mem02: type=7, attr=0xf, range=[0x0000000000007000-0x000000000006f000) (0MB)
    [ 0.000000] efi: mem03: type=4, attr=0xf, range=[0x000000000006f000-0x0000000000070000) (0MB)
    [ 0.000000] efi: mem04: type=7, attr=0xf, range=[0x0000000000070000-0x0000000000088000) (0MB)
    [ 0.000000] efi: mem05: type=6, attr=0x800000000000000f, range=[0x0000000000088000-0x00000000000a0000) (0MB)
    [ 0.000000] efi: mem06: type=7, attr=0xf, range=[0x0000000000100000-0x0000000001000000) (15MB)
    [ 0.000000] efi: mem07: type=2, attr=0xf, range=[0x0000000001000000-0x0000000001f62000) (15MB)
    [ 0.000000] efi: mem08: type=7, attr=0xf, range=[0x0000000001f62000-0x0000000020000000) (480MB)
    [ 0.000000] efi: mem09: type=0, attr=0xf, range=[0x0000000020000000-0x0000000020200000) (2MB)
    [ 0.000000] efi: mem10: type=7, attr=0xf, range=[0x0000000020200000-0x0000000040004000) (510MB)
    [ 0.000000] efi: mem11: type=0, attr=0xf, range=[0x0000000040004000-0x0000000040005000) (0MB)
    [ 0.000000] efi: mem12: type=7, attr=0xf, range=[0x0000000040005000-0x000000007fba4000) (1019MB)
    [ 0.000000] efi: mem13: type=2, attr=0xf, range=[0x000000007fba4000-0x0000000080000000) (4MB)
    [ 0.000000] efi: mem14: type=7, attr=0xf, range=[0x0000000080000000-0x00000000c31c0000) (1073MB)
    [ 0.000000] efi: mem15: type=4, attr=0xf, range=[0x00000000c31c0000-0x00000000c31e0000) (0MB)
    [ 0.000000] efi: mem16: type=7, attr=0xf, range=[0x00000000c31e0000-0x00000000c3217000) (0MB)
    [ 0.000000] efi: mem17: type=2, attr=0xf, range=[0x00000000c3217000-0x00000000c3228000) (0MB)
    [ 0.000000] efi: mem18: type=1, attr=0xf, range=[0x00000000c3228000-0x00000000c418a000) (15MB)
    [ 0.000000] efi: mem19: type=4, attr=0xf, range=[0x00000000c418a000-0x00000000c4db0000) (12MB)
    [ 0.000000] efi: mem20: type=0, attr=0xf, range=[0x00000000c4db0000-0x00000000c61b0000) (20MB)
    [ 0.000000] efi: mem21: type=7, attr=0xf, range=[0x00000000c61b0000-0x00000000c61b8000) (0MB)
    [ 0.000000] efi: mem22: type=2, attr=0xf, range=[0x00000000c61b8000-0x00000000c61bb000) (0MB)
    [ 0.000000] efi: mem23: type=7, attr=0xf, range=[0x00000000c61bb000-0x00000000c61bc000) (0MB)
    [ 0.000000] efi: mem24: type=2, attr=0xf, range=[0x00000000c61bc000-0x00000000c61bf000) (0MB)
    [ 0.000000] efi: mem25: type=7, attr=0xf, range=[0x00000000c61bf000-0x00000000c63a8000) (1MB)
    [ 0.000000] efi: mem26: type=1, attr=0xf, range=[0x00000000c63a8000-0x00000000c63bf000) (0MB)
    [ 0.000000] efi: mem27: type=7, attr=0xf, range=[0x00000000c63bf000-0x00000000c76e6000) (19MB)
    [ 0.000000] efi: mem28: type=4, attr=0xf, range=[0x00000000c76e6000-0x00000000c864a000) (15MB)
    [ 0.000000] efi: mem29: type=7, attr=0xf, range=[0x00000000c864a000-0x00000000c864c000) (0MB)
    [ 0.000000] efi: mem30: type=4, attr=0xf, range=[0x00000000c864c000-0x00000000c864e000) (0MB)
    [ 0.000000] efi: mem31: type=7, attr=0xf, range=[0x00000000c864e000-0x00000000c8650000) (0MB)
    [ 0.000000] efi: mem32: type=4, attr=0xf, range=[0x00000000c8650000-0x00000000c8697000) (0MB)
    [ 0.000000] efi: mem33: type=7, attr=0xf, range=[0x00000000c8697000-0x00000000c8699000) (0MB)
    [ 0.000000] efi: mem34: type=4, attr=0xf, range=[0x00000000c8699000-0x00000000c86cb000) (0MB)
    [ 0.000000] efi: mem35: type=7, attr=0xf, range=[0x00000000c86cb000-0x00000000c86cc000) (0MB)
    [ 0.000000] efi: mem36: type=4, attr=0xf, range=[0x00000000c86cc000-0x00000000c87ff000) (1MB)
    [ 0.000000] efi: mem37: type=7, attr=0xf, range=[0x00000000c87ff000-0x00000000c8803000) (0MB)
    [ 0.000000] efi: mem38: type=4, attr=0xf, range=[0x00000000c8803000-0x00000000c8806000) (0MB)
    [ 0.000000] efi: mem39: type=7, attr=0xf, range=[0x00000000c8806000-0x00000000c8807000) (0MB)
    [ 0.000000] efi: mem40: type=4, attr=0xf, range=[0x00000000c8807000-0x00000000c885a000) (0MB)
    [ 0.000000] efi: mem41: type=7, attr=0xf, range=[0x00000000c885a000-0x00000000c8882000) (0MB)
    [ 0.000000] efi: mem42: type=4, attr=0xf, range=[0x00000000c8882000-0x00000000c88b0000) (0MB)
    [ 0.000000] efi: mem43: type=7, attr=0xf, range=[0x00000000c88b0000-0x00000000c88b1000) (0MB)
    [ 0.000000] efi: mem44: type=4, attr=0xf, range=[0x00000000c88b1000-0x00000000c8c65000) (3MB)
    [ 0.000000] efi: mem45: type=7, attr=0xf, range=[0x00000000c8c65000-0x00000000c8c67000) (0MB)
    [ 0.000000] efi: mem46: type=4, attr=0xf, range=[0x00000000c8c67000-0x00000000c8c78000) (0MB)
    [ 0.000000] efi: mem47: type=7, attr=0xf, range=[0x00000000c8c78000-0x00000000c8c7a000) (0MB)
    [ 0.000000] efi: mem48: type=4, attr=0xf, range=[0x00000000c8c7a000-0x00000000ca3bf000) (23MB)
    [ 0.000000] efi: mem49: type=7, attr=0xf, range=[0x00000000ca3bf000-0x00000000ca435000) (0MB)
    [ 0.000000] efi: mem50: type=3, attr=0xf, range=[0x00000000ca435000-0x00000000ca7bf000) (3MB)
    [ 0.000000] efi: mem51: type=5, attr=0x800000000000000f, range=[0x00000000ca7bf000-0x00000000ca865000) (0MB)
    [ 0.000000] efi: mem52: type=6, attr=0x800000000000000f, range=[0x00000000ca865000-0x00000000ca866000) (0MB)
    [ 0.000000] efi: mem53: type=5, attr=0x800000000000000f, range=[0x00000000ca866000-0x00000000ca868000) (0MB)
    [ 0.000000] efi: mem54: type=6, attr=0x800000000000000f, range=[0x00000000ca868000-0x00000000ca869000) (0MB)
    [ 0.000000] efi: mem55: type=5, attr=0x800000000000000f, range=[0x00000000ca869000-0x00000000ca86f000) (0MB)
    [ 0.000000] efi: mem56: type=6, attr=0x800000000000000f, range=[0x00000000ca86f000-0x00000000ca870000) (0MB)
    [ 0.000000] efi: mem57: type=5, attr=0x800000000000000f, range=[0x00000000ca870000-0x00000000ca883000) (0MB)
    [ 0.000000] efi: mem58: type=6, attr=0x800000000000000f, range=[0x00000000ca883000-0x00000000ca884000) (0MB)
    [ 0.000000] efi: mem59: type=5, attr=0x800000000000000f, range=[0x00000000ca884000-0x00000000ca894000) (0MB)
    [ 0.000000] efi: mem60: type=6, attr=0x800000000000000f, range=[0x00000000ca894000-0x00000000ca895000) (0MB)
    [ 0.000000] efi: mem61: type=5, attr=0x800000000000000f, range=[0x00000000ca895000-0x00000000ca8a9000) (0MB)
    [ 0.000000] efi: mem62: type=6, attr=0x800000000000000f, range=[0x00000000ca8a9000-0x00000000ca8aa000) (0MB)
    [ 0.000000] efi: mem63: type=5, attr=0x800000000000000f, range=[0x00000000ca8aa000-0x00000000ca8e3000) (0MB)
    [ 0.000000] efi: mem64: type=6, attr=0x800000000000000f, range=[0x00000000ca8e3000-0x00000000ca935000) (0MB)
    [ 0.000000] efi: mem65: type=5, attr=0x800000000000000f, range=[0x00000000ca935000-0x00000000ca9bf000) (0MB)
    [ 0.000000] efi: mem66: type=6, attr=0x800000000000000f, range=[0x00000000ca9bf000-0x00000000caabf000) (1MB)
    [ 0.000000] efi: mem67: type=0, attr=0xf, range=[0x00000000caabf000-0x00000000caebf000) (4MB)
    [ 0.000000] efi: mem68: type=10, attr=0xf, range=[0x00000000caebf000-0x00000000cafbf000) (1MB)
    [ 0.000000] efi: mem69: type=9, attr=0xf, range=[0x00000000cafbf000-0x00000000cafff000) (0MB)
    [ 0.000000] efi: mem70: type=4, attr=0xf, range=[0x00000000cafff000-0x00000000cb000000) (0MB)
    [ 0.000000] efi: mem71: type=7, attr=0xf, range=[0x0000000100000000-0x000000022f600000) (4854MB)
    [ 0.000000] efi: mem72: type=0, attr=0x0, range=[0x00000000000a0000-0x00000000000c0000) (0MB)
    [ 0.000000] efi: mem73: type=0, attr=0x0, range=[0x00000000cb000000-0x00000000cfa00000) (74MB)
    [ 0.000000] efi: mem74: type=11, attr=0x8000000000000001, range=[0x00000000f0000000-0x00000000f4000000) (64MB)
    [ 0.000000] efi: mem75: type=11, attr=0x8000000000000001, range=[0x00000000feb00000-0x00000000feb04000) (0MB)
    [ 0.000000] efi: mem76: type=11, attr=0x8000000000000001, range=[0x00000000fec00000-0x00000000fec01000) (0MB)
    [ 0.000000] efi: mem77: type=11, attr=0x8000000000000001, range=[0x00000000fed10000-0x00000000fed1a000) (0MB)
    [ 0.000000] efi: mem78: type=11, attr=0x8000000000000001, range=[0x00000000fed1c000-0x00000000fed20000) (0MB)
    [ 0.000000] efi: mem79: type=0, attr=0x0, range=[0x00000000fed98000-0x00000000feda0000) (0MB)
    [ 0.000000] efi: mem80: type=11, attr=0x8000000000000001, range=[0x00000000fee00000-0x00000000fee01000) (0MB)
    [ 0.000000] efi: mem81: type=11, attr=0x8000000000000000, range=[0x00000000ffcc0000-0x0000000100000000) (3MB)
    [ 0.000000] SMBIOS 2.7 present.
    [ 0.000000] DMI: LENOVO 20175/INVALID, BIOS 66CN54WW 01/21/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 = 0x22f600 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-E7FFF write-protect
    [ 0.000000] E8000-EFFFF write-combining
    [ 0.000000] F0000-FFFFF write-protect
    [ 0.000000] MTRR variable ranges enabled:
    [ 0.000000] 0 base 000000000 mask F80000000 write-back
    [ 0.000000] 1 base 080000000 mask FC0000000 write-back
    [ 0.000000] 2 base 0C0000000 mask FF8000000 write-back
    [ 0.000000] 3 base 0C8000000 mask FFE000000 write-back
    [ 0.000000] 4 base 0CA000000 mask FFF000000 write-back
    [ 0.000000] 5 base 0FFC00000 mask FFFC00000 write-protect
    [ 0.000000] 6 base 100000000 mask F00000000 write-back
    [ 0.000000] 7 base 200000000 mask FC0000000 write-back
    [ 0.000000] 8 base 22F600000 mask FFFE00000 uncachable
    [ 0.000000] 9 base 22F800000 mask FFF800000 uncachable
    [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    [ 0.000000] e820: last_pfn = 0xcb000 max_arch_pfn = 0x400000000
    [ 0.000000] Scanning 1 areas for low memory corruption
    [ 0.000000] Base memory trampoline at [ffff880000082000] 82000 size 24576
    [ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
    [ 0.000000] [mem 0x00000000-0x000fffff] page 4k
    [ 0.000000] BRK [0x01b40000, 0x01b40fff] PGTABLE
    [ 0.000000] BRK [0x01b41000, 0x01b41fff] PGTABLE
    [ 0.000000] BRK [0x01b42000, 0x01b42fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x22f400000-0x22f5fffff]
    [ 0.000000] [mem 0x22f400000-0x22f5fffff] page 2M
    [ 0.000000] BRK [0x01b43000, 0x01b43fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x22c000000-0x22f3fffff]
    [ 0.000000] [mem 0x22c000000-0x22f3fffff] page 2M
    [ 0.000000] init_memory_mapping: [mem 0x200000000-0x22bffffff]
    [ 0.000000] [mem 0x200000000-0x22bffffff] page 2M
    [ 0.000000] init_memory_mapping: [mem 0x00100000-0x1fffffff]
    [ 0.000000] [mem 0x00100000-0x001fffff] page 4k
    [ 0.000000] [mem 0x00200000-0x1fffffff] page 2M
    [ 0.000000] init_memory_mapping: [mem 0x20200000-0x40003fff]
    [ 0.000000] [mem 0x20200000-0x3fffffff] page 2M
    [ 0.000000] [mem 0x40000000-0x40003fff] page 4k
    [ 0.000000] BRK [0x01b44000, 0x01b44fff] PGTABLE
    [ 0.000000] BRK [0x01b45000, 0x01b45fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x40005000-0xc4daffff]
    [ 0.000000] [mem 0x40005000-0x401fffff] page 4k
    [ 0.000000] [mem 0x40200000-0xc4bfffff] page 2M
    [ 0.000000] [mem 0xc4c00000-0xc4daffff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0xc61b0000-0xca7befff]
    [ 0.000000] [mem 0xc61b0000-0xc61fffff] page 4k
    [ 0.000000] [mem 0xc6200000-0xca5fffff] page 2M
    [ 0.000000] [mem 0xca600000-0xca7befff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0xcafff000-0xcaffffff]
    [ 0.000000] [mem 0xcafff000-0xcaffffff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0x100000000-0x1ffffffff]
    [ 0.000000] [mem 0x100000000-0x1ffffffff] page 2M
    [ 0.000000] RAMDISK: [mem 0x7fba4000-0x7fffffff]
    [ 0.000000] ACPI: RSDP 00000000caffe014 000024 (v02 LENOVO)
    [ 0.000000] ACPI: XSDT 00000000caffe210 0000DC (v01 LENOVO CB-01 00000001 01000013)
    [ 0.000000] ACPI: FACP 00000000caff5000 00010C (v05 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: DSDT 00000000cafe9000 008814 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: FACS 00000000cafbb000 000040
    [ 0.000000] ACPI: SLIC 00000000caffd000 000176 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: UEFI 00000000caffc000 000236 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: SSDT 00000000caffb000 000662 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: SSDT 00000000caffa000 000A39 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: SSDT 00000000caff9000 000098 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: SSDT 00000000caff8000 000058 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: SSDT 00000000caff7000 000757 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: ASF! 00000000caff6000 0000A5 (v32 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: HPET 00000000caff4000 000038 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: APIC 00000000caff3000 00008C (v03 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: MCFG 00000000caff2000 00003C (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: WDAT 00000000cafe8000 000224 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: SSDT 00000000cafe6000 001068 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: BOOT 00000000cafe4000 000028 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: ASPT 00000000cafe2000 000034 (v07 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: DBGP 00000000cafe1000 000034 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: FPDT 00000000cafdf000 000044 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: MSDM 00000000cafde000 000055 (v03 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: SSDT 00000000cafdd000 0009AA (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: SSDT 00000000cafdc000 000B22 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: DMAR 00000000cafdb000 0000B8 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: BGRT 00000000cafda000 000038 (v01 LENOVO CB-01 00000001 ACPI 00040000)
    [ 0.000000] ACPI: Local APIC address 0xfee00000
    [ 0.000000] No NUMA configuration found
    [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000022f5fffff]
    [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x22f5fffff]
    [ 0.000000] NODE_DATA [mem 0x22f5f1000-0x22f5f5fff]
    [ 0.000000] [ffffea0000000000-ffffea0008bfffff] PMD -> [ffff880226c00000-ffff88022ebfffff] on node 0
    [ 0.000000] Zone ranges:
    [ 0.000000] DMA [mem 0x00001000-0x00ffffff]
    [ 0.000000] DMA32 [mem 0x01000000-0xffffffff]
    [ 0.000000] Normal [mem 0x100000000-0x22f5fffff]
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x00001000-0x00087fff]
    [ 0.000000] node 0: [mem 0x00100000-0x1fffffff]
    [ 0.000000] node 0: [mem 0x20200000-0x40003fff]
    [ 0.000000] node 0: [mem 0x40005000-0xc4daffff]
    [ 0.000000] node 0: [mem 0xc61b0000-0xca7befff]
    [ 0.000000] node 0: [mem 0xcafff000-0xcaffffff]
    [ 0.000000] node 0: [mem 0x100000000-0x22f5fffff]
    [ 0.000000] On node 0 totalpages: 2066246
    [ 0.000000] DMA zone: 64 pages used for memmap
    [ 0.000000] DMA zone: 22 pages reserved
    [ 0.000000] DMA zone: 3975 pages, LIFO batch:0
    [ 0.000000] DMA32 zone: 12807 pages used for memmap
    [ 0.000000] DMA32 zone: 819647 pages, LIFO batch:31
    [ 0.000000] Normal zone: 19416 pages used for memmap
    [ 0.000000] Normal zone: 1242624 pages, LIFO batch:31
    [ 0.000000] ACPI: PM-Timer IO Port: 0x408
    [ 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[0x01] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x00] disabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x00] disabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x00] disabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x00] disabled)
    [ 0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
    [ 0.000000] IOAPIC[0]: apic_id 0, 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: 0x8086a201 base: 0xfed00000
    [ 0.000000] smpboot: Allowing 8 CPUs, 4 hotplug CPUs
    [ 0.000000] nr_irqs_gsi: 40
    [ 0.000000] PM: Registered nosave memory: [mem 0x00088000-0x000bffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x000c0000-0x000fffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x20000000-0x201fffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x40004000-0x40004fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xc3217000-0xc3217fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xc3227000-0xc3227fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xc4db0000-0xc61affff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xca7bf000-0xcaebefff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xcaebf000-0xcafbefff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xcafbf000-0xcaffefff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xcb000000-0xcf9fffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xcfa00000-0xefffffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xf0000000-0xf3ffffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xf4000000-0xfeafffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfeb00000-0xfeb03fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfeb04000-0xfebfffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfed0ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed10000-0xfed19fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed1a000-0xfed1bfff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed20000-0xfed97fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed98000-0xfed9ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfeda0000-0xfedfffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfee01000-0xffcbffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xffcc0000-0xffffffff]
    [ 0.000000] e820: [mem 0xcfa00000-0xefffffff] 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 @ffff88022f200000 s86656 r8192 d23936 u262144
    [ 0.000000] pcpu-alloc: s86656 r8192 d23936 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: 2033937
    [ 0.000000] Policy zone: Normal
    [ 0.000000] Kernel command line: initrd=\initramfs-linux-lts.img root=/dev/mapper/Linux-Arch rw resume=/dev/mapper/Linux-Swap pcie_aspm=force i915.i915_enable_rc6=1
    [ 0.000000] PCIe ASPM is forcibly enabled
    [ 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] Memory: 7988560K/8264984K available (5187K kernel code, 858K rwdata, 1640K rodata, 1136K init, 1300K bss, 276424K reserved)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
    [ 0.000000] Hierarchical RCU implementation.
    [ 0.000000] RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=8.
    [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, 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 33554432 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.000000] tsc: Detected 2494.263 MHz processor
    [ 0.000042] Calibrating delay loop (skipped), value calculated using timer frequency.. 4988.52 BogoMIPS (lpj=24942630)
    [ 0.000045] pid_max: default: 32768 minimum: 301
    [ 0.000053] ACPI: Core revision 20131218
    [ 0.008110] ACPI: All ACPI Tables successfully acquired
    [ 0.034617] Security Framework initialized
    [ 0.034625] Yama: becoming mindful.
    [ 0.035238] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
    [ 0.037855] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
    [ 0.039006] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
    [ 0.039017] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
    [ 0.039253] Initializing cgroup subsys memory
    [ 0.039259] Initializing cgroup subsys devices
    [ 0.039260] Initializing cgroup subsys freezer
    [ 0.039262] Initializing cgroup subsys net_cls
    [ 0.039264] Initializing cgroup subsys blkio
    [ 0.039291] CPU: Physical Processor ID: 0
    [ 0.039293] CPU: Processor Core ID: 0
    [ 0.039298] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
    ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
    [ 0.039769] mce: CPU supports 7 MCE banks
    [ 0.039782] CPU0: Thermal monitoring enabled (TM1)
    [ 0.039792] Last level iTLB entries: 4KB 512, 2MB 8, 4MB 8
    Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
    tlb_flushall_shift: 2
    [ 0.039910] Freeing SMP alternatives memory: 20K (ffffffff819f4000 - ffffffff819f9000)
    [ 0.043468] ftrace: allocating 20111 entries in 79 pages
    [ 0.054896] dmar: Host address width 36
    [ 0.054899] dmar: DRHD base: 0x000000fed90000 flags: 0x0
    [ 0.054906] dmar: IOMMU 0: reg_base_addr fed90000 ver 1:0 cap c0000020e60262 ecap f0101a
    [ 0.054908] dmar: DRHD base: 0x000000fed91000 flags: 0x1
    [ 0.054912] dmar: IOMMU 1: reg_base_addr fed91000 ver 1:0 cap c9008020660262 ecap f0105a
    [ 0.054914] dmar: RMRR base: 0x000000cae8c000 end: 0x000000caeabfff
    [ 0.054915] dmar: RMRR base: 0x000000cb800000 end: 0x000000cf9fffff
    [ 0.054992] IOAPIC id 0 under DRHD base 0xfed91000 IOMMU 1
    [ 0.054994] HPET id 0 under DRHD base 0xfed91000
    [ 0.054995] Queued invalidation will be enabled to support x2apic and Intr-remapping.
    [ 0.055169] Enabled IRQ remapping in x2apic mode
    [ 0.055170] Enabling x2apic
    [ 0.055172] Enabled x2apic
    [ 0.055180] Switched APIC routing to cluster x2apic.
    [ 0.055649] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    [ 0.155770] smpboot: CPU0: Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz (fam: 06, model: 3a, stepping: 09)
    [ 0.155781] TSC deadline timer enabled
    [ 0.155793] Performance Events: PEBS fmt1+, 16-deep LBR, IvyBridge events, full-width counters, Intel PMU driver.
    [ 0.155800] ... version: 3
    [ 0.155802] ... bit width: 48
    [ 0.155803] ... generic registers: 4
    [ 0.155804] ... value mask: 0000ffffffffffff
    [ 0.155805] ... max period: 0000ffffffffffff
    [ 0.155806] ... fixed-purpose events: 3
    [ 0.155807] ... event mask: 000000070000000f
    [ 0.157083] x86: Booting SMP configuration:
    [ 0.157086] .... node #0, CPUs: #1 #2 #3
    [ 0.198397] x86: Booted up 1 node, 4 CPUs
    [ 0.198401] smpboot: Total of 4 processors activated (19954.10 BogoMIPS)
    [ 0.202933] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
    [ 0.203185] devtmpfs: initialized
    [ 0.206444] PM: Registering ACPI NVS region [mem 0xcaebf000-0xcafbefff] (1048576 bytes)
    [ 0.207361] pinctrl core: initialized pinctrl subsystem
    [ 0.207403] RTC time: 18:04:53, date: 11/03/14
    [ 0.207440] NET: Registered protocol family 16
    [ 0.207534] cpuidle: using governor ladder
    [ 0.207535] cpuidle: using governor menu
    [ 0.207568] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
    [ 0.207570] ACPI: bus type PCI registered
    [ 0.207572] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
    [ 0.207648] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf0000000-0xf3ffffff] (base 0xf0000000)
    [ 0.207651] PCI: MMCONFIG at [mem 0xf0000000-0xf3ffffff] reserved in E820
    [ 0.207745] PCI: Using configuration type 1 for base access
    [ 0.208531] bio: create slab <bio-0> at 0
    [ 0.208645] ACPI: Added _OSI(Module Device)
    [ 0.208647] ACPI: Added _OSI(Processor Device)
    [ 0.208648] ACPI: Added _OSI(3.0 _SCP Extensions)
    [ 0.208649] ACPI: Added _OSI(Processor Aggregator Device)
    [ 0.211733] ACPI: Executed 1 blocks of module-level executable AML code
    [ 0.236410] ACPI: SSDT 00000000cae17018 00083B (v01 PmRef Cpu0Cst 00003001 INTL 20121220)
    [ 0.236803] ACPI: Dynamic OEM Table Load:
    [ 0.236805] ACPI: SSDT (null) 00083B (v01 PmRef Cpu0Cst 00003001 INTL 20121220)
    [ 0.266214] ACPI: SSDT 00000000cae18a98 000303 (v01 PmRef ApIst 00003000 INTL 20121220)
    [ 0.266634] ACPI: Dynamic OEM Table Load:
    [ 0.266636] ACPI: SSDT (null) 000303 (v01 PmRef ApIst 00003000 INTL 20121220)
    [ 0.296118] ACPI: SSDT 00000000cae16d98 000119 (v01 PmRef ApCst 00003000 INTL 20121220)
    [ 0.296501] ACPI: Dynamic OEM Table Load:
    [ 0.296503] ACPI: SSDT (null) 000119 (v01 PmRef ApCst 00003000 INTL 20121220)
    [ 0.773800] ACPI: Interpreter enabled
    [ 0.773808] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20131218/hwxface-580)
    [ 0.773813] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131218/hwxface-580)
    [ 0.773829] ACPI: (supports S0 S3 S4 S5)
    [ 0.773831] ACPI: Using IOAPIC for interrupt routing
    [ 0.773864] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
    [ 0.774030] ACPI: No dock devices found.
    [ 0.780437] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])
    [ 0.780443] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
    [ 0.780579] \_SB_.PCI0:_OSC invalid UUID
    [ 0.780581] _OSC request data:1 1f 0
    [ 0.780585] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
    [ 0.781130] PCI host bridge to bus 0000:00
    [ 0.781133] pci_bus 0000:00: root bus resource [bus 00-3e]
    [ 0.781136] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7]
    [ 0.781137] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff]
    [ 0.781139] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
    [ 0.781141] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000c3fff]
    [ 0.781143] pci_bus 0000:00: root bus resource [mem 0x000c4000-0x000c7fff]
    [ 0.781145] pci_bus 0000:00: root bus resource [mem 0x000c8000-0x000cbfff]
    [ 0.781147] pci_bus 0000:00: root bus resource [mem 0x000cc000-0x000cffff]
    [ 0.781148] pci_bus 0000:00: root bus resource [mem 0x000d0000-0x000d3fff]
    [ 0.781150] pci_bus 0000:00: root bus resource [mem 0x000d4000-0x000d7fff]
    [ 0.781152] pci_bus 0000:00: root bus resource [mem 0x000d8000-0x000dbfff]
    [ 0.781154] pci_bus 0000:00: root bus resource [mem 0x000dc000-0x000dffff]
    [ 0.781156] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000e3fff]
    [ 0.781157] pci_bus 0000:00: root bus resource [mem 0x000e4000-0x000e7fff]
    [ 0.781159] pci_bus 0000:00: root bus resource [mem 0x000e8000-0x000ebfff]
    [ 0.781161] pci_bus 0000:00: root bus resource [mem 0x000ec000-0x000effff]
    [ 0.781163] pci_bus 0000:00: root bus resource [mem 0xcfa00000-0xfeafffff]
    [ 0.781171] pci 0000:00:00.0: [8086:0154] type 00 class 0x060000
    [ 0.781277] pci 0000:00:02.0: [8086:0166] type 00 class 0x030000
    [ 0.781291] pci 0000:00:02.0: reg 0x10: [mem 0xe0000000-0xe03fffff 64bit]
    [ 0.781299] pci 0000:00:02.0: reg 0x18: [mem 0xd0000000-0xdfffffff 64bit pref]
    [ 0.781305] pci 0000:00:02.0: reg 0x20: [io 0x2000-0x203f]
    [ 0.781403] pci 0000:00:04.0: [8086:0153] type 00 class 0x118000
    [ 0.781415] pci 0000:00:04.0: reg 0x10: [mem 0xfed98000-0xfed9ffff 64bit]
    [ 0.781541] pci 0000:00:14.0: [8086:1e31] type 00 class 0x0c0330
    [ 0.781567] pci 0000:00:14.0: reg 0x10: [mem 0xe0400000-0xe040ffff 64bit]
    [ 0.781646] pci 0000:00:14.0: PME# supported from D3hot D3cold
    [ 0.781694] pci 0000:00:14.0: System wakeup disabled by ACPI
    [ 0.781745] pci 0000:00:16.0: [8086:1e3a] type 00 class 0x078000
    [ 0.781772] pci 0000:00:16.0: reg 0x10: [mem 0xe041c000-0xe041c00f 64bit]
    [ 0.781856] pci 0000:00:16.0: PME# supported from D0 D3hot D3cold
    [ 0.781955] pci 0000:00:1a.0: [8086:1e2d] type 00 class 0x0c0320
    [ 0.781980] pci 0000:00:1a.0: reg 0x10: [mem 0xe0421000-0xe04213ff]
    [ 0.782080] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold
    [ 0.782144] pci 0000:00:1a.0: System wakeup disabled by ACPI
    [ 0.782193] pci 0000:00:1b.0: [8086:1e20] type 00 class 0x040300
    [ 0.782212] pci 0000:00:1b.0: reg 0x10: [mem 0xe0418000-0xe041bfff 64bit]
    [ 0.782296] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
    [ 0.782345] pci 0000:00:1b.0: System wakeup disabled by ACPI
    [ 0.782396] pci 0000:00:1d.0: [8086:1e26] type 00 class 0x0c0320
    [ 0.782420] pci 0000:00:1d.0: reg 0x10: [mem 0xe0420000-0xe04203ff]
    [ 0.782520] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
    [ 0.782583] pci 0000:00:1d.0: System wakeup disabled by ACPI
    [ 0.782634] pci 0000:00:1f.0: [8086:1e56] type 00 class 0x060100
    [ 0.782828] pci 0000:00:1f.2: [8086:1e03] type 00 class 0x010601
    [ 0.782850] pci 0000:00:1f.2: reg 0x10: [io 0x2088-0x208f]
    [ 0.782859] pci 0000:00:1f.2: reg 0x14: [io 0x2094-0x2097]
    [ 0.782869] pci 0000:00:1f.2: reg 0x18: [io 0x2080-0x2087]
    [ 0.782877] pci 0000:00:1f.2: reg 0x1c: [io 0x2090-0x2093]
    [ 0.782887] pci 0000:00:1f.2: reg 0x20: [io 0x2060-0x207f]
    [ 0.782897] pci 0000:00:1f.2: reg 0x24: [mem 0xe041f000-0xe041f7ff]
    [ 0.782948] pci 0000:00:1f.2: PME# supported from D3hot
    [ 0.783031] pci 0000:00:1f.3: [8086:1e22] type 00 class 0x0c0500
    [ 0.783050] pci 0000:00:1f.3: reg 0x10: [mem 0xe041d000-0xe041d0ff 64bit]
    [ 0.783074] pci 0000:00:1f.3: reg 0x20: [io 0x2040-0x205f]
    [ 0.783173] pci 0000:00:1f.6: [8086:1e24] type 00 class 0x118000
    [ 0.783198] pci 0000:00:1f.6: reg 0x10: [mem 0xe041e000-0xe041efff 64bit]
    [ 0.783553] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
    [ 0.783614] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
    [ 0.783672] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
    [ 0.783732] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
    [ 0.783790] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
    [ 0.783848] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
    [ 0.783908] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
    [ 0.783966] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
    [ 0.784076] ACPI: Enabled 5 GPEs in block 00 to 3F
    [ 0.784121] ACPI : EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62
    [ 0.784209] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
    [ 0.784212] vgaarb: loaded
    [ 0.784213] vgaarb: bridge control possible 0000:00:02.0
    [ 0.784333] PCI: Using ACPI for IRQ routing
    [ 0.786165] PCI: pci_cache_line_size set to 64 bytes
    [ 0.786172] pci 0000:00:04.0: no compatible bridge window for [mem 0xfed98000-0xfed9ffff 64bit]
    [ 0.786212] e820: reserve RAM buffer [mem 0x00088000-0x0008ffff]
    [ 0.786214] e820: reserve RAM buffer [mem 0x40004000-0x43ffffff]
    [ 0.786216] e820: reserve RAM buffer [mem 0xc3217018-0xc3ffffff]
    [ 0.786217] e820: reserve RAM buffer [mem 0xc4db0000-0xc7ffffff]
    [ 0.786219] e820: reserve RAM buffer [mem 0xca7bf000-0xcbffffff]
    [ 0.786221] e820: reserve RAM buffer [mem 0xcb000000-0xcbffffff]
    [ 0.786222] e820: reserve RAM buffer [mem 0x22f600000-0x22fffffff]
    [ 0.786315] NetLabel: Initializing
    [ 0.786317] NetLabel: domain hash size = 128
    [ 0.786318] NetLabel: protocols = UNLABELED CIPSOv4
    [ 0.786331] NetLabel: unlabeled traffic allowed by default
    [ 0.786356] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
    [ 0.786361] hpet0: 8 comparators, 64-bit 14.318180 MHz counter
    [ 0.788395] Switched to clocksource hpet
    [ 0.793449] pnp: PnP ACPI init
    [ 0.793466] ACPI: bus type PNP registered
    [ 0.793581] pnp 00:00: [dma 4]
    [ 0.793609] pnp 00:00: Plug and Play ACPI device, IDs PNP0200 (active)
    [ 0.793633] pnp 00:01: Plug and Play ACPI device, IDs INT0800 (active)
    [ 0.793732] pnp 00:02: Plug and Play ACPI device, IDs PNP0103 (active)
    [ 0.793773] pnp 00:03: Plug and Play ACPI device, IDs PNP0c04 (active)
    [ 0.793820] system 00:04: [io 0x0680-0x069f] has been reserved
    [ 0.793822] system 00:04: [io 0x1000-0x100f] has been reserved
    [ 0.793824] system 00:04: [io 0xffff] has been reserved
    [ 0.793826] system 00:04: [io 0xffff] has been reserved
    [ 0.793829] system 00:04: [io 0x0400-0x0453] could not be reserved
    [ 0.793831] system 00:04: [io 0x0458-0x047f] has been reserved
    [ 0.793833] system 00:04: [io 0x0500-0x057f] has been reserved
    [ 0.793835] system 00:04: [io 0x164e-0x164f] has been reserved
    [ 0.793838] system 00:04: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.793870] pnp 00:05: Plug and Play ACPI device, IDs PNP0b00 (active)
    [ 0.793919] system 00:06: [io 0x0454-0x0457] has been reserved
    [ 0.793922] system 00:06: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active)
    [ 0.793963] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 (active)
    [ 0.794001] pnp 00:08: Plug and Play ACPI device, IDs SYN2b01 SYN2b00 SYN0002 PNP0f13 (active)
    [ 0.794134] system 00:09: [mem 0xfed1c000-0xfed1ffff] has been reserved
    [ 0.794137] system 00:09: [mem 0xfed10000-0xfed17fff] has been reserved
    [ 0.794139] system 00:09: [mem 0xfed18000-0xfed18fff] has been reserved
    [ 0.794141] system 00:09: [mem 0xfed19000-0xfed19fff] has been reserved
    [ 0.794143] system 00:09: [mem 0xf0000000-0xf3ffffff] has been reserved
    [ 0.794145] system 00:09: [mem 0xfed20000-0xfed3ffff] has been reserved
    [ 0.794148] system 00:09: [mem 0xfed90000-0xfed93fff] could not be reserved
    [ 0.794150] system 00:09: [mem 0xff000000-0xffffffff] could not be reserved
    [ 0.794152] system 00:09: [mem 0xfee00000-0xfeefffff] could not be reserved
    [ 0.794154] system 00:09: [mem 0xcfa00000-0xcfa00fff] has been reserved
    [ 0.794157] system 00:09: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.794451] system 00:0a: [mem 0x20000000-0x201fffff] has been reserved
    [ 0.794453] system 00:0a: [mem 0x40004000-0x40004fff] has been reserved
    [ 0.794456] system 00:0a: Plug and Play ACPI device, IDs PNP0c01 (active)
    [ 0.794473] pnp: PnP ACPI: found 11 devices
    [ 0.794475] ACPI: bus type PNP unregistered
    [ 0.801229] pci 0000:00:04.0: BAR 0: assigned [mem 0xcfa08000-0xcfa0ffff 64bit]
    [ 0.801237] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7]
    [ 0.801239] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff]
    [ 0.801241] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
    [ 0.801243] pci_bus 0000:00: resource 7 [mem 0x000c0000-0x000c3fff]
    [ 0.801245] pci_bus 0000:00: resource 8 [mem 0x000c4000-0x000c7fff]
    [ 0.801247] pci_bus 0000:00: resource 9 [mem 0x000c8000-0x000cbfff]
    [ 0.801249] pci_bus 0000:00: resource 10 [mem 0x000cc000-0x000cffff]
    [ 0.801251] pci_bus 0000:00: resource 11 [mem 0x000d0000-0x000d3fff]
    [ 0.801253] pci_bus 0000:00: resource 12 [mem 0x000d4000-0x000d7fff]
    [ 0.801254] pci_bus 0000:00: resource 13 [mem 0x000d8000-0x000dbfff]
    [ 0.801256] pci_bus 0000:00: resource 14 [mem 0x000dc000-0x000dffff]
    [ 0.801258] pci_bus 0000:00: resource 15 [mem 0x000e0000-0x000e3fff]
    [ 0.801260] pci_bus 0000:00: resource 16 [mem 0x000e4000-0x000e7fff]
    [ 0.801262] pci_bus 0000:00: resource 17 [mem 0x000e8000-0x000ebfff]
    [ 0.801264] pci_bus 0000:00: resource 18 [mem 0x000ec000-0x000effff]
    [ 0.801266] pci_bus 0000:00: resource 19 [mem 0xcfa00000-0xfeafffff]
    [ 0.801299] NET: Registered protocol family 2
    [ 0.801504] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
    [ 0.801681] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
    [ 0.801864] TCP: Hash tables configured (established 65536 bind 65536)
    [ 0.801881] TCP: reno registered
    [ 0.801894] UDP hash table entries: 4096 (order: 5, 131072 bytes)
    [ 0.801927] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
    [ 0.802001] NET: Registered protocol family 1
    [ 0.802012] pci 0000:00:02.0: Boot video device
    [ 0.838581] PCI: CLS 64 bytes, default 64
    [ 0.838623] Unpacking initramfs...
    [ 0.931743] Freeing initrd memory: 4464K (ffff88007fba4000 - ffff880080000000)
    [ 0.931755] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
    [ 0.931757] software IO TLB [mem 0xbf1c0000-0xc31c0000] (64MB) mapped at [ffff8800bf1c0000-ffff8800c31bffff]
    [ 0.931789] Simple Boot Flag at 0x44 set to 0x1
    [ 0.932025] microcode: CPU0 sig=0x306a9, pf=0x10, revision=0x17
    [ 0.932033] microcode: CPU1 sig=0x306a9, pf=0x10, revision=0x17
    [ 0.932042] microcode: CPU2 sig=0x306a9, pf=0x10, revision=0x17
    [ 0.932051] microcode: CPU3 sig=0x306a9, pf=0x10, revision=0x17
    [ 0.932111] microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
    [ 0.932127] Scanning for low memory corruption every 60 seconds
    [ 0.932408] futex hash table entries: 2048 (order: 5, 131072 bytes)
    [ 0.948267] HugeTLB registered 2 MB page size, pre-allocated 0 pages
    [ 0.949675] zbud: loaded
    [ 0.949848] VFS: Disk quotas dquot_6.5.2
    [ 0.949897] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 0.950024] msgmni has been set to 15732
    [ 0.950080] Key type big_key registered
    [ 0.950224] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [ 0.950262] io scheduler noop registered
    [ 0.950265] io scheduler deadline registered (default)
    [ 0.950296] io scheduler cfq registered
    [ 0.950355] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    [ 0.950370] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
    [ 0.950401] efifb: probing for efifb
    [ 0.950423] efifb: framebuffer at 0xd0000000, mapped to 0xffffc90004f00000, using 5628k, total 5625k
    [ 0.950425] efifb: mode is 1600x900x32, linelength=6400, pages=1
    [ 0.950426] efifb: scrolling: redraw
    [ 0.950428] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
    [ 0.955222] Console: switching to colour frame buffer device 200x56
    [ 0.959939] fb0: EFI VGA frame buffer device
    [ 0.959947] intel_idle: MWAIT substates: 0x21120
    [ 0.959948] intel_idle: v0.4 model 0x3A
    [ 0.959949] intel_idle: lapic_timer_reliable_states 0xffffffff
    [ 0.960140] GHES: HEST is not enabled!
    [ 0.960192] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [ 0.960674] Linux agpgart interface v0.103
    [ 0.960719] rtc_cmos 00:05: RTC can wake from S4
    [ 0.960854] rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
    [ 0.960891] rtc_cmos 00:05: alarms up to one month, 242 bytes nvram, hpet irqs
    [ 0.960901] Intel P-state driver initializing.
    [ 0.960913] Intel pstate controlling: cpu 0
    [ 0.960933] Intel pstate controlling: cpu 1
    [ 0.960948] Intel pstate controlling: cpu 2
    [ 0.960965] Intel pstate controlling: cpu 3
    [ 0.960993] ledtrig-cpu: registered to indicate activity on CPUs
    [ 0.961133] TCP: cubic registered
    [ 0.961239] NET: Registered protocol family 10
    [ 0.961427] NET: Registered protocol family 17
    [ 0.961965] registered taskstats version 1
    [ 0.962642] Magic number: 6:677:88
    [ 0.962705] acpi INT3F0D:00: hash matches
    [ 0.962828] rtc_cmos 00:05: setting system clock to 2014-11-03 18:04:54 UTC (1415037894)
    [ 0.963002] PM: Checking hibernation image partition /dev/mapper/Linux-Swap
    [ 0.963010] PM: Hibernation image not present or could not be loaded.
    [ 0.964972] Freeing unused kernel memory: 1136K (ffffffff818d8000 - ffffffff819f4000)
    [ 0.964975] Write protecting the kernel read-only data: 8192k
    [ 0.970240] Freeing unused kernel memory: 944K (ffff880001514000 - ffff880001600000)
    [ 0.971926] Freeing unused kernel memory: 408K (ffff88000179a000 - ffff880001800000)
    [ 0.980028] random: systemd-tmpfile urandom read with 3 bits of entropy available
    [ 0.981987] systemd-udevd[57]: starting version 216
    [ 0.993396] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
    [ 0.999168] ACPI: bus type USB registered
    [ 0.999188] usbcore: registered new interface driver usbfs
    [ 0.999195] usbcore: registered new interface driver hub
    [ 0.999618] SCSI subsystem initialized
    [ 0.999671] usbcore: registered new device driver usb
    [ 1.000171] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.000324] ehci-pci: EHCI PCI platform driver
    [ 1.000472] ehci-pci 0000:00:1a.0: EHCI Host Controller
    [ 1.000479] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
    [ 1.000498] ehci-pci 0000:00:1a.0: debug port 2
    [ 1.001114] libata version 3.00 loaded.
    [ 1.004412] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
    [ 1.004425] ehci-pci 0000:00:1a.0: irq 16, io mem 0xe0421000
    [ 1.005570] serio: i8042 KBD port at 0x60,0x64 irq 1
    [ 1.005576] serio: i8042 AUX port at 0x60,0x64 irq 12
    [ 1.018706] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
    [ 1.018976] hub 1-0:1.0: USB hub found
    [ 1.018989] hub 1-0:1.0: 2 ports detected
    [ 1.019277] ehci-pci 0000:00:1d.0: EHCI Host Controller
    [ 1.019281] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
    [ 1.019293] ehci-pci 0000:00:1d.0: debug port 2
    [ 1.023202] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
    [ 1.023218] ehci-pci 0000:00:1d.0: irq 23, io mem 0xe0420000
    [ 1.028001] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
    [ 1.038738] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
    [ 1.039375] hub 2-0:1.0: USB hub found
    [ 1.039401] hub 2-0:1.0: 2 ports detected
    [ 1.039970] xhci_hcd 0000:00:14.0: xHCI Host Controller
    [ 1.039984] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
    [ 1.040112] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
    [ 1.040137] xhci_hcd 0000:00:14.0: irq 42 for MSI/MSI-X
    [ 1.040384] hub 3-0:1.0: USB hub found
    [ 1.040404] hub 3-0:1.0: 4 ports detected
    [ 1.040970] xhci_hcd 0000:00:14.0: xHCI Host Controller
    [ 1.040975] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4
    [ 1.041377] hub 4-0:1.0: USB hub found
    [ 1.041406] hub 4-0:1.0: 4 ports detected
    [ 1.041933] ahci 0000:00:1f.2: version 3.0
    [ 1.042141] ahci 0000:00:1f.2: irq 43 for MSI/MSI-X
    [ 1.042189] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 3 Gbps 0x1 impl SATA mode
    [ 1.042192] ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part ems apst
    [ 1.042951] scsi0 : ahci
    [ 1.043089] scsi1 : ahci
    [ 1.043205] scsi2 : ahci
    [ 1.043321] scsi3 : ahci
    [ 1.043443] scsi4 : ahci
    [ 1.043605] scsi5 : ahci
    [ 1.043699] ata1: SATA max UDMA/133 abar m2048@0xe041f000 port 0xe041f100 irq 43
    [ 1.043704] ata2: DUMMY
    [ 1.043707] ata3: DUMMY
    [ 1.043709] ata4: DUMMY
    [ 1.043711] ata5: DUMMY
    [ 1.043713] ata6: DUMMY
    [ 1.339195] usb 1-1: new high-speed USB device number 2 using ehci-pci
    [ 1.389168] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [ 1.390125] ata1.00: failed to get NCQ Send/Recv Log Emask 0x1
    [ 1.390134] ata1.00: ATA-9: SAMSUNG MZMTD256HAGM-000L1, DXT42L0Q, max UDMA/133
    [ 1.390139] ata1.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
    [ 1.390821] ata1.00: failed to get NCQ Send/Recv Log Emask 0x1
    [ 1.390986] ata1.00: configured for UDMA/133
    [ 1.391372] scsi 0:0:0:0: Direct-Access ATA SAMSUNG MZMTD256 DXT4 PQ: 0 ANSI: 5
    [ 1.401296] sd 0:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238 GiB)
    [ 1.401579] sd 0:0:0:0: [sda] Write Protect is off
    [ 1.401588] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [ 1.401790] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 1.404906] sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
    [ 1.406850] sd 0:0:0:0: [sda] Attached SCSI disk
    [ 1.490272] hub 1-1:1.0: USB hub found
    [ 1.490465] hub 1-1:1.0: 6 ports detected
    [ 1.512747] device-mapper: uevent: version 1.0.3
    [ 1.512926] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: [email protected]
    [ 1.519284] bio: create slab <bio-1> at 1
    [ 1.545404] PM: Starting manual resume from disk
    [ 1.545409] PM: Hibernation image partition 254:0 present
    [ 1.545411] PM: Looking for hibernation image.
    [ 1.545576] PM: Image not found (code -22)
    [ 1.545578] PM: Hibernation image not present or could not be loaded.
    [ 1.579429] atkbd serio0: Unknown key pressed (translated set 2, code 0xbe on isa0060/serio0).
    [ 1.579432] atkbd serio0: Use 'setkeycodes e03e <keycode>' to make it known.
    [ 1.583409] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)
    [ 1.584558] atkbd serio0: Unknown key released (translated set 2, code 0xbe on isa0060/serio0).
    [ 1.584561] atkbd serio0: Use 'setkeycodes e03e <keycode>' to make it known.
    [ 1.609376] usb 2-1: new high-speed USB device number 2 using ehci-pci
    [ 1.665486] systemd[1]: Mounting cgroup to /sys/fs/cgroup/cpuset of type cgroup with options cpuset.
    [ 1.665742] systemd[1]: Mounting cgroup to /sys/fs/cgroup/cpu,cpuacct of type cgroup with options cpu,cpuacct.
    [ 1.665813] systemd[1]: Mounting cgroup to /sys/fs/cgroup/memory of type cgroup with options memory.
    [ 1.665853] systemd[1]: Mounting cgroup to /sys/fs/cgroup/devices of type cgroup with options devices.
    [ 1.665880] systemd[1]: Mounting cgroup to /sys/fs/cgroup/freezer of type cgroup with options freezer.
    [ 1.665906] systemd[1]: Mounting cgroup to /sys/fs/cgroup/net_cls of type cgroup with options net_cls.
    [ 1.665932] systemd[1]: Mounting cgroup to /sys/fs/cgroup/blkio of type cgroup with options blkio.
    [ 1.665987] systemd[1]: systemd 216 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN )
    [ 1.666093] systemd[1]: Detected architecture 'x86-64'.
    [ 1.667499] systemd[1]: Set hostname to <arch-yogi>.
    [ 1.668059] systemd[1]: Using cgroup controller name=systemd. File system hierarchy is at /sys/fs/cgroup/systemd.
    [ 1.668094] systemd[1]: Installed release agent.
    [ 1.668133] systemd[1]: Set up TFD_TIMER_CANCEL_ON_SET timerfd.
    [ 1.669521] systemd[146]: Spawned /usr/lib/systemd/system-generators/systemd-getty-generator as 147.
    [ 1.669581] systemd[146]: Spawned /usr/lib/systemd/system-generators/systemd-gpt-auto-generator as 148.
    [ 1.669637] systemd[146]: Spawned /usr/lib/systemd/system-generators/systemd-fstab-generator as 149.
    [ 1.669689] systemd[146]: Spawned /usr/lib/systemd/system-generators/systemd-system-update-generator as 150.
    [ 1.669743] systemd[146]: Spawned /usr/lib/systemd/system-generators/lvm2-activation-generator as 151.
    [ 1.669826] systemd[146]: Spawned /usr/lib/systemd/system-generators/systemd-efi-boot-generator as 152.
    [ 1.669899] systemd[146]: Spawned /usr/lib/systemd/system-generators/systemd-debug-generator as 153.
    [ 1.669992] systemd[146]: Spawned /usr/lib/systemd/system-generators/systemd-cryptsetup-generator as 154.
    [ 1.671020] systemd[146]: /usr/lib/systemd/system-generators/systemd-getty-generator succeeded.
    [ 1.677317] systemd[146]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator succeeded.
    [ 1.678493] systemd[146]: /usr/lib/systemd/system-generators/systemd-fstab-generator succeeded.
    [ 1.678499] systemd[146]: /usr/lib/systemd/system-generators/systemd-system-update-generator succeeded.
    [ 1.689210] systemd[146]: /usr/lib/systemd/system-generators/lvm2-activation-generator succeeded.
    [ 1.689216] systemd[146]: /usr/lib/systemd/system-generators/systemd-efi-boot-generator succeeded.
    [ 1.689220] systemd[146]: /usr/lib/systemd/system-generators/systemd-debug-generator succeeded.
    [ 1.689223] systemd[146]: /usr/lib/systemd/system-generators/systemd-cryptsetup-generator succeeded.
    [ 1.689278] systemd[1]: /usr/lib/systemd/system-generators succeeded.
    [ 1.689509] systemd[1]: Looking for unit files in (higher priority first):
    [ 1.689512] systemd[1]: /etc/systemd/system
    [ 1.689513] systemd[1]: /run/systemd/system
    [ 1.689514] systemd[1]: /run/systemd/generator
    [ 1.689516] systemd[1]: /usr/local/lib/systemd/system
    [ 1.689517] systemd[1]: /usr/lib/systemd/system
    [ 1.689518] systemd[1]: /run/systemd/generator.late
    [ 1.689520] systemd[1]: SysV init scripts and rcN.d links support disabled
    [ 1.696010] systemd[1]: Failed to load configuration for auditd.service: No such file or directory
    [ 1.699470] systemd[1]: Failed to load configuration for plymouth-start.service: No such file or directory
    [ 1.704745] systemd[1]: Failed to load configuration for syslog.service: No such file or directory
    [ 1.711661] systemd[1]: Failed to load configuration for plymouth-quit.service: No such file or directory
    [ 1.712238] systemd[1]: Failed to load configuration for plymouth-quit-wait.service: No such file or directory
    [ 1.720811] systemd[1]: Using notification socket /run/systemd/notify
    [ 1.720824] systemd[1]: Successfully created private D-Bus server.
    [ 1.720829] systemd[1]: -.mount changed dead -> mounted
    [ 1.720856] systemd[1]: Activating default unit: default.target
    [ 1.720860] systemd[1]: Trying to enqueue job graphical.target/start/isolate
    [ 1.720991] systemd[1]: Looking at job [email protected]/stop conflicted_by=yes
    [ 1.720993] systemd[1]: Looking at job [email protected]/start conflicted_by=no
    [ 1.720996] systemd[1]: Fixing conflicting jobs [email protected]/stop,[email protected]/start by deleting job [email protected]/start
    [ 1.720998] systemd[1]: Looking at job gdm.service/start conflicted_by=no
    [ 1.721000] systemd[1]: Looking at job gdm.service/stop conflicted_by=no
    [ 1.721002] systemd[1]: Fixing conflicting jobs gdm.service/start,gdm.service/stop by deleting job gdm.service/stop
    [ 1.721036] systemd[1]: Installed new job graphical.target/start as 1
    [ 1.721044] systemd[1]: Installed new job multi-user.target/start as 2
    [ 1.721048] systemd[1]: Installed new job basic.target/start as 3
    [ 1.721052] systemd[1]: Installed new job sysinit.target/start as 4
    [ 1.721056] systemd[1]: Installed new job local-fs.target/start as 5
    [ 1.721059] systemd[1]: Installed new job boot.mount/start as 6
    [ 1.721063] systemd[1]: Installed new job system.slice/start as 8
    [ 1.721067] systemd[1]: Installed new job -.slice/start as 9
    [ 1.721070] systemd[1]: Installed new job dev-sda2.device/start as 10
    [ 1.721077] systemd[1]: Installed new job [email protected]/start as 11
    [ 1.721082] systemd[1]: Installed new job system-systemd\x2dfsck.slice/start as 12
    [ 1.721085] systemd[1]: Installed new job home.mount/start as 15
    [ 1.721089] systemd[1]: Installed new job dev-mapper-Linux\x2dHome.device/start as 16
    [ 1.721093] systemd[1]: Installed new job systemd-fsck@dev-mapper-Linux\x2dHome.service/start as 17
    [ 1.721097] systemd[1]: Installed new job systemd-fsck-root.service/start as 18
    [ 1.721100] systemd[1]: Installed new job tmp.mount/start as 19
    [ 1.721104] systemd[1]: Installed new job systemd-remount-fs.service/start as 20
    [ 1.721107] systemd[1]: Installed new job local-fs-pre.target/start as 21
    [ 1.721110] systemd[1]: Installed new job boot.automount/start as 22
    [ 1.721114] systemd[1]: Installed new job swap.target/start as 23
    [ 1.721117] systemd[1]: Installed new job dev-mapper-Linux\x2dSwap.swap/start as 24
    [ 1.721121] systemd[1]: Installed new job dev-mapper-Linux\x2dSwap.device/start as 25
    [ 1.721124] systemd[1]: Installed new job systemd-timesyncd.service/start as 26
    [ 1.721127] systemd[1]: Installed new job time-sync.target/start as 27
    [ 1.721131] systemd[1]: Installed new job ldconfig.service/start as 28
    [ 1.721134] systemd[1]: Installed new job sys-kernel-debug.mount/start as 29
    [ 1.721137] systemd[1]: Installed new job systemd-vconsole-setup.service/start as 30
    [ 1.721140] systemd[1]: Installed new job sys-kernel-config.mount/start as 31
    [ 1.721144] systemd[1]: Installed new job systemd-journal-flush.service/start as 32
    [ 1.721147] systemd[1]: Installed new job systemd-journald.service/start as 33
    [ 1.721150] systemd[1]: Installed new job systemd-journald.socket/start as 34
    [ 1.721154] systemd[1]: Installed new job systemd-journald-dev-log.socket/start as 35
    [ 1.721157] systemd[1]: Installed new job systemd-sysctl.service/start as 36
    [ 1.721160] systemd[1]: Installed new job systemd-firstboot.service/start as 37
    [ 1.721164] systemd[1]: Installed new job cryptsetup.target/start as 38
    [ 1.721167] systemd[1]: Installed new job lvm2-lvmetad.socket/start as 39
    [ 1.721170] systemd[1]: Installed new job kmod-static-nodes.service/start as 40
    [ 1.721173] systemd[1]: Installed new job systemd-binfmt.service/start as 41
    [ 1.721177] systemd[1]: Installed new job sys-fs-fuse-connections.mount/start as 42
    [ 1.721180] systemd[1]: Installed new job systemd-journal-catalog-update.service/start as 43
    [ 1.721184] systemd[1]: Installed new job systemd-udevd.service/start as 44
    [ 1.721187] systemd[1]: Installed new job systemd-udevd-control.socket/start as 45
    [ 1.721191] systemd[1]: Installed new job systemd-udevd-kernel.socket/start as 46
    [ 1.721194] systemd[1]: Installed new job systemd-ask-password-console.path/start as 47
    [ 1.721197] systemd[1]: Installed new job systemd-random-seed.service/start as 48
    [ 1.721200] systemd[1]: Installed new job dev-mqueue.mount/start as 49
    [ 1.721204] systemd[1]: Installed new job systemd-modules-load.service/start as 50
    [ 1.721207] systemd[1]: Installed new job proc-sys-fs-binfmt_misc.automount/start as 51
    [ 1.721211] systemd[1]: Installed new job systemd-tmpfiles-setup-dev.service/start as 52
    [ 1.721214] systemd[1]: Installed new job systemd-udev-trigger.service/start as 53
    [ 1.721217] systemd[1]: Installed new job systemd-tmpfiles-setup.service/start as 54
    [ 1.721220] systemd[1]: Installed new job systemd-update-utmp.service/start as 55
    [ 1.721224] systemd[1]: Installed new job dev-hugepages.mount/start as 56
    [ 1.721227] systemd[1]: Installed new job systemd-sysusers.service/start as 57
    [ 1.721230] systemd[1]: Installed new job systemd-udev-hwdb-update.service/start as 58
    [ 1.721233] systemd[1]: Installed new job systemd-update-done.service/start as 59
    [ 1.721237] systemd[1]: Installed new job sockets.target/start as 62
    [ 1.721240] systemd[1]: Installed new job acpid.socket/start as 63
    [ 1.721244] systemd[1]: Installed new job systemd-shutdownd.socket/start as 64
    [ 1.721247] systemd[1]: Installed new job dm-event.socket/start as 65
    [ 1.721250] systemd[1]: Installed new job systemd-initctl.socket/start as 66
    [ 1.721254] systemd[1]: Installed new job dbus.socket/start as 67
    [ 1.721257] systemd[1]: Installed new job timers.target/start as 68
    [ 1.721260] systemd[1]: Installed new job systemd-tmpfiles-clean.timer/start as 69
    [ 1.721263] systemd[1]: Installed new job paths.target/start as 70
    [ 1.721267] systemd[1]: Installed new job slices.target/start as 71
    [ 1.721270] systemd[1]: Installed new job acpid.service/start as 72
    [ 1.721272] systemd[1]: Installed new job systemd-udev-settle.service/start as 73
    [ 1.721276] systemd[1]: Installed new job remote-fs.target/start as 74
    [ 1.721279] systemd[1]: Installed new job NetworkManager.service/start as 75
    [ 1.721282] systemd[1]: Installed new job network.target/start as 76
    [ 1.721286] systemd[1]: Installed new job man-db.timer/start as 77
    [ 1.721289] systemd[1]: Installed new job dbus.service/start as 78
    [ 1.721292] systemd[1]: Installed new job getty.target/start as 79
    [ 1.721295] systemd[1]: Installed new job system-getty.slice/start as 81
    [ 1.721299] systemd[1]: Installed new job gdm.service

    So it times out (taking 3 minutes) then says
    [FAILED] Failed to start udev Wait for Complete Device Initialization.
    See "systemctl status systemd-udev-settle.service" for details
    [DEPEND] Dependency failed for ACPI event daemon
    so I ran
    systemctl status systemd-udev-settle
    with this output:
    ● systemd-udev-settle.service - udev Wait for Complete Device Initialization
    Loaded: loaded (/usr/lib/systemd/system/systemd-udev-settle.service; static)
    Active: active (exited) since Thu 2014-11-13 11:40:16 EST; 1min 24s ago
    Docs: man:udev(7)
    man:systemd-udevd.service(8)
    Process: 583 ExecStart=/usr/bin/udevadm settle (code=exited, status=0/SUCCESS)
    Main PID: 583 (code=exited, status=0/SUCCESS)
    CGroup: /system.slice/systemd-udev-settle.service
    Nov 13 11:40:14 arch-yogi systemd[1]: systemd-udev-settle.service changed failed -> start
    Nov 13 11:40:16 arch-yogi systemd[1]: Child 583 belongs to systemd-udev-settle.service
    Nov 13 11:40:16 arch-yogi systemd[1]: systemd-udev-settle.service: main process exited, code=exited, status=0/SUCCESS
    Nov 13 11:40:16 arch-yogi systemd[1]: systemd-udev-settle.service changed start -> exited
    Nov 13 11:40:16 arch-yogi systemd[1]: Job systemd-udev-settle.service/start finished, result=done
    Nov 13 11:40:16 arch-yogi systemd[1]: Started udev Wait for Complete Device Initialization.
    Nov 13 11:40:16 arch-yogi systemd[1]: systemd-udev-settle.service: cgroup is empty
    and after another
    systemd-analyze blame
    I get:
    2.358s systemd-udev-settle.service
    995ms lvm2-pvscan@8:8.service
    558ms rtkit-daemon.service
    488ms NetworkManager.service
    458ms udisks2.service
    341ms systemd-udev-trigger.service
    341ms systemd-binfmt.service
    319ms systemd-tmpfiles-setup-dev.service
    315ms systemd-random-seed.service
    301ms systemd-journald.service
    299ms proc-sys-fs-binfmt_misc.mount
    166ms systemd-udevd.service
    133ms [email protected]
    108ms systemd-journal-flush.service
    98ms systemd-logind.service
    90ms systemd-timesyncd.service
    80ms bluetooth.service
    65ms [email protected]
    47ms polkit.service
    37ms accounts-daemon.service
    28ms wpa_supplicant.service
    26ms systemd-sysctl.service
    25ms colord.service
    23ms systemd-fsck@dev-mapper-Linux\x2dHome.service
    23ms [email protected]
    22ms [email protected]
    21ms [email protected]
    19ms boot.mount
    18ms upower.service
    17ms avahi-daemon.service
    14ms systemd-remount-fs.service
    13ms gdm.service
    11ms tmp.mount
    11ms systemd-vconsole-setup.service
    10ms sys-kernel-debug.mount
    9ms dev-mapper-Linux\x2dSwap.swap
    8ms kmod-static-nodes.service
    6ms systemd-tmpfiles-setup.service
    5ms systemd-user-sessions.service
    5ms dev-mqueue.mount
    4ms systemd-update-utmp.service
    3ms home.mount
    3ms sys-kernel-config.mount
    3ms sys-fs-fuse-connections.mount
    3ms systemd-backlight@backlight:intel_backlight.service
    2ms dev-hugepages.mount
    systemd-analyze gets it right though:
    Startup finished in 2.538s (firmware) + 62ms (loader) + 2.238s (kernel) + 3min 3.161s (userspace) = 3min 8.001s
    What can I do?

  • Dockingstation with udev and systemd

    Hello,
    first: sorry for my bad english... the last time i have practise my english was in school :-)
    now my problem:
    i try to setup a udev-rule for my thinkpad T61 when the latptop is (un)docked from the station.
    i try a lot of thinks... RUN+=" and such stuff -- but my script takes very long time (Setup Interface, WakeOnLAN, multiple cryptet mounts from my homeserver etc.) and killed by systemd after a while.
    related to this (jasonwryan.com -- Scripting with udev) and this (bbs.archlinux.org -- Automating a script for a usb device on systemd?) i create a udev-rule like this:
    /etc/udev/rules.d/10-thinkpad-dock.rules:
    TAG+="systemd", SUBSYSTEM=="platform", KERNEL=="dock.3", ACTION=="change", ENV{SYSTEMD_READY}="1", ENV{SYSTEMD_USER_WANTS}="dock.service"
    and a service-file like this:
    /etc/systemd/user/dock.service
    [Unit]
    Description=User docking actions
    After=graphical.target sys-devices-platform-dock.3.device
    [Service]
    Type=simple
    Restart=always
    Environment=DISPLAY=:0.0
    Environment=XAUTHORITY=/home/emilia/.Xauthority
    ExecStart=-/usr/local/sbin/tp-dock
    [Install]
    WantedBy=graphical.target sys-devices-platform-dock.3.device
    the problem is, the script runs only once at the first docking-action after a reboot. the other times nothing happens and also the logs are empty.
    Any suggestions and/or help please?

    Hello,
    first: sorry for my bad english... the last time i have practise my english was in school :-)
    now my problem:
    i try to setup a udev-rule for my thinkpad T61 when the latptop is (un)docked from the station.
    i try a lot of thinks... RUN+=" and such stuff -- but my script takes very long time (Setup Interface, WakeOnLAN, multiple cryptet mounts from my homeserver etc.) and killed by systemd after a while.
    related to this (jasonwryan.com -- Scripting with udev) and this (bbs.archlinux.org -- Automating a script for a usb device on systemd?) i create a udev-rule like this:
    /etc/udev/rules.d/10-thinkpad-dock.rules:
    TAG+="systemd", SUBSYSTEM=="platform", KERNEL=="dock.3", ACTION=="change", ENV{SYSTEMD_READY}="1", ENV{SYSTEMD_USER_WANTS}="dock.service"
    and a service-file like this:
    /etc/systemd/user/dock.service
    [Unit]
    Description=User docking actions
    After=graphical.target sys-devices-platform-dock.3.device
    [Service]
    Type=simple
    Restart=always
    Environment=DISPLAY=:0.0
    Environment=XAUTHORITY=/home/emilia/.Xauthority
    ExecStart=-/usr/local/sbin/tp-dock
    [Install]
    WantedBy=graphical.target sys-devices-platform-dock.3.device
    the problem is, the script runs only once at the first docking-action after a reboot. the other times nothing happens and also the logs are empty.
    Any suggestions and/or help please?

  • [SOLVED] Problem with acpid and systemd-logind

    Hi, I have the following problem: I want set an action, when power button is pushed, different from shutdown and I want do this with a rule in acpid. Before set a rule in acpid, I modified the /etc/systemd/logind.conf in the following way:
    HandlePowerKey=ignore
    HandleSuspendKey=ignore
    HandleHibernateKey=ignore
    HandleLidSwitch=ignore
    Of course I restart systemd-logind service.
    After this, I run #acpi_listen and when I press the power button, the output is the following:
    button/power PBTN 00000080 00000000
    button/power LNXPWRBN:00 00000080 00000008
    So at this point, with reference to arch wiki, I tried to set the acpid rule with a modify the /etc/acpi/handler.sh in this way:
    #!/bin/bash
    # Default acpi script that takes an entry for all actions
    case "$1" in
    button/power)
    case "$2" in
    PBTN)
    notify-send "this is a test message"
    logger 'Power button pressed'
    esac
    esac
    Because with this setting doesn't happens nothing, I tried the alternative configuration suggested in the arch wiki, So I create a file in /etc/acpi/events/power with this content:
    event=button/power
    action=/etc/acpi/actions/power.sh "%e"
    where power.sh has this content:
    #!/bin/bash
    notify-send "this is a test message"
    but also in the way when I push the power button doesn't happens nothing. Can you help me?
    P.S. I try to restart both service systemd-logind and acpid but the result is the same
    Last edited by pepib (2015-03-09 12:07:27)

    In the handler.sh script I put the getuser function and I modified the handler.sh as following:
    case "$1" in
    button/power)
    case "$2" in
    PBTN)
    getuser notify-send "this is a test message"
    but it continued to doesn't working. So at this point at place of getuser function I tried to put the
    export XAUTHORITY="/home/user/.Xauthority"
    export DISPLAY=":0.0"
    but it doesn't working. Fortunately, at the end I find this possible solution http://goo.gl/Lq4TsY that use uacpid. What was the problem? Where I wrong?

  • Problems with Vgaswitcheroo and Systemd

    Hi there,
    I have an Acer Timeline 4820tg with Intel HD 3000 integrated graphics and a ATI Radeon HD 5470. I want my Laptop to shut down the Radeon every time the system starts, so I do not have to write "echo OFF > /sys/kernel/debug/vgaswitcheroo/switch" every time I start my Laptop. I thought this would be easy, created the file radeonoff.conf in /etc/tmpfiles.d/ and filled it with "w /sys/kernel/debug/vgaswitcheroo/switch - - - - OFF". That first try, my system just hung. I tried several times without success, booted the LiveCD and removed the file. I also tried writing a service for this to wait until gdm had started, but this didn't work since ">" does not work in .service files, and since this is ugly because tmpfiles are thought to solve issues like this one. So my question, does anyone have an idea how to solve the hanging system? I achieved taking a photo of the hung-system-kernel-messages, so maybe this helps: http://ompldr.org/iZnJpYw
    Any help would be greaty appreciated
    Greetings, Jan

    I think that in order to not have things be quite so racy, you probably wnt to use udev rules (I know I suggest these damn thigns for just about everything... but they work).  That way, you can have the rule run once the necessary path in /sys becomes available.
    I do not use switching gpu at all, but it would seem that the module needs to be in the intramfs because otherwise it is trying to apply the tmpfiles before both modules have been picked up by udev or possibly before vgaswitcheroo has been fully initialized.  Thus the /sys/kernel/debug/vgaswitcheroo/switch path does not yet exist. 
    Use
    $ udevadm info -a -p /sys/kernel/debug/vgaswitcheroo
    to get some parameters to include in your rule.  Then also include
    WAIT_FOR="/sys/kernel/debug/vgaswitcheroo/switch
    in the rule.
    This is how I confiure the sesitivity of my trackpoint.  I know that it is not at all the same device, but just an example of how I set up my rule (since it has to wait for the sensitivity file to be present):
    KERNEL=="serio2", SUBSYSTEM=="serio", DRIVER=="psmouse", WAIT_FOR="/sys/devices/platform/i8042/serio1/serio2/sensitivity", ATTR{sensitivity}="190"
    I hope this might help... I too tried to use udev rules for a number of things, but it wasn't walys gauranteed that some of the paths had been set up yet.

  • [Solver]Nginx and fcgiwrap

    I have been trying to get a single user server side cookie setup running on arch with nginx and fcgiwrap. But cant seem to sort out the following my stripped down nginx.conf is as follows…
    server {
    listen 127.0.0.1:8080;
    server_name login;
    location / {
    root /home/nginx/login/;
    index index.html;
    location ~ \.cgi$ {
    #root if ommited throws 403 error
    #root /home/nginx/login #allows .cgi execution
    #root /home/nginx/login/cgi-bin/; #throws 403 error
    fastcgi_pass unix:/home/nginx/fcgiwrap.sock;
    include fastcgi.conf;
    current file setup is…
    nginx:nginx rwxr-x--- /home/nginx/login - web server root
    fcgi:fcgi rwxr-x--- /home/nginx/login/cgi-bin - restrict executables to this folder
    With nginx being in the fcgi group and fcgi being in the nginx group...
    I was hoping I could restrict what nginx would pass to fcgiwrap to a none nginx owned sub directory. Or at worst figure out whats actually going on here and the only thing i’ve found through searching is old posts about a fcgiwrap bug that was apparently fixed on debian years ago.
    So far the only sort of error log or anything to help with debugging has been
    Cannot get script name, are DOCUMENT_ROOT and SCRIPT_NAME (or SCRIPT_FILENAME) set and is the script executable?
    Output from journalctl -u fcgiwrap.service -f…
    Guessing I could just be going about this the wrong way but I’m stumped and could use any help trying to figure this out.
    Last edited by spareproject (2014-07-29 14:31:01)

    solved thanks to kolbyjack on freenode #nginx...
    Stops cgi from being executed in anything bar the cgi-bin folder in the web root
    and throws 404 errors for anything that isnt a .cgi in the cgi-bin
    http {
    upstream_fcgiwrap { server unix:/home/nginx/fcgiwrap.sock }
    server {
    listen 127.0.0.1:8080;
    server_name login;
    root /home/nginx/login/;
    index index.html;
    location /cgi-bin/ {
    return 404;
    location ~ \.cgi$ {
    fastcgi_pass _fcgiwrap;
    include fastcgi.conf;

  • Problem with SSL weblogic plug in and Apache

    We're using mod_wl_22.so with Apache, and after some problems with the mod failing on startup it is now working. We can access the weblogic SSL page fine directly on port 16101 with no warning, when we try via the proxy we get a failure of server Apache bride --------------------------------------------------------------------------------
    No backend server available for connection: timed out after 10 seconds or idempotent set to OFF. And in the wl_proxy.log there is a message that I think relates to the trustedcertfile in our http.conf file. We have a root certificate in pem format as the trustedcertfile.
    ================New Request: [GET /irm_desktop HTTP/1.1] =================
    Thu Jan 27 21:52:15 2011 <258812961651354> INFO: SSL is configured
    Thu Jan 27 21:52:15 2011 <258812961651354> INFO: SSL configured successfully
    Thu Jan 27 21:52:15 2011 <258812961651354> Using Uri /irm_desktop
    Thu Jan 27 21:52:15 2011 <258812961651354> After trimming path: '/irm_desktop'
    Thu Jan 27 21:52:15 2011 <258812961651354> The final request string is '/irm_desktop'
    Thu Jan 27 21:52:15 2011 <258812961651354> SEARCHING id=[sealedinfo-prod:16101] from current ID=[sealedinfo-prod:16101]
    Thu Jan 27 21:52:15 2011 <258812961651354> The two ids matched
    Thu Jan 27 21:52:15 2011 <258812961651354> @@@FOUND...id=[sealedinfo-prod:16101], server_name=[uat.sealedinfo.com], server_port=[443]
    Thu Jan 27 21:52:15 2011 <258812961651354> attempt #0 out of a max of 5
    Thu Jan 27 21:52:15 2011 <258812961651354> Trying a pooled connection for '10.10.10.10/16101/16101'
    Thu Jan 27 21:52:15 2011 <258812961651354> getPooledConn: No more connections in the pool for Host[10.10.10.10] Port[16101] SecurePort[16101]
    Thu Jan 27 21:52:15 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
    Thu Jan 27 21:52:15 2011 <258812961651354> New SSL URL: match = 0 oid = 22
    Thu Jan 27 21:52:15 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Thu Jan 27 21:52:15 2011 <258812961651354> EINPROGRESS in connect() - selecting
    Thu Jan 27 21:52:15 2011 <258812961651354> Setting peerID for new SSL connection
    Thu Jan 27 21:52:15 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
    Thu Jan 27 21:52:15 2011 <258812961651354> Local Port of the socket is 63867
    Thu Jan 27 21:52:15 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
    Thu Jan 27 21:52:15 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63867
    Thu Jan 27 21:52:15 2011 <258812961648171> WARN: GetSessionCallback: No session match found
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
    Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
    Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
    Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
    Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
    Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
    Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3094
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
    Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Thu Jan 27 21:52:16 2011 <258812961651354> attempt #1 out of a max of 5
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
    Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
    Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
    Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
    Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
    Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63868
    Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63868
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
    Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
    Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
    Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
    Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
    Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
    Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3094
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
    Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Thu Jan 27 21:52:16 2011 <258812961651354> attempt #2 out of a max of 5
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
    Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
    Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
    Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
    Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
    Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63869
    Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63869
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
    Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
    Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
    Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
    Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
    Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
    Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3094
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
    Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Thu Jan 27 21:52:16 2011 <258812961651354> attempt #3 out of a max of 5
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
    Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
    Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
    Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
    Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
    Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63870
    Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63870
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
    Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
    Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
    Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
    Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
    Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
    Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3094
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
    Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Thu Jan 27 21:52:16 2011 <258812961651354> attempt #4 out of a max of 5
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
    Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
    Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
    Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
    Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
    Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63871
    Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63871
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
    Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
    Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
    Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
    Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
    Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
    Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3094
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
    Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Thu Jan 27 21:52:16 2011 <258812961651354> attempt #5 out of a max of 5
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
    Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
    Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
    Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
    Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
    Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63872
    Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63872
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
    Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
    Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
    Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
    Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
    Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
    Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3094
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
    Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Thu Jan 27 21:52:16 2011 <258812961651354> request [irm_desktop] did NOT process successfully..................

    I see that it is six months ago that I first posted this. Nothing has changed. When I use affixa to create a message with an attachment from my gmail account in firefox, the message is created in drafts, but the gmail window is closed and I have to re-open it. Not critical, but annoying.
    Now there is a plug-in on the affixa site that is supposed to be designed for Firefox, and which affixa support claims should take care of this. And I've downloaded it twice. When you download it and open it, it says that it will be installed when Firefox restarts, and gives you a button to restart Firefox. But after you click that button and firefox disappears and re-appears, the affixa plug-in is NOT in the plugin list.
    Please, somebody, HELP.

  • SSL certificate not valid in Safari, but webservice  works with Chrome and Firefox

    As a MD, I'm used to check blood results online on the service
    https://inet.zentral-labor.ch/c16/kunweb.dll - this is the online-portal of my laboratory medica in Zurich. http://www.medica.ch
    Access to the loginscreen is public ;-) and should look like this (Screenshot from Firefox)
    I've setup a new workstation 3 weeks ago (iMac with OS Lion 10.7.4), and this webservice service works fine till yesterday. Now, Safari is every time we try to reach the service telling us, that this service needs a certificate, we can choose only a default apple certificate
    and then, the error is:
    This Site needs a valid SSL-Client-Certificate... (Screenshot below)
    What's wrong with Safari? With Chrome and Firefox, the webservice works fie without any problems.
    Thanks for an advice
    MD Patric Eberle

    As a MD, I'm used to check blood results online on the service
    https://inet.zentral-labor.ch/c16/kunweb.dll - this is the online-portal of my laboratory medica in Zurich. http://www.medica.ch
    Access to the loginscreen is public ;-) and should look like this (Screenshot from Firefox)
    I've setup a new workstation 3 weeks ago (iMac with OS Lion 10.7.4), and this webservice service works fine till yesterday. Now, Safari is every time we try to reach the service telling us, that this service needs a certificate, we can choose only a default apple certificate
    and then, the error is:
    This Site needs a valid SSL-Client-Certificate... (Screenshot below)
    What's wrong with Safari? With Chrome and Firefox, the webservice works fie without any problems.
    Thanks for an advice
    MD Patric Eberle

  • Any Problems using SSL with Safari and the move with Internet explorer to require only TLS encryption.

    Any Problems using SSL with Safari and the move with Internet explorer to require only TLS encryption.

    Hi .
    Apple no longer supports Safari for Windows if that's what you are asking >  Apple apparently kills Windows PC support in Safari 6.0
    Microsoft has not written IE for Safari for many years.

  • [SOLVED] systemd-arch-units conflicts with mdadm and xinetd packages

    Trying to upgrade my testing box today to latest/greatest and running into a file conflict between systemd-arch-linux providing systemd profiles for xinetd and mdadm which also think they control the same files:
    error: failed to commit transaction (conflicting files)
    /usr/lib/systemd/system/mdadm.service exists in both 'mdadm' and 'systemd-arch-units'
    /usr/lib/systemd/system/xinetd.service exists in both 'systemd-arch-units' and 'xinetd'
    Errors occurred, no packages were upgraded.
    Should I just do a force? I am not relying on systemd yet. Or should I just remove systemd?
    Chester
    Last edited by chetwisniewski (2012-05-15 18:17:45)

    silent wrote:So now the new version of mdadm and xinetd moved to [core] and I have the same conflict with systemd-arch-units in [community].
    Try -Syu again?

  • What do I do with this Twitter sign in error on my Macbook Air. An SSL error has occurred and a secure connection to the server cannot be made.

    When I try to login in to my Twitter, it gives me this error: An SSL error has occurred and a secure connection to the server cannot be made.
    What's the solution? Thanks!

    Go into your browser preferences and make sure the boxes for ' Use SSL 3.0' and 'Use TLS 1.0' are checked. The settings will be in preferences > advanced > encryption.
    You could also try using another browser.

  • Mail Server: problem configuring dovecot with postifx and virtualhosts

    Hi all,
    I'm am struggling trying to configure a mail server. I have a dedicated server running archlinux.
    I want to setup a complete mail server, ie: web access (for that I installed roundcube) and being able to retrieve mails on any e-mail client.
    I followed this guide, from the documentation but I've read that courier-imap is a lot more resources hungry than dovecot. As I could not have it working using the documentation, I tought I would use dovecot. The problem is that I am not able to configure it.
    What I already have up and running: web server (nginx) with postfixadmin and roundcubemail, postfix, mysql.
    Now, I want to be able to send and receive mails using dovecot. Could you guide me a little in order to replace courier-imap with dovecot, starting from this documentation? I already have my databases configured, a vmail user, ssl certificates and postifx configured for virtualhosts. Seems that the only thing missing is imap + smts thrue TLS.
    Thanks for any help.
    Last edited by Rolinh (2011-08-17 10:40:19)

    The dovecot configuration files are very well commented with documentation and examples in /etc/dovecot/
    As for TLS and SMTP Auth, this is the relevant part of my main.cf for postfix:
    # TLS Settings
    smtpd_use_tls = yes
    smtpd_tls_key_file = /etc/postfix/wildcard.example.com.key
    smtpd_tls_cert_file = /etc/postfix/wildcard.example.com.crt
    smtpd_tls_CAfile = /etc/postfix/root.crt
    smtpd_tls_received_header = yes
    smtpd_tls_security_level = may
    smtpd_tls_loglevel = 1
    smtpd_tls_session_cache_timeout = 3600s
    smtp_use_tls = yes
    smtp_tls_security_level = may
    smtp_tls_note_starttls_offer = yes
    tls_random_source = dev:/dev/urandom
    # Enable SMTP authentication support
    broken_sasl_auth_clients = yes
    smtp_sasl_auth_enable = no
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_type = dovecot
    smtpd_sasl_local_domain = $mydomain
    smtpd_sasl_path = /srv/postfix/private/auth
    smtpd_sasl_security_options = noanonymous
    smtpd_sasl_authenticated_header = yes
    smtpd_sender_restrictions = permit_sasl_authenticated
    Last edited by fukawi2 (2011-08-17 12:33:15)

  • [SOLVED] errors with fdisk and cryptsetup; is my drive going bad?

    I'm having issues with re-formatting an external hard drive using dm-crypt. It was previously formatted with TrueCrypt/NTFS, which I used as a shared backup drive between Windows and Arch. At some point, it stopped being able to mount, which I attributed to allowing Windows to "fix" it after improper dismount (e.g. a hard kill).
    I decided to re-format with ext4 and only use it from Arch, but now I'm wondering if I may have a hardware issue with the drive. I've tried a lot more (like going through the full zero write after mounting the drive as a temporary dm-crypt device), but here's the condensed version to illustrate the problem.
    system info
    This is on a fresh boot. Just adding that as I've had issues with kernel modules after updating if a new kernel comes through. A fresh boot removes that potential issue.
    $ uname -a
    Linux arch_840 4.0.3-1-ARCH #1 SMP PREEMPT Wed May 13 15:38:47 CEST 2015 x86_64 GNU/Linux
    $ lsmod | grep dm_
    dm_crypt 28672 2
    dm_mod 98304 5 dm_crypt
    $ lsmod |grep xts
    xts 16384 2 serpent_sse2_x86_64,twofish_x86_64_3way
    gf128mul 16384 2 lrw,xts
    smartctl status
    Figured I should check the drive. There's a lot of old age and pre-fail warnings, but this post would seem to suggest I'm okay?
    # smartctl -A /dev/sdb
    smartctl 6.3 2014-07-26 r3976 [x86_64-linux-4.0.3-1-ARCH] (local build)
    Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
    === START OF READ SMART DATA SECTION ===
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
    1 Raw_Read_Error_Rate 0x002f 100 100 051 Pre-fail Always - 0
    2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
    3 Spin_Up_Time 0x0023 090 089 025 Pre-fail Always - 3330
    4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 703
    5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
    7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
    8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
    9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 3707
    10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
    11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 104
    12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 734
    191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 17
    192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
    194 Temperature_Celsius 0x0002 064 053 000 Old_age Always - 24 (Min/Max 16/47)
    195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
    196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
    197 Current_Pending_Sector 0x0032 252 252 000 Old_age Always - 0
    198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
    199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0
    200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 3
    223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 104
    225 Load_Cycle_Count 0x0032 079 079 000 Old_age Always - 214068
    Disk info, delete existing partition, new MBR, create new partition
    # fdisk /dev/sdb
    Welcome to fdisk (util-linux 2.26.1).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.
    Command (m for help): p
    Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x76d37b6d
    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 63 976768064 976768002 465.8G 83 Linux
    Command (m for help): d
    Selected partition 1
    Partition 1 has been deleted.
    Command (m for help): o
    Created a new DOS disklabel with disk identifier 0x2cd60f13.
    Command (m for help): n
    Partition type
    p primary (0 primary, 0 extended, 4 free)
    e extended (container for logical partitions)
    Select (default p): p
    Partition number (1-4, default 1):
    First sector (2048-976773167, default 2048):
    Last sector, +sectors or +size{K,M,G,T,P} (2048-976773167, default 976773167):
    Created a new partition 1 of type 'Linux' and of size 465.8 GiB.
    Command (m for help): w
    The partition table has been altered.
    Calling ioctl() to re-read partition table.
    Syncing disks.
    trying to format with cryptsetup
    I had a bunch of custom options, but other Arch posts suggested just trying the default, which is what I've done here. It fails with the same error as when I try to pass a cipher, key size, etc. ("Command failed with code 5: IO error while encrypting keyslot.").
    # truecrypt -v --debug luksFormat /dev/sdb1
    bash: truecrypt: command not found
    [root@arch_840 jwhendy]# cryptsetup -v --debug luksFormat /dev/sdb1
    # cryptsetup 1.6.6 processing "cryptsetup -v --debug luksFormat /dev/sdb1"
    # Running command luksFormat.
    # Locking memory.
    # Installing SIGINT/SIGTERM handler.
    # Unblocking interruption on signal.
    WARNING!
    ========
    This will overwrite data on /dev/sdb1 irrevocably.
    Are you sure? (Type uppercase yes): YES
    # Allocating crypt device /dev/sdb1 context.
    # Trying to open and read device /dev/sdb1.
    # Initialising device-mapper backend library.
    # Timeout set to 0 miliseconds.
    # Iteration time set to 1000 miliseconds.
    # Interactive passphrase entry requested.
    Enter passphrase:
    Verify passphrase:
    # Formatting device /dev/sdb1 as type LUKS1.
    # Crypto backend (gcrypt 1.6.3) initialized.
    # Detected kernel Linux 4.0.3-1-ARCH x86_64.
    # Topology: IO (512/0), offset = 0; Required alignment is 1048576 bytes.
    # Checking if cipher aes-xts-plain64 is usable.
    # Using userspace crypto wrapper to access keyslot area.
    # Generating LUKS header version 1 using hash sha1, aes, xts-plain64, MK 32 bytes
    # KDF pbkdf2, hash sha1: 996745 iterations per second.
    # Data offset 4096, UUID 181fed4d-42f2-4f0f-8b70-cb7ba459e25f, digest iterations 121625
    # Updating LUKS header of size 1024 on device /dev/sdb1
    # Key length 32, device size 976771120 sectors, header size 2050 sectors.
    # Reading LUKS header of size 1024 from device /dev/sdb1
    # Key length 32, device size 976771120 sectors, header size 2050 sectors.
    # Adding new keyslot -1 using volume key.
    # Calculating data for key slot 0
    # KDF pbkdf2, hash sha1: 1008246 iterations per second.
    # Key slot 0 use 492307 password iterations.
    # Using hash sha1 for AF in key slot 0, 4000 stripes
    # Updating key slot 0 [0x1000] area.
    # Using userspace crypto wrapper to access keyslot area.
    IO error while encrypting keyslot.
    # Releasing crypt device /dev/sdb1 context.
    # Releasing device-mapper backend.
    # Unlocking memory.
    Command failed with code 5: IO error while encrypting keyslot.
    Things also tend to hang with respect to the drive at this point. For example, fdisk -l spits out /dev/sda partitions immediately and then just hangs instead of printing out /dev/sdb info, then eventually quits (without ever writing it).
    Any suggestions on where to look/how to troubleshoot? I found some possibly related posts, but nothing that looks promising:
    - Impossible to crypt the drive using cryptsetup (fixed by rebooting)
    - cryptsetup fails to open Udev cookie 0xd4d94f5 (semid 0) waiting for z (no responses; the hang after seems similar)
    There's a couple odds and ends references to cryptsetup 1.6.6 having issues. I downloaded 1.6.4-1 and 1.6.5-1 and -2 from ARM to try, but wanted to post this in the meantime in case something stuck out.
    Last edited by jwhendy (2015-05-29 16:01:40)

    @qinohe I thought of that and the other day started formatting with mkfs.ext4; unfortunately, it was at work and I had to leave before I could let it finish. It had been chugging along a good few hours, and I was surprised it would take that long. I was able to format it with ext4 using Windows 7 (I dual boot) with the MiniTool Partition Wizard but I didn't use it like that before trying to solve the cryptsetup issue again.
    This last time around, I was getting unresponsive behavior. I think I need to reboot each time I try something with cryptsetup, as any commands related to that drive seem to hang afterwards (fdisk, umount, eject, mkfs, or trying crypsetup again). Perhaps I'll just let it cook overnight with mkfs and see if I can at least have an unencrypted, but functional drive.
    One interesting tidbit is that even though cryptsetup fails, when I've tried to issue mkfs afterward, it asks me to confirm that I want to format the disk since it has a LUKS header... so something appears to have been written. Is it possible the header is causing some issues? I don't know much about the structure of a disk (like what range the MBR resides in, what constitutes a header, etc.) but have been wondering if there's some way to start really, really clean with the disk. Like I'd just bought it -- something appears to be lingering around from previous efforts?
    @frostschutz I'll check tomorrow. That's a good question. Just checked journalctl and here are some of the errors that appear; unfortunately, I wasn't watching so I can't tell you what matches up with what command:
    May 23 09:32:22 arch_840 systemd-udevd[7784]: inotify_add_watch(7, /dev/sdb1, 10) failed: No such file or directory
    May 23 09:32:22 arch_840 kernel: usb 3-4: stat urb: status -108
    ### there's lots like this; like 10 in a row with various sector values listed
    May 23 09:32:19 arch_840 kernel: Buffer I/O error on dev sdb1, logical block 61341696, lost async page write
    May 23 09:32:19 arch_840 kernel: blk_update_request: I/O error, dev sdb, sector 490735616
    ### there's also a bunch like this, from tab #0 -> #29 (not colored red, so not sure they're errors?)
    May 23 09:32:19 arch_840 kernel: sd 2:0:0:0: [sdb] tag#0 CDB: opcode=0x2a 2a 00 1d 07 bc 10 00 04 00 00
    May 23 09:32:18 arch_840 kernel: sd 2:0:0:0: [sdb] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
    I paged down quite a ways and those seem like the unique messages when I search the journal for "sdb". Anything stand out? I will say that the same sector numbers appeared in multiple blocks of the third error type listed, so that makes me wonder if something is genuinely wrong with the disk. I'll post the output of the full smartctl scan when I hopefully run it tomorrow.
    Thanks for chiming in!

Maybe you are looking for

  • 1099 PATR reporting

    Hi Guru's: Does SAP support 1099 reporting for PATR i.e. reporting to IRS for patronage payments. We need to issue the 1099 PATR form and also report electronically to IRS. Please help me out on this. Thanks

  • SDHC Card

    Hi new to this forum and new to Windpad 110w. Had this tablet less then a week and like it allot. Does everything I want so far. I would like to ad a SD card for more memory. From want I understand the largest I can go is 32GB and it has to be a SDHC

  • Unable to view some performance counters

    Hi I am running Exchange 2013 Mailbox Role on a Windows 2012 Server and in Perfmon there are a few counters which I am unable to view, eg: MSExchangeTransport Queues\* I can see the counters, and add some to the right hand pane, but when I click ok t

  • Library Preview Rendering Slow

    I'm sure I'm missing something here and am hoping someone can point me in the right direction. I just purchased lightroom 2.3 primarily as a workflow tool for the RAW photos I take at sports events. The first step in my process is to review all the p

  • Mac os 10.5.2 + Palm Desktop 4.2.2

    Completely frustrated, and ready to return my Centro. I am a veteran palm user, and recently made the big switch to my first smart phone...the Palm Centro. I used to sync my Palm TX with my iMac and had no problems syncing it to the regular Palm Desk