ProC inconsistency in SHells

Hi Friends
I have written a pro*c in which I am executing an OS (UNIX) command
using system() built-in. The code looks like this.....
system("unix_cmd 2>error.log");
This means I am redirecting the errors of unix_cmd to 'error.log' file.
Depending on the contents of 'error.log' file, I will take some decision
in my program.
All works fine if my pro*c executable is running in Korn shell (ksh),
and I am getting the 'error.log' file whenever expected. But if my pro*c
runs in Bourne shell (sh), 'error.log' file is not getting generated
inspite of failure of 'unix_cmd'. The problem is, I cannot control in
which shell pro*c executable will run. I guess it is decided by OS at
the time of execution, so my pro*c randomly gets executed in either
'ksh' or 'sh'.
How do I execute this now ?
Thanks
Ashwin N.

Hellow !
Can't You do like this:
system("ksh unix_cmd 2>error.log");
path of ksh must be defined in PATH-environment variable
Greetings
Ari

Similar Messages

  • DB2 UDB 9.1 on z/OS to Oracle 11.2 on AIX

    Dear All,
    Need a road map for migration of DB2 UDB 9.1 on z/OS to Oracle 11.2 on AIX. It isn't a data migration, It is all about the application migration which would include DB2 UDB's - Table(Just the master data alone and will not include application data), Views, Procedures (Cobol 390 - code) , Batch jobs to Oracle 11.2.
    Current i dint find any tool which supports DB2 UDB 9.1 on z/OS to Oracle 11.2. The db2 code is huge(More than 100 Procedures and some 25 Procedure are atleast of 25000 lines of code each). It's a huge application.
    Tools which i have analyzed
    SQL Developer / Oracle Work Bench - Doesn't support DB2 UDB 9.1 on z/OS.
    If i have nothing left, i will be forced to re-write the entire application in plsql. If that is the case will the Cobol 390 (Batch Jobs) would be converted into Proc C* or Shell Scripting in AIX ?
    Let me know if any tool is avaliable to convert DB2 UDB/Cobol-390 into plsql. Please let me know the best way to migrate.
    Regards
    V.Hari

    Unfortunately there are not too much options, even if this was on the same AIX platform, there are several problems when upgrading from 8iR3 to 10gR2, first, 8i is not supported on the 5L AIX version, so you must make several work around for the upgrade process to work.
    As previously directed the only possible way is to perform an export/import. You only have to make sure that roles such as CONNECT have changed and you must provide required user privileges. Do not blindly perform this migration process. I suggest you to read the Oracle 10g new features reference to look for all possible issues you may find.
    Additionally I suggest you to setup a test environment where you can see if your application works as it is currently working on 8i.
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm
    ~ Madrid.

  • Error while Shell executing from Oracle Using java proc

    Hi All,
    After a long time I'm here again.
    I'm facing one strange problem.
    SQL>
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    Elapsed: 00:00:00.01
    SQL>
    SQL>And, the purpose of this procedure is to execute shell command from PL/SQL application.
    It seems that this procedure is able to execute shell commands like *'pwd'*.
    But, when it comes to other commands like *'ls -lrt'* or *'sqlldr'* it throws error.
    Kindly find the following details -
    SQL> declare
      2    err_cd   number;
      3    err_desc varchar2(500);
      4  begin
      5   dbms_java.set_output(1000000);
      6   host(p_command => '/a/mis/Sqlloader_script/loader_command/ST_det.sh');
      7   dbms_output.put_line('Successfully Executed SQL Loader Command');
      8  exception
      9      when others then
    10        err_cd := 1;
    11        err_desc := substr(sqlerrm,1,500);
    12        dbms_output.put_line(err_desc);
    13  end;
    14  /
    Process err :/a/mis/Sqlloader_script/loader_command/ST_det.sh: line 19: sqlldr: No such file or directory
    Successfully Executed SQL Loader Command
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.11
    SQL>
    SQL> declare
      2    err_cd   number;
      3    err_desc varchar2(500);
      4  begin
      5   dbms_java.set_output(1000000);
      6   host(p_command => 'pwd');
      7   dbms_output.put_line('Successfully Executed SQL Loader Command');
      8  exception
      9      when others then
    10        err_cd := 1;
    11        err_desc := substr(sqlerrm,1,500);
    12        dbms_output.put_line(err_desc);
    13  end;
    14  /
    Process out :/home/oracle/app/oracle/product/11.2.0/dbhome_1/dbs
    Successfully Executed SQL Loader Command
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.11
    SQL>But, the file exists in the following path -
    SQL> !ls -lrt /a/mis/Sqlloader_script/loader_command/ST_det.sh
    -rwxrwxr-x 1 oracle root 1315 Apr 13 13:40 /a/mis/Sqlloader_script/loader_command/ST_det.shAny idea?
    Where is the privileges that i need to give to the current user?
    When i directly execute the Sql Loader from the oracle o/s - it ran successfully.
    [oracle@pult loader_command]$ /a/mis/Sqlloader_script/loader_command/ST_det.sh
    SQL*Loader: Release 11.2.0.1.0 - Production on Fri Apr 13 14:59:19 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Commit point reached - logical record count 64
    Commit point reached - logical record count 128
    Commit point reached - logical record count 192
    Commit point reached - logical record count 256
    Commit point reached - logical record count 320
    Commit point reached - logical record count 384
    Commit point reached - logical record count 448
    Commit point reached - logical record count 512
    Commit point reached - logical record count 576
    Commit point reached - logical record count 640
    Commit point reached - logical record count 704
    Commit point reached - logical record count 732
    Succesful execution of Loading.
    [oracle@pult loader_command]$
    [oracle@pult loader_command]$Thanks in advance.

    This is a generic java proc.
    It works well with windows.
    But, facing this problem in Linux.
    Procedure looks like -
    create or replace and compile java source named host as
    import java.io.*;
    public class Host {
      public static void executeCommand(String command) {
        try {
          String[] finalCommand;
          if (isWindows()) {
            finalCommand = new String[4];
            finalCommand[0] = "C:\\windows\\system32\\cmd.exe";  // Windows XP/2003
            finalCommand[1] = "/y";
            finalCommand[2] = "/c";
            finalCommand[3] = command;
          else {
            finalCommand = new String[3];
            finalCommand[0] = "/bin/bash";
            finalCommand[1] = "-c";
            finalCommand[2] = command;
          final Process pr = Runtime.getRuntime().exec(finalCommand);
          pr.waitFor();
          new Thread(new Runnable(){
            public void run() {
              BufferedReader br_in = null;
              try {
                br_in = new BufferedReader(new InputStreamReader(pr.getInputStream()));
                String buff = null;
                while ((buff = br_in.readLine()) != null) {
                  System.out.println("Process out :" + buff);
                  try {Thread.sleep(100); } catch(Exception e) {}
                br_in.close();
              catch (IOException ioe) {
                System.out.println("Failed to print.");
                ioe.printStackTrace();
              finally {
                try {
                  br_in.close();
                } catch (Exception ex) {}
          }).start();
          new Thread(new Runnable(){
            public void run() {
              BufferedReader br_err = null;
              try {
                br_err = new BufferedReader(new InputStreamReader(pr.getErrorStream()));
                String buff = null;
                while ((buff = br_err.readLine()) != null) {
                  System.out.println("Process err :" + buff);
                  try {Thread.sleep(100); } catch(Exception e) {}
                br_err.close();
              catch (IOException ioe) {
                System.out.println("Process error.");
                ioe.printStackTrace();
              finally {
                try {
                  br_err.close();
                } catch (Exception ex) {}
          }).start();
        catch (Exception ex) {
          System.out.println(ex.getLocalizedMessage());
      public static boolean isWindows() {
        if (System.getProperty("os.name").toLowerCase().indexOf("windows") != -1)
          return true;
        else
          return false;
    };Looking for your reply.

  • Calling a shell scipt from proc

    Hi, I have this proc
    #include <stdio.h>
    #include <atmi.h>
    #include "Funciones.h"
    EXEC SQL include sqlca.h;
    EXEC SQL BEGIN DECLARE SECTION;
    varchar connect_string[40];
    varchar MensajeError[500];
    varchar sentenciaSQL[1000];
    varchar IDPeticion[23];
    varchar codServicio[8];
    varchar errorOracle[400];
    varchar errorMadrid[400];
    varchar errorPatron[400];
    int retorno = 0;
    EXEC SQL END DECLARE SECTION;
    int errorSQL;
    ** Procedimiento sqlerror                                   **
    void sqlerror()
         printf("Error SQL: %s\n", sqlca.sqlerrm.sqlerrmc);
         printf("Codigo de error SQL: %d\n", sqlca.sqlcode);
         errorSQL = 1;
         tpterm();
         exit(1);
    ** Procedimiento sqlerror_no_registro                              **
    void sqlerror_no_registro()
         errorSQL = 1;
    ** Procedimiento Catcher                                   **
    void Catcher(int *reglist)
         printf("Capturada la se�al de stop\n");
         EXEC SQL ROLLBACK WORK RELEASE;
         tpterm();
         exit(1);
    ** Programa principal                                        **
    int main(int argc,char *argv[])
         char traza[10];
         signal(SIGTERM, (fptr)Catcher);
         signal(SIGKILL, (fptr)Catcher);
         signal(SIGINT, (fptr)Catcher);
         if (argc < 2)
              printf("ReglasUsuario #Cadena de conexion #S/N(Colocar trazas)\n");
              return 1;
         strcpy(connect_string.arr, argv[1]);
         connect_string.len = (unsigned short)strlen(connect_string.arr);
         strcpy(traza, "N");
         if (argc == 3)
              strcpy(traza, argv[2]);
         if (tpinit((TPINIT *) NULL) == -1)
              tpterm();
              return 1;
         EXEC SQL WHENEVER SQLERROR DO sqlerror();
         EXEC SQL WHENEVER NOT FOUND DO sqlerror_no_registro();
         EXEC SQL CONNECT :connect_string;
    if (traza[0] == 'S')
         EXEC SQL ALTER SESSION SET SQL_TRACE = TRUE;
         strcpy(sentenciaSQL.arr, "select id_peticion, tpe_serv_id, nvl(tpe_error_oracle, ' '), nvl(tpe_error_madrid, ' '), tse_err ");
         strcat(sentenciaSQL.arr, "from ta_tx_ga_peticion, ta_tx_serv_err ");
         strcat(sentenciaSQL.arr, "where tpe_serv_id = tse_codserv ");
         strcat(sentenciaSQL.arr, "and (tpe_error_oracle is not null or tpe_error_madrid is not null) ");
         strcat(sentenciaSQL.arr, "and (tpe_error_oracle like tse_err or tpe_error_madrid like tse_err) ");
    /*     strcat(sentenciaSQL.arr, "and tpe_fecha_solicitud >= tse_fecha ");*/
         strcat(sentenciaSQL.arr, "order by id_peticion");
         sentenciaSQL.len = strlen(sentenciaSQL.arr);
         EXEC SQL PREPARE sentenciaConsulta FROM :sentenciaSQL;
         EXEC SQL DECLARE cursorAlarma CURSOR FOR sentenciaConsulta;
         EXEC SQL OPEN cursorAlarma;
         errorSQL = 0;
         while (errorSQL == 0)
              EXEC SQL FETCH cursorAlarma INTO :IDPeticion, :codServicio, :errorOracle, :errorMadrid, :errorPatron;
              if (errorSQL != 0)
                   break;
              printf("%s %s\n", IDPeticion.arr, codServicio.arr);
    --          /* SE INVOCA AL AVIS.SH */
    EXEC /export/home/operador/alarmas/avis.sh ;
              EXEC SQL EXECUTE
                   BEGIN
                        update ta_tx_serv_err
                        set tse_fecha = sysdate
                        where tse_codserv = :codServicio;
                   END;
              END-EXEC;
              EXEC SQL COMMIT WORK;
         EXEC SQL CLOSE cursorAlarma;
         tpterm();
         exit(0);
    how can I call a shell avis.sh who has 4 parameter?

    Actually I am having 4 Shell Scripts which I want to
    call at a time.
    1)run_graph.sh
    2)run_report.sh
    3)web_report.sh
    4)mktg_report.sh
    Now I want to call all the four from a Java Program at
    the same timeWell... if you truly want to run them at the same time, you'll need to look into multithreading.
    What I suspect you really want is to run them in the above order within the same Java program.
    String pathToScripts = "/etc/path/to/your/scripts/";
    String[] scripts = {"run_graph.sh", "run_report.sh", "web_report.sh", "mktg_report.sh"};
    Process p = null;
    for (int i=0; i<scripts.length; i++){
        p = Runtime.getRuntime().exec(pathToScripts + scripts);
    p.waitFor();
    System.out.println(scripts[i] + " completed with exit code " + p.exitValue());
    If you want to capture output or send input for the above processes, see the java.lang.Process and java.lang.Runtime API docs:
    http://java.sun.com/j2se/1.3/docs/api/java/lang/Runtime.html
    http://java.sun.com/j2se/1.3/docs/api/java/lang/Process.html
    Hope this helps,
    -Scott

  • Stored Proc Execution through OS command using shell script

    Hi All,
    I have a requirement of executing one stored procedure before putting data in Table through JDBC adaptor and two stored procedures after that.
    I was thinking to write a shell script and execute it before and after message processing in adaptor.
    Can anybody please tell me how should i write a shell script for it?
    I have identified that exec <Stored_Proc_Name> is the syntax for it.
    Will i need to write something more in this script?
    Thanks,
    Atul

    Hi Atul,
    Stored procedures are written on the Database server for which you are going to write JDBC adapter.
    you will just call the storedprocedure in to your adapter.
    as per your requirement you shd run one stored procedure (let us say SP1) and then you have to push data into tables and then run SP2 and SP3...
    so for this write three stored procedures and call them into another SP. in this SP you call SP1 first then insert statement to insert data into tables and then SP2 and SP3.
    finally call SP into your JDBC adapter.
    you can call SP1 in SP as below
    Var_SQL :='call SP1 (''' || Var_1 || ''',''' || Var_2 ||''')' ;
    EXECUTE IMMEDIATE Var_SQL;
    i think for this shell script is not required.. correct me if i am wrong...
    Regards,
    Sukarna.

  • Cannot proces shell variable

    Hi All,
    I am trying to write a BASH shell script, where I need to process the value of a database column. I am having trouble processing this value, and would like to know what your thoughts are. The part of the script I am having difficulty with has been isolated, and is presented below:
    [oracle@oelvm03 bin]$ cat Problem.sh
    #!/bin/bash
    export ORACLE_SID=ORCL
    export ORAENV_ASK=NO
    export PATH=/usr/local/bin:$PATH
    . oraenv
    LOG_MODE=`sqlplus -s / as sysdba <<  EOF
    set heading off
    select log_mode from v\\$database;
    exit;
    EOF`
    echo $LOG_MODE
    case $LOG_MODE in
    NOARCHIVELOG)
      echo In NOARCHIVELOG Mode.
    ARCHIVELOG)
      echo In ARCHIVELOG mode.
    MANUAL)
      echo Manual Archiving.
      echo Oops - Don\'t know what this mode is - ~$LOG_MODE~
    esac
    echo Finished!
    [oracle@oelvm03 bin]$ Problem.sh
    The Oracle base for ORACLE_HOME=/opt/oracle/app/oracle/product/11.2.0/dbhome_1 is /opt/oracle/app/oracle
    ARCHIVELOG
    Oops - Don't know what this mode is - ~ ARCHIVELOG~
    Finished!
    [oracle@oelvm03 bin]$The script is running on Oracle Enterprise Linux, against an Oracle 11gR2 database.
    The problem is that the value of the LOG_MODE variable is not being processed correctly by the case statement. Examining the error message shows that there appears to be a leading space before the value
    ~ ARCHIVELOG~
    I have tried desperately, in other scripts, to isolate the value and get the case to respond appropriately, but without any success.
    Does anybody have any ideas on what I am doing wrong??

    It will work in this case, but I would generally not use this approach. Please see below:
    var="This v$log"
    var=`echo $var`
    echo $var
    This vUsing "set pages 0 feed off" will not cause such problems and suppress control characters, feedback and other headers that you don't want when putting the output of a sql statement into a variable.

  • Delivered UI Shell? Inconsistent with Beta Guide

    Hi All,
    I have found a BETA guide that discusses a UI Shell -- http://www.orastudy.com/oradoc/selfstu/fusion/doc.1111/e15524/ui_impl_uishell.htm.
    Can't seem to see this in the various versions of Jdev that I have 11.1.4 thru to 1.2
    I have tried for new updates etc, and I still only have the dynamic shell template.
    Any clues or has this yet to be officially released?
    Cheers,
    Simo

    Hi Frank, thanks for the clarification!
    I guess that was a little easy...I am tipping that this MAY be a UI shell issue that I am currently experiencing ;-) and hoping that you could shed some light.
    The use case is that I have implemented a version of the dynamic tabs with this shell as decribed in 'Oracle Design Patterns' best practice. http://www.oracle.com/technetwork/developer-tools/adf/uishell-093084.html.
    Within this, I am using a pageFlowScoped bean to hold the state for a dynamic dashbaord for various bounded task flows (as launched within the shell). I have defined the bean on the called task flow and not in the adfc-config, as I am looking to control multiple instances of these dashboards, and use the page flow to keep the state for the life of the task flow.
    All is fine, until I refer to or display fields from a tree binding.... ie presenting a read only table or referring to this in EL. When I close a workflow and reopen, using the tab.context launcher, an error is raised: target unreachable, where the bean that I use to controll the dashboard state cannot be found. It seems as if the page is looking for an existing bean, rather than creating a new one with the creation of a new task flow instance.
    It is very weird because this behavior only occurs when I present the data through a table. If I use a form it is fine, and the reopening new task flows functionality is working perfectly.
    This is a convoluted problem and I probably haven't explained myself so I understand, if you can't help!
    Cheers,
    Simo

  • Inconsistent result when running in c# and running in dos shell

    Hi,
         I ran the following script in the MSDOS prompt and it worked fine and I get the string value:
    But if I run it in c# with this routine:
       cmd = "cscript"
       arg = "/c RemoteReadReg.vbs " + computername + keypath;
         PInfo = new ProcessStartInfo (cmd, arg );
         PInfo.UseShellExecute = false;
         Process = Process.Start(PInfo);
         Process.WaitForExit();
    The vb return with the error :  script runtime error: Type mismatch in the line
        Wscript.Echo strValue
    Do you know why the behaviour is different when run in dos shell as opposed to running in c#?
    RemoteReadReg.vbs
    Dim objArgs: Set objArgs = WScript.Arguments
    Dim strComputer: strComputer=objArgs(0)
    Dim strUser, strPassword
    Dim objSWbemLocator, objSWbemServices, objReg
    Dim strKeyPath: strKeyPath = objArgs(1)
    Dim strEntryName
    If (objArgs.length > 2 ) Then
    strEntryName = objArgs(2)
    End If
    Dim strValue
    Const HKEY_LOCAL_MACHINE = &H80000002
    strUser = strComputer & "\user"
    strPassword = "password"
    Set objSWbemLocator = CreateObject("wbemScripting.SwbemLocator")
    Set objSWbemServices = objSWbemLocator.ConnectServer _
    (strComputer, "root\default", strUser, strPassword)
    Set objReg = objSWbemServices.Get("StdRegProv")
    objReg.GetStringValue HKEY_LOCAL_MACHINE, strKeyPath, strEntryName, strValue
    Wscript.Echo strValue

    Since the error occurs in a VBS script you should ask in a scripting forum, for example here:
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    As far ProcessStartInfo is concerned I don't see an issue except a (probably) stray /c argument, cscript doesn't have such an option.
    The real question is why do you even bother with this script? Same information can be obtained via C#, see here for an example:
    http://stackoverflow.com/questions/1155633/how-to-obtain-a-registry-value-from-a-remote-machine-if-i-dont-know-its-type
    It's more complicated because it tries to deal with every registry value type but if you only care about string value you can simplify that code a lot.

  • Rendering bugs on xf86-video-ati on GNOME Shell

    Hi guys. I have a problem with graphics rendering on Arch i686 installed on a bootable USB stick. To handle multiple devices I did pacman -S xorg-drivers. Unfortunately when I log in to GDM/GNOME shell the screen is full of artifacts - several icons are just invisible and rectangular parts of page in Chromium are black, gnome-shell controls blink and so on.
    I did not test other display managers/desktop environments. xf86-video-ati works fine for me on 64bit Arch installed on the HDD.
    $ journalctl -xb --no-pager
    -- Logs begin at śro 2014-12-24 02:09:53 CET, end at sob 2014-12-27 14:20:29 CET. --
    gru 27 14:14:08 lapa systemd-journal[141]: Runtime journal is using 8.0M (max allowed 151.4M, trying to leave 227.1M free of 1.4G available → current limit 151.4M).
    gru 27 14:14:08 lapa systemd-journal[141]: Permanent journal is using 16.0M (max allowed 1.2G, trying to leave 1.8G free of 9.1G available → current limit 1.2G).
    gru 27 14:14:09 lapa systemd-journal[141]: Time spent on flushing to /var is 147.203ms for 2 entries.
    gru 27 14:14:09 lapa kernel: Initializing cgroup subsys cpuset
    gru 27 14:14:09 lapa kernel: Initializing cgroup subsys cpu
    gru 27 14:14:09 lapa kernel: Initializing cgroup subsys cpuacct
    gru 27 14:14:09 lapa kernel: Linux version 3.17.6-1-ARCH (builduser@foutrelis) (gcc version 4.9.2 (GCC) ) #1 SMP PREEMPT Sun Dec 7 23:58:19 UTC 2014
    gru 27 14:14:09 lapa kernel: e820: BIOS-provided physical RAM map:
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x0000000000100000-0x00000000bfb3efff] usable
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x00000000bfb3f000-0x00000000bfbbefff] reserved
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x00000000bfbbf000-0x00000000bfebefff] ACPI NVS
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x00000000bfebf000-0x00000000bfef5fff] ACPI data
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x00000000bfef6000-0x00000000bfefffff] usable
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x00000000bff00000-0x00000000dfffffff] reserved
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff] reserved
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x00000000fed80000-0x00000000fed80fff] reserved
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x00000000ffe00000-0x00000000ffffffff] reserved
    gru 27 14:14:09 lapa kernel: BIOS-e820: [mem 0x0000000100000000-0x000000011effffff] usable
    gru 27 14:14:09 lapa kernel: Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel!
    gru 27 14:14:09 lapa kernel: SMBIOS 2.7 present.
    gru 27 14:14:09 lapa kernel: DMI: Acer Aspire 7560/JE70-SB, BIOS V2.02 12/02/2011
    gru 27 14:14:09 lapa kernel: e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
    gru 27 14:14:09 lapa kernel: e820: remove [mem 0x000a0000-0x000fffff] usable
    gru 27 14:14:09 lapa kernel: e820: last_pfn = 0xbff00 max_arch_pfn = 0x100000
    gru 27 14:14:09 lapa kernel: MTRR default type: uncachable
    gru 27 14:14:09 lapa kernel: MTRR fixed ranges enabled:
    gru 27 14:14:09 lapa kernel: 00000-9FFFF write-back
    gru 27 14:14:09 lapa kernel: A0000-BFFFF uncachable
    gru 27 14:14:09 lapa kernel: C0000-FFFFF write-through
    gru 27 14:14:09 lapa kernel: MTRR variable ranges enabled:
    gru 27 14:14:09 lapa kernel: 0 base 0000000000 mask FF80000000 write-back
    gru 27 14:14:09 lapa kernel: 1 base 0080000000 mask FFC0000000 write-back
    gru 27 14:14:09 lapa kernel: 2 base 00BFEBD000 mask FFFFFFF000 uncachable
    gru 27 14:14:09 lapa kernel: 3 base 00FFE00000 mask FFFFE00000 write-protect
    gru 27 14:14:09 lapa kernel: 4 disabled
    gru 27 14:14:09 lapa kernel: 5 disabled
    gru 27 14:14:09 lapa kernel: 6 disabled
    gru 27 14:14:09 lapa kernel: 7 disabled
    gru 27 14:14:09 lapa kernel: TOM2: 000000011f000000 aka 4592M
    gru 27 14:14:09 lapa kernel: x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    gru 27 14:14:09 lapa kernel: found SMP MP-table at [mem 0x000fe1b0-0x000fe1bf] mapped at [c00fe1b0]
    gru 27 14:14:09 lapa kernel: Scanning 1 areas for low memory corruption
    gru 27 14:14:09 lapa kernel: initial memory mapped: [mem 0x00000000-0x01bfffff]
    gru 27 14:14:09 lapa kernel: Base memory trampoline at [c009b000] 9b000 size 16384
    gru 27 14:14:09 lapa kernel: init_memory_mapping: [mem 0x00000000-0x000fffff]
    gru 27 14:14:09 lapa kernel: [mem 0x00000000-0x000fffff] page 4k
    gru 27 14:14:09 lapa kernel: init_memory_mapping: [mem 0x37000000-0x373fffff]
    gru 27 14:14:09 lapa kernel: [mem 0x37000000-0x373fffff] page 2M
    gru 27 14:14:09 lapa kernel: init_memory_mapping: [mem 0x30000000-0x36ffffff]
    gru 27 14:14:09 lapa kernel: [mem 0x30000000-0x36ffffff] page 2M
    gru 27 14:14:09 lapa kernel: init_memory_mapping: [mem 0x00100000-0x2fffffff]
    gru 27 14:14:09 lapa kernel: [mem 0x00100000-0x003fffff] page 4k
    gru 27 14:14:09 lapa kernel: [mem 0x00400000-0x2fffffff] page 2M
    gru 27 14:14:09 lapa kernel: init_memory_mapping: [mem 0x37400000-0x377fdfff]
    gru 27 14:14:09 lapa kernel: [mem 0x37400000-0x377fdfff] page 4k
    gru 27 14:14:09 lapa kernel: BRK [0x017ae000, 0x017aefff] PGTABLE
    gru 27 14:14:09 lapa kernel: RAMDISK: [mem 0x37912000-0x37c80fff]
    gru 27 14:14:09 lapa kernel: Allocated new RAMDISK: [mem 0x3748f000-0x377fd8f7]
    gru 27 14:14:09 lapa kernel: Move RAMDISK from [mem 0x37912000-0x37c808f7] to [mem 0x3748f000-0x377fd8f7]
    gru 27 14:14:09 lapa kernel: ACPI: Early table checksum verification disabled
    gru 27 14:14:09 lapa kernel: ACPI: RSDP 0x000FE020 000024 (v02 ACRSYS)
    gru 27 14:14:09 lapa kernel: ACPI: XSDT 0xBFEF5120 00007C (v01 ACRSYS ACRPRDCT 00000001 01000013)
    gru 27 14:14:09 lapa kernel: ACPI: FACP 0xBFEF4000 0000F4 (v04 ACRSYS ACRPRDCT 00000001 1025 00040000)
    gru 27 14:14:09 lapa kernel: ACPI: DSDT 0xBFEE2000 00DADF (v01 ACRSYS ACRPRDCT F0000000 1025 00040000)
    gru 27 14:14:09 lapa kernel: ACPI: FACS 0xBFC96000 000040
    gru 27 14:14:09 lapa kernel: ACPI: HPET 0xBFEF3000 000038 (v01 ACRSYS ACRPRDCT 00000001 1025 00040000)
    gru 27 14:14:09 lapa kernel: ACPI: APIC 0xBFEF2000 000084 (v02 ACRSYS ACRPRDCT 00000001 1025 00040000)
    gru 27 14:14:09 lapa kernel: ACPI: MCFG 0xBFEF1000 00003C (v01 ACRSYS ACRPRDCT 00000001 1025 00040000)
    gru 27 14:14:09 lapa kernel: ACPI: ASF! 0xBFEF0000 0000A5 (v32 ACRSYS ACRPRDCT 00000001 1025 00040000)
    gru 27 14:14:09 lapa kernel: ACPI: BOOT 0xBFEE1000 000028 (v01 ACRSYS ACRPRDCT 00000001 1025 00040000)
    gru 27 14:14:09 lapa kernel: ACPI: SLIC 0xBFEE0000 000176 (v01 ACRSYS ACRPRDCT 00000001 1025 00040000)
    gru 27 14:14:09 lapa kernel: ACPI: WDRT 0xBFEDF000 000047 (v01 ACRSYS ACRPRDCT 00000001 1025 00040000)
    gru 27 14:14:09 lapa kernel: ACPI: MSDM 0xBFEDE000 000055 (v03 ACRSYS ACRPRDCT 00000001 1025 00040000)
    gru 27 14:14:09 lapa kernel: ACPI: SSDT 0xBFEDD000 000E28 (v01 AMD POWERNOW 00000001 AMD 00000001)
    gru 27 14:14:09 lapa kernel: ACPI: SSDT 0xBFEDB000 00193D (v02 AMD ALIB 00000001 MSFT 04000000)
    gru 27 14:14:09 lapa kernel: ACPI: Local APIC address 0xfee00000
    gru 27 14:14:09 lapa kernel: 2183MB HIGHMEM available.
    gru 27 14:14:09 lapa kernel: 887MB LOWMEM available.
    gru 27 14:14:09 lapa kernel: mapped low ram: 0 - 377fe000
    gru 27 14:14:09 lapa kernel: low ram: 0 - 377fe000
    gru 27 14:14:09 lapa kernel: BRK [0x017af000, 0x017affff] PGTABLE
    gru 27 14:14:09 lapa kernel: Zone ranges:
    gru 27 14:14:09 lapa kernel: DMA [mem 0x00001000-0x00ffffff]
    gru 27 14:14:09 lapa kernel: Normal [mem 0x01000000-0x377fdfff]
    gru 27 14:14:09 lapa kernel: HighMem [mem 0x377fe000-0xbfefffff]
    gru 27 14:14:09 lapa kernel: Movable zone start for each node
    gru 27 14:14:09 lapa kernel: Early memory node ranges
    gru 27 14:14:09 lapa kernel: node 0: [mem 0x00001000-0x0009efff]
    gru 27 14:14:09 lapa kernel: node 0: [mem 0x00100000-0xbfb3efff]
    gru 27 14:14:09 lapa kernel: node 0: [mem 0xbfef6000-0xbfefffff]
    gru 27 14:14:09 lapa kernel: On node 0 totalpages: 785127
    gru 27 14:14:09 lapa kernel: free_area_init_node: node 0, pgdat c162b480, node_mem_map f5c8f020
    gru 27 14:14:09 lapa kernel: DMA zone: 32 pages used for memmap
    gru 27 14:14:09 lapa kernel: DMA zone: 0 pages reserved
    gru 27 14:14:09 lapa kernel: DMA zone: 3998 pages, LIFO batch:0
    gru 27 14:14:09 lapa kernel: Normal zone: 1744 pages used for memmap
    gru 27 14:14:09 lapa kernel: Normal zone: 223230 pages, LIFO batch:31
    gru 27 14:14:09 lapa kernel: HighMem zone: 4367 pages used for memmap
    gru 27 14:14:09 lapa kernel: HighMem zone: 557899 pages, LIFO batch:31
    gru 27 14:14:09 lapa kernel: Using APIC driver default
    gru 27 14:14:09 lapa kernel: ACPI: PM-Timer IO Port: 0x408
    gru 27 14:14:09 lapa kernel: ACPI: Local APIC address 0xfee00000
    gru 27 14:14:09 lapa kernel: ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    gru 27 14:14:09 lapa kernel: ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
    gru 27 14:14:09 lapa kernel: ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
    gru 27 14:14:09 lapa kernel: ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
    gru 27 14:14:09 lapa kernel: ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    gru 27 14:14:09 lapa kernel: ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    gru 27 14:14:09 lapa kernel: ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
    gru 27 14:14:09 lapa kernel: ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
    gru 27 14:14:09 lapa kernel: ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
    gru 27 14:14:09 lapa kernel: IOAPIC[0]: apic_id 4, version 33, address 0xfec00000, GSI 0-23
    gru 27 14:14:09 lapa kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    gru 27 14:14:09 lapa kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
    gru 27 14:14:09 lapa kernel: ACPI: IRQ0 used by override.
    gru 27 14:14:09 lapa kernel: ACPI: IRQ9 used by override.
    gru 27 14:14:09 lapa kernel: Using ACPI (MADT) for SMP configuration information
    gru 27 14:14:09 lapa kernel: ACPI: HPET id: 0x10228210 base: 0xfed00000
    gru 27 14:14:09 lapa kernel: smpboot: Allowing 4 CPUs, 0 hotplug CPUs
    gru 27 14:14:09 lapa kernel: PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
    gru 27 14:14:09 lapa kernel: PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
    gru 27 14:14:09 lapa kernel: PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
    gru 27 14:14:09 lapa kernel: e820: [mem 0xe0000000-0xf7ffffff] available for PCI devices
    gru 27 14:14:09 lapa kernel: Booting paravirtualized kernel on bare hardware
    gru 27 14:14:09 lapa kernel: setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:4 nr_node_ids:1
    gru 27 14:14:09 lapa kernel: PERCPU: Embedded 14 pages/cpu @f5c45000 s33536 r0 d23808 u57344
    gru 27 14:14:09 lapa kernel: pcpu-alloc: s33536 r0 d23808 u57344 alloc=14*4096
    gru 27 14:14:09 lapa kernel: pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    gru 27 14:14:09 lapa kernel: Built 1 zonelists in Zone order, mobility grouping on. Total pages: 783351
    gru 27 14:14:09 lapa kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e298e7c2-a35d-4fd4-b1a9-41e2cd84ae0e rw quiet
    gru 27 14:14:09 lapa kernel: PID hash table entries: 4096 (order: 2, 16384 bytes)
    gru 27 14:14:09 lapa kernel: Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    gru 27 14:14:09 lapa kernel: Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    gru 27 14:14:09 lapa kernel: Initializing CPU#0
    gru 27 14:14:09 lapa kernel: allocated 6289400 bytes of page_cgroup
    gru 27 14:14:09 lapa kernel: please try 'cgroup_disable=memory' option if you don't want memory cgroups
    gru 27 14:14:09 lapa kernel: Initializing HighMem for node 0 (000377fe:000bff00)
    gru 27 14:14:09 lapa kernel: Initializing Movable for node 0 (00000000:00000000)
    gru 27 14:14:09 lapa kernel: Memory: 3097232K/3140508K available (4550K kernel code, 493K rwdata, 1344K rodata, 580K init, 832K bss, 43276K reserved, 2231596K highmem)
    gru 27 14:14:09 lapa kernel: virtual kernel memory layout:
    fixmap : 0xfff16000 - 0xfffff000 ( 932 kB)
    pkmap : 0xff800000 - 0xffc00000 (4096 kB)
    vmalloc : 0xf7ffe000 - 0xff7fe000 ( 120 MB)
    lowmem : 0xc0000000 - 0xf77fe000 ( 887 MB)
    .init : 0xc1640000 - 0xc16d1000 ( 580 kB)
    .data : 0xc1471da8 - 0xc163e480 (1841 kB)
    .text : 0xc1000000 - 0xc1471da8 (4551 kB)
    gru 27 14:14:09 lapa kernel: Checking if this processor honours the WP bit even in supervisor mode...Ok.
    gru 27 14:14:09 lapa kernel: SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    gru 27 14:14:09 lapa kernel: Preemptible hierarchical RCU implementation.
    gru 27 14:14:09 lapa kernel: RCU dyntick-idle grace-period acceleration is enabled.
    gru 27 14:14:09 lapa kernel: Dump stacks of tasks blocking RCU-preempt GP.
    gru 27 14:14:09 lapa kernel: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
    gru 27 14:14:09 lapa kernel: RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    gru 27 14:14:09 lapa kernel: NR_IRQS:2304 nr_irqs:456 0
    gru 27 14:14:09 lapa kernel: CPU 0 irqstacks, hard=f5008000 soft=f500a000
    gru 27 14:14:09 lapa kernel: spurious 8259A interrupt: IRQ7.
    gru 27 14:14:09 lapa kernel: Console: colour dummy device 80x25
    gru 27 14:14:09 lapa kernel: console [tty0] enabled
    gru 27 14:14:09 lapa kernel: hpet clockevent registered
    gru 27 14:14:09 lapa kernel: tsc: Fast TSC calibration using PIT
    gru 27 14:14:09 lapa kernel: tsc: Detected 1497.336 MHz processor
    gru 27 14:14:09 lapa kernel: Calibrating delay loop (skipped), value calculated using timer frequency.. 2995.45 BogoMIPS (lpj=4991120)
    gru 27 14:14:09 lapa kernel: pid_max: default: 32768 minimum: 301
    gru 27 14:14:09 lapa kernel: ACPI: Core revision 20140724
    gru 27 14:14:09 lapa kernel: ACPI: All ACPI Tables successfully acquired
    gru 27 14:14:09 lapa kernel: Security Framework initialized
    gru 27 14:14:09 lapa kernel: Yama: becoming mindful.
    gru 27 14:14:09 lapa kernel: Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    gru 27 14:14:09 lapa kernel: Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    gru 27 14:14:09 lapa kernel: Initializing cgroup subsys memory
    gru 27 14:14:09 lapa kernel: Initializing cgroup subsys devices
    gru 27 14:14:09 lapa kernel: Initializing cgroup subsys freezer
    gru 27 14:14:09 lapa kernel: Initializing cgroup subsys net_cls
    gru 27 14:14:09 lapa kernel: Initializing cgroup subsys blkio
    gru 27 14:14:09 lapa kernel: CPU: Physical Processor ID: 0
    gru 27 14:14:09 lapa kernel: CPU: Processor Core ID: 0
    gru 27 14:14:09 lapa kernel: mce: CPU supports 6 MCE banks
    gru 27 14:14:09 lapa kernel: Last level iTLB entries: 4KB 512, 2MB 16, 4MB 8
    Last level dTLB entries: 4KB 1024, 2MB 128, 4MB 64, 1GB 0
    gru 27 14:14:09 lapa kernel: Freeing SMP alternatives memory: 20K (c16d1000 - c16d6000)
    gru 27 14:14:09 lapa kernel: ftrace: allocating 19545 entries in 39 pages
    gru 27 14:14:09 lapa kernel: Enabling APIC mode: Flat. Using 1 I/O APICs
    gru 27 14:14:09 lapa kernel: ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    gru 27 14:14:09 lapa kernel: smpboot: CPU0: AMD A6-3420M APU with Radeon(tm) HD Graphics (fam: 12, model: 01, stepping: 00)
    gru 27 14:14:09 lapa kernel: Performance Events: AMD PMU driver.
    gru 27 14:14:09 lapa kernel: ... version: 0
    gru 27 14:14:09 lapa kernel: ... bit width: 48
    gru 27 14:14:09 lapa kernel: ... generic registers: 4
    gru 27 14:14:09 lapa kernel: ... value mask: 0000ffffffffffff
    gru 27 14:14:09 lapa kernel: ... max period: 00007fffffffffff
    gru 27 14:14:09 lapa kernel: ... fixed-purpose events: 0
    gru 27 14:14:09 lapa kernel: ... event mask: 000000000000000f
    gru 27 14:14:09 lapa kernel: NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
    gru 27 14:14:09 lapa kernel: CPU 1 irqstacks, hard=f514a000 soft=f514c000
    gru 27 14:14:09 lapa kernel: x86: Booting SMP configuration:
    gru 27 14:14:09 lapa kernel: .... node #0, CPUs: #1
    gru 27 14:14:09 lapa kernel: Initializing CPU#1
    gru 27 14:14:09 lapa kernel: CPU 2 irqstacks, hard=f5170000 soft=f5172000
    gru 27 14:14:09 lapa kernel: #2
    gru 27 14:14:09 lapa kernel: Initializing CPU#2
    gru 27 14:14:09 lapa kernel: CPU 3 irqstacks, hard=f519a000 soft=f519c000
    gru 27 14:14:09 lapa kernel: #3
    gru 27 14:14:09 lapa kernel: Initializing CPU#3
    gru 27 14:14:09 lapa kernel: x86: Booted up 1 node, 4 CPUs
    gru 27 14:14:09 lapa kernel: smpboot: Total of 4 processors activated (11983.80 BogoMIPS)
    gru 27 14:14:09 lapa kernel: devtmpfs: initialized
    gru 27 14:14:09 lapa kernel: PM: Registering ACPI NVS region [mem 0xbfbbf000-0xbfebefff] (3145728 bytes)
    gru 27 14:14:09 lapa kernel: pinctrl core: initialized pinctrl subsystem
    gru 27 14:14:09 lapa kernel: RTC time: 13:14:02, date: 12/27/14
    gru 27 14:14:09 lapa kernel: NET: Registered protocol family 16
    gru 27 14:14:09 lapa kernel: cpuidle: using governor ladder
    gru 27 14:14:09 lapa kernel: cpuidle: using governor menu
    gru 27 14:14:09 lapa kernel: ACPI: bus type PCI registered
    gru 27 14:14:09 lapa kernel: acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
    gru 27 14:14:09 lapa kernel: PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
    gru 27 14:14:09 lapa kernel: PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
    gru 27 14:14:09 lapa kernel: PCI: Using MMCONFIG for extended config space
    gru 27 14:14:09 lapa kernel: PCI: Using configuration type 1 for base access
    gru 27 14:14:09 lapa kernel: mtrr: your CPUs had inconsistent variable MTRR settings
    gru 27 14:14:09 lapa kernel: mtrr: probably your BIOS does not setup all CPUs.
    gru 27 14:14:09 lapa kernel: mtrr: corrected configuration.
    gru 27 14:14:09 lapa kernel: ACPI: Added _OSI(Module Device)
    gru 27 14:14:09 lapa kernel: ACPI: Added _OSI(Processor Device)
    gru 27 14:14:09 lapa kernel: ACPI: Added _OSI(3.0 _SCP Extensions)
    gru 27 14:14:09 lapa kernel: ACPI: Added _OSI(Processor Aggregator Device)
    gru 27 14:14:09 lapa kernel: ACPI: Executed 1 blocks of module-level executable AML code
    gru 27 14:14:09 lapa kernel: [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
    gru 27 14:14:09 lapa kernel: ACPI: Interpreter enabled
    gru 27 14:14:09 lapa kernel: ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20140724/hwxface-580)
    gru 27 14:14:09 lapa kernel: ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20140724/hwxface-580)
    gru 27 14:14:09 lapa kernel: ACPI: (supports S0 S3 S4 S5)
    gru 27 14:14:09 lapa kernel: ACPI: Using IOAPIC for interrupt routing
    gru 27 14:14:09 lapa kernel: PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
    gru 27 14:14:09 lapa kernel: ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
    gru 27 14:14:09 lapa kernel: acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
    gru 27 14:14:09 lapa kernel: acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
    gru 27 14:14:09 lapa kernel: acpi PNP0A08:00: ignoring host bridge window [mem 0x000cc000-0x000cffff] (conflicts with Video ROM [mem 0x000c0000-0x000cefff])
    gru 27 14:14:09 lapa kernel: acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
    gru 27 14:14:09 lapa kernel: PCI host bridge to bus 0000:00
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [bus 00-ff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [io 0x0d00-0xffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000c3fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0x000c4000-0x000c7fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0x000c8000-0x000cbfff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0x000d0000-0x000d3fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0x000d4000-0x000d7fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0x000d8000-0x000dbfff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0x000dc000-0x000dffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000e3fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0x000e4000-0x000e7fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0x000e8000-0x000ebfff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0x000ec000-0x000effff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0xe0000000-0xf7ffffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0xfc000000-0xfed3ffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: root bus resource [mem 0xfed45000-0xffffffff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:00.0: [1022:1705] type 00 class 0x060000
    gru 27 14:14:09 lapa kernel: pci 0000:00:01.0: [1002:9647] type 00 class 0x030000
    gru 27 14:14:09 lapa kernel: pci 0000:00:01.0: reg 0x10: [mem 0xe0000000-0xefffffff pref]
    gru 27 14:14:09 lapa kernel: pci 0000:00:01.0: reg 0x14: [io 0x3000-0x30ff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:01.0: reg 0x18: [mem 0xf0200000-0xf023ffff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:01.0: supports D1 D2
    gru 27 14:14:09 lapa kernel: pci 0000:00:01.1: [1002:1714] type 00 class 0x040300
    gru 27 14:14:09 lapa kernel: pci 0000:00:01.1: reg 0x10: [mem 0xf0244000-0xf0247fff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:01.1: supports D1 D2
    gru 27 14:14:09 lapa kernel: pci 0000:00:04.0: [1022:1709] type 01 class 0x060400
    gru 27 14:14:09 lapa kernel: pci 0000:00:04.0: PME# supported from D0 D3hot D3cold
    gru 27 14:14:09 lapa kernel: pci 0000:00:04.0: System wakeup disabled by ACPI
    gru 27 14:14:09 lapa kernel: pci 0000:00:05.0: [1022:170a] type 01 class 0x060400
    gru 27 14:14:09 lapa kernel: pci 0000:00:05.0: PME# supported from D0 D3hot D3cold
    gru 27 14:14:09 lapa kernel: pci 0000:00:05.0: System wakeup disabled by ACPI
    gru 27 14:14:09 lapa kernel: pci 0000:00:11.0: [1022:7801] type 00 class 0x010601
    gru 27 14:14:09 lapa kernel: pci 0000:00:11.0: reg 0x10: [io 0x3118-0x311f]
    gru 27 14:14:09 lapa kernel: pci 0000:00:11.0: reg 0x14: [io 0x3124-0x3127]
    gru 27 14:14:09 lapa kernel: pci 0000:00:11.0: reg 0x18: [io 0x3110-0x3117]
    gru 27 14:14:09 lapa kernel: pci 0000:00:11.0: reg 0x1c: [io 0x3120-0x3123]
    gru 27 14:14:09 lapa kernel: pci 0000:00:11.0: reg 0x20: [io 0x3100-0x310f]
    gru 27 14:14:09 lapa kernel: pci 0000:00:11.0: reg 0x24: [mem 0xf024d000-0xf024d7ff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:13.0: [1022:7807] type 00 class 0x0c0310
    gru 27 14:14:09 lapa kernel: pci 0000:00:13.0: reg 0x10: [mem 0xf024c000-0xf024cfff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:13.2: [1022:7808] type 00 class 0x0c0320
    gru 27 14:14:09 lapa kernel: pci 0000:00:13.2: reg 0x10: [mem 0xf024b000-0xf024b0ff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:13.2: supports D1 D2
    gru 27 14:14:09 lapa kernel: pci 0000:00:13.2: PME# supported from D0 D1 D2 D3hot
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.0: [1022:780b] type 00 class 0x0c0500
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.2: [1022:780d] type 00 class 0x040300
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.2: reg 0x10: [mem 0xf0240000-0xf0243fff 64bit]
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.2: PME# supported from D0 D3hot D3cold
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.3: [1022:780e] type 00 class 0x060100
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: [1022:780f] type 01 class 0x060401
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: System wakeup disabled by ACPI
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.5: [1022:7809] type 00 class 0x0c0310
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.5: reg 0x10: [mem 0xf024a000-0xf024afff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:16.0: [1022:7807] type 00 class 0x0c0310
    gru 27 14:14:09 lapa kernel: pci 0000:00:16.0: reg 0x10: [mem 0xf0249000-0xf0249fff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:16.0: System wakeup disabled by ACPI
    gru 27 14:14:09 lapa kernel: pci 0000:00:16.2: [1022:7808] type 00 class 0x0c0320
    gru 27 14:14:09 lapa kernel: pci 0000:00:16.2: reg 0x10: [mem 0xf0248000-0xf02480ff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:16.2: supports D1 D2
    gru 27 14:14:09 lapa kernel: pci 0000:00:16.2: PME# supported from D0 D1 D2 D3hot
    gru 27 14:14:09 lapa kernel: pci 0000:00:16.2: System wakeup disabled by ACPI
    gru 27 14:14:09 lapa kernel: pci 0000:00:18.0: [1022:1700] type 00 class 0x060000
    gru 27 14:14:09 lapa kernel: pci 0000:00:18.1: [1022:1701] type 00 class 0x060000
    gru 27 14:14:09 lapa kernel: pci 0000:00:18.2: [1022:1702] type 00 class 0x060000
    gru 27 14:14:09 lapa kernel: pci 0000:00:18.3: [1022:1703] type 00 class 0x060000
    gru 27 14:14:09 lapa kernel: pci 0000:00:18.4: [1022:1704] type 00 class 0x060000
    gru 27 14:14:09 lapa kernel: pci 0000:00:18.5: [1022:1718] type 00 class 0x060000
    gru 27 14:14:09 lapa kernel: pci 0000:00:18.6: [1022:1716] type 00 class 0x060000
    gru 27 14:14:09 lapa kernel: pci 0000:00:18.7: [1022:1719] type 00 class 0x060000
    gru 27 14:14:09 lapa kernel: pci 0000:01:00.0: [1969:1083] type 00 class 0x020000
    gru 27 14:14:09 lapa kernel: pci 0000:01:00.0: reg 0x10: [mem 0xf0100000-0xf013ffff 64bit]
    gru 27 14:14:09 lapa kernel: pci 0000:01:00.0: reg 0x18: [io 0x2000-0x207f]
    gru 27 14:14:09 lapa kernel: pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    gru 27 14:14:09 lapa kernel: pci 0000:00:04.0: PCI bridge to [bus 01]
    gru 27 14:14:09 lapa kernel: pci 0000:00:04.0: bridge window [io 0x2000-0x2fff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:04.0: bridge window [mem 0xf0100000-0xf01fffff]
    gru 27 14:14:09 lapa kernel: pci 0000:02:00.0: [14e4:4358] type 00 class 0x028000
    gru 27 14:14:09 lapa kernel: pci 0000:02:00.0: reg 0x10: [mem 0xf0000000-0xf0003fff 64bit]
    gru 27 14:14:09 lapa kernel: pci 0000:02:00.0: supports D1 D2
    gru 27 14:14:09 lapa kernel: pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
    gru 27 14:14:09 lapa kernel: pci 0000:00:05.0: PCI bridge to [bus 02]
    gru 27 14:14:09 lapa kernel: pci 0000:00:05.0: bridge window [mem 0xf0000000-0xf00fffff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: PCI bridge to [bus 03] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [io 0x0000-0x0cf7] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [io 0x0d00-0xffff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0x000a0000-0x000bffff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0x000c0000-0x000c3fff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0x000c4000-0x000c7fff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0x000c8000-0x000cbfff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0x000d0000-0x000d3fff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0x000d4000-0x000d7fff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0x000d8000-0x000dbfff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0x000dc000-0x000dffff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0x000e0000-0x000e3fff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0x000e4000-0x000e7fff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0x000e8000-0x000ebfff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0x000ec000-0x000effff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0xe0000000-0xf7ffffff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0xfc000000-0xfed3ffff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: bridge window [mem 0xfed45000-0xffffffff] (subtractive decode)
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: on NUMA node 0
    gru 27 14:14:09 lapa kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 11 12 14 15) *0
    gru 27 14:14:09 lapa kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 10 11 12 14 15) *0
    gru 27 14:14:09 lapa kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 10 11 12 14 15) *0
    gru 27 14:14:09 lapa kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 10 11 12 14 15) *0
    gru 27 14:14:09 lapa kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 12 14 15) *0
    gru 27 14:14:09 lapa kernel: ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 12 14 15) *0
    gru 27 14:14:09 lapa kernel: ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 12 14 15) *0
    gru 27 14:14:09 lapa kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 12 14 15) *0
    gru 27 14:14:09 lapa kernel: ACPI: Enabled 2 GPEs in block 00 to 1F
    gru 27 14:14:09 lapa kernel: ACPI : EC: GPE = 0x3, I/O: command/status = 0x66, data = 0x62
    gru 27 14:14:09 lapa kernel: vgaarb: setting as boot device: PCI:0000:00:01.0
    gru 27 14:14:09 lapa kernel: vgaarb: device added: PCI:0000:00:01.0,decodes=io+mem,owns=io+mem,locks=none
    gru 27 14:14:09 lapa kernel: vgaarb: loaded
    gru 27 14:14:09 lapa kernel: vgaarb: bridge control possible 0000:00:01.0
    gru 27 14:14:09 lapa kernel: PCI: Using ACPI for IRQ routing
    gru 27 14:14:09 lapa kernel: PCI: pci_cache_line_size set to 64 bytes
    gru 27 14:14:09 lapa kernel: e820: reserve RAM buffer [mem 0x0009f800-0x0009ffff]
    gru 27 14:14:09 lapa kernel: e820: reserve RAM buffer [mem 0xbfb3f000-0xbfffffff]
    gru 27 14:14:09 lapa kernel: e820: reserve RAM buffer [mem 0xbff00000-0xbfffffff]
    gru 27 14:14:09 lapa kernel: NetLabel: Initializing
    gru 27 14:14:09 lapa kernel: NetLabel: domain hash size = 128
    gru 27 14:14:09 lapa kernel: NetLabel: protocols = UNLABELED CIPSOv4
    gru 27 14:14:09 lapa kernel: NetLabel: unlabeled traffic allowed by default
    gru 27 14:14:09 lapa kernel: hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
    gru 27 14:14:09 lapa kernel: hpet0: 3 comparators, 32-bit 14.318180 MHz counter
    gru 27 14:14:09 lapa kernel: Switched to clocksource hpet
    gru 27 14:14:09 lapa kernel: pnp: PnP ACPI init
    gru 27 14:14:09 lapa kernel: system 00:00: [mem 0xfec00000-0xfec00fff] could not be reserved
    gru 27 14:14:09 lapa kernel: system 00:00: [mem 0xfee00000-0xfee00fff] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:00: [mem 0xf8000000-0xfbffffff] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:00: [mem 0xfed80000-0xfed80fff] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:00: [mem 0xfed40000-0xfed44fff] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
    gru 27 14:14:09 lapa kernel: pnp 00:01: Plug and Play ACPI device, IDs PNP0b00 (active)
    gru 27 14:14:09 lapa kernel: pnp 00:02: Plug and Play ACPI device, IDs PNP0303 (active)
    gru 27 14:14:09 lapa kernel: pnp 00:03: Plug and Play ACPI device, IDs ETD0500 PNP0f13 (active)
    gru 27 14:14:09 lapa kernel: system 00:04: [io 0x0400-0x04cf] could not be reserved
    gru 27 14:14:09 lapa kernel: system 00:04: [io 0x04d0-0x04d1] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:04: [io 0x04d6] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:04: [io 0x0680-0x06ff] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:04: [io 0x077a] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:04: [io 0x0c00-0x0c01] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:04: [io 0x0c14] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:04: [io 0x0c50-0x0c52] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:04: [io 0x0c6c] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:04: [io 0x0c6f] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:04: [io 0x0cd0-0x0cdb] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:04: [io 0x0840-0x0847] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:04: Plug and Play ACPI device, IDs PNP0c02 (active)
    gru 27 14:14:09 lapa kernel: system 00:05: [mem 0x000e0000-0x000fffff] could not be reserved
    gru 27 14:14:09 lapa kernel: system 00:05: [mem 0xffe00000-0xffffffff] has been reserved
    gru 27 14:14:09 lapa kernel: system 00:05: Plug and Play ACPI device, IDs PNP0c01 (active)
    gru 27 14:14:09 lapa kernel: pnp: PnP ACPI: found 6 devices
    gru 27 14:14:09 lapa kernel: pci 0000:00:04.0: PCI bridge to [bus 01]
    gru 27 14:14:09 lapa kernel: pci 0000:00:04.0: bridge window [io 0x2000-0x2fff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:04.0: bridge window [mem 0xf0100000-0xf01fffff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:05.0: PCI bridge to [bus 02]
    gru 27 14:14:09 lapa kernel: pci 0000:00:05.0: bridge window [mem 0xf0000000-0xf00fffff]
    gru 27 14:14:09 lapa kernel: pci 0000:00:14.4: PCI bridge to [bus 03]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 5 [io 0x0d00-0xffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 7 [mem 0x000c0000-0x000c3fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 8 [mem 0x000c4000-0x000c7fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 9 [mem 0x000c8000-0x000cbfff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 10 [mem 0x000d0000-0x000d3fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 11 [mem 0x000d4000-0x000d7fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 12 [mem 0x000d8000-0x000dbfff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 13 [mem 0x000dc000-0x000dffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 14 [mem 0x000e0000-0x000e3fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 15 [mem 0x000e4000-0x000e7fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 16 [mem 0x000e8000-0x000ebfff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 17 [mem 0x000ec000-0x000effff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 18 [mem 0xe0000000-0xf7ffffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 19 [mem 0xfc000000-0xfed3ffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:00: resource 20 [mem 0xfed45000-0xffffffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:01: resource 0 [io 0x2000-0x2fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:01: resource 1 [mem 0xf0100000-0xf01fffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:02: resource 1 [mem 0xf0000000-0xf00fffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 4 [io 0x0000-0x0cf7]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 5 [io 0x0d00-0xffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 6 [mem 0x000a0000-0x000bffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 7 [mem 0x000c0000-0x000c3fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 8 [mem 0x000c4000-0x000c7fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 9 [mem 0x000c8000-0x000cbfff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 10 [mem 0x000d0000-0x000d3fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 11 [mem 0x000d4000-0x000d7fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 12 [mem 0x000d8000-0x000dbfff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 13 [mem 0x000dc000-0x000dffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 14 [mem 0x000e0000-0x000e3fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 15 [mem 0x000e4000-0x000e7fff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 16 [mem 0x000e8000-0x000ebfff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 17 [mem 0x000ec000-0x000effff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 18 [mem 0xe0000000-0xf7ffffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 19 [mem 0xfc000000-0xfed3ffff]
    gru 27 14:14:09 lapa kernel: pci_bus 0000:03: resource 20 [mem 0xfed45000-0xffffffff]
    gru 27 14:14:09 lapa kernel: NET: Registered protocol family 2
    gru 27 14:14:09 lapa kernel: TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    gru 27 14:14:09 lapa kernel: TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    gru 27 14:14:09 lapa kernel: TCP: Hash tables configured (established 8192 bind 8192)
    gru 27 14:14:09 lapa kernel: TCP: reno registered
    gru 27 14:14:09 lapa kernel: UDP hash table entries: 512 (order: 2, 16384 bytes)
    gru 27 14:14:09 lapa kernel: UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    gru 27 14:14:09 lapa kernel: NET: Registered protocol family 1
    gru 27 14:14:09 lapa kernel: pci 0000:00:01.0: Video device with shadowed ROM
    gru 27 14:14:09 lapa kernel: PCI: CLS 64 bytes, default 64
    gru 27 14:14:09 lapa kernel: Unpacking initramfs...
    gru 27 14:14:09 lapa kernel: Freeing initrd memory: 3516K (f748f000 - f77fe000)
    gru 27 14:14:09 lapa kernel: Simple Boot Flag at 0x44 set to 0x1
    gru 27 14:14:09 lapa kernel: microcode: CPU0: patch_level=0x03000014
    gru 27 14:14:09 lapa kernel: microcode: CPU1: patch_level=0x03000014
    gru 27 14:14:09 lapa kernel: microcode: CPU2: patch_level=0x03000014
    gru 27 14:14:09 lapa kernel: microcode: CPU3: patch_level=0x03000014
    gru 27 14:14:09 lapa kernel: microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
    gru 27 14:14:09 lapa kernel: LVT offset 0 assigned for vector 0x400
    gru 27 14:14:09 lapa kernel: perf: AMD IBS detected (0x000000ff)
    gru 27 14:14:09 lapa kernel: apm: BIOS not found.
    gru 27 14:14:09 lapa kernel: Scanning for low memory corruption every 60 seconds
    gru 27 14:14:09 lapa kernel: futex hash table entries: 1024 (order: 4, 65536 bytes)
    gru 27 14:14:09 lapa kernel: Initialise system trusted keyring
    gru 27 14:14:09 lapa kernel: HugeTLB registered 4 MB page size, pre-allocated 0 pages
    gru 27 14:14:09 lapa kernel: zpool: loaded
    gru 27 14:14:09 lapa kernel: zbud: loaded
    gru 27 14:14:09 lapa kernel: VFS: Disk quotas dquot_6.5.2
    gru 27 14:14:09 lapa kernel: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    gru 27 14:14:09 lapa kernel: msgmni has been set to 1697
    gru 27 14:14:09 lapa kernel: Key type big_key registered
    gru 27 14:14:09 lapa kernel: bounce: pool size: 64 pages
    gru 27 14:14:09 lapa kernel: Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    gru 27 14:14:09 lapa kernel: io scheduler noop registered
    gru 27 14:14:09 lapa kernel: io scheduler deadline registered
    gru 27 14:14:09 lapa kernel: io scheduler cfq registered (default)
    gru 27 14:14:09 lapa kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    gru 27 14:14:09 lapa kernel: pciehp: PCI Express Hot Plug Controller Driver version: 0.4
    gru 27 14:14:09 lapa kernel: vesafb: mode is 1152x864x32, linelength=4608, pages=0
    gru 27 14:14:09 lapa kernel: vesafb: scrolling: redraw
    gru 27 14:14:09 lapa kernel: vesafb: Truecolor: size=0:8:8:8, shift=0:16:8:0
    gru 27 14:14:09 lapa kernel: vesafb: framebuffer at 0xe0000000, mapped to 0xf8080000, using 3904k, total 3904k
    gru 27 14:14:09 lapa kernel: Console: switching to colour frame buffer device 144x54
    gru 27 14:14:09 lapa kernel: fb0: VESA VGA frame buffer device
    gru 27 14:14:09 lapa kernel: GHES: HEST is not enabled!
    gru 27 14:14:09 lapa kernel: isapnp: Scanning for PnP cards...
    gru 27 14:14:09 lapa kernel: isapnp: No Plug & Play device found
    gru 27 14:14:09 lapa kernel: Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    gru 27 14:14:09 lapa kernel: rtc_cmos 00:01: RTC can wake from S4
    gru 27 14:14:09 lapa kernel: rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
    gru 27 14:14:09 lapa kernel: rtc_cmos 00:01: alarms up to one month, 114 bytes nvram, hpet irqs
    gru 27 14:14:09 lapa kernel: ledtrig-cpu: registered to indicate activity on CPUs
    gru 27 14:14:09 lapa kernel: TCP: cubic registered
    gru 27 14:14:09 lapa kernel: NET: Registered protocol family 10
    gru 27 14:14:09 lapa kernel: NET: Registered protocol family 17
    gru 27 14:14:09 lapa kernel: Using IPI No-Shortcut mode
    gru 27 14:14:09 lapa kernel: Loading compiled-in X.509 certificates
    gru 27 14:14:09 lapa kernel: registered taskstats version 1
    gru 27 14:14:09 lapa kernel: Magic number: 10:612:231
    gru 27 14:14:09 lapa kernel: acpi device:4b: hash matches
    gru 27 14:14:09 lapa kernel: rtc_cmos 00:01: setting system clock to 2014-12-27 13:14:04 UTC (1419686044)
    gru 27 14:14:09 lapa kernel: PM: Hibernation image not present or could not be loaded.
    gru 27 14:14:09 lapa kernel: Freeing unused kernel memory: 580K (c1640000 - c16d1000)
    gru 27 14:14:09 lapa kernel: Write protecting the kernel text: 4552k
    gru 27 14:14:09 lapa kernel: Write protecting the kernel read-only data: 1348k
    gru 27 14:14:09 lapa kernel: random: systemd-tmpfile urandom read with 0 bits of entropy available
    gru 27 14:14:09 lapa kernel: i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
    gru 27 14:14:09 lapa kernel: SCSI subsystem initialized
    gru 27 14:14:09 lapa kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
    gru 27 14:14:09 lapa kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
    gru 27 14:14:09 lapa kernel: libata version 3.00 loaded.
    gru 27 14:14:09 lapa kernel: ACPI: bus type USB registered
    gru 27 14:14:09 lapa kernel: usbcore: registered new interface driver usbfs
    gru 27 14:14:09 lapa kernel: usbcore: registered new interface driver hub
    gru 27 14:14:09 lapa kernel: usbcore: registered new device driver usb
    gru 27 14:14:09 lapa kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    gru 27 14:14:09 lapa kernel: ehci-pci: EHCI PCI platform driver
    gru 27 14:14:09 lapa kernel: ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    gru 27 14:14:09 lapa kernel: QUIRK: Enable AMD PLL fix
    gru 27 14:14:09 lapa kernel: ehci-pci 0000:00:13.2: EHCI Host Controller
    gru 27 14:14:09 lapa kernel: ohci-pci: OHCI PCI platform driver
    gru 27 14:14:09 lapa kernel: ehci-pci 0000:00:13.2: new USB bus registered, assigned bus number 1
    gru 27 14:14:09 lapa kernel: ehci-pci 0000:00:13.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
    gru 27 14:14:09 lapa kernel: ehci-pci 0000:00:13.2: debug port 1
    gru 27 14:14:09 lapa kernel: ehci-pci 0000:00:13.2: irq 17, io mem 0xf024b000
    gru 27 14:14:09 lapa kernel: ehci-pci 0000:00:13.2: USB 2.0 started, EHCI 1.00
    gru 27 14:14:09 lapa kernel: hub 1-0:1.0: USB hub found
    gru 27 14:14:09 lapa kernel: hub 1-0:1.0: 5 ports detected
    gru 27 14:14:09 lapa kernel: ehci-pci 0000:00:16.2: EHCI Host Controller
    gru 27 14:14:09 lapa kernel: ehci-pci 0000:00:16.2: new USB bus registered, assigned bus number 2
    gru 27 14:14:09 lapa kernel: ehci-pci 0000:00:16.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
    gru 27 14:14:09 lapa kernel: ehci-pci 0000:00:16.2: debug port 1
    gru 27 14:14:09 lapa kernel: ehci-pci 0000:00:16.2: irq 17, io mem 0xf0248000
    gru 27 14:14:09 lapa kernel: ehci-pci 0000:00:16.2: USB 2.0 started, EHCI 1.00
    gru 27 14:14:09 lapa kernel: hub 2-0:1.0: USB hub found
    gru 27 14:14:09 lapa kernel: hub 2-0:1.0: 4 ports detected
    gru 27 14:14:09 lapa kernel: ahci 0000:00:11.0: version 3.0
    gru 27 14:14:09 lapa kernel: ahci 0000:00:11.0: irq 24 for MSI/MSI-X
    gru 27 14:14:09 lapa kernel: ahci 0000:00:11.0: AHCI 0001.0300 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
    gru 27 14:14:09 lapa kernel: ahci 0000:00:11.0: flags: 64bit ncq sntf ilck pm led clo pmp pio slum part sxs
    gru 27 14:14:09 lapa kernel: scsi host0: ahci
    gru 27 14:14:09 lapa kernel: scsi host1: ahci
    gru 27 14:14:09 lapa kernel: ata1: SATA max UDMA/133 abar m2048@0xf024d000 port 0xf024d100 irq 24
    gru 27 14:14:09 lapa kernel: ata2: SATA max UDMA/133 abar m2048@0xf024d000 port 0xf024d180 irq 24
    gru 27 14:14:09 lapa kernel: ohci-pci 0000:00:13.0: OHCI PCI host controller
    gru 27 14:14:09 lapa kernel: ohci-pci 0000:00:13.0: new USB bus registered, assigned bus number 3
    gru 27 14:14:09 lapa kernel: ohci-pci 0000:00:13.0: irq 18, io mem 0xf024c000
    gru 27 14:14:09 lapa kernel: input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
    gru 27 14:14:09 lapa kernel: hub 3-0:1.0: USB hub found
    gru 27 14:14:09 lapa kernel: hub 3-0:1.0: 5 ports detected
    gru 27 14:14:09 lapa kernel: ohci-pci 0000:00:14.5: OHCI PCI host controller
    gru 27 14:14:09 lapa kernel: ohci-pci 0000:00:14.5: new USB bus registered, assigned bus number 4
    gru 27 14:14:09 lapa kernel: ohci-pci 0000:00:14.5: irq 18, io mem 0xf024a000
    gru 27 14:14:09 lapa kernel: hub 4-0:1.0: USB hub found
    gru 27 14:14:09 lapa kernel: hub 4-0:1.0: 2 ports detected
    gru 27 14:14:09 lapa kernel: ohci-pci 0000:00:16.0: OHCI PCI host controller
    gru 27 14:14:09 lapa kernel: ohci-pci 0000:00:16.0: new USB bus registered, assigned bus number 5
    gru 27 14:14:09 lapa kernel: ohci-pci 0000:00:16.0: irq 18, io mem 0xf0249000
    gru 27 14:14:09 lapa kernel: hub 5-0:1.0: USB hub found
    gru 27 14:14:09 lapa kernel: hub 5-0:1.0: 4 ports detected
    gru 27 14:14:09 lapa kernel: usb 1-1: new high-speed USB device number 2 using ehci-pci
    gru 27 14:14:09 lapa kernel: tsc: Refined TSC clocksource calibration: 1497.276 MHz
    gru 27 14:14:09 lapa kernel: ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    gru 27 14:14:09 lapa kernel: ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    gru 27 14:14:09 lapa kernel: ata1.00: ATA-8: Hitachi HTS547575A9E384, JE4OA60A, max UDMA/133
    gru 27 14:14:09 lapa kernel: ata1.00: 1465149168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
    gru 27 14:14:09 lapa kernel: ata1.00: configured for UDMA/133
    gru 27 14:14:09 lapa kernel: scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54757 A60A PQ: 0 ANSI: 5
    gru 27 14:14:09 lapa kernel: ata2.00: ATAPI: HL-DT-ST DVDRAM GT51N, 1.00, max UDMA/100
    gru 27 14:14:09 lapa kernel: ata2.00: configured for UDMA/100
    gru 27 14:14:09 lapa kernel: scsi 1:0:0:0: CD-ROM HL-DT-ST DVDRAM GT51N 1.00 PQ: 0 ANSI: 5
    gru 27 14:14:09 lapa kernel: sd 0:0:0:0: [sda] 1465149168 512-byte logical blocks: (750 GB/698 GiB)
    gru 27 14:14:09 lapa kernel: sd 0:0:0:0: [sda] 4096-byte physical blocks
    gru 27 14:14:09 lapa kernel: sd 0:0:0:0: [sda] Write Protect is off
    gru 27 14:14:09 lapa kernel: sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    gru 27 14:14:09 lapa kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    gru 27 14:14:09 lapa kernel: sr 1:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
    gru 27 14:14:09 lapa kernel: cdrom: Uniform CD-ROM driver Revision: 3.20
    gru 27 14:14:09 lapa kernel: sr 1:0:0:0: Attached scsi CD-ROM sr0
    gru 27 14:14:09 lapa kernel: sda: sda2 sda3 < sda5 > sda4
    gru 27 14:14:09 lapa kernel: sd 0:0:0:0: [sda] Attached SCSI disk
    gru 27 14:14:09 lapa kernel: usb 2-1: new high-speed USB device number 2 using ehci-pci
    gru 27 14:14:09 lapa kernel: usb-storage 2-1:1.0: USB Mass Storage device detected
    gru 27 14:14:09 lapa kernel: scsi host2: usb-storage 2-1:1.0
    gru 27 14:14:09 lapa kernel: usbcore: registered new interface driver usb-storage
    gru 27 14:14:09 lapa kernel: usbcore: registered new interface driver uas
    gru 27 14:14:09 lapa kernel: usb 5-2: new low-speed USB device number 2 using ohci-pci
    gru 27 14:14:09 lapa kernel: hidraw: raw HID events driver (C) Jiri Kosina
    gru 27 14:14:09 lapa kernel: Switched to clocksource tsc
    gru 27 14:14:09 lapa kernel: usbcore: registered new interface driver usbhid
    gru 27 14:14:09 lapa kernel: usbhid: USB HID core driver
    gru 27 14:14:09 lapa kernel: hid-generic 0003:0C45:7412.0001: hiddev0,hidraw0: USB HID v1.00 Device [Mouse Wireless-USB-Mouse] on usb-0000:00:16.0-2/input0
    gru 27 14:14:09 lapa kernel: input: Mouse Wireless-USB-Mouse as /devices/pci0000:00/0000:00:16.0/usb5/5-2/5-2:1.1/0003:0C45:7412.0002/input/input2
    gru 27 14:14:09 lapa kernel: hid-generic 0003:0C45:7412.0002: input,hidraw1: USB HID v1.00 Mouse [Mouse Wireless-USB-Mouse] on usb-0000:00:16.0-2/input1
    gru 27 14:14:09 lapa kernel: scsi 2:0:0:0: Direct-Access Multiple Card Reader 1.00 PQ: 0 ANSI: 0
    gru 27 14:14:09 lapa kernel: sd 2:0:0:0: [sdb] 30777344 512-byte logical blocks: (15.7 GB/14.6 GiB)
    gru 27 14:14:09 lapa kernel: sd 2:0:0:0: [sdb] Write Protect is off
    gru 27 14:14:09 lapa kernel: sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
    gru 27 14:14:09 lapa kernel: sd 2:0:0:0: [sdb] No Caching mode page found
    gru 27 14:14:09 lapa kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through
    gru 27 14:14:09 lapa kernel: sdb: sdb1 sdb2
    gru 27 14:14:09 lapa kernel: sd 2:0:0:0: [sdb] Attached SCSI removable disk
    gru 27 14:14:09 lapa kernel: EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
    gru 27 14:14:09 lapa kernel: random: nonblocking pool is initialized
    gru 27 14:14:09 lapa kernel: EXT4-fs (sdb1): re-mounted. Opts: data=ordered
    gru 27 14:14:09 lapa systemd-journal[141]: Journal started
    -- Subject: Uruchomiono Journal
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Systemowy proces dziennika został uruchomiony, otworzył pliki dziennika do
    -- zapisu i jest gotowy do przetwarzania żądań.
    gru 27 14:14:09 lapa systemd-udevd[174]: starting version 218
    gru 27 14:14:09 lapa swapon[168]: swapon: stat nie powiodło się /tmp/root.x86_64/dev/sdb2: Nie ma takiego pliku ani katalogu
    gru 27 14:14:12 lapa kernel: ACPI: acpi_idle registered with cpuidle
    gru 27 14:14:12 lapa kernel: acpi-cpufreq: overriding BIOS provided _PSD data
    gru 27 14:14:12 lapa kernel: input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3
    gru 27 14:14:12 lapa kernel: ACPI: Power Button [PWRB]
    gru 27 14:14:12 lapa kernel: input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input4
    gru 27 14:14:12 lapa kernel: ACPI: Sleep Button [SLPB]
    gru 27 14:14:12 lapa kernel: input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input5
    gru 27 14:14:12 lapa kernel: ACPI: Lid Switch [LID]
    gru 27 14:14:12 lapa kernel: input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input6
    gru 27 14:14:12 lapa kernel: ACPI: Power Button [PWRF]
    gru 27 14:14:12 lapa kernel: ACPI: AC Adapter [ACAD] (on-line)
    gru 27 14:14:12 lapa kernel: ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
    gru 27 14:14:12 lapa kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    gru 27 14:14:12 lapa kernel: acpi device:01: registered as cooling_device4
    gru 27 14:14:12 lapa kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input7
    gru 27 14:14:12 lapa kernel: wmi: Mapper loaded
    gru 27 14:14:12 lapa kernel: ACPI Warning: SystemIO range 0x00000b00-0x00000b07 conflicts with OpRegion 0x00000b00-0x00000b0f (\_SB_.PCI0.SMBS.SMB0) (20140724/utaddress-258)
    gru 27 14:14:12 lapa kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
    gru 27 14:14:12 lapa kernel: snd_hda_intel 0000:00:01.1: irq 25 for MSI/MSI-X
    gru 27 14:14:12 lapa kernel: Linux agpgart interface v0.103
    gru 27 14:14:12 lapa kernel: input: PC Speaker as /devices/platform/pcspkr/input/input9
    gru 27 14:14:12 lapa kernel: input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/sound/card0/input10
    gru 27 14:14:12 lapa kernel: sound hdaudioC1D0: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
    gru 27 14:14:12 lapa kernel: sound hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    gru 27 14:14:12 lapa kernel: sound hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
    gru 27 14:14:12 lapa kernel: sound hdaudioC1D0: mono: mono_out=0x0
    gru 27 14:14:12 lapa kernel: sound hdaudioC1D0: inputs:
    gru 27 14:14:12 lapa kernel: sound hdaudioC1D0: Internal Mic=0x1b
    gru 27 14:14:12 lapa kernel: sound hdaudioC1D0: Mic=0x18
    gru 27 14:14:12 lapa kernel: [drm] Initialized drm 1.1.0 20060810
    gru 27 14:14:12 lapa kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/sound/card1/hdaudioC1D0/input11
    gru 27 14:14:12 lapa kernel: input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:14.2/sound/card1/input12
    gru 27 14:14:12 lapa kernel: input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:14.2/sound/card1/input13
    gru 27 14:14:12 lapa kernel: atl1c 0000:01:00.0: version 1.0.1.1-NAPI
    gru 27 14:14:12 lapa kernel: [drm] radeon kernel modesetting enabled.
    gru 27 14:14:12 lapa kernel: checking generic (e0000000 3d0000) vs hw (e0000000 10000000)
    gru 27 14:14:12 lapa kernel: fb: switching to radeondrmfb from VESA VGA
    gru 27 14:14:12 lapa kernel: Console: switching to colour dummy device 80x25
    gru 27 14:14:12 lapa kernel: [drm] initializing kernel modesetting (SUMO 0x1002:0x9647 0x1025:0x059D).
    gru 27 14:14:12 lapa kernel: [drm] register mmio base: 0xF0200000
    gru 27 14:14:12 lapa kernel: [drm] register mmio size: 262144
    gru 27 14:14:12 lapa kernel: ATOM BIOS: Acer
    gru 27 14:14:12 lapa kernel: radeon 0000:00:01.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
    gru 27 14:14:12 lapa kernel: radeon 0000:00:01.0: GTT: 1024M 0x0000000020000000 - 0x000000005FFFFFFF
    gru 27 14:14:12 lapa kernel: [drm] Detected VRAM RAM=512M, BAR=256M
    gru 27 14:14:12 lapa kernel: [drm] RAM width 32bits DDR
    gru 27 14:14:12 lapa kernel: [TTM] Zone kernel: Available graphics memory: 434876 kiB
    gru 27 14:14:12 lapa kernel: [TTM] Zone highmem: Available graphics memory: 1550674 kiB
    gru 27 14:14:12 lapa kernel: [TTM] Initializing pool allocator
    gru 27 14:14:12 lapa kernel: [TTM] Initializing DMA pool allocator
    gru 27 14:14:12 lapa kernel: [drm] radeon: 512M of VRAM memory ready
    gru 27 14:14:12 lapa kernel: [drm] radeon: 1024M of GTT memory ready.
    gru 27 14:14:12 lapa kernel: [drm] Loading SUMO Microcode
    gru 27 14:14:12 lapa kernel: media: Linux media interface: v0.10
    gru 27 14:14:12 lapa kernel: kvm: Nested Virtualization enabled
    gru 27 14:14:12 lapa kernel: atl1c 0000:01:00.0 enp1s0: renamed from eth0
    gru 27 14:14:12 lapa kernel: cfg80211: Calling CRDA to update world regulatory domain
    gru 27 14:14:12 lapa kernel: mousedev: PS/2 mouse device common for all mice
    gru 27 14:14:12 lapa kernel: acer_wmi: Acer Laptop ACPI-WMI Extras
    gru 27 14:14:12 lapa kernel: acer_wmi: Function bitmap for Communication Button: 0x1
    gru 27 14:14:12 lapa kernel: acer_wmi: Brightness must be controlled by acpi video driver
    gru 27 14:14:12 lapa kernel: input: Acer WMI hotkeys as /devices/virtual/input/input14
    gru 27 14:14:12 lapa kernel: input: Acer BMA150 accelerometer as /devices/virtual/input/input15
    gru 27 14:14:12 lapa kernel: Adding 1998844k swap on /dev/sda5. Priority:-1 extents:1 across:1998844k FS
    gru 27 14:14:12 lapa kernel: Linux video capture interface: v2.00
    gru 27 14:14:12 lapa kernel: psmouse serio1: hgpk: ID: 10 00 64
    gru 27 14:14:12 lapa kernel: ACPI: Battery Slot [BAT1] (battery present)
    gru 27 14:14:12 lapa kernel: [drm] Internal thermal controller without fan control
    gru 27 14:14:12 lapa kernel: [drm] Found smc ucode version: 0x00011200
    gru 27 14:14:12 lapa kernel: [drm] radeon: dpm initialized
    gru 27 14:14:12 lapa kernel: uvcvideo: Found UVC 1.00 device 1.3M HD WebCam (04fc:2801)
    gru 27 14:14:12 lapa kernel: [drm] GART: num cpu pages 262144, num gpu pages 262144
    gru 27 14:14:12 lapa kernel: input: 1.3M HD WebCam as /devices/pci0000:00/0000:00:13.2/usb1/1-1/1-1:1.0/input/input16
    gru 27 14:14:12 lapa kernel: usbcore: registered new interface driver uvcvideo
    gru 27 14:14:12 lapa kernel: USB Video Class driver (1.1.1)
    gru 27 14:14:12 lapa kernel: [drm] PCIE GART of 1024M enabled (table at 0x0000000000273000).
    gru 27 14:14:12 lapa kernel: radeon 0000:00:01.0: WB enabled
    gru 27 14:14:12 lapa kernel: radeon 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xff899c00
    gru 27 14:14:12 lapa kernel: radeon 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0xff899c0c
    gru 27 14:14:12 lapa kernel: radeon 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xf9932118
    gru 27 14:14:12 lapa kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    gru 27 14:14:12 lapa kernel: [drm] Driver supports precise vblank timestamp query.
    gru 27 14:14:12 lapa kernel: radeon 0000:00:01.0: radeon: MSI limited to 32-bit
    gru 27 14:14:12 lapa kernel: radeon 0000:00:01.0: irq 26 for MSI/MSI-X
    gru 27 14:14:12 lapa kernel: radeon 0000:00:01.0: radeon: using MSI.
    gru 27 14:14:12 lapa kernel: [drm] radeon: irq initialized.
    gru 27 14:14:12 lapa kernel: [drm] ring test on 0 succeeded in 1 usecs
    gru 27 14:14:12 lapa kernel: [drm] ring test on 3 succeeded in 3 usecs
    gru 27 14:14:12 lapa kernel: wl: module license 'Mixed/Proprietary' taints kernel.
    gru 27 14:14:12 lapa kernel: Disabling lock debugging due to kernel taint
    gru 27 14:14:12 lapa kernel: [drm] ring test on 5 succeeded in 1 usecs
    gru 27 14:14:12 lapa kernel: [drm] UVD initialized successfully.
    gru 27 14:14:12 lapa kernel: [drm] ib test on ring 0 succeeded in 0 usecs
    gru 27 14:14:12 lapa kernel: [drm] ib test on ring 3 succeeded in 0 usecs
    gru 27 14:14:12 lapa kernel: [drm] ib test on ring 5 succeeded
    gru 27 14:14:12 lapa kernel: wlan0: Broadcom BCM4358 802.11 Hybrid Wireless Controller 6.30.223.248 (r487574)
    gru 27 14:14:12 lapa kernel: [drm] radeon atom DIG backlight initialized
    gru 27 14:14:12 lapa kernel: [drm] Radeon Display Connectors
    gru 27 14:14:12 lapa kernel: [drm] Connector 0:
    gru 27 14:14:12 lapa kernel: [drm] VGA-1
    gru 27 14:14:12 lapa kernel: [drm] HPD2
    gru 27 14:14:12 lapa kernel: [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
    gru 27 14:14:12 lapa kernel: [drm] Encoders:
    gru 27 14:14:12 lapa kernel: [drm] CRT1: INTERNAL_UNIPHY2
    gru 27 14:14:12 lapa kernel: [drm] CRT1: NUTMEG
    gru 27 14:14:12 lapa kernel: [drm] Connector 1:
    gru 27 14:14:12 lapa kernel: [drm] LVDS-1
    gru 27 14:14:12 lapa kernel: [drm] HPD1
    gru 27 14:14:12 lapa kernel: [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
    gru 27 14:14:12 lapa kernel: [drm] Encoders:
    gru 27 14:14:12 lapa kernel: [drm] LCD1: INTERNAL_UNIPHY2
    gru 27 14:14:12 lapa kernel: [drm] LCD1: TRAVIS
    gru 27 14:14:12 lapa kernel: [drm] Connector 2:
    gru 27 14:14:12 lapa kernel: [drm] HDMI-A-1
    gru 27 14:14:12 lapa kernel: [drm] HPD6
    gru 27 14:14:12 lapa kernel: [drm] DDC: 0x6480 0x6480 0x6484 0x6484 0x6488 0x6488 0x648c 0x648c
    gru 27 14:14:12 lapa kernel: [drm] Encoders:
    gru 27 14:14:12 lapa kernel: [drm] DFP1: INTERNAL_UNIPHY1
    gru 27 14:14:12 lapa kernel: [drm] fb mappable at 0xE0477000
    gru 27 14:14:12 lapa kernel: [drm] vram apper at 0xE0000000
    gru 27 14:14:12 lapa kernel: [drm] size 5787648
    gru 27 14:14:12 lapa kernel: [drm] fb depth is 24
    gru 27 14:14:12 lapa kernel: [drm] pitch is 6400
    gru 27 14:14:12 lapa kernel: fbcon: radeondrmfb (fb0) is primary device
    gru 27 14:14:12 lapa kernel: wl 0000:02:00.0 wlp2s0: renamed from wlan0
    gru 27 14:14:12 lapa kernel: Console: switching to colour frame buffer device 200x56
    gru 27 14:14:12 lapa kernel: radeon 0000:00:01.0: fb0: radeondrmfb frame buffer device
    gru 27 14:14:12 lapa kernel: radeon 0000:00:01.0: registered panic notifier
    gru 27 14:14:12 lapa kernel: [drm] Initialized radeon 2.40.0 20080528 for 0000:00:01.0 on minor 0
    gru 27 14:14:12 lapa kernel: psmouse serio1: elantech: assuming hardware version 3 (with firmware version 0x450f01)
    gru 27 14:14:12 lapa kernel: psmouse serio1: elantech: Synaptics capabilities query result 0x68, 0x15, 0x0a.
    gru 27 14:14:12 lapa kernel: microcode: CPU0: new patch_level=0x03000027
    gru 27 14:14:12 lapa kernel: microcode: CPU1: new patch_level=0x03000027
    gru 27 14:14:12 lapa kernel: microcode: CPU2: new patch_level=0x03000027
    gru 27 14:14:12 lapa kernel: microcode: CPU3: new patch_level=0x03000027
    gru 27 14:14:12 lapa kernel: input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input8
    gru 27 14:14:12 lapa systemd-logind[241]: New seat seat0.
    -- Subject: Dostępne jest nowe stanowisko seat0
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
    -- Nowe stanowisko seat0 zostało skonfigurowane i jest teraz dostępne.
    gru 27 14:14:12 lapa systemd-logind[241]: Watching system buttons on /dev/input/event5 (Power Button)
    gru 27 14:14:12 lapa systemd-logind[241]: Watching system buttons on /dev/input/event6 (Video Bus)
    gru 27 14:14:12 lapa systemd-logind[241]: Watching system buttons on /dev/input/event2 (Power Button)
    gru 27 14:14:12 lapa systemd-logind[241]: Watching system buttons on /dev/input/event4 (Lid Switch)
    gru 27 14:14:12 lapa systemd-logind[241]: Watching system buttons on /dev/input/event3 (Sleep Button)
    gru 27 14:14:13 lapa dbus[240]: [system] Activating via systemd: service name='org.freedesktop.Accounts' unit='accounts-daemon.service'
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: X.Org X Server 1.16.3
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: Release Date: 2014-12-20
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: X Protocol Version 11, Revision 0
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: Build Operating System: Linux 3.17.4-1-ARCH i686
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: Current Operating System: Linux lapa 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:58:19 UTC 2014 i686
    gru 27 14:14:13 lapa dbus[240]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e298e7c2-a35d-4fd4-b1a9-41e2cd84ae0e rw quiet
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: Build Date: 20 December 2014 01:37:30PM
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: Current version of pixman: 0.32.6
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: Before reporting problems, check http://wiki.x.org
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: to make sure that you have the latest version.
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: Markers: (--) probed, (**) from config file, (==) default setting,
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (++) from command line, (!!) notice, (II) informational,
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (++) Log file: "/dev/null", Time: Sat Dec 27 14:14:13 2014
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (==) No Layout section. Using the first Screen section.
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (==) No screen section available. Using defaults.
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (**) |-->Screen "Default Screen Section" (0)
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (**) | |-->Monitor "<default monitor>"
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (==) No monitor specified for screen "Default Screen Section".
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: Using a default monitor configuration.
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (==) Automatically adding devices
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (==) Automatically enabling devices
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (==) Automatically adding GPU devices
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: Entry deleted from font path.
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: Entry deleted from font path.
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: Entry deleted from font path.
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: Entry deleted from font path.
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (==) FontPath set to:
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: /usr/share/fonts/misc/,
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: /usr/share/fonts/TTF/
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (==) ModulePath set to "/usr/lib/xorg/modules"
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (II) The server relies on udev to provide the list of input devices.
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: If no devices become available, reconfigure udev or disable AutoAddDevices.
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (II) Loader magic: 0x82a16c0
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: (II) Module ABI versions:
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: X.Org ANSI C Emulation: 0.4
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: X.Org Video Driver: 18.0
    gru 27 14:14:13 lapa gdm-Xorg-:0[260]: X.Org XInput driver : 21.0
    gru 27 14:14:13 lapa

    byte wrote:What's your card?
    You don't need "radeon" in MODULES, and neither the Module section in xorg.conf, nor the DRI one.
    yeap, removing 'radeon' from 'MODULES=' seems to of loaded the driver in the right order and made DRI work,
    thank you.

  • Call shell from pl

    Hello,
    Is there a way I could call 'kill -9 ' for some spid through a plsql procedure ?
    So I could type something like
    exec my_proc(1234567);
    and that would kill
    proces with the SPID 1234567 on operating system.
    This is the 11g database

    ViliDialis wrote:
    thank you ,
    but unfortunately ,
    errors are produced :
    ERROR at line 1:
    ORA-00932: inconsistent datatypes: expected a Java type at argument position 2
    to which some Oracle value can be converted got something else
    Is there any other way to execute shell commands from plsql ?
    Oracle Database Search Results: external procedure

  • Run shell commands using java program

    Hi guys,
    I am trying to run shell commands like cd /something and ./command with arguments as follows, but getting an exception that ./command not found.Instead of changing directory using "cd" command I am passing directory as an argument in rt,exec().
    String []cmd={"./command","arg1", "arg2", "arg3"};
    File file= new File("/path");
    try{
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec(cmd,null,file);
    proc.waitFor();
    System.out.println(proc.exitValue())
    BufferedReader buf = new BufferedReader(new InputStreamReader(proc.getInputStream()));
    catch(Exception e)
    {e.printStackTrace();
    So can anyone please tell me what is wrong with this approach? or is there any better way to do this?
    Thanks,
    Hardik

    warnerja wrote:
    What gives you the idea that the process to execute is called "./command"? If this is in Windows, it is "cmd.exe" for example.It does not have to be cmd.exe in Windows. Any executable or .bat file can be executed as long as one either specifies the full path or the executable is in a directory that is in the PATH.
    On *nix the file has to have the executable bit set and one either specifies the full path or the executable must be in a directory that is in the PATH . If the executable is a script then if there is a hash-bang (#!) at the start of the first line then the rest of the line is taken as the interpreter  to use. For example #!/bin/bash or #!/usr/bin/perl .
    One both window and *nix one can exec() an interpreter directly and then pass the commands into the process stdin. The advantage of doing this is that one can change the environment in one line and it  remains in effect for subsequent line. A simple example of this for bash on Linux is
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    public class ExecInputThroughStdin
        public static void main(String args[]) throws Exception
            final Process process = Runtime.getRuntime().exec("bash");
            new Thread(new PipeInputStreamToOutputStreamRunnable(process.getErrorStream(), System.err)).start();
            new Thread(new PipeInputStreamToOutputStreamRunnable(process.getInputStream(), System.out)).start();
            final Writer stdin = new OutputStreamWriter(process.getOutputStream());
            stdin.write("xemacs&\n");
            stdin.write("cd ~/work\n");
            stdin.write("dir\n");
            stdin.write("ls\n");
            stdin.write("gobbldygook\n"); // Forces output to stderr
            stdin.write("echo $PATH\n");
            stdin.write("pwd\n");
            stdin.write("df -k\n");
            stdin.write("ifconfig\n");
            stdin.write("echo $CWD\n");
            stdin.write("dir\n");
            stdin.write("cd ~/work/jlib\n");
            stdin.write("dir\n");
            stdin.write("cat /etc/bash.bashrc\n");
            stdin.close();
            final int exitVal = process.waitFor();
            System.out.println("Exit value: " + exitVal);
    }One can use the same approach with Windows using cmd.exe but then one must be aware of the syntactic differences between commands running in .bat file and command run from the command line. Reading 'help cmd' s essential here.
    The class PipeInputStreamToOutputStreamRunnable in the above example just copies an InputStream to an OutputStream and I use
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    public class PipeInputStreamToOutputStreamRunnable implements Runnable
        public PipeInputStreamToOutputStreamRunnable(InputStream is, OutputStream os)
            is_ = is;
            os_ = os;
        public void run()
            try
                final byte[] buffer = new byte[1024];
                for (int count = 0; (count = is_.read(buffer)) >= 0;)
                    os_.write(buffer, 0, count);
            } catch (IOException e)
                e.printStackTrace();
        private final InputStream is_;
        private final OutputStream os_;
    }

  • Shell commands from JSP after Forms migration

    During application migration from forms 9i to JSP & BC4J, I have to code the following Forms code into my JSP application.This is for a button pressed trigger.
    DECLARE
    RENAME_STRING VARCHAR2(120):= 'RENAME C:\BRC\PDATA' ||:DRAWING_ACCOUNTS.ACCOUNT_ID|| '.TXT P' || :DRAWING_ACCOUNTS.ACCOUNT_ID || TO_CHAR(SYSDATE,'DDMMYY')|| '.txt';
    BEGIN
    HOST( RENAME_STRING, no_screen );
    web.show_document( 'http://hostname/selectfile.html', '_new');
         IF NOT Form_Success THEN
              Message('Error -- File not Renamed.');
         END IF;
    END;
    How can I do this simple sending of OS commands in JSP, any ideas?

    Hi,
    Not only rename commands but I have to pass several other os commands like 'sqlldr' for data upload as well. Therefore, I need a reusable piece of code for that. I have acheived some way for that using the following code.
    put the following file in that package.
    package BankrecBC4J;
    import java.util.*;
    import java.io.*;
    import java.net.*;
    import java.text.*;
    import java.util.zip.*;
    class StreamGobbler extends Thread
    InputStream is;
    String type;
    StreamGobbler(InputStream is, String type)
    this.is = is;
    this.type = type;
    public void run()
    try
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line=null;
    while ( (line = br.readLine()) != null)
    System.out.println(type + ">" + line);
    } catch (IOException ioe)
    ioe.printStackTrace();
    public class GoodWindowsExec
    private static final boolean NATIVE_COMMANDS = true;
    //Allow browsing and file manipulation only in certain directories
         private static final boolean RESTRICT_BROWSING = false;
    //If true, the user is allowed to browse only in RESTRICT_PATH,
    //if false, the user is allowed to browse all directories besides RESTRICT_PATH
    private static final boolean RESTRICT_WHITELIST = false;
    //Paths, sperated by semicolon
    //private static final String RESTRICT_PATH = "C:\\CODE;E:\\"; //Win32: Case important!!
         private static final String RESTRICT_PATH = "/etc;/var";
         * Command of the shell interpreter and the parameter to run a programm
         private static final String[] COMMAND_INTERPRETER = {"cmd", "/C"}; // Dos,Windows
         //private static final String[] COMMAND_INTERPRETER = {"/bin/sh","-c"};      // Unix
         * Max time in ms a process is allowed to run, before it will be terminated
    private static final long MAX_PROCESS_RUNNING_TIME = 30 * 1000; //30 seconds
         //Normally you should not change anything after this line
         //Change this to locate the tempfile directory for upload (not longer needed)
         private static String tempdir = ".";
         private static String VERSION_NR = "1.1a";
         private static DateFormat dateFormat = DateFormat.getDateTimeInstance();
    public GoodWindowsExec(String g)
    System.out.println(" hello " + g);
    /*if (g.length < 1)
    System.out.println("USAGE: java GoodWindowsExec <cmd>");
    System.exit(1);
    try
    String osName = System.getProperty("os.name" );
    String[] cmd = new String[3];
    System.out.println("here ");
    if( osName.equals( "Windows NT" ) )
    cmd[0] = "cmd.exe" ;
    cmd[1] = "/C" ;
    cmd[2] = g;
    else if( osName.equals( "Windows 2000" ) )
    System.out.println("Windows 2000");
    cmd[0] = "command.com" ;
    cmd[1] = "/C" ;
    cmd[2] = g;
    else if( osName.equals( "Windows XP" ) )
    System.out.println("Windows XP");
    cmd[0] = "command.com" ;
    cmd[1] = "/C" ;
    cmd[2] = g;
    else if( osName.equals( "Windows 95" ) )
    cmd[0] = "command.com" ;
    cmd[1] = "/C" ;
    cmd[2] = g;
    Runtime rt = Runtime.getRuntime();
    System.out.println("Execing " + cmd[0] + " " + cmd[1]
    + " " + cmd[2]);
    Process proc = rt.exec(cmd);
         * Starts a native process on the server
         *      @param command the command to start the process
         *     @param dir the dir in which the process starts
    // any error message?
    StreamGobbler errorGobbler = new
    StreamGobbler(proc.getErrorStream(), "ERROR");
    // any output?
    StreamGobbler outputGobbler = new
    StreamGobbler(proc.getInputStream(), "OUTPUT");
    // kick them off
    errorGobbler.start();
    outputGobbler.start();
    // any error???
    int exitVal = proc.waitFor();
    System.out.println("ExitValue: " + exitVal);
    } catch (Throwable t)
    t.printStackTrace();
         * Converts some important chars (int) to the corresponding html string
         static String conv2Html(int i) {
              if (i == '&') return "&amp;";
              else if (i == '<') return "&lt;";
              else if (i == '>') return "&gt;";
              else if (i == '"') return "&quot;";
              else return "" + (char) i;
    static String startProcess(String command, String dir) throws IOException {
              StringBuffer ret = new StringBuffer();
              String[] comm = new String[3];
              comm[0] = COMMAND_INTERPRETER[0];
              comm[1] = COMMAND_INTERPRETER[1];
              comm[2] = command;
              long start = System.currentTimeMillis();
              try {
                   //Start process
                   Process ls_proc = Runtime.getRuntime().exec(comm, null, new File(dir));
                   //Get input and error streams
                   BufferedInputStream ls_in = new BufferedInputStream(ls_proc.getInputStream());
                   BufferedInputStream ls_err = new BufferedInputStream(ls_proc.getErrorStream());
                   boolean end = false;
                   while (!end) {
                        int c = 0;
                        while ((ls_err.available() > 0) && (++c <= 1000)) {
                             ret.append(conv2Html(ls_err.read()));
                        c = 0;
                        while ((ls_in.available() > 0) && (++c <= 1000)) {
                             ret.append(conv2Html(ls_in.read()));
                        try {
                             ls_proc.exitValue();
                             //if the process has not finished, an exception is thrown
                             //else
                             while (ls_err.available() > 0)
                                  ret.append(conv2Html(ls_err.read()));
                             while (ls_in.available() > 0)
                                  ret.append(conv2Html(ls_in.read()));
                             end = true;
                        catch (IllegalThreadStateException ex) {
                             //Process is running
                        //The process is not allowed to run longer than given time.
                        if (System.currentTimeMillis() - start > MAX_PROCESS_RUNNING_TIME) {
                             ls_proc.destroy();
                             end = true;
                             ret.append("!!!! Process has timed out, destroyed !!!!!");
                        try {
                             Thread.sleep(50);
                        catch (InterruptedException ie) {}
              catch (IOException e) {
                   ret.append("Error: " + e);
              return ret.toString();
    In the first line of the JSP file include the package
    <%@page import="BankrecBC4J.*" %>
    and call
    it this way:from the jsp page
    new GoodWindowsExec ("calc"); //
    which should open up the calciulator, and should do for other os commands as well.
    Thanks

  • Concurrent HOST program calling a proc to log using fnd_file.put_line

    Hello all,
    I have a concurrent HOST program that does 3 main things
    1. Calls a sqlplus program to do some initializing. This program is a proc in a package.
    2. Runs sqlldr to load data to custom tables.
    3. Calls a sqlplus program to do manipulate the data. This program is a proc in a package.
    In step 3 of above, the package procedue does a "submit_request" to call the "Supplier Open Interface Import". This
    request actually fires. However my problem is the subsequent call to fnd_file.put_line(fnd_file.log, 'Test message'), does not get logged
    to the log file of the HOST program, nor to the log file of the "Supplier Open Interfface Import" log file. A check
    of $APPLPTMP (or /usr/tmp) shows that a file of say " l0023761.tmp" contains my 'Test message' text.
    I believe the problem is that the put_line() call has no association with the HOST or the "Supplier Open Interface Import. How
    do I associate the logging to either program? Is it even possible? I want the logging, so as to see the progress
    of the HOST program.
    The sniippet of proc code is:
    PROCEDURE abc() IS
    BEGIN
    request_id:= FND_REQUEST.SUBMIT_REQUEST
    (Application => 'SQLAP'
    ,Program => 'APXSUIMP'
    ,Description => NULL
    ,Start_time => SYSDATE
    ,Sub_Request => FALSE
    ,Argument1 => 'ALL'
    ,Argument2 => 1000
    ,Argument3 => 'N'
    ,Argument4 => 'N'
    ,Argument5 => 'N'
    fnd_file.put_line (fnd_file.log,'Test message');
    COMMIT;
    END abc;
    Alex.

    Shell scripts are very hard to develop and maintain. Many things that developers previously had to do in shell scripts, developers can now do in PL/SQL. Hence, I recommend that you avoid shell scripts as much as possible.
    As well, SQL*Loader is an old, inflexible tool. Instead, define your OS file as an external table, and then extract from the external table using a normal select statement. http://www.orafaq.com/node/848 I recommend that you avoid SQL*Loader and use external tables instead.
    Using PL/SQL and external tables - and avoiding the shell script and SQL*Loader - a much better way to accomplish the same thing all inside one packaged procedure that is registered as a concurrent program:
    - initialize
    - select from the external table
    - manipulate the data

  • How to call a shell script via ODI

    Hi,
    I need suggestion on following issues:
    1) How to call a shell script via ODI?.. I tried using OSCommand utility .inspite of the execution being successful the data is not written into the new file in the desired format. After processing new file is created in the mentioned location but its empty.
    2) I'm calling a procedure in ODI to load data into my fact. But once the fact gets loaded i want to update the log details (num of rows processed,num of rows inserted,num of rows rejected etc) in my log table. I'm planning to use a proc for updating but need to know from where can i find these details. Is there a table in work rep which gives me these info like how we get if we execute an interface.?
    Please help me out.. Its urgent
    Regards
    Surabhi

    Hello,
    Question 1 appears a little vague, please elaborate. If you're looking to capture a return value from the command execution, you will need to pipe the return value to a file, then read from there.
    The execution information is stored in the SNP_STEP_LOG table in the Work Repository. You will need to do a series of joins to retrieve the exact table that was updated. Good luck with this...

  • PROBLEM in executing a shell command through Runtime.getRuntime().exec()

    Hi all,
    I was trying to execute the following code:
    import java.io.BufferedReader;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.sql.CallableStatement;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.Statement;
    import java.sql.ResultSet;
    * Created on Mar 13, 2007
    * To change the template for this generated file go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    * @author 195092
    * To change the template for this generated type comment go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    public class ClassReportDeleteDaemon {
         ClassReportDeleteDaemon()
         public static void main(String[] args) throws Exception
              Connection conn = null;
              Statement stmt = null;
              ResultSet rs;
              String strQuery = null;
              String strdaysback = null;
              String delstring = null;
              int daysback;
              try
                   System.out.println("REPORT DELETION ::: FINDING DRIVER");               
                   Class.forName("oracle.jdbc.driver.OracleDriver");
              catch(Exception e)
                   System.out.println("REPORT DELETION ::: DRIVER EXCEPTION--" + e.getMessage());
                   System.out.println("REPORT DELETION ::: DRIVER NOT FOUND");
              try
                   String strUrl = "jdbc:Oracle:thin:" + args[0] + "/" + args[1] + "@" + args[2];
                   System.out.println("REPORT DELETION ::: TRYING FOR JDBC CONNECTION");
                   conn = DriverManager.getConnection(strUrl);
                   System.out.println("REPORT DELETION ::: SUCCESSFUL CONNECTION");
                   while(true)
                        System.out.println("WHILE LOOP");
                        stmt = conn.createStatement();
                        strQuery = "SELECT REP_DAYS_OLD FROM T_REPORT_DEL";
                        rs = stmt.executeQuery(strQuery);
                        while(rs.next())
                             strdaysback = rs.getString("REP_DAYS_OLD");
                             //daysback = Integer.parseInt(strdaysback);
                        System.out.print("NO of Days===>" + strdaysback);
                        delstring = "find /tmp/reports1 -name " + "\"" + "*" + "\"" + " -mtime +" + strdaysback + " -print|xargs rm -r";
                        System.out.println("DELETE STRING===>" + delstring);
                        Process proc = Runtime.getRuntime().exec(delstring);
                        //Get error stream to display error messages encountered during execution of command
                        InputStream errStream=proc.getErrorStream();
                        //Get error stream to display output messages encountered during execution of command
                        InputStream inStream = proc.getInputStream();
                        InputStreamReader strReader = new InputStreamReader(errStream);
                        BufferedReader br = new BufferedReader(strReader);
                        String strLine = null;
                        while((strLine=br.readLine())!=null)
                             System.out.println(strLine);
                   }     //end of while loop
              }     //end of try
              catch (Exception e)
                   System.out.println("REPORT DELETION ::: EXCEPTION---" + e.getMessage());
                   conn.close();
         }     //end of main
    }     //end of ClassReportDeleteDaemon
    But it is giving the error "BAD OPTION -print|xargs". The command run well in shell.
    Please help.
    Thanking u.......

    Since the pipe '|' is interpreted by the shell then you need the shell to invoke your command
            String[] command = {"sh","-c","find /tmp/reports1 -name " + "\"" + "*" + "\"" + " -mtime +" + strdaysback + " -print|xargs rm -r"};
            final Process process = Runtime.getRuntime().exec(command);
      You should also read http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html at least twice and implement the recommendation regarding stdout and stderr.
    P.S. Why are you not using Java to find and delete these files?
    Message was edited by:
    sabre150

Maybe you are looking for

  • Can't get Windows XP Mode in Windows 7 to fill 27" screen

    I successfully installed Windows XP Mode on my Windows 7 OS running in Boot Camp and it works but the XP VM doesn't fill the 27" screen when I expand it to Full Screen. I get black bars on the left and right side of the XP OS, the top and bottom are

  • I need help putting a game on my ipod....

    I feel stupid asking this question since im pretty capable of doing this normally, but for some reason i haven't been able to figure out how to upload my game to my ipod. Ive tried everything i could and nothing seems to work....what do i do?

  • Bill of lading is not populating

    We are entering bill of lading information in MIGO but when we are posting invoice through MIRO Bill of lading field is empty. What can we do to it appear on the MIRO. Regards Ram

  • Shapes are already on Ai CC Library but can't drag them to the canvas, why?

    I created some images on Adobe Shape and saved them for Illustrator CC; I can see them on the Ai Library but can't drag them to the canvas. If I double-click on one thumbnail this message appears: This item isn't directly editable in Illustrator, but

  • Failing - SQL Server Patch Installation

    Hi Team: We are trying to install SQL Server Patch --> SQL Server 2012 SP1 CU3 --> KB2812412 but it is failing with the below issue (error message find in screen shot) Our Database Engine is running with --> SQL Server 11.0.3350 SSAS is running with