Gummiboot and Kernel command line

Hi
I trying to change the mouse pulling rate to 2 ms using the Arch-wiki for “Mouse Polling Rate” and "gummiboot"
Before I used grub-legacy on a old pc and it worked fine adding
usbhid.mousepoll=2  to the kernel command line
however with gummiboot it does not work ?
/boot/loader/enties/Arch.conf
title          Arch Linux
linux      /vmlinuz-linux
initrd      /initramfs-linux.img
options     root=/dev/sdb2 rw usbhid.mousepoll=2
Is there a way to get the command line working ?

The kernel command line works just fine if the machine boots.
I think you should try using the /etc/modprobe.d method, as that is the other way that module options can be specified. 
The way I see it, this way seems more appropriate for things like what you are trying to do.  The kernel command line I think should be used for built-in things, like acpi.  Though some things need to be specified on the kernel command line in order to make them actually work.  For example, the libahci module is set up to spin up drives one at a time in some kind of an attempt to efficiently use power.  So of course if you set this in /etc/modprobe.d, by the the time it gets to this setting, it will already be done, so you would use libahci.ignore_sss=1 on the kernel command line.
For more info, see the modprobe.d and modprobe man pages.

Similar Messages

  • Append 'init=/bin/systemd' to kernel command line

    I have just updated my Arch_64bit and have been adviced by Pacman to ":: Append 'init=/bin/systemd' to your kernel command line in your bootloader to replace sysvinit with systemd".
    I dual boot Ubuntu and Arch and use the GRUB2 from Ubuntu. I have installed Arch's Grub to its own partition.
    However there is no /etc/default/grub in my File System instead there is /boot/grub/menu.lst... mine is a recent Arch install and  I wonder how I ended up with Grub1.
    In /etc/default/grub I would have edited: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash init=/bin/systemd". I have no idea how to deal with Grub1 /boot/grub/menu.lst.
    Pointers will be helpful.
    Also, why do I need to append 'init=/bin/systemd' to the kernel command line? Without doing so my Arch is booting and working fine. So far I haven't encountered any issues I can tell with my current Arch, the way it is.
    Do I need really need to append the above to my Kernel command line?
    Thanks

    fantab wrote:
    I have just updated my Arch_64bit and have been adviced by Pacman to ":: Append 'init=/bin/systemd' to your kernel command line in your bootloader to replace sysvinit with systemd".
    I dual boot Ubuntu and Arch and use the GRUB2 from Ubuntu. I have installed Arch's Grub to its own partition.
    Thanks Jason, (and thanks for the quote I use as signature)
    However, it turns out that I may  NOT have installed GRUB during Arch install... 'coz there are no 'stage' files in the /boot/grub there is just menu.lst and also because mine is only a few months old Arch install.
    #pacman -SS does not show GRUB as installed. So I did not install it.
    So how do I go about it?  Do I have Install GRUB now to "append 'init=/bin/systemd' to kernel command line"?

  • EFIstub, kernel command line parameters

    Hello,
    I read this post and this post, so I'd like to know about the kernel option to load the command line from a file, rather than write it direclty to the NVRAM, the so-called linux.conf, that should reside in the same kernel path.
    Is there with the current kernel, or should I patch it?
    What would it be, then, the kernel's command line option to use it?

    Point 1, I have one scarcely used,
    Point 2, maybe I should write the config in a file and tell efibootmgr to load from there. That would avoid keep track of may changes. Reading from NVRAM comes hard, due to the zero spacing (or unicoding) of its content.
    On top of the topic, that means there is no kernel yet, which will load command parameters from a file, isn't it?
    Probably it is possible, but I should do it on my own as this mentions.

  • How to run EJB through a ide and not command line

    I have been trying out a simple Cart EJB. I have no problem running the whole thing through command line using the runclient script. But when i compile and run the same code in my ide it chucks the following error
    Caught an unexpected exception!
    javax.naming.NameNotFoundException: No object bound for java:comp/env/ejb/SimpleCart
         at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:116)
         at javax.naming.InitialContext.lookup(InitialContext.java:350)
         at CartClient.main(CartClient.java:26)
    Is there any reasons you cant run an EJB client code through an ide. This is the code i am using
    // Decompiled by DJ v3.0.0.63 Copyright 2002 Atanas Neshkov Date: 8/20/2002 2:33:45 PM
    // Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
    // Decompiler options: packimports(3)
    // Source File Name: CartClient.java
    import java.io.PrintStream;
    import java.util.Enumeration;
    import java.util.Vector;
    import javax.ejb.EJBObject;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    public class CartClient
    public CartClient()
    public static void main(String args[])
    try
    InitialContext initialcontext = new InitialContext();
    Object obj = initialcontext.lookup("java:comp/env/ejb/SimpleCart");
    CartHome carthome = (CartHome)PortableRemoteObject.narrow(obj, CartHome.class);
    Cart cart = carthome.create("Duke DeEarl", "123");
    cart.addBook("The Martian Chronicles");
    cart.addBook("2001 A Space Odyssey");
    cart.addBook("The Left Hand of Darkness");
    Vector vector = new Vector();
    vector = cart.getContents();
    String s;
    for(Enumeration enumeration = vector.elements(); enumeration.hasMoreElements(); System.out.println(s))
    s = (String)enumeration.nextElement();
    cart.removeBook("Alice in Wonderland");
    cart.remove();
    catch(BookException bookexception)
    System.err.println("Caught a BookException: " + bookexception.getMessage());
    catch(Exception exception)
    System.err.println("Caught an unexpected exception!");
    exception.printStackTrace();
    }

    Are you setting the system properties for your Java runtime in the IDE?
    You might need some command-line options along the lines of
    Djava.naming.provider.url=BAR -Djava.naming.factory.initial=FOO
    Failing that you might have to do a global JNDI lookup instead of a local one but that'd be far from ideal.

  • Hana db filesystem directory structure and process command line

    Hi experts,
    Could someone provide please actual directory structure of Hana db filesystem?
    Generally speaking, I need to model some Hana db(of 1.0, 1.5 versions) entities. Among them:
    Schemas
    Data files
    Log files
    Important configuration files
    Database parameters(guess found in config files and command line)
    Database version
    The question is where i can find such information having access to filesystem?
    One another question is how common Hana db commandline looks like?
    Does it have one process or several?
    It would be perfect if someone give some ps -aef command result grepped with relevant Hana Db processes
    Thanks,
    Eugene
    Edited by: Eugene Kondrashev on Dec 28, 2011 12:51 PM

    Eugene Kondrashev wrote:
    > * What are the processes relevant to Hana Db?
    This is still changing pretty much ...
    Anyhow, just check the running services in HANA studio (landscape tab) and you have all the process at hand.
    > * What is the signature of starting command?
    What is that supposed to mean?
    > * How can I identify running Hana Db instance on a host having shell access?
    How about the HDB command?
    SUSE Linux Enterprise Server 11 (x86_64)
    /usr/sap/HAN/HDB00> HDB help
    Usage: /usr/sap/HAN/HDB00/HDB { start|stop|reconf|restart|version|info|proc|admin|kill|kill-<sig>|term }
      kill or kill-9 should never be used in productive environment!
    /usr/sap/HAN/HDB00> HDB info
    USER       PID  PPID %CPU    VSZ   RSS COMMAND
    hanadm   14682 14677  0.0  85580  2180 sshd: hanadm@pts/0
    hanadm   14683 14682  3.3  16768  2980  \_ -bash
    hanadm   14756 14683 18.1  13652  1680      \_ /bin/sh /usr/sap/HAN/HDB00/HDB info
    hanadm   14782 14756  0.0   6620   892          \_ ps fx -U hanadm -o user,pid,ppid,pcpu,vsz,rss,args
    hanadm   31638     1  0.0  42624  1820 sapstart pf=/usr/sap/HAN/SYS/profile/HAN_HDB00_vml3012
    hanadm   31645 31638  0.0 528216 151400  \_ /usr/sap/HAN/HDB00/vml3012/trace/HDB.sapHAN_HDB00 -d -nw -f /usr/sap/HAN/HDB00/vml3012/daemon.ini pf=/usr/sap/HAN/SYS/profi
    hanadm   31665 31645  0.5 5001972 1002844      \_ hdbnameserver
    hanadm   31723 31645  0.0 4367024 244336      \_ hdbpreprocessor
    hanadm   31744 31645  1.9 5664496 1779448      \_ hdbindexserver
    hanadm   31752 31645  3.6 7197924 3359440      \_ hdbstatisticsserver
    hanadm   31759 31645  0.6 5289164 1507684      \_ hdbxsengine
    hanadm   32017 31645  0.0 429188 124344      \_ sapwebdisp_hdb pf=/usr/sap/HAN/HDB00/vml3012/wdisp/sapwebdisp.pfl -f /usr/sap/HAN/HDB00/vml3012/trace/dev_webdisp
    hanadm   31527     1  0.0 292676 110380 /usr/sap/HAN/HDB00/exe/sapstartsrv pf=/usr/sap/HAN/SYS/profile/HAN_HDB00_vml3012 -D
    > * Does Hana DB started with SAP start profile? If so, could someone point me to the example of such a profile?
    ?? seriously... take a guess
    regards,
    Lars

  • 'autorotate and center' command line option for acroread toPostscript

    Hello,
    Is there a command line option available for 'autorotate and center' (like in the graphical view of acroread) while you convert a pdf to postscript on command line?
    I must convert an A4 pdf to 'portrait' letter (fanfold). With the command below, everything is fine only the pdf is not rotated.
    My command looks like:
    acroread -toPostScript -size 792x612 -shrink -expand < pdffile.pdf
    Mvg,
    wim

    Hello,
    Our application generates A4 pdfs (reports) in portrait format. Now we have some matrix printers (Epson LQ680Pro) which are feeded with fanfold letter paper (11x8.5in - 792x612pix). The fanfold paper hangs on each other with the larges side (11in) - 90° rotated as by 'normal' paper.
    What we have to do, is rotate (90°) and scale (A4 to letter) our pdf before we can print it correclty.
    I've now fixed it with following commands (because acroread can't rotate, we use pdf90 to rotate our pdf first):
    pdf90 --outfile tmp.pdf report.pdf;
    acroread -toPostScript -size 792x612 -shrink -expand < tmp.pdf | lpr -P Epson_LQ680Pro -o Resolution=180dpi -o PageSize=FanLetter;
    note: the Fanletter papersize is a self-defined papersize in the pdd for the printer.
    Sincerely,
    Wim

  • Rpass - Secure, simple, and pluggable command-line password management

    WARNING: this program requires a python version greater than or equal to 3.
    EDIT: Fixed a bunch of bugs that made this unusable, please update!
    EDIT: Added a default configuration file.
    Hi there!
    rpass is a command-line password manager that encrypts any and all credentials you would like to store using gpg's algorithms.
    Gnome and Mac OS both have a universal credential solution, but to my knowledge there is no such generic linux application. Gnome's keyring code is long and personally, I don't trust it as much as the simple system I have in place in rpass - it is transparent and easy to understand, and any possible security holes would be blatantly visible.
    rpass can be used directly from the commandline, typing your master password (gpg passphrase) in every time, but it really shines when gpg-agent and xclip are installed. gpg-agent saves your passphrase for an interval of time, so you only have to authenticate yourself occaisonally, and the powerful search capabilities of rpass (regex-enabled) allow simple and quick account selection.
    Furthermore, with xclip installed passwords NEVER have to be printed onscreen - the first matching entry's password is automatically copied to the clipboard if a search is done with rpass. You can even run rpass from applications like 'dmenu', and although there will be no visible output, if you enter a search term after rpass you will have the password you wanted copied to your clipboard.
    Finally, it can also be easily integrated in other applications -- I use it for my email (mutt) and any script I write that requires a password.
    AUR Link: http://aur.archlinux.org/packages.php?ID=44788
    More detailed documentation and explanation can be found at: https://github.com/rscare/rpass/blob/ma … E.asciidoc (scroll down)
    or with
    $ man rpass
    after installation.
    git repository: git://github.com/rscare/rpass.git
    Please comment on the software and the documentation. Thank you very much for taking the time to try my software.
    Last edited by RedScare (2010-12-27 07:04:44)

    I'm very interested in this. However... on the initial run, pressing enter causes a crash:
    $ rpass
    Need to first create gpg key pair.
    Choose a secure passphrase -- this is going to be your master password.
    Rerun program after key creation.
    WARNING: DO NOT pick a sign-only key type.
    Press [ENTER] when ready.
    Traceback (most recent call last):
    File "/usr/bin/rpass_py_interface", line 80, in <module>
    input("Press [ENTER] when ready.")
    File "<string>", line 0
    ^
    SyntaxError: unexpected EOF while parsing
    I got around this by entering junk and I made my key. After rerunning rpass with the key generated:
    $ rpass
    Traceback (most recent call last):
    File "/usr/bin/rpass_py_interface", line 84, in <module>
    if not(IsRunning(gpg-agent)):
    File "/usr/lib/python2.7/site-packages/rpass.py", line 24, in IsRunning
    plist = [re.match(ppatt, p.strip()).groups()[0] for p in str(proc.communicate()[0], encoding=utf-8).split(n)[1:-1]]
    TypeError: str() takes at most 1 argument (2 given)
    Looks like rpass expects the gpg-agent to be running when it starts.
    edit: rather, it expects the gpg-agent to be running with the key loaded. gpg-agent was already loaded thanks to keychain but without my newly created key known to it.
    Last edited by falconindy (2010-12-26 03:42:28)

  • Getting and printing command-line arguments

    (char *)curpsinfo->pr_psargs will give me the "first part of the command line",
    but that has two deficiencies:
    1. If the command line is long, it might get truncated.
    2. If the command line contains white space, I have no way to know whether the
    spaces in the string are part of an argument ot separation. That is, I can't tell
    "ls 'foo bar' baz" from "ls foo bar baz"
    I want to get the individual arguments, so that I can print them as run-length encoded strings:
    cmd=7:/bin/ls
    a1=7:foo bar
    a2=3:baz

    I've reworked your script:
    inline int TGT_PID = $1;
    BEGIN { /* 1 */
            printf("BEGIN\n");
            mypids[TGT_PID]++;
    syscall::exece:entry /* 2 */
    /mypids[curpsinfo->pr_ppid] != 0/ {
            self->follow = 1;
    syscall::exece:entry
    /(self->follow != 0) &&
    (this->argp = (uintptr_t)(curpsinfo->pr_dmodel == PR_MODEL_ILP32 ?
        *(uint32_t *)copyin(arg1 + 0 * 4, 4) :
        *(uint64_t *)copyin(arg1 + 0 * 4, 8))) != NULL/
            a1 = copyinstr(this->argp);
            a1_l = strlen(a1);
            printf("a1=%d:%s\n", a1_l, a1);
            this->last = 1;
    syscall::exece:entry
    /(self->follow != 0) && this->last == 1 &&
    (this->argp = (uintptr_t)(curpsinfo->pr_dmodel == PR_MODEL_ILP32 ?
        *(uint32_t *)copyin(arg1 + 1 * 4, 4) :
        *(uint64_t *)copyin(arg1 + 1 * 4, 8))) != NULL/
            a1 = copyinstr(this->argp);
            a1_l = strlen(a1);
            printf("a1=%d:%s\n", a1_l, a1);
            this->last = 2;
    syscall::exece:entry
    /(self->follow != 0) && this->last == 2 &&
    (this->argp = (uintptr_t)(curpsinfo->pr_dmodel == PR_MODEL_ILP32 ?
        *(uint32_t *)copyin(arg1 + 2 * 4, 4) :
        *(uint64_t *)copyin(arg1 + 2 * 4, 8))) != NULL/
            a1 = copyinstr(this->argp);
            a1_l = strlen(a1);
            printf("a1=%d:%s\n", a1_l, a1);
    }The way I debugged this was by figuring out the action that was causing the error by removing actions and then examining its arguments. In this case, you were using the curpsinfo which had the arguments before exece(). You actually wanted to use arg1 as you had before which a char ** NULL-terminated array of arguments.
    Since it's a NULL-terminated list, I added the this->list stuff so I didn't walk off the end of the list.

  • CMake behaves differently from within PKGBUILD and from command line

    Hi,
    I am currently struggling with an issue which I cannot find a solution. The problem is, I am trying to create a PKGBUILD for the CasADi code. The following is the PKGBUILD file written. My problem is the cmake configuration part. When the code is configured from the command line, without PKGBUILD, camke detects the -fopenmp flag for C and C++ compilers. For exactly the same compilers, cmake detects openmp for C compiler but fails to do so for the C++ compiler, when configuration is done from within the PKGBUILD file using makepkg.
    My question is, why different behaviors? Any suggestions on what is wrong?
    pkgname=casadi-git
    pkgver=0
    pkgrel=1
    pkgdesc="A symbolic framework for automatic differentiation and numeric optimization"
    arch=('i686' 'x86_64')
    url=""
    license=('GPL')
    groups=()
    depends=('sundials' 'ipopt' 'blas' 'lapack' 'python2')
    makedepends=('cmake' 'swig')
    checkdepends=()
    optdepends=()
    provides=('casadi')
    conflicts=()
    replaces=()
    backup=()
    options=()
    install=
    changelog=
    source=('casadi::git+https://github.com/casadi/casadi.git')
    md5sums='SKIP'
    build() {
    cd "$srcdir/casadi"
    sed -i 's/PythonLibs/PythonLibs 2.7/g' ./cmake_modules/FindNUMPY.cmake ./swig/CMakeLists.txt
    cmake . -DCMAKE_INSTALL_PREFIX=/usr \
    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
    -DWITH_DL:BOOL=ON \
    -DWITH_LLVM:BOOL=OFF \
    -DWITH_PYTHON_INTERRUPTS:BOOL=ON \
    -DWITH_OPENMP:BOOL=ON \
    -DWITH_OOQP:BOOL=ON \
    -DWITH_DOC:BOOL=ON \
    -DWITH_OPENCL:BOOL=OFF
    make
    package() {
    cd "$srcdir/casadi"
    make DESTDIR="$pkgdir/" install
    Output when cmake is run from command line
    -- The C compiler identification is GNU 4.8.1
    -- The CXX compiler identification is GNU 4.8.1
    -- Check for working C compiler: /usr/bin/colorgcc
    -- Check for working C compiler: /usr/bin/colorgcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- The Fortran compiler identification is GNU
    -- Check for working Fortran compiler: /usr/bin/gfortran
    -- Check for working Fortran compiler: /usr/bin/gfortran -- works
    -- Detecting Fortran compiler ABI info
    -- Detecting Fortran compiler ABI info - done
    -- Checking whether /usr/bin/gfortran supports Fortran 90
    -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
    -- Flag needed for enabling C++11 features: -std=gnu++11
    -- x86_64 architecture detected - setting flag -fPIC
    -- Try OpenMP C flag = [-fopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Success
    -- Try OpenMP CXX flag = [-fopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Success
    -- Found OpenMP: -fopenmp
    -- Looking for Fortran sgemm
    -- Looking for Fortran sgemm - found
    -- Looking for include file pthread.h
    -- Looking for include file pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - found
    -- Found Threads: TRUE
    -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1")
    -- A library with BLAS API found.
    -- Looking for Fortran cheev
    -- Looking for Fortran cheev - found
    -- A library with LAPACK API found.
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
    -- checking for one of the modules 'ipopt'
    -- Detected an IPOPT configuration without development headers. Build will proceed, but without callback functionality. To enable it, see https://github.com/casadi/casadi/wiki/enableIpoptCallback
    -- Detected an IPOPT configuration without sIPOPT headers. Build will proceed, but without sIPOPT functionality.
    -- Found IPOPT: ipopt;lapack;blas;m;dl;coinmumps;pthread;blas;gfortran;m;gcc_s;quadmath;coinmetis
    -- Could not find KNITRO include dir
    -- Could not find KNITRO library
    -- Could not find CPLEX include dir
    -- Could not find CPLEX libraries
    -- Could not find MA57
    -- MA57 libraries not found. Falling back to MA27
    -- Could not find MA27
    -- Could not find OOQP include dir
    -- Could not find SNOPT include dir
    -- Found Snopt libs: /usr/lib64/libf2c.a;/usr/lib64/liblapack.so;/usr/lib64/libblas.so;dl
    -- Could not find MATLAB include dir
    -- Could not find Matlab libs
    -- Could not find SNOPT include dir
    -- Found Snopt libs: /usr/lib64/libf2c.a;/usr/lib64/liblapack.so;/usr/lib64/libblas.so;dl
    -- Could not find MATLAB include dir
    -- Could not find Matlab libs
    -- Found SWIG: /usr/bin/swig (found version "2.0.10")
    -- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.5", minimum required is "2.7")
    -- Python executable is /home/hamid/bin/python
    -- numpy.get_include() is /usr/lib/python2.7/site-packages/numpy/core/include
    -- Numpy path found: /usr/include/python2.7/numpy
    -- Python libs: /usr/lib64/libpython2.7.so
    -- Numpy includes: /usr/include/python2.7/numpy;/usr/include
    -- Numpy libs: /usr/lib64/python2.7/site-packages/numpy/core/multiarray.so
    -- Found PythonInterp: /home/hamid/bin/python (found version "2.7.5")
    -- Found Doxygen: /usr/bin/doxygen (found version "1.8.4")
    -- Found DOXYFILE_IN: /usr/src/AUR/build/casadi/src/casadi/documentation/api-doc/Doxyfile.in
    -- pyreport not found -- try 'easy_install pyreport'
    -- The following features have been enabled:
    * dynamic-loading , Compile with support for dynamic loading of generated functions (needed for ExternalFunction)
    * using-c++11 , Using C++11 features (improves efficiency and is required for some examples).
    * sundials-interface , Interface to the ODE/DAE integrator suite SUNDIALS.
    * csparse-interface , Interface to the sparse direct linear solver CSparse.
    * lapack-interface , Interface to LAPACK.
    * ipopt-interface , Interface to the NLP solver Ipopt.
    * qpoases-interface , Interface to the active-set QP solver qpOASES.
    * dsdp-interface , Interface to the interior point SDP solver DSDP (requires BLAS and LAPACK).
    -- The following OPTIONAL packages have been found:
    * OpenMP
    * LibXml2
    * BLAS
    * Threads
    * LAPACK
    * PkgConfig
    * IPOPT
    * SWIG
    * NUMPY
    * PythonInterp
    * Doxygen
    -- The following features have been disabled:
    * just-in-time , Just-in-time compiliation via the LLVM compiler framework.
    * opencl-support , Enable just-in-time compiliation to CPUs and GPUs with OpenCL.
    * get-ipopt , Download and build Ipopt.
    * knitro-interface , Interface to the NLP solver KNITRO.
    * cplex-interface , Interface to the QP solver CPLEX.
    * ooqp-interface , Interface to the QP solver OOQP (requires BLAS).
    * worhp-inteface , Interface to the NLP solver Worhp (requires LibXml2 headers).
    -- The following OPTIONAL packages have not been found:
    * KNITRO
    * CPLEX
    * MA57
    * MA27
    * OOQP
    * MATLAB
    * OCTAVE
    * LATEX
    * PYREPORT
    -- Configuring done
    -- Generating done
    Output when running makepkg
    -- The C compiler identification is GNU 4.8.1
    -- The CXX compiler identification is GNU 4.8.1
    -- Check for working C compiler: /usr/bin/colorgcc
    -- Check for working C compiler: /usr/bin/colorgcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- The Fortran compiler identification is GNU
    -- Check for working Fortran compiler: /usr/bin/gfortran
    -- Check for working Fortran compiler: /usr/bin/gfortran -- works
    -- Detecting Fortran compiler ABI info
    -- Detecting Fortran compiler ABI info - done
    -- Checking whether /usr/bin/gfortran supports Fortran 90
    -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
    -- Flag needed for enabling C++11 features: -std=gnu++11
    -- x86_64 architecture detected - setting flag -fPIC
    -- Try OpenMP C flag = [-fopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Success
    -- Try OpenMP CXX flag = [-fopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [/openmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-Qopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-openmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [ ]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-xopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [+Oopenmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-qsmp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Try OpenMP CXX flag = [-mp]
    -- Performing Test OpenMP_FLAG_DETECTED
    -- Performing Test OpenMP_FLAG_DETECTED - Failed
    -- Could NOT find OpenMP (missing: OpenMP_CXX_FLAGS)
    -- Looking for Fortran sgemm
    -- Looking for Fortran sgemm - found
    -- Looking for include file pthread.h
    -- Looking for include file pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - not found
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - found
    -- Found Threads: TRUE
    -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1")
    -- A library with BLAS API found.
    -- Looking for Fortran cheev
    -- Looking for Fortran cheev - found
    -- A library with LAPACK API found.
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
    -- checking for one of the modules 'ipopt'
    -- Detected an IPOPT configuration without development headers. Build will proceed, but without callback functionality. To enable it, see https://github.com/casadi/casadi/wiki/enableIpoptCallback
    -- Detected an IPOPT configuration without sIPOPT headers. Build will proceed, but without sIPOPT functionality.
    -- Found IPOPT: ipopt;lapack;blas;m;dl;coinmumps;pthread;blas;gfortran;m;gcc_s;quadmath;coinmetis
    -- Could not find KNITRO include dir
    -- Could not find KNITRO library
    -- Could not find CPLEX include dir
    -- Could not find CPLEX libraries
    -- Could not find MA57
    -- MA57 libraries not found. Falling back to MA27
    -- Could not find MA27
    -- Could not find OOQP include dir
    -- Could not find SNOPT include dir
    -- Found Snopt libs: /usr/lib64/libf2c.a;-lpthread;/usr/lib64/liblapack.so;/usr/lib64/libblas.so;dl
    -- Could not find MATLAB include dir
    -- Could not find Matlab libs
    -- Could not find SNOPT include dir
    -- Found Snopt libs: /usr/lib64/libf2c.a;-lpthread;/usr/lib64/liblapack.so;/usr/lib64/libblas.so;dl
    -- Could not find MATLAB include dir
    -- Could not find Matlab libs
    -- Found SWIG: /usr/bin/swig (found version "2.0.10")
    -- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.5", minimum required is "2.7")
    -- Python executable is /usr/bin/python2
    -- numpy.get_include() is /usr/lib/python2.7/site-packages/numpy/core/include
    -- Numpy path found: /usr/include/python2.7/numpy
    -- Python libs: /usr/lib64/libpython2.7.so
    -- Numpy includes: /usr/include/python2.7/numpy;/usr/include
    -- Numpy libs: /usr/lib64/python2.7/site-packages/numpy/core/multiarray.so
    -- Found PythonInterp: /usr/bin/python2 (found version "2.7.5")
    -- Found Doxygen: /usr/bin/doxygen (found version "1.8.4")
    -- Found DOXYFILE_IN: /usr/src/AUR/build/casadi/src/casadi/documentation/api-doc/Doxyfile.in
    -- pyreport not found -- try 'easy_install pyreport'
    -- The following features have been enabled:
    * dynamic-loading , Compile with support for dynamic loading of generated functions (needed for ExternalFunction)
    * using-c++11 , Using C++11 features (improves efficiency and is required for some examples).
    * sundials-interface , Interface to the ODE/DAE integrator suite SUNDIALS.
    * csparse-interface , Interface to the sparse direct linear solver CSparse.
    * lapack-interface , Interface to LAPACK.
    * ipopt-interface , Interface to the NLP solver Ipopt.
    * qpoases-interface , Interface to the active-set QP solver qpOASES.
    * dsdp-interface , Interface to the interior point SDP solver DSDP (requires BLAS and LAPACK).
    -- The following OPTIONAL packages have been found:
    * LibXml2
    * BLAS
    * Threads
    * LAPACK
    * PkgConfig
    * IPOPT
    * SWIG
    * NUMPY
    * PythonInterp
    * Doxygen
    -- The following features have been disabled:
    * just-in-time , Just-in-time compiliation via the LLVM compiler framework.
    * opencl-support , Enable just-in-time compiliation to CPUs and GPUs with OpenCL.
    * get-ipopt , Download and build Ipopt.
    * knitro-interface , Interface to the NLP solver KNITRO.
    * cplex-interface , Interface to the QP solver CPLEX.
    * ooqp-interface , Interface to the QP solver OOQP (requires BLAS).
    * worhp-inteface , Interface to the NLP solver Worhp (requires LibXml2 headers).
    -- The following OPTIONAL packages have not been found:
    * OpenMP
    * KNITRO
    * CPLEX
    * MA57
    * MA27
    * OOQP
    * MATLAB
    * OCTAVE
    * LATEX
    * PYREPORT
    -- Configuring done
    -- Generating done

    With a little creativity, you can actually do all that from the command line with a single command. It'll look a little crazy, but it can be done.
    Whether the script exists on the local machine or not has zero to do with platform indpendence. You assumedly have to get the application onto the local machine, so including the script is not really an issue at all. However, you're talking about system independence, yet still wishing to run command line arguments? The two are mutually exclusive.

  • Bulk PDF generation using 3-rd party tools and/or command line options

    Good day!
    I have another question:
    Is it possible to automatically convert a pack of Frame Maker books into PDF's using 3-rd party tools or command line options.
    Thank you

    Check out Datazone's DZbatcher available at
    http://www.datazone.com/english/overview/download.html
    This will give you the ability to batch convert FM books to PDFs.

  • SQLPlus and Windows command-line

    Hi,
    From a Windows 2000/2003 box, I have to run a SQLPlus command (looks like "sqlplus /nolog @my_command_file.sql"). In the sql file, I run a "CREATE USER" which fails because, let's say, the default tablespace does not exist. Unfortunately, the .bat file which launches SQLPlus is not aware of this error : ERRORLEVEL is still 0.
    Is there a way I can check wether the SQL command did work ?
    Thanks for your help ...

    WHENEVER SQLERROR EXIT SQL.SQLCODE
    create user ...
    Read:
    Page 446 of:
    SQL*Plus®
    User’s Guide and Reference
    Release 10.1
    Part No. B12170-01
    December 2003

  • Command line parameters and Shell Script -- URGENT

    Hi folks,
    I am facing some problem in the Shell script and the command line parameter.
    The scenario is -- I am picking a file from a directory, whose path is <b>/interfaces/xid/receive/filename.dat</b>
    I have to encrypt filename.dat and move it to another folder, whose path is <b>/interfaces/xid/send</b>. So, the encrypted file will reside in the <b>send</b> directory.
    Now, I don't want to hardcode the new path, where the encrypted file has to be moved. Please let me know how to achieve this. Please consider this as urgent.
    Have a look at the command line in the "before message processing"  -- <b>/interfaces/xid/receive/xi_decompress.sh  /interfaces%F</b>
    Have a look at the shell script for the same --
    #!/bin/sh
    Setup environment variables
    COMMPRESS_DIR=/interfaces/software/commpress
    export COMMPRESS_DIR
    LOG_DIR=/interfaces/software/commpress/log/
    export LOG_DIR
    IN_FILE=$1
    export IN_FILE
    Find the directory where the unencrypted file is deposited
    IN_FILE_DIR=`dirname $1`
    export IN_FILE_DIR
    Make sure the working directory is where the unencrypt.key is...
    cd $COMMPRESS_DIR
    encrypt the file
    if [ `uname` = "HP-UX" ]
    then
       find $IN_FILE | $COMMPRESS_DIR/compx $IN_FILE_DIR logpath=$LOG_DIR
    else
       find $IN_FILE | $COMMPRESS_DIR/compx-sun $IN_FILE_DIR logpath=$LOG_DIR
    fi
    Get the result of the encryption
    RET_CODE=$?
    Check decryption result
    If error (retuen code <> 0), create an error log file in the
    same directory as the input file.
    if [ $RET_CODE -ne 0 ]
    then
        PREFIX="Decryption"
        DATE_TIME=$(date +%Y%m%d_%H%M%S%N)
        SUFFIX="err"
        FILENAME=$/$_$.$
        echo "Decryption Error log"        >$FILENAME
        echo "DATE_TIME:  $"   >>$FILENAME
        echo "DIRECTORY:  $" >>$FILENAME
        echo "FILE:       $"     >>$FILENAME
        echo "ERROR CODE: $"    >>$FILENAME
    fi
    exit $RET_CODE
    What else I need to add in this piece of code? Urgent help !!
    Thanks a lot in advance.
    Neetesh

    Hi Satish,
    I was able to figure that out, that we need to hard code the path as the 2nd parameter.
    But I guess there is a way out in Unix where we can handle this situation, where we are not willing to hard code.
    Anyways, thanks a lot for your input .. -:)
    Cheers,
    Neetesh

  • [SOLVED]problem with Bumblebee and Kernel 3.11-1-2

    Hi!
    I'm having problems with Bumblebee from Kernel 3.10 but I read that Kernel 3.11 solved the problem, I searched and tried possible solutions to my problem unsuccessfully
    The message shows me when I run "optirun":
    [ 5454.262739] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
    [ 5454.262776] [ERROR]Aborting because fallback start is disabled.
    I've tried with wiki's solutions, forums solutions...
    Configurations files:
    /etc/bumblebee/bumblebee.conf:
    # Configuration file for Bumblebee. Values should **not** be put between quotes
    ## Server options. Any change made in this section will need a server restart
    # to take effect.
    [bumblebeed]
    # The secondary Xorg server DISPLAY number
    VirtualDisplay=:8
    # Should the unused Xorg server be kept running? Set this to true if waiting
    # for X to be ready is too long and don't need power management at all.
    KeepUnusedXServer=false
    # The name of the Bumbleblee server group name (GID name)
    ServerGroup=bumblebee
    # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
    # server exits.
    TurnCardOffAtExit=false
    # The default behavior of '-f' option on optirun. If set to "true", '-f' will
    # be ignored.
    NoEcoModeOverride=false
    # The Driver used by Bumblebee server. If this value is not set (or empty),
    # auto-detection is performed. The available drivers are nvidia and nouveau
    # (See also the driver-specific sections below)
    Driver=
    # Directory with a dummy config file to pass as a -configdir to secondary X
    XorgConfDir=/etc/bumblebee/xorg.conf.d
    ## Client options. Will take effect on the next optirun executed.
    [optirun]
    # Acceleration/ rendering bridge, possible values are auto, virtualgl and
    # primus.
    Bridge=virtualgl
    # The method used for VirtualGL to transport frames between X servers.
    # Possible values are proxy, jpeg, rgb, xv and yuv.
    VGLTransport=proxy
    # List of paths which are searched for the primus libGL.so.1 when using
    # the primus bridge
    PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
    # Should the program run under optirun even if Bumblebee server or nvidia card
    # is not available?
    AllowFallbackToIGC=false
    # Driver-specific settings are grouped under [driver-NAME]. The sections are
    # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
    # detection resolves to NAME).
    # PMMethod: method to use for saving power by disabling the nvidia card, valid
    # values are: auto - automatically detect which PM method to use
    # bbswitch - new in BB 3, recommended if available
    # switcheroo - vga_switcheroo method, use at your own risk
    # none - disable PM completely
    # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
    ## Section with nvidia driver specific options, only parsed if Driver=nvidia
    [driver-nvidia]
    # Module name to load, defaults to Driver if empty or unset
    KernelDriver=nvidia
    PMMethod=auto
    # colon-separated path to the nvidia libraries
    LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
    # comma-separated path of the directory containing nvidia_drv.so and the
    # default Xorg modules path
    XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
    XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
    ## Section with nouveau driver specific options, only parsed if Driver=nouveau
    [driver-nouveau]
    KernelDriver=nouveau
    PMMethod=auto
    XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
    /etc/bumblebee/xorg.conf.nvidia
    Section "ServerLayout"
    Identifier "Layout0"
    Option "AutoAddDevices" "false"
    Option "AutoAddGPU" "false"
    EndSection
    Section "Device"
    Identifier "DiscreteNvidia"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    # If the X server does not automatically detect your VGA device,
    # you can manually set it here.
    # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
    # as you see in the commented example.
    # This Setting may be needed in some platforms with more than one
    # nvidia card, which may confuse the proprietary driver (e.g.,
    # trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    BusID "PCI:01:00.0"
    # Setting ProbeAllGpus to false prevents the new proprietary driver
    # instance spawned to try to control the integrated graphics card,
    # which is already being managed outside bumblebee.
    # This option doesn't hurt and it is required on platforms running
    # more than one nvidia graphics card with the proprietary driver.
    # (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
    # If this option is not set, the new Xorg may blacken the screen and
    # render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
    EndSection
    lspci |grep NVIDIA:
    01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 640M] (rev a1)
    I hope can help me
    Thanks!
    Last edited by surrealistic (2013-11-04 18:46:35)

    My /var/log/Xorg.8.log:
    [ 337.161]
    X.Org X Server 1.14.4
    Release Date: 2013-10-31
    [ 337.161] X Protocol Version 11, Revision 0
    [ 337.161] Build Operating System: Linux 3.11.6-1-ARCH x86_64
    [ 337.161] Current Operating System: Linux h131h-laptop 3.11.6-1-ARCH #1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013 x86_64
    [ 337.161] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=4eb69984-2228-4aba-9863-28a7fa854e51 rw quiet
    [ 337.161] Build Date: 01 November 2013 05:10:48PM
    [ 337.161]
    [ 337.161] Current version of pixman: 0.30.2
    [ 337.161] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 337.161] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 337.161] (==) Log file: "/var/log/Xorg.8.log", Time: Mon Nov 4 14:20:04 2013
    [ 337.161] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
    [ 337.161] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
    [ 337.161] (==) ServerLayout "Layout0"
    [ 337.161] (==) No screen section available. Using defaults.
    [ 337.161] (**) |-->Screen "Default Screen Section" (0)
    [ 337.161] (**) | |-->Monitor "<default monitor>"
    [ 337.161] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 337.161] (**) | |-->Device "DiscreteNvidia"
    [ 337.161] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 337.161] (**) Option "AutoAddDevices" "false"
    [ 337.161] (**) Option "AutoAddGPU" "false"
    [ 337.161] (**) Not automatically adding devices
    [ 337.161] (==) Automatically enabling devices
    [ 337.161] (**) Not automatically adding GPU devices
    [ 337.161] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 337.162] Entry deleted from font path.
    [ 337.162] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 337.162] Entry deleted from font path.
    [ 337.162] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 337.162] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 337.162] Entry deleted from font path.
    [ 337.162] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 337.162] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
    [ 337.162] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
    [ 337.162] (==) |-->Input Device "<default pointer>"
    [ 337.162] (==) |-->Input Device "<default keyboard>"
    [ 337.162] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
    [ 337.162] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
    [ 337.162] (II) Loader magic: 0x7fdc20
    [ 337.162] (II) Module ABI versions:
    [ 337.162] X.Org ANSI C Emulation: 0.4
    [ 337.162] X.Org Video Driver: 14.1
    [ 337.162] X.Org XInput driver : 19.1
    [ 337.162] X.Org Server Extension : 7.0
    [ 337.162] (II) xfree86: Adding drm device (/dev/dri/card1)
    [ 337.162] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 337.162] setversion 1.4 failed
    [ 337.163] (--) PCI:*(0:1:0:0) 10de:0fd2:1025:0648 rev 161, Mem @ 0xb2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00002000/128
    [ 337.163] Initializing built-in extension Generic Event Extension
    [ 337.163] Initializing built-in extension SHAPE
    [ 337.163] Initializing built-in extension MIT-SHM
    [ 337.163] Initializing built-in extension XInputExtension
    [ 337.163] Initializing built-in extension XTEST
    [ 337.163] Initializing built-in extension BIG-REQUESTS
    [ 337.163] Initializing built-in extension SYNC
    [ 337.163] Initializing built-in extension XKEYBOARD
    [ 337.163] Initializing built-in extension XC-MISC
    [ 337.163] Initializing built-in extension SECURITY
    [ 337.163] Initializing built-in extension XINERAMA
    [ 337.163] Initializing built-in extension XFIXES
    [ 337.163] Initializing built-in extension RENDER
    [ 337.163] Initializing built-in extension RANDR
    [ 337.164] Initializing built-in extension COMPOSITE
    [ 337.164] Initializing built-in extension DAMAGE
    [ 337.164] Initializing built-in extension MIT-SCREEN-SAVER
    [ 337.164] Initializing built-in extension DOUBLE-BUFFER
    [ 337.164] Initializing built-in extension RECORD
    [ 337.164] Initializing built-in extension DPMS
    [ 337.164] Initializing built-in extension X-Resource
    [ 337.164] Initializing built-in extension XVideo
    [ 337.164] Initializing built-in extension XVideo-MotionCompensation
    [ 337.164] Initializing built-in extension XFree86-VidModeExtension
    [ 337.164] Initializing built-in extension XFree86-DGA
    [ 337.164] Initializing built-in extension XFree86-DRI
    [ 337.164] Initializing built-in extension DRI2
    [ 337.164] (II) LoadModule: "glx"
    [ 337.164] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
    [ 337.172] (II) Module glx: vendor="NVIDIA Corporation"
    [ 337.172] compiled for 4.0.2, module version = 1.0.0
    [ 337.172] Module class: X.Org Server Extension
    [ 337.172] (II) NVIDIA GLX Module 325.15 Wed Jul 31 18:12:00 PDT 2013
    [ 337.172] Loading extension GLX
    [ 337.172] (II) LoadModule: "nvidia"
    [ 337.172] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 337.172] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 337.172] compiled for 4.0.2, module version = 1.0.0
    [ 337.172] Module class: X.Org Video Driver
    [ 337.172] (II) LoadModule: "mouse"
    [ 337.172] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
    [ 337.172] (II) Module mouse: vendor="X.Org Foundation"
    [ 337.172] compiled for 1.14.0, module version = 1.9.0
    [ 337.172] Module class: X.Org XInput Driver
    [ 337.172] ABI class: X.Org XInput driver, version 19.1
    [ 337.172] (II) LoadModule: "kbd"
    [ 337.173] (WW) Warning, couldn't open module kbd
    [ 337.173] (II) UnloadModule: "kbd"
    [ 337.173] (II) Unloading kbd
    [ 337.173] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 337.173] (II) NVIDIA dlloader X Driver 325.15 Wed Jul 31 17:50:57 PDT 2013
    [ 337.173] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 337.173] (--) using VT number 1
    [ 337.173] (II) Loading sub module "fb"
    [ 337.173] (II) LoadModule: "fb"
    [ 337.173] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 337.173] (II) Module fb: vendor="X.Org Foundation"
    [ 337.173] compiled for 1.14.4, module version = 1.0.0
    [ 337.173] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 337.173] (WW) Unresolved symbol: fbGetGCPrivateKey
    [ 337.173] (II) Loading sub module "wfb"
    [ 337.173] (II) LoadModule: "wfb"
    [ 337.173] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 337.173] (II) Module wfb: vendor="X.Org Foundation"
    [ 337.173] compiled for 1.14.4, module version = 1.0.0
    [ 337.173] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 337.173] (II) Loading sub module "shadow"
    [ 337.173] (II) LoadModule: "shadow"
    [ 337.173] (II) Loading /usr/lib/xorg/modules/libshadow.so
    [ 337.173] (II) Module shadow: vendor="X.Org Foundation"
    [ 337.173] compiled for 1.14.4, module version = 1.1.0
    [ 337.173] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 337.173] (II) Loading sub module "ramdac"
    [ 337.173] (II) LoadModule: "ramdac"
    [ 337.173] (II) Module "ramdac" already built-in
    [ 337.174] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 337.174] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 337.174] (==) NVIDIA(0): RGB weight 888
    [ 337.174] (==) NVIDIA(0): Default visual is TrueColor
    [ 337.174] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 337.174] (**) NVIDIA(0): Option "NoLogo" "true"
    [ 337.174] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
    [ 337.174] (**) NVIDIA(0): Option "UseEDID" "false"
    [ 337.174] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
    [ 337.174] (**) NVIDIA(0): Enabling 2D acceleration
    [ 337.174] (**) NVIDIA(0): Ignoring EDIDs
    [ 337.174] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
    [ 337.174] (**) NVIDIA(0): mode
    [ 341.309] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
    [ 341.309] (EE) NVIDIA(0): check your system's kernel log for additional error
    [ 341.309] (EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
    [ 341.309] (EE) NVIDIA(0): README for additional information.
    [ 341.309] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
    [ 341.309] (EE) NVIDIA(0): Failing initialization of X screen 0
    [ 341.309] (II) UnloadModule: "nvidia"
    [ 341.309] (II) UnloadSubModule: "shadow"
    [ 341.309] (II) UnloadSubModule: "wfb"
    [ 341.309] (II) UnloadSubModule: "fb"
    [ 341.309] (EE) Screen(s) found, but none have a usable configuration.
    [ 341.309] (EE)
    Fatal server error:
    [ 341.309] (EE) no screens found(EE)
    [ 341.309] (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 341.309] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
    [ 341.309] (EE)
    [ 341.309] (EE) Server terminated with error (1). Closing log file.
    dmesg |grep bbswitch:
    [ 13.570577] bbswitch: version 0.7
    [ 13.570585] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
    [ 13.570591] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
    [ 13.570687] bbswitch: detected an Optimus _DSM function
    [ 13.570741] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
    [ 13.572354] bbswitch: disabling discrete graphics
    [ 261.419114] bbswitch: enabling discrete graphics
    [ 278.445698] bbswitch: disabling discrete graphics
    [ 279.055257] bbswitch: enabling discrete graphics
    [ 286.292315] bbswitch: disabling discrete graphics
    [ 291.911052] bbswitch: enabling discrete graphics
    [ 310.011289] bbswitch: disabling discrete graphics
    [ 336.982794] bbswitch: enabling discrete graphics
    [ 349.526470] bbswitch: enabling discrete graphics
    I used "rcutree" option as shown in the post that you put, but I've deleted all changes made to use default configurations, because the solution of the post didn't work

  • Nvidia is not working after upgrading nvidia driver and kernel

    I upgraded nvidia driver and kernel. After rebooting graphic mode is not working. Here xorg.o.log
    [ 281.180]
    This is a pre-release version of the X server from The X.Org Foundation.
    It is not supported in any way.
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
    Select the "xorg" product for bugs you find in this release.
    Before reporting bugs in pre-release versions please check the
    latest version in the X.Org Foundation git repository.
    See http://wiki.x.org/wiki/GitPage for git access instructions.
    [ 281.181]
    X.Org X Server 1.10.0.902 (1.10.1 RC 2)
    Release Date: 2011-04-08
    [ 281.181] X Protocol Version 11, Revision 0
    [ 281.181] Build Operating System: Linux 2.6.38-ARCH i686
    [ 281.181] Current Operating System: Linux localhost 2.6.38-ARCH #1 SMP PREEMPT Wed Mar 30 07:14:27 UTC 2011 i686
    [ 281.181] Kernel command line: BOOT_IMAGE=/boot/vmlinuz26 root=/dev/disk/by-uuid/b766e332-2aad-4047-8562-567180150189 ro quiet
    [ 281.182] Build Date: 11 April 2011 10:49:12AM
    [ 281.182]
    [ 281.182] Current version of pixman: 0.20.2
    [ 281.182] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 281.182] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 281.183] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 14 17:11:37 2011
    [ 281.183] (==) Using config file: "/etc/X11/xorg.conf"
    [ 281.183] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 281.183] (==) ServerLayout "Layout0"
    [ 281.183] (**) |-->Screen "Screen0" (0)
    [ 281.183] (**) | |-->Monitor "Monitor0"
    [ 281.184] (**) | |-->Device "Videocard0"
    [ 281.184] (**) |-->Input Device "Keyboard0"
    [ 281.184] (**) |-->Input Device "Mouse0"
    [ 281.184] (**) Option "Xinerama" "0"
    [ 281.184] (==) Automatically adding devices
    [ 281.184] (==) Automatically enabling devices
    [ 281.184] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 281.184] Entry deleted from font path.
    [ 281.184] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
    [ 281.184] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 281.184] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
    [ 281.184] (WW) Disabling Keyboard0
    [ 281.184] (WW) Disabling Mouse0
    [ 281.184] (II) Loader magic: 0x822e120
    [ 281.184] (II) Module ABI versions:
    [ 281.184] X.Org ANSI C Emulation: 0.4
    [ 281.184] X.Org Video Driver: 10.0
    [ 281.184] X.Org XInput driver : 12.2
    [ 281.184] X.Org Server Extension : 5.0
    [ 281.185] (--) PCI:*(0:1:0:0) 10de:0322:0000:0000 rev 161, Mem @ 0xfd000000/16777216, 0xe8000000/134217728, BIOS @ 0x????????/131072
    [ 281.185] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 281.185] (II) LoadModule: "extmod"
    [ 281.185] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 281.185] (II) Module extmod: vendor="X.Org Foundation"
    [ 281.185] compiled for 1.10.0.902, module version = 1.0.0
    [ 281.185] Module class: X.Org Server Extension
    [ 281.185] ABI class: X.Org Server Extension, version 5.0
    [ 281.185] (II) Loading extension MIT-SCREEN-SAVER
    [ 281.185] (II) Loading extension XFree86-VidModeExtension
    [ 281.185] (II) Loading extension XFree86-DGA
    [ 281.185] (II) Loading extension DPMS
    [ 281.185] (II) Loading extension XVideo
    [ 281.185] (II) Loading extension XVideo-MotionCompensation
    [ 281.185] (II) Loading extension X-Resource
    [ 281.185] (II) LoadModule: "dbe"
    [ 281.185] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 281.185] (II) Module dbe: vendor="X.Org Foundation"
    [ 281.185] compiled for 1.10.0.902, module version = 1.0.0
    [ 281.185] Module class: X.Org Server Extension
    [ 281.185] ABI class: X.Org Server Extension, version 5.0
    [ 281.185] (II) Loading extension DOUBLE-BUFFER
    [ 281.185] (II) LoadModule: "glx"
    [ 281.186] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 281.216] (II) Module glx: vendor="NVIDIA Corporation"
    [ 281.217] compiled for 4.0.2, module version = 1.0.0
    [ 281.217] Module class: X.Org Server Extension
    [ 281.217] (II) NVIDIA GLX Module 173.14.28 Wed Sep 29 10:17:05 PDT 2010
    [ 281.217] (II) Loading extension GLX
    [ 281.217] (II) LoadModule: "record"
    [ 281.217] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 281.217] (II) Module record: vendor="X.Org Foundation"
    [ 281.217] compiled for 1.10.0.902, module version = 1.13.0
    [ 281.217] Module class: X.Org Server Extension
    [ 281.217] ABI class: X.Org Server Extension, version 5.0
    [ 281.217] (II) Loading extension RECORD
    [ 281.217] (II) LoadModule: "dri"
    [ 281.217] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 281.217] (II) Module dri: vendor="X.Org Foundation"
    [ 281.217] compiled for 1.10.0.902, module version = 1.0.0
    [ 281.217] ABI class: X.Org Server Extension, version 5.0
    [ 281.217] (II) Loading extension XFree86-DRI
    [ 281.217] (II) LoadModule: "dri2"
    [ 281.217] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 281.218] (II) Module dri2: vendor="X.Org Foundation"
    [ 281.218] compiled for 1.10.0.902, module version = 1.2.0
    [ 281.218] ABI class: X.Org Server Extension, version 5.0
    [ 281.218] (II) Loading extension DRI2
    [ 281.218] (II) LoadModule: "nvidia"
    [ 281.218] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 281.218] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 281.218] compiled for 4.0.2, module version = 1.0.0
    [ 281.218] Module class: X.Org Video Driver
    [ 281.218] ================ WARNING WARNING WARNING WARNING ================
    [ 281.219] This server has a video driver ABI version of 10.0 that is not
    supported by this NVIDIA driver. Please check
    http://www.nvidia.com/ for driver updates or downgrade to an X
    server with a supported driver ABI.
    [ 281.219] =================================================================
    [ 281.219] (II) NVIDIA dlloader X Driver 173.14.28 Wed Sep 29 09:55:18 PDT 2010
    [ 281.219] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 281.219] (--) using VT number 7
    [ 281.222] (II) Loading sub module "fb"
    [ 281.222] (II) LoadModule: "fb"
    [ 281.222] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 281.222] (II) Module fb: vendor="X.Org Foundation"
    [ 281.222] compiled for 1.10.0.902, module version = 1.0.0
    [ 281.222] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 281.222] (II) Loading sub module "wfb"
    [ 281.222] (II) LoadModule: "wfb"
    [ 281.222] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 281.223] (II) Module wfb: vendor="X.Org Foundation"
    [ 281.223] compiled for 1.10.0.902, module version = 1.0.0
    [ 281.223] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 281.223] (II) Loading sub module "ramdac"
    [ 281.223] (II) LoadModule: "ramdac"
    [ 281.223] (II) Module "ramdac" already built-in
    [ 281.223] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 281.226] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 281.226] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 281.226] (II) UnloadModule: "nvidia"
    [ 281.226] (II) Unloading nvidia
    [ 281.226] (II) UnloadModule: "wfb"
    [ 281.226] (II) Unloading wfb
    [ 281.226] (II) UnloadModule: "fb"
    [ 281.226] (II) Unloading fb
    [ 281.226] (EE) Screen(s) found, but none have a usable configuration.
    [ 281.226]
    Fatal server error:
    [ 281.226] no screens found
    [ 281.226]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 281.226] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 281.226]

    bilgee0629 wrote:
    Arjann wrote:
    I think the new xorg-server is the problem as it isn't supported by this nvidia driver yet.
    You could try to install the nouveau driver until nvidia comes with a new version of the 173 branch that supports xorg-server 1.10, see: https://wiki.archlinux.org/index.php/Nouveau for information. As lower-grade options, you might also consider xf86-video-nv and xf86-video-vesa.
    Should i uninstall nvidia driver, then install it?
    I think thats the easy way yes, else you have to blacklist the nvidia kernel module.. check the wiki link of nouveau for details.

  • How to upde userid to uid=0 using command line?

    Hi all,
    I made a new user "sysadmin" by typing at root command line:
    # useradd sysadmin (all default profile values)
    What is the command (line) to update its UID to "0"?
    Thanks you very much in advance.
    Ms KK

    In general, having multiple accounts with the same UID is a bad idea. To have
    multiple "root" accounts is very, very bad idea.
    If you need an ordinary mortal user to be able to execute privileged commands,
    set up the sudo(1) facility. This will let you grant permission with a fine
    level of control about exactly which program or command is being used. As a
    bonus, you will get an audit trail of who did what as whom.
    The great thing about sudo(1) is that you can grant root privilege without
    having to give out root's password.
    Now, assume you make duplicate "root" accounts. You get offered a better job
    and leave. The new sysadmin will need careful briefing before doing anything.
    This will create a major maintainability issue long term.
    If you want another root user for disaster recovery or losing the password,
    there are better alternatives such as:
    -- Reboot the system using rescue mode from the installation disks.
    -- Boot into single-user mode by interrupting the GRUB install sequence and appending "s" to the kernel command line.
    -- Boot into an interactive shell by appending the "init=/bin/bash" clause using the same technique.
    These are some of the known, common, best practice methods of handling this
    situation. A custom solution here could be quite dangerous and hard to maintain
    in the long run.
    Please don't.

Maybe you are looking for

  • Edit images in Adobe Photoshop Elements

    I am helping a student who is running iPhoto on Maverick.  He wants to edit his images in Photoshop Elements.  We set his preferences to do this but when he selects an image and clicks on Edit, all he gets is the welcome page of Photoshop Elements. 

  • Error in Purchasing Document Open Interface POXPOPDOI

    Dear Gurus, I am trying to uplod Complex Purchase Orders in Oracle EBS R 12.1.2 The PO_INTERFACE_ERRORS table is populated with the following message: STYLE_ID     Error: Style (STYLE_ID = 103) with progress payments is not supported. We have checked

  • Error in submiting request set from Daily Business Intelligence Administrat

    I am getting the following error when submitting "ADS Incremental Financials Request Group" request set from "Daily Business Intelligence Administrator" responsibility in vision R12 instance : APP-FND-01564: ORACLE error -1116 in SUBMIT: others Cause

  • How to Implement User Area in Oracle Forms 6i

    Hi, Could anyone please let me know how to implement Item Type *"User Area"* ? How to add User Area in layout Editor?, Thanks and Regards, Manasa

  • Documents needed for Process chains

    Hi all,         Can any one provide the documents for PC.I know creating PC. But what type of errors that will come while running the pc? how to solve that errors/ Thanks Sinha