Need Count of Displayed records after suprresion

Hi All,
My question is looks very simple but it made me very tough to get it. pls help me if you have any clue.
I have a report having 20 detail records from Database.
I used some condition at Section expert to suppress some data, after that I have only 10 records as report out put.
Now, at the report footer I need the count of the records.So, when I use count function its showing 20 instead of 10.
How to get the count of available records after suppressing.
Thank you,
Krishna Pingali

Hi Krishna!
I would try using a conditional Running Total formula to add each record that does not fit the suppression criteria, and then a display formula to display the final total.
Ex -
@Non-Suppressed Count Calc
WhilePrintingRecords;
NumberVar NSC;
If <> <suppression criteria> Then NSC := NSC + 1
Else NSC := NSC
@Non-Suppressed Count Display
WhilePrintingRecords;
NumberVar NSC;
NSC
Place the first formula in your Details Section and the Second in the appropriate Footer Section.
Hope that helps!  

Similar Messages

  • Need to display footer after displaying some item data

    Hi ,
      I have the requirement that i need to display only 15 records in a page,If more records display 15 and then need to display footer and need to go next page  to display next records.Every thing is ok but how to display footer data after 15 records in first page.Please help me on this.
    Thanks,
    Kumar.

    Hi friend,
    Its simple.
    Just do the code as follows,
    The logic flows like this,
    table
      Header
      Main Area
         at the end of cells add alternatives
         In the alternatives check for loop count (you can use a variable and increment for each loop or you can use sy-index system      
         field) check whether the count is 15.
         True break page using commands.
         So the control will come to footer and it will display the footer and the loop will continue.
    Footer.
    Else try to put the fotter like line type inside the main area and then display it after 15 records and do a page break.
    Either of the two ways you can do this.
    If you face any issues in this revert back to me i will help you.
    Thanks,
    Sri Hari

  • Query in SQL to display count of all records but where condition is present

    Hi All,
    I have situation where I need to display count of all records all particular period but in where condition type condition has to be present :
    Please find the below sample data :
    PERIOD_ID     TYPE     MV_COUNT     IS_FLAG
    20110401     AM     1     0
    20110401     AM     1     0
    20110401     MS     29     0
    20110501     MS     1     0
    20110601     MS     14     0
    20110701     MS     2     0
    20110401     MS     1     0
    20110401     AM     2     0
    20110401     AM     69     0
    20110401     AM     2     0
    finally I need for type = MS
    i) total is_flag count for all the periods
    ii) for period=20110501 what is the mv_count
    I need to use the table single time (ie not self join outer joins )
    I have tried to use partition by clause but it will filter out the data .
    Cheers,
    Sp

    842106 wrote:
    finally I need for type = MS
    i) total is_flag count for all the periods
    ii) for period=20110501 what is the mv_count
    I need to use the table single time (ie not self join outer joins )
    I have tried to use partition by clause but it will filter out the data .
    select sum(is_flag) is_flg_count,
             sum
                 case when period = 20110501 then mv_count else 0 end
                ) mv_cnt_for_20110501
    from your_table
    where type = 'MS';

  • How to Display Record Count on Search page?

    Hi
    I am new to OAF and one of the requirement is to display record count on Search page . I followed the same steps in Emp Search page as an example and created my search page.
    I followed the following steps
    1) I created a transietn Attribute in VO by name RecordCount
    2) I had written a method in AMImpl
    public void getRecordCount() {
    OAViewObject vo = getXXG2SourceAcctSearchVO1();
    int fetchedRowCount = vo.getFetchedRowCount();
    String msg = fetchedRowCount + " are retrived by query ";
    System.out.println(msg);
    String xfetchedRowCount = Integer.toString(fetchedRowCount);
    System.out.println("xfetchedRowCount : " + xfetchedRowCount);
    OARow reportRow = (OARow)vo.createRow();
    System.out.println("in set attribute");
    reportRow.setAttribute("RecordCount",xfetchedRowCount); // I am using this way and trying to display record count into RecordCount view Attribute
    }//getRecordCount
    3) on the SearchPG, I created a new messageStyledtext by name RecordCount and assinged VO and viewAttribute accordingly
    I am not able to see record count when i run the page ?
    Am i missing any steps ?
    I see the messages in the log file but not in Record count box ?
    Any suggestions?
    Thanks
    Ravi

    Hi Anoop
    i made the code change according to you and because of the following condition, it is createing a" new row" in the search page
    Row row = vo.createRow();
    vo.insertRow(row);
    For every search it is creating a new blank row in search page .
    I did some more research and modified my code as
    public void getRecordCount() {
    OAViewObject vo = getXXG2SourceAcctSearchVO1();
    int fetchedRowCount = 0;
    fetchedRowCount = vo.getFetchedRowCount();
    String msg = fetchedRowCount + " are retrived by query ";
    System.out.println(msg);
    //vo.setMaxFetchSize(0);
    //vo.executeQuery();
    if (fetchedRowCount == 0 )
    Row row = vo.createRow();
    //row = (OARow)vo.first();
    row.setAttribute("RecordCount", "0");
    else
    String xfetchedRowCount = Integer.toString(fetchedRowCount);
    System.out.println("xfetchedRowCount : " + xfetchedRowCount);
    Row row = vo.createRow();
    //vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    // Set the primary key value for this single-row VO.
    row = (OARow)vo.first();
    row.setAttribute("RecordCount", xfetchedRowCount);
    and in AM , I am calling this method in PFR as follows
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am1 =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    am1.invokeMethod("getRecordCount");
    now i see the record count on the search page . but after 2-3 searches, the record count value is not populating the correct value. its weird
    Any suggestions
    Thanks
    Ravi

  • Re: Displaying Current Record After Delete

    Hi all,
    I am using Jdeveloper 11.1.2.3.0
    I have two tables which has parent child relation among the both.
    I dragged the parent table as a adf form on to the .jspx page.
    Now if i am trying to delete fifth record in the parent table it is giving error message like "Table has child record, delete unsuccessful"
    It is fine, but the control going to first record after deletion.
    But i want to display current deleting record on the page if deletion is unsuccessful.
    Can anybody help me to resolve the above one.
    Thanks,
    Syam

    In this code when the bolded if condition fails i want to delete that record. I tried "delete struct1 index sy-tabix" but that record is not deleted.
    I tried "clear  struct1 ". its deletes the current record.
    but in some field its getting zero value & it is appending as a additional record.
    Please help me.
    loop at cdhdr.
    if ( it1-tcode = 'FSS0' or it1-tcode = 'FS00' ).
        w1_saknr = it1-objectid+4(10).
        w_orgid = it1-objectid+14(4).
       loop at it_cdpos  where changenr eq it1-changenr
                      and objectid eq it1-objectid
                       and   objectclas eq it1-objectclas.
       <b>If w_orgid in r_orgid.</b> 
      IF ( it_CDPOS-FNAME = 'XLOEV' AND it_cdpos-value_new eq 'X' ).
         replace struct1-change_ind with 'D' into struct1-change_ind.
                struct1-bukrs = w_orgid.
                struct1-cost = space.
                struct1-plant = space.
                append struct1.
          else.
             struct1-bukrs = w_orgid.
             struct1-change_ind = w_chngid.
             struct1-cost = space.
             struct1-plant = space.
             append struct1.
          endif.
       <b> else</b>.
        <b>delete struct1 index sy-tabix</b>.
      endif.
        append struct1.
           endloop.
    endif.
    endloop.

  • Need to be displayed in ALV grid

    Dear All,
    Below is my Program's code which is working accordingly. But in this code I am generating output as Basic list display.  But  I want my output to be displayed in ALV only. So from where I will start. Where to add code for Alv in my existing code. Can anybody help me out on the same.
    Regards,
    Abhay.
    REPORT  zfi_temp_rfkopr00
            MESSAGE-ID FR
           LINE-SIZE  132
           NO STANDARD PAGE HEADING.
    Report Name : Vendor Open Items Ageing Report
    Purpose : This report displays the Vendor Open Items based on
    different Ageing days (Calculated by taking the Base
    Line date and the days mentioned in Payment Terms)
    D A T A B A S E T A B L E S D E C L A R A T I O N
    TABLES: lfa1, " Vendor Master (General)
    t001, " Company Codes
    rfpdo.
    I N T E R N A L T A B L E S D E C L A R A T I O N S *
    Internal Table for Vendor Open Items Data
    DATA: BEGIN OF int_bsik OCCURS 0,
    lifnr LIKE bsik-lifnr, " Vendor Number
    name1 LIKE lfa1-name1, " Vendor Name
    shkzg LIKE bsik-shkzg, " Dr/Cr Indicator
    belnr LIKE bsik-belnr, " Document Number
    xblnr LIKE bsik-xblnr, " Ref Doc No
    blart LIKE bsik-blart, " Document Type
    zfbdt LIKE bsik-zfbdt, " Base Line Date
    zbd1t LIKE bsik-zbd1t,                                      " Due date1
    zbd2t LIKE bsik-zbd2t,                                      " Due Date2
    zbd3t LIKE bsik-zbd3t,                                      " Due Date3
    waers LIKE bsik-waers, " Currency
    dmbtr LIKE bsik-dmbtr, " Amount in Local Curr
    END OF int_bsik.
    Internal Table for Amounts Sum Up Data
    DATA: BEGIN OF int_final OCCURS 0,
    lifnr LIKE bsik-lifnr, " Vendor Number
    name1 LIKE lfa1-name1, " Vendor Name
    total1 LIKE bsik-dmbtr, " Amount in Local Curr
    total2 LIKE bsik-dmbtr, " Amount in Local Curr
    total3 LIKE bsik-dmbtr, " Amount in Local Curr
    total4 LIKE bsik-dmbtr, " Amount in Local Curr
    total5 LIKE bsik-dmbtr, " Amount in Local Curr
    total6 LIKE bsik-dmbtr, " Amount in Local Curr
    total LIKE bsik-dmbtr, " Amount in Local Curr
    END OF int_final.
    D A T A D E C L A R A T I O N S
    DATA : v_flag, " Flag
    v_gtotal1 LIKE bsik-dmbtr, " Amount Totals
    v_gtotal2 LIKE bsik-dmbtr, " Amount Totals
    v_gtotal3 LIKE bsik-dmbtr, " Amount Totals
    v_gtotal4 LIKE bsik-dmbtr, " Amount Totals
    v_gtotal5 LIKE bsik-dmbtr, " Amount Totals
    v_gtotal6 LIKE bsik-dmbtr, " Amount Totals
    v_gtotal LIKE bsik-dmbtr, " Amount Totals
    v_subtotal1 LIKE bsik-dmbtr, " Amount Totals
    v_subtotal2 LIKE bsik-dmbtr, " Amount Totals
    v_subtotal3 LIKE bsik-dmbtr, " Amount Totals
    v_subtotal4 LIKE bsik-dmbtr, " Amount Totals
    v_subtotal5 LIKE bsik-dmbtr, " Amount Totals
    v_subtotal6 LIKE bsik-dmbtr, " Amount Totals
    v_subtotal LIKE bsik-dmbtr, " Amount Totals
    v_date LIKE bsik-zfbdt, " Due Date
    v_tage1(4), " Age 30 days
    v_tage2(4), " Age 60 days
    v_tage3(4), " Age 90 days
    v_fir(15), " Column Text1
    v_sec(15), " Column Text2
    v_thir(15), " Column Text3
    v_four(17), " Column Text4
    v_fidd(4), " Days field1
    v_sedd(4), " Days field2
    v_thdd(4), " Days field3
    v_fodd(4), " Days field4
    v_str TYPE sy-lisel, " String
    v_str1(11), " String
    v_tage(3), " String
    v_date1(10). " Date field
    R A N G E D E C L A R A T I O N S
    RANGES: r_date1 FOR bsik-zfbdt, " Date Range 1
    r_date2 FOR bsik-zfbdt, " Date Range 2
    r_date3 FOR bsik-zfbdt, " Date Range 3
    r_date4 FOR bsik-zfbdt. " Date Range 4
    S E L E C T I O N S C R E E N *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_lifnr FOR lfa1-lifnr. "Vendor account
    PARAMETERS: p_bukrs LIKE t001-bukrs. "Co. Code
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: p_allgst LIKE rfpdo-allgstid OBLIGATORY DEFAULT sy-datum.
    "Open items at key date
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    PARAMETERS: p_tage1 LIKE rfpdo1-allgfael DEFAULT '30',
    p_tage2 LIKE rfpdo1-allgfael DEFAULT '60',
    p_tage3 LIKE rfpdo1-allgfael DEFAULT '90',
    p_tage4 LIKE rfpdo1-allgfael DEFAULT '120'.
    SELECTION-SCREEN END OF BLOCK b3.
    A T S E L E C T I O N S C R E E N *
    AT SELECTION-SCREEN.
    Validate the screen fields
      PERFORM validate_flds.
    S T A R T O F S E L E C T I O N *
    START-OF-SELECTION.
    Fetch main data
      PERFORM fetch_data.
    T O P O F P A G E
    Header
    TOP-OF-PAGE.
      PERFORM header.
    E N D O F P A G E
    Footer
    END-OF-PAGE.
      ULINE.
    T O P O F P A G E D U R I N G L I N E S E L E C T I O N *
    Top of Page in Secondary List
    TOP-OF-PAGE DURING LINE-SELECTION.
      PERFORM header1.
    A T L I N E S E L E C T I O N *
    AT LINE-SELECTION.
    Perform Line Selections
      PERFORM line_selection.
    E N D O F S E L E C T I O N
    END-OF-SELECTION.
    List generation
      PERFORM basic_list.
    *& Form validate_flds
    Validation of Selection Screen fields
    FORM validate_flds .
    Validate Vendor Code
      CLEAR lfa1-lifnr.
      SELECT lifnr UP TO 1 ROWS
      INTO lfa1-lifnr
      FROM lfa1
      WHERE lifnr IN s_lifnr AND
      spras = sy-langu.
      ENDSELECT.
      IF sy-subrc <> 0.
        MESSAGE e000 WITH 'Invalid Vendor Code range'(023).
      ENDIF.
    Validate Company Code
      CLEAR t001-bukrs.
      SELECT bukrs UP TO 1 ROWS
      INTO t001-bukrs
      FROM t001
      WHERE bukrs = p_bukrs AND
      spras = sy-langu.
      ENDSELECT.
      IF sy-subrc <> 0.
        MESSAGE e021. " Invalid Company Code range
      ENDIF.
      IF ( p_tage1 > p_tage2 ) OR ( p_tage1 > p_tage3 ) OR
      ( p_tage1 > p_tage4 ).
        MESSAGE e999 WITH 'Column 1 greater'(004)
        'than Column# 2 or 3 or 4'(005).
      ENDIF.
    *column 2
      IF ( p_tage2 > p_tage3 ) OR ( p_tage1 > p_tage4 ).
        MESSAGE e999 WITH 'Column 2 greater'(006)
        'than Column# 3 or 4'(007).
      ENDIF.
    *column3
      IF ( p_tage3 > p_tage4 ).
        MESSAGE e999 WITH 'Column 3 greater'(008)
        'than Column#4'(009).
      ENDIF.
    ENDFORM. " validate_flds
    *& Form fetch_data
    Fetching Data from Database Tables
    FORM fetch_data .
    Date Range Population
      r_date1-sign = 'I'.
      r_date1-option = 'BT'.
      r_date1-low = p_allgst.
      r_date1-high = r_date1-low + p_tage1.
      APPEND r_date1.
      r_date2-sign = 'I'.
      r_date2-option = 'BT'.
      r_date2-low = r_date1-high + 1.
      r_date2-high = r_date1-low + p_tage2.
      APPEND r_date2.
      r_date3-sign = 'I'.
      r_date3-option = 'BT'.
      r_date3-low = r_date2-high + 1.
      r_date3-high = r_date1-low + p_tage3.
      APPEND r_date3.
      r_date4-sign = 'I'.
      r_date4-option = 'BT'.
      r_date4-low = r_date3-high + 1.
      r_date4-high = r_date1-low + p_tage4.
      APPEND r_date4.
    Select the Vendor Open Items data from BSIK
      SELECT l~lifnr
      l1~name1
      b~waers
      b~dmbtr
      b~zfbdt
      b~zbd1t
      b~zbd2t
      b~zbd3t
      b~belnr
      b~xblnr
      b~shkzg
      b~blart
      INTO CORRESPONDING FIELDS OF TABLE int_bsik
      FROM lfb1 AS l INNER JOIN lfa1 AS l1
      ON llifnr = l1lifnr
      INNER JOIN bsik AS b
      ON llifnr = blifnr AND
      lbukrs = bbukrs
      WHERE l~lifnr IN s_lifnr AND
      l~bukrs = p_bukrs AND
      b~zfbdt LE p_allgst.
      IF sy-subrc <> 0.
        MESSAGE i000 WITH 'No Data found'(027).
      ENDIF.
    Removing the date limit to get the due items in the past
      DELETE int_bsik WHERE
      ( blart NE 'RE' AND blart NE 'KR' ) OR
      shkzg NE 'H'.
      SORT int_bsik BY lifnr.
    ENDFORM. " fetch_data
    *& Form header
    Display the Report Columns
    FORM header .
      v_tage1 = p_tage1 + 1.
      v_tage2 = p_tage2 + 1.
      v_tage3 = p_tage3 + 1.
      v_fidd = p_tage1.
      v_sedd = p_tage2.
      v_thdd = p_tage3.
      v_fodd = p_tage4.
      MOVE v_fodd0(4) TO v_fodd1(3).
      v_fodd+0(1) = space.
      CONCATENATE '1 to'(010) v_fidd INTO v_fir.
      CONCATENATE v_tage1 ' to '(011) v_sedd INTO v_sec.
      CONCATENATE v_tage2 ' to '(011) v_thdd INTO v_thir.
      CONCATENATE v_tage3 ' to '(011) space v_fodd INTO v_four.
    Standard header
      CLEAR: v_date1, v_str, v_str1, v_tage.
      WRITE p_allgst TO v_date1.
      MOVE p_tage4 TO v_tage.
      CONCATENATE '>' v_tage text-025 INTO v_str1.
      CONCATENATE
      'Summary of Ageing Analysis for Vendor Open Invoices as on'(013)
      v_date1 INTO v_str SEPARATED BY space.
    CALL FUNCTION 'Z_STANDARD_HEADER'
       EXPORTING
         title1 = 'Saudi International Petrochemical Company'(012)
         title2 = v_str.
      FORMAT COLOR OFF.
      WRITE : /1(168) sy-uline.
      FORMAT COLOR 1 INTENSIFIED.
      WRITE :/1 sy-vline, 13 sy-vline, 49 sy-vline,
      50(101) 'Invoices Due For(In Days)'(014) CENTERED,
      151 sy-vline, 168 sy-vline .
      WRITE :/1 sy-vline, 2(11) 'Vendor#'(015) CENTERED,
      13 sy-vline ,14(35) 'Vendor Name'(016) CENTERED,
      49 sy-vline,
      50(101) sy-uline,151 sy-vline,
      152(16) 'Total'(017) CENTERED,
      168 sy-vline.
      WRITE : /1 sy-vline,13 sy-vline, 49 sy-vline,
      50(16) v_fir CENTERED, 66 sy-vline,
      67(16) v_sec CENTERED, 83 sy-vline,
      84(16) v_thir CENTERED, 100 sy-vline,
      101(16) v_four CENTERED, 117 sy-vline,
      118(16) v_str1 CENTERED, 134 sy-vline,
      135(16) 'Already Overdue'(018) CENTERED,151 sy-vline,
      168 sy-vline.
      FORMAT COLOR OFF.
      WRITE : /1(168) sy-uline.
    ENDFORM. " header
    *& Form basic_list
    Display the Basic List
    FORM basic_list .
      NEW-PAGE LINE-SIZE 168.
      LOOP AT int_bsik.
        CLEAR v_date.
        IF int_bsik-zbd3t <> ' '.
          v_date = int_bsik-zfbdt + int_bsik-zbd3t.
        ELSE.
          IF int_bsik-zbd2t <> ' '.
            v_date = int_bsik-zfbdt + int_bsik-zbd2t.
          ELSE.
            v_date = int_bsik-zfbdt + int_bsik-zbd1t.
          ENDIF.
        ENDIF.
        IF int_bsik-zbd1t = ' '.
          v_date = int_bsik-zfbdt.
        ENDIF.
        IF v_date IN r_date1.
          int_final-total1 = int_final-total1 + int_bsik-dmbtr.
        ELSEIF v_date IN r_date2.
          int_final-total2 = int_final-total2 + int_bsik-dmbtr.
        ELSEIF v_date IN r_date3.
          int_final-total3 = int_final-total3 + int_bsik-dmbtr.
        ELSEIF v_date IN r_date4.
          int_final-total4 = int_final-total4 + int_bsik-dmbtr.
        ELSEIF v_date > r_date4-high.
          int_final-total5 = int_final-total5 + int_bsik-dmbtr.
        ELSEIF v_date < p_allgst.
          int_final-total6 = int_final-total6 + int_bsik-dmbtr.
        ENDIF.
        AT END OF lifnr.
          v_flag = 1.
        ENDAT.
        IF v_flag = 1.
          int_final-lifnr = int_bsik-lifnr.
          int_final-name1 = int_bsik-name1.
          int_final-total = int_final-total1 + int_final-total2 +
          int_final-total3 + int_final-total4 + int_final-total5 +
          int_final-total6.
          APPEND int_final.
          v_gtotal1 = v_gtotal1 + int_final-total1.
          v_gtotal2 = v_gtotal2 + int_final-total2.
          v_gtotal3 = v_gtotal3 + int_final-total3.
          v_gtotal4 = v_gtotal4 + int_final-total4.
          v_gtotal5 = v_gtotal5 + int_final-total5.
          v_gtotal6 = v_gtotal6 + int_final-total6.
          v_gtotal = v_gtotal + int_final-total.
          WRITE: /1 sy-vline,
          2 int_final-lifnr COLOR 4 INTENSIFIED ON,
          13 sy-vline,
          14 int_final-name1 COLOR 4 INTENSIFIED ON,
          49 sy-vline.
          DATA : v_rem.
          v_rem = sy-tabix MOD 2.
          IF v_rem NE 0.
            FORMAT COLOR 2 INTENSIFIED.
            WRITE : 50 int_final-total1 CURRENCY int_bsik-waers,
            66 sy-vline,
            67 int_final-total2 CURRENCY int_bsik-waers,
            83 sy-vline,
            84 int_final-total3 CURRENCY int_bsik-waers,
            100 sy-vline,
            101 int_final-total4 CURRENCY int_bsik-waers,
            117 sy-vline,
            118 int_final-total5 CURRENCY int_bsik-waers,
            134 sy-vline,
            135 int_final-total6 CURRENCY int_bsik-waers,
            151 sy-vline,
            152 int_final-total CURRENCY int_bsik-waers,
            168 sy-vline.
          ELSE.
            WRITE : 50 int_final-total1 CURRENCY int_bsik-waers,
            66 sy-vline,
            67 int_final-total2 CURRENCY int_bsik-waers,
            83 sy-vline,
            84 int_final-total3 CURRENCY int_bsik-waers,
            100 sy-vline,
            101 int_final-total4 CURRENCY int_bsik-waers,
            117 sy-vline,
            118 int_final-total5 CURRENCY int_bsik-waers,
            134 sy-vline,
            135 int_final-total6 CURRENCY int_bsik-waers,
            151 sy-vline,
            152 int_final-total CURRENCY int_bsik-waers,
            168 sy-vline.
          ENDIF.
          FORMAT COLOR OFF.
          HIDE int_final.
          CLEAR int_final.
          v_flag = 0.
        ENDIF.
        AT LAST.
          WRITE : /1(168) sy-uline.
          FORMAT COLOR 3 INTENSIFIED.
          WRITE : /1 sy-vline, 2(47) 'GRAND TOTAL'(022) CENTERED,
          49 sy-vline, 50 v_gtotal1 CURRENCY int_bsik-waers,
          66 sy-vline, 67 v_gtotal2 CURRENCY int_bsik-waers,
          83 sy-vline, 84 v_gtotal3 CURRENCY int_bsik-waers,
          100 sy-vline,101 v_gtotal4 CURRENCY int_bsik-waers,
          117 sy-vline,118 v_gtotal5 CURRENCY int_bsik-waers,
          134 sy-vline,135 v_gtotal6 CURRENCY int_bsik-waers,
          151 sy-vline,152 v_gtotal CURRENCY int_bsik-waers,
          168 sy-vline.
          HIDE : v_gtotal1,
          v_gtotal2,
          v_gtotal3,
          v_gtotal4,
          v_gtotal5,
          v_gtotal6,
          v_gtotal.
        ENDAT.
        FORMAT COLOR OFF.
      ENDLOOP.
      WRITE : /1(168) sy-uline.
    ENDFORM. " basic_list
    *& Form line_selection
    When double clicked on the line display the seconday list
    FORM line_selection .
      NEW-PAGE LINE-SIZE 206.
    Sy-lsind = 1.
      DATA : v_rem,v_cnt LIKE sy-tabix.
      v_cnt = 0.
      SORT int_bsik BY belnr zfbdt.
      LOOP AT int_bsik WHERE lifnr EQ int_final-lifnr.
        v_rem = v_cnt MOD 2.
        CLEAR v_date.
        IF int_bsik-zbd3t <> ' '.
          v_date = int_bsik-zfbdt + int_bsik-zbd3t.
        ELSE.
          IF int_bsik-zbd2t <> ' '.
            v_date = int_bsik-zfbdt + int_bsik-zbd2t.
          ELSE.
            v_date = int_bsik-zfbdt + int_bsik-zbd1t.
          ENDIF.
        ENDIF.
        IF int_bsik-zbd1t = ' '.
          v_date = int_bsik-zfbdt.
        ENDIF.
        IF v_rem NE 0.
          FORMAT COLOR 2 INTENSIFIED.
          WRITE :/1 sy-vline, 2 int_bsik-belnr,
          12 sy-vline,13 int_bsik-lifnr,
          23 sy-vline,24 int_bsik-name1,
          59 sy-vline,60 int_bsik-xblnr,
          76 sy-vline,77 int_bsik-zfbdt,
          87 sy-vline.
          WRITE : 104 sy-vline,121 sy-vline,
          138 sy-vline,155 sy-vline,
          172 sy-vline, 189 sy-vline,
          190 int_bsik-dmbtr CURRENCY int_bsik-waers,
          206 sy-vline.
          IF v_date IN r_date1.
            v_subtotal1 = v_subtotal1 + int_bsik-dmbtr.
            WRITE : 88 int_bsik-dmbtr CURRENCY int_bsik-waers.
          ELSEIF v_date IN r_date2.
            v_subtotal2 = v_subtotal2 + int_bsik-dmbtr.
            WRITE : 105 int_bsik-dmbtr CURRENCY int_bsik-waers.
          ELSEIF v_date IN r_date3.
            v_subtotal3 = v_subtotal3 + int_bsik-dmbtr.
            WRITE : 122 int_bsik-dmbtr CURRENCY int_bsik-waers.
          ELSEIF v_date IN r_date4.
            v_subtotal4 = v_subtotal4 + int_bsik-dmbtr.
            WRITE : 139 int_bsik-dmbtr CURRENCY int_bsik-waers.
          ELSEIF v_date > r_date4-high.
            v_subtotal5 = v_subtotal5 + int_bsik-dmbtr.
            WRITE : 156 int_bsik-dmbtr CURRENCY int_bsik-waers.
          ELSEIF v_date < p_allgst.
            v_subtotal6 = v_subtotal6 + int_bsik-dmbtr.
            WRITE : 173 int_bsik-dmbtr CURRENCY int_bsik-waers.
          ENDIF.
          FORMAT COLOR OFF.
        ELSE.
          WRITE :/1 sy-vline, 2 int_bsik-belnr,
          12 sy-vline,13 int_bsik-lifnr,
          23 sy-vline,24 int_bsik-name1,
          59 sy-vline,60 int_bsik-xblnr,
          76 sy-vline,77 int_bsik-zfbdt,
          87 sy-vline.
          WRITE : 104 sy-vline,121 sy-vline,
          138 sy-vline,155 sy-vline,
          172 sy-vline,189 sy-vline,
          190 int_bsik-dmbtr CURRENCY int_bsik-waers,
          206 sy-vline.
          IF v_date IN r_date1.
            v_subtotal1 = v_subtotal1 + int_bsik-dmbtr.
            WRITE : 88 int_bsik-dmbtr CURRENCY int_bsik-waers.
          ELSEIF v_date IN r_date2.
            v_subtotal2 = v_subtotal2 + int_bsik-dmbtr.
            WRITE : 105 int_bsik-dmbtr CURRENCY int_bsik-waers.
          ELSEIF v_date IN r_date3.
            v_subtotal3 = v_subtotal3 + int_bsik-dmbtr.
            WRITE : 122 int_bsik-dmbtr CURRENCY int_bsik-waers.
          ELSEIF v_date IN r_date4.
            v_subtotal4 = v_subtotal4 + int_bsik-dmbtr.
            WRITE : 139 int_bsik-dmbtr CURRENCY int_bsik-waers.
          ELSEIF v_date > r_date4-high.
            v_subtotal5 = v_subtotal5 + int_bsik-dmbtr.
            WRITE : 156 int_bsik-dmbtr CURRENCY int_bsik-waers.
          ELSEIF v_date < p_allgst.
            v_subtotal6 = v_subtotal6 + int_bsik-dmbtr.
            WRITE : 173 int_bsik-dmbtr CURRENCY int_bsik-waers.
          ENDIF.
        ENDIF.
        FORMAT COLOR OFF.
        v_cnt = v_cnt + 1.
      ENDLOOP.
      WRITE : /1(206) sy-uline.
      v_subtotal = v_subtotal1 + v_subtotal2 + v_subtotal3
      + v_subtotal4 + v_subtotal5 + v_subtotal6.
      FORMAT COLOR 3 INTENSIFIED.
      WRITE : /1 sy-vline,
      2(85) 'Total'(017) CENTERED CURRENCY int_bsik-waers ,
      87 sy-vline,
      88 v_subtotal1 CURRENCY int_bsik-waers,
      104 sy-vline,
      105 v_subtotal2 CURRENCY int_bsik-waers,
      121 sy-vline,
      122 v_subtotal3 CURRENCY int_bsik-waers,
      138 sy-vline,
      139 v_subtotal4 CURRENCY int_bsik-waers,
      155 sy-vline,
      156 v_subtotal5 CURRENCY int_bsik-waers,
      172 sy-vline,
      173 v_subtotal6 CURRENCY int_bsik-waers,
      189 sy-vline,
      190 v_subtotal CURRENCY int_bsik-waers,
      206 sy-vline.
      FORMAT COLOR OFF.
      WRITE : /1(206) sy-uline.
      CLEAR : v_subtotal,v_subtotal1,v_subtotal2,v_subtotal3,
      v_subtotal4,v_subtotal5,v_gtotal1,v_gtotal2,v_gtotal3,
      v_gtotal4, v_gtotal5,v_gtotal,v_subtotal6,v_gtotal6.
    ENDFORM. " line_selection
    *& Form header1
    Secondary List Header
    FORM header1 .
    Standard header
      CLEAR: v_date1, v_str, v_str1, v_tage.
      WRITE p_allgst TO v_date1.
      MOVE p_tage4 TO v_tage.
      CONCATENATE '>' v_tage text-025 INTO v_str1.
      CONCATENATE
      'Details of Ageing Analysis for Vendor Open Invoices as on'(024)
      v_date1 INTO v_str SEPARATED BY space.
    CALL FUNCTION 'Z_STANDARD_HEADER'
       EXPORTING
         title1 = 'Saudi International Petrochemical Company'(012)
         title2 = v_str.
      FORMAT COLOR 1 INTENSIFIED.
      WRITE :/1(206) sy-uline.
      WRITE :/1 sy-vline,12 sy-vline ,
      23 sy-vline,59 sy-vline,76 sy-vline,87 sy-vline,
      88(101) 'Invoices Due For(In Days)'(014) CENTERED,
      189 sy-vline,206 sy-vline.
      WRITE : /1 sy-vline, 2(10) 'Doc Number'(021) CENTERED,
      12 sy-vline, 13(10) 'Vendor#'(015) CENTERED,
      23 sy-vline, 24(35) 'Vendor Name'(016) CENTERED,
      59 sy-vline, 60(16) 'Ref invoice#'(019) CENTERED,
      76 sy-vline, 77(10) 'Inv dt'(020) CENTERED,
      87 sy-vline, 88(101) sy-uline,
      189 sy-vline,190(16) 'Total'(017) CENTERED,
      206 sy-vline.
      WRITE : /1 sy-vline, 12 sy-vline,
      23 sy-vline,59 sy-vline,
      76 sy-vline,87 sy-vline,
      88(16) v_fir CENTERED, 104 sy-vline,
      105(16) v_sec CENTERED, 121 sy-vline,
      122(16) v_thir CENTERED, 138 sy-vline,
      139(16) v_four CENTERED, 155 sy-vline,
      156(16) v_str1 CENTERED,
      172 sy-vline,
      173(16) 'Already Overdue'(018) CENTERED,
      189 sy-vline,
      206 sy-vline.
      FORMAT COLOR OFF.
      WRITE : /1(206) sy-uline.
    ENDFORM.                                                    " header1

    Hi Abhay,
    After moving the whole data into final internal table, pass that internal table to function module REUSE_ALV_GRID_DISPLAY.
    before that you need to build field catalog and have to build layout with all the required columns.
    Go through the below links for your reference.
    Simple ALV report
    http://www.sapgenie.com/abap/controls/alvgrid.htm
    http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
    ALV
    1. Please give me general info on ALV.
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    2. How do I program double click in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=11601
    http://www.sapfans.com/forums/viewtopic.php?t=23010
    3. How do I add subtotals (I have problem to add them)...
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    4. How to add list heading like top-of-page in ABAP lists?
    http://www.sapfans.com/forums/viewtopic.php?t=58775
    http://www.sapfans.com/forums/viewtopic.php?t=60550
    http://www.sapfans.com/forums/viewtopic.php?t=16629
    5. How to print page number / total number of pages X/XX in ALV? http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
    6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
    http://www.sapfans.com/forums/viewtopic.php?t=64320
    http://www.sapfans.com/forums/viewtopic.php?t=44477
    7. How can I set the cell color in ALV? http://www.sapfans.com/forums/viewtopic.php?t=52107
    8. How do I print a logo/graphics in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=81149
    http://www.sapfans.com/forums/viewtopic.php?t=35498
    http://www.sapfans.com/forums/viewtopic.php?t=5013
    9. How do I create and use input-enabled fields in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=84933
    http://www.sapfans.com/forums/viewtopic.php?t=69878
    10. How can I use ALV for reports that are going to be run in background?
    http://www.sapfans.com/forums/viewtopic.php?t=83243
    http://www.sapfans.com/forums/viewtopic.php?t=19224
    11. How can I display an icon in ALV? (Common requirement is traffic light icon).
    http://www.sapfans.com/forums/viewtopic.php?t=79424
    http://www.sapfans.com/forums/viewtopic.php?t=24512
    12. How can I display a checkbox in ALV? http://www.sapfans.com/forums/viewtopic.php?t=88376
    http://www.sapfans.com/forums/viewtopic.php?t=40968
    http://www.sapfans.com/forums/viewtopic.php?t=6919
    Check this for basic concepts of OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/abap%20objects/abap%20code%20sample%20to%20learn%20basic%20concept%20of%20object-oriented%20programming.doc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
    Tabstrip
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20for%20tab%20strip%20in%20alv.pdf
    Editable ALV
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20edit%20alv%20grid.doc
    Tree
    http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_usrint.htm
    General Tutorial for OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an%20easy%20reference%20for%20alv%20grid%20control.pdf
    http://www.sapdevelopment.co.uk/reporting/alvhome.htm
    http://www.sap-img.com/abap/what-is-alv-programming.htm
    http://www.sap-img.com/abap-function.htm
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapdevelopment.co.uk/reporting/alv/alvtree%5Calvtree_basic.htm
    http://esnips.com/doc/ad20dca9-6182-4903-8d8f-96a66dc8590c/ALV.pdf
    http://www.sap-img.com/abap-function.htm
    Go thru these programs they may help u to try on some hands on
    ALV Demo program
    BCALV_DEMO_HTML
    BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode
    BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode
    BCALV_GRID_DEMO Simple ALV Control Call Demo Program
    BCALV_TREE_DEMO Demo for ALV tree control
    BCALV_TREE_SIMPLE_DEMO
    BC_ALV_DEMO_HTML_D0100
    The common features of report are column alignment, sorting, filtering, subtotals, totals etc. To implement these, a lot of coding and logic is to be put. To avoid that we can use a concept called ABAP List Viewer (ALV).
    This helps us to implement all the features mentioned very effectively.
    Using ALV, We can have three types of reports:
    1. Simple Report
    2. Block Report
    3. Hierarchical Sequential Report
    There are some function modules which will enable to produce the above reports without much effort.
    All the definitions of internal tables, structures and constants are declared in a type-pool called SLIS.
    1. SIMPLE REPORT.
    The important function modules are
    a. Reuse_alv_list_display
    b. Reuse_alv_fieldcatalog_merge
    c. Reuse_alv_events_get
    d. Reuse_alv_commentary_write
    e. Reuse_alv_grid_display
    A. REUSE_ALV_LIST_DISPLAY : This is the function module which prints the data.
    The important parameters are :
    I. Export :
    i. I_callback_program : report id
    ii. I_callback_pf_status_set : routine where a user can set his own pf status or change the functionality of the existing pf status
    iii. I_callback_user_command : routine where the function codes are handled
    iv. I_structure name : name of the dictionary table
    v. Is_layout : structure to set the layout of the report
    vi. It_fieldcat : internal table with the list of all fields and their attributes which are to be printed (this table can be populated automatically by the function module REUSE_ALV_FIELDCATALOG_MERGE
    vii. It_events : internal table with a list of all possible events of ALV and their corresponding form names.
    II. Tables :
    i. t_outtab : internal table with the data to be output
    B. REUSE_ALV_FIELDCATALOG_MERGE : This function module is used to populate a fieldcatalog which is essential to display the data in ALV. If the output data is from a single dictionary table and all the columns are selected, then we need not exclusively create the field catalog. Its enough to mention the table name as a parameter(I_structure name) in the REUSE_ALV_LIST_DISPLAY. But in other cases we need to create it.
    The Important Parameters are :
    I. Export :
    i. I_program_name : report id
    ii. I_internal_tabname : the internal output table
    iii. I_inclname : include or the report name where all the dynamic forms are handled.
    II Changing
    ct_fieldcat : an internal table with the type SLIS_T_FIELDCAT_ALV which is
    declared in the type pool SLIS.
    C. REUSE_ALV_EVENTS_GET : Returns table of possible events for a list type
    Parameters :
    I. Import :
    Et_Events : The event table is returned with all possible CALLBACK events
    for the specified list type (column 'NAME'). For events to be processed by Callback, their 'FORM' field must be filled. If the field is initialized, the event is ignored. The entry can be read from the event table, the field 'FORM' filled and the entry modified using constants from the type pool SALV.
    II. Export :
    I_List_type :
    0 = simple list REUSE_ALV_LIST_DISPLAY
    1 = hierarchcal-sequential list REUSE_ALV_HIERSEQ_LIST_DISPLAY
    2 = simple block list REUSE_ALV_BLOCK_LIST_APPEND
    3 = hierarchical-sequential block list
    REUSE_ALV_BLOCK_LIST_HS_APPEND
    D. REUSE_ALV_COMMENTARY_WRITE : This is used in the Top-of-page event to print the headings and other comments for the list.
    Parameters :
    I. it_list_commentary : internal table with the headings of the type slis_t_listheader.
    This internal table has three fields :
    Typ : ‘H’ – header, ‘S’ – selection , ‘A’ - action
    Key : only when typ is ‘S’.
    Info : the text to be printed
    E. REUSE_ALV_GRID_DISPLAY : A new function in 4.6 version, to display the results in grid rather than as a preview.
    Parameters : same as reuse_alv_list_display
    This is an example for simple list.
    2. BLOCK REPORT
    This is used to have multiple lists continuously.
    The important functions used in this report are:
    A. REUSE_ALV_BLOCK_LIST_INIT
    B. REUSE_ALV_BLOCK_LIST_APPEND
    C. REUSE_ALV_BLOCK_LIST_HS_APPEND
    D. REUSE_ALV_BLOCK_LIST_DISPLAY
    A. REUSE_ALV_BLOCK_LIST_INIT
    Parameters:
    I. I_CALLBACK_PROGRAM
    II. I_CALLBACK_PF_STATUS_SET
    III. I_CALLBACK_USER_COMMAND
    This function module is used to set the default gui status etc.
    B. REUSE_ALV_BLOCK_LIST_APPEND
    Parameters :
    Export :
    I. is_layout : layout settings for block
    II. it_fieldcat : field catalog
    III. i_tabname : internal table name with output data
    IV. it_events : internal table with all possible events
    Tables :
    i. t_outtab : internal table with output data.
    This function module adds the data to the block.
    Repeat this function for all the different blocks to be displayed one after the other.
    C. REUSE_ALV_BLOCK_LIST_HS_APPEND
    This function module is used for hierarchical sequential blocks.
    D. REUSE_ALV_BLOCK_LIST_DISPLAY
    Parameters : All the parameters are optional.
    This function module display the list with data appended by the above function.
    Here the functions REUSE_ALV_FIELDCATALOG_MERGE, REUSE_ALV_EVENTS_GET, REUSE_ALV_COMMENTARY_WRITE can be used.
    3. Hierarchical reports :
    Hierarchical sequential list output.
    The function module is
    A. REUSE_ALV_HIERSEQ_LIST_DISPLAY
    Parameters:
    I. Export:
    i. I_CALLBACK_PROGRAM
    ii. I_CALLBACK_PF_STATUS_SET
    iii. I_CALLBACK_USER_COMMAND
    iv. IS_LAYOUT
    v. IT_FIELDCAT
    vi. IT_EVENTS
    vii. i_tabname_header : Name of the internal table in the program containing the
    output data of the highest hierarchy level.
    viii. i_tabname_item : Name of the internal table in the program containing the
    output data of the lowest hierarchy level.
    ix. is_keyinfo : This structure contains the header and item table field
    names which link the two tables (shared key).
    II. Tables
    i. t_outtab_header : Header table with data to be output
    ii. t_outtab_item : Name of the internal table in the program containing the
    output data of the lowest hierarchy level.
    slis_t_fieldcat_alv : This internal table contains the field attributes. This internal table can be populated automatically by using ‘REUSE_ALV_FIELDCATALOG_MERGE’.
    Important Attributes :
    A. col_pos : position of the column
    B. fieldname : internal fieldname
    C. tabname : internal table name
    D. ref_fieldname : fieldname (dictionary)
    E. ref_tabname : table (dictionary)
    F. key(1) : column with key-color
    G. icon(1) : icon
    H. symbol(1) : symbol
    I. checkbox(1) : checkbox
    J. just(1) : (R)ight (L)eft (C)ent.
    K. do_sum(1) : sum up
    L. no_out(1) : (O)blig.(X)no out
    M. outputlen : output length
    N. seltext_l : long key word
    O. seltext_m : middle key word
    P. seltext_s : short key word
    Q. reptext_ddic : heading (ddic)
    R. ddictxt(1) : (S)hort (M)iddle (L)ong
    S. datatype : datatype
    T. hotspot(1) : hotspot
    <b>Reward points for helpful answers,</b>
    Satish

  • Running Total Issue:  How to calculate counts excluding suppressed records

    Post Author: benny
    CA Forum: Formula
    Hello All:
    I have a current report that gives the total counts of work requests.   However, in my section expert, there are some records in the detail that are suppressed (if there isn't any backlog). The current running totals are counting all the records including the suppressed records. I think I need three formulas:1. Calculate the counts2. Calculate the counts excluding suppressed records3. Reseting the counts by group
    May I ask if someone can give me an example of what I should do?
    Thanks so much!
    Benny

    Post Author: benny
    CA Forum: Formula
    Bettername,
    Actually, I should have been more specific.  This report is actually a PM backlog report.  It displays all the work requests (PM) issued including the backlogged. There are 9 columns (including one called Backlog) for the different counts of the pm's based from the status codes (Issued, Material on Order, Completed, Cancelled, etc) of the work requests. The detail records of worke requests are grouped by shop and PM end date.  The running totals are calculated at the pm date group level (group footer#2). Then based from those at the shop group level (group footer#1) there is a grand total of counts of the running totals. The detail records and pm end date group header (group header #2) are suppressed.
    Now the foremen would like the report to just display all the backlogged PMs. Using the section expert, I suppressed all the PM issued that have no back log ({@ backlog = 0}) and just display the back logged pm's.  This is where I run into the running total issue.
    This is very involved report and I will use the column PM Issued as an example.  I can still use the same logic as you suggested?
    1. declaration formula:
    whileprintingrecords;numbervar pmissued := 0;
    2. Suppression formula that uses the variable:
    whileprintingrecords;
    numbervar pmissued;
    if ({@ backlog = 0}) then pmissued:= pmissed else pmissued:=pmissuedr+1
    3. Display formula:whileprintingrecords;
    numbervar pmissued;
    If this is the right track, then I can use the same example for the other columns. 
    Thanks so much.
    Benny

  • How to get count of all records of all entities in CRM Online

    Hi,
     I want to get count of all records entitywise in dynamics CRM 2013 online. I know we can count the records in CRM on-premise using a SQL query in report. Earlier I wrote a SSRS report to count the records in a CRM entity wise  as displayed in
    the screenshot below..
    Can someone suggest me a good approach to implement the same in CRM Online. 
    Thanks
    Pratibha Singh

    Hello,
    In a CRM Online environment, you need to create reports based on Fetch XML. Take a look at this link to create a Fetch XML query with aggregates: https://msdn.microsoft.com/en-us/library/gg309565.aspx?f=255&MSPPError=-2147217396#count .
    Here is an example to create a report in an online environment: http://edwardsdna.com/2012/12/03/crmonline-report/
    Hope it helps,
    Kind regards

  • How to return to record after updating (ie add a url with variable)

    I want to put a link in to return to the page displaying the record after updating.  I followed the Dreamweaver insrtuctio an added this after the page url in the update behaviours:
    ?recordID=<?php echo $row_recordsetName['fieldName']; ?>
    However the page does not load but gives this error:
    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\UwAmp\www\testmypms\update_spec_rx.php on line 77
    Here's the page code:
    <?php require_once('Connections/testmypms.php'); ?>
    <?php
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "updateSpecRx")) {
      $updateSQL = sprintf("UPDATE spec_rx SET spec_rx_date=%s, FK_user_id=%s, spec_rx_rsph=%s, spec_rx_rcyl=%s, spec_rx_raxis=%s, spec_rx_rhprism=%s, spec_rx_rhprismbase=%s, spec_rx_rvprism=%s, spec_rx_rvprismbase=%s, spec_rx_rnadd=%s, spec_rx_rnhprism=%s, spec_rx_rnhprismbase=%s, spec_rx_rnvprism=%s, spec_rx_rnvprismbase=%s, spec_rx_rintadd=%s, spec_rx_rinthprism=%s, spec_rx_rinthprismbase=%s, spec_rx_rintvprism=%s, spec_rx_rintvprismbase=%s, spec_rx_lsph=%s, spec_rx_lcyl=%s, spec_rx_laxis=%s, spec_rx_lhprism=%s, spec_rx_lhprismbase=%s, spec_rx_lvprism=%s, spec_rx_lvprismbase=%s, spec_rx_lintadd=%s, spec_rx_linthprism=%s, spec_rx_linthprismbase=%s, spec_rx_lintvprism=%s, spec_rx_lintvprismbase=%s, spec_rx_lnadd=%s, spec_rx_lnhprism=%s, spec_rx_lnhprismbase=%s, spec_rx_lnvprism=%s, spec_rx_lnvprismbase=%s, ext_rx=%s WHERE spec_rx_id=%s",
                           GetSQLValueString($_POST['rHprism'], "date"),
                           GetSQLValueString($_POST['userID'], "int"),
                           GetSQLValueString($_POST['rsph'], "double"),
                           GetSQLValueString($_POST['rcyl'], "double"),
                           GetSQLValueString($_POST['raxis'], "double"),
                           GetSQLValueString($_POST['rHprism'], "double"),
                           GetSQLValueString($_POST['rHprismbase'], "text"),
                           GetSQLValueString($_POST['rVprism'], "double"),
                           GetSQLValueString($_POST['rVprismbase'], "text"),
                           GetSQLValueString($_POST['rNradd'], "double"),
                           GetSQLValueString($_POST['rNrHprism'], "double"),
                           GetSQLValueString($_POST['rNrHprismbase'], "text"),
                           GetSQLValueString($_POST['rNrVprism'], "double"),
                           GetSQLValueString($_POST['rNrVprismbase'], "text"),
                           GetSQLValueString($_POST['rIntadd'], "double"),
                           GetSQLValueString($_POST['rIntHprism'], "double"),
                           GetSQLValueString($_POST['rIntHprismbase'], "text"),
                           GetSQLValueString($_POST['rIntVprism'], "double"),
                           GetSQLValueString($_POST['rIntVprismbase'], "text"),
                           GetSQLValueString($_POST['lsph'], "double"),
                           GetSQLValueString($_POST['lcyl'], "double"),
                           GetSQLValueString($_POST['laxis'], "double"),
                           GetSQLValueString($_POST['lHprism'], "double"),
                           GetSQLValueString($_POST['lHprismbase'], "text"),
                           GetSQLValueString($_POST['lVprism'], "double"),
                           GetSQLValueString($_POST['lVprismbase'], "text"),
                           GetSQLValueString($_POST['lIntadd'], "double"),
                           GetSQLValueString($_POST['lIntHprism'], "double"),
                           GetSQLValueString($_POST['lIntHprismbase'], "text"),
                           GetSQLValueString($_POST['lIntVprism'], "double"),
                           GetSQLValueString($_POST['lIntVprismbase'], "text"),
                           GetSQLValueString($_POST['lNradd'], "double"),
                           GetSQLValueString($_POST['lNrHprism'], "double"),
                           GetSQLValueString($_POST['lNrHprismbase'], "text"),
                           GetSQLValueString($_POST['lNrVprism'], "double"),
                           GetSQLValueString($_POST['rNrVprismbase'], "text"),
                           GetSQLValueString(isset($_POST['extRx']) ? "true" : "", "defined","1","0"),
                           GetSQLValueString($_POST['SpecRxID'], "int"));
      mysql_select_db($database_testmypms, $testmypms);
      $Result1 = mysql_query($updateSQL, $testmypms) or die(mysql_error());
      $updateGoTo = "spec_rx4.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $updateGoTo));
    /*   date_default_timezone_set('Europe/London');
    $date = strtotime($_POST['specRxDate']);
         $_POST['specRxDate'] = date("Y-m-d",$date); */
    $currentPage = $_SERVER["PHP_SELF"];
    $maxRows_spec_rx = 1;
    $pageNum_spec_rx = 0;
    if (isset($_GET['pageNum_spec_rx'])) {
      $pageNum_spec_rx = $_GET['pageNum_spec_rx'];
    $startRow_spec_rx = $pageNum_spec_rx * $maxRows_spec_rx;
    $colname_spec_rx = "1";
    if (isset($_GET['spec_RxID'])) {
      $colname_spec_rx = (get_magic_quotes_gpc()) ? $_GET['spec_RxID'] : addslashes($_GET['spec_RxID']);
    mysql_select_db($database_testmypms, $testmypms);
    $query_spec_rx = sprintf("SELECT demographics.px_id, demographics.FK_title_id, demographics.firstname, demographics.surname, title.title, title.title_id, spec_rx.spec_rx_id, spec_rx.FK_px_id, DATE_FORMAT(spec_rx.spec_rx_date, '%%d-%%m-%%Y') as formatted_rx_date, spec_rx.FK_user_id, spec_rx.spec_rx_rsph, spec_rx.spec_rx_rcyl, spec_rx.spec_rx_raxis, spec_rx.spec_rx_rhprism, spec_rx.spec_rx_rhprismbase, spec_rx.spec_rx_rvprism, spec_rx.spec_rx_rvprismbase, spec_rx.spec_rx_rnadd, spec_rx.spec_rx_rnhprism, spec_rx.spec_rx_rnhprismbase, spec_rx.spec_rx_rnvprism, spec_rx.spec_rx_rnvprismbase, spec_rx.spec_rx_rintadd, spec_rx.spec_rx_rinthprism, spec_rx.spec_rx_rinthprismbase, spec_rx.spec_rx_rintvprism, spec_rx.spec_rx_rintvprismbase, spec_rx.spec_rx_lsph, spec_rx.spec_rx_lcyl, spec_rx.spec_rx_laxis, spec_rx.spec_rx_lhprism, spec_rx.spec_rx_lhprismbase, spec_rx.spec_rx_lvprism, spec_rx.spec_rx_lvprismbase, spec_rx.spec_rx_lintadd, spec_rx.spec_rx_linthprism, spec_rx.spec_rx_linthprismbase, spec_rx.spec_rx_lintvprism, spec_rx.spec_rx_lintvprismbase, spec_rx.spec_rx_lnadd, spec_rx.spec_rx_lnhprism, spec_rx.spec_rx_lnhprismbase, spec_rx.spec_rx_lnvprism, spec_rx.spec_rx_lnvprismbase, spec_rx.ext_rx FROM spec_rx, demographics, title WHERE spec_rx.spec_rx_id = %s AND spec_rx.FK_px_id = demographics.px_id AND demographics.FK_title_id = title.title_id", $colname_spec_rx);
    $query_limit_spec_rx = sprintf("%s LIMIT %d, %d", $query_spec_rx, $startRow_spec_rx, $maxRows_spec_rx);
    $spec_rx = mysql_query($query_limit_spec_rx, $testmypms) or die(mysql_error());
    $row_spec_rx = mysql_fetch_assoc($spec_rx);
    if (isset($_GET['totalRows_spec_rx'])) {
      $totalRows_spec_rx = $_GET['totalRows_spec_rx'];
    } else {
      $all_spec_rx = mysql_query($query_spec_rx);
      $totalRows_spec_rx = mysql_num_rows($all_spec_rx);
    $totalPages_spec_rx = ceil($totalRows_spec_rx/$maxRows_spec_rx)-1;
    mysql_select_db($database_testmypms, $testmypms);
    $query_users = "SELECT users.user_id, users.username FROM users";
    $users = mysql_query($query_users, $testmypms) or die(mysql_error());
    $row_users = mysql_fetch_assoc($users);
    $totalRows_users = mysql_num_rows($users);
    $queryString_spec_rx = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_spec_rx") == false &&
            stristr($param, "totalRows_spec_rx") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_spec_rx = "&" . htmlentities(implode("&", $newParams));
    $queryString_spec_rx = sprintf("&totalRows_spec_rx=%d%s", $totalRows_spec_rx, $queryString_spec_rx);
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Amend Spec Rx</title>
    </head>
    <body>
    <p>Amend Spec Rx</p>
    <p><?php echo $row_spec_rx['px_id']; ?></p>
    <p><?php echo $row_spec_rx['title']; ?><?php echo $row_spec_rx['firstname']; ?><?php echo $row_spec_rx['surname']; ?> </p>
    <form action="<?php echo $editFormAction; ?>" method="POST" name="updateSpecRx" id="updateSpecRx">
      <table border="1" cellpadding="5" cellspacing="1">
        <tr>
          <td> </td>
          <td>
         <td><?php date_default_timezone_set('Europe/London'); ?>
        <input name="specRxDate" type="text" id="specRxDate" value="<?php echo $row_spec_rx['formatted_rx_date']; ?>" size="10" maxlength="10" <?php echo 'value="'.date("d-m-Y").'"'; ?>></td>
          <td><input name="SpecRxID" type="text" id="SpecRxID" value="<?php echo $row_spec_rx['spec_rx_id']; ?>" size="2" maxlength="2"></td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
        </tr>
        <tr>
          <td> </td>
          <td>Sph</td>
          <td>Cyl</td>
          <td>Axis</td>
          <td>HPrism</td>
          <td>HPrismBase</td>
          <td>VPrism</td>
          <td>VPrismBase</td>
          <td>NrAdd</td>
          <td>NrHPrism </td>
          <td>NrHPrismBase</td>
          <td>NrVPrism</td>
          <td>NrVPrismBase</td>
          <td>IntAdd</td>
          <td>IntHPrism</td>
          <td>IntHPrismBase</td>
          <td>IntVPrism</td>
          <td>IntVPrismBase</td>
        </tr>
        <tr>
          <td>R</td>
          <td><input name="rsph" type="text" id="rsph" value="<?php echo $row_spec_rx['spec_rx_rsph']; ?>" size="6" maxlength="6">
          </td>
          <td><input name="rcyl" type="text" id="rcyl" value="<?php echo $row_spec_rx['spec_rx_rcyl']; ?>" size="6" maxlength="6">
          </td>
          <td><input name="raxis" type="text" id="raxis" value="<?php echo $row_spec_rx['spec_rx_raxis']; ?>" size="5" maxlength="5"></td>
          <td><input name="rHprism" type="text" id="rHprism" value="<?php echo $row_spec_rx['spec_rx_rhprism']; ?>" size="5" maxlength="5"></td>
          <td>        <select name="rHprismbase" id="rHprismbase">
            <option value="" <?php if (!(strcmp("", $row_spec_rx['spec_rx_rhprismbase']))) {echo "SELECTED";} ?>> </option>
            <option value="OUT" <?php if (!(strcmp("OUT", $row_spec_rx['spec_rx_rhprismbase']))) {echo "SELECTED";} ?>>OUT</option>
            <option value="IN" <?php if (!(strcmp("IN", $row_spec_rx['spec_rx_rhprismbase']))) {echo "SELECTED";} ?>>IN</option>
            </select></td>
          <td><input name="rVprism" type="text" id="rVprism" value="<?php echo $row_spec_rx['spec_rx_rvprism']; ?>" size="5" maxlength="5">
          </td>
          <td><select name="rVprismbase" id="rVprismbase">
            <option value="" <?php if (!(strcmp("", $row_spec_rx['spec_rx_rnvprismbase']))) {echo "SELECTED";} ?>> </option>
            <option value="UP" <?php if (!(strcmp("UP", $row_spec_rx['spec_rx_rnvprismbase']))) {echo "SELECTED";} ?>>UP</option>
            <option value="DN" <?php if (!(strcmp("DN", $row_spec_rx['spec_rx_rnvprismbase']))) {echo "SELECTED";} ?>>DN</option>
          </select></td>
          <td><input name="rNradd" type="text" id="rNradd" value="<?php echo $row_spec_rx['spec_rx_rnadd']; ?>" size="6" maxlength="6"></td>
          <td><input name="rNrHprism" type="text" id="rNrHprism" value="<?php echo $row_spec_rx['spec_rx_rnhprism']; ?>" size="5" maxlength="5"></td>
          <td><select name="rNrHprismbase" id="rNrHprismbase">
            <option value="" <?php if (!(strcmp("", $row_spec_rx['spec_rx_rnhprismbase']))) {echo "SELECTED";} ?>> </option>
            <option value="OUT" <?php if (!(strcmp("OUT", $row_spec_rx['spec_rx_rnhprismbase']))) {echo "SELECTED";} ?>>OUT</option>
            <option value="IN" <?php if (!(strcmp("IN", $row_spec_rx['spec_rx_rnhprismbase']))) {echo "SELECTED";} ?>>IN</option>
          </select></td>
          <td><input name="rNrVprism" type="text" id="rNrVprism" value="<?php echo $row_spec_rx['spec_rx_rnvprism']; ?>" size="5" maxlength="5"></td>
          <td><select name="rNrVprismbase" id="rNrVprismbase">
            <option value="" <?php if (!(strcmp("", $row_spec_rx['spec_rx_rnvprismbase']))) {echo "SELECTED";} ?>> </option>
            <option value="UP" <?php if (!(strcmp("UP", $row_spec_rx['spec_rx_rnvprismbase']))) {echo "SELECTED";} ?>>UP</option>
            <option value="DN" <?php if (!(strcmp("DN", $row_spec_rx['spec_rx_rnvprismbase']))) {echo "SELECTED";} ?>>DN</option>
          </select></td>
          <td><input name="rIntadd" type="text" id="rIntadd" value="<?php echo $row_spec_rx['spec_rx_rintadd']; ?>" size="6" maxlength="6"></td>
          <td><input name="rIntHprism" type="text" id="rIntHprism" value="<?php echo $row_spec_rx['spec_rx_rinthprism']; ?>" size="5" maxlength="5"></td>
          <td><select name="rIntHprismbase" id="rIntHprismbase">
            <option value="" <?php if (!(strcmp("", $row_spec_rx['spec_rx_rinthprismbase']))) {echo "SELECTED";} ?>> </option>
            <option value="OUT" <?php if (!(strcmp("OUT", $row_spec_rx['spec_rx_rinthprismbase']))) {echo "SELECTED";} ?>>OUT</option>
            <option value="IN" <?php if (!(strcmp("IN", $row_spec_rx['spec_rx_rinthprismbase']))) {echo "SELECTED";} ?>>IN</option>
          </select></td>
          <td><input name="rIntVprism" type="text" id="rIntVprism" value="<?php echo $row_spec_rx['spec_rx_rintvprism']; ?>" size="5" maxlength="5"></td>
          <td><select name="rIntVprismbase" id="rIntVprismbase">
            <option value="" <?php if (!(strcmp("", $row_spec_rx['spec_rx_rintvprismbase']))) {echo "SELECTED";} ?>> </option>
            <option value="UP" <?php if (!(strcmp("UP", $row_spec_rx['spec_rx_rintvprismbase']))) {echo "SELECTED";} ?>>UP</option>
            <option value="DN" <?php if (!(strcmp("DN", $row_spec_rx['spec_rx_rintvprismbase']))) {echo "SELECTED";} ?>>DN</option>
          </select></td>
        </tr>
        <tr>
          <td>L</td>
          <td><input name="lsph" type="text" id="lsph" value="<?php echo $row_spec_rx['spec_rx_lsph']; ?>" size="6" maxlength="6">
          </td>
          <td><input name="lcyl" type="text" id="lcyl" value="<?php echo $row_spec_rx['spec_rx_lcyl']; ?>" size="6" maxlength="6">
          </td>
          <td><input name="laxis" type="text" id="laxis" value="<?php echo $row_spec_rx['spec_rx_laxis']; ?>" size="5" maxlength="5"></td>
          <td><input name="lHprism" type="text" id="lHprism" value="<?php echo $row_spec_rx['spec_rx_lhprism']; ?>" size="5" maxlength="5"></td>
          <td><select name="lHprismbase" id="lHprismbase">
            <option value="" <?php if (!(strcmp("", $row_spec_rx['spec_rx_lhprismbase']))) {echo "SELECTED";} ?>> </option>
            <option value="OUT" <?php if (!(strcmp("OUT", $row_spec_rx['spec_rx_lhprismbase']))) {echo "SELECTED";} ?>>OUT</option>
            <option value="IN" <?php if (!(strcmp("IN", $row_spec_rx['spec_rx_lhprismbase']))) {echo "SELECTED";} ?>>IN</option>
          </select></td>
          <td><input name="lVprism" type="text" id="lVprism" value="<?php echo $row_spec_rx['spec_rx_lvprism']; ?>" size="5" maxlength="5">
          </td>
          <td><select name="lVprismbase" id="lVprismbase">
            <option value="" <?php if (!(strcmp("", $row_spec_rx['spec_rx_rvprismbase']))) {echo "SELECTED";} ?>> </option>
            <option value="UP" <?php if (!(strcmp("UP", $row_spec_rx['spec_rx_rvprismbase']))) {echo "SELECTED";} ?>>UP</option>
            <option value="DN" <?php if (!(strcmp("DN", $row_spec_rx['spec_rx_rvprismbase']))) {echo "SELECTED";} ?>>DN</option>
          </select></td>
          <td><input name="lNradd" type="text" id="lNradd" value="<?php echo $row_spec_rx['spec_rx_lnadd']; ?>" size="6" maxlength="6"></td>
          <td><input name="lNrHprism" type="text" id="lNrHprism" value="<?php echo $row_spec_rx['spec_rx_lnhprism']; ?>" size="5" maxlength="5"></td>
          <td><select name="lNrHprismbase" id="lNrHprismbase">
            <option value="" <?php if (!(strcmp("", $row_spec_rx['spec_rx_lnhprismbase']))) {echo "SELECTED";} ?>> </option>
            <option value="OUT" <?php if (!(strcmp("OUT", $row_spec_rx['spec_rx_lnhprismbase']))) {echo "SELECTED";} ?>>OUT</option>
            <option value="IN" <?php if (!(strcmp("IN", $row_spec_rx['spec_rx_lnhprismbase']))) {echo "SELECTED";} ?>>IN</option>
          </select></td>
          <td><input name="lNrVprism" type="text" id="lNrVprism" value="<?php echo $row_spec_rx['spec_rx_lnvprism']; ?>" size="5" maxlength="5"></td>
          <td><select name="rNrVprismbase" id="rNrVprismbase">
            <option value="" <?php if (!(strcmp("", $row_spec_rx['spec_rx_lnvprismbase']))) {echo "SELECTED";} ?>> </option>
            <option value="UP" <?php if (!(strcmp("UP", $row_spec_rx['spec_rx_lnvprismbase']))) {echo "SELECTED";} ?>>UP</option>
            <option value="DN" <?php if (!(strcmp("DN", $row_spec_rx['spec_rx_lnvprismbase']))) {echo "SELECTED";} ?>>DN</option>
          </select></td>
          <td><input name="lIntadd" type="text" id="lIntadd" value="<?php echo $row_spec_rx['spec_rx_lintadd']; ?>" size="6" maxlength="6"></td>
          <td><input name="lIntHprism" type="text" id="lIntHprism" value="<?php echo $row_spec_rx['spec_rx_linthprism']; ?>" size="5" maxlength="5"></td>
          <td><select name="lIntHprismbase" id="lIntHprismbase">
            <option value=""> </option>
            <option value="OUT">OUT</option>
            <option value="IN">IN</option>
          </select></td>
          <td><input name="lIntVprism" type="text" id="lIntVprism" value="<?php echo $row_spec_rx['spec_rx_lintvprism']; ?>" size="5" maxlength="5"></td>
          <td><select name="lIntVprismbase" id="lIntVprismbase">
            <option value="" <?php if (!(strcmp("", $row_spec_rx['spec_rx_lintvprismbase']))) {echo "SELECTED";} ?>> </option>
            <option value="UP" <?php if (!(strcmp("UP", $row_spec_rx['spec_rx_lintvprismbase']))) {echo "SELECTED";} ?>>UP</option>
            <option value="DN" <?php if (!(strcmp("DN", $row_spec_rx['spec_rx_lintvprismbase']))) {echo "SELECTED";} ?>>DN</option>
          </select></td>
        </tr>
        <tr>
          <td> </td>
          <td><input name="pxID" type="text" id="pxID" value="<?php echo $row_spec_rx['px_id']; ?>" size="3" maxlength="3"></td>
          <td colspan="4"><input name="Update" type="submit" id="Update" value="Update"></td>
          <td><select name="userID" id="userID">
            <?php
    do { 
    ?>
            <option value="<?php echo $row_users['user_id']?>"><?php echo $row_users['username']?></option>
            <?php
    } while ($row_users = mysql_fetch_assoc($users));
      $rows = mysql_num_rows($users);
      if($rows > 0) {
          mysql_data_seek($users, 0);
          $row_users = mysql_fetch_assoc($users);
    ?>
          </select></td>
          <td>External
          <input <?php if (!(strcmp($row_spec_rx['ext_rx'],1))) {echo "checked";} ?> name="extRx" type="checkbox" id="extRx" value="checkbox"></td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
          <td> </td>
        </tr>
      </table>
        <input type="hidden" name="MM_update" value="updateSpecRx">
    </form>
    <p> </p>
    </body>
    </html>
    <?php
    mysql_free_result($spec_rx);
    mysql_free_result($users);
    ?>
    Thanks for any help

    This post solves it:
    How do I pass URL parameter after Update record?

  • How to show the new table record after creating

    I have a table form. After creating a new record to the table, the page go back to the same page. I wanta know how to show the new record after click 'Create' button. Right now, all the items will be cleared.
    Thanks.

    The button submits the page so just create a branch that directs to a new page (which you'll have to create if you have not already done so) after submission which directs to a new page and uses the newly generate PK to display the row you've generated. You'll need to make the branch conditional on that press of the Create button.
    Phil

  • Display error after boot

    I'm having an issue where the display fails after boot, and displays only a fixed noise pattern. The screen looks completely normal through POST, GRUB, and when initially loading the kernel, when the display is still in a text mode. After that, the screen goes black for a brief second, after which it returns displaying the mentioned noise pattern. The system appears unresponsive after this, and the only option is to shut down the system with the power button.
    Adding nomodeset or vga=794 to the kernel options resolves the issue. That is a temporary fix IMHO; I'd prefer something sturdier, which is my reason for posting. The issue appeared after a pacman -Syu about a week ago, I just haven't had time to look at it until now.
    I've added i915 to MODULES in mkinitcpio.conf and rebuilt as described here in an attempt to fix it, but it did not seem to have any effect.
    I believe this may be a KMS or a driver issue, but I do not know how to confirm or troubleshoot it. I would be grateful if anyone could shed some light on the issue, or point me in the right direction to find out what's causing the issue. Please let me know if any more logs should be attached. I'll try to attach a picture of the screen as well as a dmesg output from the failed startup later.
    lshw:
    toasty
    description: Notebook
    product: 64665WG
    vendor: LENOVO
    version: ThinkPad T61
    serial: L3D7847
    width: 64 bits
    capabilities: smbios-2.4 dmi-2.4 ldt16 vsyscall32
    configuration: administrator_password=disabled boot=normal chassis=notebook family=ThinkPad T61 frontpanel_password=unknown keyboard_password=disabled power-on_password=disabled uuid=DDF8B081-4A90-11CB-8172-A970EC5BB61F
    *-core
    description: Motherboard
    product: 64665WG
    vendor: LENOVO
    physical id: 0
    version: Not Available
    serial: VF1GA83J1A4
    *-firmware
    description: BIOS
    vendor: LENOVO
    physical id: 0
    version: 7LETB2WW (2.12 )
    date: 02/20/2008
    size: 128KiB
    capacity: 4032KiB
    capabilities: pci pcmcia pnp upgrade shadowing escd cdboot bootselect socketedrom edd acpi usb biosbootspecification
    *-cpu
    description: CPU
    product: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz
    vendor: Intel Corp.
    physical id: 6
    bus info: cpu@0
    version: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz
    slot: None
    size: 1600MHz
    capacity: 2001MHz
    width: 64 bits
    clock: 200MHz
    capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida dtherm tpr_shadow vnmi flexpriority cpufreq
    *-cache:0
    description: L1 cache
    physical id: a
    slot: Internal L1 Cache
    size: 64KiB
    capacity: 64KiB
    capabilities: synchronous internal write-back instruction
    *-cache:1
    description: L2 cache
    physical id: c
    slot: Internal L2 Cache
    size: 2MiB
    capacity: 2MiB
    capabilities: burst internal write-back unified
    *-cache
    description: L1 cache
    physical id: b
    slot: Internal L1 Cache
    size: 64KiB
    capacity: 64KiB
    capabilities: synchronous internal write-back data
    *-memory
    description: System Memory
    physical id: 2b
    slot: System board or motherboard
    size: 3GiB
    *-bank:0
    description: SODIMM DDR2 Synchronous 667 MHz (1,5 ns)
    physical id: 0
    slot: DIMM 1
    size: 1GiB
    width: 64 bits
    clock: 667MHz (1.5ns)
    *-bank:1
    description: SODIMM DDR2 Synchronous 667 MHz (1,5 ns)
    physical id: 1
    slot: DIMM 2
    size: 2GiB
    width: 64 bits
    clock: 667MHz (1.5ns)
    *-pci
    description: Host bridge
    product: Mobile PM965/GM965/GL960 Memory Controller Hub
    vendor: Intel Corporation
    physical id: 100
    bus info: pci@0000:00:00.0
    version: 0c
    width: 32 bits
    clock: 33MHz
    *-display:0
    description: VGA compatible controller
    product: Mobile GM965/GL960 Integrated Graphics Controller (primary)
    vendor: Intel Corporation
    physical id: 2
    bus info: pci@0000:00:02.0
    version: 0c
    width: 64 bits
    clock: 33MHz
    capabilities: msi pm vga_controller bus_master cap_list rom
    configuration: driver=i915 latency=0
    resources: irq:45 memory:f8100000-f81fffff memory:e0000000-efffffff ioport:1800(size=8)
    *-display:1 UNCLAIMED
    description: Display controller
    product: Mobile GM965/GL960 Integrated Graphics Controller (secondary)
    vendor: Intel Corporation
    physical id: 2.1
    bus info: pci@0000:00:02.1
    version: 0c
    width: 64 bits
    clock: 33MHz
    capabilities: pm bus_master cap_list
    configuration: latency=0
    resources: memory:f8200000-f82fffff
    *-network
    description: Ethernet interface
    product: 82566MM Gigabit Network Connection
    vendor: Intel Corporation
    physical id: 19
    bus info: pci@0000:00:19.0
    logical name: eth0
    version: 03
    serial: 00:1c:25:7c:64:7b
    capacity: 1Gbit/s
    width: 32 bits
    clock: 33MHz
    capabilities: pm msi cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.3-0 latency=0 link=no multicast=yes port=twisted pair
    resources: irq:49 memory:fe000000-fe01ffff memory:fe025000-fe025fff ioport:1840(size=32)
    *-usb:0
    description: USB controller
    product: 82801H (ICH8 Family) USB UHCI Controller #4
    vendor: Intel Corporation
    physical id: 1a
    bus info: pci@0000:00:1a.0
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: uhci bus_master
    configuration: driver=uhci_hcd latency=0
    resources: irq:20 ioport:1860(size=32)
    *-usbhost
    product: UHCI Host Controller
    vendor: Linux 3.15.1-1-ARCH uhci_hcd
    physical id: 1
    bus info: usb@1
    logical name: usb1
    version: 3.15
    capabilities: usb-1.10
    configuration: driver=hub slots=2 speed=12Mbit/s
    *-usb:0
    description: Bluetooth wireless interface
    product: BCM2045B
    vendor: Broadcom Corp
    physical id: 1
    bus info: usb@1:1
    version: 1.00
    capabilities: bluetooth usb-2.00
    configuration: driver=btusb speed=12Mbit/s
    *-usb:1 UNCLAIMED
    description: Generic USB device
    product: Biometric Coprocessor
    vendor: STMicroelectronics
    physical id: 2
    bus info: usb@1:2
    version: 0.01
    capabilities: usb-1.00
    configuration: maxpower=100mA speed=12Mbit/s
    *-usb:1
    description: USB controller
    product: 82801H (ICH8 Family) USB UHCI Controller #5
    vendor: Intel Corporation
    physical id: 1a.1
    bus info: pci@0000:00:1a.1
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: uhci
    configuration: driver=uhci_hcd latency=0
    resources: irq:21 ioport:1880(size=32)
    *-usbhost
    product: UHCI Host Controller
    vendor: Linux 3.15.1-1-ARCH uhci_hcd
    physical id: 1
    bus info: usb@2
    logical name: usb2
    version: 3.15
    capabilities: usb-1.10
    configuration: driver=hub slots=2 speed=12Mbit/s
    *-usb:2
    description: USB controller
    product: 82801H (ICH8 Family) USB2 EHCI Controller #2
    vendor: Intel Corporation
    physical id: 1a.7
    bus info: pci@0000:00:1a.7
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: pm ehci bus_master cap_list
    configuration: driver=ehci-pci latency=0
    resources: irq:22 memory:fe226c00-fe226fff
    *-usbhost
    product: EHCI Host Controller
    vendor: Linux 3.15.1-1-ARCH ehci_hcd
    physical id: 1
    bus info: usb@6
    logical name: usb6
    version: 3.15
    capabilities: usb-2.00
    configuration: driver=hub slots=4 speed=480Mbit/s
    *-multimedia
    description: Audio device
    product: 82801H (ICH8 Family) HD Audio Controller
    vendor: Intel Corporation
    physical id: 1b
    bus info: pci@0000:00:1b.0
    version: 03
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress bus_master cap_list
    configuration: driver=snd_hda_intel latency=0
    resources: irq:47 memory:fe020000-fe023fff
    *-pci:0
    description: PCI bridge
    product: 82801H (ICH8 Family) PCI Express Port 1
    vendor: Intel Corporation
    physical id: 1c
    bus info: pci@0000:00:1c.0
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
    configuration: driver=pcieport
    resources: irq:40 ioport:2000(size=4096) memory:fc000000-fdffffff ioport:f8000000(size=1048576)
    *-pci:1
    description: PCI bridge
    product: 82801H (ICH8 Family) PCI Express Port 2
    vendor: Intel Corporation
    physical id: 1c.1
    bus info: pci@0000:00:1c.1
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
    configuration: driver=pcieport
    resources: irq:41 ioport:3000(size=4096) memory:dc000000-df3fffff ioport:dfe00000(size=1048576)
    *-network
    description: Wireless interface
    product: PRO/Wireless 3945ABG [Golan] Network Connection
    vendor: Intel Corporation
    physical id: 0
    bus info: pci@0000:03:00.0
    logical name: wlan0
    version: 02
    serial: 00:1f:3c:28:8e:0d
    width: 32 bits
    clock: 33MHz
    capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
    configuration: broadcast=yes driver=iwl3945 driverversion=3.15.1-1-ARCH firmware=15.32.2.9 ip=192.168.1.12 latency=0 link=yes multicast=yes wireless=IEEE 802.11abg
    resources: irq:48 memory:df3ff000-df3fffff
    *-pci:2
    description: PCI bridge
    product: 82801H (ICH8 Family) PCI Express Port 3
    vendor: Intel Corporation
    physical id: 1c.2
    bus info: pci@0000:00:1c.2
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
    configuration: driver=pcieport
    resources: irq:42 ioport:4000(size=4096) memory:d8000000-d9ffffff ioport:dfb00000(size=1048576)
    *-pci:3
    description: PCI bridge
    product: 82801H (ICH8 Family) PCI Express Port 4
    vendor: Intel Corporation
    physical id: 1c.3
    bus info: pci@0000:00:1c.3
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
    configuration: driver=pcieport
    resources: irq:43 ioport:5000(size=4096) memory:d4000000-d5ffffff ioport:df800000(size=1048576)
    *-pci:4
    description: PCI bridge
    product: 82801H (ICH8 Family) PCI Express Port 5
    vendor: Intel Corporation
    physical id: 1c.4
    bus info: pci@0000:00:1c.4
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
    configuration: driver=pcieport
    resources: irq:44 ioport:6000(size=4096) memory:d0000000-d1ffffff ioport:df500000(size=1048576)
    *-usb:3
    description: USB controller
    product: 82801H (ICH8 Family) USB UHCI Controller #1
    vendor: Intel Corporation
    physical id: 1d
    bus info: pci@0000:00:1d.0
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: uhci
    configuration: driver=uhci_hcd latency=0
    resources: irq:16 ioport:18a0(size=32)
    *-usbhost
    product: UHCI Host Controller
    vendor: Linux 3.15.1-1-ARCH uhci_hcd
    physical id: 1
    bus info: usb@3
    logical name: usb3
    version: 3.15
    capabilities: usb-1.10
    configuration: driver=hub slots=2 speed=12Mbit/s
    *-usb:4
    description: USB controller
    product: 82801H (ICH8 Family) USB UHCI Controller #2
    vendor: Intel Corporation
    physical id: 1d.1
    bus info: pci@0000:00:1d.1
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: uhci
    configuration: driver=uhci_hcd latency=0
    resources: irq:17 ioport:18c0(size=32)
    *-usbhost
    product: UHCI Host Controller
    vendor: Linux 3.15.1-1-ARCH uhci_hcd
    physical id: 1
    bus info: usb@4
    logical name: usb4
    version: 3.15
    capabilities: usb-1.10
    configuration: driver=hub slots=2 speed=12Mbit/s
    *-usb:5
    description: USB controller
    product: 82801H (ICH8 Family) USB UHCI Controller #3
    vendor: Intel Corporation
    physical id: 1d.2
    bus info: pci@0000:00:1d.2
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: uhci
    configuration: driver=uhci_hcd latency=0
    resources: irq:18 ioport:18e0(size=32)
    *-usbhost
    product: UHCI Host Controller
    vendor: Linux 3.15.1-1-ARCH uhci_hcd
    physical id: 1
    bus info: usb@5
    logical name: usb5
    version: 3.15
    capabilities: usb-1.10
    configuration: driver=hub slots=2 speed=12Mbit/s
    *-usb:6
    description: USB controller
    product: 82801H (ICH8 Family) USB2 EHCI Controller #1
    vendor: Intel Corporation
    physical id: 1d.7
    bus info: pci@0000:00:1d.7
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: pm debug ehci bus_master cap_list
    configuration: driver=ehci-pci latency=0
    resources: irq:19 memory:fe227000-fe2273ff
    *-usbhost
    product: EHCI Host Controller
    vendor: Linux 3.15.1-1-ARCH ehci_hcd
    physical id: 1
    bus info: usb@7
    logical name: usb7
    version: 3.15
    capabilities: usb-2.00
    configuration: driver=hub slots=6 speed=480Mbit/s
    *-pci:5
    description: PCI bridge
    product: 82801 Mobile PCI Bridge
    vendor: Intel Corporation
    physical id: 1e
    bus info: pci@0000:00:1e.0
    version: f3
    width: 32 bits
    clock: 33MHz
    capabilities: pci subtractive_decode bus_master cap_list
    resources: ioport:7000(size=16384) memory:f8300000-fbffffff ioport:f4000000(size=67108864)
    *-pcmcia
    description: CardBus bridge
    product: RL5c476 II
    vendor: Ricoh Co Ltd
    physical id: 0
    bus info: pci@0000:15:00.0
    version: ba
    width: 64 bits
    clock: 33MHz
    capabilities: pcmcia bus_master cap_list
    configuration: driver=yenta_cardbus latency=176 maxlatency=5 mingnt=128
    resources: iomemory:b01716150-b0171614f irq:16 memory:f8300000-f8300fff ioport:7000(size=256) ioport:7400(size=256) memory:f4000000-f7ffffff memory:c0000000-c3ffffff
    *-firewire
    description: FireWire (IEEE 1394)
    product: R5C832 IEEE 1394 Controller
    vendor: Ricoh Co Ltd
    physical id: 0.1
    bus info: pci@0000:15:00.1
    version: 04
    width: 32 bits
    clock: 33MHz
    capabilities: pm ohci bus_master cap_list
    configuration: driver=firewire_ohci latency=64 maxlatency=4 mingnt=2
    resources: irq:17 memory:f8301000-f83017ff
    *-generic:0
    description: SD Host controller
    product: R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter
    vendor: Ricoh Co Ltd
    physical id: 0.2
    bus info: pci@0000:15:00.2
    version: 21
    width: 32 bits
    clock: 33MHz
    capabilities: pm bus_master cap_list
    configuration: driver=sdhci-pci latency=64
    resources: irq:18 memory:f8301800-f83018ff
    *-generic:1
    description: System peripheral
    product: R5C592 Memory Stick Bus Host Adapter
    vendor: Ricoh Co Ltd
    physical id: 0.4
    bus info: pci@0000:15:00.4
    version: 11
    width: 32 bits
    clock: 33MHz
    capabilities: pm bus_master cap_list
    configuration: driver=r592 latency=64
    resources: irq:18 memory:f8302000-f83020ff
    *-generic:2
    description: System peripheral
    product: xD-Picture Card Controller
    vendor: Ricoh Co Ltd
    physical id: 0.5
    bus info: pci@0000:15:00.5
    version: 11
    width: 32 bits
    clock: 33MHz
    capabilities: pm bus_master cap_list
    configuration: driver=r852 latency=64
    resources: irq:18 memory:f8302400-f83024ff
    *-isa
    description: ISA bridge
    product: 82801HEM (ICH8M-E) LPC Interface Controller
    vendor: Intel Corporation
    physical id: 1f
    bus info: pci@0000:00:1f.0
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: isa bus_master cap_list
    configuration: driver=lpc_ich latency=0
    resources: irq:0
    *-ide
    description: IDE interface
    product: 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller
    vendor: Intel Corporation
    physical id: 1f.1
    bus info: pci@0000:00:1f.1
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: ide bus_master
    configuration: driver=ata_piix latency=0
    resources: irq:16 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:1c00(size=16)
    *-storage
    description: SATA controller
    product: 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode]
    vendor: Intel Corporation
    physical id: 1f.2
    bus info: pci@0000:00:1f.2
    version: 03
    width: 32 bits
    clock: 66MHz
    capabilities: storage msi pm ahci_1.0 bus_master cap_list
    configuration: driver=ahci latency=0
    resources: irq:46 ioport:1c50(size=8) ioport:1c44(size=4) ioport:1c48(size=8) ioport:1c40(size=4) ioport:1c20(size=32) memory:fe226000-fe2267ff
    *-serial
    description: SMBus
    product: 82801H (ICH8 Family) SMBus Controller
    vendor: Intel Corporation
    physical id: 1f.3
    bus info: pci@0000:00:1f.3
    version: 03
    width: 32 bits
    clock: 33MHz
    configuration: driver=i801_smbus latency=0
    resources: irq:23 memory:fe227400-fe2274ff ioport:1c60(size=32)
    *-battery
    product: 92P1131
    vendor: SANYO
    physical id: 1
    slot: Rear
    capacity: 71280mWh
    configuration: voltage=10,8V
    UPDATE:
    The pattern appears for a few seconds before the screen goes completely black.
    dmesg:
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Linux version 3.7.5-1-ARCH (tobias@T-POWA-LX) (gcc version 4.7.2 (GCC) ) #1 SMP PREEMPT Mon Jan 28 10:03:32 CET 2013
    [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=6ba82705-70eb-4c55-baeb-0ae928385e41 ro quiet 3 processor.max_cstate=3
    [ 0.000000] e820: BIOS-provided physical RAM map:
    [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000000d2000-0x00000000000d3fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000be6affff] usable
    [ 0.000000] BIOS-e820: [mem 0x00000000be6b0000-0x00000000be6cbfff] ACPI data
    [ 0.000000] BIOS-e820: [mem 0x00000000be6cc000-0x00000000be6fffff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x00000000be700000-0x00000000beffffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000f0000000-0x00000000f3ffffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec0ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed00000-0x00000000fed003ff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed14000-0x00000000fed19fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed8ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
    [ 0.000000] NX (Execute Disable) protection: active
    [ 0.000000] SMBIOS 2.4 present.
    [ 0.000000] DMI: LENOVO 64665WG/64665WG, BIOS 7LETB2WW (2.12 ) 02/20/2008
    [ 0.000000] e820: update [mem 0x00000000-0x0000ffff] usable ==> reserved
    [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
    [ 0.000000] No AGP bridge found
    [ 0.000000] e820: last_pfn = 0xbe6b0 max_arch_pfn = 0x400000000
    [ 0.000000] MTRR default type: uncachable
    [ 0.000000] MTRR fixed ranges enabled:
    [ 0.000000] 00000-9FFFF write-back
    [ 0.000000] A0000-BFFFF uncachable
    [ 0.000000] C0000-CFFFF write-protect
    [ 0.000000] D0000-DFFFF uncachable
    [ 0.000000] E0000-FFFFF write-protect
    [ 0.000000] MTRR variable ranges enabled:
    [ 0.000000] 0 base 0BF000000 mask FFF000000 uncachable
    [ 0.000000] 1 base 000000000 mask F80000000 write-back
    [ 0.000000] 2 base 080000000 mask FC0000000 write-back
    [ 0.000000] 3 base 0BE700000 mask FFFF00000 uncachable
    [ 0.000000] 4 base 0BE800000 mask FFF800000 uncachable
    [ 0.000000] 5 disabled
    [ 0.000000] 6 disabled
    [ 0.000000] 7 disabled
    [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    [ 0.000000] found SMP MP-table at [mem 0x000f6900-0x000f690f] mapped at [ffff8800000f6900]
    [ 0.000000] initial memory mapped: [mem 0x00000000-0x1fffffff]
    [ 0.000000] Base memory trampoline at [ffff880000097000] 97000 size 24576
    [ 0.000000] init_memory_mapping: [mem 0x00000000-0xbe6affff]
    [ 0.000000] [mem 0x00000000-0xbe5fffff] page 2M
    [ 0.000000] [mem 0xbe600000-0xbe6affff] page 4k
    [ 0.000000] kernel direct mapping tables up to 0xbe6affff @ [mem 0x1fffb000-0x1fffffff]
    [ 0.000000] RAMDISK: [mem 0x37a10000-0x37cfffff]
    [ 0.000000] ACPI: RSDP 00000000000f68d0 00024 (v02 LENOVO)
    [ 0.000000] ACPI: XSDT 00000000be6bb74d 00094 (v01 LENOVO TP-7L 00002120 LTP 00000000)
    [ 0.000000] ACPI: FACP 00000000be6bb800 000F4 (v03 LENOVO TP-7L 00002120 LNVO 00000001)
    [ 0.000000] ACPI BIOS Bug: Warning: 32/64X length mismatch in FADT/Gpe1Block: 0/32 (20120913/tbfadt-567)
    [ 0.000000] ACPI BIOS Bug: Warning: Optional FADT field Gpe1Block has zero address or length: 0x000000000000102C/0x0 (20120913/tbfadt-598)
    [ 0.000000] ACPI: DSDT 00000000be6bbc1d 0FF03 (v01 LENOVO TP-7L 00002120 MSFT 03000000)
    [ 0.000000] ACPI: FACS 00000000be6e4000 00040
    [ 0.000000] ACPI: SSDT 00000000be6bb9b4 00269 (v01 LENOVO TP-7L 00002120 MSFT 03000000)
    [ 0.000000] ACPI: ECDT 00000000be6cbb20 00052 (v01 LENOVO TP-7L 00002120 LNVO 00000001)
    [ 0.000000] ACPI: TCPA 00000000be6cbb72 00032 (v02 LENOVO TP-7L 00002120 LNVO 00000001)
    [ 0.000000] ACPI: APIC 00000000be6cbba4 00068 (v01 LENOVO TP-7L 00002120 LNVO 00000001)
    [ 0.000000] ACPI: MCFG 00000000be6cbc0c 0003C (v01 LENOVO TP-7L 00002120 LNVO 00000001)
    [ 0.000000] ACPI: HPET 00000000be6cbc48 00038 (v01 LENOVO TP-7L 00002120 LNVO 00000001)
    [ 0.000000] ACPI: SLIC 00000000be6cbdf0 00176 (v01 LENOVO TP-7L 00002120 LTP 00000000)
    [ 0.000000] ACPI: BOOT 00000000be6cbf66 00028 (v01 LENOVO TP-7L 00002120 LTP 00000001)
    [ 0.000000] ACPI: ASF! 00000000be6cbf8e 00072 (v16 LENOVO TP-7L 00002120 PTL 00000001)
    [ 0.000000] ACPI: SSDT 00000000be6e234d 0025F (v01 LENOVO TP-7L 00002120 INTL 20050513)
    [ 0.000000] ACPI: SSDT 00000000be6e25ac 000A6 (v01 LENOVO TP-7L 00002120 INTL 20050513)
    [ 0.000000] ACPI: SSDT 00000000be6e2652 004F7 (v01 LENOVO TP-7L 00002120 INTL 20050513)
    [ 0.000000] ACPI: SSDT 00000000be6e2b49 001D8 (v01 LENOVO TP-7L 00002120 INTL 20050513)
    [ 0.000000] ACPI: DMI detected: Lenovo ThinkPad T61
    [ 0.000000] ACPI: Local APIC address 0xfee00000
    [ 0.000000] No NUMA configuration found
    [ 0.000000] Faking a node at [mem 0x0000000000000000-0x00000000be6affff]
    [ 0.000000] Initmem setup node 0 [mem 0x00000000-0xbe6affff]
    [ 0.000000] NODE_DATA [mem 0xbe6ac000-0xbe6affff]
    [ 0.000000] [ffffea0000000000-ffffea0002ffffff] PMD -> [ffff8800bae00000-ffff8800bddfffff] on node 0
    [ 0.000000] Zone ranges:
    [ 0.000000] DMA [mem 0x00010000-0x00ffffff]
    [ 0.000000] DMA32 [mem 0x01000000-0xffffffff]
    [ 0.000000] Normal empty
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x00010000-0x0009cfff]
    [ 0.000000] node 0: [mem 0x00100000-0xbe6affff]
    [ 0.000000] On node 0 totalpages: 779837
    [ 0.000000] DMA zone: 64 pages used for memmap
    [ 0.000000] DMA zone: 6 pages reserved
    [ 0.000000] DMA zone: 3911 pages, LIFO batch:0
    [ 0.000000] DMA32 zone: 12123 pages used for memmap
    [ 0.000000] DMA32 zone: 763733 pages, LIFO batch:31
    [ 0.000000] ACPI: PM-Timer IO Port: 0x1008
    [ 0.000000] ACPI: Local APIC address 0xfee00000
    [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    [ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
    [ 0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
    [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    [ 0.000000] ACPI: IRQ0 used by override.
    [ 0.000000] ACPI: IRQ2 used by override.
    [ 0.000000] ACPI: IRQ9 used by override.
    [ 0.000000] Using ACPI (MADT) for SMP configuration information
    [ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
    [ 0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
    [ 0.000000] nr_irqs_gsi: 40
    [ 0.000000] PM: Registered nosave memory: 000000000009d000 - 000000000009e000
    [ 0.000000] PM: Registered nosave memory: 000000000009e000 - 00000000000a0000
    [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000d2000
    [ 0.000000] PM: Registered nosave memory: 00000000000d2000 - 00000000000d4000
    [ 0.000000] PM: Registered nosave memory: 00000000000d4000 - 00000000000e0000
    [ 0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
    [ 0.000000] e820: [mem 0xbf000000-0xefffffff] available for PCI devices
    [ 0.000000] Booting paravirtualized kernel on bare hardware
    [ 0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:2 nr_node_ids:1
    [ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff8800be400000 s84608 r8192 d21888 u1048576
    [ 0.000000] pcpu-alloc: s84608 r8192 d21888 u1048576 alloc=1*2097152
    [ 0.000000] pcpu-alloc: [0] 0 1
    [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 767644
    [ 0.000000] Policy zone: DMA32
    [ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=6ba82705-70eb-4c55-baeb-0ae928385e41 ro quiet 3 processor.max_cstate=3
    [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
    [ 0.000000] __ex_table already sorted, skipping sort
    [ 0.000000] Checking aperture...
    [ 0.000000] No AGP bridge found
    [ 0.000000] Calgary: detecting Calgary via BIOS EBDA area
    [ 0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
    [ 0.000000] Memory: 3055496k/3119808k available (4883k kernel code, 460k absent, 63852k reserved, 4030k data, 812k init)
    [ 0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
    [ 0.000000] Dump stacks of tasks blocking RCU-preempt GP.
    [ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=2.
    [ 0.000000] NR_IRQS:4352 nr_irqs:512 16
    [ 0.000000] Extended CMOS year: 2000
    [ 0.000000] Console: colour dummy device 80x25
    [ 0.000000] console [tty0] enabled
    [ 0.000000] allocated 12582912 bytes of page_cgroup
    [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [ 0.000000] hpet clockevent registered
    [ 0.000000] tsc: Fast TSC calibration using PIT
    [ 0.000000] tsc: Detected 1994.883 MHz processor
    [ 0.003338] Calibrating delay loop (skipped), value calculated using timer frequency.. 3991.00 BogoMIPS (lpj=6649610)
    [ 0.003345] pid_max: default: 32768 minimum: 301
    [ 0.003411] Security Framework initialized
    [ 0.003429] AppArmor: AppArmor disabled by boot time parameter
    [ 0.004096] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
    [ 0.009707] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
    [ 0.011314] Mount-cache hash table entries: 256
    [ 0.011743] Initializing cgroup subsys cpuacct
    [ 0.011749] Initializing cgroup subsys memory
    [ 0.011767] Initializing cgroup subsys devices
    [ 0.011769] Initializing cgroup subsys freezer
    [ 0.011772] Initializing cgroup subsys net_cls
    [ 0.011775] Initializing cgroup subsys blkio
    [ 0.011826] CPU: Physical Processor ID: 0
    [ 0.011829] CPU: Processor Core ID: 0
    [ 0.011833] mce: CPU supports 6 MCE banks
    [ 0.011846] CPU0: Thermal monitoring enabled (TM2)
    [ 0.011853] process: using mwait in idle threads
    [ 0.011861] Last level iTLB entries: 4KB 128, 2MB 4, 4MB 4
    Last level dTLB entries: 4KB 256, 2MB 0, 4MB 32
    tlb_flushall_shift: -1
    [ 0.012032] Freeing SMP alternatives: 16k freed
    [ 0.014357] ACPI: Core revision 20120913
    [ 0.030022] ftrace: allocating 18793 entries in 74 pages
    [ 0.043969] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    [ 0.078117] smpboot: CPU0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (fam: 06, model: 0f, stepping: 0d)
    [ 0.079999] Performance Events: PEBS fmt0+, 4-deep LBR, Core2 events, Intel PMU driver.
    [ 0.079999] perf_event_intel: PEBS disabled due to CPU errata
    [ 0.079999] ... version: 2
    [ 0.079999] ... bit width: 40
    [ 0.079999] ... generic registers: 2
    [ 0.079999] ... value mask: 000000ffffffffff
    [ 0.079999] ... max period: 000000007fffffff
    [ 0.079999] ... fixed-purpose events: 3
    [ 0.079999] ... event mask: 0000000700000003
    [ 0.103422] smpboot: Booting Node 0, Processors #1 OK
    [ 0.116550] TSC synchronization [CPU#0 -> CPU#1]:
    [ 0.116555] Measured 1027940 cycles TSC warp between CPUs, turning off TSC clock.
    [ 0.116559] tsc: Marking TSC unstable due to check_tsc_sync_source failed
    [ 0.116688] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
    [ 0.116707] Brought up 2 CPUs
    [ 0.116712] smpboot: Total of 2 processors activated (7982.01 BogoMIPS)
    [ 0.118692] devtmpfs: initialized
    [ 0.121214] PM: Registering ACPI NVS region [mem 0xbe6cc000-0xbe6fffff] (212992 bytes)
    [ 0.121884] RTC time: 16:07:33, date: 02/11/13
    [ 0.121966] NET: Registered protocol family 16
    [ 0.121966] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
    [ 0.121966] ACPI: bus type pci registered
    [ 0.121966] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf0000000-0xf3ffffff] (base 0xf0000000)
    [ 0.121966] PCI: MMCONFIG at [mem 0xf0000000-0xf3ffffff] reserved in E820
    [ 0.130348] PCI: Using configuration type 1 for base access
    [ 0.130570] mtrr: your CPUs had inconsistent variable MTRR settings
    [ 0.130572] mtrr: probably your BIOS does not setup all CPUs.
    [ 0.130575] mtrr: corrected configuration.
    [ 0.133373] bio: create slab <bio-0> at 0
    [ 0.133410] ACPI: Added _OSI(Module Device)
    [ 0.133410] ACPI: Added _OSI(Processor Device)
    [ 0.133410] ACPI: Added _OSI(3.0 _SCP Extensions)
    [ 0.133410] ACPI: Added _OSI(Processor Aggregator Device)
    [ 0.133410] ACPI: Added _OSI(Linux)
    [ 0.135453] ACPI: EC: EC description table is found, configuring boot EC
    [ 0.145385] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query honored via DMI
    [ 0.170056] ACPI: SSDT 00000000be6e1aef 0085E (v01 PmRef Cpu0Cst 00000100 INTL 20050513)
    [ 0.171067] ACPI: Dynamic OEM Table Load:
    [ 0.171073] ACPI: SSDT (null) 0085E (v01 PmRef Cpu0Cst 00000100 INTL 20050513)
    [ 0.171422] ACPI: SSDT 00000000be6e1a6a 00085 (v01 PmRef Cpu1Cst 00000100 INTL 20050513)
    [ 0.172356] ACPI: Dynamic OEM Table Load:
    [ 0.172362] ACPI: SSDT (null) 00085 (v01 PmRef Cpu1Cst 00000100 INTL 20050513)
    [ 0.172394] ACPI: Interpreter enabled
    [ 0.172394] ACPI: (supports S0 S3 S4 S5)
    [ 0.172394] ACPI: Using IOAPIC for interrupt routing
    [ 0.177412] ACPI: Power Resource [PUBS] (on)
    [ 0.180918] ACPI: EC: GPE = 0x12, I/O: command/status = 0x66, data = 0x62
    [ 0.184454] ACPI: ACPI Dock Station Driver: 3 docks/bays found
    [ 0.184462] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
    [ 0.184462] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
    [ 0.184462] pci_root PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
    [ 0.184462] PCI host bridge to bus 0000:00
    [ 0.184462] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 0.184462] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7]
    [ 0.184462] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff]
    [ 0.184462] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
    [ 0.184462] pci_bus 0000:00: root bus resource [mem 0x000d4000-0x000d7fff]
    [ 0.184462] pci_bus 0000:00: root bus resource [mem 0x000d8000-0x000dbfff]
    [ 0.184462] pci_bus 0000:00: root bus resource [mem 0x000dc000-0x000dffff]
    [ 0.184462] pci_bus 0000:00: root bus resource [mem 0xbf000000-0xfebfffff]
    [ 0.184462] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed4bfff]
    [ 0.184462] pci 0000:00:00.0: [8086:2a00] type 00 class 0x060000
    [ 0.184462] pci 0000:00:02.0: [8086:2a02] type 00 class 0x030000
    [ 0.184462] pci 0000:00:02.0: reg 10: [mem 0xf8100000-0xf81fffff 64bit]
    [ 0.184462] pci 0000:00:02.0: reg 18: [mem 0xe0000000-0xefffffff 64bit pref]
    [ 0.184462] pci 0000:00:02.0: reg 20: [io 0x1800-0x1807]
    [ 0.184462] pci 0000:00:02.1: [8086:2a03] type 00 class 0x038000
    [ 0.184462] pci 0000:00:02.1: reg 10: [mem 0xf8200000-0xf82fffff 64bit]
    [ 0.184462] pci 0000:00:19.0: [8086:1049] type 00 class 0x020000
    [ 0.184462] pci 0000:00:19.0: reg 10: [mem 0xfe000000-0xfe01ffff]
    [ 0.184462] pci 0000:00:19.0: reg 14: [mem 0xfe025000-0xfe025fff]
    [ 0.184462] pci 0000:00:19.0: reg 18: [io 0x1840-0x185f]
    [ 0.184462] pci 0000:00:19.0: PME# supported from D0 D3hot D3cold
    [ 0.184462] pci 0000:00:1a.0: [8086:2834] type 00 class 0x0c0300
    [ 0.184588] pci 0000:00:1a.0: reg 20: [io 0x1860-0x187f]
    [ 0.184699] pci 0000:00:1a.1: [8086:2835] type 00 class 0x0c0300
    [ 0.184850] pci 0000:00:1a.1: reg 20: [io 0x1880-0x189f]
    [ 0.184992] pci 0000:00:1a.7: [8086:283a] type 00 class 0x0c0320
    [ 0.185046] pci 0000:00:1a.7: reg 10: [mem 0xfe226c00-0xfe226fff]
    [ 0.185305] pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
    [ 0.185386] pci 0000:00:1b.0: [8086:284b] type 00 class 0x040300
    [ 0.185446] pci 0000:00:1b.0: reg 10: [mem 0xfe020000-0xfe023fff 64bit]
    [ 0.185725] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
    [ 0.185810] pci 0000:00:1c.0: [8086:283f] type 01 class 0x060400
    [ 0.186107] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
    [ 0.186189] pci 0000:00:1c.1: [8086:2841] type 01 class 0x060400
    [ 0.186472] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
    [ 0.186563] pci 0000:00:1c.2: [8086:2843] type 01 class 0x060400
    [ 0.186861] pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
    [ 0.186951] pci 0000:00:1c.3: [8086:2845] type 01 class 0x060400
    [ 0.187249] pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
    [ 0.187340] pci 0000:00:1c.4: [8086:2847] type 01 class 0x060400
    [ 0.187631] pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
    [ 0.187718] pci 0000:00:1d.0: [8086:2830] type 00 class 0x0c0300
    [ 0.187866] pci 0000:00:1d.0: reg 20: [io 0x18a0-0x18bf]
    [ 0.187980] pci 0000:00:1d.1: [8086:2831] type 00 class 0x0c0300
    [ 0.188132] pci 0000:00:1d.1: reg 20: [io 0x18c0-0x18df]
    [ 0.188244] pci 0000:00:1d.2: [8086:2832] type 00 class 0x0c0300
    [ 0.188389] pci 0000:00:1d.2: reg 20: [io 0x18e0-0x18ff]
    [ 0.188540] pci 0000:00:1d.7: [8086:2836] type 00 class 0x0c0320
    [ 0.188605] pci 0000:00:1d.7: reg 10: [mem 0xfe227000-0xfe2273ff]
    [ 0.188893] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
    [ 0.188960] pci 0000:00:1e.0: [8086:2448] type 01 class 0x060401
    [ 0.189213] pci 0000:00:1f.0: [8086:2811] type 00 class 0x060100
    [ 0.189448] pci 0000:00:1f.0: quirk: [io 0x1000-0x107f] claimed by ICH6 ACPI/GPIO/TCO
    [ 0.189461] pci 0000:00:1f.0: quirk: [io 0x1180-0x11bf] claimed by ICH6 GPIO
    [ 0.189471] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 1600 (mask 007f)
    [ 0.189479] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 15e0 (mask 000f)
    [ 0.189488] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 3 PIO at 1680 (mask 001f)
    [ 0.189613] pci 0000:00:1f.1: [8086:2850] type 00 class 0x01018a
    [ 0.189656] pci 0000:00:1f.1: reg 10: [io 0x0000-0x0007]
    [ 0.189687] pci 0000:00:1f.1: reg 14: [io 0x0000-0x0003]
    [ 0.189719] pci 0000:00:1f.1: reg 18: [io 0x0000-0x0007]
    [ 0.189751] pci 0000:00:1f.1: reg 1c: [io 0x0000-0x0003]
    [ 0.189782] pci 0000:00:1f.1: reg 20: [io 0x1c00-0x1c0f]
    [ 0.189925] pci 0000:00:1f.2: [8086:2829] type 00 class 0x010601
    [ 0.190005] pci 0000:00:1f.2: reg 10: [io 0x1c50-0x1c57]
    [ 0.190036] pci 0000:00:1f.2: reg 14: [io 0x1c44-0x1c47]
    [ 0.190068] pci 0000:00:1f.2: reg 18: [io 0x1c48-0x1c4f]
    [ 0.190100] pci 0000:00:1f.2: reg 1c: [io 0x1c40-0x1c43]
    [ 0.190131] pci 0000:00:1f.2: reg 20: [io 0x1c20-0x1c3f]
    [ 0.190160] pci 0000:00:1f.2: reg 24: [mem 0xfe226000-0xfe2267ff]
    [ 0.190339] pci 0000:00:1f.2: PME# supported from D3hot
    [ 0.190403] pci 0000:00:1f.3: [8086:283e] type 00 class 0x0c0500
    [ 0.190448] pci 0000:00:1f.3: reg 10: [mem 0xfe227400-0xfe2274ff]
    [ 0.190562] pci 0000:00:1f.3: reg 20: [io 0x1c60-0x1c7f]
    [ 0.190820] pci 0000:00:1c.0: PCI bridge to [bus 02]
    [ 0.190833] pci 0000:00:1c.0: bridge window [io 0x2000-0x2fff]
    [ 0.190845] pci 0000:00:1c.0: bridge window [mem 0xfc000000-0xfdffffff]
    [ 0.190863] pci 0000:00:1c.0: bridge window [mem 0xf8000000-0xf80fffff 64bit pref]
    [ 0.191139] pci 0000:03:00.0: [8086:4227] type 00 class 0x028000
    [ 0.191201] pci 0000:03:00.0: reg 10: [mem 0xdf3ff000-0xdf3fffff]
    [ 0.191653] pci 0000:03:00.0: PME# supported from D0 D3hot D3cold
    [ 0.200091] pci 0000:00:1c.1: PCI bridge to [bus 03]
    [ 0.200100] pci 0000:00:1c.1: bridge window [io 0x3000-0x3fff]
    [ 0.200108] pci 0000:00:1c.1: bridge window [mem 0xdc000000-0xdf3fffff]
    [ 0.200120] pci 0000:00:1c.1: bridge window [mem 0xdfe00000-0xdfefffff 64bit pref]
    [ 0.200236] pci 0000:00:1c.2: PCI bridge to [bus 04]
    [ 0.200248] pci 0000:00:1c.2: bridge window [io 0x4000-0x4fff]
    [ 0.200260] pci 0000:00:1c.2: bridge window [mem 0xd8000000-0xd9ffffff]
    [ 0.200280] pci 0000:00:1c.2: bridge window [mem 0xdfb00000-0xdfbfffff 64bit pref]
    [ 0.200446] pci 0000:00:1c.3: PCI bridge to [bus 05-0c]
    [ 0.200458] pci 0000:00:1c.3: bridge window [io 0x5000-0x5fff]
    [ 0.200470] pci 0000:00:1c.3: bridge window [mem 0xd4000000-0xd5ffffff]
    [ 0.200490] pci 0000:00:1c.3: bridge window [mem 0xdf800000-0xdf8fffff 64bit pref]
    [ 0.200649] pci 0000:00:1c.4: PCI bridge to [bus 0d-14]
    [ 0.200661] pci 0000:00:1c.4: bridge window [io 0x6000-0x6fff]
    [ 0.200671] pci 0000:00:1c.4: bridge window [mem 0xd0000000-0xd1ffffff]
    [ 0.200691] pci 0000:00:1c.4: bridge window [mem 0xdf500000-0xdf5fffff 64bit pref]
    [ 0.200808] pci 0000:15:00.0: [1180:0476] type 02 class 0x060700
    [ 0.200862] pci 0000:15:00.0: proprietary Ricoh MMC controller disabled (via cardbus function)
    [ 0.200865] pci 0000:15:00.0: MMC cards are now supported by standard SDHCI controller
    [ 0.200907] pci 0000:15:00.0: reg 10: [mem 0xf8300000-0xf8300fff]
    [ 0.201003] pci 0000:15:00.0: supports D1 D2
    [ 0.201008] pci 0000:15:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    [ 0.201070] pci 0000:15:00.1: [1180:0832] type 00 class 0x0c0010
    [ 0.201128] pci 0000:15:00.1: reg 10: [mem 0xf8301000-0xf83017ff]
    [ 0.201392] pci 0000:15:00.1: supports D1 D2
    [ 0.201396] pci 0000:15:00.1: PME# supported from D0 D1 D2 D3hot D3cold
    [ 0.201459] pci 0000:15:00.2: [1180:0822] type 00 class 0x080500
    [ 0.201517] pci 0000:15:00.2: reg 10: [mem 0xf8301800-0xf83018ff]
    [ 0.201781] pci 0000:15:00.2: supports D1 D2
    [ 0.201785] pci 0000:15:00.2: PME# supported from D0 D1 D2 D3hot D3cold
    [ 0.201848] pci 0000:15:00.4: [1180:0592] type 00 class 0x088000
    [ 0.201907] pci 0000:15:00.4: reg 10: [mem 0xf8302000-0xf83020ff]
    [ 0.202168] pci 0000:15:00.4: supports D1 D2
    [ 0.202172] pci 0000:15:00.4: PME# supported from D0 D1 D2 D3hot D3cold
    [ 0.202235] pci 0000:15:00.5: [1180:0852] type 00 class 0x088000
    [ 0.202293] pci 0000:15:00.5: reg 10: [mem 0xf8302400-0xf83024ff]
    [ 0.202554] pci 0000:15:00.5: supports D1 D2
    [ 0.202558] pci 0000:15:00.5: PME# supported from D0 D1 D2 D3hot D3cold
    [ 0.202730] pci 0000:00:1e.0: PCI bridge to [bus 15-18] (subtractive decode)
    [ 0.202742] pci 0000:00:1e.0: bridge window [io 0x7000-0xafff]
    [ 0.202755] pci 0000:00:1e.0: bridge window [mem 0xf8300000-0xfbffffff]
    [ 0.202775] pci 0000:00:1e.0: bridge window [mem 0xf4000000-0xf7ffffff 64bit pref]
    [ 0.202779] pci 0000:00:1e.0: bridge window [io 0x0000-0x0cf7] (subtractive decode)
    [ 0.202784] pci 0000:00:1e.0: bridge window [io 0x0d00-0xffff] (subtractive decode)
    [ 0.202788] pci 0000:00:1e.0: bridge window [mem 0x000a0000-0x000bffff] (subtractive decode)
    [ 0.202793] pci 0000:00:1e.0: bridge window [mem 0x000d4000-0x000d7fff] (subtractive decode)
    [ 0.202797] pci 0000:00:1e.0: bridge window [mem 0x000d8000-0x000dbfff] (subtractive decode)
    [ 0.202801] pci 0000:00:1e.0: bridge window [mem 0x000dc000-0x000dffff] (subtractive decode)
    [ 0.202806] pci 0000:00:1e.0: bridge window [mem 0xbf000000-0xfebfffff] (subtractive decode)
    [ 0.202810] pci 0000:00:1e.0: bridge window [mem 0xfed40000-0xfed4bfff] (subtractive decode)
    [ 0.202916] pci_bus 0000:16: busn_res: can not insert [bus 16-ff] under [bus 15-18] (conflicts with (null) [bus 15-18])
    [ 0.202927] pci_bus 0000:16: busn_res: [bus 16-ff] end is updated to 17
    [ 0.203040] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    [ 0.203194] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP0._PRT]
    [ 0.203241] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP1._PRT]
    [ 0.203286] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP2._PRT]
    [ 0.203337] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP3._PRT]
    [ 0.203398] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP4._PRT]
    [ 0.203450] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
    [ 0.203867] pci0000:00: Requesting ACPI _OSC control (0x1d)
    [ 0.204419] pci0000:00: ACPI _OSC control (0x1d) granted
    [ 0.213100] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 *10 11)
    [ 0.213218] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11)
    [ 0.213338] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11)
    [ 0.213453] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11)
    [ 0.213566] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11)
    [ 0.213678] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 *11)
    [ 0.213795] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 *11)
    [ 0.213907] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11)
    [ 0.216702] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
    [ 0.216715] vgaarb: loaded
    [ 0.216718] vgaarb: bridge control possible 0000:00:02.0
    [ 0.216791] PCI: Using ACPI for IRQ routing
    [ 0.217268] PCI: pci_cache_line_size set to 64 bytes
    [ 0.217440] e820: reserve RAM buffer [mem 0x0009d800-0x0009ffff]
    [ 0.217445] e820: reserve RAM buffer [mem 0xbe6b0000-0xbfffffff]
    [ 0.217631] NetLabel: Initializing
    [ 0.217635] NetLabel: domain hash size = 128
    [ 0.217637] NetLabel: protocols = UNLABELED CIPSOv4
    [ 0.217665] NetLabel: unlabeled traffic allowed by default
    [ 0.217694] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
    [ 0.217700] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
    [ 0.217708] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
    [ 0.230023] Switching to clocksource hpet
    [ 0.241152] pnp: PnP ACPI init
    [ 0.241186] ACPI: bus type pnp registered
    [ 0.241858] pnp 00:00: [mem 0x00000000-0x0009ffff]
    [ 0.241863] pnp 00:00: [mem 0x000c0000-0x000c3fff]
    [ 0.241868] pnp 00:00: [mem 0x000c4000-0x000c7fff]
    [ 0.241878] pnp 00:00: [mem 0x000c8000-0x000cbfff]
    [ 0.241882] pnp 00:00: [mem 0x000cc000-0x000cffff]
    [ 0.241886] pnp 00:00: [mem 0x000d0000-0x000d3fff]
    [ 0.241890] pnp 00:00: [mem 0x000d4000-0x000d3fff disabled]
    [ 0.241894] pnp 00:00: [mem 0x000d8000-0x000d7fff disabled]
    [ 0.241898] pnp 00:00: [mem 0x000dc000-0x000dbfff disabled]
    [ 0.241902] pnp 00:00: [mem 0x000e0000-0x000e3fff]
    [ 0.241906] pnp 00:00: [mem 0x000e4000-0x000e7fff]
    [ 0.241910] pnp 00:00: [mem 0x000e8000-0x000ebfff]
    [ 0.241914] pnp 00:00: [mem 0x000ec000-0x000effff]
    [ 0.241918] pnp 00:00: [mem 0x000f0000-0x000fffff]
    [ 0.241922] pnp 00:00: [mem 0x00100000-0xbeffffff]
    [ 0.241926] pnp 00:00: [mem 0xfec00000-0xfed3ffff]
    [ 0.241930] pnp 00:00: [mem 0xfed4c000-0xffffffff]
    [ 0.242062] system 00:00: [mem 0x00000000-0x0009ffff] could not be reserved
    [ 0.242068] system 00:00: [mem 0x000c0000-0x000c3fff] could not be reserved
    [ 0.242073] system 00:00: [mem 0x000c4000-0x000c7fff] could not be reserved
    [ 0.242078] system 00:00: [mem 0x000c8000-0x000cbfff] has been reserved
    [ 0.242083] system 00:00: [mem 0x000cc000-0x000cffff] has been reserved
    [ 0.242088] system 00:00: [mem 0x000d0000-0x000d3fff] could not be reserved
    [ 0.242093] system 00:00: [mem 0x000e0000-0x000e3fff] could not be reserved
    [ 0.242098] system 00:00: [mem 0x000e4000-0x000e7fff] could not be reserved
    [ 0.242103] system 00:00: [mem 0x000e8000-0x000ebfff] could not be reserved
    [ 0.242108] system 00:00: [mem 0x000ec000-0x000effff] could not be reserved
    [ 0.242113] system 00:00: [mem 0x000f0000-0x000fffff] could not be reserved
    [ 0.242118] system 00:00: [mem 0x00100000-0xbeffffff] could not be reserved
    [ 0.242124] system 00:00: [mem 0xfec00000-0xfed3ffff] could not be reserved
    [ 0.242129] system 00:00: [mem 0xfed4c000-0xffffffff] could not be reserved
    [ 0.242138] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
    [ 0.242179] pnp 00:01: [bus 00-ff]
    [ 0.242184] pnp 00:01: [io 0x0cf8-0x0cff]
    [ 0.242188] pnp 00:01: [io 0x0000-0x0cf7 window]
    [ 0.242193] pnp 00:01: [io 0x0d00-0xffff window]
    [ 0.242197] pnp 00:01: [mem 0x000a0000-0x000bffff window]
    [ 0.242202] pnp 00:01: [mem 0x000c0000-0x000c3fff window]
    [ 0.242206] pnp 00:01: [mem 0x000c4000-0x000c7fff window]
    [ 0.242211] pnp 00:01: [mem 0x000c8000-0x000cbfff window]
    [ 0.242215] pnp 00:01: [mem 0x000cc000-0x000cffff window]
    [ 0.242219] pnp 00:01: [mem 0x000d0000-0x000d3fff window]
    [ 0.242223] pnp 00:01: [mem 0x000d4000-0x000d7fff window]
    [ 0.242227] pnp 00:01: [mem 0x000d8000-0x000dbfff window]
    [ 0.242232] pnp 00:01: [mem 0x000dc000-0x000dffff window]
    [ 0.242236] pnp 00:01: [mem 0x000e0000-0x000e3fff window]
    [ 0.242240] pnp 00:01: [mem 0x000e4000-0x000e7fff window]
    [ 0.242244] pnp 00:01: [mem 0x000e8000-0x000ebfff window]
    [ 0.242248] pnp 00:01: [mem 0x000ec000-0x000effff window]
    [ 0.242253] pnp 00:01: [mem 0xbf000000-0xfebfffff window]
    [ 0.242257] pnp 00:01: [mem 0xfed40000-0xfed4bfff window]
    [ 0.242329] pnp 00:01: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
    [ 0.242400] pnp 00:02: [io 0x0010-0x001f]
    [ 0.242405] pnp 00:02: [io 0x0090-0x009f]
    [ 0.242409] pnp 00:02: [io 0x0024-0x0025]
    [ 0.242413] pnp 00:02: [io 0x0028-0x0029]
    [ 0.242417] pnp 00:02: [io 0x002c-0x002d]
    [ 0.242421] pnp 00:02: [io 0x0030-0x0031]
    [ 0.242424] pnp 00:02: [io 0x0034-0x0035]
    [ 0.242428] pnp 00:02: [io 0x0038-0x0039]
    [ 0.242432] pnp 00:02: [io 0x003c-0x003d]
    [ 0.242441] pnp 00:02: [io 0x00a4-0x00a5]
    [ 0.242445] pnp 00:02: [io 0x00a8-0x00a9]
    [ 0.242449] pnp 00:02: [io 0x00ac-0x00ad]
    [ 0.242452] pnp 00:02: [io 0x00b0-0x00b5]
    [ 0.242456] pnp 00:02: [io 0x00b8-0x00b9]
    [ 0.242460] pnp 00:02: [io 0x00bc-0x00bd]
    [ 0.242464] pnp 00:02: [io 0x0050-0x0053]
    [ 0.242468] pnp 00:02: [io 0x0072-0x0077]
    [ 0.242472] pnp 00:02: [io 0x164e-0x164f]
    [ 0.242476] pnp 00:02: [io 0x002e-0x002f]
    [ 0.242479] pnp 00:02: [io 0x1000-0x107f]
    [ 0.242483] pnp 00:02: [io 0x1180-0x11bf]
    [ 0.242487] pnp 00:02: [io 0x0800-0x080f]
    [ 0.242491] pnp 00:02: [io 0x15e0-0x15ef]
    [ 0.242495] pnp 00:02: [io 0x1600-0x165f]
    [ 0.242499] pnp 00:02: [mem 0xf0000000-0xf3ffffff]
    [ 0.242503] pnp 00:02: [mem 0xfed1c000-0xfed1ffff]
    [ 0.242507] pnp 00:02: [mem 0xfed14000-0xfed17fff]
    [ 0.242511] pnp 00:02: [mem 0xfed18000-0xfed18fff]
    [ 0.242515] pnp 00:02: [mem 0xfed19000-0xfed19fff]
    [ 0.242519] pnp 00:02: [mem 0xfed45000-0xfed4bfff]
    [ 0.242663] system 00:02: [io 0x164e-0x164f] has been reserved
    [ 0.242668] system 00:02: [io 0x1000-0x107f] has been reserved
    [ 0.242674] system 00:02: [io 0x1180-0x11bf] has been reserved
    [ 0.242679] system 00:02: [io 0x0800-0x080f] has been reserved
    [ 0.242684] system 00:02: [io 0x15e0-0x15ef] has been reserved
    [ 0.242689] system 00:02: [io 0x1600-0x165f] could not be reserved
    [ 0.242695] system 00:02: [mem 0xf0000000-0xf3ffffff] has been reserved
    [ 0.242700] system 00:02: [mem 0xfed1c000-0xfed1ffff] has been reserved
    [ 0.242706] system 00:02: [mem 0xfed14000-0xfed17fff] has been reserved
    [ 0.242711] system 00:02: [mem 0xfed18000-0xfed18fff] has been reserved
    [ 0.242716] system 00:02: [mem 0xfed19000-0xfed19fff] has been reserved
    [ 0.242721] system 00:02: [mem 0xfed45000-0xfed4bfff] has been reserved
    [ 0.242728] system 00:02: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.242791] pnp 00:03: [mem 0xfed00000-0xfed003ff]
    [ 0.242838] pnp 00:03: Plug and Play ACPI device, IDs PNP0103 (active)
    [ 0.242855] pnp 00:04: [io 0x0000-0x000f]
    [ 0.242859] pnp 00:04: [io 0x0080-0x008f]
    [ 0.242863] pnp 00:04: [io 0x00c0-0x00df]
    [ 0.242868] pnp 00:04: [dma 4]
    [ 0.242913] pnp 00:04: Plug and Play ACPI device, IDs PNP0200 (active)
    [ 0.242927] pnp 00:05: [io 0x0061]
    [ 0.242969] pnp 00:05: Plug and Play ACPI device, IDs PNP0800 (active)
    [ 0.242984] pnp 00:06: [io 0x00f0]
    [ 0.243003] pnp 00:06: [irq 13]
    [ 0.243052] pnp 00:06: Plug and Play ACPI device, IDs PNP0c04 (active)
    [ 0.243068] pnp 00:07: [io 0x0070-0x0071]
    [ 0.243078] pnp 00:07: [irq 8]
    [ 0.243119] pnp 00:07: Plug and Play ACPI device, IDs PNP0b00 (active)
    [ 0.243135] pnp 00:08: [io 0x0060]
    [ 0.243140] pnp 00:08: [io 0x0064]
    [ 0.243149] pnp 00:08: [irq 1]
    [ 0.243194] pnp 00:08: Plug and Play ACPI device, IDs PNP0303 (active)
    [ 0.243215] pnp 00:09: [irq 12]
    [ 0.243258] pnp 00:09: Plug and Play ACPI device, IDs IBM0057 PNP0f13 (active)
    [ 0.243896] pnp 00:0a: [mem 0xfed40000-0xfed44fff]
    [ 0.243949] pnp 00:0a: Plug and Play ACPI device, IDs ATM1200 PNP0c31 (active)
    [ 0.244685] pnp: PnP ACPI: found 11 devices
    [ 0.244689] ACPI: ACPI bus type pnp unregistered
    [ 0.253426] pci 0000:00:1c.0: PCI bridge to [bus 02]
    [ 0.253435] pci 0000:00:1c.0: bridge window [io 0x2000-0x2fff]
    [ 0.253445] pci 0000:00:1c.0: bridge window [mem 0xfc000000-0xfdffffff]
    [ 0.253454] pci 0000:00:1c.0: bridge window [mem 0xf8000000-0xf80fffff 64bit pref]
    [ 0.253466] pci 0000:00:1c.1: PCI bridge to [bus 03]
    [ 0.253472] pci 0000:00:1c.1: bridge window [io 0x3000-0x3fff]
    [ 0.253481] pci 0000:00:1c.1: bridge window [mem 0xdc000000-0xdf3fffff]
    [ 0.253490] pci 0000:00:1c.1: bridge window [mem 0xdfe00000-0xdfefffff 64bit pref]
    [ 0.253501] pci 0000:00:1c.2: PCI bridge to [bus 04]
    [ 0.253507] pci 0000:00:1c.2: bridge window [io 0x4000-0x4fff]
    [ 0.253517] pci 0000:00:1c.2: bridge window [mem 0xd8000000-0xd9ffffff]
    [ 0.253525] pci 0000:00:1c.2: bridge window [mem 0xdfb00000-0xdfbfffff 64bit pref]
    [ 0.253537] pci 0000:00:1c.3: PCI bridge to [bus 05-0c]
    [ 0.253543] pci 0000:00:1c.3: bridge window [io 0x5000-0x5fff]
    [ 0.253552] pci 0000:00:1c.3: bridge window [mem 0xd4000000-0xd5ffffff]
    [ 0.253560] pci 0000:00:1c.3: bridge window [mem 0xdf800000-0xdf8fffff 64bit pref]
    [ 0.253572] pci 0000:00:1c.4: PCI bridge to [bus 0d-14]
    [ 0.253578] pci 0000:00:1c.4: bridge window [io 0x6000-0x6fff]
    [ 0.253587] pci 0000:00:1c.4: bridge window [mem 0xd0000000-0xd1ffffff]
    [ 0.253595] pci 0000:00:1c.4: bridge window [mem 0xdf500000-0xdf5fffff 64bit pref]
    [ 0.253611] pci 0000:15:00.0: res[15]=[mem 0x04000000-0x03ffffff pref] get_res_add_size add_size 4000000
    [ 0.253616] pci 0000:15:00.0: res[16]=[mem 0x04000000-0x03ffffff] get_res_add_size add_size 4000000
    [ 0.253621] pci 0000:15:00.0: res[13]=[io 0x0100-0x00ff] get_res_add_size add_size 100
    [ 0.253626] pci 0000:15:00.0: res[14]=[io 0x0100-0x00ff] get_res_add_size add_size 100
    [ 0.253634] pci 0000:15:00.0: BAR 15: assigned [mem 0xf4000000-0xf7ffffff pref]
    [ 0.253642] pci 0000:15:00.0: BAR 16: assigned [mem 0xc0000000-0xc3ffffff]
    [ 0.253647] pci 0000:15:00.0: BAR 13: assigned [io 0x7000-0x70ff]
    [ 0.253652] pci 0000:15:00.0: BAR 14: assigned [io 0x7400-0x74ff]
    [ 0.253657] pci 0000:15:00.0: CardBus bridge to [bus 16-17]
    [ 0.253661] pci 0000:15:00.0: bridge window [io 0x7000-0x70ff]
    [ 0.253670] pci 0000:15:00.0: bridge window [io 0x7400-0x74ff]
    [ 0.253679] pci 0000:15:00.0: bridge window [mem 0xf4000000-0xf7ffffff pref]
    [ 0.253688] pci 0000:15:00.0: bridge window [mem 0xc0000000-0xc3ffffff]
    [ 0.253697] pci 0000:00:1e.0: PCI bridge to [bus 15-18]
    [ 0.253703] pci 0000:00:1e.0: bridge window [io 0x7000-0xafff]
    [ 0.253713] pci 0000:00:1e.0: bridge window [mem 0xf8300000-0xfbffffff]
    [ 0.253721] pci 0000:00:1e.0: bridge window [mem 0xf4000000-0xf7ffffff 64bit pref]
    [ 0.253801] pci 0000:00:1e.0: enabling device (0005 -> 0007)
    [ 0.253811] pci 0000:00:1e.0: setting latency timer to 64
    [ 0.253834] pci 0000:15:00.0: setting latency timer to 64
    [ 0.253842] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7]
    [ 0.253847] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff]
    [ 0.253851] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
    [ 0.253856] pci_bus 0000:00: resource 7 [mem 0x000d4000-0x000d7fff]
    [ 0.253860] pci_bus 0000:00: resource 8 [mem 0x000d8000-0x000dbfff]
    [ 0.253864] pci_bus 0000:00: resource 9 [mem 0x000dc000-0x000dffff]
    [ 0.253869] pci_bus 0000:00: resource 10 [mem 0xbf000000-0xfebfffff]
    [ 0.253873] pci_bus 0000:00: resource 11 [mem 0xfed40000-0xfed4bfff]
    [ 0.253877] pci_bus 0000:02: resource 0 [io 0x2000-0x2fff]
    [ 0.253882] pci_bus 0000:02: resource 1 [mem 0xfc000000-0xfdffffff]
    [ 0.253886] pci_bus 0000:02: resource 2 [mem 0xf8000000-0xf80fffff 64bit pref]
    [ 0.253891] pci_bus 0000:03: resource 0 [io 0x3000-0x3fff]
    [ 0.253895] pci_bus 0000:03: resource 1 [mem 0xdc000000-0xdf3fffff]
    [ 0.253900] pci_bus 0000:03: resource 2 [mem 0xdfe00000-0xdfefffff 64bit pref]
    [ 0.253904] pci_bus 0000:04: resource 0 [io 0x4000-0x4fff]
    [ 0.253908] pci_bus 0000:04: resource 1 [mem 0xd8000000-0xd9ffffff]
    [ 0.253913] pci_bus 0000:04: resource 2 [mem 0xdfb00000-0xdfbfffff 64bit pref]
    [ 0.253917] pci_bus 0000:05: resource 0 [io 0x5000-0x5fff]
    [ 0.253921] pci_bus 0000:05: resource 1 [mem 0xd4000000-0xd5ffffff]
    [ 0.253926] pci_bus 0000:05: resource 2 [mem 0xdf800000-0xdf8fffff 64bit pref]
    [ 0.253930] pci_bus 0000:0d: resource 0 [io 0x6000-0x6fff]
    [ 0.253935] pci_bus 0000:0d: resource 1 [mem 0xd0000000-0xd1ffffff]
    [ 0.253939] pci_bus 0000:0d: resource 2 [mem 0xdf500000-0xdf5fffff 64bit pref]
    [ 0.253943] pci_bus 0000:15: resource 0 [io 0x7000-0xafff]
    [ 0.253948] pci_bus 0000:15: resource 1 [mem 0xf8300000-0xfbffffff]
    [ 0.253952] pci_bus 0000:15: resource 2 [mem 0xf4000000-0xf7ffffff 64bit pref]
    [ 0.253956] pci_bus 0000:15: resource 4 [io 0x0000-0x0cf7]
    [ 0.253961] pci_bus 0000:15: resource 5 [io 0x0d00-0xffff]
    [ 0.253965] pci_bus 0000:15: resource 6 [mem 0x000a0000-0x000bffff]
    [ 0.253969] pci_bus 0000:15: resource 7 [mem 0x000d4000-0x000d7fff]
    [ 0.253973] pci_bus 0000:15: resource 8 [mem 0x000d8000-0x000dbfff]
    [ 0.253978] pci_bus 0000:15: resource 9 [mem 0x000dc000-0x000dffff]
    [ 0.253982] pci_bus 0000:15: resource 10 [mem 0xbf000000-0xfebfffff]
    [ 0.253986] pci_bus 0000:15: resource 11 [mem 0xfed40000-0xfed4bfff]
    [ 0.253991] pci_bus 0000:16: resource 0 [io 0x7000-0x70ff]
    [ 0.253995] pci_bus 0000:16: resource 1 [io 0x7400-0x74ff]
    [ 0.253999] pci_bus 0000:16: resource 2 [mem 0xf4000000-0xf7ffffff pref]
    [ 0.254004] pci_bus 0000:16: resource 3 [mem 0xc0000000-0xc3ffffff]
    [ 0.254070] NET: Registered protocol family 2
    [ 0.255457] TCP established hash table entries: 524288 (order: 11, 8388608 bytes)
    [ 0.261656] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
    [ 0.262461] TCP: Hash tables configured (established 524288 bind 65536)
    [ 0.262588] TCP: reno registered
    [ 0.262605] UDP hash table entries: 2048 (order: 4, 65536 bytes)
    [ 0.262669] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
    [ 0.262858] NET: Registered protocol family 1
    [ 0.262887] pci 0000:00:02.0: Boot video device
    [ 0.262954] pci 0000:00:1a.1: power state changed by ACPI to D0
    [ 0.263064] pci 0000:00:1d.0: power state changed by ACPI to D0
    [ 0.263144] pci 0000:00:1d.2: power state changed by ACPI to D0
    [ 0.263269] PCI: CLS 64 bytes, default 64
    [ 0.263404] Unpacking initramfs...
    [ 0.381385] Freeing initrd memory: 3008k freed
    [ 0.383142] Simple Boot Flag at 0x35 set to 0x1
    [ 0.383770] audit: initializing netlink socket (disabled)
    [ 0.383796] type=2000 audit(1360598852.383:1): initialized
    [ 0.406333] HugeTLB registered 2 MB page size, pre-allocated 0 pages
    [ 0.409592] VFS: Disk quotas dquot_6.5.2
    [ 0.409682] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 0.410020] msgmni has been set to 5973
    [ 0.410394] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [ 0.410438] io scheduler noop registered
    [ 0.410442] io scheduler deadline registered
    [ 0.410500] io scheduler cfq registered (default)
    [ 0.410773] pcieport 0000:00:1c.0: irq 40 for MSI/MSI-X
    [ 0.411021] pcieport 0000:00:1c.1: irq 41 for MSI/MSI-X
    [ 0.411259] pcieport 0000:00:1c.2: irq 42 for MSI/MSI-X
    [ 0.411502] pcieport 0000:00:1c.3: irq 43 for MSI/MSI-X
    [ 0.411743] pcieport 0000:00:1c.4: irq 44 for MSI/MSI-X
    [ 0.411960] pcieport 0000:00:1c.0: Signaling PME through PCIe PME interrupt
    [ 0.411970] pcie_pme 0000:00:1c.0:pcie01: service driver pcie_pme loaded
    [ 0.412008] pcieport 0000:00:1c.1: Signaling PME through PCIe PME interrupt
    [ 0.412012] pci 0000:03:00.0: Signaling PME through PCIe PME interrupt
    [ 0.412021] pcie_pme 0000:00:1c.1:pcie01: service driver pcie_pme loaded
    [ 0.412055] pcieport 0000:00:1c.2: Signaling PME through PCIe PME interrupt
    [ 0.412063] pcie_pme 0000:00:1c.2:pcie01: service driver pcie_pme loaded
    [ 0.412096] pcieport 0000:00:1c.3: Signaling PME through PCIe PME interrupt
    [ 0.412105] pcie_pme 0000:00:1c.3:pcie01: service driver pcie_pme loaded
    [ 0.412144] pcieport 0000:00:1c.4: Signaling PME through PCIe PME interrupt
    [ 0.412152] pcie_pme 0000:00:1c.4:pcie01: service driver pcie_pme loaded
    [ 0.412275] vesafb: mode is 1280x800x32, linelength=5120, pages=0
    [ 0.412278] vesafb: scrolling: redraw
    [ 0.412282] vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
    [ 0.413060] vesafb: framebuffer at 0xe0000000, mapped to 0xffffc90005000000, using 4032k, total 4032k
    [ 0.470284] Console: switching to colour frame buffer device 160x50
    [ 0.527327] fb0: VESA VGA frame buffer device
    [ 0.527346] intel_idle: does not run on family 6 model 15
    [ 0.527398] GHES: HEST is not enabled!
    [ 0.527510] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [ 0.528201] Linux agpgart interface v0.103
    [ 0.528345] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
    [ 0.535966] serio: i8042 KBD port at 0x60,0x64 irq 1
    [ 0.536026] serio: i8042 AUX port at 0x60,0x64 irq 12
    [ 0.536202] mousedev: PS/2 mouse device common for all mice
    [ 0.536311] rtc_cmos 00:07: RTC can wake from S4
    [ 0.536519] rtc_cmos 00:07: rtc core: registered rtc_cmos as rtc0
    [ 0.536558] rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
    [ 0.536573] cpuidle: using governor ladder
    [ 0.536576] cpuidle: using governor menu
    [ 0.536664] drop_monitor: Initializing network drop monitor service
    [ 0.536802] TCP: cubic registered
    [ 0.537011] NET: Registered protocol family 10
    [ 0.537302] NET: Registered protocol family 17
    [ 0.537323] Key type dns_resolver registered
    [ 0.537728] PM:

    The bug is known, and a patch has been submitted: https://bugs.freedesktop.org/show_bug.cgi?id=80151. There's been no update since friday, so I wonder what the current status is, or if it's up for review at all.
    Does anyone know how we can be notified when this patch hits the kernel?

  • I have a MacAir, mid 2011 model, and want to view video on my TV.  I see that I need a mini display port to Hdmi but there are many of these.  What exatly do I need and how does one view a movie downloaded to the MacAir on a TV screen?

    I have a MacAir, mid 2011 model, and want to view video on my TV.  I see that I need a mini display port to Hdmi but there are many of these.  What exatly do I need and how does one go about viewing a movie downloaded to the MacAir on a TV screen?

    Welcome to Apple Support Communities
    That's exactly what you need. A Mini DisplayPort to HDMI adapter and a HDMI cable. See > http://support.apple.com/kb/HT4241?viewlocale=en_US
    This is the only way to view a video on the TV. After connecting your MacBook Air to the TV, image on your TV should show immediately. Then, press Command and F1 keys to mirror your MacBook Air display, and open the video

  • I'm looking for a display recorder app for my iPod touch, is there one available on the App Store?

    Hi,
    I've been wanting to make videos and tutorials on how to use some of Apple's apps, and also some games on my iPod touch (5th gen), and I've seen loads of videos taken from iOS within an app. I don't want to jailbreak my iPod, so that means that the display recorder by Cydia is off the list. Are there any screen recorders for iPod that have unlimited filming, and will let me access filmed videos so I can post them to YouTube?
    Thanks!
    SnappingScroll2

    Use Reflector:
    http://www.airsquirrels.com/reflector/
    to display the iPod on your computer's screen. You can then use screen capture software to make a recording of your actions. No need to jailbreak.
    Regards.

  • How to display records into a non table base block..

    Hi,
    Can anybody help me how to display records into a non table base block....
    Find below is my coding but it only display the last record in the first line
    in the block.
    PROCEDURE CREATE_CARTON_QUESTION IS
    CURSOR car_c IS
    select /*+ rule */ question_id, question_description
    from WHOP.QADB_QUESTIONS
    where question_category = 'Carton'
    and question_active_flag = 'Y';
    v_found VARCHAR2(10);
    v_status boolean;
    v_error      varchar2(150);
    v_count number;
    car_r car_c%rowtype;
    begin
    begin
    select count(*) into v_count
    from WHOP.QADB_QUESTIONS
    where question_category = 'Carton'
    and question_active_flag = 'Y';
         exception
         when no_data_found then
         v_count := 0;
    end;
    if v_count > 0 then
    for car_r in car_c loop
    ---populating carton questions
    :la_carton.carton_question_id     := car_r.question_id;
    :la_carton.carton_question_answer     := 'N';
    :la_carton.carton_error_details     := null;
    :la_carton.attribute2          := car_r.question_description;
    end loop;
    end if;
    end;
    Thanks in advance.
    Regards,
    Jun

    Hi SNatapov,
    Thanks for you reply but still I get this error...
    FRM-40737 Illegal restricted procedure GO_BLOCK in WHEN-VALIDATE-ITEM trigger.
    Please note that I call that program unit in the last field of my control block inside when-validate-item trigger the questions should be display in la_carton block which is my non-base table block.
    Find below is the code....
    begin
    go_block('la_carton');
    first_record;
    for car_r in car_c loop
    ---populating carton questions
    :la_carton.carton_question_id := car_r.question_id;
    :la_carton.carton_question_answer := 'N';
    :la_carton.carton_error_details := null;
    :la_carton.attribute2 := car_r.question_description;
    next_record;
    end loop;
    end;
    Hoping you can help me this problem...
    Thanks in advance.
    Regards,
    Jun

  • Is there a way to get a user login record after sleep?

    I know that by opening terminal and typing in "last" (without the quote marks) that it will give me about a 3 week record of who has logged on my computer after shutdowns and restarts.
    What I want to know is this:
    a) Is there a way to get a user login record after the computer only goes to sleep?
    b) is there a way to get the terminal to go back further than just 3 weeks or so for the shutdown/restart records?
    Is there software that might do this???
    Thanks in advance, this is important for me.

    bikinijack wrote:
    Thanks, Dave: so this is what I type in the terminal? "ls -l /var/log/wtmp*" (without the quotes). And how do you unzip something that has been "gzipped"?
    "man gzip" will give you the details for using gzip
    My first question can be explained this way: To get into the computer when it is coming out of sleep you need to type in a password, then it opens to the desktop. Is there a way I can find out the times over the course of a day/week/month that this is being done? i.e., is there a log being made somewhere of when the computer is being opened and signed onto after being asleep?
    When you wake the computer from a sleep, you are not logging in again so there will be
    no record of the event as a "login"
    My computer possibly could be used by a few other people that have access to my computer password (don't ask why) and I basically want to know if they are signing on when I am away from my desk.
    You may want to look at /var/log/asl.log or /var/log/secure.log which contain details of
    authentication attempts (which is what you are doing) and failures.
    I am not asking why you have multiple people accessing your computer with your password --
    but consider setting up separate username, it is a lot easier to manage and you will probably
    not be asking questions like this one.
    Dave

Maybe you are looking for

  • About loading multiple swfs

    Hello folks... I have some serious problem with loading multiple swfs in a swfLoader whithin an application... The problem is that... every time I load another swf in a swfloader, the memory that the Internet Explorer uses justs keeps going up and up

  • Photos disappeared after update to Mavericks...

    I updated to Mavericks last night and then updated to the new iPhoto (had iPhoto '09). When I opened it, everything seemed ok except one Event with about 700 photos was missing, and it's probably the most important one I have. Then, I closed it and o

  • WS-X6704-10GE Problem

    I have a Catalyst 6509 with supervisor 720-3B and IOS 12.2(17d)SXB10. I have installed a X6704 4 port 10Gb card in slot 1 and powered up the system. The X6704 is recognised but is powered off with a message stating that it is not supported. Using sho

  • Purge duplicate entries

    I have a 1200 count e-mail list. An employee at my wife's store just e-mailed 750 addresses (compiled using Excel 2007) to me. I added this excel-prepared list to the 1200 Apple Numbers '09 list resident on my Mac. I can sort the e-mail addresses to

  • No sound on DC5700 microtower on Windows 7

    I recently changed from Xp to Windows 7 and now my sound does not work at all. I get a message in the sound icon that: No audio output devise is installed. In my device manager no sund is either installed so I cant update the driver for that sound, I