[SOLVED] Intel i7-3920XM Laptop CPU Linux Kernel Support

Recently, I purchased a laptop with an Intel i7-3920XM CPU, with the intention of utilizing it for scientific computing (I've become strongly interested in machine learning and artificial neural networks).  Supposedly, the CPU has a variable clock speed of 2.90 -- 3.80 GHz, which would be great, but my kernel has throttled it to 1200MHz.  I've tried both the cpufreq performance and userspace kernel modules (configured for performance), but the laptop stubbornly refuses to increase the clockspeed more than 1200MHz; I gave up on cpufreq and have uninstalled it.  I've read some accounts that it is possible that the Linux kernel may not support my CPU yet --- does anybody know if that is the case?  If it is not, can anybody point me to some literature describing how to un-throttle my CPU?
Last edited by deltaecho (2013-03-03 21:59:30)

runny6play wrote:
Meyithi wrote:
CPU frequency scaling is enabled by default, 1200MHz is fine for your processor as it's lowest frequency I have the 3960x and it's lowest frequency is 1200MHz as well.
You should just leave things as they are, if you can actually feel sluggish performance ( I don't with 6 cores @ 1200MHz) you can try this:-  https://wiki.archlinux.org/index.php/Cp … erformance
Which will liven things up a bit at the cost of more battery juice.
EDIT/ compile something and whilst compiling
cat /proc/cpuinfo | grep MHz
to see what's reported at full load, but be aware it still may not report correctly due to turbo.
deltaecho wrote:Recently, I purchased a laptop with an Intel i7-3920XM CPU, with the intention of utilizing it for scientific computing (I've become strongly interested in machine learning and artificial neural networks).  Supposedly, the CPU has a variable clock speed of 2.90 -- 3.80 GHz, which would be great, but my kernel has throttled it to 1200MHz.  I've tried both the cpufreq performance and userspace kernel modules (configured for performance), but the laptop stubbornly refuses to increase the clockspeed more than 1200MHz; I gave up on cpufreq and have uninstalled it.  I've read some accounts that it is possible that the Linux kernel may not support my CPU yet --- does anybody know if that is the case?  If it is not, can anybody point me to some literature describing how to un-throttle my CPU?
I would agree with you if that was what the argument was about. I said the same thing about i7z as you just did, which is why i suggested it. as I understand it. your telling him 1.2 Ghz is an acceptable min and i would agree.How i am interperting his thread is 2.90 Ghz is his base. 3.80 Ghz is his max turbo. His CPU under 100 % load will not rise above 1.2 Ghz despite his stock clock is actually 2.90 Ghz. I can honestly say that this is the more likely story because my i7 did the same thing. on battery the max it would clock up to while runing /dev/urandom > /dev/null was 1.2 Ghz, while on Ac it would even turbo correctly. by unloading the module.  my proccessor would clock as expected 800 mhz min 3.4 max turbo. and if you look he even used the performance governor to try to increase the clock
Ya, really the OP did not tell us 'how' he was reading his CPU speed....
deltaecho wrote:Recently, I purchased a laptop with an Intel i7-3920XM CPU, with the intention of utilizing it for scientific computing (I've become strongly interested in machine learning and artificial neural networks).  Supposedly, the CPU has a variable clock speed of 2.90 -- 3.80 GHz, which would be great, but my kernel has throttled it to 1200MHz.  I've tried both the cpufreq performance and userspace kernel modules (configured for performance), but the laptop stubbornly refuses to increase the clockspeed more than 1200MHz; I gave up on cpufreq and have uninstalled it.  I've read some accounts that it is possible that the Linux kernel may not support my CPU yet --- does anybody know if that is the case?  If it is not, can anybody point me to some literature describing how to un-throttle my CPU?
runny6play: If deltaecho is also seeing these same slow speeds in i7z then both you and he should look into your BIOS settings. For sure this would be a BIOS setting on a ThinkPad. "If on battery....slow... if on AC...fast".
Yes, it is the Linux Kernel that is no "Reporting" the correct speed. This is a known bug. However, there is nothing wrong with your CPU. It is running at High Speed.. Like this is the read out from my Kernel at idle...
[user@archtop:~]% sudo cat /proc/cpuinfo | grep MHz
[sudo] password for user:
cpu MHz : 1200.000
cpu MHz : 1200.000
cpu MHz : 2901.000
cpu MHz : 1200.000
The BEST way to test your CPU is, again i7z then compile some code... Like change the MAKEFLAGS="-j4" to -j1 for 1 thread, -j2 for 2 threads.... and so on. Compiling software will push your CPU all the way up.
When testing like this, i7z will show on 1 thread my CPU runs at 3.6GHz, on all 4 threads it runs at 3.4GHz, as it should. However, /proc/cpuinfo will only say wacky stuff like cpu MHz: 1200.000 cpu MHz: 2901.000
Last edited by hunterthomson (2012-11-26 09:28:13)

Similar Messages

  • [Solved] Worth buying the book? Linux Kernel Internals

    Dear Arch Community,
    Yesterday I succesfully installed arch on my old laptop for testing purposes, and it's been great.
    But I find that I simply lack a tad of knowledge about the internals (seeing I want to work towards LFS, and I'm comming from xubuntu with i3wm) so I installed Arch.
    To go deeper into linux, I figured a book would be another resource, together with the arch wiki.
    However, the only book (yes, i'd like a physical book for this one) I'm able to find only handles linux kernel version 2.6. We're at about 3.2/3.3 now.
    source: http://www.amazon.com/Understanding-Lin … 0596005652
    My question to you is; how much changes are there? Is it worth buying the book, or should I wait a little for the next Linux Kernel Internals book to come out (if there is any planned)
    Thanks for any information,
    Kind regards,
    MatRoo
    :wq
    Last edited by MatRoo (2013-03-23 12:59:37)

    weirddan455 wrote:
    You don't really need to know the internals of the kernel for any of that stuff.  LFS is just following a really long guide consisting mostly of compiling packages.  I did it once a few years back on a virtual machine.  The most you'll need to know about the kernel is how to configure and compile it.  LAMP doesn't really touch the kernel at all.  In fact you can run Apache, MySQL, and PHP on a Windows box and the configuration doesn't change all that much.
    For most things all you need to know is the kernel is a big blob of code that makes your hardware work.  I'm not trying to dissuade you from learning however, that's always a positive thing so if kernel internals are what you're interested in then read up but unless you're doing something really low level or help contribute to the kernel I'm not seeing much practical use.  If you do webdev, it may be a better use of your time to learn some more PHP or MySQL instead.
    I know i dont have to, but I'd like to know what's happening under the hood when I'm doing my stuff.
    The original questions stays :-) Is it worth buying the book if I want to know the internals, since the book only covers 2.6, and we're a tad past version 2.6.
    Thanks for your reply in any case tough :-)

  • [SOLVED] Macbook 2,1 Intel 945GM: no backlight property custom kernel

    Hi,
    I just finished compiling a custom kernel for my Macbook and for the life of me cannot figure out which option enables backlight control. I'm suspecting it might be CONFIG_FB_BACKLIGHT, but I can't actually find it via 'make menuconfig.' In other words, I can grep it from the raw config, but don't know where it is:
    $ grep -A10 -B10 CONFIG_FB_BACKLIGHT .config
    CONFIG_FB_CFB_IMAGEBLIT=y
    # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
    # CONFIG_FB_SYS_FILLRECT is not set
    # CONFIG_FB_SYS_COPYAREA is not set
    # CONFIG_FB_SYS_IMAGEBLIT is not set
    # CONFIG_FB_FOREIGN_ENDIAN is not set
    # CONFIG_FB_SYS_FOPS is not set
    # CONFIG_FB_WMT_GE_ROPS is not set
    # CONFIG_FB_SVGALIB is not set
    # CONFIG_FB_MACMODES is not set
    [b]# CONFIG_FB_BACKLIGHT is not set[/b]
    # CONFIG_FB_MODE_HELPERS is not set
    # CONFIG_FB_TILEBLITTING is not set
    # Frame buffer hardware drivers
    # CONFIG_FB_CIRRUS is not set
    # CONFIG_FB_PM2 is not set
    # CONFIG_FB_CYBER2000 is not set
    # CONFIG_FB_ARC is not set
    But menuconfig is like this:
    --- Support for frame buffer
    [ ] Enable firmware EDID
    [ ] foreign endianness support --->
    [ ] Video Mode Handling Helpers
    [ ] Tile Blitting Support
    It's hard to reproduce entirely here, but the point is that the config grep returns fb_backlight just above mode helpers/tilebitting, but above those are foreign endianness, and that's not where the backlight setting is.
    The card is the Intel 945GM; on the default Arch kernel I can use xbacklight to adjust brightness. With my custom compiled one, I get "no outputs have backlight property" with xbacklight and, indeed, /sys/class/backlight is empty.
    Would someone kindly tell me which kernel option provides the backlight property for this card?
    Last edited by jwhendy (2011-10-15 16:44:30)

    @byte:
    Thanks for the suggestion, and the link to the current config. I was wondering where I might find that. Not looking so promising so far:
    $ diff --side-by-side default-config custom-config | grep BACKLIGHT
    CONFIG_FB_BACKLIGHT=y | # CONFIG_FB_BACKLIGHT is not set
    CONFIG_FB_NVIDIA_BACKLIGHT=y <
    CONFIG_FB_RIVA_BACKLIGHT=y <
    CONFIG_FB_RADEON_BACKLIGHT=y | # CONFIG_FB_ATY is not set
    CONFIG_FB_ATY128_BACKLIGHT=y | # CONFIG_FB_SIS is not set
    CONFIG_FB_ATY_BACKLIGHT=y | # CONFIG_FB_VOODOO1 is not set
    CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_BACKLIGHT_LCD_SUPPORT=y
    CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_BACKLIGHT_CLASS_DEVICE=y
    CONFIG_BACKLIGHT_GENERIC=m CONFIG_BACKLIGHT_GENERIC=m
    CONFIG_BACKLIGHT_PROGEAR=m | # CONFIG_BACKLIGHT_PROGEAR is not set
    CONFIG_BACKLIGHT_CARILLO_RANCH=m CONFIG_BACKLIGHT_CARILLO_RANCH=m
    CONFIG_BACKLIGHT_MBP_NVIDIA=m | # CONFIG_BACKLIGHT_MBP_NVIDIA is not set
    CONFIG_BACKLIGHT_SAHARA=m | # CONFIG_BACKLIGHT_SAHARA is not set
    CONFIG_BACKLIGHT_WM831X=m | # CONFIG_BACKLIGHT_ADP8860 is not set
    CONFIG_BACKLIGHT_ADP8860=m <
    CONFIG_BACKLIGHT_PCF50633=m <
    CONFIG_HID_PICOLCD_BACKLIGHT=y | # CONFIG_HID_ROCCAT_KONEPLUS is not set
    CONFIG_LEDS_TRIGGER_HEARTBEAT=m | # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
    CONFIG_LEDS_TRIGGER_BACKLIGHT=m | # CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
    CONFIG_DRM_NOUVEAU_BACKLIGHT=y <
    I don't see much there to wonder about. CONFIG_FB_BACKLIGHT only gets triggered if certain drivers are enabled. But I don't have any of those. I'm re-compiling right now with one of them, just for kicks, to see what happens. I have the right LCD backlight options set to match the default. On the ACPI front, we have this:
    ]$ diff --side-by-side ~/def-config .config |grep ACPI
    # Power management and ACPI options # Power management and ACPI options
    CONFIG_ACPI=y CONFIG_ACPI=y
    CONFIG_ACPI_SLEEP=y CONFIG_ACPI_SLEEP=y
    CONFIG_ACPI_PROCFS=y | # CONFIG_ACPI_PROCFS is not set
    CONFIG_ACPI_PROCFS_POWER=y | # CONFIG_ACPI_PROCFS_POWER is not set
    CONFIG_ACPI_POWER_METER=m | # CONFIG_ACPI_POWER_METER is not set
    CONFIG_ACPI_EC_DEBUGFS=m | # CONFIG_ACPI_EC_DEBUGFS is not set
    CONFIG_ACPI_PROC_EVENT=y | # CONFIG_ACPI_PROC_EVENT is not set
    CONFIG_ACPI_AC=m | CONFIG_ACPI_AC=y
    CONFIG_ACPI_BATTERY=m | CONFIG_ACPI_BATTERY=y
    CONFIG_ACPI_BUTTON=m | CONFIG_ACPI_BUTTON=y
    CONFIG_ACPI_VIDEO=m | CONFIG_ACPI_VIDEO=y
    CONFIG_ACPI_FAN=m | CONFIG_ACPI_FAN=y
    CONFIG_ACPI_DOCK=y | # CONFIG_ACPI_DOCK is not set
    CONFIG_ACPI_PROCESSOR=m | CONFIG_ACPI_PROCESSOR=y
    CONFIG_ACPI_IPMI=m <
    CONFIG_ACPI_HOTPLUG_CPU=y CONFIG_ACPI_HOTPLUG_CPU=y
    CONFIG_ACPI_PROCESSOR_AGGREGATOR=m | # CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
    CONFIG_ACPI_THERMAL=m | CONFIG_ACPI_THERMAL=y
    # CONFIG_ACPI_CUSTOM_DSDT is not set # CONFIG_ACPI_CUSTOM_DSDT is not set
    CONFIG_ACPI_BLACKLIST_YEAR=0 CONFIG_ACPI_BLACKLIST_YEAR=0
    # CONFIG_ACPI_DEBUG is not set # CONFIG_ACPI_DEBUG is not set
    CONFIG_ACPI_PCI_SLOT=m | # CONFIG_ACPI_PCI_SLOT is not set
    CONFIG_ACPI_CONTAINER=m | CONFIG_ACPI_CONTAINER=y
    CONFIG_ACPI_SBS=m | # CONFIG_ACPI_SBS is not set
    CONFIG_ACPI_HED=m | # CONFIG_ACPI_HED is not set
    CONFIG_ACPI_APEI=y | # CONFIG_ACPI_APEI is not set
    CONFIG_ACPI_APEI_GHES=m | # CONFIG_SFI is not set
    CONFIG_ACPI_APEI_EINJ=m <
    CONFIG_ACPI_APEI_ERST_DEBUG=m <
    CONFIG_X86_ACPI_CPUFREQ=m | CONFIG_X86_ACPI_CPUFREQ=y
    CONFIG_X86_POWERNOW_K7_ACPI=y <
    CONFIG_CARDBUS=y | # CONFIG_HOTPLUG_PCI_ACPI is not set
    CONFIG_HOTPLUG_PCI_ACPI=m <
    CONFIG_HOTPLUG_PCI_ACPI_IBM=m <
    CONFIG_PNPACPI=y CONFIG_PNPACPI=y
    CONFIG_BLK_DEV_IDEACPI=y <
    CONFIG_ATA_ACPI=y CONFIG_ATA_ACPI=y
    CONFIG_PATA_ACPI=m | # CONFIG_PATA_ACPI is not set
    # ACPI drivers # ACPI drivers
    # ACPI drivers # ACPI drivers
    CONFIG_ACPI_QUICKSTART=m <
    CONFIG_TC1100_WMI=m | # CONFIG_THINKPAD_ACPI is not set
    CONFIG_COMPAL_LAPTOP=m | # CONFIG_ACPI_WMI is not set
    CONFIG_SONY_LAPTOP=m | # CONFIG_ACPI_ASUS is not set
    CONFIG_IDEAPAD_LAPTOP=m | # CONFIG_ACPI_TOSHIBA is not set
    CONFIG_THINKPAD_ACPI=m | # CONFIG_TOSHIBA_BT_RFKILL is not set
    CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y | # CONFIG_ACPI_CMPC is not set
    # CONFIG_THINKPAD_ACPI_DEBUGFACILITIES is not set | # CONFIG_INTEL_IPS is not set
    # CONFIG_THINKPAD_ACPI_DEBUG is not set | # CONFIG_IBM_RTL is not set
    # CONFIG_THINKPAD_ACPI_UNSAFE_LEDS is not set <
    CONFIG_THINKPAD_ACPI_VIDEO=y <
    CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y <
    CONFIG_ACPI_WMI=m <
    CONFIG_ACPI_ASUS=m <
    CONFIG_ACPI_TOSHIBA=m <
    CONFIG_ACPI_CMPC=m <
    Most of that seems about right, and the end stuff is all specific laptop drivers.
    I'll post back when this is done. The only other thing I can think of is the fact that I compiled in i915 and intel_agp vs. having them as modules. Should that make any difference?

  • OEM12c agents high CPU usage alerts fix (leap second Linux kernel bug)

    Just throwing this out here in case anyone else spent the weekend pulling their hair out and hasn't resolved this yet.
    Due to the leap second that occurred at midnight UTC going into July 1st, most of my OEM 12c BP1 agents on Linux servers went haywire, taking up 100%+ CPU on monitored servers. This appears to be due to a bug triggered by the leap second.
    The following seems to fix the issue without requiring a server reboot.
    as root:
    /etc/init.d/ntp stop
    date `date +"%m%d%H%M%C%y.%S"`
    /etc/init.d/ntp start
    as OEM agent user:
    $AGENT_HOME/bin/emctl stop agent ; $AGENT_HOME/bin/emctl start agent
    I didn't discover the fix, but I've confirmed it works.
    Edited by: BrianP on Jul 2, 2012 11:53 AM -- subject changed to note this is a Linux kernel bug, not a Java bug... kernel bug causes software using futexes (like Java) to spin and timeout repeatedly

    See MOS note "Enterprise Manager Management Agent or OMS CPU Use Is Excessive on or around July 1, 2012 [ID 1472651.1]" for more information on this issue. Oracle notes it may occur from versions 10.2.0.5 through 12.1.0.1.0.
    See also "Leap Second Hang - CPU Can Be Seen at 100% [ID 1472421.1]" and bug 14264454.
    Thanks abulloch for getting the note out there!

  • Micorsoft Server Compatibility with Laptop system having Intel Pentium Quad-Core CPU N3530 (2.16 GHz)

    I would like to know if I can install Microsoft Server 2008 Enterprise or Standard Edition on a Laptop having Intel Pentium Quad-Core CPU N3530 (2.16 GHz). Currently it has Window 8. I do not need Windows 8 and would like to install Microsoft Server 2008
    Enterprise or Standard Edition.
    Will it work ?
    Thnx.

    Hi Zahid-I,
    We support the Windows server system install on the certified hardware you can search ask your hardware vendor for exactly supported system or you can search the Windows Server
    Catalog to found whether your hardware certified by server 2008, personal experience is most of the laptop not supported the server system.
    Windows Server Catalog
    http://www.windowsservercatalog.com/results.aspx?bCatId=1283&avc=10
    Personal experience is if our PC hardware meet the minimum require of server system we can install it for test lab.
    More information:
    Windows Server 2008 System Requirements
    http://technet.microsoft.com/en-us/windowsserver/bb414778.aspx
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • [Solved]The linux kernel with build in bootloader?

    First of let me apologize if I'm making no sense at all. This isn't really my area of expertise.
    I just recently stumbled upon some rather interesting "news" about the linux kernel developers working to implement a an EFI/GTP (I think) bootloader in the kernel it self. I would very much like to know if this is actually true, I'd like to learn more and follow the development, but I haven't been able to find any relevant information, appart from the incomplete mailing list I stumbled upon.
    I suspect that I'm simply using the wrong search parameters. Again, it's not like I know too much about what I'm doing.
    In any case, if you have even the slightest idea what I'm talking about, please do guide me in the right direction.
    Best regards.
    Last edited by zacariaz (2012-03-01 20:02:04)

    Gusar wrote:
    litemotiv wrote:I was mainly thinking about a way to boot straight into Arch from rEFIt without chainloading grub/syslinux first.
    Thanks to the info and links the.ridikulus.rat provided, I've now learned a bit more about this stuff (I'm probably still missing a lot ). Basically, rEFIt is a manager that launches bootloaders. With EFI_STUB, the kernel is it's own bootloader, so what you say is indeed possible - start linux from rEFIt without going through grub/syslinux. Well, it would be possible if there wasn't for one huge problem - rEFIt doesn't allow passing options, which is needed in this case. But that's where rEFIt's fork (rEFInd) comes into play.
    Further, there are patches on the kernel mailing list that will make it possible for an EFI_STUB kernel to read options from a file. Then not even rEFInd will be needed. Strictly speaking it isn't needed even now, but you need to type the options manually on the efi shell, which isn't very convenient. Fun stuff all this, innit? . It's a whole new crazy world.
    Cool, thanks for the pro-active research!

  • Error launching binary on Linux-Kernel 2.2

    I compile my source on a Linux-Kernel 2.6.13-15.8-smp with f95 and try to launch it on a Linux-Kernel 2.2.16 and get the following error message:
    BUG IN DYNAMIC LINKER ld.so: dynamic-link.h: 57: elf_get_dynamic_info:
    Assertion `! "bad dynamic tag"' failed!
    If I use the command ldd, I get the same message.
    On an other machine with a Kernel 2.6.12-10-386 I can launch my binary without any problem.
    My f95 has the following version:
    Sun Fortran 95 8.3 Build18_0 2006/03/13
    What can I do to make this work on my older Linux-Kernel?
    Thanx
    Jochen

    Both are i686 machines, here is the output of "cat /proc/cpuinfo".
    Source-Machine:
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 15
    model : 4
    model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
    stepping : 1
    cpu MHz : 2993.106
    cache size : 1024 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 1
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 5
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor ds_cpl cid xtpr
    bogomips : 5991.33
    processor : 1
    vendor_id : GenuineIntel
    cpu family : 15
    model : 4
    model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
    stepping : 1
    cpu MHz : 2993.106
    cache size : 1024 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 1
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 5
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor ds_cpl cid xtpr
    bogomips : 5985.47
    Target-Machine:
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 8
    model name : Pentium III (Coppermine)
    stepping : 3
    cpu MHz : 695.672
    cache size : 256 KB
    fdiv_bug : no
    hlt_bug : no
    sep_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 2
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr xmm
    bogomips : 1389.36
    I hope this gives you informations to help me solving my problem!
    Thanx
    Jochen

  • [SOLVED] Intel 5300 wifi on new Arch64 install

    I just bought a new Sager NP9262 laptop (but not really... it's huge, heavy, and sports a quad-core Q9650 processor), and put 64-bit Arch on it.  I've managed to get everything set up on it except for the wireless chip, an intel 4965.  I've downloaded the correct firmware (iwlwifi-4965-ucode) and the kernel module exists, but there seems to be a more basic problem.  hwdetect --show-net doesn't list the card at all, and lspci -k gives a rather unhelpful line saying
    Network controller: Intel Corporation Device 4235
    and lists no kernel modules which could work with the device.  Ideas?
    Last edited by tavianator (2008-09-06 18:22:37)

    EDIT:  now uses 2.6.27-rc6, which I haven't tested.  For something I'm sure works on my laptop, set '_rc' to '-rc5' and '_git' to '-git9', and uncomment the various commented-out lines dealing with -git patches.
    Okay.  First start with everything from /var/abs/core/kernel26 in a separate directory.  Then, replace PKGBUILD with this
    PKGBUILD:
    # $Id: PKGBUILD 10337 2008-08-26 21:10:56Z tpowa $
    # Maintainer: Tobias Powalowski <[email protected]>
    # Maintainer: Thomas Baechler <[email protected]>
    pkgname=kernel26
    _basekernel=2.6.26
    pkgver=2.6.27
    pkgrel=1
    _rc=-rc6
    _git=
    pkgdesc="The Linux Kernel and modules"
    arch=(i686 x86_64)
    license=('GPL2')
    groups=('base')
    url="http://www.kernel.org"
    backup=(etc/mkinitcpio.d/${pkgname}.preset)
    depends=('coreutils' 'module-init-tools' 'mkinitcpio>=0.5.18')
    # pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
    # nforce package support was abandoned by nvidia, kernel modules should cover everything now.
    # kernel24 support is dropped since glibc24
    replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi'
    'alsa-driver' 'ieee80211' 'hostap-driver26'
    'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
    'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs')
    install=kernel26.install
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
    http://kernel.org/pub/linux/kernel/v2.6/testing/patch-$pkgver$_rc.bz2
    # http://kernel.org/pub/linux/kernel/v2.6/snapshots/patch-$pkgver$_rc$_git.bz2
    # the main kernel config files
    config config.x86_64
    # standard config files for mkinitcpio ramdisk
    kernel26.preset)
    md5sums=('5169d01c405bc3f866c59338e217968c'
    'd3a173a00e15a6bf3c76068537a5c069'
    '4fd1071a8dc2ea993aed81d5920de18d'
    'd5ad1f296356d159a2616a49d98b3434'
    '25584700a0a679542929c4bed31433b6')
    build() {
    KARCH=x86
    cd $startdir/src/linux-$_basekernel
    # Add rc patches
    patch -Np1 -i $startdir/src/patch-${pkgver}${_rc} || return 1
    # patch -Np1 -i $startdir/src/patch-${pkgver}${_rc}${_git} || return 1
    if [ "$CARCH" = "x86_64" ]; then
    cat ../config.x86_64 >./.config
    else
    cat ../config >./.config
    fi
    # build the full kernel version to use in pathnames
    . ./.config
    ### next line is only needed for rc kernels
    #_kernver="2.6.25${CONFIG_LOCALVERSION}"
    _kernver="${pkgver}${_rc}${_git}${CONFIG_LOCALVERSION}"
    # load configuration
    yes "" | make config
    # build!
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"
    #return 1
    make bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    cp System.map $startdir/pkg/boot/System.map26
    cp arch/$KARCH/boot/bzImage $startdir/pkg/boot/vmlinuz26
    install -D -m644 Makefile \
    $startdir/pkg/usr/src/linux-${_kernver}/Makefile
    install -D -m644 kernel/Makefile \
    $startdir/pkg/usr/src/linux-${_kernver}/kernel/Makefile
    install -D -m644 .config \
    $startdir/pkg/usr/src/linux-${_kernver}/.config
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include
    for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-${_kernver}/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers $startdir/pkg/usr/src/linux-${_kernver}
    cp -a scripts $startdir/pkg/usr/src/linux-${_kernver}
    # fix permissions on scripts dir
    chmod og-w -R $startdir/pkg/usr/src/linux-${_kernver}/scripts
    #mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/.tmp_versions
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/kernel
    cp arch/$KARCH/Makefile $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/
    if [ "$CARCH" = "i686" ]; then
    cp arch/$KARCH/Makefile_32.cpu $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/
    fi
    cp arch/$KARCH/kernel/asm-offsets.s $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
    # add headers for lirc package
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video
    cp drivers/media/video/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/$i
    cp -a drivers/media/video/$i/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/$i
    done
    # add dm headers
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/md
    cp drivers/md/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/md
    # add inotify.h
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include/linux
    cp include/linux/inotify.h $startdir/pkg/usr/src/linux-${_kernver}/include/linux/
    # add CLUSTERIP file for iptables
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/net/ipv4/netfilter/
    # add wireless headers
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/net/mac80211/
    cp net/mac80211/*.h $startdir/pkg/usr/src/linux-${_kernver}/net/mac80211/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
    cp drivers/media/dvb/dvb-core/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/11194
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include/config/dvb/
    cp include/config/dvb/*.h $startdir/pkg/usr/src/linux-${_kernver}/include/config/dvb/
    # add xfs and shmem for aufs building
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/fs/xfs
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/mm
    cp fs/xfs/xfs_sb.h $startdir/pkg/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
    # add vmlinux
    cp vmlinux $startdir/pkg/usr/src/linux-${_kernver}
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-${_kernver}/$i
    done
    cd $startdir/pkg/usr/src/linux-${_kernver}/include && ln -s asm-$KARCH asm
    chown -R root.root $startdir/pkg/usr/src/linux-${_kernver}
    find $startdir/pkg/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
    cd $startdir/pkg/lib/modules/${_kernver} && \
    (rm -f source build; ln -sf ../../../usr/src/linux-${_kernver} build)
    # install fallback mkinitcpio.conf file and preset file for kernel
    install -m644 -D $startdir/src/${pkgname}.preset $startdir/pkg/etc/mkinitcpio.d/${pkgname}.preset || return 1
    # set correct depmod command for install
    sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/kernel26.install
    echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${startdir}/pkg/etc/mkinitcpio.d/${pkgname}.kver
    # remove unneeded architectures
    rm -rf $startdir/pkg/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
    Then, edit the pkgbuild, and uncomment lines 62 and 63, right below "stop here / this is useful to configure the kernel."  Run makepkg, which will extract the sources, patch them, and stop.  Run:
    $ cd src/linux-2.6.26
    $ make menuconfig
    Go to Device Drivers ---> Network Device Support ---> Wireless LAN, and scroll down to "Intel Wireless WiFi Next Gen AGN."  Press 'm' to include this feature as a module.  Enable any subfeatures you want, by pressing 'y,' but be sure to enable "Intel Wireless WiFi 5000AGN."  Also, enable "Enable full debugging output in iwlagn driver," which is above "Intel Wireless WiFi AGN."  Exit menuconfig.  Run
    $ cd ../..
    $ cp src/linux-2.6.26/.config config
    or on Arch64, run
    $ cd ../..
    $ cp src/linux-2.6.26/.config config.x86_64
    Comment out the lines you uncommented in the PKGBUILD, run
    $ makepkg -g >> PKGBUILD
    $ rm -rf src # otherwise, it tries to patch an already patched kernel
    and finally, makepkg!
    Also, install the firmware:
    PKGBUILD:
    # $Id: PKGBUILD 4447 2008-07-07 12:06:04Z thomas $
    # Maintainer: Thomas Baechler <[email protected]>
    pkgname=iwlwifi-5000-ucode
    pkgver=5.4.A.11
    pkgrel=1
    pkgdesc="Intel wireless firmware for IPW5000 (iwlwifi driver)"
    arch=(i686 x86_64)
    url="http://intellinuxwireless.org/?p=iwlwifi"
    license=('custom')
    depends=()
    source=(http://intellinuxwireless.org/iwlwifi/downloads/$pkgname-$pkgver.tar.gz)
    md5sums=('748860c5079dde1a1313e72511b9322a')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    # Install firmware (ABI version 2, for future versions of iwl4965)
    install -D -m 644 iwlwifi-5000-1.ucode $startdir/pkg/lib/firmware/iwlwifi-5000-1.ucode || return 1
    # Install license
    install -D -m 644 LICENSE.iwlwifi-5000-ucode $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1
    Last edited by tavianator (2008-09-10 23:10:35)

  • After installing Maverick my Mail is really slow to load new mail. my etrecheck is below Hardware Information:      iMac (21.5-inch, Late 2009)      iMac - model: iMac10,1      1 3.06 GHz Intel Core 2 Duo CPU: 2 cores      4 GB RAM  Video Information:    

    here is my etrecheck.  Any help is appreciated
    Hardware Information:
        iMac (21.5-inch, Late 2009)
        iMac - model: iMac10,1
        1 3.06 GHz Intel Core 2 Duo CPU: 2 cores
        4 GB RAM
    Video Information:
        NVIDIA GeForce 9400 - VRAM: 256 MB
    System Software:
        OS X 10.9.1 (13B42) - Uptime: 1 day 17:29:18
    Disk Information:
        ST3500418ASQ disk0 : (500.11 GB)
            EFI (disk0s1) <not mounted>: 209.7 MB
            Macintosh HD (disk0s2) /: 391.48 GB (245.88 GB free)
            Recovery HD (disk0s3) <not mounted>: 650 MB
            BOOTCAMP (disk0s4) /Volumes/BOOTCAMP: 107.76 GB (94.95 GB free)
        OPTIARC DVD RW AD-5680H 
    USB Information:
        Apple, Inc. Keyboard Hub
            Mitsumi Electric Apple Optical USB Mouse
            Apple, Inc Apple Keyboard
        Seagate FA GoFlex Desk 2 TB
            EFI (disk1s1) <not mounted>: 209.7 MB
            Time Machine Backups (disk1s2) /Volumes/Time Machine Backups: 2 TB (1.56 TB free)
        Apple Inc. Built-in iSight
        Apple Internal Memory Card Reader
        Canon MX870 series
        Apple Computer, Inc. IR Receiver
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
    FireWire Information:
    Thunderbolt Information:
    Kernel Extensions:
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
        [System]    com.adobe.fpsaud.plist 3rd-Party support link
        [System]    com.carbonite.launchd.carbonitedaemon.plist 3rd-Party support link
        [System]    com.crashplan.engine.plist 3rd-Party support link
        [System]    com.microsoft.office.licensing.helper.plist 3rd-Party support link
    Launch Agents:
        [System]    com.carbonite.launchd.carbonitealerts.plist 3rd-Party support link
        [System]    com.carbonite.launchd.carbonitestatus.plist 3rd-Party support link
    User Launch Agents:
        [not loaded]    com.adobe.ARM.[...].plist 3rd-Party support link
        [not loaded]    com.adobe.ARM.[...].plist 3rd-Party support link
        [not loaded]    com.crashplan.javacheck.plist 3rd-Party support link
        [not loaded]    com.facebook.videochat.[redacted].plist 3rd-Party support link
        [not loaded]    com.google.keystone.agent.plist 3rd-Party support link
        [not loaded]    jp.co.canon.Inkjet_Extended_Survey_Agent.plist 3rd-Party support link
        [not loaded]    uk.co.markallan.clamxav.freshclam.plist 3rd-Party support link
    User Login Items:
        iTunesHelper
        Adobe Bridge CS4
        CrashPlan menu bar
        ClamXavSentry
        AdobeResourceSynchronizer
        Canon IJ Network Scanner Selector2
    Internet Plug-ins:
        Default Browser: Version: 537 - SDK 10.9
        Flip4Mac WMV Plugin: Version: 2.3.8.1 3rd-Party support link
        Musicnotes: Version: 1.18.9 3rd-Party support link
        AdobePDFViewerNPAPI: Version: 11.0.03 - SDK 10.6 3rd-Party support link
        FlashPlayer-10.6: Version: 12.0.0.38 - SDK 10.6 3rd-Party support link
        Silverlight: Version: 4.0.51204.0 3rd-Party support link
        Flash Player: Version: 12.0.0.38 - SDK 10.6 Outdated! Update
        QuickTime Plugin: Version: 7.7.3
        iPhotoPhotocast: Version: 7.0
        SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6 3rd-Party support link
        AdobePDFViewer: Version: 11.0.03 - SDK 10.6 3rd-Party support link
        EPPEX Plugin: Version: 3.0.5.0 3rd-Party support link
        Scorch: Version: 6.1.0 3rd-Party support link
        JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Outdated! Update
    Audio Plug-ins:
        BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
        AirPlay: Version: 1.9 - SDK 10.9
        AppleAVBAudio: Version: 2.0.0 - SDK 10.9
        iSightAudio: Version: 7.7.3 - SDK 10.9
    User Internet Plug-ins:
        WebEx: Version: 1.0 3rd-Party support link
    3rd Party Preference Panes:
        Carbonite  3rd-Party support link
        Flash Player  3rd-Party support link
        Flip4Mac WMV  3rd-Party support link
    Bad Fonts:
        None
    Old Applications:
        /Library/Application Support/Microsoft/MERP2.0
            Microsoft Error Reporting:    Version: 2.2.9 - SDK 10.4 3rd-Party support link
            Microsoft Ship Asserts:    Version: 1.1.4 - SDK 10.4 3rd-Party support link
        Solver:    Version: 1.0 - SDK 10.5 3rd-Party support link
            /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
        /Library/Application Support/Carbonite
            CarboniteDaemon:    Version: 1.1.14 build 604 - SDK 10.5 3rd-Party support link
            CarboniteStatus:    Version: 1.1.14 build 604 - SDK 10.5 3rd-Party support link
            CarboniteAlerts:    Version: 1.1.14 build 604 - SDK 10.5 3rd-Party support link
        /Applications/Microsoft Office 2011/Office
            Microsoft Graph:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            Microsoft Database Utility:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            Microsoft Office Reminders:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            Microsoft Upload Center:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            My Day:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            SyncServicesAgent:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            Open XML for Excel:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            Microsoft Alerts Daemon:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            Microsoft Database Daemon:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            Microsoft Chart Converter:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            Microsoft Clip Gallery:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
        /Applications/Microsoft Office 2011
            Microsoft PowerPoint:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            Microsoft Excel:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            Microsoft Outlook:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            Microsoft Word:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            Microsoft Document Connection:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
        Microsoft Language Register:    Version: 14.3.9 - SDK 10.5 3rd-Party support link
            /Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
        Microsoft AutoUpdate:    Version: 2.3.6 - SDK 10.4 3rd-Party support link
            /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
    Time Machine:
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 364.60 GB Disk used: 135.61 GB
        Destinations:
            Time Machine Backups [Local] (Last used)
            Total size: 2 
            Total number of backups: 169
            Oldest backup: 2011-04-10 20:10:19 +0000
            Last backup: 2014-02-04 22:28:22 +0000
            Size of backup disk: Excellent
                Backup size 2  > (Disk size 364.60 GB X 3)
        Time Machine details may not be accurate.
        All volumes being backed up may not be listed.
    Top Processes by CPU:
            16%    Solavant Demo
             9%    mds
             3%    CarboniteDaemon
             2%    WindowServer
             2%    EtreCheck
    Top Processes by Memory:
        348 MB    firefox
        217 MB    clamd
        135 MB    mds_stores
        106 MB    Mail
        102 MB    softwareupdated
    Virtual Memory Information:
        794 MB    Free RAM
        1.70 GB    Active RAM
        443 MB    Inactive RAM
        587 MB    Wired RAM
        1.13 GB    Page-ins
        896 KB    Page-outs

    Fixing a Mavericks Installation Problem
    How to manage a failed OS X Mavericks installation | MacFixIt - CNET Reviews.
    Try these in order:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
         Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
         COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and
         after the chime press and hold down the OPTION key until the boot manager screen appears.
         Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    4. Reinstall Lion/Mountain Lion, Mavericks: Reboot from the Recovery HD. Select Reinstall Lion/Mountain Lion, Mavericks from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • [SOLVED] ALSA firmware not loading properly with kernel 3.8.6-1

    Hi All,
    I have a E-MU 1820 card + breakout box that have been working beautiful under Archlinux for years but now something happen.
    It still work OK under windows (dual boot same computer).
    Normally during boot all indicators on the breakout box blink and then only thin show is clock setting indicator. But now all the indicators still blink but instead it is a -12 dB indicator that light up and not the clock settings and no sound.
    dmesg show following.
    [christer@Arch ~]$ dmesg | grep emu
    [ 5.269612] emu1010: Special config.
    [ 5.269731] emu1010: EMU_HANA_ID = 0x7f
    [ 5.274685] emu1010: firmware file = emu/hana.fw, size = 0x133a4
    [ 13.465727] emu1010: Hana Firmware loaded
    [ 13.465776] emu1010: Hana version: 3.4
    [ 13.465864] emu1010: Card options = 0x0
    [ 13.465888] emu1010: Card options = 0x0
    [ 13.466379] emu1010: Card options3 = 0x0
    [ 14.486723] emu1010: Loading Audio Dock Firmware
    [ 16.477785] emu1010: EMU_HANA+DOCK_IRQ_STATUS = 0x36
    [ 16.477809] emu1010: EMU_HANA+DOCK_ID = 0x55
    [ 16.477809] emu1010: Audio Dock Firmware loaded
    [christer@Arch ~]$
    aplay -l looks like it did before.
    [christer@Arch ~]$ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: EMU1010 [E-mu 1010 [MAEM8810]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
    Subdevices: 32/32
    Subdevice #0: subdevice #0
    Subdevice #1: subdevice #1
    Subdevice #2: subdevice #2
    Subdevice #3: subdevice #3
    Subdevice #4: subdevice #4
    Subdevice #5: subdevice #5
    Subdevice #6: subdevice #6
    Subdevice #7: subdevice #7
    Subdevice #8: subdevice #8
    Subdevice #9: subdevice #9
    Subdevice #10: subdevice #10
    Subdevice #11: subdevice #11
    Subdevice #12: subdevice #12
    Subdevice #13: subdevice #13
    Subdevice #14: subdevice #14
    Subdevice #15: subdevice #15
    Subdevice #16: subdevice #16
    Subdevice #17: subdevice #17
    Subdevice #18: subdevice #18
    Subdevice #19: subdevice #19
    Subdevice #20: subdevice #20
    Subdevice #21: subdevice #21
    Subdevice #22: subdevice #22
    Subdevice #23: subdevice #23
    Subdevice #24: subdevice #24
    Subdevice #25: subdevice #25
    Subdevice #26: subdevice #26
    Subdevice #27: subdevice #27
    Subdevice #28: subdevice #28
    Subdevice #29: subdevice #29
    Subdevice #30: subdevice #30
    Subdevice #31: subdevice #31
    card 0: EMU1010 [E-mu 1010 [MAEM8810]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
    Subdevices: 8/8
    Subdevice #0: subdevice #0
    Subdevice #1: subdevice #1
    Subdevice #2: subdevice #2
    Subdevice #3: subdevice #3
    Subdevice #4: subdevice #4
    Subdevice #5: subdevice #5
    Subdevice #6: subdevice #6
    Subdevice #7: subdevice #7
    card 0: EMU1010 [E-mu 1010 [MAEM8810]], device 3: emu10k1 [Multichannel Playback]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    [christer@Arch ~]$
    lsmod
    [christer@Arch ~]$ lsmod | grep emu
    snd_emu10k1 140245 1
    snd_util_mem 2403 1 snd_emu10k1
    snd_hwdep 6428 1 snd_emu10k1
    snd_ac97_codec 113456 1 snd_emu10k1
    snd_rawmidi 18831 1 snd_emu10k1
    snd_seq_device 5268 5 snd_seq,snd_rawmidi,snd_seq_oss,snd_emu10k1,snd_seq_dummy
    snd_pcm 78146 3 snd_pcm_oss,snd_ac97_codec,snd_emu10k1
    snd_page_alloc 7426 2 snd_pcm,snd_emu10k1
    snd_timer 18934 3 snd_pcm,snd_seq,snd_emu10k1
    snd 60156 13 snd_pcm_oss,snd_ac97_codec,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_oss,snd_emu10k1,snd_seq_device,snd_mixer_oss
    [christer@Arch ~]$
    From what I can see all looks OK, like it did when it worked, but something is not at it should.
    Any thoughts or ideas about what might have happen or how to progress in troubleshooting.
    All input most welcome.
    I found info describing  problem with firmware loading, but it is over my head.
    http://git.kernel.org/cgit/linux/kernel … 54cf7008ab
    Output from Aadebug ( http://alsa.opensrc.org/Aadebug )
    [christer@Arch ~]$ ./alsadebug
    ALSA Audio Debug v0.2.0 - Fri Apr 12 20:46:05 CEST 2013
    http://alsa.opensrc.org/aadebug
    http://www.gnu.org/licenses/agpl-3.0.txt
    Kernel ----------------------------------------------------
    Linux Arch 3.8.6-1-ARCH #1 SMP PREEMPT Sat Apr 6 07:27:01 CEST 2013 x86_64 GNU/Linux
    Advanced Linux Sound Architecture Driver Version k3.8.6-1-ARCH.
    Loaded Modules --------------------------------------------
    snd_emu10k1 139271 2
    snd_util_mem 2339 1 snd_emu10k1
    snd_hwdep 6364 1 snd_emu10k1
    snd_pcm_oss 38511 0
    snd_mixer_oss 14995 1 snd_pcm_oss
    snd_ac97_codec 112216 1 snd_emu10k1
    snd_seq_dummy 1463 0
    snd_seq_oss 29098 0
    snd_seq_midi_event 5660 1 snd_seq_oss
    snd_rawmidi 18742 1 snd_emu10k1
    snd_seq 49946 5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
    snd_seq_device 5180 5 snd_seq,snd_rawmidi,snd_seq_oss,snd_emu10k1,snd_seq_dummy
    snd_pcm 76956 4 snd_pcm_oss,snd_ac97_codec,snd_emu10k1
    snd_page_alloc 7298 2 snd_pcm,snd_emu10k1
    snd_timer 18687 3 snd_pcm,snd_seq,snd_emu10k1
    snd 58893 14 snd_pcm_oss,snd_ac97_codec,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_oss,snd_emu10k1,snd_seq_device,snd_mixer_oss
    Proc Asound -----------------------------------------------
    0 [EMU1010 ]: Audigy2 - E-mu 1010 [MAEM8810]
    E-mu 1010 [MAEM8810] (rev.3, serial:0x40011102) at 0xd000, irq 19
    1: : sequencer
    2: [ 0- 0]: hardware dependent
    3: [ 0- 1]: raw midi
    4: [ 0- 0]: raw midi
    5: [ 0- 3]: digital audio playback
    6: [ 0- 2]: digital audio playback
    7: [ 0- 2]: digital audio capture
    8: [ 0- 1]: digital audio capture
    9: [ 0- 0]: digital audio playback
    10: [ 0- 0]: digital audio capture
    11: [ 0] : control
    33: : timer
    00-00: EMU10K1 (FX8010)
    00-00: emu10k1 : ADC Capture/Standard PCM Playback : playback 32 : capture 1
    00-01: emu10k1 mic : Mic Capture : capture 1
    00-02: emu10k1 efx : Multichannel Capture/PT Playback : playback 8 : capture 1
    00-03: emu10k1 : Multichannel Playback : playback 1
    Client info
    cur clients : 3
    peak clients : 3
    max clients : 192
    Client 0 : "System" [Kernel]
    Port 0 : "Timer" (Rwe-)
    Port 1 : "Announce" (R-e-)
    Connecting To: 15:0
    Client 14 : "Midi Through" [Kernel]
    Port 0 : "Midi Through Port-0" (RWe-)
    Client 15 : "OSS sequencer" [Kernel]
    Port 0 : "Receiver" (-we-)
    Connected From: 0:1
    Client 16 : "E-mu 1010 [MAEM8810]" [Kernel]
    Port 0 : "Audigy MPU-401 (UART)" (RWeX)
    Port 32 : "Audigy MPU-401 #2" (RWeX)
    Client 17 : "Emu10k1 WaveTable" [Kernel]
    Port 0 : "Emu10k1 Port 0" (-We-)
    Port 1 : "Emu10k1 Port 1" (-We-)
    Port 2 : "Emu10k1 Port 2" (-We-)
    Port 3 : "Emu10k1 Port 3" (-We-)
    Dev Snd ---------------------------------------------------
    total 0
    drwxr-xr-x 2 root root 60 Apr 12 20:42 by-path
    crw-rw----+ 1 root audio 116, 11 Apr 12 20:42 controlC0
    crw-rw----+ 1 root audio 116, 2 Apr 12 20:42 hwC0D0
    crw-rw----+ 1 root audio 116, 12 Apr 12 20:46 hwC0D2
    crw-rw----+ 1 root audio 116, 4 Apr 12 20:42 midiC0D0
    crw-rw----+ 1 root audio 116, 3 Apr 12 20:42 midiC0D1
    crw-rw----+ 1 root audio 116, 13 Apr 12 20:46 midiC0D2
    crw-rw----+ 1 root audio 116, 14 Apr 12 20:46 midiC0D3
    crw-rw----+ 1 root audio 116, 10 Apr 12 20:42 pcmC0D0c
    crw-rw----+ 1 root audio 116, 9 Apr 12 20:43 pcmC0D0p
    crw-rw----+ 1 root audio 116, 8 Apr 12 20:42 pcmC0D1c
    crw-rw----+ 1 root audio 116, 7 Apr 12 20:42 pcmC0D2c
    crw-rw----+ 1 root audio 116, 6 Apr 12 20:42 pcmC0D2p
    crw-rw----+ 1 root audio 116, 5 Apr 12 20:42 pcmC0D3p
    crw-rw----+ 1 root audio 116, 1 Apr 12 20:42 seq
    crw-rw----+ 1 root audio 116, 33 Apr 12 20:42 timer
    CPU -------------------------------------------------------
    model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
    cpu MHz : 2000.000
    model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
    cpu MHz : 2000.000
    RAM -------------------------------------------------------
    MemTotal: 4051696 kB
    SwapTotal: 51196 kB
    Hardware --------------------------------------------------
    01:00.0 VGA compatible controller: NVIDIA Corporation G94 [GeForce 9600 GT] (rev a1)
    05:01.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
    Interupts -------------------------------------------------
    CPU0 CPU1
    0: 48 0 IO-APIC-edge timer
    1: 1 1 IO-APIC-edge i8042
    6: 1 2 IO-APIC-edge floppy
    8: 0 1 IO-APIC-edge rtc0
    9: 0 0 IO-APIC-fasteoi acpi
    12: 4 1 IO-APIC-edge i8042
    16: 529 493 IO-APIC-fasteoi uhci_hcd:usb1, pata_jmicron, nvidia
    18: 10654 10645 IO-APIC-fasteoi uhci_hcd:usb3, ehci_hcd:usb4, uhci_hcd:usb8, firewire_ohci, i801_smbus
    19: 3621 3626 IO-APIC-fasteoi uhci_hcd:usb7, snd_emu10k1
    21: 0 0 IO-APIC-fasteoi uhci_hcd:usb2
    23: 0 0 IO-APIC-fasteoi ehci_hcd:usb5, uhci_hcd:usb6
    44: 7637 7652 PCI-MSI-edge ahci
    45: 11719 11736 PCI-MSI-edge eth0
    NMI: 47 47 Non-maskable interrupts
    LOC: 49551 45081 Local timer interrupts
    SPU: 0 0 Spurious interrupts
    PMI: 47 47 Performance monitoring interrupts
    IWI: 0 0 IRQ work interrupts
    RTR: 0 0 APIC ICR read retries
    RES: 28730 28313 Rescheduling interrupts
    CAL: 94 54 Function call interrupts
    TLB: 3503 3509 TLB shootdowns
    TRM: 0 0 Thermal event interrupts
    THR: 0 0 Threshold APIC interrupts
    MCE: 0 0 Machine check exceptions
    MCP: 1 1 Machine check polls
    ERR: 0
    MIS: 0
    [christer@Arch ~]$
    output from systemctl show somw inacive sound related sevices.
    alsa-restore.service loaded inactive dead Restore Sound Card State
    alsa-store.service loaded inactive dead Store Sound Card State
    auditd.service error inactive dead auditd.service
    display-manager.service error inactive dead display-manager.service
    dmeventd.service loaded inactive dead Device-mapper event daemon
    emergency.service loaded inactive dead Emergency Shell
    lvmetad.service loaded inactive dead LVM2 metadata daemon
    plymouth-quit-wait.service error inactive dead plymouth-quit-wait.service
    plymouth-start.service error inactive dead plymouth-start.service
    rc-local-shutdown.service loaded inactive dead /etc/rc.local.shutdown Compatibility
    rescue.service loaded inactive dead Rescue Shell
    systemd-...console.service loaded inactive dead Dispatch Password Requests to Console
    systemd-...rd-wall.service loaded inactive dead Forward Password Requests to Wall
    systemd-fsck-root.service loaded inactive dead File System Check on Root Device
    systemd-...e8ee844.service loaded inactive dead File System Check on /dev/disk/by-uuid/9751ee37-e769-4bbe-9436-2d8e5e8ee844
    systemd-...ev-sda2.service loaded inactive dead File System Check on /dev/sda2
    systemd-...ev-sda4.service loaded inactive dead File System Check on /dev/sda4
    systemd-initctl.service loaded inactive dead /dev/initctl Compatibility Daemon
    systemd-...l-flush.service loaded inactive dead Trigger Flushing of Journal to Persistent Storage
    systemd-...ed-load.service loaded inactive dead Load Random Seed
    systemd-...ed-save.service loaded inactive dead Save Random Seed
    systemd-...ad-done.service loaded inactive dead Stop Read-Ahead Data Collection
    systemd-shutdownd.service loaded inactive dead Delayed Shutdown Service
    systemd-...s-clean.service loaded inactive dead Cleanup of Temporary Directories
    systemd-...unlevel.service loaded inactive dead Update UTMP about System Runlevel Changes
    systemd-...hutdown.service loaded inactive dead Update UTMP about System Shutdown
    ypbind.service error inactive dead ypbind.service
    emergency.target loaded inactive dead Emergency Mode
    final.target loaded inactive dead Final Step
    nss-lookup.target loaded inactive dead Host and Network Name Lookups
    nss-user-lookup.target loaded inactive dead User and Group Name Lookups
    remote-fs-pre.target loaded inactive dead Remote File Systems (Pre)
    remote-fs-setup.target error inactive dead remote-fs-setup.target
    rescue.target loaded inactive dead Rescue Mode
    runlevel1.target error inactive dead runlevel1.target
    runlevel2.target error inactive dead runlevel2.target
    runlevel3.target error inactive dead runlevel3.target
    runlevel4.target error inactive dead runlevel4.target
    runlevel5.target error inactive dead runlevel5.target
    shutdown.target loaded inactive dead Shutdown
    syslog.target error inactive dead syslog.target
    umount.target loaded inactive dead Unmount All Filesystems
    All the best!
    Christer
    Last edited by agkbill (2013-04-15 18:41:03)

    Thank you mich41!
    It looks like a kernel bug.
    I downgraded to 3.7.10-1 then firmware loaded OK and I could play sounds.
    Upgraded to 3.8.6-1 then the firmware fail to load.
    Something looks not ok with 3.8.6-1.
    Best regards,
    Christer

  • [SOLVED] Intel microcode not loaded - already available in the bios?

    I'm getting ready to the linux 3.17 release and thought I should manually install the Intel microcode.
    I noticed that I didn't even have the package installed, so that was my first stop.
    After doing the steps outlined in the wiki, I'm not sure it's actually loaded.
    The `sig` and `revision` in the available patch and the kernel output is the same.
    Does this mean I already have the microcodes updated through the BIOS, or is this irrelevant?
    And if it's irrelevant, any idea what I'm doing wrong?
    $ uname -a
    Linux simendsjo-t520 3.16.7-1-ck #1 SMP PREEMPT Fri Oct 31 13:09:18 CET 2014 x86_64 GNU/Linux
    $ dmesg | grep microcode
    [ 0.521721] microcode: CPU0 sig=0x206a7, pf=0x10, revision=0x29
    [ 0.521739] microcode: CPU1 sig=0x206a7, pf=0x10, revision=0x29
    [ 0.521764] microcode: CPU2 sig=0x206a7, pf=0x10, revision=0x29
    [ 0.521783] microcode: CPU3 sig=0x206a7, pf=0x10, revision=0x29
    [ 0.521894] microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
    The initrd lines in grub.cfg has been changed (not showing entire config, but it's on each non-fallback initrd line)
    (But this should matter yet anyway as I'm on 3.16..?)
    # grep intel /boot/grub/grub.cfg
    initrd /boot/intel-ucode.img /boot/initramfs-linux-ck.img
    initrd /boot/intel-ucode.img /boot/initramfs-linux.img
    But iucode_tool says an update is available (ref: https://wiki.archlinux.org/index.php/Microcode)
    # bsdtar -Oxf /boot/intel-ucode.img | iucode_tool -tb -lS -
    iucode_tool: system has processor(s) with signature 0x000206a7
    selected microcodes:
    001: sig 0x000206a7, pf mask 0x12, 2013-06-12, rev 0x0029, size 10240
    Last edited by simendsjo (2014-11-05 20:12:36)

    kokoko3k wrote:
    I think iucode_tool is just saying that an update has been released for your cpu model.
    But yout particular cpu has already it in place.
    I don't know if it is the bios to update the microcode or your cpu has been shipped with the new firmware.
    Thanks! I don't really care As long as I haven't failed the installation process, I'm happy.

  • Linux: Kernel Preemption, To Enable Or Not To Enable

    The default 2.6.4 Arch Linux kernel .config has 'CONFIG_PREEMPT=y'. 
    Not everyone has been happy with kernel preemption, however.  There is an interesting discussion of this under the title "Linux: Kernel Preemption, To Enable Or Not To Enable at http://kerneltrap.org/node/view/2702
    The text of the article is repeated here:
    "A recent bug report on the lkml complained of significant performance degradation from enabling CONFIG_PREEMPT, kernel preemption. 2.6 kernel maintainer Andrew Morton [interview] pointed out that such degradation from enabling kernel preemption is not normal, instead likely from it triggering a bug. However, an interesting conversation on the merits of kernel preemption followed.
    Andrea Arcangeli, author of the 2.4 virtual memory subsystem, bluntly suggested, "keep preempt turned off always, it's useless. Preempt just wastes cpu with tons of branches in fast paths that should take one cycle instead." Andrew Morton noted, "preempt is overrated." However, he went on to point out that kernel preemption has been very useful in detecting locking bugs. He added, "it has been demonstrated that preempt improves the average latency. But not worst-case, because those paths tend to be under spinlock."
    Robert Love [interview] replied directly to Andrea's comments saying, "I think you are really blowing the overhead of kernel preemption out of proportion," going on to agree with Andrew's statements. He further explained:
    "I also feel you underestimate the improvements kernel preemption gives. Yes, the absolute worst case latency probably remains because it tends to occur under lock (although, it is now easier to pinpoint that latency and work some magic on the locks). But the variance of the latency goes way down, too. We smooth out the curve. And these are differences that matter."
    There is more discussion and feedback with the article (including the original bug report).

    I like preemption. it the "democracy" heaven of processes and threads. This post was interesting, but the point is this bug..?
    if the bug is found, who can say that preemption in the kernel is not a good idea?
    thanks for posting though ;P

  • [SOLVED] (U)EFI dualboot Win7 Arch Linux - partitions gone - recovery?

    Hi everybody,
    I have a slight problem with my (U)EFI dualboot system (Windows 7 and Arch Linux) which used to be configured using rEFInd like it is described in my previous post:
    https://bbs.archlinux.org/viewtopic.php … 6#p1300356
    <EFI PARTITION> is /dev/sda1 and I used to boot via <EFI PARTITION>\EFI\Boot\Bootx64.efi which then successfully either loaded Windows or Linux kernel.
    Thanks to my own stupidity and a recent update of refind I decided to copy the new driver, font and icon folders to the <EFI PARTITION> in order to be up-to-date.
    After doing so, the rEFInd boot menu had a third icon which said "Boot via \EFI\Boot\Bootx64.efi" and if I clicked on it a second rEFInd boot menu appeared with only the two icons for Windows 7 and Arch.
    So I figured I could delete Bootx64.efi and ultimately did so, unfortunately. Afterwards I couldn't boot neither Windows nor Linux anymore.
    Following this I went through my noumerous USB boot sticks in order to be able to recover the Bootx64.efi. Unfortunately the first USB stick was a Windows XP one which has the plop bootloader alongside:
    http://www.plop.at/en/bootmanager/thebootmanager.html
    Out of couriousity I entered this bootloader and found HDA and HDB (I assume resembling my SSD and my USB stick).
    To my knowledge I didn't change anything but after entering the bootloader again I just found HDA left, HDB seemed to be gone. But I didn't think of anything bad happening yet.
    Then I found a working Archiso which I booted and using blkid I couldn't find the partitions of my earlier system anymore, only its device and the USB stick:
    /dev/sda: PTUUID="..." PTTYPE="gpt"
    /dev/sdb1: UUID="..." LABEL="ARCH_201312" TYPE="..." and so on
    /dev/sdb2: SEC_TYPE="msdos" and so on
    Even within the EFI shell I could not detect any internal drive anymore (only fs0: which is the USB stick)
    Using Archiso onboard tool testdisk I could find the old partitions. The correct result of the GPT from testdisk is:
    Fri Jul 4 08:45:25 2014
    Command line: TestDisk
    TestDisk 6.14, Data Recovery Utility, July 2013
    Christophe GRENIER <[email protected]>
    http://www.cgsecurity.org
    OS: Linux, kernel 3.12.1-3-ARCH (#1 SMP PREEMPT Tue Nov 26 11:17:02 CET 2013) x86_64
    Compiler: GCC 4.8
    Compilation date: 2013-08-06T08:42:31
    ext2fs lib: 1.42.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.0.5, ewf lib: none
    /dev/sda: LBA, HPA, LBA48, DCO support
    /dev/sda: size 500118192 sectors
    /dev/sda: user_max 500118192 sectors
    /dev/sda: native_max 500118192 sectors
    /dev/sda: dco 500118192 sectors
    Warning: can't get size for Disk /dev/mapper/control - 0 B - 1 sectors, sector size=512
    Hard disk list
    Disk /dev/sda - 256 GB / 238 GiB - CHS 31130 255 63, sector size=512 - Samsung SSD 840 PRO Series, S/N:S12RNEAD322171L, FW:DXM04B0Q
    Disk /dev/sdb - 2013 MB / 1920 MiB - CHS 1022 62 62, sector size=512 - SMI USB DISK, FW:1100
    Disk /dev/sdc - 4210 MB / 4015 MiB - CHS 1020 130 62, sector size=512 - Generic Flash Disk, FW:8.07
    Disk /dev/mapper/arch_root-image - 1478 MB / 1410 MiB - 2887680 sectors, sector size=512
    Disk /dev/dm-0 - 1478 MB / 1410 MiB - 2887680 sectors, sector size=512
    Partition table type (auto): Intel
    Disk /dev/sda - 256 GB / 238 GiB - Samsung SSD 840 PRO Series
    Partition table type: EFI GPT
    New options :
    Dump : No
    Align partition: Yes
    Expert mode : Yes
    Analyse Disk /dev/sda - 256 GB / 238 GiB - CHS 31130 255 63
    hdr_size=92
    hdr_lba_self=1
    hdr_lba_alt=500118191 (expected 500118191)
    hdr_lba_start=34
    hdr_lba_end=500118158
    hdr_lba_table=2
    hdr_entries=128
    hdr_entsz=128
    hdr_size=92
    hdr_lba_self=500118191
    hdr_lba_alt=1 (expected 1)
    hdr_lba_start=34
    hdr_lba_end=500118158
    hdr_lba_table=500118159
    hdr_entries=128
    hdr_entsz=128
    Trying alternate GPT
    Current partition structure:
    Trying alternate GPT
    search_part()
    Disk /dev/sda - 256 GB / 238 GiB - CHS 31130 255 63
    FAT32 at 0/32/33
    FAT1 : 4110-6150
    FAT2 : 6151-8191
    start_rootdir : 8192 root cluster : 2
    Data : 8192-2097151
    sectors : 2097152
    cluster_size : 8
    no_of_cluster : 261120 (2 - 261121)
    fat_length 2041 calculated 2041
    set_FAT_info: name from BS used
    FAT32 at 0/32/33
    MS Data 2048 2099199 2097152 [NO NAME]
    FAT32, blocksize=4096, 1073 MB / 1024 MiB
    NTFS at 146/251/42
    filesystem size 249593856
    sectors_per_cluster 8
    mft_lcn 786432
    mftmirr_lcn 2
    clusters_per_mft_record -10
    clusters_per_index_record 1
    NTFS part_offset=1209008128, part_size=127792054272, sector_size=512
    NTFS partition cannot be added (part_offset<part_size).
    NTFS at 146/251/42
    filesystem size 249593856
    sectors_per_cluster 8
    mft_lcn 786432
    mftmirr_lcn 2
    clusters_per_mft_record -10
    clusters_per_index_record 1
    MS Data 2361344 251955199 249593856
    NTFS, blocksize=4096, 127 GB / 119 GiB
    recover_EXT2: s_block_group_nr=0/160, s_mnt_count=1318/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
    recover_EXT2: s_blocksize=4096
    recover_EXT2: s_blocks_count 5242880
    recover_EXT2: part_size 41943040
    MS Data 251955200 293898239 41943040
    ext4 blocksize=4096 Large file Sparse superblock, 21 GB / 20 GiB
    recover_EXT2: s_block_group_nr=0/80, s_mnt_count=1317/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
    recover_EXT2: s_blocksize=4096
    recover_EXT2: s_blocks_count 2621440
    recover_EXT2: part_size 20971520
    MS Data 293898240 314869759 20971520
    ext4 blocksize=4096 Large file Sparse superblock, 10 GB / 10 GiB
    recover_EXT2: s_block_group_nr=0/706, s_mnt_count=1317/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
    recover_EXT2: s_blocksize=4096
    recover_EXT2: s_blocks_count 23156049
    recover_EXT2: part_size 185248392
    MS Data 314869760 500118151 185248392
    ext4 blocksize=4096 Large file Sparse superblock, 94 GB / 88 GiB
    Results
    P MS Data 2048 2099199 2097152 [NO NAME]
    FAT32, blocksize=4096, 1073 MB / 1024 MiB
    P MS Data 2361344 251955199 249593856
    NTFS, blocksize=4096, 127 GB / 119 GiB
    P MS Data 251955200 293898239 41943040
    ext4 blocksize=4096 Large file Sparse superblock, 21 GB / 20 GiB
    P MS Data 293898240 314869759 20971520
    ext4 blocksize=4096 Large file Sparse superblock, 10 GB / 10 GiB
    P MS Data 314869760 500118151 185248392
    ext4 blocksize=4096 Large file Sparse superblock, 94 GB / 88 GiB
    interface_write()
    1 P MS Data 2048 2099199 2097152 [NO NAME]
    2 P MS Data 2361344 251955199 249593856
    3 P MS Data 251955200 293898239 41943040
    4 P MS Data 293898240 314869759 20971520
    5 P MS Data 314869760 500118151 185248392
    simulate write!
    TestDisk exited normally.
    ext4 blocksize=4096 Large file Sparse superblock, 94 GB / 88 GiB
    Now the question is: Can I - using testdisk or any other tool - recover those partitions successfully so I will be able to boot again afterwards? I tested and I could mark them as:
    P Primary
    Any help will be greately appreciated.
    Best regards
    Last edited by blablubb1234 (2014-07-08 09:20:08)

    Issue resolved If you care to know how, read on:
    Looking at the disk using gdisk was doing no good. Neither of the recovery options in gdisk did the trick.
    I then returned to testdisk and restored the partitions (successfully). However, afterwards I was greeted by shell telling me the root device was not found (seems like UUIDs get changed when one restores them using testdisk). Adjusting the PARTUUID for root in <EFI SYSTEM PARTIITION>/boot/refind_linux.conf did the trick and I could boot up Archlinux again.
    Windows 7 still didn't boot telling me the required device was inaccessible (probably wrong UUID, too). I could however not restore/edit Windows' BCD using bcdedit, see my post Status: 0xc0000225 boot selection failed; required device inaccessible:
    To make a long story short: Removing bcd and running autorecovery from withing Windows RE successfully created a new bcd. Unfortunately, Windows writes its backup bootloader at <EFI SYSTEM PARTITION>/boot/EFI/Boot/bootx64.efi. This file originally was a copy of refind_x64.efi which I need to put at that location to be able to dualboot. After chrooting to my Arch system I could restore bootx64.efi, create a new fstab and everything is running fine now again.
    Best regards and thanks for the help.

  • Unable to run PL/SQL Cartridge (OAS 4.0.8.1, Redhat Linux Kernel 2.2, Oracle 8.1.5)

    PL/SQL Cartridge server refuses to come up.
    Config:
    =======
    OAS 4.0.8.1 on Redhat Linux Kernel 2.2
    Oracle 8.1.5 on Windows NT
    Remote access to the database using connect string
    The Linux m/c and NT m/c have recommended system requirements and domain registering. I could invoke the procedure from SQL plus and view the HTML contents using owa_util.showpage. Also, I could install PL/SQL Web Toolkit using the same DAD. But Cartridge server just refuses to come up. If anyone has a solution for this, it would be a great help!!
    P.S: Attached below is wrb.log
    Thanks,
    Kiran
    Wrb Log Contents
    ================
    02-11-2000 17:27:49 746919 devlinux `Broker` 2231 1 0x10fff `OWS-04764: Unable to bring up cartridge server, type icsawebsite, at devlinux. `
    02-11-2000 17:27:50 760451 devlinux `Dispatcher` 2361 1 0x2fff `OWS-04517: Error indicated by broker in getting cartridges of type icsawebsite/ckreddy. `
    02-11-2000 17:27:50 860311 devlinux `Dispatcher` 2361 1 0x2fff `OWS-04512: Request 604CD69E9EBF-A5EC-E000-16FAA8C00954 has internal error due to Error 4511. `
    02-11-2000 17:31:47 204347 devlinux `Broker` 2231 1 0x10fff `OWS-04764: Unable to bring up cartridge server, type icsawebsite, at devlinux. `

    We had the same problem with the PL/SQL cartridge (OWS-04764 ...). We solved our problem with a new kernel. Its important that you have a kernel with symmetric multi-processing support (SMP) enabled, independent if you have a one or two processor machine.
    I hope it will help you.
    Best regards
    Hans Hirter
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by icsanet:
    PL/SQL Cartridge server refuses to come up.
    Config:
    =======
    OAS 4.0.8.1 on Redhat Linux Kernel 2.2
    Oracle 8.1.5 on Windows NT
    Remote access to the database using connect string
    The Linux m/c and NT m/c have recommended system requirements and domain registering. I could invoke the procedure from SQL plus and view the HTML contents using owa_util.showpage. Also, I could install PL/SQL Web Toolkit using the same DAD. But Cartridge server just refuses to come up. If anyone has a solution for this, it would be a great help!!
    P.S: Attached below is wrb.log
    Thanks,
    Kiran
    Wrb Log Contents
    ================
    02-11-2000 17:27:49 746919 devlinux `Broker` 2231 1 0x10fff `OWS-04764: Unable to bring up cartridge server, type icsawebsite, at devlinux. `
    02-11-2000 17:27:50 760451 devlinux `Dispatcher` 2361 1 0x2fff `OWS-04517: Error indicated by broker in getting cartridges of type icsawebsite/ckreddy. `
    02-11-2000 17:27:50 860311 devlinux `Dispatcher` 2361 1 0x2fff `OWS-04512: Request 604CD69E9EBF-A5EC-E000-16FAA8C00954 has internal error due to Error 4511. `
    02-11-2000 17:31:47 204347 devlinux `Broker` 2231 1 0x10fff `OWS-04764: Unable to bring up cartridge server, type icsawebsite, at devlinux. `<HR></BLOCKQUOTE>
    null

  • MHDDK broken on Linux kernel 4.0

    One of the tools that ships with MHDDK is broken on new Linux kernels.
    The problem is easy to reproduce:
    cd nimhddk_linuxkernel/LinuxKernel/nirlpk
    make
    sudo make install
    gives the following error:
    nirlp: 4.0.0-040000-generic kernel not supported
    Directly executing nirlp gives the same error. Older kernels (e.g. 3.13) don't have this issue.
    Without this tool, none of the examples can even access the board.
    This issue will presumably affect all new kernels. Since this tool is binary-only, a fix will have to come from NI.
    NI, please provide a fix or workaround for this issue.
    Solved!
    Go to Solution.

    drobson wrote:
     Since this tool is binary-only, a fix will have to come from NI.
    The MHDDK is 100% source code, scripts, and Makefiles -- all editable text files.
    The nirlp file is a bash script, and it includes a check for kernel versions that were tested with the DDK examples. The last time the kernel module was updated was during the Linux 3.6 window. You can change the script to allow for newer kernels, and since you were able to compile the module, it looks hopeful that the module will load and support your devices.
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

Maybe you are looking for