Net is slow on my arch linux compared to that in xp`

hi
My download speed went down recently so i called my isp hes told me to change link speed to 10mbps HD i did it and after that download speed became normal in xp but in arch linux i used mii tool to change the link speed but the speed is still less , my isp guy said he doesnt know much about linux..Can someone suggest me something ...thanks in advance

Check your DNS servers in /etc/resolv.conf
If you have more than one server listed, and one of them isn't responding then that could be causing delays for you, although that wouldn't affect the actual download speed, just the time it takes to resolve (which would directly impact your perceived browsing speed)
#!/bin/bash
for SERVER in $(grep '^nameserver' /etc/resolv.conf | awk '{ print $2 }') ; do
dig google.com.au @$SERVER
if [ $? -ne 0 ] ; then
echo "ERROR WITH SERVER $SERVER"
fi
done
EDIT: You'll need to install the 'dnsutils' package before running the above script
Last edited by fukawi2 (2009-08-16 22:48:15)

Similar Messages

  • Incorporating both Arch Linux and a package repository onto one DVD.

    Dear Arch Linux community,
    I would like to tell you a little background information about myself before I start to talk about my actual subject. I know that this part of my message does not belong here, but it is my own ritual to do it like this in my first message in every community. I hope I can make friends with people here and try not to harm this community in any way. Thank you for reading this.
    I am a 16-year-old male student from Finland and addicted to GNU/Linux and freeware / open source software. My previous experience with GNU/Linux is fairly large; from thin client Debian GNU/Linux administrator to kernel hacker and software developer. My delight is music, particularly writing and composing my own music tracks which vary from classic chiptunes to acid trance and dance beats. Arch Linux seems to be a great GNU/Linux operating system for me, because I am looking for a GNU/Linux distribution that does not focus on desktop, but rather on simplicity and lightweight solutions. I also do not fear "bleeding edge" software which is a positive point for Arch Linux compared to Debian GNU/Linux. As you can probably notice I have been using Debian GNU/Linux before I considered Arch Linux. However now I am here hoping for a totally new experience from Arch Linux.
    Enough with my foreword, I would like to now go back to the actual subject. Usually I use DVD media for GNU/Linux images to have both the installer for the GNU/Linux distribution and the main package repository to make installations faster and to have the possibility for an offline installation. As I see, Arch Linux provides only CD images which are approximately 160MB in size, making me to think about incorporating Arch Linux's "Core" and "Extra" package repositories to fill up the remaining 4GB on the DVD. If the "Core" package repository is already included in the Arch Linux CD image, please forgive my lack of information as this is the first time I have ever entered to the world of Arch Linux.
    My question is as follows: Is it possible to incorporate Arch Linux and a package repository onto one DVD while retaining the ability to install Arch Linux from that DVD? If positive, how should I go on to do it?
    Thank you in advance!
    Last edited by Amplify.EXE (2007-11-09 20:53:44)

    No niin, tervetuloa arch-mailmaan.
    Ok, I better stop at one sentence before someone gets mad at me :roll:.
    To answer your question, yes. It is quite possible to put something like that together, heck I think someone suggested we should distribute those some time, but we decided not to (don't quote me, I'm too lazy to read the archives right now) since in most cases pacman will get the job done will job done with less bandwidth waste, and distributing huge snapshots isn't really too conducive to the whole rolling-release thing.
    You might want to check out archiso [1], the install scripts [2], and one of my sample archiso configurations [3] that effectively creates an install CD. Now, keep in mind that archiso isn't the *current* way installers are created, but I think it's much more straightforward to work with than what we're using right now. That said, we currently use archboot to create the CDs, so that may be worth taking a look at as well. There is also a really old installer remastering wiki article [4], though not terribly relevant, you could still use a similar technique to pull apart one of our recent install iso's and remaster it with whatever packages you want. Anyhow, if you'd like help with this, I'd be more than happy to give you a hand (I need some more test-cases for archiso...), or if you look at it and go "gee, this is dumb", don't be afraid to send patches. Just get in touch with me through email, jabber, irc, or whatever.
    Good luck
    [1] http://projects.archlinux.org/git/?p=ar … a=summary)
    [2] http://projects.archlinux.org/git/?p=in … ;a=summary
    [3] http://code.neotuli.net/gitweb/?p=archi … stall-conf
    [4] http://wiki.archlinux.org/index.php/Rem … nstall_ISO

  • Just some few Arch Linux questions

    Hi, I am new to Arch Linux and am looking for some advice and answers.
    Here are the questions:
    1. Does the update command (I think its called pacman and it updates many things with one command in terminal) update the Arch Linux base, the DE that is installed, the apps that are installed and artwork on Arch Linux?
    2. Is Arch Linux User friendly once installed (When I say user friendly, I mean something like Ubuntu)?
    3. Does the drivers (Wireless card drivers, graphics card drivers, printer drivers and audio card drivers) come pre-installed once Arch Linux is installed like Ubuntu?
    4. What is the stablility and speed of Arch Linux compared to Ubuntu?
    That is all I need to know.
    Cheers,
    molom

    molom wrote:Hi, I am new to Arch Linux and am looking for some advice and answers.
    Here are the questions:
    1. Does the update command (I think its called pacman and it updates many things with one command in terminal) update the Arch Linux base, the DE that is installed, the apps that are installed and artwork on Arch Linux?
    pacman is the package manager for Arch. It will install single package, batches of packages, update the installed packages and several other things. Yes, one command 'pacman -Syu will update all the installed packages to the most recent available in the repositories. It will not update your artwork, ut everything else will be updated if you so desire.
    molom wrote:2. Is Arch Linux User friendly once installed (When I say user friendly, I mean something like Ubuntu)?
    Once you have installed the base systen, updated and then installed whatever desktop environment or window manager you want, whatever programs you want, etc., it will be as user friendly as you have made it.
    molom wrote:3. Does the drivers (Wireless card drivers, graphics card drivers, printer drivers and audio card drivers) come pre-installed once Arch Linux is installed like Ubuntu?
    As others have said, the install process does a fairly good job of detecting your hardware and installing the necessary modules, but it is up to you to install drivers for your nVidia / ATI video card if you want accelerated graphics. You'll have to install your printer (generally via cups, which you must also install). You'll have to install alsa and you may have to configure your sound.
    molom wrote:4. What is the stablility and speed of Arch Linux compared to Ubuntu?
    Arch is what you make it. You can have a rock solid stable system, or you can opt to be bleeding edge and risk the occasional package breaking.
    molom wrote:So when you say 'pkgs', do you also mean the desktop environment as well. For example, I have E17 installed and I use the 'pacman -Syu' command, will it update the version of E17 on my PC to the current version of E17?
    A package is a piece of software. E17 is a package, or perhaps a meta package made up of a bunch of packages. alsa is a package. gnome network-manager is a package. Anything that is installed on your system is managed and updated by pacman.
    molom wrote:Is there something similar to synaptic in Arch Linux?
    pacman is the Arch package manager. It does not need a gui front end, though there are a few third party front ends that have been written. I do not know if they are still active.
    molom wrote:
    I'm really eager into knowing about Arch Linux.
    Cheers,
    molom
    Then I also suggest as other have, that you avail yourself of the wiki, especially the beginner's guide which answers several of the questions you've asked.
    Arch Linux is what you make of it, but you have to do the making. Heck, that's 95% of the fun!

  • [Fake News] Arch Linux to change its release cycle

    Today the Arch Linux community proclaimed that Arch Linux will change its release cycle and version numbering, as this was requested by billions of corporate goonies, Freemasons and Illuminati throughout the universe.
    Releases will henceforth be scheduled in intervals deemed posh by the GNU/Linux community at the particular moment. The version numbering will be based on year the a new release is being published. Arch Linux "2016" will be released in early 2006. All following releases will have an offset of at least 10 years to underline how much more pure dead brilliant Arch Linux is compared to Mandrake.
    To achieve a smooth transition, an transitional release will be made at once, named "Useless Marketing Edition". The Arch Linux FTP server will be configured allow one download of the iso image only. This will also be an experiment to find out how the community will be able to spread such a limited edition.
    An Arch Linux user who wishes to remain nameless said in an exclusive interview with the almighty incinerator: "This is a great opportunity for Arch Linux, the new release numbering will confuse and divert computer illiterate lusers from installing our beloved Arch Linux, freeing us from answering stupid support requests. Now we can finally start to work towards our ultimate goal: To become the only GNU/Linux community being as elitist as OpenBSD's."

    Ach guys, you don't get it :-(
    The version numbering scheme was supposed to mock the fact Mandrake plans to release their "2006" version in 2005. That reminds of old times, when (computer) magazines were trying to beat each other releasing the most up-to-date issue to the market. The whole affair became absolutely silly, there were magazines that had the "April" issue hitting the shelves at the end of January. These "issue number wars" occur every now and then.
    The funny scenario I can imagine is that other (GNU/Linux) vendors could jump onto that train and "predating" their releases further and further.
    The rest is just various mockery about lusers and other things found in the Mandrake's press release. And of course the arrogantly elitist OpenBSD community always deserves getting their arses whipped ;-)

  • The grumpy editor's Arch Linux experience

    Jonathan Corbet from lwn.net did a review on Arch Linux.
    It is now available for free <https://lwn.net/Articles/638069/>.

    ANOKNUSA wrote:
    satanselbow wrote:Not an unreasonable article - somewhat let down by the moronic, flag waving nature of some of the comment{er}s.
    I'd rather someone avoid something entirely because it requires actual thought, than have them actively demand someone else do all the thinking for them while trying to reap the reward. People who stay away from Arch because it requires more than a mouse click are dodged bullets.
    Its weird how anyone using Linux (even Ubuntu) would be adverse to thought and tinkering. Even with Ubuntu, there will be cases of googleing, reading the Arch Wiki, and copy/pasteing Terminal commands to fix problems. The only difference is that Arch requires more tinkering (and an involved install process), but as a result users become more conforable with tinkering their systems. Also being able to scrutinize what packages are installed.
    Unless someone merely uses Ubuntu for web browsing, they should have to tinker once in a while too. So they shouldent hate on other distros for having to do it more .
    Last edited by bromanbro (2015-04-10 05:09:15)

  • Pen drive usb transcend crazy over arch linux

    The model in question is a pen drive 4Gb Transcend JetFlash V33 that when I enter the port usb notebook with arch Linux not mount automatically (which have done all pen drive I used up to now, friends, colleagues, etc. ...). With gparted (from arch linux) tells me that the pen drive has a space-512mb (unless, that is negative) and space is not allocated (not formatted). Impossible mount from terminal, I type a message from the beginning that the size of the device can not be found after its end (and we believe with a capacity of -512). I gave the pen drive to a friend with windows Xp, where it is regularly recognized (4 gb, FAT 32). Even with the live CD systemrescueCD is regularly recognized and I move into pen a text file above (to test) after mounted it using the terminal. The text file was also seen in windows Xp. I didn't experiment with other Linux distributions. Someone knows that cabbage can be. Sorry for my bad english. Thank you.

    It is definitely able to recognize the USB and DVDs as separate drives; it gives the option of booting from USB, and it gives the memory capacity of the USB drive I used as a live USB, and the memory used for the live CD.  But when it comes time to actually boot, something is going wrong.
    I would suspect it is a problem with the BIOS, if not for the fact that I had a similar issue on my previous system, which used a completely different motherboard.  If it is the same issue, it would either have to be a problem with the DVD drive (although I don't know why it would be against loading some live CDs but not others) or perhaps the way I created the live CDs.  Although, again, I don't understand why the Linux Mint 32-bit DVD would work fine, while both 64-bit DVDs would not.
    I will try using a different DVD drive to boot the DVDs, and if that does not work, I'll try creating a new Arch live CD to see if I can resolve the issue.  But if anyone has any ideas, it would still be greatly appreciated.

  • Arch linux on ubuntu?

    I was always wondering, why is there an arch linux sub-forum on the ubuntu forum?

    molom wrote:We should have an Ubuntu sub-forum on the Arch Linux forums
    Hey that's not a bad idea, we can do that and then organize bets like 'how long will it take before someone posts something there' , etc...
    A fraction of the money involved goes to Arch of course

  • Install Arch Linux with UEFI and GPT

    Hi, I purchased a new laptop and I created a partition with Windows 8 (default OS on laptop) and another partition where I want to install Arch Linux.
    When I tried to install Arch Linux not boot from CD. After searching in Google I downloaded the latest Arch Linux ISO (2012-12-01) and tried again.
    This time CD started without problems but when I used cfdisk showed an error with GPT partition. I went back to search in Google and I read about gdisk and gfdisk and I try it but when I partitioning to install Arch Linux partition show that may cause damage. I searched and searched without success and I wonder if there is a Arch Linux GPT install guide or if someone knows how to install Arch Linux with GPT and a Windows 8 partition in UEFI.
    Thanks and regards.

    Hi again, finally I got "install" Arch Linux but when I reboot the follow message appears:
    "No Booteable Device, Hit any key."
    I don't know if I broke Windows Boot Manager, UEFI or both...
    I tried to reinstall GRUB but was unsuccessful.
    Can anyone help me?
    Thanks and regards.

  • Slow boot up speed-Arch Linux

    Hi everyone,i am facing two important problems in my Arch Linux
    1)Slow boot-up and Shut-down
    2)Poor battery life
    I am using an Dell Inspiron-N5010 laptop with intel-i3 processor and 3 GB RAM and i have updated my Arch system recently and my kernel version is
    Linux 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64 GNU/Linux
    Login Manager=GDM
    Desktop Environment=Cinnamon 2.0.14
    Here is my /etc/mkinitcpio.conf
    MODULES="i915 drm_kms_helper msr intel_agp dell_wmi dell_laptop acpi"
    BINARIES=""
    FILES=""
    HOOKS="base udev autodetect modconf block fsck filesystems keyboard fsck"
    Here is my output of systemd-analyze blame
    5.927s pacman-init.service
    4.811s NetworkManager.service
    4.686s dkms.service
    2.206s systemd-logind.service
    2.126s gdm.service
    1.672s systemd-vconsole-setup.service
    1.327s plymouth-read-write.service
    1.232s plymouth-start.service
    1.104s kmod-static-nodes.service
    1.073s polkit.service
    1.038s systemd-fsck-root.service
    1.012s systemd-udev-trigger.service
    866ms accounts-daemon.service
    813ms systemd-modules-load.service
    785ms systemd-sysctl.service
    785ms sys-kernel-debug.mount
    784ms dev-mqueue.mount
    784ms dev-hugepages.mount
    587ms colord.service
    569ms sys-kernel-config.mount
    504ms systemd-backlight@acpi_video0.service
    496ms systemd-journal-flush.service
    422ms systemd-tmpfiles-setup-dev.service
    402ms tmp.mount
    400ms systemd-tmpfiles-clean.service
    396ms dhcpcd.service
    233ms systemd-random-seed.service
    229ms haveged.service
    217ms etc-pacman.d-gnupg.mount
    182ms wpa_supplicant.service
    181ms systemd-remount-fs.service
    129ms systemd-user-sessions.service
    115ms systemd-udevd.service
    114ms systemd-update-utmp.service
    81ms udisks2.service
    76ms systemd-tmpfiles-setup.service
    71ms dev-disk-by\x2duuid-6ff023ec\x2d720b\x2d4c7a\x2d87ff\x2ddf5224b293c3.swap
    63ms upower.service
    58ms cpupower.service
    56ms laptop-mode.service
    51ms rtkit-daemon.service
    43ms [email protected]
    10ms alsa-restore.service
    and still its taking more time to get the Display Manager and after entering my login and password its taking more time to get my cinnamon desktop
    I am using Laptop-Mode-Tools ,cpupower(Conservative Governor),Thermald to improve my batterylife but nothing is helping me out its just 45~1 hour in my arch system but its actually 2 to 2.5 hours in my windows 7
    and i was googling for good solutions but nothing is helping me to get out of  the problems and i hope i could fix this issue by means of this forum.

    Neburski wrote:
    Dinesh raja wrote:No its not Manjaro but an custom system which i have built using Arch-Iso
    Ah, anyway identify all the service files for systemd to see if there are some that you don't need. Looks like you already did.
    For the slow boot up and shutdown you could give a closer look at dmesg.
    Check http://freedesktop.org/wiki/Software/sy … eventually to see how you can save your dmesg for the shutdown part. Then look for entries that have a large gap in time (the numbers in [###] are seconds since bootup).
    Can you maybe also define slow. How many seconds / minutes does it take?
    its taking 23.099s for Kernel+User space and the time gap between Display Manager and Cinnamon desktop is approximately 30 sto 40 s
    here is my dmesg complete output
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 3.12.9-2-ARCH (nobody@var-lib-archbuild-extra-x86_64-thomas) (gcc version 4.8.2 20131219 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014
    [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=175a6905-635d-455d-a489-e2afaaaeb274 ro quiet splash resume=/dev/sda6 i915.semaphores=1 i915.i915_enable_rc6=0
    [ 0.000000] e820: BIOS-provided physical RAM map:
    [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d3ff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000000009d400-0x000000000009ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000b75a5fff] usable
    [ 0.000000] BIOS-e820: [mem 0x00000000b75a6000-0x00000000b75edfff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x00000000b75ee000-0x00000000b75f8fff] ACPI data
    [ 0.000000] BIOS-e820: [mem 0x00000000b75f9000-0x00000000b75fbfff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x00000000b75fc000-0x00000000b761ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000b7620000-0x00000000b7620fff] usable
    [ 0.000000] BIOS-e820: [mem 0x00000000b7621000-0x00000000b7628fff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x00000000b7629000-0x00000000b762bfff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000b762c000-0x00000000b7630fff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x00000000b7631000-0x00000000b7650fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000b7651000-0x00000000b7693fff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x00000000b7694000-0x00000000b77fffff] usable
    [ 0.000000] BIOS-e820: [mem 0x00000000b9e00000-0x00000000bbffffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
    [ 0.000000] NX (Execute Disable) protection: active
    [ 0.000000] SMBIOS 2.6 present.
    [ 0.000000] DMI: Dell Inc. Inspiron N5010/0P2H9M, BIOS A09 10/19/2010
    [ 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 = 0xb7800 max_arch_pfn = 0x400000000
    [ 0.000000] MTRR default type: uncachable
    [ 0.000000] MTRR fixed ranges enabled:
    [ 0.000000] 00000-9FFFF write-back
    [ 0.000000] A0000-BFFFF uncachable
    [ 0.000000] C0000-CFFFF write-protect
    [ 0.000000] D0000-E7FFF uncachable
    [ 0.000000] E8000-FFFFF write-protect
    [ 0.000000] MTRR variable ranges enabled:
    [ 0.000000] 0 base 000000000 mask F00000000 write-back
    [ 0.000000] 1 base 0B8000000 mask FF8000000 uncachable
    [ 0.000000] 2 base 0C0000000 mask FC0000000 uncachable
    [ 0.000000] 3 disabled
    [ 0.000000] 4 disabled
    [ 0.000000] 5 disabled
    [ 0.000000] 6 disabled
    [ 0.000000] 7 disabled
    [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    [ 0.000000] found SMP MP-table at [mem 0x000fcda0-0x000fcdaf] mapped at [ffff8800000fcda0]
    [ 0.000000] Scanning 1 areas for low memory corruption
    [ 0.000000] Base memory trampoline at [ffff880000097000] 97000 size 24576
    [ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
    [ 0.000000] [mem 0x00000000-0x000fffff] page 4k
    [ 0.000000] BRK [0x01b32000, 0x01b32fff] PGTABLE
    [ 0.000000] BRK [0x01b33000, 0x01b33fff] PGTABLE
    [ 0.000000] BRK [0x01b34000, 0x01b34fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0xb7200000-0xb73fffff]
    [ 0.000000] [mem 0xb7200000-0xb73fffff] page 2M
    [ 0.000000] BRK [0x01b35000, 0x01b35fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0xb4000000-0xb71fffff]
    [ 0.000000] [mem 0xb4000000-0xb71fffff] page 2M
    [ 0.000000] init_memory_mapping: [mem 0x80000000-0xb3ffffff]
    [ 0.000000] [mem 0x80000000-0xb3ffffff] page 2M
    [ 0.000000] init_memory_mapping: [mem 0x00100000-0x7fffffff]
    [ 0.000000] [mem 0x00100000-0x001fffff] page 4k
    [ 0.000000] [mem 0x00200000-0x7fffffff] page 2M
    [ 0.000000] init_memory_mapping: [mem 0xb7400000-0xb75a5fff]
    [ 0.000000] [mem 0xb7400000-0xb75a5fff] page 4k
    [ 0.000000] BRK [0x01b36000, 0x01b36fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0xb7620000-0xb7620fff]
    [ 0.000000] [mem 0xb7620000-0xb7620fff] page 4k
    [ 0.000000] BRK [0x01b37000, 0x01b37fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0xb7694000-0xb77fffff]
    [ 0.000000] [mem 0xb7694000-0xb77fffff] page 4k
    [ 0.000000] RAMDISK: [mem 0x37912000-0x37c80fff]
    [ 0.000000] ACPI: RSDP 00000000000f0410 00024 (v03 DELL )
    [ 0.000000] ACPI: XSDT 00000000b75ee088 0005C (v01 DELL WN09 01072009 AMI 00010013)
    [ 0.000000] ACPI: FACP 00000000b75f7a50 000F4 (v04 DELL WN09 01072009 AMI 00010013)
    [ 0.000000] ACPI Warning: 32/64 FACS address mismatch in FADT - two FACS tables! (20130725/tbfadt-395)
    [ 0.000000] ACPI BIOS Warning (bug): 32/64X FACS address mismatch in FADT - 0xB762CF40/0x00000000B762CF80, using 32 (20130725/tbfadt-522)
    [ 0.000000] ACPI: DSDT 00000000b75ee170 098DF (v02 DELL WN09 00005010 INTL 20051117)
    [ 0.000000] ACPI: FACS 00000000b762cf40 00040
    [ 0.000000] ACPI: APIC 00000000b75f7b48 00072 (v01 DELL WN09 01072009 AMI 00010013)
    [ 0.000000] ACPI: SSDT 00000000b75f7bc0 0014E (v01 AMICPU PROC 00000001 MSFT 03000001)
    [ 0.000000] ACPI: MCFG 00000000b75f7d10 0003C (v01 DELL WN09 01072009 MSFT 00000097)
    [ 0.000000] ACPI: SLIC 00000000b75f7d50 00176 (v01 DELL WN09 01072009 AMI 00010013)
    [ 0.000000] ACPI: HPET 00000000b75f7ec8 00038 (v01 DELL WN09 01072009 AMI. 00000003)
    [ 0.000000] ACPI: OSFR 00000000b75f7f00 0008C (v01 DELL M08 07DA0A13 ASL 00000061)
    [ 0.000000] ACPI: Local APIC address 0xfee00000
    [ 0.000000] No NUMA configuration found
    [ 0.000000] Faking a node at [mem 0x0000000000000000-0x00000000b77fffff]
    [ 0.000000] Initmem setup node 0 [mem 0x00000000-0xb77fffff]
    [ 0.000000] NODE_DATA [mem 0xb77fb000-0xb77fffff]
    [ 0.000000] [ffffea0000000000-ffffea0002dfffff] PMD -> [ffff8800b3c00000-ffff8800b69fffff] on node 0
    [ 0.000000] Zone ranges:
    [ 0.000000] DMA [mem 0x00001000-0x00ffffff]
    [ 0.000000] DMA32 [mem 0x01000000-0xffffffff]
    [ 0.000000] Normal empty
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x00001000-0x0009cfff]
    [ 0.000000] node 0: [mem 0x00100000-0xb75a5fff]
    [ 0.000000] node 0: [mem 0xb7620000-0xb7620fff]
    [ 0.000000] node 0: [mem 0xb7694000-0xb77fffff]
    [ 0.000000] On node 0 totalpages: 751279
    [ 0.000000] DMA zone: 64 pages used for memmap
    [ 0.000000] DMA zone: 21 pages reserved
    [ 0.000000] DMA zone: 3996 pages, LIFO batch:0
    [ 0.000000] DMA32 zone: 11680 pages used for memmap
    [ 0.000000] DMA32 zone: 747283 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[0x04] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x05] enabled)
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
    [ 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: 0x8086a701 base: 0xfed00000
    [ 0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
    [ 0.000000] nr_irqs_gsi: 40
    [ 0.000000] PM: Registered nosave memory: [mem 0x0009d000-0x0009dfff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xb75a6000-0xb75edfff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xb75ee000-0xb75f8fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xb75f9000-0xb75fbfff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xb75fc000-0xb761ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xb7621000-0xb7628fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xb7629000-0xb762bfff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xb762c000-0xb7630fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xb7631000-0xb7650fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xb7651000-0xb7693fff]
    [ 0.000000] e820: [mem 0xbc000000-0xdfffffff] 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:4 nr_node_ids:1
    [ 0.000000] PERCPU: Embedded 29 pages/cpu @ffff8800b7000000 s86464 r8192 d24128 u524288
    [ 0.000000] pcpu-alloc: s86464 r8192 d24128 u524288 alloc=1*2097152
    [ 0.000000] pcpu-alloc: [0] 0 1 2 3
    [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 739514
    [ 0.000000] Policy zone: DMA32
    [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=175a6905-635d-455d-a489-e2afaaaeb274 ro quiet splash resume=/dev/sda6 i915.semaphores=1 i915.i915_enable_rc6=0
    [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
    [ 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: 2942184K/3005116K available (5119K kernel code, 807K rwdata, 1628K rodata, 1144K init, 1288K bss, 62932K reserved)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
    [ 0.000000] Dump stacks of tasks blocking RCU-preempt GP.
    [ 0.000000] RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=4.
    [ 0.000000] NR_IRQS:8448 nr_irqs:712 16
    [ 0.000000] Console: colour dummy device 80x25
    [ 0.000000] console [tty0] enabled
    [ 0.000000] allocated 12058624 bytes of page_cgroup
    [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [ 0.000000] hpet clockevent registered
    [ 0.000000] tsc: Fast TSC calibration using PIT
    [ 0.003333] tsc: Detected 2260.785 MHz processor
    [ 0.000003] Calibrating delay loop (skipped), value calculated using timer frequency.. 4523.96 BogoMIPS (lpj=7535950)
    [ 0.000007] pid_max: default: 32768 minimum: 301
    [ 0.000041] Security Framework initialized
    [ 0.000053] AppArmor: AppArmor disabled by boot time parameter
    [ 0.000055] Yama: becoming mindful.
    [ 0.000408] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
    [ 0.002121] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
    [ 0.002882] Mount-cache hash table entries: 256
    [ 0.003130] Initializing cgroup subsys memory
    [ 0.003144] Initializing cgroup subsys devices
    [ 0.003147] Initializing cgroup subsys freezer
    [ 0.003149] Initializing cgroup subsys net_cls
    [ 0.003151] Initializing cgroup subsys blkio
    [ 0.003177] CPU: Physical Processor ID: 0
    [ 0.003178] CPU: Processor Core ID: 0
    [ 0.003185] mce: CPU supports 9 MCE banks
    [ 0.003198] CPU0: Thermal monitoring enabled (TM1)
    [ 0.003211] Last level iTLB entries: 4KB 512, 2MB 7, 4MB 7
    Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32
    tlb_flushall_shift: 6
    [ 0.003319] Freeing SMP alternatives memory: 20K (ffffffff819e9000 - ffffffff819ee000)
    [ 0.004634] ACPI: Core revision 20130725
    [ 0.009965] ACPI: All ACPI Tables successfully acquired
    [ 0.019630] ftrace: allocating 20320 entries in 80 pages
    [ 0.032100] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    [ 0.065112] smpboot: CPU0: Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz (fam: 06, model: 25, stepping: 02)
    [ 0.171587] Performance Events: PEBS fmt1+, 16-deep LBR, Westmere events, Intel PMU driver.
    [ 0.171595] perf_event_intel: CPUID marked event: 'bus cycles' unavailable
    [ 0.171599] ... version: 3
    [ 0.171600] ... bit width: 48
    [ 0.171601] ... generic registers: 4
    [ 0.171602] ... value mask: 0000ffffffffffff
    [ 0.171604] ... max period: 000000007fffffff
    [ 0.171605] ... fixed-purpose events: 3
    [ 0.171606] ... event mask: 000000070000000f
    [ 0.211654] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
    [ 0.198312] smpboot: Booting Node 0, Processors # 1 # 2 # 3 OK
    [ 0.251580] Brought up 4 CPUs
    [ 0.251586] smpboot: Total of 4 processors activated (18093.87 BogoMIPS)
    [ 0.254266] devtmpfs: initialized
    [ 0.257030] PM: Registering ACPI NVS region [mem 0xb75a6000-0xb75edfff] (294912 bytes)
    [ 0.257037] PM: Registering ACPI NVS region [mem 0xb75f9000-0xb75fbfff] (12288 bytes)
    [ 0.257039] PM: Registering ACPI NVS region [mem 0xb7621000-0xb7628fff] (32768 bytes)
    [ 0.257040] PM: Registering ACPI NVS region [mem 0xb762c000-0xb7630fff] (20480 bytes)
    [ 0.257042] PM: Registering ACPI NVS region [mem 0xb7651000-0xb7693fff] (274432 bytes)
    [ 0.258060] RTC time: 15:04:06, date: 02/18/14
    [ 0.258105] NET: Registered protocol family 16
    [ 0.258225] cpuidle: using governor ladder
    [ 0.258227] cpuidle: using governor menu
    [ 0.258271] ACPI: bus type PCI registered
    [ 0.258273] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
    [ 0.258334] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
    [ 0.258337] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
    [ 0.281454] PCI: Using configuration type 1 for base access
    [ 0.282099] bio: create slab <bio-0> at 0
    [ 0.282221] ACPI: Added _OSI(Module Device)
    [ 0.282223] ACPI: Added _OSI(Processor Device)
    [ 0.282225] ACPI: Added _OSI(3.0 _SCP Extensions)
    [ 0.282226] ACPI: Added _OSI(Processor Aggregator Device)
    [ 0.283469] ACPI: EC: Look up EC in DSDT
    [ 0.284754] ACPI: Executed 1 blocks of module-level executable AML code
    [ 0.289116] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
    [ 0.302665] ACPI: SSDT 00000000b7621c18 003A4 (v01 AMI IST 00000001 MSFT 03000001)
    [ 0.303013] ACPI: Dynamic OEM Table Load:
    [ 0.303016] ACPI: SSDT (null) 003A4 (v01 AMI IST 00000001 MSFT 03000001)
    [ 0.303484] ACPI: Interpreter enabled
    [ 0.303491] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20130725/hwxface-571)
    [ 0.303495] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20130725/hwxface-571)
    [ 0.303510] ACPI: (supports S0 S3 S4 S5)
    [ 0.303512] ACPI: Using IOAPIC for interrupt routing
    [ 0.303547] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
    [ 0.303686] ACPI: No dock devices found.
    [ 0.322094] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
    [ 0.322239] acpi PNP0A08:00: Requesting ACPI _OSC control (0x1d)
    [ 0.322442] acpi PNP0A08:00: ACPI _OSC control (0x19) granted
    [ 0.322704] PCI host bridge to bus 0000:00
    [ 0.322708] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 0.322710] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7]
    [ 0.322712] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff]
    [ 0.322714] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
    [ 0.322716] pci_bus 0000:00: root bus resource [mem 0xbc000000-0xffffffff]
    [ 0.322725] pci 0000:00:00.0: [8086:0044] type 00 class 0x060000
    [ 0.322744] DMAR: BIOS has allocated no shadow GTT; disabling IOMMU for graphics
    [ 0.322818] pci 0000:00:02.0: [8086:0046] type 00 class 0x030000
    [ 0.322831] pci 0000:00:02.0: reg 0x10: [mem 0xfa400000-0xfa7fffff 64bit]
    [ 0.322838] pci 0000:00:02.0: reg 0x18: [mem 0xc0000000-0xcfffffff 64bit pref]
    [ 0.322843] pci 0000:00:02.0: reg 0x20: [io 0xf080-0xf087]
    [ 0.322962] pci 0000:00:16.0: [8086:3b64] type 00 class 0x078000
    [ 0.322991] pci 0000:00:16.0: reg 0x10: [mem 0xfbd09000-0xfbd0900f 64bit]
    [ 0.323088] pci 0000:00:16.0: PME# supported from D0 D3hot D3cold
    [ 0.323185] pci 0000:00:1a.0: [8086:3b3c] type 00 class 0x0c0320
    [ 0.323212] pci 0000:00:1a.0: reg 0x10: [mem 0xfbd08000-0xfbd083ff]
    [ 0.323324] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold
    [ 0.325807] pci 0000:00:1a.0: System wakeup disabled by ACPI
    [ 0.325857] pci 0000:00:1b.0: [8086:3b56] type 00 class 0x040300
    [ 0.325880] pci 0000:00:1b.0: reg 0x10: [mem 0xfbd00000-0xfbd03fff 64bit]
    [ 0.325979] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
    [ 0.326066] pci 0000:00:1c.0: [8086:3b42] type 01 class 0x060400
    [ 0.326169] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
    [ 0.326222] pci 0000:00:1c.0: System wakeup disabled by ACPI
    [ 0.326261] pci 0000:00:1c.1: [8086:3b44] type 01 class 0x060400
    [ 0.326362] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
    [ 0.326415] pci 0000:00:1c.1: System wakeup disabled by ACPI
    [ 0.326453] pci 0000:00:1c.2: [8086:3b46] type 01 class 0x060400
    [ 0.326553] pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
    [ 0.326608] pci 0000:00:1c.2: System wakeup disabled by ACPI
    [ 0.326649] pci 0000:00:1c.4: [8086:3b4a] type 01 class 0x060400
    [ 0.326750] pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
    [ 0.326803] pci 0000:00:1c.4: System wakeup disabled by ACPI
    [ 0.326851] pci 0000:00:1d.0: [8086:3b34] type 00 class 0x0c0320
    [ 0.326878] pci 0000:00:1d.0: reg 0x10: [mem 0xfbd07000-0xfbd073ff]
    [ 0.326988] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
    [ 0.329810] pci 0000:00:1d.0: System wakeup disabled by ACPI
    [ 0.329853] pci 0000:00:1e.0: [8086:2448] type 01 class 0x060401
    [ 0.329965] pci 0000:00:1e.0: System wakeup disabled by ACPI
    [ 0.330003] pci 0000:00:1f.0: [8086:3b0b] type 00 class 0x060100
    [ 0.330187] pci 0000:00:1f.2: [8086:3b2f] type 00 class 0x010601
    [ 0.330216] pci 0000:00:1f.2: reg 0x10: [io 0xf070-0xf077]
    [ 0.330227] pci 0000:00:1f.2: reg 0x14: [io 0xf060-0xf063]
    [ 0.330238] pci 0000:00:1f.2: reg 0x18: [io 0xf050-0xf057]
    [ 0.330249] pci 0000:00:1f.2: reg 0x1c: [io 0xf040-0xf043]
    [ 0.330261] pci 0000:00:1f.2: reg 0x20: [io 0xf020-0xf03f]
    [ 0.330272] pci 0000:00:1f.2: reg 0x24: [mem 0xfbd06000-0xfbd067ff]
    [ 0.330340] pci 0000:00:1f.2: PME# supported from D3hot
    [ 0.330421] pci 0000:00:1f.3: [8086:3b30] type 00 class 0x0c0500
    [ 0.330443] pci 0000:00:1f.3: reg 0x10: [mem 0xfbd05000-0xfbd050ff 64bit]
    [ 0.330474] pci 0000:00:1f.3: reg 0x20: [io 0xf000-0xf01f]
    [ 0.330575] pci 0000:00:1f.6: [8086:3b32] type 00 class 0x118000
    [ 0.330604] pci 0000:00:1f.6: reg 0x10: [mem 0xfbd04000-0xfbd04fff 64bit]
    [ 0.330829] pci 0000:00:1c.0: PCI bridge to [bus 11]
    [ 0.330946] pci 0000:12:00.0: [14e4:4727] type 00 class 0x028000
    [ 0.330979] pci 0000:12:00.0: reg 0x10: [mem 0xfbc00000-0xfbc03fff 64bit]
    [ 0.331144] pci 0000:12:00.0: supports D1 D2
    [ 0.331146] pci 0000:12:00.0: PME# supported from D0 D3hot D3cold
    [ 0.338279] pci 0000:00:1c.1: PCI bridge to [bus 12]
    [ 0.338291] pci 0000:00:1c.1: bridge window [mem 0xfbc00000-0xfbcfffff]
    [ 0.338460] pci 0000:13:00.0: [10ec:8136] type 00 class 0x020000
    [ 0.338526] pci 0000:13:00.0: reg 0x10: [io 0xe000-0xe0ff]
    [ 0.338640] pci 0000:13:00.0: reg 0x18: [mem 0xd0b10000-0xd0b10fff 64bit pref]
    [ 0.338706] pci 0000:13:00.0: reg 0x20: [mem 0xd0b00000-0xd0b0ffff 64bit pref]
    [ 0.338752] pci 0000:13:00.0: reg 0x30: [mem 0xfb200000-0xfb21ffff pref]
    [ 0.338976] pci 0000:13:00.0: supports D1 D2
    [ 0.338978] pci 0000:13:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    [ 0.339173] pci 0000:00:1c.2: PCI bridge to [bus 13]
    [ 0.339178] pci 0000:00:1c.2: bridge window [io 0xe000-0xefff]
    [ 0.339183] pci 0000:00:1c.2: bridge window [mem 0xfb200000-0xfbbfffff]
    [ 0.339190] pci 0000:00:1c.2: bridge window [mem 0xd0b00000-0xd14fffff 64bit pref]
    [ 0.339268] pci 0000:00:1c.4: PCI bridge to [bus 15]
    [ 0.339274] pci 0000:00:1c.4: bridge window [io 0xd000-0xdfff]
    [ 0.339278] pci 0000:00:1c.4: bridge window [mem 0xfa800000-0xfb1fffff]
    [ 0.339286] pci 0000:00:1c.4: bridge window [mem 0xd0000000-0xd09fffff 64bit pref]
    [ 0.339371] pci 0000:00:1e.0: PCI bridge to [bus 20] (subtractive decode)
    [ 0.339385] pci 0000:00:1e.0: bridge window [io 0x0000-0x0cf7] (subtractive decode)
    [ 0.339387] pci 0000:00:1e.0: bridge window [io 0x0d00-0xffff] (subtractive decode)
    [ 0.339389] pci 0000:00:1e.0: bridge window [mem 0x000a0000-0x000bffff] (subtractive decode)
    [ 0.339391] pci 0000:00:1e.0: bridge window [mem 0xbc000000-0xffffffff] (subtractive decode)
    [ 0.339814] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
    [ 0.339874] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 12 14 15)
    [ 0.339932] ACPI: PCI Interrupt Link [LNKC] (IRQs *3 4 5 6 10 11 12 14 15)
    [ 0.339990] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 *4 5 6 10 11 12 14 15)
    [ 0.340047] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0
    [ 0.340106] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0
    [ 0.340164] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 *10 11 12 14 15)
    [ 0.340222] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 *7 10 11 12 14 15)
    [ 0.340440] ACPI: Enabled 5 GPEs in block 00 to 3F
    [ 0.340472] ACPI: \_SB_.PCI0: notify handler is installed
    [ 0.340534] Found 1 acpi root devices
    [ 0.340641] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
    [ 0.340644] vgaarb: loaded
    [ 0.340645] vgaarb: bridge control possible 0000:00:02.0
    [ 0.340690] PCI: Using ACPI for IRQ routing
    [ 0.350522] PCI: Discovered peer bus ff
    [ 0.350524] PCI: root bus ff: using default resources
    [ 0.350525] PCI: Probing PCI hardware (bus ff)
    [ 0.350548] PCI host bridge to bus 0000:ff
    [ 0.350551] pci_bus 0000:ff: root bus resource [io 0x0000-0xffff]
    [ 0.350553] pci_bus 0000:ff: root bus resource [mem 0x00000000-0xfffffffff]
    [ 0.350555] pci_bus 0000:ff: No busn resource found for root bus, will use [bus ff-ff]
    [ 0.350561] pci 0000:ff:00.0: [8086:2c62] type 00 class 0x060000
    [ 0.350602] pci 0000:ff:00.1: [8086:2d01] type 00 class 0x060000
    [ 0.350643] pci 0000:ff:02.0: [8086:2d10] type 00 class 0x060000
    [ 0.350680] pci 0000:ff:02.1: [8086:2d11] type 00 class 0x060000
    [ 0.350718] pci 0000:ff:02.2: [8086:2d12] type 00 class 0x060000
    [ 0.350756] pci 0000:ff:02.3: [8086:2d13] type 00 class 0x060000
    [ 0.350804] pci_bus 0000:ff: busn_res: [bus ff] end is updated to ff
    [ 0.350807] PCI: pci_cache_line_size set to 64 bytes
    [ 0.350880] e820: reserve RAM buffer [mem 0x0009d400-0x0009ffff]
    [ 0.350882] e820: reserve RAM buffer [mem 0xb75a6000-0xb7ffffff]
    [ 0.350884] e820: reserve RAM buffer [mem 0xb7621000-0xb7ffffff]
    [ 0.350886] e820: reserve RAM buffer [mem 0xb7800000-0xb7ffffff]
    [ 0.350986] NetLabel: Initializing
    [ 0.350988] NetLabel: domain hash size = 128
    [ 0.350989] NetLabel: protocols = UNLABELED CIPSOv4
    [ 0.351002] NetLabel: unlabeled traffic allowed by default
    [ 0.351040] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
    [ 0.351046] hpet0: 8 comparators, 64-bit 14.318180 MHz counter
    [ 0.353079] Switched to clocksource hpet
    [ 0.357893] pnp: PnP ACPI init
    [ 0.357912] ACPI: bus type PNP registered
    [ 0.358057] system 00:00: [mem 0xfed14000-0xfed19fff] has been reserved
    [ 0.358060] system 00:00: [mem 0xe0000000-0xefffffff] has been reserved
    [ 0.358062] system 00:00: [mem 0xfed90000-0xfed93fff] has been reserved
    [ 0.358064] system 00:00: [mem 0xfed20000-0xfed3ffff] has been reserved
    [ 0.358066] system 00:00: [mem 0xfee00000-0xfee0ffff] has been reserved
    [ 0.358070] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
    [ 0.358105] pnp 00:01: [dma 4]
    [ 0.358125] pnp 00:01: Plug and Play ACPI device, IDs PNP0200 (active)
    [ 0.358162] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
    [ 0.358187] pnp 00:03: Plug and Play ACPI device, IDs PNP0800 (active)
    [ 0.358217] pnp 00:04: Plug and Play ACPI device, IDs PNP0c04 (active)
    [ 0.358267] system 00:05: [io 0x04d0-0x04d1] has been reserved
    [ 0.358270] system 00:05: [mem 0xfe800000-0xfe8001ff] has been reserved
    [ 0.358273] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.358309] pnp 00:06: Plug and Play ACPI device, IDs DLL0447 SYN0600 SYN0002 PNP0f13 (active)
    [ 0.358347] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 (active)
    [ 0.358508] system 00:08: [io 0x0400-0x047f] could not be reserved
    [ 0.358511] system 00:08: [io 0x1180-0x119f] has been reserved
    [ 0.358513] system 00:08: [io 0x0500-0x057f] has been reserved
    [ 0.358516] system 00:08: [mem 0xfed1c000-0xfed1ffff] has been reserved
    [ 0.358518] system 00:08: [mem 0xfec00000-0xfecfffff] could not be reserved
    [ 0.358520] system 00:08: [mem 0xfed08000-0xfed08fff] has been reserved
    [ 0.358523] system 00:08: [mem 0xff000000-0xffffffff] has been reserved
    [ 0.358526] system 00:08: Plug and Play ACPI device, IDs PNP0c01 (active)
    [ 0.358636] pnp 00:09: Plug and Play ACPI device, IDs PNP0103 (active)
    [ 0.358854] pnp: PnP ACPI: found 10 devices
    [ 0.358856] ACPI: bus type PNP unregistered
    [ 0.365989] pci 0000:00:1c.0: bridge window [io 0x1000-0x0fff] to [bus 11] add_size 1000
    [ 0.365994] pci 0000:00:1c.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 11] add_size 200000
    [ 0.365996] pci 0000:00:1c.0: bridge window [mem 0x00100000-0x000fffff] to [bus 11] add_size 200000
    [ 0.366007] pci 0000:00:1c.1: bridge window [io 0x1000-0x0fff] to [bus 12] add_size 1000
    [ 0.366010] pci 0000:00:1c.1: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 12] add_size 200000
    [ 0.366040] pci 0000:00:1c.0: res[14]=[mem 0x00100000-0x000fffff] get_res_add_size add_size 200000
    [ 0.366042] pci 0000:00:1c.0: res[15]=[mem 0x00100000-0x000fffff 64bit pref] get_res_add_size add_size 200000
    [ 0.366044] pci 0000:00:1c.1: res[15]=[mem 0x00100000-0x000fffff 64bit pref] get_res_add_size add_size 200000
    [ 0.366047] pci 0000:00:1c.0: res[13]=[io 0x1000-0x0fff] get_res_add_size add_size 1000
    [ 0.366049] pci 0000:00:1c.1: res[13]=[io 0x1000-0x0fff] get_res_add_size add_size 1000
    [ 0.366053] pci 0000:00:1c.0: BAR 14: assigned [mem 0xbc000000-0xbc1fffff]
    [ 0.366056] pci 0000:00:1c.0: BAR 15: assigned [mem 0xbc200000-0xbc3fffff 64bit pref]
    [ 0.366059] pci 0000:00:1c.1: BAR 15: assigned [mem 0xbc400000-0xbc5fffff 64bit pref]
    [ 0.366061] pci 0000:00:1c.0: BAR 13: assigned [io 0x2000-0x2fff]
    [ 0.366064] pci 0000:00:1c.1: BAR 13: assigned [io 0x3000-0x3fff]
    [ 0.366066] pci 0000:00:1c.0: PCI bridge to [bus 11]
    [ 0.366071] pci 0000:00:1c.0: bridge window [io 0x2000-0x2fff]
    [ 0.366077] pci 0000:00:1c.0: bridge window [mem 0xbc000000-0xbc1fffff]
    [ 0.366082] pci 0000:00:1c.0: bridge window [mem 0xbc200000-0xbc3fffff 64bit pref]
    [ 0.366089] pci 0000:00:1c.1: PCI bridge to [bus 12]
    [ 0.366093] pci 0000:00:1c.1: bridge window [io 0x3000-0x3fff]
    [ 0.366100] pci 0000:00:1c.1: bridge window [mem 0xfbc00000-0xfbcfffff]
    [ 0.366104] pci 0000:00:1c.1: bridge window [mem 0xbc400000-0xbc5fffff 64bit pref]
    [ 0.366112] pci 0000:00:1c.2: PCI bridge to [bus 13]
    [ 0.366116] pci 0000:00:1c.2: bridge window [io 0xe000-0xefff]
    [ 0.366122] pci 0000:00:1c.2: bridge window [mem 0xfb200000-0xfbbfffff]
    [ 0.366127] pci 0000:00:1c.2: bridge window [mem 0xd0b00000-0xd14fffff 64bit pref]
    [ 0.366135] pci 0000:00:1c.4: PCI bridge to [bus 15]
    [ 0.366139] pci 0000:00:1c.4: bridge window [io 0xd000-0xdfff]
    [ 0.366145] pci 0000:00:1c.4: bridge window [mem 0xfa800000-0xfb1fffff]
    [ 0.366150] pci 0000:00:1c.4: bridge window [mem 0xd0000000-0xd09fffff 64bit pref]
    [ 0.366157] pci 0000:00:1e.0: PCI bridge to [bus 20]
    [ 0.366172] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7]
    [ 0.366174] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff]
    [ 0.366176] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
    [ 0.366178] pci_bus 0000:00: resource 7 [mem 0xbc000000-0xffffffff]
    [ 0.366180] pci_bus 0000:11: resource 0 [io 0x2000-0x2fff]
    [ 0.366182] pci_bus 0000:11: resource 1 [mem 0xbc000000-0xbc1fffff]
    [ 0.366184] pci_bus 0000:11: resource 2 [mem 0xbc200000-0xbc3fffff 64bit pref]
    [ 0.366186] pci_bus 0000:12: resource 0 [io 0x3000-0x3fff]
    [ 0.366188] pci_bus 0000:12: resource 1 [mem 0xfbc00000-0xfbcfffff]
    [ 0.366190] pci_bus 0000:12: resource 2 [mem 0xbc400000-0xbc5fffff 64bit pref]
    [ 0.366192] pci_bus 0000:13: resource 0 [io 0xe000-0xefff]
    [ 0.366194] pci_bus 0000:13: resource 1 [mem 0xfb200000-0xfbbfffff]
    [ 0.366196] pci_bus 0000:13: resource 2 [mem 0xd0b00000-0xd14fffff 64bit pref]
    [ 0.366198] pci_bus 0000:15: resource 0 [io 0xd000-0xdfff]
    [ 0.366200] pci_bus 0000:15: resource 1 [mem 0xfa800000-0xfb1fffff]
    [ 0.366202] pci_bus 0000:15: resource 2 [mem 0xd0000000-0xd09fffff 64bit pref]
    [ 0.366204] pci_bus 0000:20: resource 4 [io 0x0000-0x0cf7]
    [ 0.366206] pci_bus 0000:20: resource 5 [io 0x0d00-0xffff]
    [ 0.366207] pci_bus 0000:20: resource 6 [mem 0x000a0000-0x000bffff]
    [ 0.366209] pci_bus 0000:20: resource 7 [mem 0xbc000000-0xffffffff]
    [ 0.366212] pci_bus 0000:ff: resource 4 [io 0x0000-0xffff]
    [ 0.366214] pci_bus 0000:ff: resource 5 [mem 0x00000000-0xfffffffff]
    [ 0.366254] NET: Registered protocol family 2
    [ 0.366468] TCP established hash table entries: 32768 (order: 7, 524288 bytes)
    [ 0.366709] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
    [ 0.366902] TCP: Hash tables configured (established 32768 bind 32768)
    [ 0.366941] TCP: reno registered
    [ 0.366949] UDP hash table entries: 2048 (order: 4, 65536 bytes)
    [ 0.366986] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
    [ 0.367076] NET: Registered protocol family 1
    [ 0.367090] pci 0000:00:02.0: Boot video device
    [ 0.613312] PCI: CLS 64 bytes, default 64
    [ 0.613356] Unpacking initramfs...
    [ 0.685162] Freeing initrd memory: 3516K (ffff880037912000 - ffff880037c81000)
    [ 0.685427] Scanning for low memory corruption every 60 seconds
    [ 0.685724] audit: initializing netlink socket (disabled)
    [ 0.685739] type=2000 audit(1392735846.573:1): initialized
    [ 0.697728] HugeTLB registered 2 MB page size, pre-allocated 0 pages
    [ 0.698983] zbud: loaded
    [ 0.699170] VFS: Disk quotas dquot_6.5.2
    [ 0.699211] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 0.699398] msgmni has been set to 5753
    [ 0.699768] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [ 0.699834] io scheduler noop registered
    [ 0.699836] io scheduler deadline registered
    [ 0.699865] io scheduler cfq registered (default)
    [ 0.700108] pcieport 0000:00:1c.0: irq 40 for MSI/MSI-X
    [ 0.700288] pcieport 0000:00:1c.1: irq 41 for MSI/MSI-X
    [ 0.700460] pcieport 0000:00:1c.2: irq 42 for MSI/MSI-X
    [ 0.700630] pcieport 0000:00:1c.4: irq 43 for MSI/MSI-X
    [ 0.700717] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    [ 0.700804] pciehp: Using ACPI for slot detection.
    [ 0.700872] pciehp 0000:00:1c.4:pcie04: HPC vendor_id 8086 device_id 3b4a ss_vid 1028 ss_did 447
    [ 0.700927] pciehp 0000:00:1c.4:pcie04: service driver pciehp loaded
    [ 0.700934] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
    [ 0.700978] vesafb: mode is 1024x768x32, linelength=4096, pages=0
    [ 0.700980] vesafb: scrolling: redraw
    [ 0.700982] vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
    [ 0.701276] vesafb: framebuffer at 0xc0000000, mapped to 0xffffc90010800000, using 3072k, total 3072k
    [ 0.827851] Console: switching to colour frame buffer device 128x48
    [ 0.954320] fb0: VESA VGA frame buffer device
    [ 0.954333] intel_idle: MWAIT substates: 0x1120
    [ 0.954334] intel_idle: v0.4 model 0x25
    [ 0.954336] intel_idle: lapic_timer_reliable_states 0xffffffff
    [ 0.954490] GHES: HEST is not enabled!
    [ 0.954559] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [ 0.955036] Linux agpgart interface v0.103
    [ 0.955109] i8042: PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:PS2] at 0x60,0x64 irq 1,12
    [ 0.983471] serio: i8042 KBD port at 0x60,0x64 irq 1
    [ 0.983499] serio: i8042 AUX port at 0x60,0x64 irq 12
    [ 0.983628] mousedev: PS/2 mouse device common for all mice
    [ 0.984635] rtc_cmos 00:02: RTC can wake from S4
    [ 0.984795] rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
    [ 0.984828] rtc_cmos 00:02: alarms up to one year, y3k, 114 bytes nvram, hpet irqs
    [ 0.984891] drop_monitor: Initializing network drop monitor service
    [ 0.984966] TCP: cubic registered
    [ 0.985061] NET: Registered protocol family 10
    [ 0.985242] NET: Registered protocol family 17
    [ 0.985251] Key type dns_resolver registered
    [ 0.985582] registered taskstats version 1
    [ 0.986258] Magic number: 2:431:83
    [ 0.986415] rtc_cmos 00:02: setting system clock to 2014-02-18 15:04:07 UTC (1392735847)
    [ 0.986464] PM: Checking hibernation image partition /dev/sda6
    [ 1.020768] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
    [ 1.032423] PM: Hibernation image not present or could not be loaded.
    [ 1.033852] Freeing unused kernel memory: 1144K (ffffffff818cb000 - ffffffff819e9000)
    [ 1.033855] Write protecting the kernel read-only data: 8192k
    [ 1.036680] Freeing unused kernel memory: 1012K (ffff880001503000 - ffff880001600000)
    [ 1.037857] Freeing unused kernel memory: 420K (ffff880001797000 - ffff880001800000)
    [ 1.048632] systemd-udevd[58]: starting version 208
    [ 1.051934] [drm] Initialized drm 1.1.0 20060810
    [ 1.052681] agpgart-intel 0000:00:00.0: Intel HD Graphics Chipset
    [ 1.052752] agpgart-intel 0000:00:00.0: detected gtt size: 2097152K total, 262144K mappable
    [ 1.053489] agpgart-intel 0000:00:00.0: detected 32768K stolen memory
    [ 1.053683] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xc0000000
    [ 1.054243] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2
    [ 1.054250] ACPI: Power Button [PWRB]
    [ 1.054309] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input3
    [ 1.056341] ACPI: Lid Switch [LID0]
    [ 1.056390] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input4
    [ 1.056394] ACPI: Sleep Button [SBTN]
    [ 1.056449] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
    [ 1.056453] ACPI: Power Button [PWRF]
    [ 1.061806] [drm] Memory usable by graphics device = 2048M
    [ 1.061813] checking generic (c0000000 300000) vs hw (c0000000 10000000)
    [ 1.061816] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
    [ 1.061836] Console: switching to colour dummy device 80x25
    [ 1.061989] i915 0000:00:02.0: setting latency timer to 64
    [ 1.088158] i915 0000:00:02.0: irq 44 for MSI/MSI-X
    [ 1.088167] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [ 1.088168] [drm] Driver supports precise vblank timestamp query.
    [ 1.088247] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
    [ 1.125908] fbcon: inteldrmfb (fb0) is primary device
    [ 1.686801] tsc: Refined TSC clocksource calibration: 2261.000 MHz
    [ 2.030270] Console: switching to colour frame buffer device 170x48
    [ 2.033661] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
    [ 2.033664] i915 0000:00:02.0: registered panic notifier
    [ 2.043083] acpi device:2e: registered as cooling_device0
    [ 2.043220] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
    [ 2.043321] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:02/input/input6
    [ 2.043365] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
    [ 2.072732] ACPI: bus type USB registered
    [ 2.072789] usbcore: registered new interface driver usbfs
    [ 2.072800] usbcore: registered new interface driver hub
    [ 2.072970] usbcore: registered new device driver usb
    [ 2.073041] SCSI subsystem initialized
    [ 2.075058] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 2.075393] ehci-pci: EHCI PCI platform driver
    [ 2.075595] libata version 3.00 loaded.
    [ 2.075607] ehci-pci 0000:00:1a.0: setting latency timer to 64
    [ 2.075628] ehci-pci 0000:00:1a.0: EHCI Host Controller
    [ 2.075664] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
    [ 2.075687] ehci-pci 0000:00:1a.0: debug port 2
    [ 2.079676] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
    [ 2.079703] ehci-pci 0000:00:1a.0: irq 16, io mem 0xfbd08000
    [ 2.086921] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
    [ 2.087210] hub 1-0:1.0: USB hub found
    [ 2.087224] hub 1-0:1.0: 2 ports detected
    [ 2.087609] ehci-pci 0000:00:1d.0: setting latency timer to 64
    [ 2.087620] ehci-pci 0000:00:1d.0: EHCI Host Controller
    [ 2.087628] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
    [ 2.087646] ehci-pci 0000:00:1d.0: debug port 2
    [ 2.091655] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
    [ 2.091677] ehci-pci 0000:00:1d.0: irq 23, io mem 0xfbd07000
    [ 2.100198] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
    [ 2.100402] hub 2-0:1.0: USB hub found
    [ 2.100413] hub 2-0:1.0: 2 ports detected
    [ 2.100556] ahci 0000:00:1f.2: version 3.0
    [ 2.100724] ahci 0000:00:1f.2: irq 45 for MSI/MSI-X
    [ 2.100819] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 3 Gbps 0x13 impl SATA mode
    [ 2.100823] ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck pm led clo pio slum part ems sxs apst
    [ 2.100828] ahci 0000:00:1f.2: setting latency timer to 64
    [ 2.114500] scsi0 : ahci
    [ 2.114680] scsi1 : ahci
    [ 2.114837] scsi2 : ahci
    [ 2.114999] scsi3 : ahci
    [ 2.115160] scsi4 : ahci
    [ 2.115327] scsi5 : ahci
    [ 2.115387] ata1: SATA max UDMA/133 abar m2048@0xfbd06000 port 0xfbd06100 irq 45
    [ 2.115391] ata2: SATA max UDMA/133 abar m2048@0xfbd06000 port 0xfbd06180 irq 45
    [ 2.115393] ata3: DUMMY
    [ 2.115394] ata4: DUMMY
    [ 2.115398] ata5: SATA max UDMA/133 abar m2048@0xfbd06000 port 0xfbd06300 irq 45
    [ 2.115399] ata6: DUMMY
    [ 2.393678] usb 1-1: new high-speed USB device number 2 using ehci-pci
    [ 2.433682] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    [ 2.433781] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [ 2.433831] ata5: SATA link down (SStatus 0 SControl 300)
    [ 2.434884] ata1.00: ATA-8: HGST HTS545050A7E380, GG2OAC90, max UDMA/133
    [ 2.434889] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
    [ 2.436127] ata2.00: ATAPI: PLDS DVD+/-RW DS-8A4S, JD12, max UDMA/100
    [ 2.436147] ata1.00: configured for UDMA/133
    [ 2.436450] scsi 0:0:0:0: Direct-Access ATA HGST HTS545050A7 GG2O PQ: 0 ANSI: 5
    [ 2.437560] ata2.00: configured for UDMA/100
    [ 2.443701] scsi 1:0:0:0: CD-ROM PLDS DVD+-RW DS-8A4S JD12 PQ: 0 ANSI: 5
    [ 2.447926] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
    [ 2.447932] sd 0:0:0:0: [sda] 4096-byte physical blocks
    [ 2.448029] sd 0:0:0:0: [sda] Write Protect is off
    [ 2.448032] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [ 2.448096] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 2.455780] sr0: scsi3-mmc drive: 24x/8x writer dvd-ram cd/rw xa/form2 cdda pop-up
    [ 2.455783] cdrom: Uniform CD-ROM driver Revision: 3.20
    [ 2.455953] sr 1:0:0:0: Attached scsi CD-ROM sr0
    [ 2.517726] hub 1-1:1.0: USB hub found
    [ 2.517904] hub 1-1:1.0: 6 ports detected
    [ 2.539836] sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 >
    [ 2.541577] sd 0:0:0:0: [sda] Attached SCSI disk
    [ 2.623825] usb 2-1: new high-speed USB device number 2 using ehci-pci
    [ 2.687279] Switched to clocksource tsc
    [ 2.748052] hub 2-1:1.0: USB hub found
    [ 2.748154] hub 2-1:1.0: 8 ports detected
    [ 2.827208] usb 1-1.6: new high-speed USB device number 3 using ehci-pci
    [ 3.020708] usb 2-1.1: new low-speed USB device number 3 using ehci-pci
    [ 3.111476] hidraw: raw HID events driver (C) Jiri Kosina
    [ 3.114205] usbcore: registered new interface driver usbhid
    [ 3.114208] usbhid: USB HID core driver
    [ 3.114758] input: SIGMACH1P U+P Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input7
    [ 3.114892] hid-generic 0003:1C4F:0003.0001: input,hidraw0: USB HID v1.10 Mouse [SIGMACH1P U+P Mouse] on usb-0000:00:1d.0-1.1/input0
    [ 3.177353] usb 2-1.6: new full-speed USB device number 4 using ehci-pci
    [ 3.263497] hub 2-1.6:1.0: USB hub found
    [ 3.263678] hub 2-1.6:1.0: 3 ports detected
    [ 3.530764] usb 2-1.6.1: new full-speed USB device number 5 using ehci-pci
    [ 3.620086] input: HID 413c:8161 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6.1/2-1.6.1:1.0/input/input8
    [ 3.620222] hid-generic 0003:413C:8161.0002: input,hidraw1: USB HID v1.11 Keyboard [HID 413c:8161] on usb-0000:00:1d.0-1.6.1/input0
    [ 3.687480] usb 2-1.6.2: new full-speed USB device number 6 using ehci-pci
    [ 3.777822] input: HID 413c:8162 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6.2/2-1.6.2:1.0/input/input9
    [ 3.777977] hid-generic 0003:413C:8162.0003: input,hidraw2: USB HID v1.11 Mouse [HID 413c:8162] on usb-0000:00:1d.0-1.6.2/input0
    [ 6.791593] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null)
    [ 7.770413] systemd[1]: systemd 208 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
    [ 7.798237] systemd[1]: Set hostname to <MyDellora>.
    [ 8.906388] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
    [ 8.906452] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ 8.906465] systemd[1]: Starting Login Prompts.
    [ 8.906476] systemd[1]: Reached target Login Prompts.
    [ 8.906483] systemd[1]: Starting Remote File Systems.
    [ 8.906491] systemd[1]: Reached target Remote File Systems.
    [ 8.906499] systemd[1]: Starting Device-mapper event daemon FIFOs.
    [ 8.906530] systemd[1]: Listening on Device-mapper event daemon FIFOs.
    [ 8.906538] systemd[1]: Starting Delayed Shutdown Socket.
    [ 8.906563] systemd[1]: Listening on Delayed Shutdown Socket.
    [ 8.906571] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
    [ 8.906588] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [ 8.906595] systemd[1]: Starting LVM2 metadata daemon socket.
    [ 8.906618] systemd[1]: Listening on LVM2 metadata daemon socket.
    [ 8.906626] systemd[1]: Starting Encrypted Volumes.
    [ 8.906634] systemd[1]: Reached target Encrypted Volumes.
    [ 8.906666] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
    [ 8.906771] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    [ 8.906783] systemd[1]: Starting Journal Socket.
    [ 8.906825] systemd[1]: Listening on Journal Socket.
    [ 8.923805] systemd[1]: Starting Load Kernel Modules...
    [ 8.940933] systemd[1]: Starting Apply Kernel Variables...
    [ 8.941260] systemd[1]: Starting Setup Virtual Console...
    [ 8.941566] systemd[1]: Mounting Debug File System...
    [ 8.941964] systemd[1]: Mounting POSIX Message Queue File System...
    [ 8.942263] systemd[1]: Mounting Huge Pages File System...
    [ 8.942663] systemd[1]: Starting Journal Service...
    [ 8.943150] systemd[1]: Started Journal Service.
    [ 9.533948] systemd-journald[128]: Vacuuming done, freed 0 bytes
    [ 10.753314] EXT4-fs (sda7): re-mounted. Opts: (null)
    [ 10.860199] systemd-udevd[161]: starting version 208
    [ 10.978562] systemd-journald[128]: Received request to flush runtime journal from PID 1
    [ 12.670501] ACPI: Requesting acpi_cpufreq
    [ 12.791154] ACPI: AC Adapter [AC] (on-line)
    [ 13.046379] ACPI: Battery Slot [BAT0] (battery present)
    [ 13.075713] thermal LNXTHERM:00: registered as thermal_zone0
    [ 13.075718] ACPI: Thermal Zone [THM] (61 C)
    [ 13.109004] wmi: Mapper loaded
    [ 13.169313] snd_hda_intel 0000:00:1b.0: irq 46 for MSI/MSI-X
    [ 13.267456] input: PC Speaker as /devices/platform/pcspkr/input/input10
    [ 13.386188] microcode: CPU0 sig=0x20652, pf=0x10, revision=0x9
    [ 13.535845] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input12
    [ 13.668535] input: HDA Intel MID HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
    [ 13.668663] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
    [ 13.668776] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
    [ 13.669369] mei_me 0000:00:16.0: setting latency timer to 64
    [ 13.669426] mei_me 0000:00:16.0: irq 47 for MSI/MSI-X
    [ 13.671461] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    [ 13.671504] ACPI Warning: 0x0000000000000540-0x000000000000054f SystemIO conflicts with Region \_SB_.PCI0.SBRG.GPI1 1 (20130725/utaddress-251)
    [ 13.671511] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
    [ 13.671513] ACPI Warning: 0x0000000000000530-0x000000000000053f SystemIO conflicts with Region \_SB_.PCI0.SBRG.GPI1 1 (20130725/utaddress-251)
    [ 13.671517] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
    [ 13.671519] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conflicts with Region \_SB_.PCI0.SBRG.GPI1 1 (20130725/utaddress-251)
    [ 13.671523] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
    [ 13.671524] lpc_ich: Resource conflict(s) found affecting gpio_ich
    [ 13.671562] intel ips 0000:00:1f.6: CPU TDP doesn't match expected value (found 25, expected 29)
    [ 13.671870] intel ips 0000:00:1f.6: IPS driver initialized, MCP temp limit 90
    [ 13.672007] ACPI Warning: 0x000000000000f000-0x000000000000f01f SystemIO conflicts with Region \_SB_.PCI0.SMB_.SMBI 1 (20130725/utaddress-251)
    [ 13.672014] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
    [ 13.726676] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2)
    [ 13.796857] microcode: CPU1 sig=0x20652, pf=0x10, revision=0x9
    [ 13.804028] microcode: CPU2 sig=0x20652, pf=0x10, revision=0x9
    [ 13.804444] microcode: CPU3 sig=0x20652, pf=0x10, revision=0x9
    [ 13.804899] microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
    [ 13.871967] iTCO_vendor_support: vendor-support=0
    [ 13.912022] input: Dell WMI hotkeys as /devices/virtual/input/input16
    [ 14.205694] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.10
    [ 14.205738] iTCO_wdt: Found a HM57 TCO device (Version=2, TCOBASE=0x0460)
    [ 14.206640] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
    [ 14.234179] bcma: bus0: Found chip with id 0x4313, rev 0x01 and package 0x08
    [ 14.234212] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x24, class 0x0)
    [ 14.234237] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x18, class 0x0)
    [ 14.234286] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x11, class 0x0)
    [ 14.246839] bcma: bus0: Bus registered
    [ 14.434160] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
    [ 14.434457] r8169 0000:13:00.0: irq 48 for MSI/MSI-X
    [ 14.434659] r8169 0000:13:00.0 eth0: RTL8102e at 0xffffc900212fe000, a4:ba:db:c8:85:03, XID 04e00000 IRQ 48
    [ 14.725165] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04733/0xa40000/0xa0000, board id: 3655, fw id: 581785
    [ 14.769986] systemd-udevd[180]: renamed network interface eth0 to enp19s0
    [ 14.800096] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input11
    [ 14.878089] kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using workaround
    [ 15.153982] cfg80211: Calling CRDA to update world regulatory domain
    [ 15.553384] Support for cores revisions 0x17 and 0x18 disabled by module param allhwsupport=0. Try b43.allhwsupport=1
    [ 15.553458] b43: probe of bcma0:0 failed with error -524
    [ 15.553508] Broadcom 43xx driver loaded [ Features: PMNLS ]
    [ 15.951790] brcmsmac bcma0:0: mfg 4bf core 812 rev 24 class 0 irq 17
    [ 15.998636] media: Linux media interface: v0.10
    [ 16.075766] Linux video capture interface: v2.00
    [ 16.159110] uvcvideo: Found UVC 1.00 device Laptop_Integrated_Webcam_1.3M (0c45:6461)
    [ 16.184262] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    [ 16.184588] ieee80211 phy0: registered radio enabled led device: brcmsmac-phy0:radio gpio: 243
    [ 16.229297] input: Laptop_Integrated_Webcam_1.3M as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/input/input17
    [ 16.229578] usbcore: registered new interface driver uvcvideo
    [ 16.229581] USB Video Class driver (1.1.1)
    [ 16.373654] systemd-udevd[172]: renamed network interface wlan0 to wlp18s0
    [ 18.144304] Adding 2269180k swap on /dev/sda6. Priority:-1 extents:1 across:2269180k FS
    [ 86.950402] fuse init (API version 7.22)
    [ 277.029449] usb 2-1.2: new high-speed USB device number 7 using ehci-pci
    [ 277.467071] NET: Registered protocol family 35
    [ 277.472157] usbcore: registered new interface driver cdc_ether
    [ 277.476281] usbcore: registered new interface driver cdc_phonet
    [ 277.483771] usb 2-1.2: bad CDC descriptors
    [ 277.484376] usbcore: registered new interface driver rndis_host
    [ 277.496455] cdc_acm 2-1.2:1.4: ttyACM0: USB ACM device
    [ 277.498229] usbcore: registered new interface driver cdc_acm
    [ 277.498258] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 277.519452] usb 2-1.2: bad CDC descriptors
    [ 277.519767] usbcore: registered new interface driver rndis_wlan
    [ 288.768279] PPP generic driver version 2.4.2
    [ 293.996611] PPP BSD Compression module registered
    [ 294.129600] PPP Deflate Compression module registered
    here is the critical chain output
    systemd-analyze critical-chain
    The time after the unit is active or started is printed after the "@" character.
    The time the unit takes to start is printed after the "+" character.
    graphical.target @15.633s
    └─multi-user.target @15.633s
    └─dkms.service @11.596s +4.037s
    └─basic.target @11.593s
    └─timers.target @11.592s
    └─systemd-tmpfiles-clean.timer @11.545s
    └─sysinit.target @11.543s
    └─swap.target @11.494s
    └─dev-disk-by\x2duuid-6ff023ec\x2d720b\x2d4c7a\x2d87ff\x2ddf5224b2
    └─system.slice @2.016s
    └─-.slice @2.015s
    lines 1-14/14 (END)...skipping...
    The time after the unit is active or started is printed after the "@" character.
    The time the unit takes to start is printed after the "+" character.
    graphical.target @15.633s
    └─multi-user.target @15.633s
    └─dkms.service @11.596s +4.037s
    └─basic.target @11.593s
    └─timers.target @11.592s
    └─systemd-tmpfiles-clean.timer @11.545s
    └─sysinit.target @11.543s
    └─swap.target @11.494s
    └─dev-disk-by\x2duuid-6ff023ec\x2d720b\x2d4c7a\x2d87ff\x2ddf5224b293c3.swap @10.524s +41ms
    └─system.slice @2.016s
    └─-.slice @2.015s
    Last edited by Dinesh raja (2014-02-18 14:06:46)

  • [GUIDE] How to get MapleStory working in Arch Linux

    MapleStory is a free-of-charge, 2D, side-scrolling massively multiplayer online role-playing game developed by the South Korean company Wizet. Several versions of the game are available for specific countries or regions, and each is published by various companies such as Wizet and Nexon. Although playing the game is free, character appearances and gameplay enhancements can be purchased from the "Cash Shop" using real money. MapleStory has a combined total of over 50 million subscriber accounts in all of its versions. MapleStory North America (Global), for players mainly in North America and outside of East Asia, Southeast Asia and Europe, has over three million players.
    In the game, players travel the "Maple World", defeating monsters and developing their characters' skills and abilities as is typical in role-playing games. Players can interact with others in many ways, such as through chatting, trading, and playing minigames. Groups of players can band together in parties to hunt monsters and share the rewards. Players can also join a guild to interact more easily with each other.
    I am an avid mapler myself, however, I am also an avid archer! For some time, I have wanted to get MapleStory working on Arch Linux in some way, but nothing seemed to work. As you might have guessed by now, recently, while playing around with VirtualBox, I discovered a method to get MapleStory working on it! Though in this method you won't actually have MapleStory running on Arch Linux, you'll have it running on a VirtualBox Windows virtual machine, that is still pretty good compared to other people's experiences.
    I hope there are at least a few maplers on this forum, and if there aren't, I hope that someone will port this post over to other Linux, or even MapleStory, forums. Anyways, let's begin.
    1. Download and install a version of Virtual Box that is version 3.0+. The reason for this is that, only versions 3.0+ support an experimental DirectX Driver with 3D acceleration that is required for MapleStory to run.
    2. Create a Windows Virtual Machine, add a hard disk to it, and install and update Windows on it(preferably Windows XP, as it uses less resources than other contemporary Windows installations).
    3. Once you have done all you needed and wanted on that Windows installation, restart it, boot it into safe mode by holding F8 at the boot, and wait until the desktop is fully loaded.
    4. After you are at the desktop, go to "Devices" at the top of the menu of the Windows virtual machine, and select "Install Guest Additions...". Wait until Guest Additions finishes installing, and when VirtualBox asks you if you want to mount the disk containing the Guest Additions on the virtual machine, say "Yes".
    5. Run the main executable on the disk that doesn't have amd64 or x86 following its name. Follow the instructions it gives you, and when it asks you what components to install, make sure both of the boxes it shows you are checked.
    6. After the install is completed, the virtual machine will restart. After it restarts, shut it down.
    7. Congratulations! You now have DirectX installed on your VirtualBox virtual machine! Now you need to activate the "3D Acceleration", that enables it.
    8. In the VirtualBox main window, make sure you have your machine with Windows selected. Then, click on "Machine", and then "Settings...", at the top. A new window should pop up. On the left hand side, click on the display panel, and in the new settings section, tick Enable 3D Acceleration. Click "OK", to save the settings.
    9. Start your Windows virtual machine, install MapleStory just as you would on a normal windows computer, and run MapleStory.
    Notes: This way of running MapleStory is slower than by running it normally, on a normal windows computer. Also, try to not interact with your Linux desktop while playing MapleStory, because this can cause HackShield to shut down MapleStory, due to the fact that it believes there is a hacking attempt.
    If any of you port this guide to any other place on the web, please, credit me, neovaysburd5.
    For any further questions or inquiries, this goes to all of you, please contact me at [email protected].
    Last edited by neovaysburd5 (2009-08-19 16:51:31)

    Alright, I've posted it in the wiki. I don't know if it meets the Arch Linux wiki standards, so if there is absolutely anything wrong with it, please fix it right away. Don't even ask my permission.
    http://wiki.archlinux.org/index.php/MapleStory

  • Arch Linux Pacman Proxy Script

    Since my Arch box has no internet connection (yes, I'm that much of a masochist), I wrote a bash script to act as a proxy of sorts for pacman, at least as regards downloading. It took a while to get it working (intermittent web access and all) but here it finally is, as promised.
    It works well for me, and I only hope that it will help anyone else in the same situation (if there is anyone else in the same situation).
    The script has various options to explain everything you need to know, but here's a quick word of warning: it only works on POSIX-compatible computers (i.e. no Wintendows, usually) and the proxy box needs to have bash, wget, tar, grep and sed installed. I don't see this as being a problem, but if I'm wrong, tell me all about it.
    #!/bin/bash
    readonly VER="2.1"
    readonly wgetVER=`wget -V|sed '1!d'`
    # DEBUG levels:
    # Set to 0 for ALERT-level messages only
    # Set to 1 for INFO-level messages (I prefer this)
    # Set to 2 for DEBUG-level messages
    # Set to 3 for all messages
    readonly DEBUG=0
    # Set DEBUGLOG=1 to print ALERT, INFO and DEBUG messages to DEBUG.log
    readonly DEBUGLOG=0
    readonly COLOUR=true
    if [[ $COLOUR == true ]] ; then
    readonly red='\e[31m'
    readonly warn='\e[31;7m '
    readonly green='\e[32m'
    readonly lgreen='\e[32;1m'
    readonly yellow='\e[33;1m'
    readonly lblue='\e[34;1m'
    readonly dull='\e[0m' ; fi
    # Sticky details:
    # tar seems very slow (vfat? transform? USB?)
    function bugspray {
    [[ -z $2 ]] && verbosity=1 || verbosity=$2
    if (( DEBUG >= verbosity )) ; then
    (( $2 == 0 )) && intro="${warn}ALERT${dull} | "
    (( $2 == 1 )) && intro=" INFO | "
    (( $2 > 1 )) && intro=" ${yellow}DEBUG${dull} | "
    echo -e "$intro$1"
    (( DEBUGLOG == 1 )) && echo "`date +%F_%T` | $1">>log-alpps/DEBUG.log ; fi ; }
    function compare_versions {
    # Requires two ordinary, untweaked version strings, first local, second distant
    if [[ -z $2 ]] ; then
    bugspray "compare_versions didn't receive two variables." 2 ; fi
    update='no'
    [[ -z $2 ]] && return
    local localversion=(`echo $1|sed -r 's/([[:alpha:]]+)/ \1 /g;s/[\.:~_-]/ /g'`)
    local distantversion=(`echo $2|sed -r 's/([[:alpha:]]+)/ \1 /g;s/[\.:~_-]/ /g'`)
    local max=$((${#distantversion[*]}))
    bugspray "localversion: ${localversion[*]}; distantversion: ${distantversion[*]}" 2
    for (( x=0 ; (( x < $max )) ; $((x++)) )) ; do
    bugspray "local version part: `echo ${localversion[$x]}` | distant version part: `echo ${distantversion[$x]}`" 2
    if [[ `echo ${localversion[$x]}|grep -E '^[0-9]*$'` && `echo ${distantversion[$x]}|grep -E '^[0-9]*$'` ]] ; then
    bugspray "Numerical comparison" 2
    bugspray "localver (${localversion[$x]}) less than distantver (${distantversion[$x]}): $(( 10#${localversion[$x]} < 10#${distantversion[$x]} ))" 3
    # Different compare methods for numbers, single letters and multiple letters.
    if (( 10#${localversion[$x]} < 10#${distantversion[$x]} )) ; then
    update='yes'
    break ; fi ; fi
    if [[ `echo ${localversion[$x]}|grep -E '^[[:alpha:]]$'` && `echo ${distantversion[$x]}|grep -E '^[[:alpha:]]$'` ]] ; then # single letter -> compare
    bugspray "Lexicographical comparison" 2
    bugspray "localver (${localversion[$x]}) less than distantver (${distantversion[$x]}): [[ ${localversion[$x]} < ${distantversion[$x]} ]]" 3
    if [[ ${localversion[$x]} < ${distantversion[$x]} ]] ; then
    update='yes'
    break ; fi ; fi
    if [[ `echo ${localversion[$x]}|grep -E '^[[:alpha:]]+$'` && `echo ${distantversion[$x]}|grep -E '^[[:alpha:]]+$'` ]] ; then # string -> drop
    # cvs / git / beta -> what are the rules?
    bugspray "Sequence of letters. Not treating as version number." 2 ; fi
    done ; }
    function find_dependencies {
    # Determine existence via unique path
    bugspray "+ ${lgreen}Building download list for package \"$1\"${dull}" 1
    local packagename
    local dlfile
    local package_found=no
    if [[ `ls .temp-alpps/*.db/$1-* 2>/dev/null` ]] ; then
    bugspray "Analogous package-name file(s) found" 2
    for x in `ls .temp-alpps/*.db/$1-*/desc` ; do
    bugspray "Checking $x" 2
    packagename=`sed -r '/%NAME%/,+1!d;/%NAME%/d' $x`
    if [[ j$packagename == j$1 ]] ; then
    bugspray "Exact match found: $packagename = $1" 2
    dlfile=`sed '/%FILENAME%/,+1!d;/%FILENAME%/d' $x`
    local distantversion=`sed '/%VERSION%/,+1!d;/%VERSION%/d' $x`
    local package_full=$packagename-$distantversion
    local the_repo=`echo $x|sed -r 's/.temp-alpps\/(.*)\.db.*/\1/'`
    local the_path=`echo $x|sed -r 's/desc//'`
    unplus=`echo $packagename|sed 's/\+/\\\+/g'`
    local local_version=`sed -r '/^'$unplus' /!d;s/.* //' .temp-alpps/snapshot.state`
    package_found=yes
    break ; fi ; done ; fi
    if [[ -z $dlfile ]] ; then
    bugspray "Exact match not found -> looking for replacements." 2
    if ! [[ -z `grep $1 .temp-alpps/*.db/*/depends` ]] ; then
    local provisional=`grep $1 .temp-alpps/*.db/*/depends|sed -r 's/\/depends.*//'`
    for package in $provisional ; do
    local providence=`sed -r '/%PROVIDES%/,/^$/!d;/%PROVIDES%/d;/^$/d;s/>.*//;s/=.*//' $package/depends`
    for y in $providence ; do
    if [[ j$y == j$1 ]] ; then
    # But what about when several packages provide the same thing and ALPPS picks the wrong one? Can it happen?
    local newdep=`sed -r '/%NAME%/,+1!d;/%NAME%/d' $package/desc`
    bugspray " -> Package \"$newdep\" provides \"$1\"." 1
    find_dependencies $newdep
    break 2 ; fi ; done ; done
    if [[ -z $newdep ]] ; then
    bugspray "${warn}Warning:${dull} package \"$1\" not found in database." 0 ; fi ; fi ; fi
    bugspray "package: $1 | package_found = $package_found" 2
    # Add file to download_list if not up to date and if not already present
    if [[ j$package_found == jyes ]] ; then
    local already_got_one=no
    unplus=`echo $dlfile|sed 's/\+/\\\+/g'`
    [[ `echo $download_files|grep $unplus` ]] && already_got_one="yes" && bugspray "${green}Package in queue${dull}" 1
    [[ `ls downloads/$dlfile 2>/dev/null` ]] && already_got_one="yes" && bugspray "${green}Package proxied${dull}" 1
    compare_versions $local_version $distantversion
    bugspray "compare_versions says: $update" 2
    ! [[ -z $local_version || $update == yes ]] && already_got_one="yes" && bugspray "${green}Package already installed and up-to-date${dull}" 1
    if [[ j$already_got_one != jyes ]] ; then
    bugspray "${green}Confirm downloading${dull}" 1
    download_files+="$dlfile "
    download_array[${dlfile}]=$the_repo
    bugspray "Checking for further dependencies" 2
    if [[ -a $the_path/depends && `grep -E '^%DEPENDS%$' $the_path/depends` ]] ; then
    local dependency=`sed -r '/%DEPENDS%/d;/^$/q' $the_path/depends`
    bugspray "Dependencies of \"$packagename\":$dependency" 3
    for x in $dependency ; do
    # Is this dependency already installed? Sort-of the same as higher up; it just saves time here.
    local depname=`echo $x|sed -r 's/>.*//;s/=.*//'`
    local depminver=`echo $x|sed -r 's/.*>//'`
    bugspray "Dependency name: \"$depname\"" 2
    if ! [[ `grep -E '^$depname ' .temp-alpps/snapshot.state` ]] ; then
    find_dependencies $depname ; fi ; done
    else
    bugspray "${lblue}End of the line${dull}: package \"$packagename\" has no dependencies." 2
    true ; fi ; fi ; fi ; }
    function failover_fetch {
    echo "Downloading `echo $1|sed 's/.*\///'`"
    [[ -d log-alpps/ ]] || mkdir log-alpps/
    [[ -z $success ]] || unset success
    for mirror in $(<.temp-alpps/snapshot.mirrorlist) ; do
    # If DEBUG>0, shouldn't redirect output
    url=`echo $mirror|sed 's/$arch/'$arch'/;s/$repo/'${download_array[$1]}'/'`/$1
    bugspray "Connecting to $url" 2
    wget -o .temp-alpps/very-temp-log -U "Arch Linux Pacman Proxy Script version $VER / $wgetVER" -P downloads/ $url && success=true
    cat .temp-alpps/very-temp-log>>log-alpps/download.log
    rm -f .temp-alpps/very-temp-log
    if [[ -n $success ]] ; then
    bugspray "Download: \$success = true" 2
    break ; fi ; done
    if [[ -z $success ]] ; then
    bugspray "${warn}FAIL:${dull} $1 not accessible on known mirrors." 0 ; fi ; }
    case $1 in
    warranty)
    echo
    echo -e " ${green}Warranty${dull}"
    echo -e " ${green}========${dull}"
    echo " This program is free software. It comes without any warranty, to"
    echo " the extent permitted by applicable law. You can redistribute it"
    echo " and/or modify it under the terms of the Do What The Fuck You Want"
    echo " To Public License, Version 2, as published by Sam Hocevar. See"
    echo " http://sam.zoy.org/wtfpl/COPYING for more details."
    echo
    howto)
    echo
    echo -e " ${green}How to use ALPPS${dull}"
    echo -e " ${green}================${dull}"
    echo -e " ${yellow}+ Step 0${dull}: prime the engine"
    echo " On your offline box, copy the ALPPS script onto a removable medium, cd into"
    echo " it's directory, then run it with the \"init\" option. This essentially"
    echo " takes a snapshot of your system, package-wise. Your removable medium is"
    echo " now ready for use!"
    echo -e " ${yellow}+ Step 1${dull}:"
    echo " On the proxy box the first order of business is to download and decompress"
    echo " the current package lists. You can do this with the \"fetchdb\" option."
    echo -e " ${yellow}+ Step 1 alt${dull}:"
    echo " If you want to download the package lists without decompressing them,"
    echo " \"fetchdb simple\" will do this. It's a lot quicker, but please keep"
    echo " in mind that you cannot then do anything in step 2."
    echo -e " ${yellow}+ Step 2${dull}:"
    echo " If you want to download packages (and why wouldn't you?), the easiest way"
    echo " is to prepare a simple text file containing the names of the packages you"
    echo " want, one on each line. Run ALPPS with the option \"fetch <filename>\" and"
    echo " sit back and wait until it's done. Don't worry about dependencies: ALPPS"
    echo " handles them automatically."
    echo -e " ${yellow}+ Step 2 alt${dull}:"
    echo " As a convenience, \"fetch full\" will download all the packages needed to"
    echo " update the offline box."
    echo -e " ${yellow}+ Step 3${dull}:"
    echo " Finally, back on your offline box, run ALPPS again with the \"install\""
    echo " option. This will update the package list and copy the package files into"
    echo " local cache. You can now run \"pacman -S <package names>\" to finish"
    echo " installing the packages."
    # ALPPS no longer installs the packages, just caches them locally.
    # Not entirely sure why; it just felt too klutzy.
    echo -e " ${yellow}+ Step 4${dull}:"
    echo " You will now probably want to delete all the stuff you no longer need. Run"
    echo " ALPPS with the option \"clean\". This won't touch your request file(s). It"
    echo -e " ${red}WILL${dull} delete log files, so if you want to keep them, back them up first."
    echo " Next time you do this, don't forget to run ALPPS with \"init\" again."
    echo
    bugs)
    echo
    echo -e " ${green}Where this goes wrong${dull}"
    echo -e " ${green}=====================${dull}"
    echo " + ALPPS is a bit slow when packages have many dependencies. It's a recursive"
    echo " shell script: what did you expect?"
    echo " + It only uses the settings in /etc/pacman.conf. If your conf file is"
    echo " elsewhere, you're SOL. Similarly, the repositories are all taken from"
    echo " /etc/pacman.d/mirrorlist. If you added any custom repositories in"
    echo " /etc/pacman.conf (or any other file), ALPPS ignores them."
    echo " + As it stands, ALPPS only works when the proxy box has bash, wget, sed,"
    echo " grep and tar installed. The offline box needs bash, pacman and sed (in"
    echo " theory, this shouldn't be a problem...)."
    echo " + There is as yet no way of handling package groups, short of listing every"
    echo " member of the group."
    echo " + I don't think ALPPS will ever be able to handle AUR packages. Of course, if"
    echo " you're compiling AUR packages, you probably won't need something like this!"
    echo
    faq)
    echo
    echo -e " ${green}Frequently Asked Questions${dull}"
    echo -e " ${green}==========================${dull}"
    echo
    echo -e " ${red}Q:${dull} Can I run the whole thing off a USB stick?"
    echo -e " ${lblue}A:${dull} Certainly."
    echo
    echo -e " ${red}Q:${dull} Can I use a non-POSIX computer as a proxy (e.g. Windows)?"
    echo -e " ${lblue}A:${dull} Probably not, unless that computer has a POSIX-compatibility layer"
    echo " installed (such as Cygwin) with bash, wget, tar, sed and grep."
    echo
    echo -e " ${red}Q:${dull} Do I need to download the package list, waste time updating my computer,"
    echo " then go back again to download the packages I want?"
    echo -e " ${lblue}A:${dull} Nope! You can update the packagelist database and download piping-hot"
    echo " fresh packages, all in one sitting."
    echo -e " ${red}Q:${dull} You mean I won't have to futz around with package lists that keep updating"
    echo " ten minutes after I download them?"
    echo -e " ${lblue}A:${dull} Exactly. Nice, isn't it?"
    echo
    echo -e " ${red}Q:${dull} Does this thing handle SSL and signed packages?"
    echo -e " ${lblue}A:${dull} ALPPS uses SSL if:"
    echo " - the mirror has an https address (at present, none do), and"
    echo " - wget on the proxy box is compiled with SSL support"
    echo " Concerning signed packages: no, but then again, it doesn't need to. ALPPS"
    echo " downloads packages; it's pacman's responsibility to verify them. Your"
    echo " system remains safe (or as safe as it ever was, at any rate)."
    echo -e " ${red}Q:${dull} What about gpg keys? I need to get them."
    echo -e " ${lblue}A:${dull} ...maybe later, say, in version 3."
    echo
    echo -e " ${red}Q:${dull} ALPPS says it \`prepares databases´. Can pacman still use them after this?"
    echo -e " ${lblue}A:${dull} Yes, it can. In fact, what ALPPS does is extract the databases into a"
    echo " temp directory, without altering the original .db files."
    echo
    echo -e " ${red}Q:${dull} Where can I contact you?"
    echo -e " ${lblue}A:${dull} For constructive, useful questions and comments: [email protected] and"
    echo " be sure to mention Arch Linux in the subject."
    echo " For flames, trolling, spam and the like, visit your local bitbucket."
    echo
    todo)
    echo
    echo -e " ${green}What's next?${dull}"
    echo -e " ${green}============${dull}"
    echo -e " + I ${red}might${dull} be able to extend the reach of this thing to the AUR."
    echo " Yes, I know I said ALPPS couldn't (in \"bugs\"), but I've learned"
    echo " something new since then. It'll be tricky, though, since the AUR web"
    echo " interface delivers results in python. While this should be a Good Thing,"
    echo " bash isn't very good at handling python-format lists and dicts."
    echo
    -v|ver|version|--ver|--version)
    echo -e "${lgreen}Arch Linux pacman proxy script${dull} | ${yellow}version $VER${dull}"
    dl_list) # Debugging
    (( DEBUG == 0 )) && echo "the \"dl_list\" option is only for debugging" && exit 0
    arch=$(<.temp-alpps/snapshot.architecture)
    unset download_files
    unset download_array
    declare -A download_array
    find_dependencies $2
    bugspray "Download list: $download_files" 3
    echo "Download list v2:"
    for x in $download_files ; do
    bugspray " File \"$x\" from repo \"${download_array[$x]}\"" 3
    echo " Full URL: http://mirror.archlinux.org/${download_array[$x]}/os/$arch/$x" ; done
    verint) # Debugging
    (( DEBUG == 0 )) && echo "the \"verint\" option is only for debugging" && exit 0
    for x in `ls .temp-alpps/*/$2-*/desc` ; do
    packagename=`sed -r '/%NAME%/,+1!d;/%NAME%/d' $x`
    if [[ j$packagename == j$2 ]] ; then
    bugspray "Unique package-name file found: $packagename=$2" 2
    distantversion=`sed '/%VERSION%/,+1!d;/%VERSION%/d' $x`
    dlfile=`sed '/%FILENAME%/,+1!d;/%FILENAME%/d' $x`
    package_full=$packagename-$distantversion
    the_repo=`echo $x|sed -r 's/.temp-alpps\/(.*)\.db.*/\1/'`
    the_path=`echo $x|sed -r 's/desc//'`
    local_version=`sed -r '/^'$packagename' /!d;s/.* //' .temp-alpps/snapshot.state`
    break ; fi ; done
    echo "full package filename: $dlfile"
    echo "Comparing local ($local_version) and distant ($distantversion) versions of $2..."
    compare_versions $local_version $distantversion
    #compare_versions 2.5beta3-2 2.5cvs4-1
    echo "...and the verdict is: $update"
    init)
    x=`uname -m`
    if [[ -x /usr/bin/pacman ]] ; then
    [[ -d .temp-alpps ]] || mkdir .temp-alpps/
    pacman -Q>.temp-alpps/snapshot.state
    sed -r '/^Se/!d;s/Server = //' /etc/pacman.d/mirrorlist>.temp-alpps/snapshot.mirrorlist
    sed -r '/^\[/!d;/options/d;s/\[(.*)\]/\1/' /etc/pacman.conf>.temp-alpps/snapshot.repositories
    sed -r '/^Architecture/!d;s/^.*= //' /etc/pacman.conf>.temp-alpps/snapshot.architecture
    [[ ! -s .temp-alpps/snapshot.architecture || auto == $(<.temp-alpps/snapshot.architecture) ]] && $x>.temp-alpps/snapshot.architecture
    sed -r '/^SyncFirst/!d;s/.*= //;s/ /\n/g' /etc/pacman.conf>.temp-alpps/snapshot.prioritypackages
    echo "Current state recorded."
    else
    echo "You seem to be running ALPPs on an unsupported system."
    echo "ALPPS is the ${lgreen}Arch Linux Pacman Proxy Script${dull} and simply"
    echo "won't run properly on a non-pacman OS (except when proxying)."
    echo "Aborting. Sorry."
    exit 1 ; fi
    fetchdb)
    [[ -d downloads ]] || mkdir downloads
    arch=$(<.temp-alpps/snapshot.architecture)
    declare -A download_array
    for repo in $(<.temp-alpps/snapshot.repositories) ; do
    download_array[${repo}.db]=$repo
    location="${repo}.db"
    failover_fetch $location ; done
    if [[ j$2 != jsimple ]] ; then
    [[ -d log-alpps ]] || mkdir log-alpps
    [[ -a syncfirst ]] && rm -f syncfirst
    echo "Preparing databases for local processing. This might take a while."
    for x in $(<.temp-alpps/snapshot.repositories) ; do
    echo "Preparing $x.db"
    if [[ -a downloads/$x.db ]] ; then
    [[ -d .temp-alpps/$x.db ]] || mkdir .temp-alpps/$x.db/
    tar -xzC .temp-alpps/$x.db/ -f downloads/$x.db --transform 's/:/§/' --no-same-owner && echo "$x database ready for use."
    else
    echo -e "Database $x.db is missing. Skipping. This will probably cause problems." ; fi ; done
    # SyncFirst package warning
    [[ -z $download_list ]] || unset download_list
    [[ -a syncfirst ]] && rm -f syncfirst
    for x in $(<.temp-alpps/snapshot.prioritypackages) ; do
    find_dependencies $x ; done
    bugspray "download_files: $download_files" 2
    if [[ ! -z $download_files ]] ; then
    echo "New version(s) of SyncFirst package(s):"
    for x in $(<.temp-alpps/snapshot.prioritypackages) ; do
    [[ ! -z `echo $download_files|grep $x` ]] && echo "- $x" && echo $x>>syncfirst ; done
    echo "Package names placed in 'syncfirst'. Don't forget to download them!" ; fi ; fi
    fetch)
    for x in $(<.temp-alpps/snapshot.repositories) ; do
    if ! [[ -d .temp-alpps/$x.db/ ]] ; then
    bugspray "You must first download a fresh database with the \"fetchdb\" option" 0
    exit 1 ; fi ; done
    arch=$(<.temp-alpps/snapshot.architecture)
    unset download_array
    declare -A download_array
    unset download_files
    if [[ $2 == full ]] ; then
    echo " Building full upgrade list. This will almost certainly take a while."
    echo " Please wait..."
    for y in `sed -r 's/^(.*) .*/\1/' .temp-alpps/snapshot.state` ; do
    bugspray "Examining $y" 1
    find_dependencies $y ; done
    elif [[ -a $2 ]] ; then
    echo " Determining dependencies. This might take a while. Please wait."
    for y in $(<$2) ; do
    bugspray "Examining $y" 1
    find_dependencies $y ; done
    else
    echo " Error: you should provide a list-file or the keyword \"full\"."
    echo " (see 'alpps.sh howto', step 2)"
    exit 1 ; fi
    if [[ -z $download_files ]] ; then
    echo " No files to download: either none found, or all found are up to date."
    else
    [[ -d downloads ]] || mkdir downloads
    for x in $download_files ; do
    failover_fetch $x ; done ; fi
    install)
    dbpath=`sed -r '/^DBPath/!d;s/^.*= //' /etc/pacman.conf`
    [[ -z $dbpath ]] && dbpath="/var/lib/pacman/"
    bugspray "dbpath: $dbpath" 2
    echo " Updating databases"
    cp -ft ${dbpath}sync/ downloads/*.db
    cachedir=`sed -r '/^CacheDir/!d;s/^.*= //' /etc/pacman.conf`
    [[ -z $cachedir ]] && cachedir="/var/cache/pacman/pkg/"
    echo " Caching packages"
    cp -f downloads/*.pkg.tar.xz $cachedir
    echo
    echo " Don't forget to install/update your packages."
    echo " Exercise proper caution."
    echo " Have fun!"
    clean)
    echo "Cleaning up. This might take a while."
    rm -fr .temp-alpps/ && echo "Buffer directory deleted" || echo "Problem deleting buffer directory '.temp-alpps/'"
    rm -fr log-alpps/ && echo "Log directory deleted" || echo "Problem deleting 'log-alpps/'"
    rm -fr downloads/ && echo "Downloaded packages deleted" || echo "Problem deleting 'downloads/'"
    echo
    echo -e " ${lgreen}Arch Linux pacman proxy script${dull}"
    echo
    echo -e " ${green}Description${dull}"
    echo -e " ${green}===========${dull}"
    echo -e " This is a bash script to fetch and install packages for an offline Arch box"
    echo " using another, online box as a proxy of sorts. So far, this only works if"
    echo " the proxy box has bash, wget, tar, sed and grep installed."
    echo " It's probably also entirely unsafe, incompatible and will destroy your box"
    echo " in a fiery blaze if you try to use it (you know the drill)."
    echo
    echo -e " ${green}Options${dull}"
    echo -e " ${green}=======${dull}"
    echo " init Step 0 (as it were): take a snapshot of your system"
    echo " fetchdb Step 1: download the packagelist database"
    echo " fetch <file> Step 2: download requested packages"
    echo " install Step 3: update your system"
    echo " clean Step 4: delete any unneeded files"
    echo
    echo " howto More detailed instructions"
    echo " bugs Problems and future plans"
    echo " faq As it says"
    echo " warranty (in case it ever becomes necessary)"
    echo " version (to be honest, I wasn't expecting to go beyond v1-rc or so)"
    echo " help You're reading it, doofus :^)"
    echo
    # dl_list Test the find_dependencies function"
    # verint Test the compare_versions function"
    esac

    AnimaInvicta wrote:
    Since my Arch box has no internet connection (yes, I'm that much of a masochist), I wrote a bash script to act as a proxy of sorts for pacman, at least as regards downloading. It took a while to get it working (intermittent web access and all) but here it finally is, as promised.
    It works well for me, and I only hope that it will help anyone else in the same situation (if there is anyone else in the same situation).
    The script has various options to explain everything you need to know, but here's a quick word of warning: it only works on POSIX-compatible computers (i.e. no Wintendows, usually) and the proxy box needs to have bash, wget, tar, grep and sed installed. I don't see this as being a problem, but if I'm wrong, tell me all about it.
    #!/bin/bash
    readonly VER="2.1"
    readonly wgetVER=`wget -V|sed '1!d'`
    # DEBUG levels:
    # Set to 0 for ALERT-level messages only
    # Set to 1 for INFO-level messages (I prefer this)
    # Set to 2 for DEBUG-level messages
    # Set to 3 for all messages
    readonly DEBUG=0
    # Set DEBUGLOG=1 to print ALERT, INFO and DEBUG messages to DEBUG.log
    readonly DEBUGLOG=0
    readonly COLOUR=true
    if [[ $COLOUR == true ]] ; then
    readonly red='\e[31m'
    readonly warn='\e[31;7m '
    readonly green='\e[32m'
    readonly lgreen='\e[32;1m'
    readonly yellow='\e[33;1m'
    readonly lblue='\e[34;1m'
    readonly dull='\e[0m' ; fi
    # Sticky details:
    # tar seems very slow (vfat? transform? USB?)
    function bugspray {
    [[ -z $2 ]] && verbosity=1 || verbosity=$2
    if (( DEBUG >= verbosity )) ; then
    (( $2 == 0 )) && intro="${warn}ALERT${dull} | "
    (( $2 == 1 )) && intro=" INFO | "
    (( $2 > 1 )) && intro=" ${yellow}DEBUG${dull} | "
    echo -e "$intro$1"
    (( DEBUGLOG == 1 )) && echo "`date +%F_%T` | $1">>log-alpps/DEBUG.log ; fi ; }
    function compare_versions {
    # Requires two ordinary, untweaked version strings, first local, second distant
    if [[ -z $2 ]] ; then
    bugspray "compare_versions didn't receive two variables." 2 ; fi
    update='no'
    [[ -z $2 ]] && return
    local localversion=(`echo $1|sed -r 's/([[:alpha:]]+)/ \1 /g;s/[\.:~_-]/ /g'`)
    local distantversion=(`echo $2|sed -r 's/([[:alpha:]]+)/ \1 /g;s/[\.:~_-]/ /g'`)
    local max=$((${#distantversion[*]}))
    bugspray "localversion: ${localversion[*]}; distantversion: ${distantversion[*]}" 2
    for (( x=0 ; (( x < $max )) ; $((x++)) )) ; do
    bugspray "local version part: `echo ${localversion[$x]}` | distant version part: `echo ${distantversion[$x]}`" 2
    if [[ `echo ${localversion[$x]}|grep -E '^[0-9]*$'` && `echo ${distantversion[$x]}|grep -E '^[0-9]*$'` ]] ; then
    bugspray "Numerical comparison" 2
    bugspray "localver (${localversion[$x]}) less than distantver (${distantversion[$x]}): $(( 10#${localversion[$x]} < 10#${distantversion[$x]} ))" 3
    # Different compare methods for numbers, single letters and multiple letters.
    if (( 10#${localversion[$x]} < 10#${distantversion[$x]} )) ; then
    update='yes'
    break ; fi ; fi
    if [[ `echo ${localversion[$x]}|grep -E '^[[:alpha:]]$'` && `echo ${distantversion[$x]}|grep -E '^[[:alpha:]]$'` ]] ; then # single letter -> compare
    bugspray "Lexicographical comparison" 2
    bugspray "localver (${localversion[$x]}) less than distantver (${distantversion[$x]}): [[ ${localversion[$x]} < ${distantversion[$x]} ]]" 3
    if [[ ${localversion[$x]} < ${distantversion[$x]} ]] ; then
    update='yes'
    break ; fi ; fi
    if [[ `echo ${localversion[$x]}|grep -E '^[[:alpha:]]+$'` && `echo ${distantversion[$x]}|grep -E '^[[:alpha:]]+$'` ]] ; then # string -> drop
    # cvs / git / beta -> what are the rules?
    bugspray "Sequence of letters. Not treating as version number." 2 ; fi
    done ; }
    function find_dependencies {
    # Determine existence via unique path
    bugspray "+ ${lgreen}Building download list for package \"$1\"${dull}" 1
    local packagename
    local dlfile
    local package_found=no
    if [[ `ls .temp-alpps/*.db/$1-* 2>/dev/null` ]] ; then
    bugspray "Analogous package-name file(s) found" 2
    for x in `ls .temp-alpps/*.db/$1-*/desc` ; do
    bugspray "Checking $x" 2
    packagename=`sed -r '/%NAME%/,+1!d;/%NAME%/d' $x`
    if [[ j$packagename == j$1 ]] ; then
    bugspray "Exact match found: $packagename = $1" 2
    dlfile=`sed '/%FILENAME%/,+1!d;/%FILENAME%/d' $x`
    local distantversion=`sed '/%VERSION%/,+1!d;/%VERSION%/d' $x`
    local package_full=$packagename-$distantversion
    local the_repo=`echo $x|sed -r 's/.temp-alpps\/(.*)\.db.*/\1/'`
    local the_path=`echo $x|sed -r 's/desc//'`
    unplus=`echo $packagename|sed 's/\+/\\\+/g'`
    local local_version=`sed -r '/^'$unplus' /!d;s/.* //' .temp-alpps/snapshot.state`
    package_found=yes
    break ; fi ; done ; fi
    if [[ -z $dlfile ]] ; then
    bugspray "Exact match not found -> looking for replacements." 2
    if ! [[ -z `grep $1 .temp-alpps/*.db/*/depends` ]] ; then
    local provisional=`grep $1 .temp-alpps/*.db/*/depends|sed -r 's/\/depends.*//'`
    for package in $provisional ; do
    local providence=`sed -r '/%PROVIDES%/,/^$/!d;/%PROVIDES%/d;/^$/d;s/>.*//;s/=.*//' $package/depends`
    for y in $providence ; do
    if [[ j$y == j$1 ]] ; then
    # But what about when several packages provide the same thing and ALPPS picks the wrong one? Can it happen?
    local newdep=`sed -r '/%NAME%/,+1!d;/%NAME%/d' $package/desc`
    bugspray " -> Package \"$newdep\" provides \"$1\"." 1
    find_dependencies $newdep
    break 2 ; fi ; done ; done
    if [[ -z $newdep ]] ; then
    bugspray "${warn}Warning:${dull} package \"$1\" not found in database." 0 ; fi ; fi ; fi
    bugspray "package: $1 | package_found = $package_found" 2
    # Add file to download_list if not up to date and if not already present
    if [[ j$package_found == jyes ]] ; then
    local already_got_one=no
    unplus=`echo $dlfile|sed 's/\+/\\\+/g'`
    [[ `echo $download_files|grep $unplus` ]] && already_got_one="yes" && bugspray "${green}Package in queue${dull}" 1
    [[ `ls downloads/$dlfile 2>/dev/null` ]] && already_got_one="yes" && bugspray "${green}Package proxied${dull}" 1
    compare_versions $local_version $distantversion
    bugspray "compare_versions says: $update" 2
    ! [[ -z $local_version || $update == yes ]] && already_got_one="yes" && bugspray "${green}Package already installed and up-to-date${dull}" 1
    if [[ j$already_got_one != jyes ]] ; then
    bugspray "${green}Confirm downloading${dull}" 1
    download_files+="$dlfile "
    download_array[${dlfile}]=$the_repo
    bugspray "Checking for further dependencies" 2
    if [[ -a $the_path/depends && `grep -E '^%DEPENDS%$' $the_path/depends` ]] ; then
    local dependency=`sed -r '/%DEPENDS%/d;/^$/q' $the_path/depends`
    bugspray "Dependencies of \"$packagename\":$dependency" 3
    for x in $dependency ; do
    # Is this dependency already installed? Sort-of the same as higher up; it just saves time here.
    local depname=`echo $x|sed -r 's/>.*//;s/=.*//'`
    local depminver=`echo $x|sed -r 's/.*>//'`
    bugspray "Dependency name: \"$depname\"" 2
    if ! [[ `grep -E '^$depname ' .temp-alpps/snapshot.state` ]] ; then
    find_dependencies $depname ; fi ; done
    else
    bugspray "${lblue}End of the line${dull}: package \"$packagename\" has no dependencies." 2
    true ; fi ; fi ; fi ; }
    function failover_fetch {
    echo "Downloading `echo $1|sed 's/.*\///'`"
    [[ -d log-alpps/ ]] || mkdir log-alpps/
    [[ -z $success ]] || unset success
    for mirror in $(<.temp-alpps/snapshot.mirrorlist) ; do
    # If DEBUG>0, shouldn't redirect output
    url=`echo $mirror|sed 's/$arch/'$arch'/;s/$repo/'${download_array[$1]}'/'`/$1
    bugspray "Connecting to $url" 2
    wget -o .temp-alpps/very-temp-log -U "Arch Linux Pacman Proxy Script version $VER / $wgetVER" -P downloads/ $url && success=true
    cat .temp-alpps/very-temp-log>>log-alpps/download.log
    rm -f .temp-alpps/very-temp-log
    if [[ -n $success ]] ; then
    bugspray "Download: \$success = true" 2
    break ; fi ; done
    if [[ -z $success ]] ; then
    bugspray "${warn}FAIL:${dull} $1 not accessible on known mirrors." 0 ; fi ; }
    case $1 in
    warranty)
    echo
    echo -e " ${green}Warranty${dull}"
    echo -e " ${green}========${dull}"
    echo " This program is free software. It comes without any warranty, to"
    echo " the extent permitted by applicable law. You can redistribute it"
    echo " and/or modify it under the terms of the Do What The Fuck You Want"
    echo " To Public License, Version 2, as published by Sam Hocevar. See"
    echo " http://sam.zoy.org/wtfpl/COPYING for more details."
    echo
    howto)
    echo
    echo -e " ${green}How to use ALPPS${dull}"
    echo -e " ${green}================${dull}"
    echo -e " ${yellow}+ Step 0${dull}: prime the engine"
    echo " On your offline box, copy the ALPPS script onto a removable medium, cd into"
    echo " it's directory, then run it with the \"init\" option. This essentially"
    echo " takes a snapshot of your system, package-wise. Your removable medium is"
    echo " now ready for use!"
    echo -e " ${yellow}+ Step 1${dull}:"
    echo " On the proxy box the first order of business is to download and decompress"
    echo " the current package lists. You can do this with the \"fetchdb\" option."
    echo -e " ${yellow}+ Step 1 alt${dull}:"
    echo " If you want to download the package lists without decompressing them,"
    echo " \"fetchdb simple\" will do this. It's a lot quicker, but please keep"
    echo " in mind that you cannot then do anything in step 2."
    echo -e " ${yellow}+ Step 2${dull}:"
    echo " If you want to download packages (and why wouldn't you?), the easiest way"
    echo " is to prepare a simple text file containing the names of the packages you"
    echo " want, one on each line. Run ALPPS with the option \"fetch <filename>\" and"
    echo " sit back and wait until it's done. Don't worry about dependencies: ALPPS"
    echo " handles them automatically."
    echo -e " ${yellow}+ Step 2 alt${dull}:"
    echo " As a convenience, \"fetch full\" will download all the packages needed to"
    echo " update the offline box."
    echo -e " ${yellow}+ Step 3${dull}:"
    echo " Finally, back on your offline box, run ALPPS again with the \"install\""
    echo " option. This will update the package list and copy the package files into"
    echo " local cache. You can now run \"pacman -S <package names>\" to finish"
    echo " installing the packages."
    # ALPPS no longer installs the packages, just caches them locally.
    # Not entirely sure why; it just felt too klutzy.
    echo -e " ${yellow}+ Step 4${dull}:"
    echo " You will now probably want to delete all the stuff you no longer need. Run"
    echo " ALPPS with the option \"clean\". This won't touch your request file(s). It"
    echo -e " ${red}WILL${dull} delete log files, so if you want to keep them, back them up first."
    echo " Next time you do this, don't forget to run ALPPS with \"init\" again."
    echo
    bugs)
    echo
    echo -e " ${green}Where this goes wrong${dull}"
    echo -e " ${green}=====================${dull}"
    echo " + ALPPS is a bit slow when packages have many dependencies. It's a recursive"
    echo " shell script: what did you expect?"
    echo " + It only uses the settings in /etc/pacman.conf. If your conf file is"
    echo " elsewhere, you're SOL. Similarly, the repositories are all taken from"
    echo " /etc/pacman.d/mirrorlist. If you added any custom repositories in"
    echo " /etc/pacman.conf (or any other file), ALPPS ignores them."
    echo " + As it stands, ALPPS only works when the proxy box has bash, wget, sed,"
    echo " grep and tar installed. The offline box needs bash, pacman and sed (in"
    echo " theory, this shouldn't be a problem...)."
    echo " + There is as yet no way of handling package groups, short of listing every"
    echo " member of the group."
    echo " + I don't think ALPPS will ever be able to handle AUR packages. Of course, if"
    echo " you're compiling AUR packages, you probably won't need something like this!"
    echo
    faq)
    echo
    echo -e " ${green}Frequently Asked Questions${dull}"
    echo -e " ${green}==========================${dull}"
    echo
    echo -e " ${red}Q:${dull} Can I run the whole thing off a USB stick?"
    echo -e " ${lblue}A:${dull} Certainly."
    echo
    echo -e " ${red}Q:${dull} Can I use a non-POSIX computer as a proxy (e.g. Windows)?"
    echo -e " ${lblue}A:${dull} Probably not, unless that computer has a POSIX-compatibility layer"
    echo " installed (such as Cygwin) with bash, wget, tar, sed and grep."
    echo
    echo -e " ${red}Q:${dull} Do I need to download the package list, waste time updating my computer,"
    echo " then go back again to download the packages I want?"
    echo -e " ${lblue}A:${dull} Nope! You can update the packagelist database and download piping-hot"
    echo " fresh packages, all in one sitting."
    echo -e " ${red}Q:${dull} You mean I won't have to futz around with package lists that keep updating"
    echo " ten minutes after I download them?"
    echo -e " ${lblue}A:${dull} Exactly. Nice, isn't it?"
    echo
    echo -e " ${red}Q:${dull} Does this thing handle SSL and signed packages?"
    echo -e " ${lblue}A:${dull} ALPPS uses SSL if:"
    echo " - the mirror has an https address (at present, none do), and"
    echo " - wget on the proxy box is compiled with SSL support"
    echo " Concerning signed packages: no, but then again, it doesn't need to. ALPPS"
    echo " downloads packages; it's pacman's responsibility to verify them. Your"
    echo " system remains safe (or as safe as it ever was, at any rate)."
    echo -e " ${red}Q:${dull} What about gpg keys? I need to get them."
    echo -e " ${lblue}A:${dull} ...maybe later, say, in version 3."
    echo
    echo -e " ${red}Q:${dull} ALPPS says it \`prepares databases´. Can pacman still use them after this?"
    echo -e " ${lblue}A:${dull} Yes, it can. In fact, what ALPPS does is extract the databases into a"
    echo " temp directory, without altering the original .db files."
    echo
    echo -e " ${red}Q:${dull} Where can I contact you?"
    echo -e " ${lblue}A:${dull} For constructive, useful questions and comments: [email protected] and"
    echo " be sure to mention Arch Linux in the subject."
    echo " For flames, trolling, spam and the like, visit your local bitbucket."
    echo
    todo)
    echo
    echo -e " ${green}What's next?${dull}"
    echo -e " ${green}============${dull}"
    echo -e " + I ${red}might${dull} be able to extend the reach of this thing to the AUR."
    echo " Yes, I know I said ALPPS couldn't (in \"bugs\"), but I've learned"
    echo " something new since then. It'll be tricky, though, since the AUR web"
    echo " interface delivers results in python. While this should be a Good Thing,"
    echo " bash isn't very good at handling python-format lists and dicts."
    echo
    -v|ver|version|--ver|--version)
    echo -e "${lgreen}Arch Linux pacman proxy script${dull} | ${yellow}version $VER${dull}"
    dl_list) # Debugging
    (( DEBUG == 0 )) && echo "the \"dl_list\" option is only for debugging" && exit 0
    arch=$(<.temp-alpps/snapshot.architecture)
    unset download_files
    unset download_array
    declare -A download_array
    find_dependencies $2
    bugspray "Download list: $download_files" 3
    echo "Download list v2:"
    for x in $download_files ; do
    bugspray " File \"$x\" from repo \"${download_array[$x]}\"" 3
    echo " Full URL: http://mirror.archlinux.org/${download_array[$x]}/os/$arch/$x" ; done
    verint) # Debugging
    (( DEBUG == 0 )) && echo "the \"verint\" option is only for debugging" && exit 0
    for x in `ls .temp-alpps/*/$2-*/desc` ; do
    packagename=`sed -r '/%NAME%/,+1!d;/%NAME%/d' $x`
    if [[ j$packagename == j$2 ]] ; then
    bugspray "Unique package-name file found: $packagename=$2" 2
    distantversion=`sed '/%VERSION%/,+1!d;/%VERSION%/d' $x`
    dlfile=`sed '/%FILENAME%/,+1!d;/%FILENAME%/d' $x`
    package_full=$packagename-$distantversion
    the_repo=`echo $x|sed -r 's/.temp-alpps\/(.*)\.db.*/\1/'`
    the_path=`echo $x|sed -r 's/desc//'`
    local_version=`sed -r '/^'$packagename' /!d;s/.* //' .temp-alpps/snapshot.state`
    break ; fi ; done
    echo "full package filename: $dlfile"
    echo "Comparing local ($local_version) and distant ($distantversion) versions of $2..."
    compare_versions $local_version $distantversion
    #compare_versions 2.5beta3-2 2.5cvs4-1
    echo "...and the verdict is: $update"
    init)
    x=`uname -m`
    if [[ -x /usr/bin/pacman ]] ; then
    [[ -d .temp-alpps ]] || mkdir .temp-alpps/
    pacman -Q>.temp-alpps/snapshot.state
    sed -r '/^Se/!d;s/Server = //' /etc/pacman.d/mirrorlist>.temp-alpps/snapshot.mirrorlist
    sed -r '/^\[/!d;/options/d;s/\[(.*)\]/\1/' /etc/pacman.conf>.temp-alpps/snapshot.repositories
    sed -r '/^Architecture/!d;s/^.*= //' /etc/pacman.conf>.temp-alpps/snapshot.architecture
    [[ ! -s .temp-alpps/snapshot.architecture || auto == $(<.temp-alpps/snapshot.architecture) ]] && $x>.temp-alpps/snapshot.architecture
    sed -r '/^SyncFirst/!d;s/.*= //;s/ /\n/g' /etc/pacman.conf>.temp-alpps/snapshot.prioritypackages
    echo "Current state recorded."
    else
    echo "You seem to be running ALPPs on an unsupported system."
    echo "ALPPS is the ${lgreen}Arch Linux Pacman Proxy Script${dull} and simply"
    echo "won't run properly on a non-pacman OS (except when proxying)."
    echo "Aborting. Sorry."
    exit 1 ; fi
    fetchdb)
    [[ -d downloads ]] || mkdir downloads
    arch=$(<.temp-alpps/snapshot.architecture)
    declare -A download_array
    for repo in $(<.temp-alpps/snapshot.repositories) ; do
    download_array[${repo}.db]=$repo
    location="${repo}.db"
    failover_fetch $location ; done
    if [[ j$2 != jsimple ]] ; then
    [[ -d log-alpps ]] || mkdir log-alpps
    [[ -a syncfirst ]] && rm -f syncfirst
    echo "Preparing databases for local processing. This might take a while."
    for x in $(<.temp-alpps/snapshot.repositories) ; do
    echo "Preparing $x.db"
    if [[ -a downloads/$x.db ]] ; then
    [[ -d .temp-alpps/$x.db ]] || mkdir .temp-alpps/$x.db/
    tar -xzC .temp-alpps/$x.db/ -f downloads/$x.db --transform 's/:/§/' --no-same-owner && echo "$x database ready for use."
    else
    echo -e "Database $x.db is missing. Skipping. This will probably cause problems." ; fi ; done
    # SyncFirst package warning
    [[ -z $download_list ]] || unset download_list
    [[ -a syncfirst ]] && rm -f syncfirst
    for x in $(<.temp-alpps/snapshot.prioritypackages) ; do
    find_dependencies $x ; done
    bugspray "download_files: $download_files" 2
    if [[ ! -z $download_files ]] ; then
    echo "New version(s) of SyncFirst package(s):"
    for x in $(<.temp-alpps/snapshot.prioritypackages) ; do
    [[ ! -z `echo $download_files|grep $x` ]] && echo "- $x" && echo $x>>syncfirst ; done
    echo "Package names placed in 'syncfirst'. Don't forget to download them!" ; fi ; fi
    fetch)
    for x in $(<.temp-alpps/snapshot.repositories) ; do
    if ! [[ -d .temp-alpps/$x.db/ ]] ; then
    bugspray "You must first download a fresh database with the \"fetchdb\" option" 0
    exit 1 ; fi ; done
    arch=$(<.temp-alpps/snapshot.architecture)
    unset download_array
    declare -A download_array
    unset download_files
    if [[ $2 == full ]] ; then
    echo " Building full upgrade list. This will almost certainly take a while."
    echo " Please wait..."
    for y in `sed -r 's/^(.*) .*/\1/' .temp-alpps/snapshot.state` ; do
    bugspray "Examining $y" 1
    find_dependencies $y ; done
    elif [[ -a $2 ]] ; then
    echo " Determining dependencies. This might take a while. Please wait."
    for y in $(<$2) ; do
    bugspray "Examining $y" 1
    find_dependencies $y ; done
    else
    echo " Error: you should provide a list-file or the keyword \"full\"."
    echo " (see 'alpps.sh howto', step 2)"
    exit 1 ; fi
    if [[ -z $download_files ]] ; then
    echo " No files to download: either none found, or all found are up to date."
    else
    [[ -d downloads ]] || mkdir downloads
    for x in $download_files ; do
    failover_fetch $x ; done ; fi
    install)
    dbpath=`sed -r '/^DBPath/!d;s/^.*= //' /etc/pacman.conf`
    [[ -z $dbpath ]] && dbpath="/var/lib/pacman/"
    bugspray "dbpath: $dbpath" 2
    echo " Updating databases"
    cp -ft ${dbpath}sync/ downloads/*.db
    cachedir=`sed -r '/^CacheDir/!d;s/^.*= //' /etc/pacman.conf`
    [[ -z $cachedir ]] && cachedir="/var/cache/pacman/pkg/"
    echo " Caching packages"
    cp -f downloads/*.pkg.tar.xz $cachedir
    echo
    echo " Don't forget to install/update your packages."
    echo " Exercise proper caution."
    echo " Have fun!"
    clean)
    echo "Cleaning up. This might take a while."
    rm -fr .temp-alpps/ && echo "Buffer directory deleted" || echo "Problem deleting buffer directory '.temp-alpps/'"
    rm -fr log-alpps/ && echo "Log directory deleted" || echo "Problem deleting 'log-alpps/'"
    rm -fr downloads/ && echo "Downloaded packages deleted" || echo "Problem deleting 'downloads/'"
    echo
    echo -e " ${lgreen}Arch Linux pacman proxy script${dull}"
    echo
    echo -e " ${green}Description${dull}"
    echo -e " ${green}===========${dull}"
    echo -e " This is a bash script to fetch and install packages for an offline Arch box"
    echo " using another, online box as a proxy of sorts. So far, this only works if"
    echo " the proxy box has bash, wget, tar, sed and grep installed."
    echo " It's probably also entirely unsafe, incompatible and will destroy your box"
    echo " in a fiery blaze if you try to use it (you know the drill)."
    echo
    echo -e " ${green}Options${dull}"
    echo -e " ${green}=======${dull}"
    echo " init Step 0 (as it were): take a snapshot of your system"
    echo " fetchdb Step 1: download the packagelist database"
    echo " fetch <file> Step 2: download requested packages"
    echo " install Step 3: update your system"
    echo " clean Step 4: delete any unneeded files"
    echo
    echo " howto More detailed instructions"
    echo " bugs Problems and future plans"
    echo " faq As it says"
    echo " warranty (in case it ever becomes necessary)"
    echo " version (to be honest, I wasn't expecting to go beyond v1-rc or so)"
    echo " help You're reading it, doofus :^)"
    echo
    # dl_list Test the find_dependencies function"
    # verint Test the compare_versions function"
    esac
    I've always resorted to use VPN, then I started using cntlm, this looks very useful (and a lot of work on your part!) Thanks alot!
    DoctorZeus

  • HP DV6000 randomly freezing with Arch Linux

    Hello,
    Just to clarify I am working with Arch Linux as a Web Developer, therefore I do have special needs such as having 20+ tabs open with vital information in different pages.
    I can assure that after using Windows XP, Windows 7, xUbuntu, Linux Mint and Ubuntu I have never had such breaks or freezes in this machine.
    The freezes are identifiable when the mouse seems to be very slow to move, the computer very slow to respond, the cursor of the icon does not change within the context where it is, I can't even open the menu bar to access the terminal (using Terminator).
    After noticing these randomly freezes, I've started to keep the Terminator open with top command inserted. After seeing the values of percentage usage in CPU or RAM, the levels don't even go up more than 20%. However, I notice that the laptop suddenly starts heating a lot.
    The solution is just to wait with some luck about 10 minutes. If it does not go on after that, I need to turn off the computer by pressing the button or unplugging the battery (yeah, the battery is dead too).
    Some main packages I currently use are:
    - Cinnamon
    - Filezilla
    - Netbeans PHP IDE 8.0
    - Skype
    - Geany
    - 7-Zip FM
    - Adobe Flash Player
    - Chromium (my main browser)
    - Firefox
    - SSH
    - Htop
    - VLC Media Player
    - Terminator
    Any ideas of what could it be?
    Thanks!
    Last edited by SirPereira (2014-05-19 14:52:56)

    Rexilion wrote:
    It seems you do not have any swap. Correct?
    Could you provide the output of dmesg after the occurance?
    Yes, you are correct, I do not have any swap. Would I benefit from it? I guess I never used it.
    After the occurance you mean, after the freeze? I will try to do it, but it is rare the case when the computer is able to not freeze at all.
    Got it now:
    The output of dmesg:
    [ 0.443614] pcieport 0000:00:1c.3: irq 43 for MSI/MSI-X
    [ 0.443838] pcieport 0000:00:1c.4: irq 44 for MSI/MSI-X
    [ 0.444061] pcieport 0000:00:1c.5: irq 45 for MSI/MSI-X
    [ 0.444184] pcieport 0000:00:01.0: Signaling PME through PCIe PME interrupt
    [ 0.444187] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
    [ 0.444190] pcie_pme 0000:00:01.0:pcie01: service driver pcie_pme loaded
    [ 0.444210] pcieport 0000:00:1c.0: Signaling PME through PCIe PME interrupt
    [ 0.444213] pci 0000:02:00.0: Signaling PME through PCIe PME interrupt
    [ 0.444217] pcie_pme 0000:00:1c.0:pcie01: service driver pcie_pme loaded
    [ 0.444237] pcieport 0000:00:1c.1: Signaling PME through PCIe PME interrupt
    [ 0.444239] pci 0000:03:00.0: Signaling PME through PCIe PME interrupt
    [ 0.444243] pcie_pme 0000:00:1c.1:pcie01: service driver pcie_pme loaded
    [ 0.444266] pcieport 0000:00:1c.3: Signaling PME through PCIe PME interrupt
    [ 0.444271] pcie_pme 0000:00:1c.3:pcie01: service driver pcie_pme loaded
    [ 0.444290] pcieport 0000:00:1c.4: Signaling PME through PCIe PME interrupt
    [ 0.444293] pci 0000:06:00.0: Signaling PME through PCIe PME interrupt
    [ 0.444295] pci 0000:06:00.1: Signaling PME through PCIe PME interrupt
    [ 0.444297] pci 0000:06:00.2: Signaling PME through PCIe PME interrupt
    [ 0.444298] pci 0000:06:00.3: Signaling PME through PCIe PME interrupt
    [ 0.444300] pci 0000:06:00.4: Signaling PME through PCIe PME interrupt
    [ 0.444305] pcie_pme 0000:00:1c.4:pcie01: service driver pcie_pme loaded
    [ 0.444324] pcieport 0000:00:1c.5: Signaling PME through PCIe PME interrupt
    [ 0.444329] pcie_pme 0000:00:1c.5:pcie01: service driver pcie_pme loaded
    [ 0.444345] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    [ 0.444364] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
    [ 0.444399] intel_idle: does not run on family 6 model 23
    [ 0.444441] GHES: HEST is not enabled!
    [ 0.444500] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [ 0.444971] Linux agpgart interface v0.103
    [ 0.445012] rtc_cmos 00:03: RTC can wake from S4
    [ 0.445141] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
    [ 0.445167] rtc_cmos 00:03: alarms up to one month, 242 bytes nvram, hpet irqs
    [ 0.445178] ledtrig-cpu: registered to indicate activity on CPUs
    [ 0.445322] TCP: cubic registered
    [ 0.445446] NET: Registered protocol family 10
    [ 0.445656] NET: Registered protocol family 17
    [ 0.445905] registered taskstats version 1
    [ 0.446529] Magic number: 14:681:877
    [ 0.446613] rtc_cmos 00:03: setting system clock to 2014-05-20 08:51:33 UTC (1400575893)
    [ 0.446705] PM: Hibernation image not present or could not be loaded.
    [ 0.447929] Freeing unused kernel memory: 1120K (ffffffff818d8000 - ffffffff819f0000)
    [ 0.447931] Write protecting the kernel read-only data: 8192k
    [ 0.450553] Freeing unused kernel memory: 904K (ffff88000151e000 - ffff880001600000)
    [ 0.451721] Freeing unused kernel memory: 416K (ffff880001798000 - ffff880001800000)
    [ 0.458667] random: systemd-tmpfile urandom read with 2 bits of entropy available
    [ 0.460077] systemd-udevd[47]: starting version 212
    [ 0.478236] i8042: PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:MOUE] at 0x60,0x64 irq 1,12
    [ 0.489263] ACPI: bus type USB registered
    [ 0.489293] usbcore: registered new interface driver usbfs
    [ 0.489304] usbcore: registered new interface driver hub
    [ 0.494274] sdhci: Secure Digital Host Controller Interface driver
    [ 0.494278] sdhci: Copyright(c) Pierre Ossman
    [ 0.494499] sdhci-pci 0000:06:00.1: SDHCI controller found [197b:2382] (rev 0)
    [ 0.494708] mmc0: SDHCI controller on PCI [0000:06:00.1] using DMA
    [ 0.494739] sdhci-pci 0000:06:00.2: SDHCI controller found [197b:2381] (rev 0)
    [ 0.494796] sdhci-pci 0000:06:00.2: Refusing to bind to secondary interface.
    [ 0.499195] usbcore: registered new device driver usb
    [ 0.499671] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 0.499940] uhci_hcd: USB Universal Host Controller Interface driver
    [ 0.500201] ehci-pci: EHCI PCI platform driver
    [ 0.500769] uhci_hcd 0000:00:1a.0: UHCI Host Controller
    [ 0.500777] uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1
    [ 0.500786] uhci_hcd 0000:00:1a.0: detected 2 ports
    [ 0.500808] uhci_hcd 0000:00:1a.0: irq 16, io base 0x000080e0
    [ 0.501200] hub 1-0:1.0: USB hub found
    [ 0.501209] hub 1-0:1.0: 2 ports detected
    [ 0.501580] uhci_hcd 0000:00:1a.1: UHCI Host Controller
    [ 0.501587] uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 2
    [ 0.501593] uhci_hcd 0000:00:1a.1: detected 2 ports
    [ 0.501626] uhci_hcd 0000:00:1a.1: irq 21, io base 0x000080c0
    [ 0.503178] SCSI subsystem initialized
    [ 0.503409] hub 2-0:1.0: USB hub found
    [ 0.503419] hub 2-0:1.0: 2 ports detected
    [ 0.503907] ehci-pci 0000:00:1a.7: EHCI Host Controller
    [ 0.503914] ehci-pci 0000:00:1a.7: new USB bus registered, assigned bus number 3
    [ 0.503929] ehci-pci 0000:00:1a.7: debug port 1
    [ 0.507842] ehci-pci 0000:00:1a.7: cache line size of 64 is not supported
    [ 0.507859] ehci-pci 0000:00:1a.7: irq 19, io mem 0xdd005c00
    [ 0.508093] libata version 3.00 loaded.
    [ 0.508752] serio: i8042 KBD port at 0x60,0x64 irq 1
    [ 0.508793] serio: i8042 AUX port at 0x60,0x64 irq 12
    [ 0.513351] ehci-pci 0000:00:1a.7: USB 2.0 started, EHCI 1.00
    [ 0.513563] hub 3-0:1.0: USB hub found
    [ 0.513629] hub 3-0:1.0: 4 ports detected
    [ 0.536813] hub 1-0:1.0: USB hub found
    [ 0.536828] hub 1-0:1.0: 2 ports detected
    [ 0.556530] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
    [ 0.560059] hub 2-0:1.0: USB hub found
    [ 0.560067] hub 2-0:1.0: 2 ports detected
    [ 0.560345] ehci-pci 0000:00:1d.7: EHCI Host Controller
    [ 0.560352] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 4
    [ 0.560366] ehci-pci 0000:00:1d.7: debug port 1
    [ 0.563401] firewire_ohci 0000:06:00.0: added OHCI v1.10 device as card 0, 4 IR + 0 IT contexts, quirks 0x10
    [ 0.568179] ehci-pci 0000:00:1d.7: cache line size of 64 is not supported
    [ 0.568198] ehci-pci 0000:00:1d.7: irq 20, io mem 0xdd005800
    [ 0.576683] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00
    [ 0.576856] hub 4-0:1.0: USB hub found
    [ 0.576865] hub 4-0:1.0: 8 ports detected
    [ 0.577213] uhci_hcd 0000:00:1d.0: UHCI Host Controller
    [ 0.577220] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
    [ 0.577228] uhci_hcd 0000:00:1d.0: detected 2 ports
    [ 0.577249] uhci_hcd 0000:00:1d.0: irq 20, io base 0x000080a0
    [ 0.577420] hub 5-0:1.0: USB hub found
    [ 0.577429] hub 5-0:1.0: 2 ports detected
    [ 0.577678] uhci_hcd 0000:00:1d.1: UHCI Host Controller
    [ 0.577684] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
    [ 0.577691] uhci_hcd 0000:00:1d.1: detected 2 ports
    [ 0.577712] uhci_hcd 0000:00:1d.1: irq 19, io base 0x00008080
    [ 0.577877] hub 6-0:1.0: USB hub found
    [ 0.577885] hub 6-0:1.0: 2 ports detected
    [ 0.578124] uhci_hcd 0000:00:1d.2: UHCI Host Controller
    [ 0.578130] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
    [ 0.578136] uhci_hcd 0000:00:1d.2: detected 2 ports
    [ 0.578156] uhci_hcd 0000:00:1d.2: irq 16, io base 0x00008060
    [ 0.578323] hub 7-0:1.0: USB hub found
    [ 0.578331] hub 7-0:1.0: 2 ports detected
    [ 0.578566] uhci_hcd 0000:00:1d.3: UHCI Host Controller
    [ 0.578573] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 8
    [ 0.578579] uhci_hcd 0000:00:1d.3: detected 2 ports
    [ 0.578609] uhci_hcd 0000:00:1d.3: irq 18, io base 0x00008040
    [ 0.578778] hub 8-0:1.0: USB hub found
    [ 0.578786] hub 8-0:1.0: 2 ports detected
    [ 0.579138] ahci 0000:00:1f.2: version 3.0
    [ 0.579314] ahci 0000:00:1f.2: irq 46 for MSI/MSI-X
    [ 0.579386] ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 4 ports 3 Gbps 0x33 impl SATA mode
    [ 0.579390] ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck pm led clo pmp pio slum part ccc ems sxs
    [ 0.597458] scsi0 : ahci
    [ 0.597577] scsi1 : ahci
    [ 0.597688] scsi2 : ahci
    [ 0.597787] scsi3 : ahci
    [ 0.597890] scsi4 : ahci
    [ 0.597988] scsi5 : ahci
    [ 0.598049] ata1: SATA max UDMA/133 abar m2048@0xdd005000 port 0xdd005100 irq 46
    [ 0.598053] ata2: SATA max UDMA/133 abar m2048@0xdd005000 port 0xdd005180 irq 46
    [ 0.598054] ata3: DUMMY
    [ 0.598056] ata4: DUMMY
    [ 0.598058] ata5: SATA max UDMA/133 abar m2048@0xdd005000 port 0xdd005300 irq 46
    [ 0.598060] ata6: SATA max UDMA/133 abar m2048@0xdd005000 port 0xdd005380 irq 46
    [ 0.916700] ata6: SATA link down (SStatus 0 SControl 300)
    [ 0.916718] ata5: SATA link down (SStatus 0 SControl 300)
    [ 1.063421] firewire_core 0000:06:00.0: created device fw0: GUID 0000000000000000, S400
    [ 1.083353] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [ 1.083369] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    [ 1.083987] ata1.00: ATA-8: TOSHIBA MK5055GSX, FG002C, max UDMA/100
    [ 1.083990] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
    [ 1.084680] ata1.00: configured for UDMA/100
    [ 1.084792] scsi 0:0:0:0: Direct-Access ATA TOSHIBA MK5055GS FG00 PQ: 0 ANSI: 5
    [ 1.087088] ata2.00: ATAPI: HL-DT-ST DVDRAM GSA-T50L, SC04, max UDMA/100
    [ 1.092125] ata2.00: configured for UDMA/100
    [ 1.113361] usb 2-2: new low-speed USB device number 2 using uhci_hcd
    [ 1.203938] scsi 1:0:0:0: CD-ROM HL-DT-ST DVDRAM GSA-T50L SC04 PQ: 0 ANSI: 5
    [ 1.208648] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
    [ 1.208739] sd 0:0:0:0: [sda] Write Protect is off
    [ 1.208743] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [ 1.208779] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 1.290173] hidraw: raw HID events driver (C) Jiri Kosina
    [ 1.323084] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
    [ 1.323088] cdrom: Uniform CD-ROM driver Revision: 3.20
    [ 1.323226] sr 1:0:0:0: Attached scsi CD-ROM sr0
    [ 1.325332] usbcore: registered new interface driver usbhid
    [ 1.325335] usbhid: USB HID core driver
    [ 1.325918] input: Microsoft Wired Keyboard 600 as /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.0/0003:045E:0750.0001/input/input2
    [ 1.326088] hid-generic 0003:045E:0750.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Wired Keyboard 600] on usb-0000:00:1a.1-2/input0
    [ 1.336169] input: Microsoft Wired Keyboard 600 as /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.1/0003:045E:0750.0002/input/input3
    [ 1.336217] hid-generic 0003:045E:0750.0002: input,hidraw1: USB HID v1.11 Device [Microsoft Wired Keyboard 600] on usb-0000:00:1a.1-2/input1
    [ 1.418377] sda: sda1 sda2
    [ 1.418731] sd 0:0:0:0: [sda] Attached SCSI disk
    [ 1.426688] tsc: Refined TSC clocksource calibration: 2394.269 MHz
    [ 1.446699] usb 4-4: new high-speed USB device number 3 using ehci-pci
    [ 2.115101] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.200031] usb 5-1: new low-speed USB device number 2 using uhci_hcd
    [ 2.385422] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:046D:C05A.0003/input/input4
    [ 2.385472] hid-generic 0003:046D:C05A.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.0-1/input0
    [ 2.426729] Switched to clocksource tsc
    [ 2.490018] usb 7-2: new full-speed USB device number 2 using uhci_hcd
    [ 2.502963] random: nonblocking pool is initialized
    [ 2.721320] systemd[1]: systemd 212 running in system mode. (+PAM -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ +SECCOMP -APPARMOR)
    [ 2.721454] systemd[1]: Detected architecture 'x86-64'.
    [ 2.739429] systemd[1]: Set hostname to <arch>.
    [ 3.632105] systemd[1]: Configuration file /etc/systemd/system/netctl@my\x2dnetwork.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
    [ 3.755410] systemd[1]: Starting Login Prompts.
    [ 3.755928] systemd[1]: Reached target Login Prompts.
    [ 3.755939] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
    [ 3.755992] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ 3.756002] systemd[1]: Starting Remote File Systems.
    [ 3.756478] systemd[1]: Reached target Remote File Systems.
    [ 3.756488] systemd[1]: Expecting device sys-subsystem-net-devices-wlan0.device...
    [ 3.756839] systemd[1]: Starting Encrypted Volumes.
    [ 3.757313] systemd[1]: Reached target Encrypted Volumes.
    [ 3.757330] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
    [ 3.757364] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ 3.757373] systemd[1]: Starting Paths.
    [ 3.757845] systemd[1]: Reached target Paths.
    [ 3.757866] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
    [ 3.758419] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    [ 3.758432] systemd[1]: Starting Swap.
    [ 3.758902] systemd[1]: Reached target Swap.
    [ 3.758913] systemd[1]: Expecting device dev-disk-by\x2duuid-3e31eb5f\x2d326a\x2d4cd0\x2daab3\x2d7d1e7ac0797b.device...
    [ 3.759249] systemd[1]: Starting Root Slice.
    [ 3.766515] systemd[1]: Created slice Root Slice.
    [ 3.766527] systemd[1]: Starting User and Session Slice.
    [ 3.767173] systemd[1]: Created slice User and Session Slice.
    [ 3.767184] systemd[1]: Starting Device-mapper event daemon FIFOs.
    [ 3.767681] systemd[1]: Listening on Device-mapper event daemon FIFOs.
    [ 3.767691] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
    [ 3.768180] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [ 3.768189] systemd[1]: Starting Delayed Shutdown Socket.
    [ 3.768677] systemd[1]: Listening on Delayed Shutdown Socket.
    [ 3.768687] systemd[1]: Starting LVM2 metadata daemon socket.
    [ 3.769176] systemd[1]: Listening on LVM2 metadata daemon socket.
    [ 3.769189] systemd[1]: Starting udev Control Socket.
    [ 3.769676] systemd[1]: Listening on udev Control Socket.
    [ 3.769688] systemd[1]: Starting udev Kernel Socket.
    [ 3.770181] systemd[1]: Listening on udev Kernel Socket.
    [ 3.770192] systemd[1]: Starting Journal Socket.
    [ 3.770700] systemd[1]: Listening on Journal Socket.
    [ 3.770716] systemd[1]: Starting System Slice.
    [ 3.771341] systemd[1]: Created slice System Slice.
    [ 3.771357] systemd[1]: Started File System Check on Root Device.
    [ 3.771365] systemd[1]: Starting system-systemd\x2dfsck.slice.
    [ 3.772001] systemd[1]: Created slice system-systemd\x2dfsck.slice.
    [ 3.772011] systemd[1]: Mounting Temporary Directory...
    [ 3.790231] systemd[1]: Starting system-netctl.slice.
    [ 3.790914] systemd[1]: Created slice system-netctl.slice.
    [ 3.790930] systemd[1]: Starting system-getty.slice.
    [ 3.791567] systemd[1]: Created slice system-getty.slice.
    [ 3.809849] systemd[1]: Started Set Up Additional Binary Formats.
    [ 3.852492] systemd[1]: Starting Create list of required static device nodes for the current kernel...
    [ 3.876658] systemd[1]: Starting Apply Kernel Variables...
    [ 3.877416] systemd[1]: Mounting POSIX Message Queue File System...
    [ 3.878150] systemd[1]: Mounting Huge Pages File System...
    [ 3.878884] systemd[1]: Starting udev Coldplug all Devices...
    [ 3.879636] systemd[1]: Starting Setup Virtual Console...
    [ 3.880782] systemd[1]: Started Load Kernel Modules.
    [ 3.880820] systemd[1]: Mounting Configuration File System...
    [ 3.881579] systemd[1]: Mounting Debug File System...
    [ 3.882319] systemd[1]: Mounted FUSE Control File System.
    [ 3.882346] systemd[1]: Starting Journal Service...
    [ 3.883635] systemd[1]: Started Journal Service.
    [ 4.312288] EXT4-fs (sda1): re-mounted. Opts: data=ordered
    [ 4.431925] systemd-udevd[146]: starting version 212
    [ 5.513427] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input5
    [ 5.513433] ACPI: Power Button [PWRB]
    [ 5.513493] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input6
    [ 5.513777] ACPI: Lid Switch [LID0]
    [ 5.513831] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input7
    [ 5.513834] ACPI: Sleep Button [SLPB]
    [ 5.513911] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input8
    [ 5.513914] ACPI: Power Button [PWRF]
    [ 5.596907] ACPI: AC Adapter [ACAD] (on-line)
    [ 5.645033] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
    [ 5.657955] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
    [ 5.661096] acpi device:08: registered as cooling_device0
    [ 5.663657] acpi device:0a: registered as cooling_device1
    [ 5.663725] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:06/LNXVIDEO:01/input/input9
    [ 5.708497] hp_accel: laptop model unknown, using default axes configuration
    [ 5.720053] lis3lv02d: 8 bits sensor found
    [ 5.729279] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    [ 5.791571] ene_ir: chip is 0x3926 - kbver = 0x00, rev = 0xc0
    [ 5.791574] ene_ir: PLL freq = 1406
    [ 5.791575] ene_ir: KB3926C detected
    [ 5.791586] ene_ir: Firmware regs: 00 00
    [ 5.791587] ene_ir: Hardware features:
    [ 5.791589] ene_ir: * Uses GPIO 40 for IR demodulated input
    [ 5.821208] Monitor-Mwait will be used to enter C-1 state
    [ 5.821217] Monitor-Mwait will be used to enter C-2 state
    [ 5.821221] Monitor-Mwait will be used to enter C-3 state
    [ 5.821225] tsc: Marking TSC unstable due to TSC halts in idle
    [ 5.821242] ACPI: acpi_idle registered with cpuidle
    [ 5.821270] Switched to clocksource hpet
    [ 5.827916] Registered IR keymap rc-rc6-mce
    [ 5.828003] input: ENE eHome Infrared Remote Receiver as /devices/virtual/rc/rc0/input10
    [ 5.828066] rc0: ENE eHome Infrared Remote Receiver as /devices/virtual/rc/rc0
    [ 5.840895] ene_ir: driver has been successfully loaded
    [ 5.848018] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input11
    [ 5.877265] IR JVC protocol handler initialized
    [ 5.878491] IR NEC protocol handler initialized
    [ 5.879175] IR RC6 protocol handler initialized
    [ 5.880281] IR RC5(x) protocol handler initialized
    [ 5.880739] IR SANYO protocol handler initialized
    [ 5.881059] input: MCE IR Keyboard/Mouse (ene_ir) as /devices/virtual/input/input12
    [ 5.881065] IR MCE Keyboard/mouse protocol handler initialized
    [ 5.881065] IR Sony protocol handler initialized
    [ 5.881758] lirc_dev: IR Remote Control driver registered, major 249
    [ 5.882267] rc rc0: lirc_dev: driver ir-lirc-codec (ene_ir) registered at minor = 0
    [ 5.882270] IR LIRC bridge handler initialized
    [ 5.891466] [Firmware Bug]: Invalid critical threshold (0)
    [ 5.892123] thermal LNXTHERM:00: registered as thermal_zone0
    [ 5.892126] ACPI: Thermal Zone [TZ01] (31 C)
    [ 5.903447] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input13
    [ 5.903835] wmi: Mapper loaded
    [ 5.927466] ACPI: Battery Slot [BAT0] (battery present)
    [ 6.029419] [drm] Initialized drm 1.1.0 20060810
    [ 6.114983] cfg80211: Calling CRDA to update world regulatory domain
    [ 6.137776] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042f conflicts with OpRegion 0x0000000000000400-0x000000000000047f (\PMBA) (20131218/utaddress-258)
    [ 6.137785] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
    [ 6.137789] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052f conflicts with OpRegion 0x0000000000000500-0x000000000000050f (\GPIO) (20131218/utaddress-258)
    [ 6.137793] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
    [ 6.137822] lpc_ich: Resource conflict(s) found affecting gpio_ich
    [ 6.180252] Intel(R) Wireless WiFi driver for Linux, in-tree:
    [ 6.180255] Copyright(c) 2003- 2014 Intel Corporation
    [ 6.180475] iwlwifi 0000:02:00.0: irq 48 for MSI/MSI-X
    [ 6.287693] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
    [ 6.287960] r8169 0000:03:00.0: irq 49 for MSI/MSI-X
    [ 6.288149] r8169 0000:03:00.0 eth0: RTL8168c/8111c at 0xffffc9000584a000, 00:00:00:00:00:00, XID 1c4000c0 IRQ 49
    [ 6.288152] r8169 0000:03:00.0 eth0: jumbo features [frames: 6128 bytes, tx checksumming: ko]
    [ 6.345229] mousedev: PS/2 mouse device common for all mice
    [ 6.436120] ACPI Warning: SystemIO range 0x0000000000008000-0x000000000000801f conflicts with OpRegion 0x0000000000008000-0x000000000000800f (\_SB_.PCI0.SBUS.SMBI) (20131218/utaddress-258)
    [ 6.436128] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
    [ 6.526671] microcode: CPU0 sig=0x10676, pf=0x80, revision=0x60c
    [ 6.535077] media: Linux media interface: v0.10
    [ 6.569608] microcode: CPU1 sig=0x10676, pf=0x80, revision=0x60c
    [ 6.569745] microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
    [ 6.570548] input: HDA Intel HDMI/DP,pcm=3 Phantom as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
    [ 6.570639] input: HDA Intel Front Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
    [ 6.570714] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
    [ 6.581760] input: PC Speaker as /devices/platform/pcspkr/input/input18
    [ 6.599116] iwlwifi 0000:02:00.0: loaded firmware version 8.83.5.1 build 33692 op_mode iwldvm
    [ 6.683172] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
    [ 6.683177] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
    [ 6.683179] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
    [ 6.683182] iwlwifi 0000:02:00.0: Detected Intel(R) WiFi Link 5100 AGN, REV=0x54
    [ 6.683232] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
    [ 6.701985] Linux video capture interface: v2.00
    [ 6.780556] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
    [ 6.922833] nvidia: module license 'NVIDIA' taints kernel.
    [ 6.922839] Disabling lock debugging due to kernel taint
    [ 6.939605] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
    [ 6.939882] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 0
    [ 6.939892] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 337.12 Fri Apr 4 14:51:15 PDT 2014
    [ 6.991292] iTCO_vendor_support: vendor-support=0
    [ 6.991687] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.10
    [ 6.991726] iTCO_wdt: Found a ICH9M TCO device (Version=2, TCOBASE=0x0460)
    [ 6.991831] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
    [ 7.064547] input: HP WMI hotkeys as /devices/virtual/input/input19
    [ 7.066862] systemd-udevd[153]: renamed network interface eth0 to enp3s0
    [ 7.089277] Bluetooth: Core ver 2.18
    [ 7.089304] NET: Registered protocol family 31
    [ 7.089306] Bluetooth: HCI device and connection manager initialized
    [ 7.089316] Bluetooth: HCI socket layer initialized
    [ 7.089319] Bluetooth: L2CAP socket layer initialized
    [ 7.089331] Bluetooth: SCO socket layer initialized
    [ 7.097641] gpio_ich: GPIO from 195 to 255 on gpio_ich
    [ 7.119889] uvcvideo: Found UVC 1.00 device HP Webcam (05c8:010f)
    [ 7.125560] usbcore: registered new interface driver btusb
    [ 7.136432] input: HP Webcam as /devices/pci0000:00/0000:00:1d.7/usb4/4-4/4-4:1.0/input/input20
    [ 7.136523] usbcore: registered new interface driver uvcvideo
    [ 7.136525] USB Video Class driver (1.1.1)
    [ 7.162108] kvm: disabled by bios
    [ 7.167498] systemd-udevd[149]: renamed network interface wlan0 to wlp2s0
    [ 7.515656] psmouse serio1: synaptics: Touchpad model: 1, fw: 6.5, id: 0x1c0b1, caps: 0xa04751/0xa00000/0x0, board id: 3655, fw id: 428212
    [ 7.594362] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input14
    [ 7.949749] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: data=ordered
    [ 8.055002] systemd-journald[127]: Received request to flush runtime journal from PID 1
    [ 13.835532] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
    [ 13.838466] iwlwifi 0000:02:00.0: Radio type=0x1-0x2-0x0
    [ 13.935096] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
    [ 13.938046] iwlwifi 0000:02:00.0: Radio type=0x1-0x2-0x0
    [ 13.964225] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
    [ 14.845976] nvidia 0000:01:00.0: irq 50 for MSI/MSI-X
    [ 20.903153] wlp2s0: authenticate with b8:c7:5d:02:3b:9d
    [ 20.906517] wlp2s0: send auth to b8:c7:5d:02:3b:9d (try 1/3)
    [ 20.909113] wlp2s0: authenticated
    [ 20.910074] wlp2s0: associate with b8:c7:5d:02:3b:9d (try 1/3)
    [ 20.913437] wlp2s0: RX AssocResp from b8:c7:5d:02:3b:9d (capab=0x1431 status=0 aid=7)
    [ 20.918955] wlp2s0: associated
    [ 20.919008] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
    [ 21.089546] wlp2s0: deauthenticating from b8:c7:5d:02:3b:9d by local choice (reason=2)
    [ 21.096263] wlp2s0: authenticate with b8:c7:5d:02:3b:9d
    [ 21.099042] wlp2s0: send auth to b8:c7:5d:02:3b:9d (try 1/3)
    [ 21.099780] cfg80211: Calling CRDA for country: AT
    [ 21.101974] wlp2s0: authenticated
    [ 21.103555] wlp2s0: associate with b8:c7:5d:02:3b:9d (try 1/3)
    [ 21.108457] wlp2s0: RX AssocResp from b8:c7:5d:02:3b:9d (capab=0x1431 status=0 aid=7)
    [ 21.115231] wlp2s0: associated
    [ 26.591580] fuse init (API version 7.22)
    [ 148.105211] wlp2s0: authenticate with b8:c7:5d:02:3b:9e
    [ 148.107797] wlp2s0: direct probe to b8:c7:5d:02:3b:9e (try 1/3)
    [ 148.108518] cfg80211: Calling CRDA to update world regulatory domain
    [ 148.310034] wlp2s0: direct probe to b8:c7:5d:02:3b:9e (try 2/3)
    [ 148.513366] wlp2s0: send auth to b8:c7:5d:02:3b:9e (try 3/3)
    [ 148.514272] wlp2s0: authenticated
    [ 148.516865] wlp2s0: associate with b8:c7:5d:02:3b:9e (try 1/3)
    [ 148.517652] wlp2s0: RX AssocResp from b8:c7:5d:02:3b:9e (capab=0x1511 status=0 aid=4)
    [ 148.519034] wlp2s0: associated
    [ 148.531940] wlp2s0: Limiting TX power to 30 (30 - 0) dBm as advertised by b8:c7:5d:02:3b:9e
    [ 231.077026] wlp2s0: authenticate with b8:c7:5d:02:3b:9d
    [ 231.080206] wlp2s0: send auth to b8:c7:5d:02:3b:9d (try 1/3)
    [ 231.081422] cfg80211: Calling CRDA to update world regulatory domain
    [ 231.082756] wlp2s0: authenticated
    [ 231.083955] wlp2s0: waiting for beacon from b8:c7:5d:02:3b:9d
    [ 231.362261] wlp2s0: authenticate with b8:c7:5d:02:3b:9e
    [ 231.365917] wlp2s0: send auth to b8:c7:5d:02:3b:9e (try 1/3)
    [ 231.380479] wlp2s0: authenticated
    [ 231.383400] wlp2s0: associate with b8:c7:5d:02:3b:9e (try 1/3)
    [ 231.386425] wlp2s0: RX AssocResp from b8:c7:5d:02:3b:9e (capab=0x1511 status=0 aid=4)
    [ 231.390072] wlp2s0: associated
    [ 231.481241] wlp2s0: Limiting TX power to 30 (30 - 0) dBm as advertised by b8:c7:5d:02:3b:9e
    [ 311.833862] perf samples too long (2511 > 2500), lowering kernel.perf_event_max_sample_rate to 50100
    [ 3074.285425] Watchdog[977]: segfault at 0 ip 00007f42693ed9b8 sp 00007f4251f777d0 error 6 in chromium[7f4265a4e000+55d7000]
    [ 3166.859073] chromium[1212]: segfault at 39 ip 00007f7ddd6a7280 sp 00007fff9d984088 error 6 in chromium[7f7ddcefc000+55d7000]
    [ 3172.385333] chromium[1169]: segfault at fbadbeef ip 00007f7ddf63345d sp 00007fff9d983f20 error 6 in chromium[7f7ddcefc000+55d7000]

  • TidOS Public Alpha release (New Arch Linux based distro)

    I'm a regular lurker on the 4chan technology board (AKA /g/) and I've been following a project known as TidOS by the user "King Neckbeard". Think of it as a preconfigured/prericed Arch Linux installation for those that want a quick and dirty setup, something like Archbang with xmonad instead.
    King Neckbeard wrote:
    xmonad + conky + trayer + nm-applet make up the DE of sorts
    applications started via dmenu (firefox has a shortcut key)
    mpd, preconfigured
    Just Works
    POSSIBLE BUGS:
    >networkmanager applet not visible, to fix press win + r and type netfix or run netfix in a console
    >music not playing, to fix restart mpd and run mpc play
    Screenshots:
    Github:
    http://github.com/TidOS/TidOS
    ISO image download (i686 only, x86_64 users can compile an image themselves from the github sources):
    http://www.megaupload.com/?d=PJLRZ5I4
    Last edited by zowki (2010-05-13 16:24:34)

    jordanmthomas wrote:TidOS is dead by the way.  /g/ did not seem to care much about it so I haven't done anything to it since I made the first image.
    aww.
    well you are all welcome to poke your nose in at #witchlinux on irc.freenode.net , it's still alive, n welcomes everyone else's input.
    there's the arch rowan witch release, a half made archiso, which is basically to be pretty much the same as where the debian rowan witch.iso left off, and then later once it's built to some reasonably satasfactory standard, a larger fuller witch called jamella is planned to feature loads of tiling window managers, xmonad of course included, as well as awesome, and others, as well as a raft of programmer tools n toys, and then later a refined sleak but complete witch after that.   so goes my plan anyways, but of course, anyone can run off n make their own witch, and are encouraged to do so.    so if u want a preconfigured arch with xmonad, once we get rowan out of the stalls, jamella will soon follow after.   (i been distracted with other interests this past month or so tho, so my contributions dropping off have slowed things, but it's still alive, i assure you.)
    or....
    to stop me going on about witch... tidos could be revived!  XD
    and i wish you all the best with that.

  • Installing Multiple Operating Systems with grub and Arch Linux

    NOTE: Please keep in mind that there are many different ways to achieve this same result using various loop and ramdisk methods, read this with a separate window to jot down your comments and suggestions... this is ongoing for me so any help would be appreciated!
    Read the full article at Install Multiple Os without cds
    This is my first post and I plan on making this topic an official HOWTO with www.tldp.org.
    I have been into the computer security scene since 1990, but I realized that I had very little experience with the various LInux, Unix, and alternative Operating systems out there.
    I have a CD-RW drive but being a struggling computer security researcher I had no money for blank cd-recordables.  What follows is how I managed to install various operating systems on my computer (1 hard drive) without having to burn to a CD the ISO and then boot from that.
    I first partitioned my 120GB harddrive into 10 partitions, the 2nd partition is a small swap and the last partition is extra large because it holds all the ISO images..
    I then wrote a small shell script to automatically download (I love wget!)  the following.
    OpenBSD
    IpCOP
    Libranet
    Arch-Linux
    Fire
    Local Area Security
    Packet Master
    Devil-Linux
    FreeBSD
    Knoppix
    Helix
    Gentoo
    Yoper-Linux
    NetBSD
    RedHat
    Slackware
    The script also downloaded Installation manuals and md5 checksums.. (let me know if I should post... its pretty unsophisticated
    I installed Slackware (personal favorite) on hda1 using my last blank CD-R, note that I do not have a separate boot partitino.  (Should I?).  I also installed grub on the MBR.  I love grub, if you read through the man pages and all info you can find about grub, you can learn a whole lot.  Grub has much more features and capability than lilo, even though lilo comes installed by default with slack.
    I organize my kernel situation as follows...  In my /boot directory, I mkdir KERNEL, CONFIG, MAP, INITRD and that is a good way for me to keep my kernels and everything organized..  Another good way is a separate dir for each new kernel. 
    Since Arch-Linux is a solid distro, I'll use that as a first example.
    Here is the Arch-Linux section of my shell script
    goge Arch-Linux
    $w http://puzzle.dl.sourceforge.net/sourceforge/archlinux/arch-0.6.iso
    $w http://unc.dl.sourceforge.net/sourceforge/archlinux/arch-0.6.md5sum
    $w http://www.archlinux.org/docs/en/guide/install/arch-install-guide.html
    md55
    cat arch-0.6.md5sum
    md5sum arch-0.6.iso
    md55
    The first thing to do is to mount the downloaded ISO image so we can use it as if it were an actual CD.
    mount -t iso9660 -o ro,loop=/dev/loop0 cdimage /mnt/cdrom
    Where cdimage= the ISO image.   EX. /usr/local/src/ISO/Linux/Arch-Linux/arch-0.6.iso
    This mounts the iso as /mnt/cdrom.
    Next you need to copy /mnt/cdrom to a separate partition for the booting process.  So mkfs.ext2 /dev/hda9.  ( I prefer reiserfs or even XFS to ext but if you use something other than ext2 you could run into some problems because some of the installation kernels and initrds don't include support for reiserfs and so can't recognize the files.  Although you could use mkinitrd to create a new initrd with reiserfs support, that might be pushin it IMO...   I use the 9th partition consistently for this.  I know there is a "right" way to copy the /mnt/cdrom files so everything stays the way it is supposed too, using tar or cpio, but I'm lazy so I just do cp -rp.   
    (What is the tar or cpio commands to copy with correct permissions etc??)
    So you mount the 9th partition as whatever, say /mnt/hd and then copy the files.  Now what?
    Now edit your /boot/grub/menu.lst file to include the specific options to boot arch-linux installation. 
    A good idea is to find the isolinux.cfg file somewhere on the distro cd, this will tell you what to include in the menu.lst.
    Here is the section in my menu.lst
    title Arch Install
    root (hd0,8)
    kernel /isolinux/vmlinuz load_ramdisk=1 prompt_ramdisk=0 root=/dev/rd/0
    initrd=/isolinux/initrd.img
    This should be self-explanatory.  The root (hd0,8) is pointing to partition 9.  So the rest of the commands start from partition 9. 
    When you experience problems, remember you can always edit the grub boot options by typing 'e' and then edit the section.  Also, a good idea is to include several variations in your menu.lst so you can easily try other ways to boot efficiently.  And, remember to read up on all the installation guides that come with your distro, specifically, hard-disk installs. 
    There are special cases, Gentoo, has a semi-new compressed filesystem called squashfs.  BTW, this is AWESOME, so check it out.  It has to be compiled into the kernel, so some work is in order, but use this recompile to optimize your kernel.  You can get the squashfs patch for almost any kernel.  I use the latest stable 2.6 kernel.  Squashfs is incredible and although I don't think you need it to install from ISO, you do need it to expand the livecd.squashfs filesystem that comes with the cd.
    Heres a sample Gentoo section from my menu.lst
    title Gentoo Install
    root (hd0,8)
    kernel /isolinux/gentoo root=/dev/ram0
    initrd=/isolinux/gentoo.igz init=/linuxrc acpi=off looptype=squashfs loop=/livecd.squashfs cdroot vga=791 splash=silent
    A nother' tip is the shell that is provided if you experience problems, typically busybox or ash.  The key tools to get you going from here is mount and chroot.  Sometimes you will need to manually create a simulated file system and then chroot into it.  For instance, you might have to create boot, etc, bin, directories on the target partition. 
    I generally install each OS onto the next partition (careful of the logical partition) and add it to my menu.lst after install.  A good idea is after installation, copy the kernel and initrd(if there is one) to the slackware(or whatever) boot partition on hda1.  I copy kernels to /boot/KERNEL/ and initrd's to /boot/INITRD, then menu.lst is more organized...
    You then need to add an updated section to your menu.lst (just comment out the install section for later)
    Here is the finished arch-linux section from menu.lst
    title Arch Linux 6
    root (hd0,2)
    kernel /boot/vmlinuz26 ro root=/dev/hdc3
    This doesn't use my convenient boot/KERNEL/vmlinuz26 as you can tell by setting the root to partition 3.
    ***NOTE: Make a backup of MBR using dd and save to floppy, also backup the partition table to floppy, using cfdisk or parted.  And boot disks (I use 1 with grub, and 1 with slack, and tomsbootdisk) will invariably come in handy.  Tomsbootdisk is recommended, and make the grub boot disk when you install grub.  install to floppy.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    The final result after some fun experimenting, is when I boot, I have a cool grub boot screen come up with the option to boot into whatever OS I want, this is handy for multiple reasons.  One good thing to do after this is to port scan and vuln scan each OS, after you update of course.  Write this stuff down and you will know the weaknesses/strengths of the various OS's. 
    I can boot a custom Firewall, snort, or multiple honeypots using this procedure, as well as a graphical kde environment with a kernel optimized for graphics and my processor/architecture, or an environment devoted to forensics or even an environment suitable for programming.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    P.S. Some of the cooler alternative operating systems are BeOS 5, EOS, ER_OS, V2_OS, and my personal favorite Menuet.  Menuet is 100% assembly graphical operating system that fits on a floppy.  Its f'in money!
    This should be a good enough example to get you started, this kind of thing should be learned and not just copied... Knowing how to do this stuff could prove to be exceptionally useful...

    Start by reading all the articles built-in on your Mac - Help > Mac Help, search "printer sharing."
    http://desk.stinkpot.org:8080/tricks/index.php/2008/04/how-to-print-to-a-cups-se rver-from-mac-os-x/
    http://www.macosxhints.com/article.php?story=20080324224027152&query=share%2Bpri nter
    http://members.cox.net/18james/osxprintersharing.html
    http://ubuntuforums.org/archive/index.php/t-56940.html

  • [SOLVED] Ndiswrapper, NetworkManager 0.7 and 64-bit Arch Linux

    Hi there!
    I am having problems configuring my wireless card. I know I have to use Ndiswrapper, and this is what I have tried to do; however, it didn't go quite well.
    This is rather odd because it worked perfectly in the 32-bit version of Arch Linux, but now it doesn't work.
    So, here comes the code.
    valandil ~ $ lspci | grep Network
    0b:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)
    I really use ndiswrapper and have already installed what I think is the proper driver (it seems that the list the official ndiswrapper site had has somehow disappeared.
    sudo ndiswrapper -l
    Password:
    bcmwl5 : driver installed
    device (14E4:4311) present (alternate driver: ssb)
    Here's iwconfig:
    valandil ~ $ iwconfig
    lo no wireless extensions.
    eth0 no wireless extensions.
    wmaster0 no wireless extensions.
    wlan0 IEEE 802.11bg ESSID:""
    Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
    Tx-Power=0 dBm
    Retry min limit:7 RTS thr:off Fragment thr=2352 B
    Power Management:off
    Link Quality:0 Signal level:0 Noise level:0
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0
    I use NetworkManager 0.7 and have configured properly:
    rc.conf:
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.utf8"
    HARDWARECLOCK="localtime"
    USEDIRECTISA="no"
    TIMEZONE="America/Vancouver"
    KEYMAP="cf"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(fuse ndiswrapper fglrx !b44 !mii bcm43xx !snd_pcsp snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore !pcspkr)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="cipher"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    eth0="dhcp"
    INTERFACES=(lo !eth0 !wlan0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.1.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(@stbd httpd !network syslog-ng netfs crond alsa hal dhcdbd networkmanager fam gdm)
    hosts file :
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost cipher
    # End of file
    /etc/NetworkManager/nm-system-settings.conf:
    GNU nano 2.0.9 File: /etc/NetworkManager/nm-system-settings.conf
    [main]
    plugins=keyfile
    [keyfile]
    hostname=cipher
    I hope you can solve this problem; wireless is really crucial.
    Thanks for any help,
    Last edited by valandil (2012-05-02 18:27:09)

    Alleluia!!!
    I think I will write a new rule for myself to follow :
    Thou shalt never use ndiswrapper again.
    Thanks a lot, wonder, and thanks to you too, Xyne.
    FYI, I tried to use something else than ndiswrapper before, but it didn't yield satisfying results. Anyway, thanks.

Maybe you are looking for