OCCI parameter indexing?
Looks like OCCI host variables are using different methods in indexing for setters and getters.
For example for table
VARTEST (A NUMBER, B NUMBER, C NUMER);
Statement *stmt =
conn->createStatement("insert into vartest
(a, b, c) values (:in1, :in1, :in2)\
returning a,b,c into :out_a, :out_b, :out_c");
stmt->setInt(1, 1);
stmt->setInt(2, 2);
stmt->setInt(3, 3);
stmt->registerOutParam(4, OCCIINT, 0, "");
stmt->registerOutParam(5, OCCIINT, 0, "");
stmt->registerOutParam(6, OCCIINT, 0, "");
stmt->execute();
int out_a = stmt->getInt(3) << endl; // Note 3, not 4
int out_b = stmt->getInt(4) << endl;
int out_c = stmt->getInt(5) << endl;
</pre>
After execution out_a=1, out_b=2, out_c=3 correctly.
Note that getInt() uses indexes from 3 to 5, where
registerOutParam() uses indexes from 4 to 6 to refer
same parameters.
If I use any other indexes, run time errors occur. Just wondering if this is a bug or documented feature?
I have compiled it with 9.2.0.1.0 libraries and run it against 9.2.0 and 10.1.0 databases.
Marko Sirkiä
currently OCCI does not support DML returning.
Similar Messages
-
Hi,
My CFC component is defined as:
<cffunction name="updateNote" output="false" access="remote" returntype="void" >
<cfargument name="notedetails" required="true" type="string" >
<cfargument name="notename" required="true" type="string" />
<cfquery name="qupdateNote" datasource="notes_db">
UPDATE
notes
SET
notes.notedetails=<CFQUERYPARAM CFSQLTYPE="CF_SQL_VARCHAR" VALUE="#ARGUMENTS.notedetails#">,
WHERE
notename="<CFQUERYPARAM CFSQLTYPE="CF_SQL_VARCHAR" VALUE="#ARGUMENTS.notename#">"
</cfquery>
</cffunction>
In Flash builder when I test the operation I get this error:
"There was an error while invoking the operation. Check your server settings and try invoking the operation again.
Reason: Server error Unable to invoke CFC - Error Executing Database Query. Parameter index out of range (2 > number of parameters, which is 1)."
Im really quessing that this is something small but right now its causing me to pull my hair out of my head!! Argg. Tried a bunch of things but I know thik im stuck.
Help would be very very appreciated.
ThanksCreate test.cfm along these lines:
<cfset myObj = createObject("component", "dotted.path.to.cfc.file")>
<cfset myResult = myObj.myMethod(arg=value1, etc)>
<cfdump var="#myResult#">
Or, really, you could just browse to this:
http://your.domain/path/to/your.cfc?method=yourMethod&arg1=value1 [etc]
Although I dunno which of those two approachs will give you a better error message (indeed, it might be the same).
Try both.
Adam -
"Parameter Index out of range" Error in the report
Hi..
I am geting this error when running the reports..
I am not sure what this means. Is this something related to BI Publisher report/configuration?
I tried exporting XML data and it gives me the same error..
JZ0SB: Parameter index out of range: 3.
Any ideas?ink86 wrote:
I have an sql String :
select * from queue Where dayofmonth IN ('?', '*') and month IN ('?', '*') and year IN ('?', '*')
This only works when I hard code the values in the sql:
select * from queue Where dayofmonth IN ('8', '*') and month IN ('10', '*') and year IN ('2007', '*')
Why is that?
MBecause you have quoted the question marks. Remove them. PreparedStatement takes care about them itself.
Also see the PreparedStatement tutorial: http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html
Using varchars for numbers instead of integers is also not a good practice. -
Parameter index move while executing PL/SQL stored procedure/function
Hello, community.
Have a question for you. It looked like very easy to write some small JDBC-wrapper to handle stored procedure/functions call for Oracle.
Here is the code snippet of it:
import java.io.Serializable;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Iterator;
import javax.sql.DataSource;
import oracle.jdbc.driver.OracleTypes;
import org.apache.log4j.Logger;
public class SmallHelper {
public static final int CALL_TYPE__PROCEDURE = 1;
public static final int CALL_TYPE__FUNCTION = 2;
public static final int PARAMETER__IN = 1;
public static final int PARAMETER__OUT = 2;
private static final Logger log = Logger.getLogger(SmallHelper.class);
private Connection con = null;
private CallableStatement statement = null;
private String name;
private int type;
private int resultType;
private HashMap arguments = new HashMap();
* Creates connection using data source as parameter.
* @param ds - data source
* @throws EhlApplicationException
public SmallHelper(DataSource ds) throws Exception {
try {
con = ds.getConnection();
catch (SQLException e) {
ExceptionHelper.process(e);
public void registerProcedure(String name) {
this.name = name;
this.type = CALL_TYPE__PROCEDURE;
public void registerFunction(String name, int resultType) {
this.name = name;
this.resultType = resultType;
this.type = CALL_TYPE__FUNCTION;
* NB! When You're dealing with stored function index should start with number 2!
public void registerArgument(int index, Object value, int type, int inOutType) {
arguments.put(new Long(index), new CallableStatementArgument(value, type, inOutType));
private String getSQL() {
StringBuffer str = new StringBuffer("{ call ");
if ( type == CALL_TYPE__FUNCTION )
str.append(" ? := ");
str.append(name).append("( ");
for ( Iterator i = arguments.values().iterator(); i.hasNext(); ) {
i.next();
str.append("?");
if ( i.hasNext() )
str.append(", ");
str.append(") }");
return str.toString();
public void execute() throws SQLException{
String query = getSQL();
statement = con.prepareCall(query);
if ( type == CALL_TYPE__FUNCTION )
statement.registerOutParameter(1, resultType);
for ( Iterator i = arguments.keySet().iterator(); i.hasNext(); ) {
Long index = (Long) i.next();
CallableStatementArgument argument = (CallableStatementArgument) arguments.get(index);
int type = argument.getType();
if ( argument.getInOutType() == PARAMETER__OUT )
statement.registerOutParameter(index.intValue(), type);
else if ( type != OracleTypes.CURSOR )
statement.setObject(index.intValue(), argument.getValue(), type);
log.info("Executing SQL: "+query);
statement.execute();
public CallableStatement getStatement() {
return statement;
public void close() throws EhlApplicationException {
try {
if (statement != null)
statement.close();
if (con != null)
con.close();
catch (SQLException e) {
EhlSqlExceptionHelper.process(e);
private class CallableStatementArgument implements Serializable{
private Object value;
private int type;
private int inOutType;
public CallableStatementArgument(Object value, int type, int inOutType) {
this.value = value;
this.type = type;
this.inOutType = inOutType;
public int getType() {
return type;
public Object getValue() {
return value;
public int getInOutType() {
return inOutType;
}It was really done in 10-15 mins, so don't be very angry at code quality :)
Here is the problem.:
helper.registerProcedure("pkg_diagnosis.search_diagnosis");
helper.registerArgument(1, null, OracleTypes.CURSOR, EhlJdbcCallableStatementHelper.PARAMETER__OUT);
helper.registerArgument(2, pattern, OracleTypes.VARCHAR, EhlJdbcCallableStatementHelper.PARAMETER__IN);
helper.registerArgument(3, lang, OracleTypes.VARCHAR, EhlJdbcCallableStatementHelper.PARAMETER__IN);
helper.registerArgument(4, EhlSqlUtil.convertSetToString(langs, ","), OracleTypes.VARCHAR, EhlJdbcCallableStatementHelper.PARAMETER__IN);
helper.registerArgument(5, EhlSqlUtil.convertSetToString(diagnosisClass, ","), OracleTypes.VARCHAR, EhlJdbcCallableStatementHelper.PARAMETER__IN);
helper.registerArgument(6, parentId, OracleTypes.NUMBER, EhlJdbcCallableStatementHelper.PARAMETER__IN);
helper.execute();
ResultSet rs = ((OracleCallableStatement) helper.getStatement()).getCursor(1);
procedure definition:
procedure search_diagnosis (l_res OUT dyna_cur,
in_search_string IN VARCHAR2,
in_search_lang IN VARCHAR2,
in_lang_list IN VARCHAR2,
in_diag_class_list IN VARCHAR2,
in_parent_id IN NUMBER) Procedure call has inner check that fail because of som strange reason:
in_search_string has 2 as index, that is correct. but procedure recieves is as number 3 in parameter list (what is in_search_lang). Other parameters are moved to. It seems like a cursor takes 2 places in definition. It's clear that if I put in_search_string as 1 parameter and cursor as 0 I'll get invalid parametr bindong(s) exception. So... any ideas why 2nd parameter is actually 3rd?
Thanks beforehand.hmm...moreover:
if we change procedure to function and call it in a simple way:
CallableStatement stmnt = helper.getConnection().prepareCall("begin ? := pkg_diagnosis.search_diagnosis(?,?,?,?,?); end;");
stmnt.registerOutParameter(1, OracleTypes.CURSOR);
stmnt.setString(2, pattern);
stmnt.setString(3, lang);
stmnt.setString(4, langs);
stmnt.setString(5, diagnosisClass);
stmnt.setObject(6, parentId, OracleTypes.NUMBER);
stmnt.execute();
ResultSet rs = (ResultSet) stmnt.getObject(1);the exception is:
[BEA][Oracle JDBC Driver][Oracle]ORA-06550: line 1, column 14:
PLS-00382: expression is of wrong type
ORA-06550: line 1, column 7:
PL/SQL: Statement ignoredif we return some string or number - it works. but when we want cursor back - it fails.
cursor is defined like ordinary dynamic cursor:
TYPE dyna_cur IS REF CURSOR; -
PreparedStatement parameter binding
Hello,
I am new to JDBC and java technology. I have experience with SQL, PL/SQL and I am quite shocked, that binding parameters using PreparedStatement class is based on parameter index instead of the parameter name.
It is quite common in PL/SQL to use paramter name to bind a value to it.
E.g. if I use query "select * from foo where id = :id and name = :name" I can bind parameters using dbms_sql.bind_variable(query, "id", 5) dbms_sql.bind_variable(query, "name", "london").
However, in java I jave to bind using parameter index e.g query.setInt(1, 5), query.setString(2, new String("london")). Now the problems are
- what if the sql programmer changes code "select * from foo where id = ? and name = ?" to "select * from foo where name = ? and id = ?"
- think of a quite more complicated query, e.g. query with size of few kB - there can be a parameter repeated many times (id, date range etc) so I need to bind this parameter many times, instead of simple one bind by name
- think of a dynamicaly generated query, where it is seriously complicated to follow the parameter indexes (sql block repeating, dynamicaly generated where clausules etc) and again binding by name is much more easier than indexed binding
So my question is: Do you know of any class that supports binding by name ? Is there any workaround how to solve above mentioned issues ?
And finally, what is the reason to use parameters by index instead of naming, which is I belive more obvious in database programming ?
I am looking forward to your answers.
Kindest regards,
Kamil Poturnaj
Mgr. Kamil Poturnaj, MicroStep-MIS
Ilkovicova 3, 841 04 Bratislava, Slovakia- what if the sql programmer changes code "select *
from foo where id = ? and name = ?" to "select * from
foo where name = ? and id = ?"Tell him "please stop doing that" :-)
He could also add a third parameter, "address = ?" which would also break it (even if the "?" were spelled ":address").
The SQL statement and the code that binds / extracts values need to be modified in sync.
- think of a quite more complicated query, e.g. query
with size of few kB - there can be a parameter
repeated many times (id, date range etc) so I need to
bind this parameter many times, instead of simple one
bind by nameThough I'm no great fan of vendor-specific 70-style languages, I'd recommend writing a PL/SQL procedure if a query gets very big.
So my question is: Do you know of any class that
supports binding by name ? Is there any workaround how
to solve above mentioned issues ?I don't know of such a package; anyone...?
It should be a nice programming exercise to write one. Something like:
BindStatement stmt = new BindStatement("select a, :id from foo where id = :id and name = :name");
stmt.set("name", "John");
stmt.set("id", 1234);BindStatement would need to locate each occurrence of ":X" and create an SQL string with them replaced with "?"s. It would also need to store the positions where each ":X" occurred, so that when set("id",...) is called, it could do set(1,...); set(2,...); for the underlying statement.
Occurrences of ":X" within strings need to be considered; the easy way is to replace there too.
Unless I'm missing some gotcha, shouldn't take more than a couple of hours to write.
And finally, what is the reason to use parameters by
index instead of naming, which is I belive more
obvious in database programming ?I can only speak from my experience: sql statements within Java code tend to be simple, and the "?" syntax is quite adequate there. Complex statements, if needed, are hidden in PL/SQL. Large systems use beans and automatically generated sql glue. This seems to be rarely a problem. -
Hi,
I have exported and imported two schemas to a different server. Now when a user fires a select query it takes more time than before. When I saw the execution plan for some of 'select' queries,I found that the queries are using wrong index.This is the reason for the delayed reponse time.
Can anybody tell me why it happened ?
Now what should I do?
Can I force select query to use the right index?
Thanx in advancePlease find below details of the query and indexes. Do let me know if you need more information.
Query:
SELECT ROWID, warehouse_code, branch_code, client_code, job_srnum,
department, inventory_date, file_no, client_carton_no, description,
ref1, ref2, ref3, destruction_date, subject, pnw_carton_no,
cre_user_id, cre_dt, upd_user_id, branch, upd_dt, status, date1,
date2, num1, carton_size, addendum_date
FROM ISTORET.rmst_inventory_details2
WHERE branch_code = 'BOM'
AND job_srnum = '62100113476'
AND client_carton_no = 'BM4060394822'
AND subject = 'FILES'
ORDER BY file_no
Execution Plan:
Operation Object Name Rows Bytes Cost
SELECT STATEMENT Optimizer Mode=CHOOSE 1 15
SORT ORDER BY 1 155 15
TABLE ACCESS BY INDEX ROWID ISTORET.RMST_INVENTORY_DETAILS2 1 155 5
INDEX RANGE SCAN ISTORET.BRC_JOB_SUB_REF123_INDX 1 4
Query time: More than 5 mins
Same query with hint /*+ index(rmst_inventory_details2 BRC_JOB_CTN_FILE_INDX) */
SELECT STATEMENT Optimizer Mode=CHOOSE 1 6
TABLE ACCESS BY INDEX ROWID ISTORET.RMST_INVENTORY_DETAILS2 1 155 6
INDEX RANGE SCAN ISTORET.BRC_JOB_CTN_FILE_INDX 1 5
Query time: 110 msecs
Index details:
PARAMETER INDEX- 1 INDEX- 2
Table Owner ISTORET ISTORET
Table Name RMST_INVENTORY_DETAILS2 RMST_INVENTORY_DETAILS2
Index Name BRC_JOB_CTN_FILE_INDX BRC_JOB_SUB_REF123_INDX
Uniqueness NONUNIQUE NONUNIQUE
Columns BRANCH_CODE
JOB_SRNUM
CLIENT_CARTON_NO
FILE_NO BRANCH_CODE
JOB_SRNUM
SUBJECT
REF1
REF2
REF3
Table Type TABLE TABLE
Status VALID VALID
Tablespace ISTORET_RID2_INDX ISTORET_RID2_INDX
Initial Extent Size 4,194,304 4,194,304
Next Extent Size 4,194,304 4,194,304
Minimum Extents 1 1
Maximum Extents 2,147,483,645 2,147,483,645
Percent Increase 0 0
Distinct Keys 42,576,227 27,318,132
Percent Free 10 10
Index Type NORMAL NORMAL
Partitioned No No
Temporary No No
Join Index No No
Size in MB 2,456 2,140
Number Extents 614 535
Size in bytes 2,575,302,656 2,243,952,640
Last Analyzed 20/3/2007 20/3/2007 -
Passing javascript parameter to bean
Here's a real short example of what I'm trying to do.
function getReport(index) {
document.write("Name = " + <%= bean.getReport(index).getName() %> );
Now of course this will not work, because my bean does not know of "index" that was passed via the javascript function. But how can I get this parameter passed? My bean holds onto a Vector of reports. My bean's method getReport(int index) will return one report. Then I can print out it's name. But I can't figure out how to pass the javascript function variable over to the java world. I want to pass the the index as a paramater when a user clicks on an option in an HTML select form.Here's a real short example of what I'm trying to do.
function getReport(index) {
document.write("Name = " + <%=
= bean.getReport(index).getName() %> );
Two options.
1) On the click, reload the page with a URL parameter &index=#
2) Copy your Report names into a javascript array for use "live" on the page.
...In JSP...
<SCRIPT LANGUAGE="JavaScript1.2">
var reportNames = new Array();
<%
int index = 0;
for(Iterator i = bean.getReports().iterator(); i.hasNext(); )
Report report = (Report)i.next();
out.print( "reportNames[" );
out.print( index++ );
out.print( "] = '");
out.print( report.getName() );
out.println("' ;" );
%>
function getReport(index) {
document.write("Name = " + reportNames[index] );
</SCRIPT>
NOTE: I use the index counter to place the objects into the array because I cannot remember the name of a javascript function that is cross-browser compatible to add to the end( might just be add ).
If you want more than one property per array location, build temporary objects with the following syntax
reportNames[0] = {name:'Here is the name', value:'avalkjd', etc:'etc'};
reportNames[0].name OR reportNames[0].etc
Hope this helps. -
Laptop screen does not turn on after resume from suspend/hibernate
I use systemctl suspend/hibernate to resume, but the screen does not turn on from resume. everything else still functions just fine, meaning i can type in reboot and reboot, but a "turned off" black screen.
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek [Radeon HD 6520G]
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series]
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 13)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD] FCH IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 0)
00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 1)
00:15.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 2)
00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.19.0-1-ARCH (builduser@tobias) (gcc version 4.9.2 20150204 (prerelease) (GCC) ) #1 SMP PREEMPT Mon Feb 9 07:08:20 CET 2015
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=70f3d39a-cd3c-4127-84d2-9af3430201ab rw quiet rootfstype=xfs i8042.nomux=1 i8042.reset
[ 0.000000] tseg: 009ff00000
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ebff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009ec00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000009f8f4fff] usable
[ 0.000000] BIOS-e820: [mem 0x000000009f8f5000-0x000000009f939fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000009f93a000-0x000000009f951fff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x000000009f952000-0x000000009f954fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000009f955000-0x000000009f955fff] usable
[ 0.000000] BIOS-e820: [mem 0x000000009f956000-0x000000009f96cfff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000009f96d000-0x000000009f974fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000009f975000-0x000000009f9a4fff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000009f9a5000-0x000000009f9a5fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000009f9a6000-0x000000009f9b5fff] usable
[ 0.000000] BIOS-e820: [mem 0x000000009f9b6000-0x000000009f9c3fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000009f9c4000-0x000000009f9c5fff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000009f9c6000-0x000000009f9ccfff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000009f9cd000-0x000000009fa02fff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000009fa03000-0x000000009fc05fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000009fc06000-0x000000009fd78fff] usable
[ 0.000000] BIOS-e820: [mem 0x000000009fd79000-0x000000009fef5fff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000009fef6000-0x000000009fefffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed61000-0x00000000fed70fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fed8ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000100001000-0x000000023effffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.7 present.
[ 0.000000] DMI: TOSHIBA Satellite L775D/TKBSS, BIOS 1.40 07/22/2011
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] AGP: No AGP bridge found
[ 0.000000] e820: last_pfn = 0x23f000 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 write-through
[ 0.000000] C0000-CFFFF write-protect
[ 0.000000] D0000-E7FFF uncachable
[ 0.000000] E8000-FFFFF write-protect
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 0000000000 mask FF00000000 write-back
[ 0.000000] 1 base 009FF00000 mask FFFFF00000 uncachable
[ 0.000000] 2 base 00A0000000 mask FFE0000000 uncachable
[ 0.000000] 3 base 00C0000000 mask FFC0000000 uncachable
[ 0.000000] 4 disabled
[ 0.000000] 5 disabled
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] TOM2: 000000023f000000 aka 9200M
[ 0.000000] PAT configuration [0-7]: WB WC UC- UC WB WC UC- UC
[ 0.000000] e820: update [mem 0x9ff00000-0xffffffff] usable ==> reserved
[ 0.000000] e820: last_pfn = 0x9ff00 max_arch_pfn = 0x400000000
[ 0.000000] found SMP MP-table at [mem 0x000fcf30-0x000fcf3f] mapped at [ffff8800000fcf30]
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] Base memory trampoline at [ffff880000098000] 98000 size 24576
[ 0.000000] Using GB pages for direct mapping
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[ 0.000000] [mem 0x00000000-0x000fffff] page 4k
[ 0.000000] BRK [0x01b32000, 0x01b32fff] PGTABLE
[ 0.000000] BRK [0x01b33000, 0x01b33fff] PGTABLE
[ 0.000000] BRK [0x01b34000, 0x01b34fff] PGTABLE
[ 0.000000] init_memory_mapping: [mem 0x23ee00000-0x23effffff]
[ 0.000000] [mem 0x23ee00000-0x23effffff] page 2M
[ 0.000000] BRK [0x01b35000, 0x01b35fff] PGTABLE
[ 0.000000] init_memory_mapping: [mem 0x220000000-0x23edfffff]
[ 0.000000] [mem 0x220000000-0x23edfffff] page 2M
[ 0.000000] init_memory_mapping: [mem 0x200000000-0x21fffffff]
[ 0.000000] [mem 0x200000000-0x21fffffff] page 2M
[ 0.000000] init_memory_mapping: [mem 0x00100000-0x9f8f4fff]
[ 0.000000] [mem 0x00100000-0x001fffff] page 4k
[ 0.000000] [mem 0x00200000-0x3fffffff] page 2M
[ 0.000000] [mem 0x40000000-0x7fffffff] page 1G
[ 0.000000] [mem 0x80000000-0x9f7fffff] page 2M
[ 0.000000] [mem 0x9f800000-0x9f8f4fff] page 4k
[ 0.000000] init_memory_mapping: [mem 0x9f955000-0x9f955fff]
[ 0.000000] [mem 0x9f955000-0x9f955fff] page 4k
[ 0.000000] init_memory_mapping: [mem 0x9f9a6000-0x9f9b5fff]
[ 0.000000] [mem 0x9f9a6000-0x9f9b5fff] page 4k
[ 0.000000] init_memory_mapping: [mem 0x9fc06000-0x9fd78fff]
[ 0.000000] [mem 0x9fc06000-0x9fd78fff] page 4k
[ 0.000000] BRK [0x01b36000, 0x01b36fff] PGTABLE
[ 0.000000] init_memory_mapping: [mem 0x9fef6000-0x9fefffff]
[ 0.000000] [mem 0x9fef6000-0x9fefffff] page 4k
[ 0.000000] BRK [0x01b37000, 0x01b37fff] PGTABLE
[ 0.000000] init_memory_mapping: [mem 0x100001000-0x1ffffffff]
[ 0.000000] [mem 0x100001000-0x1001fffff] page 4k
[ 0.000000] [mem 0x100200000-0x13fffffff] page 2M
[ 0.000000] [mem 0x140000000-0x1ffffffff] page 1G
[ 0.000000] RAMDISK: [mem 0x37652000-0x37b20fff]
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000000F0450 000024 (v02 TOSASU)
[ 0.000000] ACPI: XSDT 0x000000009F93A070 000064 (v01 TOSASU TOSASU00 01072009 AMI 00010013)
[ 0.000000] ACPI: FACP 0x000000009F94E438 0000F4 (v04 TOSASU TOSASU00 01072009 AMI 00010013)
[ 0.000000] ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has zero address or length: 0x0000000000000000/0x1 (20141107/tbfadt-649)
[ 0.000000] ACPI: DSDT 0x000000009F93A168 0142CF (v02 TOSASU TOSASU00 00000140 INTL 20051117)
[ 0.000000] ACPI: FACS 0x000000009F9C6F80 000040
[ 0.000000] ACPI: APIC 0x000000009F94E530 000072 (v03 TOSASU TOSASU00 01072009 AMI 00010013)
[ 0.000000] ACPI: ECDT 0x000000009F94E5A8 0000C1 (v01 TOSASU TOSASU00 01072009 AMI. 00000004)
[ 0.000000] ACPI: SLIC 0x000000009F94E670 000176 (v01 TOSASU TOSASU00 01072009 MSFT 00000001)
[ 0.000000] ACPI: MCFG 0x000000009F94E7E8 00003C (v01 A M I GMCH945. 01072009 MSFT 00000097)
[ 0.000000] ACPI: HPET 0x000000009F94E828 000038 (v01 TOSASU TOSASU00 01072009 AMI 00000004)
[ 0.000000] ACPI: SSDT 0x000000009F94E860 000E34 (v01 AMD POWERNOW 00000001 AMD 00000001)
[ 0.000000] ACPI: SSDT 0x000000009F94F698 00193D (v02 AMD ALIB 00000001 MSFT 04000000)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000023effffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x23eff8000-0x23effbfff]
[ 0.000000] [ffffea0000000000-ffffea0008ffffff] PMD -> [ffff880236e00000-ffff88023e5fffff] on node 0
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00001000-0x00ffffff]
[ 0.000000] DMA32 [mem 0x01000000-0xffffffff]
[ 0.000000] Normal [mem 0x100000000-0x23effffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00001000-0x0009dfff]
[ 0.000000] node 0: [mem 0x00100000-0x9f8f4fff]
[ 0.000000] node 0: [mem 0x9f955000-0x9f955fff]
[ 0.000000] node 0: [mem 0x9f9a6000-0x9f9b5fff]
[ 0.000000] node 0: [mem 0x9fc06000-0x9fd78fff]
[ 0.000000] node 0: [mem 0x9fef6000-0x9fefffff]
[ 0.000000] node 0: [mem 0x100001000-0x23effffff]
[ 0.000000] Initmem setup node 0 [mem 0x00001000-0x23effffff]
[ 0.000000] On node 0 totalpages: 1960479
[ 0.000000] DMA zone: 64 pages used for memmap
[ 0.000000] DMA zone: 21 pages reserved
[ 0.000000] DMA zone: 3997 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 10155 pages used for memmap
[ 0.000000] DMA32 zone: 649859 pages, LIFO batch:31
[ 0.000000] Normal zone: 20416 pages used for memmap
[ 0.000000] Normal zone: 1306623 pages, LIFO batch:31
[ 0.000000] ACPI: PM-Timer IO Port: 0x808
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x05] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 5, version 33, 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 low level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0xffffffff base: 0xfed00000
[ 0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009efff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9f8f5000-0x9f939fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9f93a000-0x9f951fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9f952000-0x9f954fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9f956000-0x9f96cfff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9f96d000-0x9f974fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9f975000-0x9f9a4fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9f9a5000-0x9f9a5fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9f9b6000-0x9f9c3fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9f9c4000-0x9f9c5fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9f9c6000-0x9f9ccfff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9f9cd000-0x9fa02fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9fa03000-0x9fc05fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9fd79000-0x9fef5fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x9ff00000-0xdfffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xefffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xf0000000-0xfebfffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfec0ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfec10000-0xfec10fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfec11000-0xfecfffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed00000-0xfed00fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed01000-0xfed60fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed61000-0xfed70fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed71000-0xfed7ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed80000-0xfed8ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfed90000-0xfeffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xff000000-0xffffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x100000000-0x100000fff]
[ 0.000000] e820: [mem 0x9ff00000-0xdfffffff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] setup_percpu: NR_CPUS:128 nr_cpumask_bits:128 nr_cpu_ids:4 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 31 pages/cpu @ffff88023ec00000 s86336 r8192 d32448 u524288
[ 0.000000] pcpu-alloc: s86336 r8192 d32448 u524288 alloc=1*2097152
[ 0.000000] pcpu-alloc: [0] 0 1 2 3
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 1929823
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=70f3d39a-cd3c-4127-84d2-9af3430201ab rw quiet rootfstype=xfs i8042.nomux=1 i8042.reset
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] AGP: Checking aperture...
[ 0.000000] AGP: 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: 7635708K/7841916K available (5531K kernel code, 917K rwdata, 1744K rodata, 1164K init, 1156K bss, 206208K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS:8448 nr_irqs:456 16
[ 0.000000] spurious 8259A interrupt: IRQ7.
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [tty0] enabled
[ 0.000000] hpet clockevent registered
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] tsc: Detected 1397.380 MHz processor
[ 0.000043] Calibrating delay loop (skipped), value calculated using timer frequency.. 2795.20 BogoMIPS (lpj=4657933)
[ 0.000046] pid_max: default: 32768 minimum: 301
[ 0.000053] ACPI: Core revision 20141107
[ 0.000055] TOSHIBA Satellite detected - force copy of DSDT to local memory
[ 0.000123] ACPI: Forced DSDT copy: length 0x142CF copied locally, original unmapped
[ 0.015021] ACPI: All ACPI Tables successfully acquired
[ 0.016280] Security Framework initialized
[ 0.016286] Yama: becoming mindful.
[ 0.016907] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[ 0.019182] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.020189] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.020201] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.020472] Initializing cgroup subsys memory
[ 0.020479] Initializing cgroup subsys devices
[ 0.020482] Initializing cgroup subsys freezer
[ 0.020484] Initializing cgroup subsys net_cls
[ 0.020487] Initializing cgroup subsys blkio
[ 0.020510] CPU: Physical Processor ID: 0
[ 0.020511] CPU: Processor Core ID: 0
[ 0.020513] mce: CPU supports 6 MCE banks
[ 0.020522] Last level iTLB entries: 4KB 512, 2MB 16, 4MB 8
Last level dTLB entries: 4KB 1024, 2MB 128, 4MB 64, 1GB 0
[ 0.020644] Freeing SMP alternatives memory: 20K (ffffffff81a0a000 - ffffffff81a0f000)
[ 0.021880] ftrace: allocating 21166 entries in 83 pages
[ 0.035456] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.068473] smpboot: CPU0: AMD A6-3400M APU with Radeon(tm) HD Graphics (fam: 12, model: 01, stepping: 00)
[ 0.174081] Performance Events: AMD PMU driver.
[ 0.174086] ... version: 0
[ 0.174087] ... bit width: 48
[ 0.174088] ... generic registers: 4
[ 0.174089] ... value mask: 0000ffffffffffff
[ 0.174090] ... max period: 00007fffffffffff
[ 0.174091] ... fixed-purpose events: 0
[ 0.174092] ... event mask: 000000000000000f
[ 0.191034] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[ 0.197738] x86: Booting SMP configuration:
[ 0.197744] .... node #0, CPUs: #1 #2 #3
[ 0.250891] x86: Booted up 1 node, 4 CPUs
[ 0.250896] smpboot: Total of 4 processors activated (11183.83 BogoMIPS)
[ 0.252264] devtmpfs: initialized
[ 0.257696] PM: Registering ACPI NVS region [mem 0x9f8f5000-0x9f939fff] (282624 bytes)
[ 0.257715] PM: Registering ACPI NVS region [mem 0x9f952000-0x9f954fff] (12288 bytes)
[ 0.257718] PM: Registering ACPI NVS region [mem 0x9f96d000-0x9f974fff] (32768 bytes)
[ 0.257721] PM: Registering ACPI NVS region [mem 0x9f9a5000-0x9f9a5fff] (4096 bytes)
[ 0.257724] PM: Registering ACPI NVS region [mem 0x9f9b6000-0x9f9c3fff] (57344 bytes)
[ 0.257727] PM: Registering ACPI NVS region [mem 0x9f9c6000-0x9f9ccfff] (28672 bytes)
[ 0.257729] PM: Registering ACPI NVS region [mem 0x9fa03000-0x9fc05fff] (2109440 bytes)
[ 0.258125] pinctrl core: initialized pinctrl subsystem
[ 0.258173] RTC time: 18:50:52, date: 02/22/15
[ 0.258343] NET: Registered protocol family 16
[ 0.270952] cpuidle: using governor ladder
[ 0.284279] cpuidle: using governor menu
[ 0.284490] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[ 0.284493] ACPI: bus type PCI registered
[ 0.284495] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.284605] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[ 0.284608] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
[ 0.285035] PCI: Using configuration type 1 for base access
[ 0.299021] ACPI: Added _OSI(Module Device)
[ 0.299025] ACPI: Added _OSI(Processor Device)
[ 0.299027] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.299029] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.300870] ACPI : EC: EC description table is found, configuring boot EC
[ 0.302900] ACPI: Executed 2 blocks of module-level executable AML code
[ 0.831121] ACPI: Interpreter enabled
[ 0.831132] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20141107/hwxface-580)
[ 0.831140] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20141107/hwxface-580)
[ 0.831167] ACPI: (supports S0 S3 S4 S5)
[ 0.831169] ACPI: Using IOAPIC for interrupt routing
[ 0.831382] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.842727] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.842738] acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[ 0.843157] acpi PNP0A03:00: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability]
[ 0.843782] PCI host bridge to bus 0000:00
[ 0.843788] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.843792] pci_bus 0000:00: root bus resource [io 0x0000-0x03af]
[ 0.843796] pci_bus 0000:00: root bus resource [io 0x03e0-0x0cf7]
[ 0.843800] pci_bus 0000:00: root bus resource [io 0x03b0-0x03df]
[ 0.843803] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff]
[ 0.843806] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
[ 0.843810] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000dffff]
[ 0.843813] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xffffffff]
[ 0.843825] pci 0000:00:00.0: [1022:1705] type 00 class 0x060000
[ 0.843978] pci 0000:00:01.0: [1002:9647] type 00 class 0x030000
[ 0.843993] pci 0000:00:01.0: reg 0x10: [mem 0xc0000000-0xcfffffff pref]
[ 0.844002] pci 0000:00:01.0: reg 0x14: [io 0xf000-0xf0ff]
[ 0.844011] pci 0000:00:01.0: reg 0x18: [mem 0xfeb00000-0xfeb3ffff]
[ 0.844070] pci 0000:00:01.0: supports D1 D2
[ 0.844185] pci 0000:00:01.1: [1002:1714] type 00 class 0x040300
[ 0.844197] pci 0000:00:01.1: reg 0x10: [mem 0xfeb44000-0xfeb47fff]
[ 0.844272] pci 0000:00:01.1: supports D1 D2
[ 0.844388] pci 0000:00:02.0: [1022:1707] type 01 class 0x060400
[ 0.844483] pci 0000:00:02.0: PME# supported from D0 D3hot D3cold
[ 0.844641] pci 0000:00:11.0: [1022:7801] type 00 class 0x010601
[ 0.844665] pci 0000:00:11.0: reg 0x10: [io 0xf190-0xf197]
[ 0.844678] pci 0000:00:11.0: reg 0x14: [io 0xf180-0xf183]
[ 0.844690] pci 0000:00:11.0: reg 0x18: [io 0xf170-0xf177]
[ 0.844703] pci 0000:00:11.0: reg 0x1c: [io 0xf160-0xf163]
[ 0.844715] pci 0000:00:11.0: reg 0x20: [io 0xf150-0xf15f]
[ 0.844728] pci 0000:00:11.0: reg 0x24: [mem 0xfeb4e000-0xfeb4e7ff]
[ 0.844896] pci 0000:00:12.0: [1022:7807] type 00 class 0x0c0310
[ 0.844914] pci 0000:00:12.0: reg 0x10: [mem 0xfeb4d000-0xfeb4dfff]
[ 0.845044] pci 0000:00:12.0: System wakeup disabled by ACPI
[ 0.845114] pci 0000:00:12.2: [1022:7808] type 00 class 0x0c0320
[ 0.845138] pci 0000:00:12.2: reg 0x10: [mem 0xfeb4c000-0xfeb4c0ff]
[ 0.845242] pci 0000:00:12.2: supports D1 D2
[ 0.845245] pci 0000:00:12.2: PME# supported from D0 D1 D2 D3hot
[ 0.845313] pci 0000:00:12.2: System wakeup disabled by ACPI
[ 0.845383] pci 0000:00:13.0: [1022:7807] type 00 class 0x0c0310
[ 0.845400] pci 0000:00:13.0: reg 0x10: [mem 0xfeb4b000-0xfeb4bfff]
[ 0.845529] pci 0000:00:13.0: System wakeup disabled by ACPI
[ 0.845599] pci 0000:00:13.2: [1022:7808] type 00 class 0x0c0320
[ 0.845623] pci 0000:00:13.2: reg 0x10: [mem 0xfeb4a000-0xfeb4a0ff]
[ 0.845727] pci 0000:00:13.2: supports D1 D2
[ 0.845730] pci 0000:00:13.2: PME# supported from D0 D1 D2 D3hot
[ 0.845799] pci 0000:00:13.2: System wakeup disabled by ACPI
[ 0.845867] pci 0000:00:14.0: [1022:780b] type 00 class 0x0c0500
[ 0.846051] pci 0000:00:14.1: [1022:780c] type 00 class 0x01018a
[ 0.846069] pci 0000:00:14.1: reg 0x10: [io 0xf140-0xf147]
[ 0.846081] pci 0000:00:14.1: reg 0x14: [io 0xf130-0xf133]
[ 0.846094] pci 0000:00:14.1: reg 0x18: [io 0xf120-0xf127]
[ 0.846107] pci 0000:00:14.1: reg 0x1c: [io 0xf110-0xf113]
[ 0.846119] pci 0000:00:14.1: reg 0x20: [io 0xf100-0xf10f]
[ 0.846145] pci 0000:00:14.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 0.846148] pci 0000:00:14.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.846151] pci 0000:00:14.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 0.846154] pci 0000:00:14.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.846275] pci 0000:00:14.2: [1022:780d] type 00 class 0x040300
[ 0.846303] pci 0000:00:14.2: reg 0x10: [mem 0xfeb40000-0xfeb43fff 64bit]
[ 0.846387] pci 0000:00:14.2: PME# supported from D0 D3hot D3cold
[ 0.846454] pci 0000:00:14.2: System wakeup disabled by ACPI
[ 0.846515] pci 0000:00:14.3: [1022:780e] type 00 class 0x060100
[ 0.846704] pci 0000:00:14.4: [1022:780f] type 01 class 0x060401
[ 0.846806] pci 0000:00:14.4: System wakeup disabled by ACPI
[ 0.846879] pci 0000:00:15.0: [1022:43a0] type 01 class 0x060400
[ 0.846982] pci 0000:00:15.0: supports D1 D2
[ 0.847053] pci 0000:00:15.0: System wakeup disabled by ACPI
[ 0.847122] pci 0000:00:15.1: [1022:43a1] type 01 class 0x060400
[ 0.847225] pci 0000:00:15.1: supports D1 D2
[ 0.847296] pci 0000:00:15.1: System wakeup disabled by ACPI
[ 0.847363] pci 0000:00:15.2: [1022:43a2] type 01 class 0x060400
[ 0.847466] pci 0000:00:15.2: supports D1 D2
[ 0.847537] pci 0000:00:15.2: System wakeup disabled by ACPI
[ 0.847610] pci 0000:00:16.0: [1022:7807] type 00 class 0x0c0310
[ 0.847628] pci 0000:00:16.0: reg 0x10: [mem 0xfeb49000-0xfeb49fff]
[ 0.847757] pci 0000:00:16.0: System wakeup disabled by ACPI
[ 0.847827] pci 0000:00:16.2: [1022:7808] type 00 class 0x0c0320
[ 0.847851] pci 0000:00:16.2: reg 0x10: [mem 0xfeb48000-0xfeb480ff]
[ 0.847956] pci 0000:00:16.2: supports D1 D2
[ 0.847959] pci 0000:00:16.2: PME# supported from D0 D1 D2 D3hot
[ 0.848026] pci 0000:00:16.2: System wakeup disabled by ACPI
[ 0.848093] pci 0000:00:18.0: [1022:1700] type 00 class 0x060000
[ 0.848228] pci 0000:00:18.1: [1022:1701] type 00 class 0x060000
[ 0.848359] pci 0000:00:18.2: [1022:1702] type 00 class 0x060000
[ 0.848490] pci 0000:00:18.3: [1022:1703] type 00 class 0x060000
[ 0.848632] pci 0000:00:18.4: [1022:1704] type 00 class 0x060000
[ 0.848762] pci 0000:00:18.5: [1022:1718] type 00 class 0x060000
[ 0.848892] pci 0000:00:18.6: [1022:1716] type 00 class 0x060000
[ 0.849021] pci 0000:00:18.7: [1022:1719] type 00 class 0x060000
[ 0.849252] pci 0000:00:02.0: PCI bridge to [bus 01]
[ 0.849360] pci 0000:00:14.4: PCI bridge to [bus 02] (subtractive decode)
[ 0.849372] pci 0000:00:14.4: bridge window [io 0x0000-0x03af] (subtractive decode)
[ 0.849376] pci 0000:00:14.4: bridge window [io 0x03e0-0x0cf7] (subtractive decode)
[ 0.849379] pci 0000:00:14.4: bridge window [io 0x03b0-0x03df] (subtractive decode)
[ 0.849383] pci 0000:00:14.4: bridge window [io 0x0d00-0xffff] (subtractive decode)
[ 0.849387] pci 0000:00:14.4: bridge window [mem 0x000a0000-0x000bffff] (subtractive decode)
[ 0.849390] pci 0000:00:14.4: bridge window [mem 0x000c0000-0x000dffff] (subtractive decode)
[ 0.849394] pci 0000:00:14.4: bridge window [mem 0xc0000000-0xffffffff] (subtractive decode)
[ 0.849483] pci 0000:00:15.0: PCI bridge to [bus 03]
[ 0.849617] pci 0000:04:00.0: [10ec:8176] type 00 class 0x028000
[ 0.849646] pci 0000:04:00.0: reg 0x10: [io 0xe000-0xe0ff]
[ 0.849687] pci 0000:04:00.0: reg 0x18: [mem 0xfea00000-0xfea03fff 64bit]
[ 0.849834] pci 0000:04:00.0: supports D1 D2
[ 0.849837] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.849878] pci 0000:04:00.0: System wakeup disabled by ACPI
[ 0.854467] pci 0000:00:15.1: PCI bridge to [bus 04]
[ 0.854488] pci 0000:00:15.1: bridge window [io 0xe000-0xefff]
[ 0.854499] pci 0000:00:15.1: bridge window [mem 0xfea00000-0xfeafffff]
[ 0.854661] pci 0000:05:00.0: [10ec:8136] type 00 class 0x020000
[ 0.854688] pci 0000:05:00.0: reg 0x10: [io 0xd000-0xd0ff]
[ 0.854722] pci 0000:05:00.0: reg 0x18: [mem 0xd0004000-0xd0004fff 64bit pref]
[ 0.854743] pci 0000:05:00.0: reg 0x20: [mem 0xd0000000-0xd0003fff 64bit pref]
[ 0.854860] pci 0000:05:00.0: supports D1 D2
[ 0.854863] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.854907] pci 0000:05:00.0: System wakeup disabled by ACPI
[ 0.861144] pci 0000:00:15.2: PCI bridge to [bus 05]
[ 0.861165] pci 0000:00:15.2: bridge window [io 0xd000-0xdfff]
[ 0.861180] pci 0000:00:15.2: bridge window [mem 0xd0000000-0xd00fffff 64bit pref]
[ 0.861237] acpi PNP0A03:00: Disabling ASPM (FADT indicates it is unsupported)
[ 0.861791] ACPI: PCI Interrupt Link [LN24] (IRQs *24)
[ 0.861823] ACPI: PCI Interrupt Link [LN25] (IRQs *25)
[ 0.861855] ACPI: PCI Interrupt Link [LN26] (IRQs *26)
[ 0.861887] ACPI: PCI Interrupt Link [LN27] (IRQs *27)
[ 0.861918] ACPI: PCI Interrupt Link [LN28] (IRQs *28)
[ 0.861951] ACPI: PCI Interrupt Link [LN29] (IRQs *29)
[ 0.861981] ACPI: PCI Interrupt Link [LN30] (IRQs *30)
[ 0.862011] ACPI: PCI Interrupt Link [LN31] (IRQs *31)
[ 0.862041] ACPI: PCI Interrupt Link [LN32] (IRQs *32)
[ 0.862071] ACPI: PCI Interrupt Link [LN33] (IRQs *33)
[ 0.862101] ACPI: PCI Interrupt Link [LN34] (IRQs *34)
[ 0.862130] ACPI: PCI Interrupt Link [LN35] (IRQs *35)
[ 0.862160] ACPI: PCI Interrupt Link [LN36] (IRQs *36)
[ 0.862190] ACPI: PCI Interrupt Link [LN37] (IRQs *37)
[ 0.862219] ACPI: PCI Interrupt Link [LN38] (IRQs *38)
[ 0.862249] ACPI: PCI Interrupt Link [LN39] (IRQs *39)
[ 0.862279] ACPI: PCI Interrupt Link [LN40] (IRQs *40)
[ 0.862309] ACPI: PCI Interrupt Link [LN41] (IRQs *41)
[ 0.862338] ACPI: PCI Interrupt Link [LN42] (IRQs *42)
[ 0.862368] ACPI: PCI Interrupt Link [LN43] (IRQs *43)
[ 0.862398] ACPI: PCI Interrupt Link [LN44] (IRQs *44)
[ 0.862428] ACPI: PCI Interrupt Link [LN45] (IRQs *45)
[ 0.862457] ACPI: PCI Interrupt Link [LN46] (IRQs *46)
[ 0.862487] ACPI: PCI Interrupt Link [LN47] (IRQs *47)
[ 0.862517] ACPI: PCI Interrupt Link [LN48] (IRQs *48)
[ 0.862546] ACPI: PCI Interrupt Link [LN49] (IRQs *49)
[ 0.862576] ACPI: PCI Interrupt Link [LN50] (IRQs *50)
[ 0.862606] ACPI: PCI Interrupt Link [LN51] (IRQs *51)
[ 0.862635] ACPI: PCI Interrupt Link [LN52] (IRQs *52)
[ 0.862665] ACPI: PCI Interrupt Link [LN53] (IRQs *53)
[ 0.862695] ACPI: PCI Interrupt Link [LN54] (IRQs *54)
[ 0.862726] ACPI: PCI Interrupt Link [LN55] (IRQs *55)
[ 0.862781] ACPI: PCI Interrupt Link [LNKA] (IRQs 4 5 7 10 11 14 15) *0
[ 0.862883] ACPI: PCI Interrupt Link [LNKB] (IRQs 4 5 7 10 11 14 15) *0
[ 0.862986] ACPI: PCI Interrupt Link [LNKC] (IRQs 4 5 7 10 11 14 15) *0
[ 0.863084] ACPI: PCI Interrupt Link [LNKD] (IRQs 4 5 7 10 11 14 15) *0
[ 0.863164] ACPI: PCI Interrupt Link [LNKE] (IRQs 4 5 7 10 11 14 15) *0
[ 0.863228] ACPI: PCI Interrupt Link [LNKF] (IRQs 4 5 7 10 11 14 15) *0
[ 0.863292] ACPI: PCI Interrupt Link [LNKG] (IRQs 4 5 7 10 11 14 15) *0
[ 0.863356] ACPI: PCI Interrupt Link [LNKH] (IRQs 4 5 7 10 11 14 15) *0
[ 0.864141] ACPI : EC: GPE = 0xc, I/O: command/status = 0x66, data = 0x62
[ 0.864446] vgaarb: setting as boot device: PCI:0000:00:01.0
[ 0.864452] vgaarb: device added: PCI:0000:00:01.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.864464] vgaarb: loaded
[ 0.864466] vgaarb: bridge control possible 0000:00:01.0
[ 0.864788] PCI: Using ACPI for IRQ routing
[ 0.874741] PCI: pci_cache_line_size set to 64 bytes
[ 0.874840] e820: reserve RAM buffer [mem 0x0009ec00-0x0009ffff]
[ 0.874844] e820: reserve RAM buffer [mem 0x9f8f5000-0x9fffffff]
[ 0.874848] e820: reserve RAM buffer [mem 0x9f956000-0x9fffffff]
[ 0.874851] e820: reserve RAM buffer [mem 0x9f9b6000-0x9fffffff]
[ 0.874854] e820: reserve RAM buffer [mem 0x9fd79000-0x9fffffff]
[ 0.874856] e820: reserve RAM buffer [mem 0x9ff00000-0x9fffffff]
[ 0.874859] e820: reserve RAM buffer [mem 0x23f000000-0x23fffffff]
[ 0.875079] NetLabel: Initializing
[ 0.875081] NetLabel: domain hash size = 128
[ 0.875083] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.875101] NetLabel: unlabeled traffic allowed by default
[ 0.875143] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 0.875149] hpet0: 3 comparators, 32-bit 14.318180 MHz counter
[ 0.877246] Switched to clocksource hpet
[ 0.884868] pnp: PnP ACPI init
[ 0.885072] system 00:00: [mem 0xe0000000-0xefffffff] has been reserved
[ 0.885079] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[ 0.886017] system 00:01: [io 0x04d0-0x04d1] has been reserved
[ 0.886021] system 00:01: [io 0x040b] has been reserved
[ 0.886025] system 00:01: [io 0x04d6] has been reserved
[ 0.886029] system 00:01: [io 0x0c00-0x0c01] has been reserved
[ 0.886032] system 00:01: [io 0x0c14] has been reserved
[ 0.886036] system 00:01: [io 0x0c50-0x0c51] has been reserved
[ 0.886039] system 00:01: [io 0x0c52] has been reserved
[ 0.886042] system 00:01: [io 0x0c6c] has been reserved
[ 0.886046] system 00:01: [io 0x0c6f] has been reserved
[ 0.886049] system 00:01: [io 0x0cd0-0x0cd1] has been reserved
[ 0.886052] system 00:01: [io 0x0cd2-0x0cd3] has been reserved
[ 0.886056] system 00:01: [io 0x0cd4-0x0cd5] has been reserved
[ 0.886059] system 00:01: [io 0x0cd6-0x0cd7] has been reserved
[ 0.886063] system 00:01: [io 0x0cd8-0x0cdf] has been reserved
[ 0.886067] system 00:01: [io 0x0800-0x089f] could not be reserved
[ 0.886070] system 00:01: [io 0x0b20-0x0b3f] has been reserved
[ 0.886074] system 00:01: [io 0x0900-0x090f] has been reserved
[ 0.886082] system 00:01: [io 0x0910-0x091f] has been reserved
[ 0.886086] system 00:01: [io 0xfe00-0xfefe] has been reserved
[ 0.886091] system 00:01: [mem 0xfec00000-0xfec00fff] could not be reserved
[ 0.886096] system 00:01: [mem 0xfee00000-0xfee00fff] has been reserved
[ 0.886100] system 00:01: [mem 0xfed80000-0xfed8ffff] has been reserved
[ 0.886104] system 00:01: [mem 0xfed61000-0xfed70fff] has been reserved
[ 0.886107] system 00:01: [mem 0xfec10000-0xfec10fff] has been reserved
[ 0.886112] system 00:01: [mem 0xfed00000-0xfed00fff] could not be reserved
[ 0.886116] system 00:01: [mem 0xff000000-0xffffffff] has been reserved
[ 0.886120] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.886180] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 0.886279] system 00:03: [io 0x04d0-0x04d1] has been reserved
[ 0.886283] system 00:03: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.886353] system 00:04: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.886420] system 00:05: [io 0x0240-0x0259] has been reserved
[ 0.886424] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.886523] pnp 00:06: Plug and Play ACPI device, IDs TOS0220 SYN1d00 SYN0002 PNP0f13 (active)
[ 0.886596] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 PNP030b (active)
[ 0.886784] system 00:08: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.887277] pnp: PnP ACPI: found 9 devices
[ 0.895955] pci 0000:00:02.0: bridge window [io 0x1000-0x0fff] to [bus 01] add_size 1000
[ 0.895964] pci 0000:00:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 01] add_size 200000
[ 0.895969] pci 0000:00:02.0: bridge window [mem 0x00100000-0x000fffff] to [bus 01] add_size 200000
[ 0.896008] pci 0000:00:02.0: res[14]=[mem 0x00100000-0x000fffff] get_res_add_size add_size 200000
[ 0.896012] pci 0000:00:02.0: res[15]=[mem 0x00100000-0x000fffff 64bit pref] get_res_add_size add_size 200000
[ 0.896016] pci 0000:00:02.0: res[13]=[io 0x1000-0x0fff] get_res_add_size add_size 1000
[ 0.896026] pci 0000:00:02.0: BAR 14: assigned [mem 0xd0100000-0xd02fffff]
[ 0.896039] pci 0000:00:02.0: BAR 15: assigned [mem 0xd0300000-0xd04fffff 64bit pref]
[ 0.896046] pci 0000:00:02.0: BAR 13: assigned [io 0x1000-0x1fff]
[ 0.896051] pci 0000:00:02.0: PCI bridge to [bus 01]
[ 0.896056] pci 0000:00:02.0: bridge window [io 0x1000-0x1fff]
[ 0.896061] pci 0000:00:02.0: bridge window [mem 0xd0100000-0xd02fffff]
[ 0.896067] pci 0000:00:02.0: bridge window [mem 0xd0300000-0xd04fffff 64bit pref]
[ 0.896073] pci 0000:00:14.4: PCI bridge to [bus 02]
[ 0.896089] pci 0000:00:15.0: PCI bridge to [bus 03]
[ 0.896103] pci 0000:00:15.1: PCI bridge to [bus 04]
[ 0.896107] pci 0000:00:15.1: bridge window [io 0xe000-0xefff]
[ 0.896114] pci 0000:00:15.1: bridge window [mem 0xfea00000-0xfeafffff]
[ 0.896124] pci 0000:00:15.2: PCI bridge to [bus 05]
[ 0.896129] pci 0000:00:15.2: bridge window [io 0xd000-0xdfff]
[ 0.896138] pci 0000:00:15.2: bridge window [mem 0xd0000000-0xd00fffff 64bit pref]
[ 0.896147] pci_bus 0000:00: resource 4 [io 0x0000-0x03af]
[ 0.896151] pci_bus 0000:00: resource 5 [io 0x03e0-0x0cf7]
[ 0.896154] pci_bus 0000:00: resource 6 [io 0x03b0-0x03df]
[ 0.896157] pci_bus 0000:00: resource 7 [io 0x0d00-0xffff]
[ 0.896160] pci_bus 0000:00: resource 8 [mem 0x000a0000-0x000bffff]
[ 0.896164] pci_bus 0000:00: resource 9 [mem 0x000c0000-0x000dffff]
[ 0.896167] pci_bus 0000:00: resource 10 [mem 0xc0000000-0xffffffff]
[ 0.896171] pci_bus 0000:01: resource 0 [io 0x1000-0x1fff]
[ 0.896174] pci_bus 0000:01: resource 1 [mem 0xd0100000-0xd02fffff]
[ 0.896178] pci_bus 0000:01: resource 2 [mem 0xd0300000-0xd04fffff 64bit pref]
[ 0.896182] pci_bus 0000:02: resource 4 [io 0x0000-0x03af]
[ 0.896185] pci_bus 0000:02: resource 5 [io 0x03e0-0x0cf7]
[ 0.896188] pci_bus 0000:02: resource 6 [io 0x03b0-0x03df]
[ 0.896191] pci_bus 0000:02: resource 7 [io 0x0d00-0xffff]
[ 0.896194] pci_bus 0000:02: resource 8 [mem 0x000a0000-0x000bffff]
[ 0.896198] pci_bus 0000:02: resource 9 [mem 0x000c0000-0x000dffff]
[ 0.896201] pci_bus 0000:02: resource 10 [mem 0xc0000000-0xffffffff]
[ 0.896205] pci_bus 0000:04: resource 0 [io 0xe000-0xefff]
[ 0.896208] pci_bus 0000:04: resource 1 [mem 0xfea00000-0xfeafffff]
[ 0.896212] pci_bus 0000:05: resource 0 [io 0xd000-0xdfff]
[ 0.896215] pci_bus 0000:05: resource 2 [mem 0xd0000000-0xd00fffff 64bit pref]
[ 0.896259] NET: Registered protocol family 2
[ 0.896597] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.896863] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 0.897301] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.897360] TCP: reno registered
[ 0.897379] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[ 0.897467] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[ 0.897618] NET: Registered protocol family 1
[ 0.897646] pci 0000:00:01.0: Video device with shadowed ROM
[ 1.838171] PCI: CLS 64 bytes, default 64
[ 1.838242] Unpacking initramfs...
[ 1.934095] Freeing initrd memory: 4924K (ffff880037652000 - ffff880037b21000)
[ 1.934107] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 1.934110] software IO TLB [mem 0x9b8f5000-0x9f8f5000] (64MB) mapped at [ffff88009b8f5000-ffff88009f8f4fff]
[ 1.934495] microcode: CPU0: patch_level=0x03000014
[ 1.934537] microcode: CPU1: patch_level=0x03000014
[ 1.934580] microcode: CPU2: patch_level=0x03000014
[ 1.934625] microcode: CPU3: patch_level=0x03000014
[ 1.934758] microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
[ 1.934766] LVT offset 0 assigned for vector 0x400
[ 1.934817] perf: AMD IBS detected (0x000000ff)
[ 1.934854] Scanning for low memory corruption every 60 seconds
[ 1.935293] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 1.935315] Initialise system trusted keyring
[ 1.935789] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 1.937285] zpool: loaded
[ 1.937288] zbud: loaded
[ 1.937658] VFS: Disk quotas dquot_6.5.2
[ 1.937709] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.937948] Key type big_key registered
[ 1.938436] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.938508] io scheduler noop registered
[ 1.938511] io scheduler deadline registered
[ 1.938546] io scheduler cfq registered (default)
[ 1.939375] pcieport 0000:00:02.0: Signaling PME through PCIe PME interrupt
[ 1.939380] pcie_pme 0000:00:02.0:pcie01: service driver pcie_pme loaded
[ 1.939399] pcieport 0000:00:15.0: Signaling PME through PCIe PME interrupt
[ 1.939403] pcie_pme 0000:00:15.0:pcie01: service driver pcie_pme loaded
[ 1.939421] pcieport 0000:00:15.1: Signaling PME through PCIe PME interrupt
[ 1.939423] pci 0000:04:00.0: Signaling PME through PCIe PME interrupt
[ 1.939428] pcie_pme 0000:00:15.1:pcie01: service driver pcie_pme loaded
[ 1.939447] pcieport 0000:00:15.2: Signaling PME through PCIe PME interrupt
[ 1.939449] pci 0000:05:00.0: Signaling PME through PCIe PME interrupt
[ 1.939453] pcie_pme 0000:00:15.2:pcie01: service driver pcie_pme loaded
[ 1.939461] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 1.939494] pciehp 0000:00:02.0:pcie04: Slot #2 AttnBtn- AttnInd- PwrInd- PwrCtrl- MRL- Interlock- NoCompl+ LLActRep+
[ 1.939528] pciehp 0000:00:02.0:pcie04: service driver pciehp loaded
[ 1.939533] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 1.939550] vesafb: mode is 1152x864x32, linelength=4608, pages=0
[ 1.939552] vesafb: scrolling: redraw
[ 1.939554] vesafb: Truecolor: size=0:8:8:8, shift=0:16:8:0
[ 1.939576] vesafb: framebuffer at 0xc0000000, mapped to 0xffffc90010e80000, using 3904k, total 3904k
[ 1.955978] Console: switching to colour frame buffer device 144x54
[ 1.972261] fb0: VESA VGA frame buffer device
[ 1.972328] GHES: HEST is not enabled!
[ 1.972535] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.973720] Linux agpgart interface v0.103
[ 1.973797] rtc_cmos 00:02: RTC can wake from S4
[ 1.973936] rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
[ 1.973964] rtc_cmos 00:02: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[ 1.973983] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.974434] TCP: cubic registered
[ 1.974593] NET: Registered protocol family 10
[ 1.975020] NET: Registered protocol family 17
[ 1.975476] Loading compiled-in X.509 certificates
[ 1.975502] registered taskstats version 1
[ 1.976231] Magic number: 3:326:848
[ 1.976341] rtc_cmos 00:02: setting system clock to 2015-02-22 18:50:54 UTC (1424631054)
[ 1.976444] PM: Hibernation image not present or could not be loaded.
[ 1.977023] Freeing unused kernel memory: 1164K (ffffffff818e7000 - ffffffff81a0a000)
[ 1.977027] Write protecting the kernel read-only data: 8192k
[ 1.977495] Freeing unused kernel memory: 600K (ffff88000156a000 - ffff880001600000)
[ 1.977718] Freeing unused kernel memory: 304K (ffff8800017b4000 - ffff880001800000)
[ 1.979659] random: systemd urandom read with 1 bits of entropy available
[ 1.980307] systemd[1]: systemd 219 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD +IDN)
[ 1.980576] systemd[1]: Detected architecture 'x86-64'.
[ 1.980581] systemd[1]: Running in initial RAM disk.
[ 1.980590] systemd[1]: Running with unpopulated /etc.
[ 1.980603] systemd[1]: No hostname configured.
[ 1.980609] systemd[1]: Set hostname to <localhost>.
[ 1.980655] systemd[1]: Initializing machine ID from random generator.
[ 1.996373] systemd[1]: Populated /etc with preset unit settings.
[ 1.999327] systemd[1]: Unit type .busname is not supported on this system.
[ 2.003390] systemd[1]: Created slice -.slice.
[ 2.003412] systemd[1]: Starting -.slice.
[ 2.005054] systemd[1]: Listening on Journal Audit Socket.
[ 2.005188] systemd[1]: Created slice system.slice.
[ 2.005200] systemd[1]: Starting system.slice.
[ 2.005218] systemd[1]: Reached target Swap.
[ 2.005226] systemd[1]: Starting Swap.
[ 2.005288] systemd[1]: Listening on udev Control Socket.
[ 2.005296] systemd[1]: Starting udev Control Socket.
[ 2.005312] systemd[1]: Reached target Slices.
[ 2.005320] systemd[1]: Starting Slices.
[ 2.005335] systemd[1]: Reached target Local File Systems.
[ 2.005342] systemd[1]: Starting Local File Systems.
[ 2.005358] systemd[1]: Reached target Timers.
[ 2.005366] systemd[1]: Starting Timers.
[ 2.005398] systemd[1]: Listening on udev Kernel Socket.
[ 2.005409] systemd[1]: Starting udev Kernel Socket.
[ 2.005430] systemd[1]: Reached target Paths.
[ 2.005441] systemd[1]: Starting Paths.
[ 2.005497] systemd[1]: Listening on Journal Socket.
[ 2.005510] systemd[1]: Starting Journal Socket.
[ 2.006097] systemd[1]: Starting udev Coldplug all Devices...
[ 2.006689] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 2.006801] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 2.006811] systemd[1]: Starting system-systemd\x2dfsck.slice.
[ 2.006860] systemd[1]: Listening on Journal Socket (/dev/log).
[ 2.006870] systemd[1]: Starting Journal Socket (/dev/log).
[ 2.007428] systemd[1]: Starting Journal Service...
[ 2.007472] systemd[1]: Reached target Sockets.
[ 2.007494] systemd[1]: Starting Sockets.
[ 2.011399] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 2.012026] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 2.012842] systemd-journald[63]: Failed to set file attributes: Inappropriate ioctl for device
[ 2.016230] systemd[1]: Started Create Static Device Nodes in /dev.
[ 2.016999] systemd[1]: Starting udev Kernel Device Manager...
[ 2.021212] systemd[1]: Started udev Kernel Device Manager.
[ 2.024169] systemd[1]: Started udev Coldplug all Devices.
[ 2.029792] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 2.032026] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 2.032044] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 2.041719] SCSI subsystem initialized
[ 2.042505] ACPI: bus type USB registered
[ 2.042538] usbcore: registered new interface driver usbfs
[ 2.042552] usbcore: registered new interface driver hub
[ 2.042588] usbcore: registered new device driver usb
[ 2.044174] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.045154] systemd[1]: Started Journal Service.
[ 2.045633] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.045840] ohci-pci: OHCI PCI platform driver
[ 2.045993] QUIRK: Enable AMD PLL fix
[ 2.046022] ohci-pci 0000:00:12.0: OHCI PCI host controller
[ 2.046033] ohci-pci 0000:00:12.0: new USB bus registered, assigned bus number 1
[ 2.046079] ohci-pci 0000:00:12.0: irq 18, io mem 0xfeb4d000
[ 2.046697] ehci-pci: EHCI PCI platform driver
[ 2.047833] libata version 3.00 loaded.
[ 2.084196] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 2.102273] hub 1-0:1.0: USB hub found
[ 2.102287] hub 1-0:1.0: 5 ports detected
[ 2.102593] ohci-pci 0000:00:13.0: OHCI PCI host controller
[ 2.102600] ohci-pci 0000:00:13.0: new USB bus registered, assigned bus number 2
[ 2.102631] ohci-pci 0000:00:13.0: irq 18, io mem 0xfeb4b000
[ 2.159071] hub 2-0:1.0: USB hub found
[ 2.159085] hub 2-0:1.0: 5 ports detected
[ 2.160195] ohci-pci 0000:00:16.0: OHCI PCI host controller
[ 2.160202] ohci-pci 0000:00:16.0: new USB bus registered, assigned bus number 3
[ 2.160235] ohci-pci 0000:00:16.0: irq 18, io mem 0xfeb49000
[ 2.215699] hub 3-0:1.0: USB hub found
[ 2.215713] hub 3-0:1.0: 4 ports detected
[ 2.271489] ehci-pci 0000:00:12.2: EHCI Host Controller
[ 2.271502] ehci-pci 0000:00:12.2: new USB bus registered, assigned bus number 4
[ 2.271509] ehci-pci 0000:00:12.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
[ 2.271523] ehci-pci 0000:00:12.2: debug port 1
[ 2.271574] ehci-pci 0000:00:12.2: irq 17, io mem 0xfeb4c000
[ 2.281276] ehci-pci 0000:00:12.2: USB 2.0 started, EHCI 1.00
[ 2.281694] hub 4-0:1.0: USB hub found
[ 2.281705] hub 4-0:1.0: 5 ports detected
[ 2.338086] hub 1-0:1.0: USB hub found
[ 2.338100] hub 1-0:1.0: 5 ports detected
[ 2.338571] ehci-pci 0000:00:13.2: EHCI Host Controller
[ 2.338579] ehci-pci 0000:00:13.2: new USB bus registered, assigned bus number 5
[ 2.338584] ehci-pci 0000:00:13.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
[ 2.338596] ehci-pci 0000:00:13.2: debug port 1
[ 2.338634] ehci-pci 0000:00:13.2: irq 17, io mem 0xfeb4a000
[ 2.347963] ehci-pci 0000:00:13.2: USB 2.0 started, EHCI 1.00
[ 2.348396] hub 5-0:1.0: USB hub found
[ 2.348414] hub 5-0:1.0: 5 ports detected
[ 2.404806] hub 2-0:1.0: USB hub found
[ 2.404820] hub 2-0:1.0: 5 ports detected
[ 2.461536] ehci-pci 0000:00:16.2: EHCI Host Controller
[ 2.461550] ehci-pci 0000:00:16.2: new USB bus registered, assigned bus number 6
[ 2.461557] ehci-pci 0000:00:16.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
[ 2.461571] ehci-pci 0000:00:16.2: debug port 1
[ 2.461611] ehci-pci 0000:00:16.2: irq 17, io mem 0xfeb48000
[ 2.471331] ehci-pci 0000:00:16.2: USB 2.0 started, EHCI 1.00
[ 2.471768] hub 6-0:1.0: USB hub found
[ 2.471780] hub 6-0:1.0: 4 ports detected
[ 2.528139] hub 3-0:1.0: USB hub found
[ 2.528154] hub 3-0:1.0: 4 ports detected
[ 2.528415] ahci 0000:00:11.0: version 3.0
[ 2.528689] ahci 0000:00:11.0: AHCI 0001.0300 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
[ 2.528693] ahci 0000:00:11.0: flags: 64bit ncq sntf ilck pm led clo pmp pio slum part sxs
[ 2.529180] scsi host0: ahci
[ 2.529664] scsi host1: ahci
[ 2.529777] ata1: SATA max UDMA/133 abar m2048@0xfeb4e000 port 0xfeb4e100 irq 28
[ 2.529781] ata2: SATA max UDMA/133 abar m2048@0xfeb4e000 port 0xfeb4e180 irq 28
[ 2.530551] scsi host2: pata_atiixp
[ 2.530815] scsi host3: pata_atiixp
[ 2.530912] ata3: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xf100 irq 14
[ 2.530914] ata4: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xf108 irq 15
[ 2.654798] usb 5-4: new high-speed USB device number 2 using ehci-pci
[ 2.934859] tsc: Refined TSC clocksource calibration: 1397.458 MHz
[ 3.014908] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 3.014947] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 3.016183] ata1.00: ATA-8: Hitachi HTS547550A9E384, JE3OA60B, max UDMA/133
[ 3.016190] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[ 3.016972] ata2.00: ATAPI: TSSTcorp CDDVDW TS-L633F, TF01, max UDMA/100
[ 3.017307] ata1.00: configured for UDMA/133
[ 3.017807] scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54755 A60B PQ: 0 ANSI: 5
[ 3.019278] ata2.00: configured for UDMA/100
[ 3.025787] scsi 1:0:0:0: CD-ROM TSSTcorp CDDVDW TS-L633F TF01 PQ: 0 ANSI: 5
[ 3.044649] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[ 3.044654] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 3.044859] sd 0:0:0:0: [sda] Write Protect is off
[ 3.044865] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3.044918] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.061859] sr 1:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[ 3.061874] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 3.062232] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 3.084075] sda: sda1 sda2 sda3
[ 3.085567] sd 0:0:0:0: [sda] Attached SCSI disk
[ 3.414041] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 3.528901] XFS (sda1): Mounting V4 Filesystem
[ 3.710527] XFS (sda1): Ending clean mount
[ 3.935255] Switched to clocksource tsc
[ 3.999076] systemd-journald[63]: Received SIGTERM from PID 1 (systemd).
[ 4.799287] random: nonblocking pool is initialized
[ 6.377516] systemd-journald[187]: Failed to set file attributes: Inappropriate ioctl for device
[ 7.417234] ACPI: acpi_idle registered with cpuidle
[ 7.464892] acpi-cpufreq: overriding BIOS provided _PSD data
[ 7.544509] wmi: Mapper loaded
[ 7.612504] ACPI: Video Device [VGA1] (multi-head: yes rom: no post: no)
[ 7.626522] acpi device:2b: registered as cooling_device4
[ 7.626631] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:01/input/input2
[ 7.700708] ACPI Warning: SystemIO range 0x0000000000000b00-0x0000000000000b07 conflicts with OpRegion 0x0000000000000b00-0x0000000000000b0f (\SMBX) (20141107/utaddress-258)
[ 7.700729] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 7.734642] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input3
[ 7.737166] thermal LNXTHERM:00: registered as thermal_zone0
[ 7.737173] ACPI: Thermal Zone [THRM] (50 C)
[ 7.746486] ACPI: Lid Switch [LID]
[ 7.746714] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input4
[ 7.746725] ACPI: Power Button [SLPB]
[ 7.746874] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
[ 7.746880] ACPI: Power Button [PWRF]
[ 7.749494] ACPI: Battery Slot [BAT0] (battery present)
[ 7.749951] ACPI: AC Adapter [AC0] (on-line)
[ 7.755509] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 7.961538] input: PC Speaker as /devices/platform/pcspkr/input/input6
[ 8.061752] [drm] Initialized drm 1.1.0 20060810
[ 8.296521] cfg80211: Calling CRDA to update world regulatory domain
[ 8.319199] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 8.319231] r8169 0000:05:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 8.320035] r8169 0000:05:00.0 eth0: RTL8105e at 0xffffc90000032000, 38:60:77:69:8f:16, XID 00a00000 IRQ 29
[ 8.363138] kvm: Nested Virtualization enabled
[ 8.363151] kvm: Nested Paging enabled
[ 8.704039] [drm] radeon kernel modesetting enabled.
[ 8.794078] r8169 0000:05:00.0 enp5s0: renamed from eth0
[ 8.832358] AMD IOMMUv2 driver by Joerg Roedel <[email protected]>
[ 8.832364] AMD IOMMUv2 functionality not available on this system
[ 8.959092] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
[ 8.961187] snd_hda_codec_hdmi: unknown parameter 'index' ignored
[ 8.965010] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/sound/card1/input8
[ 9.031523] media: Linux media interface: v0.10
[ 9.102014] CRAT table not found
[ 9.102024] Finished initializing topology ret=0
[ 9.102177] kfd kfd: Initialized module
[ 9.102941] checking generic (c0000000 3d0000) vs hw (c0000000 10000000)
[ 9.102951] fb: switching to radeondrmfb from VESA VGA
[ 9.103002] Console: switching to colour dummy device 80x25
[ 9.104030] [drm] initializing kernel modesetting (SUMO 0x1002:0x9647 0x1179:0xFC62).
[ 9.104059] [drm] register mmio base: 0xFEB00000
[ 9.104063] [drm] register mmio size: 262144
[ 9.104144] ATOM BIOS: Toshiba
[ 9.104219] radeon 0000:00:01.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
[ 9.104227] radeon 0000:00:01.0: GTT: 1024M 0x0000000020000000 - 0x000000005FFFFFFF
[ 9.104231] [drm] Detected VRAM RAM=512M, BAR=256M
[ 9.104235] [drm] RAM width 32bits DDR
[ 9.104379] [TTM] Zone kernel: Available graphics memory: 3821360 kiB
[ 9.104390] [TTM] Zone dma32: Available graphics memory: 2097152 kiB
[ 9.104394] [TTM] Initializing pool allocator
[ 9.104407] [TTM] Initializing DMA pool allocator
[ 9.104455] [drm] radeon: 512M of VRAM memory ready
[ 9.104459] [drm] radeon: 1024M of GTT memory ready.
[ 9.104497] [drm] Loading SUMO Microcode
[ 9.124664] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04733/0xa40000/0xa0000, board id: 3655, fw id: 582762
[ 9.124685] psmouse serio1: synaptics: Toshiba Satellite L775D detected, limiting rate to 40pps.
[ 9.160285] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input7
[ 9.170455] Linux video capture interface: v2.00
[ 9.179293] mousedev: PS/2 mouse device common for all mice
[ 9.223473] [drm] Internal thermal controller without fan control
[ 9.223622] [drm] Found smc ucode version: 0x00011200
[ 9.223730] [drm] radeon: dpm initialized
[ 9.266919] [drm] GART: num cpu pages 262144, num gpu pages 262144
[ 9.282200] [drm] PCIE GART of 1024M enabled (table at 0x0000000000274000).
[ 9.282345] radeon 0000:00:01.0: WB enabled
[ 9.282349] radeon 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff88009b70ac00
[ 9.282351] radeon 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0xffff88009b70ac0c
[ 9.283078] radeon 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xffffc90010f32118
[ 9.283081] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 9.283082] [drm] Driver supports precise vblank timestamp query.
[ 9.283084] radeon 0000:00:01.0: radeon: MSI limited to 32-bit
[ 9.283121] radeon 0000:00:01.0: radeon: using MSI.
[ 9.283145] [drm] radeon: irq initialized.
[ 9.298245] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 9.298931] rtlwifi: rtlwifi: wireless switch is on
[ 9.299718] [drm] ring test on 0 succeeded in 1 usecs
[ 9.299728] [drm] ring test on 3 succeeded in 3 usecs
[ 9.307045] sound hdaudioC0D2: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 9.307049] sound hdaudioC0D2: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 9.307053] sound hdaudioC0D2: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 9.307055] sound hdaudioC0D2: mono: mono_out=0x0
[ 9.307058] sound hdaudioC0D2: inputs:
[ 9.307061] sound hdaudioC0D2: Mic=0x18
[ 9.307065] sound hdaudioC0D2: Internal Mic=0x12
[ 9.315899] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/sound/card0/hdaudioC0D2/input9
[ 9.316387] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
[ 9.316507] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
[ 9.349814] [drm] ring test on 5 succeeded in 1 usecs
[ 9.369840] [drm] UVD initialized successfully.
[ 9.370279] [drm] ib test on ring 0 succeeded in 0 usecs
[ 9.370314] [drm] ib test on ring 3 succeeded in 0 usecs
[ 9.524205] rtl8192ce 0000:04:00.0 wlp4s0: renamed from wlan0
[ 9.769931] uvcvideo: Found UVC 1.00 device TOSHIBA Web Camera - MP (04f2:b289)
[ 9.788893] input: TOSHIBA Web Camera - MP as /devices/pci0000:00/0000:00:13.2/usb5/5-4/5-4:1.0/input/input12
[ 9.789309] usbcore: registered new interface driver uvcvideo
[ 9.789319] USB Video Class driver (1.1.1)
[ 9.871399] cfg80211: World regulatory domain updated:
[ 9.871412] cfg80211: DFS Master region: unset
[ 9.871417] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 9.871425] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 9.871431] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 9.871436] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 9.871441] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 9.871447] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 9.871453] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 9.871457] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 9.871463] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 9.890507] [drm] ib test on ring 5 succeeded
[ 9.911771] [drm] radeon atom DIG backlight initialized
[ 9.911776] [drm] Radeon Display Connectors
[ 9.911777] [drm] Connector 0:
[ 9.911779] [drm] VGA-1
[ 9.911780] [drm] HPD2
[ 9.911782] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
[ 9.911783] [drm] Encoders:
[ 9.911784] [drm] CRT1: INTERNAL_UNIPHY2
[ 9.911786] [drm] CRT1: NUTMEG
[ 9.911787] [drm] Connector 1:
[ 9.911788] [drm] LVDS-1
[ 9.911789] [drm] HPD1
[ 9.911790] [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
[ 9.911791] [drm] Encoders:
[ 9.911792] [drm] LCD1: INTERNAL_UNIPHY2
[ 9.911793] [drm] LCD1: TRAVIS
[ 9.911794] [drm] Connector 2:
[ 9.911795] [drm] HDMI-A-1
[ 9.911796] [drm] HPD5
[ 9.911798] [drm] DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 0x647c 0x647c
[ 9.911799] [drm] Encoders:
[ 9.911800] [drm] DFP1: INTERNAL_UNIPHY1
[ 10.016569] [drm] fb mappable at 0xC0478000
[ 10.016576] [drm] vram apper at 0xC0000000
[ 10.016578] [drm] size 5787648
[ 10.016580] [drm] fb depth is 24
[ 10.016582] [drm] pitch is 6400
[ 10.016970] fbcon: radeondrmfb (fb0) is primary device
[ 10.078763] Adding 8388604k swap on /dev/sda2. Priority:-1 extents:1 across:8388604k FS
[ 10.143532] Console: switching to colour frame buffer device 200x56
[ 10.150308] radeon 0000:00:01.0: fb0: radeondrmfb frame buffer device
[ 10.150312] radeon 0000:00:01.0: registered panic notifier
[ 10.164191] [drm] Initialized radeon 2.40.0 20080528 for 0000:00:01.0 on minor 0
[ 10.194853] cfg80211: Calling CRDA for country: US
[ 10.231380] cfg80211: Regulatory domain changed to country: US
[ 10.231393] cfg80211: DFS Master region: FCC
[ 10.231397] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 10.231406] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 10.231413] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
[ 10.231419] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[ 10.231425] cfg80211: (5490000 KHz - 5600000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[ 10.231429] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm), (0 s)
[ 10.231434] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 10.231439] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 10.422003] XFS (sda3): Mounting V5 Filesystem
[ 10.837256] XFS (sda3): Ending clean mount
[ 10.899226] systemd-journald[187]: Received request to flush runtime journal from PID 1
[ 11.195453] microcode: CPU0: new patch_level=0x03000027
[ 11.195496] microcode: CPU1: new patch_level=0x03000027
[ 11.195601] microcode: CPU2: new patch_level=0x03000027
[ 11.195693] microcode: CPU3: new patch_level=0x03000027
[ 12.465476] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[ 13.726328] wlp4s0: authenticate with 00:1e:2a:6f:46:f8
[ 13.745730] wlp4s0: send auth to 00:1e:2a:6f:46:f8 (try 1/3)
[ 13.753012] wlp4s0: authenticated
[ 13.755130] wlp4s0: associate with 00:1e:2a:6f:46:f8 (try 1/3)
[ 13.758031] wlp4s0: RX AssocResp from 00:1e:2a:6f:46:f8 (capab=0x411 status=0 aid=3)
[ 13.758283] wlp4s0: associated
[ 13.758302] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[ 23.961417] PM: Syncing filesystems ... done.
[ 24.305227] PM: Preparing system for mem sleep
[ 24.310243] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 24.311535] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 24.311542] PM: Entering mem sleep
[ 24.311898] Suspending console(s) (use no_console_suspend to debug)
[ 24.320753] wlp4s0: deauthenticating fSuspend has always been problematic under Linux. It seems to be hit or miss for the most part, but here are some things you can try:
Use an LTS kernel, tuxonice, pm-utils, etc. See Suspend and Hibernate
Try a different graphics driver
Tweak the driver module parameters or build your own driver.
Unfortunately I don't have experience with the radeon driver, so I can only give you ideas. -
Unknown problem with JSP, JavaScript - Pls help
Hi Friends,
I am facing a strange problem. Explained it below. Kindly help me as it is really affecting my work. Thanks in advance.
I am working on building a web application using jsp, servlet, ejb. the IDE used is WSAD 5.1.2.
I have the below :
1 JSP - Input page - for user input entry
2. Java script1 - For all client side validations
Java script2 - For handling the data submission to servlet (as selected by user)
Javascript3 - Header & Menu Bar
3 Servlet - This actually retrieves the values from the hidden parameters, sets them in session and redirects the control back to the jsp.
Logic for one small iteration : Two drop downs are there. On selecting the first drop down the second drop down should be populated and the first drop down should display the user selected value.
1. When the user selects the first drop down onchange() event gets fired which calls a method in the javascript.
2. In the javascript I set the value of a hidden form field to the selected combo index and submit the form to the servlet
3. In the servlet, I retrieve the hidden request parameter (Index),
set the index in session. Do my business logic based on the value of the index. Set the collection (to be displayed) in second drop down in session.
4. Send the response back to the JSP.
5. In the JSP, we have a method which is called during the onload() event of the body
6. This method sets the user selected values in appropriate controls(by taking from session)
Problem faced: I have a javascript which creates the menu bar for my application and this i've included it in my jsp. I dont know whats wrong with this javascript, when it is commented out the page works perfectly fine. Both the user selected value and the collection are loaded exactly as expected. But when it is included the collection is loaded in the second drop down but the selected index of the first drop down is not set - the drop down gets reset to the default value.
Also on body load of my jsp, I call a javascript method which sets the current date in one text field of my form. Even this is not working fine when I include this javascript. I don't see any script error in this javascript in my browser though. Strange but guess something basic :(
I'm sure there is nothing to do with session. I've tried printing the entire flow. The Servlet sets the values correctly in session and they are also correctly available in the JSP page. The JSP also gets loaded with the user selected values but something happens on page load which clears the values to default.
Am also confused in what way javascript is related to this, coz when I remove it things are working fine.
Am really helpless here pls do the needful. any help is appreciated.
Header.js [which includes the menu bar code]
document.write("<!-- COMMON HEADER CODE -->")
document.write(" <table id='mplPageHeader' cellspacing='0' cellpadding='2' border='0'>")
document.write(" <tr> ")
document.write(" <td rowspan='2' bgcolor='#FFFFFF' width='1%'>")
document.write(" <a href='http://www.web.com' target='_top'>")
document.write(" <img src='./images/ford.gif' alt='BLogistics' border='0'>")
document.write(" </a> ")
document.write(" </td>")
document.write(" <td rowspan='2' class='appTitle' title='Mp' width='1%'>MP&L</td>")
document.write(" <td class='appTitle' title='M R'>M R</td>")
document.write(" <td class='pageIdentifier'>"+' '+"</td>");
document.write(" </tr>")
document.write(" <tr>")
document.write(" <td class='pageTitle' nowrap></td>");
document.write(" <td class='dateInfo' nowrap>Thu Jan 22 2004 12:24 PM</td>")
document.write(" </tr>")
document.write(" </table>")
document.write("<!-- Display Menu Items -->")
document.write("<div id='navigationMenu'>")
document.write(" <script type='text/javascript' src='./javascript/MRmenuItem.js'></script>")
document.write(" <script type='text/javascript' src='./javascript/menuScript.js'></script>")
document.write("</div>")-------------------------------------------------------
Menu Bar Code
var AgntUsr=navigator.userAgent.toLowerCase();
var AppVer=navigator.appVersion.toLowerCase();
var DomYes=document.getElementById?1:0,NavYes=AgntUsr.indexOf("mozilla")!=-1&&AgntUsr.indexOf("compatible")==-1?1:0,ExpYes=AgntUsr.indexOf("msie")!=-1?1:0,Opr=AgntUsr.indexOf("opera")!=-1?1:0;
var DomNav=DomYes&&NavYes?1:0,DomExp=DomYes&&ExpYes?1:0;
var Nav4=NavYes&&!DomYes&&document.layers?1:0,Exp4=ExpYes&&!DomYes&&document.all?1:0;
var MacCom=(AppVer.indexOf("mac")!= -1)?1:0,MacExp4=(MacCom&&AppVer.indexOf("msie 4")!= -1)?1:0,Mac4=(MacCom&&(Nav4||Exp4))?1:0;
var Exp5=AppVer.indexOf("msie 5")!= -1?1:0,Fltr=(AppVer.indexOf("msie 6")!= -1||AppVer.indexOf("msie 7")!= -1)?1:0,MacExp5=(MacCom&&Exp5)?1:0,PosStrt=(NavYes||ExpYes)&&!Opr?1:0;
var RmbrNow=null,FLoc,ScLoc,DcLoc,SWinW,SWinH,FWinW,FWinH,SLdAgnWin,FColW,SColW,DColW,RLvl=0,FrstCreat=1,Ldd=0,Crtd=0,IniFlg,AcrssFrms=1,FrstCntnr=null,CurOvr=null,CloseTmr=null,CntrTxt,TxtClose,ImgStr,ShwFlg=0,M_StrtTp=StartTop,M_StrtLft=StartLeft,StaticPos=0,LftXtra=DomNav?LeftPaddng:0,TpXtra=DomNav?TopPaddng:0,FStr="",M_Hide=Nav4?"hide":"hidden",M_Show=Nav4?"show":"visible",Par=MenuUsesFrames?parent:window,Doc=Par.document,Bod=Doc.body,Trigger=NavYes?Par:Bod;
var Ztop=100,InitLdd=0,P_X=DomYes?"px":"";
var OpnTmr=null;
if(PosStrt){if(MacExp4||MacExp5)LdTmr=setInterval("ChckInitLd()",100);
else{if(Trigger.onload)Dummy=Trigger.onload;
if(DomNav)Trigger.addEventListener("load",Go,false);
else Trigger.onload=Go}}
function ChckInitLd(){
InitLdd=(MenuUsesFrames)?(Par.document.readyState=="complete"&&Par.frames[FirstLineFrame].document.readyState=="complete"&&Par.frames[SecLineFrame].document.readyState=="complete")?1:0:(Par.document.readyState=="complete")?1:0;
if(InitLdd){clearInterval(LdTmr);Go()}}
function Dummy(){return}
function CnclSlct(){return false}
function RePos(){
FWinW=ExpYes?FLoc.document.body.clientWidth:FLoc.innerWidth;
FWinH=ExpYes?FLoc.document.body.clientHeight:FLoc.innerHeight;
SWinW=ExpYes?ScLoc.document.body.clientWidth:ScLoc.innerWidth;
SWinH=ExpYes?ScLoc.document.body.clientHeight:ScLoc.innerHeight;
if(MenuCentered.indexOf("justify")!=-1&&FirstLineHorizontal){
ClcJus();
var P=FrstCntnr.FrstMbr,W=Menu1[5],a=BorderBtwnMain?NoOffFirstLineMenus+1:2,i;
FrstCntnr.style.width=NoOffFirstLineMenus*W+a*BorderWidthMain+P_X;
for(i=0;i<NoOffFirstLineMenus;i++){
P.style.width=W-(P.value.indexOf("<")==-1?LftXtra:0)+P_X;
if(P.ai&&!RightToLeft)
P.ai.style.left=BottomUp?W-BorderColor-2+P_X:W-Arrws[4]-2+P_X;
P=P.PrvMbr
StaticPos=-1;
ClcRl();
if(TargetLoc)ClcTrgt();ClcLft();ClcTp();
PosMenu(FrstCntnr,StartTop,StartLeft);
if(RememberStatus)StMnu()}
function NavUnLdd(){Ldd=0;Crtd=0;SetMenu="0"}
function UnLdd(){
NavUnLdd();
if(ExpYes){var M=FrstCntnr?FrstCntnr.FrstMbr:null;
while(M!=null){if(M.CCn){MakeNull(M.CCn);M.CCn=null}
M=M.PrvMbr}}
if(!Nav4){LdTmr=setInterval("ChckLdd()",100)}}
function UnLddTotal(){MakeNull(FrstCntnr);FrstCntnr=RmbrNow=FLoc=ScLoc=DcLoc=SLdAgnWin=CurOvr=CloseTmr=Doc=Bod=Trigger=null}
function MakeNull(P){
var M=P.FrstMbr,Mi;
while(M!=null){Mi=M;
if(M.CCn){MakeNull(M.CCn);M.CCn=null}
M.Cntnr=null;M=M.PrvMbr;Mi.PrvMbr=null;Mi=null}
P.FrstMbr=null}
function ChckLdd(){
if(!ExpYes){if(ScLoc.document.body){clearInterval(LdTmr);Go()}}
else if(ScLoc.document.readyState=="complete"){if(LdTmr)clearInterval(LdTmr);Go()}}
function NavLdd(e){if(e.target!=self)routeEvent(e);if(e.target==ScLoc)Go()}
function ReDoWhole(){if(AppVer.indexOf("4.0")==-1)Doc.location.reload();else if(SWinW!=ScLoc.innerWidth||SWinH!=ScLoc.innerHeight||FWinW!=FLoc.innerWidth||FWinH!=FLoc.innerHeight)Doc.location.reload()}
function Go(){
if(!Ldd&&PosStrt){
BeforeStart();
Crtd=0;Ldd=1;
FLoc=MenuUsesFrames?parent.frames[FirstLineFrame]:window;
ScLoc=MenuUsesFrames?parent.frames[SecLineFrame]:window;
DcLoc=MenuUsesFrames?parent.frames[DocTargetFrame]:window;
if(MenuUsesFrames){
if(!FLoc){FLoc=ScLoc;if(!FLoc){FLoc=ScLoc=DcLoc;if(!FLoc)FLoc=ScLoc=DcLoc=window}}
if(!ScLoc){ScLoc=DcLoc;if(!ScLoc)ScLoc=DcLoc=FLoc}
if(!DcLoc)DcLoc=ScLoc}
if(FLoc==ScLoc)AcrssFrms=0;
if(AcrssFrms)FirstLineHorizontal=MenuFramesVertical?0:1;
FWinW=ExpYes?FLoc.document.body.clientWidth:FLoc.innerWidth;
FWinH=ExpYes?FLoc.document.body.clientHeight:FLoc.innerHeight;
SWinW=ExpYes?ScLoc.document.body.clientWidth:ScLoc.innerWidth;
SWinH=ExpYes?ScLoc.document.body.clientHeight:ScLoc.innerHeight;
FColW=Nav4?FLoc.document:FLoc.document.body;
SColW=Nav4?ScLoc.document:ScLoc.document.body;
DColW=Nav4?DcLoc.document:ScLoc.document.body;
if(TakeOverBgColor){
if(ExpYes&&MacCom)FColW.style.backgroundColor=AcrssFrms?SColW.bgColor:DColW.bgColor;
else FColW.bgColor=AcrssFrms?SColW.bgColor:DColW.bgColor}
if(MenuCentered.indexOf("justify")!=-1&&FirstLineHorizontal)ClcJus();
if(FrstCreat||FLoc==ScLoc)FrstCntnr=CreateMenuStructure("Menu",NoOffFirstLineMenus,null);
else CreateMenuStructureAgain("Menu",NoOffFirstLineMenus);
ClcRl();
if(TargetLoc)ClcTrgt();ClcLft();ClcTp();
PosMenu(FrstCntnr,StartTop,StartLeft);
IniFlg=1;Initiate();Crtd=1;
SLdAgnWin=ExpYes?ScLoc.document.body:ScLoc;SLdAgnWin.onunload=Nav4?NavUnLdd:UnLdd;
if(ExpYes)Trigger.onunload=UnLddTotal;
Trigger.onresize=Nav4?ReDoWhole:RePos;
AfterBuild();
if(RememberStatus)StMnu();
if(Nav4&&FrstCreat){Trigger.captureEvents(Event.LOAD);Trigger.onload=NavLdd}
if(FrstCreat)Dummy();FrstCreat=0;
if(MenuVerticalCentered=="static"&&!AcrssFrms)setInterval("KeepPos()",250) }}
function KeepPos(){
var TS=ExpYes?FLoc.document.body.scrollTop:FLoc.pageYOffset;
if(TS!=StaticPos){var FCSt=Nav4?FrstCntnr:FrstCntnr.style;
FrstCntnr.OrgTop=StartTop+TS;FCSt.top=FrstCntnr.OrgTop+P_X;StaticPos=TS}}
function ClcRl(){
StartTop=M_StrtTp<1&&M_StrtTp>0?M_StrtTp*FWinH:M_StrtTp;
StartLeft=M_StrtLft<1&&M_StrtLft>0?M_StrtLft*FWinW:M_StrtLft}
function ClcJus(){
var a=BorderBtwnMain?NoOffFirstLineMenus+1:2,Sz=Math.round((PartOfWindow*FWinW-a*BorderWidthMain)/NoOffFirstLineMenus),i,j;
for(i=1;i<NoOffFirstLineMenus+1;i++){j=eval("Menu"+i);j[5]=Sz}
StartLeft=0}
function ClcTrgt(){
var TLoc=Nav4?FLoc.document.layers[TargetLoc]:DomYes?FLoc.document.getElementById(TargetLoc):FLoc.document.all[TargetLoc];
if(DomYes){while(TLoc){StartTop+=TLoc.offsetTop;StartLeft+=TLoc.offsetLeft;TLoc=TLoc.offsetParent}}
else{StartTop+=Nav4?TLoc.pageY:TLoc.offsetTop;StartLeft+=Nav4?TLoc.pageX:TLoc.offsetLeft}}
function ClcLft(){
if(MenuCentered.indexOf("left")==-1){
var Sz=FWinW-(!Nav4?parseInt(FrstCntnr.style.width):FrstCntnr.clip.width);
StartLeft+=MenuCentered.indexOf("right")!=-1?Sz:Sz/2;
if(StartLeft<0)StartLeft=0}}
function ClcTp(){
if(MenuVerticalCentered!="top"&&MenuVerticalCentered!="static"){
var Sz=FWinH-(!Nav4?parseInt(FrstCntnr.style.height):FrstCntnr.clip.height);
StartTop+=MenuVerticalCentered=="bottom"?Sz:Sz/2;
if(StartTop<0)StartTop=0}}
function PosMenu(Ct,Tp,Lt){
RLvl++;
var Ti,Li,Hi,Mb=Ct.FrstMbr,CStl=!Nav4?Ct.style:Ct,MStl=!Nav4?Mb.style:Mb,PadL=Mb.value.indexOf("<")==-1?LftXtra:0,PadT=Mb.value.indexOf("<")==-1?TpXtra:0,MWt=!Nav4?parseInt(MStl.width)+PadL:MStl.clip.width,MHt=!Nav4?parseInt(MStl.height)+PadT:MStl.clip.height,CWt=!Nav4?parseInt(CStl.width):CStl.clip.width,CHt=!Nav4?parseInt(CStl.height):CStl.clip.height,CCw,CCh,STp,SLt;
var BRW=RLvl==1?BorderWidthMain:BorderWidthSub,BTWn=RLvl==1?BorderBtwnMain:BorderBtwnSub;
if(RLvl==1&&AcrssFrms)!MenuFramesVertical?Tp=BottomUp?0:FWinH-CHt+(Nav4?MacCom?-2:4:0):Lt=RightToLeft?0:FWinW-CWt+(Nav4?MacCom?-2:4:0);
if(RLvl==2&&AcrssFrms)!MenuFramesVertical?Tp=BottomUp?SWinH-CHt+(Nav4?MacCom?-2:4:0):0:Lt=RightToLeft?SWinW-CWt:0;
if(RLvl==2){Tp+=VerCorrect;Lt+=HorCorrect}
CStl.top=RLvl==1?Tp+P_X:0;Ct.OrgTop=Tp;
CStl.left=RLvl==1?Lt+P_X:0;Ct.OrgLeft=Lt;
if(RLvl==1&&FirstLineHorizontal){Hi=1;Li=CWt-MWt-2*BRW;Ti=0}
else{Hi=Li=0;Ti=CHt-MHt-2*BRW}
while(Mb!=null){
MStl.left=Li+BRW+P_X;
MStl.top=Ti+BRW+P_X;
if(Nav4)Mb.CLyr.moveTo(Li+BRW,Ti+BRW);
if(Mb.CCn){if(RightToLeft)CCw=Nav4?Mb.CCn.clip.width:parseInt(Mb.CCn.style.width);
if(BottomUp)CCh=Nav4?Mb.CCn.clip.height:parseInt(Mb.CCn.style.height);
if(Hi){STp=BottomUp?Ti-CCh:Ti+MHt+2*BRW;SLt=RightToLeft?Li+MWt-CCw:Li}
else{SLt=RightToLeft?Li-CCw+ChildOverlap*MWt+BRW:Li+(1-ChildOverlap)*MWt;
STp=RLvl==1&&AcrssFrms?BottomUp?Ti-CCh+MHt:Ti:BottomUp?Ti-CCh+(1-ChildVerticalOverlap)*MHt+2*BRW:Ti+ChildVerticalOverlap*MHt+BRW}
PosMenu(Mb.CCn,STp,SLt)}
Mb=Mb.PrvMbr;
if(Mb){ MStl=!Nav4?Mb.style:Mb;PadL=Mb.value.indexOf("<")==-1?LftXtra:0;
PadT=Mb.value.indexOf("<")==-1?TpXtra:0;
MWt=!Nav4?parseInt(MStl.width)+PadL:MStl.clip.width;
MHt=!Nav4?parseInt(MStl.height)+PadT:MStl.clip.height;
Hi?Li-=BTWn?(MWt+BRW):(MWt):Ti-=BTWn?(MHt+BRW):MHt}}
status="Ready";RLvl--}
function StMnu(){
if(!Crtd)return;
var i,Pntr=FrstCntnr,Str=ScLoc.SetMenu?ScLoc.SetMenu:"0";
while(Str.indexOf("_")!=-1&&RememberStatus==1){
i=Pntr.NrItms-parseInt(Str.substring(0,Str.indexOf("_")));
Str=Str.slice(Str.indexOf("_")+1);
Pntr=Pntr.FrstMbr;
for(i;i;i--)Pntr=Pntr.PrvMbr;
if(Nav4)Pntr.CLyr.OM();
else Pntr.OM();
Pntr=Pntr.CCn}
i=Pntr.NrItms-parseInt(Str);
Pntr=Pntr.FrstMbr;
for(i;i;i--)Pntr=Pntr.PrvMbr;
if(RmbrNow!=null){SetItem(RmbrNow,0);RmbrNow.Clckd=0}
if(Pntr!=null){SetItem(Pntr,1);Pntr.Clckd=1;
if(RememberStatus==1){if(Nav4)Pntr.CLyr.OM();else Pntr.OM()}}
RmbrNow=Pntr;
ClrAllChlds(FrstCntnr.FrstMbr);
Rmbr(FrstCntnr)}
function Initiate(){
if(IniFlg&&Ldd){Init(FrstCntnr);IniFlg=0;if(RememberStatus)Rmbr(FrstCntnr);if(ShwFlg)AfterCloseAll();ShwFlg=0}}
function Rmbr(CntPtr){
var Mbr=CntPtr.FrstMbr,St;
while(Mbr!=null){
if(Mbr.DoRmbr){
HiliteItem(Mbr);
if(Mbr.CCn&&RememberStatus==1){St=Nav4?Mbr.CCn:Mbr.CCn.style;St.visibility=M_Show;Rmbr(Mbr.CCn)}
break}
else Mbr=Mbr.PrvMbr}}
function Init(CPt){
var Mb=CPt.FrstMbr,MCSt=Nav4?CPt:CPt.style;
RLvl++;MCSt.visibility=RLvl==1?M_Show:M_Hide;CPt.Shw=RLvl==1?1:0;
while(Mb!=null){if(Mb.Hilite)LowItem(Mb);if(Mb.CCn)Init(Mb.CCn);Mb=Mb.PrvMbr}
RLvl--}
function ClrAllChlds(Pt){
var PSt,Pc;
while(Pt){if(Pt.Hilite){Pc=Nav4?Pt.CLyr:Pt;if(Pc!=CurOvr){LowItem(Pt)}
if(Pt.CCn){PSt=Nav4?Pt.CCn:Pt.CCn.style;if(Pc!=CurOvr){PSt.visibility=M_Hide;Pt.CCn.Shw=0}ClrAllChlds(Pt.CCn.FrstMbr)}
break}
Pt=Pt.PrvMbr}}
function SetItem(Pntr,x){while(Pntr!=null){Pntr.DoRmbr=x;Pntr=Nav4?Pntr.CLyr.Ctnr.Cllr:Pntr.Ctnr.Cllr}}
function GoTo(){
var HP=Nav4?this.LLyr:this;
if(HP.Arr[1]){status="";LowItem(HP);IniFlg=1;Initiate();
HP.Arr[1].indexOf("javascript:")!=-1?eval(HP.Arr[1]):DcLoc.location.href=BaseHref+HP.Arr[1]}}
function HiliteItem(P){
if(Nav4){ if(P.ro)P.document.images[P.rid].src=P.ri2;
else{
P.bgColor = HighBgColor;
if(P.value.indexOf("<img")==-1){P.document.write(P.Ovalue);P.document.close()}}}
else{
if(P.ro){var Lc=P.Lvl==1?FLoc:ScLoc;Lc.document.images[P.rid].src=P.ri2}
else{
P.style.backgroundColor=HighBgColor;
P.style.color=FontHighColor;
P.Hilite=1
function LowItem(P){
P.Hilite=0;
if(P.ro){if(Nav4)P.document.images[P.rid].src=P.ri1;
else{var Lc=P.Lvl==1?FLoc:ScLoc;Lc.document.images[P.rid].src=P.ri1}}
else{
if(Nav4){
P.bgColor=LowBgColor;
if(P.value.indexOf("<img")==-1){P.document.write(P.value);P.document.close()}}
else{
P.style.backgroundColor=LowBgColor;
P.style.color=FontLowColor;
function OpenMenu(){
if(!Ldd||!Crtd)return;
if(OpnTmr)clearTimeout(OpnTmr);
var P=Nav4?this.LLyr:this;
if(P.NofChlds&&!P.CCn){
RLvl=this.Lvl;
P.CCn=CreateMenuStructure(P.MN+"_",P.NofChlds,P);
var Ti,Li,Hi;
var MStl=!Nav4?P.style:P;
var PadL=P.value.indexOf("<")==-1?LftXtra:0;
var PadT=P.value.indexOf("<")==-1?TpXtra:0;
var MWt=!Nav4?parseInt(MStl.width)+PadL:MStl.clip.width;
var MHt=!Nav4?parseInt(MStl.height)+PadT:MStl.clip.height;
var CCw,CCh,STp,SLt;
var BRW=RLvl==1?BorderWidthMain:BorderWidthSub;
if(RightToLeft)CCw=Nav4?P.CCn.clip.width:parseInt(P.CCn.style.width);
if(BottomUp)CCh=Nav4?P.CCn.clip.height:parseInt(P.CCn.style.height);
if(RLvl==1&&FirstLineHorizontal){Hi=1;Li=(Nav4?P.left:parseInt(P.style.left))-BRW;Ti=0}
else{Hi=Li=0;Ti=(Nav4?P.top:parseInt(P.style.top))-BRW}
if(Hi){STp=BottomUp?Ti-CCh:Ti+MHt+2*BRW;SLt=RightToLeft?Li+MWt-CCw:Li}
else{SLt=RightToLeft?Li-CCw+ChildOverlap*MWt+BRW:Li+(1-ChildOverlap)*MWt;
STp=RLvl==1&&AcrssFrms?BottomUp?Ti-CCh+MHt:Ti:BottomUp?Ti-CCh+(1-ChildVerticalOverlap)*MHt+2*BRW:Ti+ChildVerticalOverlap*MHt+BRW}
PosMenu(P.CCn,STp,SLt);
RLvl=0}
var CCnt=Nav4?this.LLyr.CCn:this.CCn,HP=Nav4?this.LLyr:this;
CurOvr=this;IniFlg=0;ClrAllChlds(this.Ctnr.FrstMbr);
if(!HP.Hilite)HiliteItem(HP);
if(CCnt!=null&&!CCnt.Shw)RememberStatus?Unfld():OpnTmr=setTimeout("Unfld()",UnfoldDelay);
//alert(HP.value);
status=HP.value;
function Unfld(){
var P=CurOvr;
var TS=ExpYes?ScLoc.document.body.scrollTop:ScLoc.pageYOffset,LS=ExpYes?ScLoc.document.body.scrollLeft:ScLoc.pageXOffset,CCnt=Nav4?P.LLyr.CCn:P.CCn,THt=Nav4?P.clip.height:parseInt(P.style.height),TWt=Nav4?P.clip.width:parseInt(P.style.width),TLt=AcrssFrms&&P.Lvl==1&&!FirstLineHorizontal?0:Nav4?P.Ctnr.left:parseInt(P.Ctnr.style.left),TTp=AcrssFrms&&P.Lvl==1&&FirstLineHorizontal?0:Nav4?P.Ctnr.top:parseInt(P.Ctnr.style.top);
// TS != 0 is only needed if the menu DIVs are positioned relative to the body.
// We've made them positioned relative to div#navigationMenu which causes
// a problem if TS is based on how the body is scrolled. So set TS to zero.
// Note: the code below will adjust the final top offset based on the height of
// the menu bar so the dropdown appears below (and not on top of) the nav bar.
TS = 0;
var CCW=Nav4?P.LLyr.CCn.clip.width:parseInt(P.CCn.style.width),CCH=Nav4?P.LLyr.CCn.clip.height:parseInt(P.CCn.style.height),CCSt=Nav4?P.LLyr.CCn:P.CCn.style,SLt=AcrssFrms&&P.Lvl==1?CCnt.OrgLeft+TLt+LS:CCnt.OrgLeft+TLt,STp=AcrssFrms&&P.Lvl==1?CCnt.OrgTop+TTp+TS:CCnt.OrgTop+TTp;
if(!ShwFlg){ShwFlg=1;BeforeFirstOpen()}
if(MenuWrap){
if(RightToLeft){if(SLt<LS)SLt=P.Lvl==1?LS:SLt+(CCW+(1-2*ChildOverlap)*TWt);if(SLt+CCW>SWinW+LS)SLt=SWinW+LS-CCW}
else{if(SLt+CCW>SWinW+LS)SLt=P.Lvl==1?SWinW+LS-CCW:SLt-(CCW+(1-2*ChildOverlap)*TWt);if(SLt<LS)SLt=LS}
if(BottomUp){if(STp<TS)STp=P.Lvl==1?TS:STp+(CCH-(1-2*ChildVerticalOverlap)*THt);if(STp+CCH>SWinH+TS)STp=SWinH+TS-CCH+(Nav4?4:0)}
else{if(STp+CCH>TS+SWinH)STp=P.Lvl==1?STp=TS+SWinH-CCH:STp-CCH+(1-2*ChildVerticalOverlap)*THt;if(STp<TS)STp=TS}}
CCSt.top=STp+P_X;CCSt.left=SLt+P_X;
if(Fltr&&MenuSlide){P.CCn.filters[0].Apply();P.CCn.filters[0].play()}
CCSt.visibility=M_Show}
function OpenMenuClick(){
if(!Ldd||!Crtd)return;
var HP=Nav4?this.LLyr:this;CurOvr=this;
IniFlg=0;ClrAllChlds(this.Ctnr.FrstMbr);HiliteItem(HP);
function CloseMenu(){
if(!Ldd||!Crtd)return;
status="";
if(this==CurOvr){if(OpnTmr)clearTimeout(OpnTmr);if(CloseTmr)clearTimeout(CloseTmr);IniFlg=1;CloseTmr=setTimeout("Initiate(CurOvr)",DissapearDelay)}}
function CntnrSetUp(W,H,NoOff,WMu,Mc){
var x=BorderColor;
this.FrstMbr=null;this.NrItms=NoOff;this.Cllr=Mc;this.Shw=0;
this.OrgLeft=this.OrgTop=0;
if(Nav4){if(x)this.bgColor=x;this.visibility="hide";this.resizeTo(W,H)}
else{if(x)this.style.backgroundColor=x;this.style.width=W+P_X;this.style.height=H+P_X;
if(!NavYes)this.style.zIndex=RLvl+Ztop;
if(Fltr){FStr="";if(MenuSlide&&RLvl!=1)FStr=MenuSlide;if(MenuShadow)FStr+=MenuShadow;
if(MenuOpacity)FStr+=MenuOpacity;if(FStr!="")this.style.filter=FStr}}}
function MbrSetUp(MbC,PrMmbr,WMu,Wd,Ht,Nofs){
var Lctn=RLvl==1?FLoc:ScLoc,Tfld=this.Arr[0],t,T,L,W,H,S,a;
this.PrvMbr=PrMmbr;this.Lvl=RLvl;this.Ctnr=MbC;this.CCn=null;this.ai=null;this.Hilite=0;this.DoRmbr=0;
this.Clckd=0;this.OM=OpenMenu;this.style.overflow="hidden";
this.MN=WMu;this.NofChlds=Nofs;
this.style.cursor=(this.Arr[1]||(RLvl==1&&UnfoldsOnClick))?ExpYes?"hand":"pointer":"default";this.ro=0;
if(Tfld.indexOf("rollover")!=-1){this.ro=1;this.ri1=Tfld.substring(Tfld.indexOf("?")+1,Tfld.lastIndexOf("?"));
this.ri2=Tfld.substring(Tfld.lastIndexOf("?")+1,Tfld.length);this.rid=WMu+"i";
Tfld="<img src=\""+this.ri1+"\" name=\""+this.rid+"\" width=\""+Wd+"\" height=\""+Ht+"\">"}
this.value=Tfld;
this.style.color=FontLowColor;
this.style.fontFamily=FontFamily;
this.style.fontSize = FontSize + "pt";
this.style.fontWeight="normal";
this.style.fontStyle="normal";
this.style.backgroundColor=LowBgColor;
if (WMu.length > 6)
{ MenuTextCentered = 'left';}
else
{MenuTextCentered = 'center';}
this.style.textAlign=MenuTextCentered;
if(this.Arr[2])this.style.backgroundImage="url(\""+this.Arr[2]+"\")";
if(Tfld.indexOf("<")==-1){this.style.width=Wd-LftXtra+P_X;this.style.height=Ht-TpXtra+P_X;this.style.paddingLeft=LeftPaddng+P_X;this.style.paddingTop=TopPaddng+P_X}
else{this.style.width=Wd+P_X;this.style.height=Ht+P_X}
if(Tfld.indexOf("<")==-1&&DomYes){t=Lctn.document.createTextNode(Tfld);this.appendChild(t)}
else this.innerHTML=Tfld;
if(this.Arr[3]){a=RLvl==1&&FirstLineHorizontal?BottomUp?9:3:RightToLeft?6:0;
if(Arrws[a]!=""){S=Arrws[a];W=Arrws[a+1];H=Arrws[a+2];T=RLvl==1&&FirstLineHorizontal?BottomUp?2:Ht-H-2:(Ht-H)/2;L=RightToLeft?2:Wd-W-2;
if(DomYes){t=Lctn.document.createElement("img");this.appendChild(t);
t.style.position="absolute";t.src=S;t.style.width=W+P_X;t.style.height=H+P_X;t.style.top=T+P_X;t.style.left=L+P_X}
else{Tfld+="<div id=\""+WMu+"_im\" style=\"position:absolute; top:"+T+"; left:"+L+"; width:"+W+"; height:"+H+";visibility:inherit\"><img src=\""+S+"\"></div>";
this.innerHTML=Tfld;t=Lctn.document.all[WMu+"_im"]}
this.ai=t}}
if(ExpYes){this.onselectstart=CnclSlct;this.onmouseover=RLvl==1&&UnfoldsOnClick?OpenMenuClick:OpenMenu;
this.onmouseout=CloseMenu;this.onclick=RLvl==1&&UnfoldsOnClick&&this.Arr[3]?OpenMenu:GoTo}
else{RLvl==1&&UnfoldsOnClick?this.addEventListener("mouseover",OpenMenuClick,false):this.addEventListener("mouseover",OpenMenu,false);
this.addEventListener("mouseout",CloseMenu,false);
RLvl==1&&UnfoldsOnClick&&this.Arr[3]?this.addEventListener("click",OpenMenu,false):this.addEventListener("click",GoTo,false)}}
function NavMbrSetUp(MbC,PrMmbr,WMu,Wd,Ht,Nofs){
var a;
this.value=this.Arr[0];this.ro=0;
if(this.value.indexOf("rollover")!=-1){
this.ro=1;this.ri1=this.value.substring(this.value.indexOf("?")+1,this.value.lastIndexOf("?"));
this.ri2=this.value.substring(this.value.lastIndexOf("?")+1,this.value.length);this.rid=WMu+"i";
this.value="<img src=\""+this.ri1+"\" name=\""+this.rid+"\">"}
CntrTxt="<div align=\""+MenuTextCentered+"\">";
TxtClose="</font>"+ "</div>";
if(LeftPaddng&&this.value.indexOf("<")==-1&&MenuTextCentered=="left")this.value="�\;"+this.value;
this.Ovalue=this.value;
this.value=this.value.fontcolor(FontLowColor);
this.Ovalue=this.Ovalue.fontcolor(FontHighColor);
this.value=CntrTxt+"<font face=\""+FontFamily+"\" point-size=\""+FontSize+"\">"+this.value+TxtClose;
this.Ovalue=CntrTxt+"<font face=\""+FontFamily+"\" point-size=\""+FontSize+"\">"+this.Ovalue+TxtClose;
this.CCn=null;this.PrvMbr=PrMmbr;this.Hilite=0;this.DoRmbr=0;this.Clckd=0;this.visibility="inherit";
this.MN=WMu;this.NofChlds=Nofs;
this.bgColor=LowBgColor;
this.resizeTo(Wd,Ht);
if(!AcrssFrms&&this.Arr[2])this.background.src=this.Arr[2];
this.document.write(this.value);this.document.close();
this.CLyr=new Layer(Wd,MbC);
this.CLyr.Lvl=RLvl;this.CLyr.visibility="inherit";
this.CLyr.onmouseover=RLvl==1&&UnfoldsOnClick?OpenMenuClick:OpenMenu;this.CLyr.onmouseout=CloseMenu;
this.CLyr.captureEvents(Event.MOUSEUP);this.CLyr.onmouseup=RLvl==1&&UnfoldsOnClick&&this.Arr[3]?OpenMenu:GoTo;
this.CLyr.OM=OpenMenu;
this.CLyr.LLyr=this;this.CLyr.resizeTo(Wd,Ht);this.CLyr.Ctnr=MbC;
if(this.Arr[3]){a=RLvl==1&&FirstLineHorizontal?BottomUp?9:3:RightToLeft?6:0;
if(Arrws[a]!=""){this.CLyr.ILyr=new Layer(Arrws[a+1],this.CLyr);this.CLyr.ILyr.visibility="inherit";
this.CLyr.ILyr.top=RLvl==1&&FirstLineHorizontal?BottomUp?2:Ht-Arrws[a+2]-2:(Ht-Arrws[a+2])/2;
this.CLyr.ILyr.left=RightToLeft?2:Wd-Arrws[a+1]-2;this.CLyr.ILyr.width=Arrws[a+1];this.CLyr.ILyr.height=Arrws[a+2];
ImgStr="<img src=\""+Arrws[a]+"\" width=\""+Arrws[a+1]+"\" height=\""+Arrws[a+2]+"\">";
this.CLyr.ILyr.document.write(ImgStr);this.CLyr.ILyr.document.close()}}}
function CreateMenuStructure(MNm,No,Mcllr){
status="Building menu";RLvl++;
var i,NOs,Mbr,W=0,H=0,PMb=null,WMnu=MNm+"1",MWd=eval(WMnu+"[5]"),MHt=eval(WMnu+"[4]"),Lctn=RLvl==1?FLoc:ScLoc;
var BRW=RLvl==1?BorderWidthMain:BorderWidthSub,BTWn=RLvl==1?BorderBtwnMain:BorderBtwnSub;
if(RLvl==1&&FirstLineHorizontal){
for(i=1;i<No+1;i++){WMnu=MNm+eval(i);W=eval(WMnu+"[5]")?W+eval(WMnu+"[5]"):W+MWd}
W=BTWn?W+(No+1)*BRW:W+2*BRW;H=MHt+2*BRW}
else{for(i=1;i<No+1;i++){WMnu=MNm+eval(i);H=eval(WMnu+"[4]")?H+eval(WMnu+"[4]"):H+MHt}
H=BTWn?H+(No+1)*BRW:H+2*BRW;W=MWd+2*BRW}
if(DomYes){var MbC=Lctn.document.createElement("div");MbC.style.position="absolute";MbC.style.visibility="hidden";Lctn.document.getElementById("navigationMenu").appendChild(MbC)}
else{if(Nav4)var MbC=new Layer(W,Lctn);
else{WMnu+="c";Lctn.document.body.insertAdjacentHTML("AfterBegin","<div id=\""+WMnu+"\" style=\"visibility:hidden; position:absolute;\"><\/div>");
var MbC=Lctn.document.all[WMnu]}}
MbC.SetUp=CntnrSetUp;MbC.SetUp(W,H,No,MNm+"1",Mcllr);
if(Exp4){MbC.InnerString="";
for(i=1;i<No+1;i++){WMnu=MNm+eval(i);MbC.InnerString+="<div id=\""+WMnu+"\" style=\"position:absolute;\"><\/div>"}
MbC.innerHTML=MbC.InnerString}
for(i=1;i<No+1;i++){WMnu=MNm+eval(i);NOs=eval(WMnu+"[3]");
W=RLvl==1&&FirstLineHorizontal?eval(WMnu+"[5]")?eval(WMnu+"[5]"):MWd:MWd;
H=RLvl==1&&FirstLineHorizontal?MHt:eval(WMnu+"[4]")?eval(WMnu+"[4]"):MHt;
if(DomYes){Mbr=Lctn.document.createElement("div"); Mbr.style.position="absolute";Mbr.style.visibility="inherit";MbC.appendChild(Mbr)}
else Mbr=Nav4?new Layer(W,MbC):Lctn.document.all[WMnu];
Mbr.Arr=eval(WMnu);
Mbr.SetUp=Nav4?NavMbrSetUp:MbrSetUp;Mbr.SetUp(MbC,PMb,WMnu,W,H,NOs);
if(NOs&&!BuildOnDemand){Mbr.CCn=CreateMenuStructure(WMnu+"_",NOs,Mbr)}
PMb=Mbr}
MbC.FrstMbr=Mbr;
RLvl--;
return(MbC)}
function CreateMenuStructureAgain(MNm,No){
if(!BuildOnDemand){
var i,WMnu,NOs,PMb,Mbr=FrstCntnr.FrstMbr;RLvl++;
for(i=No;i>0;i--){WMnu=MNm+eval(i);NOs=eval(WMnu+"[3]");PMb=Mbr;if(NOs)Mbr.CCn=CreateMenuStructure(WMnu+"_",NOs,Mbr);Mbr=Mbr.PrvMbr}
RLvl--}
else{ var Mbr=FrstCntnr.FrstMbr;
while(Mbr){Mbr.CCn=null;Mbr=Mbr.PrvMbr}}}Hi thanks...As you said I am performing only on onload event..only thing i am confused is if i remove the javacript MRHeader.js everything works fine...am totally confused...pls help
Here is my JSP code for my input page
<%@page import="java.util.*" %>
<%@page import="com.ford.mr.*" %>
<HTML>
<HEAD>
<link href="./css/mplstyle.css" rel="STYLESHEET" type="text/css">
<title>Input Frame</title>
<link type="text/css" rel="STYLESHEET" href="./css/classic.css">
<STYLE>
.vis1 { visibility:visible }
.vis2 { visibility:hidden }
</STYLE>
<%--
MRIFValidation.js contains the java script for the following requirement:
1. Setting the current date in date to compare
2. All input frame client validations.
E.g Plant id should not be empty.
--%>
<script type="text/javascript" src="./javascript/MRIFValidation.js"> </script>
<%--
MRR2HandleDropdown.js is the javascript for the input frame server side actions
It has many functions related to drop down populating and rendering the data
to user from server.
--%>
<script language="javascript" src="./javascript/MRR2HandleDropdown.js"> </script>
<%--
MRheader.js is the javascript which displays the header for our application
plus it has an internal call to MRMenuItem.js and menuscript.js which
builds the menu bar for our application
Issue is here - On commenting the below the previously entered user
inputs are displayed correctly. Else they are not displayed.
--%>
<script language="javascript" src="./javascript/MRheader.js"> </script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
a:visited {
color: #0000FF;
.style1 {font-weight: bold}
.style2 {color: #FF0000}
body {
background-color: #FFFFFF;
-->
</style>
<%--
Declaring all the JSP variables used in the page
These variables are used for holding the session parameters
and are used while setting the selected values in the screen.
--%>
<%!
// HTTPSession object
HttpSession sess;
// To hold session Variables //
// Selected plant index
String plantIndex;
// Selected supplier index
String supplierIndex;
// Selected part index
String partIndex;
// List of plant codes
Vector plantCodes = new Vector();
// List of supplier codes
Vector supplierCodes = new Vector();
// List of part codes
Vector partCodes = new Vector();
// To hold the part description for the selected part
String partDescription;
// List of release numbers matching the selected plant, supplier & part
Vector releaseNumbers = new Vector();
// Type of release - Weekly / Daily
String releaseType;
// Selected release1 index
String release1Index;
// Selected release2 index
String release2Index;
// Holds the issue date 1 corresponding to release 1 selected
String issueDate1;
// Holds the issue date 2 corresponding to release 2 selected
String issueDate2;
// List of matching release numbers to the entered issue date1 (Might be one or two
// in case if amended release exist)
Vector matchingRelease1Number = new Vector();
// List of matching release numbers to the entered issue date2 (Might be one or two
// in case if amended release exist)
Vector matchingRelease2Number = new Vector();
// Size of matchingRelease1Number collection
int matchingRelease1Size = 0;
// Size of matchingRelease2Number collection
int matchingRelease2Size = 0;
// Boolean flags to hold if amended release exists in the release numbers
// matching the issue dates entered by user.
boolean amendedRelease1Exist;
boolean amendedRelease2Exist;
String pageName = "";
%>
<%--
The below code does the following:
1. Fetches the various values available in session
2. Stores the same in various JSP variables for access within the page
--%>
<%
System.out.println("In input frame page");
sess = request.getSession(true);
if(sess != null) {
System.out.println("Session id in input frame: "+ sess.getId());
plantIndex = (String) sess.getAttribute("selectedPlantIndex");
supplierIndex = (String) sess.getAttribute("selectedSupplierIndex");
partIndex = (String) sess.getAttribute("selectedPartIndex");
//plantCodes = (Vector) sess.getAttribute("plantCodes");
supplierCodes = (Vector) sess.getAttribute("supplierCodes");
partCodes = (Vector) sess.getAttribute("partCodes");
partDescription = (String) sess.getAttribute("partDescription");
releaseNumbers = (Vector) sess.getAttribute("releaseNumbers");
releaseType = (String) sess.getAttribute("releaseType");
release1Index = (String) sess.getAttribute("selectedRelease1Index");
release2Index =(String) sess.getAttribute("selectedRelease2Index");
issueDate1 = (String) sess.getAttribute("issueDate1");
issueDate2 = (String) sess.getAttribute("issueDate2");
matchingRelease1Number = (Vector) sess.getAttribute("correspondingRelease1Number");
matchingRelease2Number = (Vector) sess.getAttribute("correspondingRelease2Number");
System.out.println("Displaying values in session *******************");
Enumeration enum = sess.getAttributeNames();
while(enum.hasMoreElements()) {
String elementName = (String) enum.nextElement();
System.out.println("element:"+ elementName+": Value: "+ sess.getAttribute(elementName));
System.out.println("Plant Index JSP variable:"+ plantIndex);
%>
<%--
This code is used for getting the plant codes from
the DB. Currently it is hardcoded.
--%>
<%
MRR2GetPlantCodes obj = new MRR2GetPlantCodes();
plantCodes = obj.getPlantCodes();
%>
<%--
The below two blocks are used to iterate through matchingRelease1Number & matchingRelease2Number
and checks if it has amended release. If yes, sets a boolean flag.
matchingRelease1Number & matchingRelease2Number are two collections which
contains the release number(s) matching the inputted issue date
--%>
<%
// Code to set boolean flag amendedRelease1Exist
if(matchingRelease1Number != null) {
Iterator relIter = matchingRelease1Number.iterator();
while(relIter.hasNext()) {
if( ((String)relIter.next()).endsWith("A") ) {
amendedRelease1Exist = true;
// Code to set boolean flag amendedRelease2Exist
if(matchingRelease2Number != null) {
Iterator relIter = matchingRelease2Number.iterator();
while(relIter.hasNext()) {
if( ((String)relIter.next()).endsWith("A") ) {
amendedRelease2Exist = true;
%>
<%--
The below script has one method fillDropDown which is used for setting the
values of the various I/P controls to user selected values:
It sets the below selected values:
1. Plant Index, Supplier Index, Part Index, Part description
2. Release Type (Daily / weekly)
3. Release 1 Index, Release 2 Index
4. Issue date1 & Issue date2
--%>
<script language="javascript">
function fillDropDown(field) {
with(field) {
var partD = "<%=partDescription%>"
<% System.out.println("Loading the index values in input frame......");%>
// inputform.country.selectedIndex = inputform.hiddencountry.value
// Loading plant Index, supplier Index, part index and part description to selected values
<% if(plantIndex != null && !plantIndex.equals("")) {%>
inputframe.plant.selectedIndex = "<%=Integer.parseInt(plantIndex)%>"
<% System.out.println("Selected Plant Index after loading:"+plantIndex);} %>
<% if(supplierIndex != null && !supplierIndex.equals("")) { System.out.println("****Supplier Index not equals null..."+Integer.parseInt(supplierIndex)); %>
inputframe.supplier.selectedIndex = "<%=Integer.parseInt(supplierIndex)%>"
<% } %>
<% if(partIndex != null && !partIndex.equals("")) { %>
inputframe.part.selectedIndex = "<%=Integer.parseInt(partIndex)%>"
<% } %>
<% if(partDescription != null && !partDescription.equals("")) { %>
document.getElementById("partDescription").innerHTML = partD
<% } %>
// Making the default release type selection as done by user
<% if(releaseType != null && !"".equals(releaseType)) {
if("daily".equals(releaseType)) {%>
inputframe.release[0].checked = "checked"
<% //isDaily = true;
} else { %>
inputframe.release[1].checked = "checked"
<% //isWeekly = true;
} %>
<%--
The below code is used to fetch the session variable issueDate1
& issueDate2 (based on the release numbers selected)
and sets the same in two text fields.
--%>
<% if(issueDate1 != null && !issueDate1.equals("")) { %>
inputframe.issueDate1.value = "<%=issueDate1%>"
<% } %>
<% if(issueDate2 != null && !issueDate2.equals("")) { %>
inputframe.issueDate2.value = "<%=issueDate2%>"
<% } %>
<%--
Loading release drop down with the value matching with the entered issue date.
Scenario : User enters the issue date and the corresponding release number is
selected in drop down.
Logic 1:
1. Pass the issue date entered by user and get the matching release numbers
from EJB
2. Compare this with the combo collection and get the perfect match.
3. If more than one match is found take the one with amendment by default
4. Else get the matching one
5. Update the selected index of dropdown to this value
--%>
if(inputframe.release1.options.length > 0) {
var matchingCombo1Index = 0
var comboValue
var matchFound = "false"
var size
var amended = false;
var amendedReleaseExist = "<%=amendedRelease1Exist%>";
var firstValue = ""
var secondValue = ""
var amendedValue = ""
var j = 0
<%
if(matchingRelease1Number != null && matchingRelease1Number.size() != 0) {
Iterator iter = matchingRelease1Number.iterator();
matchingRelease1Size = matchingRelease1Number.size(); %>
size = "<%= matchingRelease1Size %>"
//alert("Size of collection to be matched:"+size)
<% while(iter.hasNext()) {
//String matchFound1 = "false";
String relValue = (String)iter.next();%>
//alert("Collection value under iteration:"+ "<%=relValue%>")
amended = "<%=relValue.endsWith("A")%>"
if(amended) {
amendedValue = "<%=relValue%>"
//alert("Collection value under iteration ends with A:"+amended)
var comb = "<%=relValue%>"
j = j + 1
for(var i = 0; i < inputframe.release1.options.length; i++) {
// breaking the for loop when matchingCombo1Index is set greater than 0
/*if(matchFound == true) {
break
comboValue = inputframe.release1.options.value
//alert("Combo value:->"+comboValue)
//alert("rel value in comparison:"+ comb);
if(comboValue == comb) {
if(size == 1) {
matchFound = "true";
if(size == 2) {
if(j == 1)
firstValue = comb
if(j == 2)
secondValue = comb
// The below if block shall be also kept as if((amended||(!amendedReleaseExist)==true)
// The below one perfectly works fine
if(amended || !amendedReleaseExist) {
matchFound = "true";
if(matchFound == "true") {
matchingCombo1Index = i
// alert("Matching combo index set to:"+ matchingCombo1Index)
inputframe.release1.selectedIndex = matchingCombo1Index
if(size == 2)
document.getElementById('errorArea').innerHTML = "There are"
+ " two release numbers for the particular Issue date."
+" Please select either one of the release numbers ("+firstValue+ " or "+secondValue+" )."
+" Default selection in the Release drop down is "+ amendedValue+ "."
matchingCombo1Index = 0;
matchFound = "false";
// Breaking the for loop
break;
<%
sess.removeAttribute("correspondingRelease1Number") ;
}%>
// Setting the selected release 1 index based on the logic done above.
if(matchingCombo1Index == 0) {
<% if(release1Index != null && !release1Index.equals("")) { matchingRelease1Number = null;%>
inputframe.release1.selectedIndex = "<%=Integer.parseInt(release1Index)%>"
<% } %>
<%--
Performing the above logic to select Release2 value
when the user enters issue date2
--%>
if(inputframe.release2.options.length > 0) {
var matchingCombo2Index = 0
var comboValue
var matchFound = "false"
var size
var amended = false;
var amendedReleaseExist = "<%=amendedRelease2Exist%>";
var firstValue = ""
var secondValue = ""
var amendedValue = ""
var j = 0
<%
if(matchingRelease2Number != null && matchingRelease2Number.size() != 0) {
Iterator iter = matchingRelease2Number.iterator();
matchingRelease2Size = matchingRelease2Number.size(); %>
size = "<%= matchingRelease2Size %>"
//alert("Size of collection to be matched:"+size)
<% while(iter.hasNext()) {
String matchFound1 = "false";
String relValue = (String)iter.next();%>
//alert("Collection value under iteration:"+ "<%=relValue%>")
amended = "<%=relValue.endsWith("A")%>"
if(amended) {
amendedValue = "<%=relValue%>"
//alert("Collection value under iteration ends with A:"+amended)
var comb = "<%=relValue%>"
j = j + 1
for(var i = 0; i < inputframe.release2.options.length; i++) {
// breaking the for loop when matchingCombo2Index is set greater than 0
/*if(matchFound == true) {
break
comboValue = inputframe.release2.options[i].value
//alert("Combo value:->"+comboValue)
//alert("rel value in comparison:"+ comb);
if(comboValue == comb) {
if(size == 1) {
matchFound = "true";
if(size == 2) {
if(j == 1)
firstValue = comb
if(j == 2)
secondValue = comb
// The below if block shall be also kept as if((amended||(!amendedReleaseExist)==true)
// The below one perfectly works fine
if(amended || !amendedRelease2Exist) {
matchFound = "true";
if(matchFound == "true") {
matchingCombo2Index = i
// alert("Matching combo index set to:"+ matchingCombo2Index)
inputframe.release2.selectedIndex = matchingCombo2Index
if(size == 2)
document.getElementById('errorArea').innerHTML = "There are"
+ " two release numbers for the particular Issue date."
+" Please select either one of the release numbers ("+firstValue+ " or "+secondValue+" )."
+" Default selection in the Release drop down is "+ amendedValue+ "."
matchingCombo2Index = 0;
matchFound = "false";
// Breaking the for loop
break;
<%
sess.removeAttribute("correspondingRelease2Number") ;
}%>
// Loading the selected release2 value in drop down
if(matchingCombo2Index == 0) {
<% if(release2Index != null && !release2Index.equals("")) { matchingRelease2Number = null;%>
inputframe.release2.selectedIndex = "<%=Integer.parseInt(release2Index)%>"
<% } %>
} // end of WITH
Logic 2: Not used
1. Pass the issue date entered by user and get the matching release numbers
2. Get the release numbers from session.
3. if release type is daily get the daily release numbers else get weekly release numbers
4. Compare the matching release numbers with daily / weekly release numbers collection
5. Find the match and update the selected index of drop down to this value
}// end of function
</script>
</HEAD>
<%-- Calling the two methods onload event of body --%>
<BODY onload="setCurrentDate(this);fillDropDown(this)"> -
Insertupdatedeletetutorial seems to contain an error...
I'm working through the insert...tutorial but the application won't load the second page. From my searches in the forum, it appears other users have experienced this problem. However, I'm unable to read any of the threads (even though I'm logged in and a paid JSC suscriber). I keep getting the following error:
Not Found
The requested object does not exist on this server. The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it.
Is anyone familiar with the errata for this tutorial?
ThanksHi Giri,
Thanks for your help. I'm checking my code again (after a fresh cup of coffee) to see if I'm responsible for the problem. Here is a copy of the exception message I'm receiving. I can provide the stack trace if that would be helpful. Thanks again for your assistance.
Exception Details: javax.faces.el.EvaluationException
javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'insertupdatedelete.page2'.. class insertupdatedelete.page2 : javax.faces.FacesException: java.sql.SQLException: Parameter Index 1 exceeds the number of bind variables
Possible Source of Error:
Class Name: com.sun.faces.el.ValueBindingImpl
File Name: ValueBindingImpl.java
Method Name: getValue
Line Number: 206 -
No sound, but chip detected
Right. My laptop's sound chip is an Intel 82801DB-ICH4, which is the exact chip used as an example in the ALSA article in the Archwiki, but following the instructions yields no result for my sound. Any ideas?
The snd-pcsp module was not found and the pcspkr one said something about checking dmesg.
The article stated that in the MODULES section of /etc/rc.conf, there should be snd-intel8x0, and snd-pcsp, which I have put. snd-intel8x0 sttarts without a hitch as far as I can see, while snd-pcsp says
FATAL: Module 'snd-pcsp' not found
(something like that)
Would anyone try and solve this? Until then, i'll blacklist snd-pcsp and pcspkr.
Also, does ALSA need to be loaded as a daemon?
EDIT: Adding my dmesg output in case.
Linux version 2.6.31-ARCH (root@architect) (gcc version 4.4.2 (GCC) ) #1 SMP PREEMPT Tue Nov 10 19:48:17 CET 2009
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
NSC Geode by NSC
Cyrix CyrixInstead
Centaur CentaurHauls
Transmeta GenuineTMx86
Transmeta TransmetaCPU
UMC UMC UMC UMC
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 00000000000eee00 (reserved)
BIOS-e820: 00000000000eee00 - 00000000000ef000 (ACPI NVS)
BIOS-e820: 00000000000ef000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001ffc0000 (usable)
BIOS-e820: 000000001ffc0000 - 000000001ffd0000 (reserved)
BIOS-e820: 000000001ffd0000 - 000000001ffe0000 (ACPI data)
BIOS-e820: 000000001ffe0000 - 0000000020000000 (reserved)
BIOS-e820: 00000000feda0000 - 00000000fedc0000 (reserved)
BIOS-e820: 00000000ffb00000 - 00000000ffc00000 (reserved)
BIOS-e820: 00000000ffe80000 - 0000000100000000 (reserved)
DMI 2.3 present.
last_pfn = 0x1ffc0 max_arch_pfn = 0x100000
MTRR default type: uncachable
MTRR fixed ranges enabled:
00000-9FFFF write-back
A0000-BFFFF uncachable
C0000-CFFFF write-protect
D0000-DFFFF uncachable
E0000-E7FFF write-protect
E8000-EFFFF write-back
F0000-FFFFF write-protect
MTRR variable ranges enabled:
0 base 0FEDA0000 mask FFFFE0000 write-back
1 base 0FFF00000 mask FFFF00000 write-protect
2 base 000000000 mask FE0000000 write-back
3 disabled
4 disabled
5 disabled
6 disabled
7 disabled
PAT not supported by CPU.
e820 update range: 0000000000002000 - 0000000000006000 (usable) ==> (reserved)
Scanning 1 areas for low memory corruption
modified physical RAM map:
modified: 0000000000000000 - 0000000000002000 (usable)
modified: 0000000000002000 - 0000000000006000 (reserved)
modified: 0000000000006000 - 000000000009fc00 (usable)
modified: 000000000009fc00 - 00000000000a0000 (reserved)
modified: 00000000000e0000 - 00000000000eee00 (reserved)
modified: 00000000000eee00 - 00000000000ef000 (ACPI NVS)
modified: 00000000000ef000 - 0000000000100000 (reserved)
modified: 0000000000100000 - 000000001ffc0000 (usable)
modified: 000000001ffc0000 - 000000001ffd0000 (reserved)
modified: 000000001ffd0000 - 000000001ffe0000 (ACPI data)
modified: 000000001ffe0000 - 0000000020000000 (reserved)
modified: 00000000feda0000 - 00000000fedc0000 (reserved)
modified: 00000000ffb00000 - 00000000ffc00000 (reserved)
modified: 00000000ffe80000 - 0000000100000000 (reserved)
initial memory mapped : 0 - 01800000
init_memory_mapping: 0000000000000000-000000001ffc0000
0000000000 - 0000400000 page 4k
0000400000 - 001fc00000 page 2M
001fc00000 - 001ffc0000 page 4k
kernel direct mapping tables up to 1ffc0000 @ 7000-c000
RAMDISK: 1f9d6000 - 1ffaf61e
ACPI: RSDP 000f01b0 00014 (v00 TOSHIB)
ACPI: RSDT 1ffd0000 00034 (v01 TOSHIB 750 00970814 TASM 04010000)
ACPI: FACP 1ffd005c 00084 (v02 TOSHIB 750 20030101 TASM 04010000)
ACPI: DSDT 1ffd0114 069DE (v01 TOSHIB A000B 20031217 MSFT 0100000E)
ACPI: FACS 000eee00 00040
ACPI: SSDT 1ffd6af2 00231 (v01 TOSHIB A000B 20031217 MSFT 0100000E)
ACPI: DBGP 1ffd00e0 00034 (v01 TOSHIB 750 00970814 TASM 04010000)
ACPI: BOOT 1ffd0034 00028 (v01 TOSHIB 750 00970814 TASM 04010000)
0MB HIGHMEM available.
511MB LOWMEM available.
mapped low ram: 0 - 1ffc0000
low ram: 0 - 1ffc0000
node 0 low ram: 00000000 - 1ffc0000
node 0 bootmap 00008000 - 0000bff8
(9 early reservations) ==> bootmem [0000000000 - 001ffc0000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#1 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000]
#2 [0000006000 - 0000007000] TRAMPOLINE ==> [0000006000 - 0000007000]
#3 [0001000000 - 000156da44] TEXT DATA BSS ==> [0001000000 - 000156da44]
#4 [001f9d6000 - 001ffaf61e] RAMDISK ==> [001f9d6000 - 001ffaf61e]
#5 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000]
#6 [000156e000 - 00015741a8] BRK ==> [000156e000 - 00015741a8]
#7 [0000007000 - 0000008000] PGTABLE ==> [0000007000 - 0000008000]
#8 [0000008000 - 000000c000] BOOTMAP ==> [0000008000 - 000000c000]
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
Normal 0x00001000 -> 0x0001ffc0
HighMem 0x0001ffc0 -> 0x0001ffc0
Movable zone start PFN for each node
early_node_map[3] active PFN ranges
0: 0x00000000 -> 0x00000002
0: 0x00000006 -> 0x0000009f
0: 0x00000100 -> 0x0001ffc0
On node 0 totalpages: 130907
free_area_init_node: node 0, pgdat c141b740, node_mem_map c1575000
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 3963 pages, LIFO batch:0
Normal zone: 992 pages used for memmap
Normal zone: 125920 pages, LIFO batch:31
Using APIC driver default
ACPI: PM-Timer IO Port: 0xd808
SMP: Allowing 1 CPUs, 0 hotplug CPUs
Local APIC disabled by BIOS -- you can enable it with "lapic"
APIC: disable apic facility
nr_irqs_gsi: 16
PM: Registered nosave memory: 0000000000002000 - 0000000000006000
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
PM: Registered nosave memory: 00000000000e0000 - 00000000000ee000
PM: Registered nosave memory: 00000000000ee000 - 00000000000ef000
PM: Registered nosave memory: 00000000000ef000 - 0000000000100000
Allocating PCI resources starting at 20000000 (gap: 20000000:deda0000)
NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
PERCPU: Embedded 14 pages at c1977000, static data 34332 bytes
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129883
Kernel command line: root=/dev/disk/by-uuid/f92b1b4e-6cc2-4681-965c-6923f45b2ed8 ro
PID hash table entries: 2048 (order: 11, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
Initializing HighMem for node 0 (00000000:00000000)
Memory: 507208k/524032k available (3111k kernel code, 16168k reserved, 1120k data, 416k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfff1e000 - 0xfffff000 ( 900 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xe07c0000 - 0xff7fe000 ( 496 MB)
lowmem : 0xc0000000 - 0xdffc0000 ( 511 MB)
.init : 0xc1422000 - 0xc148a000 ( 416 kB)
.data : 0xc1309ddd - 0xc1421ea8 (1120 kB)
.text : 0xc1000000 - 0xc1309ddd (3111 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:512
Fast TSC calibration using PIT
Detected 1496.041 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Calibrating delay loop (skipped), value calculated using timer frequency.. 2993.75 BogoMIPS (lpj=4986803)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
mce: CPU supports 5 MCE banks
------------[ cut here ]------------
WARNING: at arch/x86/kernel/apic/apic.c:247 native_apic_write_dummy+0x4b/0x60()
Hardware name: TECRA M2
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.31-ARCH #1
Call Trace:
[<c10464da>] ? warn_slowpath_common+0x7a/0xc0
[<c101f2ab>] ? native_apic_write_dummy+0x4b/0x60
[<c1046540>] ? warn_slowpath_null+0x20/0x40
[<c101f2ab>] ? native_apic_write_dummy+0x4b/0x60
[<c1016601>] ? intel_init_thermal+0xd1/0x1d0
[<c10149c3>] ? mce_init+0xc3/0xf0
[<c10ed693>] ? __kmalloc+0x93/0x210
[<c1015bc5>] ? mce_intel_feature_init+0x15/0x70
[<c13014ed>] ? mcheck_init+0x261/0x2b5
[<c12ff55a>] ? identify_cpu+0x377/0x386
[<c10ecabf>] ? kmem_cache_alloc+0x6f/0x170
[<c1429dc9>] ? identify_boot_cpu+0xa/0x1e
[<c1429f90>] ? check_bugs+0x14/0x108
[<c109add0>] ? __delayacct_tsk_init+0x20/0x50
[<c1422a31>] ? start_kernel+0x332/0x353
[<c14224f0>] ? unknown_bootoption+0x0/0x1bd
---[ end trace a7919e7f17c0a725 ]---
CPU0: Thermal monitoring enabled (TM1)
Performance Counters:
no APIC, boot with the "lapic" boot parameter to force-enable it.
no hardware sampling interrupt available.
p6 PMU driver.
... version: 0
... bit width: 32
... generic counters: 2
... value mask: 00000000ffffffff
... max period: 000000007fffffff
... fixed-purpose counters: 0
... counter mask: 0000000000000003
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 11k freed
ACPI: Core revision 20090521
ACPI: setting ELCR to 0200 (from 0e00)
weird, boot CPU (#0) not listed by the BIOS.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
SMP disabled
Brought up 1 CPUs
Total of 1 processors activated (2993.75 BogoMIPS).
CPU0 attaching NULL sched-domain.
Booting paravirtualized kernel on bare hardware
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfd67c, last bus=5
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: EC: Look up EC in DSDT
ACPI Warning: Package List length (10) larger than NumElements count (6), truncated
20090521 dsobject-502
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using PIC for interrupt routing
[Firmware Bug]: ACPI: ACPI brightness control misses _BQC function
ACPI: Power Resource [PFAN] (off)
ACPI: ACPI Dock Station Driver: 1 docks/bays found
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:00.0: reg 10 32bit mmio: [0xe0000000-0xefffffff]
pci 0000:00:1d.0: reg 20 io port: [0xefe0-0xefff]
pci 0000:00:1d.1: reg 20 io port: [0xef80-0xef9f]
pci 0000:00:1d.2: reg 20 io port: [0x00-0x1f]
pci 0000:00:1d.7: reg 10 32bit mmio: [0x000000-0x0003ff]
pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1d.7: PME# disabled
pci 0000:00:1f.0: quirk: region d800-d87f claimed by ICH4 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: region eec0-eeff claimed by ICH4 GPIO
pci 0000:00:1f.1: reg 10 io port: [0xbff8-0xbfff]
pci 0000:00:1f.1: reg 14 io port: [0xbff4-0xbff7]
pci 0000:00:1f.1: reg 18 io port: [0xbfe8-0xbfef]
pci 0000:00:1f.1: reg 1c io port: [0xbfe4-0xbfe7]
pci 0000:00:1f.1: reg 20 io port: [0xbfa0-0xbfaf]
pci 0000:00:1f.1: reg 24 32bit mmio: [0x28000400-0x280007ff]
pci 0000:00:1f.5: reg 10 io port: [0x00-0xff]
pci 0000:00:1f.5: reg 14 io port: [0x00-0x3f]
pci 0000:00:1f.5: reg 18 32bit mmio: [0x000000-0x0001ff]
pci 0000:00:1f.5: reg 1c 32bit mmio: [0x000000-0x0000ff]
pci 0000:00:1f.5: PME# supported from D0 D3hot D3cold
pci 0000:00:1f.5: PME# disabled
pci 0000:00:1f.6: reg 10 io port: [0x00-0xff]
pci 0000:00:1f.6: reg 14 io port: [0x00-0x7f]
pci 0000:00:1f.6: PME# supported from D0 D3hot D3cold
pci 0000:00:1f.6: PME# disabled
pci 0000:01:00.0: reg 10 32bit mmio: [0xfd000000-0xfdffffff]
pci 0000:01:00.0: reg 14 32bit mmio: [0xd0000000-0xdfffffff]
pci 0000:01:00.0: reg 30 32bit mmio: [0x000000-0x01ffff]
pci 0000:00:01.0: bridge 32bit mmio: [0xfd000000-0xfdffffff]
pci 0000:00:01.0: bridge 32bit mmio pref: [0xd0000000-0xdfffffff]
pci 0000:02:08.0: reg 10 32bit mmio: [0xfceff000-0xfcefffff]
pci 0000:02:08.0: reg 14 io port: [0xcf40-0xcf7f]
pci 0000:02:08.0: supports D1 D2
pci 0000:02:08.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:02:08.0: PME# disabled
pci 0000:02:0b.0: reg 10 32bit mmio: [0x000000-0x000fff]
pci 0000:02:0b.1: reg 10 32bit mmio: [0x000000-0x000fff]
pci 0000:02:0d.0: reg 10 32bit mmio: [0x000000-0x0001ff]
pci 0000:02:0d.0: supports D1 D2
pci 0000:02:0d.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:02:0d.0: PME# disabled
pci 0000:00:1e.0: transparent bridge
pci 0000:00:1e.0: bridge io port: [0xc000-0xcfff]
pci 0000:00:1e.0: bridge 32bit mmio: [0xfce00000-0xfcefffff]
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 *11)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 *11)
ACPI: PCI Interrupt Link [LNKG] (IRQs *10)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *11)
PCI: Using ACPI for IRQ routing
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp 00:08: io resource (0x10-0x1f) overlaps 0000:00:1d.2 BAR 4 (0x0-0x1f), disabling
pnp 00:08: io resource (0x2e-0x2f) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x4e-0x4f) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x62-0x62) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x66-0x66) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x80-0x80) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x84-0x86) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x88-0x88) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x8c-0x8e) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xe0-0xef) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x10-0x1f) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x24-0x25) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x28-0x29) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x2c-0x2d) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x30-0x31) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x34-0x35) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x38-0x39) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x3c-0x3d) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x50-0x53) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x63-0x63) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x65-0x65) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x72-0x77) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x90-0x9f) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xa4-0xa5) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xa8-0xa9) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xac-0xad) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xb0-0xb5) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xb8-0xb9) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xbc-0xbd) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x2e-0x2f) overlaps 0000:00:1f.5 BAR 1 (0x0-0x3f), disabling
pnp 00:08: io resource (0x10-0x1f) overlaps 0000:00:1f.5 BAR 1 (0x0-0x3f), disabling
pnp 00:08: io resource (0x24-0x25) overlaps 0000:00:1f.5 BAR 1 (0x0-0x3f), disabling
pnp 00:08: io resource (0x28-0x29) overlaps 0000:00:1f.5 BAR 1 (0x0-0x3f), disabling
pnp 00:08: io resource (0x2c-0x2d) overlaps 0000:00:1f.5 BAR 1 (0x0-0x3f), disabling
pnp 00:08: io resource (0x30-0x31) overlaps 0000:00:1f.5 BAR 1 (0x0-0x3f), disabling
pnp 00:08: io resource (0x34-0x35) overlaps 0000:00:1f.5 BAR 1 (0x0-0x3f), disabling
pnp 00:08: io resource (0x38-0x39) overlaps 0000:00:1f.5 BAR 1 (0x0-0x3f), disabling
pnp 00:08: io resource (0x3c-0x3d) overlaps 0000:00:1f.5 BAR 1 (0x0-0x3f), disabling
pnp 00:08: io resource (0x2e-0x2f) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x4e-0x4f) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x62-0x62) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x66-0x66) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x80-0x80) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x84-0x86) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x88-0x88) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x8c-0x8e) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xe0-0xef) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x10-0x1f) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x24-0x25) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x28-0x29) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x2c-0x2d) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x30-0x31) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x34-0x35) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x38-0x39) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x3c-0x3d) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x50-0x53) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x63-0x63) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x65-0x65) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x72-0x77) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x90-0x9f) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xa4-0xa5) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xa8-0xa9) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xac-0xad) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xb0-0xb5) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xb8-0xb9) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0xbc-0xbd) overlaps 0000:00:1f.6 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x2e-0x2f) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x4e-0x4f) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x62-0x62) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x66-0x66) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x10-0x1f) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x24-0x25) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x28-0x29) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x2c-0x2d) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x30-0x31) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x34-0x35) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x38-0x39) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x3c-0x3d) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x50-0x53) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x63-0x63) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x65-0x65) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp 00:08: io resource (0x72-0x77) overlaps 0000:00:1f.6 BAR 1 (0x0-0x7f), disabling
pnp: PnP ACPI: found 12 devices
ACPI: ACPI bus type pnp unregistered
system 00:00: iomem range 0x0-0x9ffff could not be reserved
system 00:00: iomem range 0xe0000-0xeffff could not be reserved
system 00:00: iomem range 0xf0000-0xfffff could not be reserved
system 00:00: iomem range 0x100000-0x1ffbffff could not be reserved
system 00:00: iomem range 0x1ffc0000-0x1ffcffff has been reserved
system 00:00: iomem range 0x1ffd0000-0x1ffdffff could not be reserved
system 00:00: iomem range 0x1ffe0000-0x1fffffff has been reserved
system 00:00: iomem range 0xfeda0000-0xfedbffff has been reserved
system 00:00: iomem range 0xffb00000-0xffbfffff has been reserved
system 00:00: iomem range 0xffe80000-0xffffffff has been reserved
system 00:08: ioport range 0x1e0-0x1e7 has been reserved
system 00:08: ioport range 0x480-0x48f has been reserved
system 00:08: ioport range 0x680-0x6ff has been reserved
system 00:08: ioport range 0xd800-0xd87f has been reserved
system 00:08: ioport range 0xd880-0xd89f has been reserved
system 00:08: ioport range 0xd8a0-0xd8bf has been reserved
system 00:08: ioport range 0xe000-0xe07f has been reserved
system 00:08: ioport range 0xe080-0xe0ff has been reserved
system 00:08: ioport range 0xe400-0xe47f has been reserved
system 00:08: ioport range 0xe480-0xe4ff has been reserved
system 00:08: ioport range 0xe800-0xe87f has been reserved
system 00:08: ioport range 0xe880-0xe8ff has been reserved
system 00:08: ioport range 0xec00-0xec7f has been reserved
system 00:08: ioport range 0xec80-0xecff has been reserved
system 00:08: ioport range 0xeeac-0xeeac has been reserved
system 00:08: ioport range 0xeeb0-0xeebf has been reserved
system 00:08: ioport range 0xeec0-0xeeff has been reserved
system 00:08: ioport range 0x4d0-0x4d1 has been reserved
pci 0000:01:00.0: BAR 6: can't allocate mem resource [0xe0000000-0xdfffffff]
pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
pci 0000:00:01.0: IO window: disabled
pci 0000:00:01.0: MEM window: 0xfd000000-0xfdffffff
pci 0000:00:01.0: PREFETCH window: 0xd0000000-0xdfffffff
pci 0000:02:0b.0: CardBus bridge, secondary bus 0000:03
pci 0000:02:0b.0: IO window: 0x00c000-0x00c0ff
pci 0000:02:0b.0: IO window: 0x00c400-0x00c4ff
pci 0000:02:0b.0: PREFETCH window: 0x20000000-0x23ffffff
pci 0000:02:0b.0: MEM window: 0x2c000000-0x2fffffff
pci 0000:02:0b.1: CardBus bridge, secondary bus 0000:05
pci 0000:02:0b.1: IO window: 0x00c800-0x00c8ff
pci 0000:02:0b.1: IO window: 0x00cc00-0x00ccff
pci 0000:02:0b.1: PREFETCH window: 0x24000000-0x27ffffff
pci 0000:02:0b.1: MEM window: 0x30000000-0x33ffffff
pci 0000:00:1e.0: PCI bridge, secondary bus 0000:02
pci 0000:00:1e.0: IO window: 0xc000-0xcfff
pci 0000:00:1e.0: MEM window: 0xfce00000-0xfcefffff
pci 0000:00:1e.0: PREFETCH window: 0x20000000-0x27ffffff
pci 0000:00:1e.0: setting latency timer to 64
pci 0000:02:0b.0: enabling device (0000 -> 0003)
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
pci 0000:02:0b.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
pci 0000:02:0b.1: enabling device (0000 -> 0003)
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
pci 0000:02:0b.1: PCI INT B -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
pci_bus 0000:00: resource 0 io: [0x00-0xffff]
pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
pci_bus 0000:01: resource 1 mem: [0xfd000000-0xfdffffff]
pci_bus 0000:01: resource 2 pref mem [0xd0000000-0xdfffffff]
pci_bus 0000:02: resource 0 io: [0xc000-0xcfff]
pci_bus 0000:02: resource 1 mem: [0xfce00000-0xfcefffff]
pci_bus 0000:02: resource 2 pref mem [0x20000000-0x27ffffff]
pci_bus 0000:02: resource 3 io: [0x00-0xffff]
pci_bus 0000:02: resource 4 mem: [0x000000-0xffffffff]
pci_bus 0000:03: resource 0 io: [0xc000-0xc0ff]
pci_bus 0000:03: resource 1 io: [0xc400-0xc4ff]
pci_bus 0000:03: resource 2 pref mem [0x20000000-0x23ffffff]
pci_bus 0000:03: resource 3 mem: [0x2c000000-0x2fffffff]
pci_bus 0000:05: resource 0 io: [0xc800-0xc8ff]
pci_bus 0000:05: resource 1 io: [0xcc00-0xccff]
pci_bus 0000:05: resource 2 pref mem [0x24000000-0x27ffffff]
pci_bus 0000:05: resource 3 mem: [0x30000000-0x33ffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 1
Unpacking initramfs...
Freeing initrd memory: 5989k freed
Simple Boot Flag at 0x7c set to 0x1
apm: BIOS version 1.2 Flags 0x02 (Driver version 1.16ac)
apm: overridden by ACPI.
Scanning for low memory corruption every 60 seconds
audit: initializing netlink socket (disabled)
type=2000 audit(1262094318.346:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 1002
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci 0000:01:00.0: Boot video device
pci 0000:02:08.0: Firmware left e100 interrupts enabled; disabling
isapnp: Scanning for PnP cards...
Switched to high resolution mode on CPU 0
isapnp: No Plug & Play device found
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial 0000:00:1f.6: power state changed by ACPI to D0
serial 0000:00:1f.6: enabling device (0000 -> 0001)
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
serial 0000:00:1f.6: PCI INT B -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
serial 0000:00:1f.6: PCI INT B disabled
input: Macintosh mouse button emulation as /devices/virtual/input/input0
PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered
NET: Registered protocol family 17
Using IPI No-Shortcut mode
registered taskstats version 1
Initalizing network drop monitor service
Freeing unused kernel memory: 416k freed
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
SCSI subsystem initialized
libata version 3.00 loaded.
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
pata_acpi 0000:00:1f.1: PCI INT A -> Link[LNKC] -> GSI 11 (level, low) -> IRQ 11
pata_acpi 0000:00:1f.1: setting latency timer to 64
pata_acpi 0000:00:1f.1: PCI INT A disabled
ata_piix 0000:00:1f.1: version 2.13
ata_piix 0000:00:1f.1: PCI INT A -> Link[LNKC] -> GSI 11 (level, low) -> IRQ 11
ata_piix 0000:00:1f.1: setting latency timer to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xbfa0 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xbfa8 irq 15
ata2.00: ATAPI: DW-224E-A, 7.2A, max UDMA/33
ata1.00: ATA-6: TOSHIBA MK4026GAX, PA103G, max UDMA/100
ata1.00: 78140160 sectors, multi 16: LBA
ata1.00: configured for UDMA/100
scsi 0:0:0:0: Direct-Access ATA TOSHIBA MK4026GA PA10 PQ: 0 ANSI: 5
ata2.00: configured for UDMA/33
scsi 1:0:0:0: CD-ROM TEAC DW-224E-A 7.2A PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 78140160 512-byte logical blocks: (40.0 GB/37.2 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
EXT4-fs (sda2): barriers enabled
kjournald2 starting: pid 487, dev sda2:8, commit interval 5 seconds
EXT4-fs (sda2): delayed allocation enabled
EXT4-fs: file extents enabled
EXT4-fs: mballoc enabled
EXT4-fs (sda2): mounted filesystem with ordered data mode
rtc_cmos 00:07: RTC can wake from S4
rtc_cmos 00:07: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one year, 114 bytes nvram
udev: starting version 146
fuse init (API version 7.12)
sd 0:0:0:0: Attached scsi generic sg0 type 0
sr 1:0:0:0: Attached scsi generic sg1 type 5
thermal LNXTHERM:01: registered as thermal_zone0
ACPI: Thermal Zone [THRM] (68 C)
pcspkr: Unknown parameter `index'
pcspkr: Unknown parameter `index'
ACPI Warning: \_SB_.BAT1._BIF: Return Package type mismatch at index 12 - found Integer, expected String/Buffer 20090521 nspredef-946
ACPI: Battery Slot [BAT1] (battery present)
ACPI: Battery Slot [BAT2] (battery absent)
[Firmware Bug]: ACPI: ACPI brightness control misses _BQC function
acpi device:28: registered as cooling_device0
input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A03:00/device:26/device:27/input/input2
ACPI: Video Device [VGA] (multi-head: yes rom: yes post: no)
ACPI: AC Adapter [ADP1] (on-line)
Marking TSC unstable due to TSC halts in idle
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
processor LNXCPU:00: registered as cooling_device1
intel_rng: FWH not detected
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
ACPI: Power Button [PWRF]
input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input4
ACPI: Power Button [PWRB]
input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input5
ACPI: Lid Switch [LID]
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
fan PNP0C0B:00: registered as cooling_device2
ACPI: Fan [FAN] (off)
lp: driver loaded but no devices found
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
iTCO_vendor_support: vendor-support=0
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
iTCO_wdt: Found a ICH4-M TCO device (Version=1, TCOBASE=0xd860)
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
parport_pc 00:0b: activated
parport_pc 00:0b: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7, dma 1 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
Linux agpgart interface v0.103
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
ppdev: user-space parallel port driver
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:1d.7: enabling device (0000 -> 0002)
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
ehci_hcd 0000:00:1d.7: PCI INT D -> Link[LNKH] -> GSI 11 (level, low) -> IRQ 11
ehci_hcd 0000:00:1d.7: setting latency timer to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
ehci_hcd 0000:00:1d.7: irq 11, io mem 0x28000000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
toshiba_acpi: Toshiba Laptop ACPI Extras version 0.19
toshiba_acpi: HCI method: \_SB_.VALZ.GHCI
agpgart-intel 0000:00:00.0: Intel 855PM Chipset
lp0: using parport0 (interrupt-driven).
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:1d.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:1d.0: setting latency timer to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 11, io base 0x0000efe0
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: PCI INT B -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:1d.1: setting latency timer to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 11, io base 0x0000ef80
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: enabling device (0000 -> 0001)
uhci_hcd 0000:00:1d.2: PCI INT C -> Link[LNKC] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:1d.2: setting latency timer to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 11, io base 0x000018c0
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
input: DualPoint Stick as /devices/platform/i8042/serio1/input/input6
input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input7
nvidia: module license 'NVIDIA' taints kernel.
Disabling lock debugging due to kernel taint
Intel ICH 0000:00:1f.5: power state changed by ACPI to D0
Intel ICH 0000:00:1f.5: enabling device (0000 -> 0003)
Intel ICH 0000:00:1f.5: PCI INT B -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
Intel ICH 0000:00:1f.5: setting latency timer to 64
pcspkr: Unknown parameter `index'
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
usb 3-2: new low speed USB device using uhci_hcd and address 2
usb 3-2: configuration #1 chosen from 1 choice
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
e100 0000:02:08.0: PCI INT A -> Link[LNKE] -> GSI 11 (level, low) -> IRQ 11
e100 0000:02:08.0: PME# disabled
e100: eth0: e100_probe: addr 0xfceff000, irq 11, MAC addr 00:08:0d:d6:96:f1
yenta_cardbus 0000:02:0b.0: CardBus bridge found [1179:0001]
nvidia 0000:01:00.0: power state changed by ACPI to D0
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
nvidia 0000:01:00.0: PCI INT A -> Link[LNKG] -> GSI 10 (level, low) -> IRQ 10
NVRM: loading NVIDIA UNIX x86 Kernel Module 173.14.22 Sun Nov 8 20:26:31 PST 2009
yenta_cardbus 0000:02:0b.0: ISA IRQ mask 0x0038, PCI irq 11
yenta_cardbus 0000:02:0b.0: Socket status: 30000007
yenta_cardbus 0000:02:0b.0: pcmcia: parent PCI bridge I/O window: 0xc000 - 0xcfff
pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc000-0xcfff: clean.
yenta_cardbus 0000:02:0b.0: pcmcia: parent PCI bridge Memory window: 0xfce00000 - 0xfcefffff
yenta_cardbus 0000:02:0b.0: pcmcia: parent PCI bridge Memory window: 0x20000000 - 0x27ffffff
yenta_cardbus 0000:02:0b.1: CardBus bridge found [1179:0001]
usbcore: registered new interface driver hiddev
input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input8
generic-usb 0003:046D:C03D.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.1-2/input0
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
yenta_cardbus 0000:02:0b.1: ISA IRQ mask 0x0038, PCI irq 11
yenta_cardbus 0000:02:0b.1: Socket status: 30000007
pci_bus 0000:02: Raising subordinate bus# of parent bus (#02) from #05 to #08
yenta_cardbus 0000:02:0b.1: pcmcia: parent PCI bridge I/O window: 0xc000 - 0xcfff
pcmcia_socket pcmcia_socket1: cs: IO port probe 0xc000-0xcfff: clean.
yenta_cardbus 0000:02:0b.1: pcmcia: parent PCI bridge Memory window: 0xfce00000 - 0xfcefffff
yenta_cardbus 0000:02:0b.1: pcmcia: parent PCI bridge Memory window: 0x20000000 - 0x27ffffff
phy0: Selected rate control algorithm 'minstrel'
Registered led device: rt73usb-phy0::radio
Registered led device: rt73usb-phy0::assoc
Registered led device: rt73usb-phy0::quality
usbcore: registered new interface driver rt73usb
AC'97 1 does not respond - RESET
AC'97 1 access is not valid [0xffffffff], removing mixer.
Unable to initialize codec #1
intel8x0_measure_ac97_clock: measured 52843 usecs (2546 samples)
intel8x0: clocking to 48000
Intel ICH Modem 0000:00:1f.6: PCI INT B -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
Intel ICH Modem 0000:00:1f.6: setting latency timer to 64
AC'97 1 does not respond - RESET
AC'97 1 access is not valid [0xffffffff], removing mixer.
Unable to initialize codec #1
Intel ICH Modem 0000:00:1f.6: PCI INT B disabled
Intel ICH Modem: probe of 0000:00:1f.6 failed with error -5
EXT4-fs (sda2): internal journal on sda2:8
EXT4-fs (sda3): barriers enabled
kjournald2 starting: pid 1029, dev sda3:8, commit interval 5 seconds
EXT4-fs (sda3): internal journal on sda3:8
EXT4-fs (sda3): delayed allocation enabled
EXT4-fs: file extents enabled
EXT4-fs: mballoc enabled
EXT4-fs (sda3): mounted filesystem with ordered data mode
Adding 899632k swap on /dev/sda4. Priority:-1 extents:1 across:899632k
agpgart-intel 0000:00:00.0: AGP 2.0 bridge
agpgart-intel 0000:00:00.0: putting AGP V2 device into 4x mode
nvidia 0000:01:00.0: putting AGP V2 device into 4x mode
rt73usb 1-1:1.0: firmware: requesting rt73.bin
wlan0: authenticate with AP 00:25:3c:07:25:b1
wlan0: authenticated
wlan0: associate with AP 00:25:3c:07:25:b1
wlan0: RX AssocResp from 00:25:3c:07:25:b1 (capab=0x431 status=0 aid=3)
wlan0: associated
cfg80211: Calling CRDA for country: SG
Last edited by Firepower (2009-12-29 05:56:22)Hello Firepower,
I had the same difficulty. I have the same sound hardware in my Thinkpad T42. What I needed to do was add my user to the audio group. It must be done as root:
$ su -
password: XXXXXXXX
# gpasswd -a <your username> audio
BTW, my daemon's string in /etc/rc.conf looks like this:
DAEMONS=(syslog-ng !network netfs crond dbus hal wicd fam)
You should not need to add ALSA as a daemon. It is a set of kernel modules (and some userland utilities), and it will load at boot time if the hardware is detected.
If that does not help, please supply the results of the commands:
lspci
lsmod | grep '^snd' | column -t
ls -l /dev/snd
Regards
cdrigby
Last edited by cdrigby (2009-12-30 10:29:28) -
VO - bind variable in where clause problem
Hi
I have Jdeveloper 12. I successfully connected to mySQL database which works in Oracle mode (PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE, NO_KEY_OPTIONS, NO_TABLE_OPTIONS, NO_FIELD_OPTIONS, NO_AUTO_CREATE_USER)
Next I created EO, VO (screenshot) and finally AM.
when I run Application Module and enter bind variable value I receive error (screenshot):
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT EO_TMP.create_date, EO_TMP.id, EO_TMP.name FROM autoid.advert EO_TMP WHERE EO_TMP.id = :var1
## Detail 0 ##
java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
Doesn anybody know hot to fix this issue?
Regards.I decided to check if it is a mySQL driver so I've performed the same query using a below code and it works. This is definitely model configuration issue.
Connection con = null;
try{
Class.forName( "com.mysql.jdbc.Driver" ).newInstance();
con = DriverManager.getConnection("jdbc:mysql://localhost/sakila?user=root&password=1qaz2wsx");
String selectSQL = "SELECT actor_id,first_name,last_name,last_update FROM actor WHERE actor_id = ?";
PreparedStatement preparedStatement = con.prepareStatement(selectSQL);
preparedStatement.setInt(1, 4);
ResultSet rs = preparedStatement.executeQuery();
while (rs.next()) {
String userid = rs.getString("ACTOR_ID");
String username = rs.getString("FIRST_NAME");
System.out.println(userid);
System.out.println(username);
}catch (Exception e){
System.out.println(e.toString()); -
Setting ViewObject Stored Procedure Where Clause Param from Struts Action
I adapted/used Steve's example to get stored procedure to populate my ViewObject. However, I could not retrieve any rows after passing whereClause value from Struts action. The param in execureQueryForCollection returns null.
What could be wrong. Thanks.
Here's my code.
ViewObjectImpl:
package org.adb.sls.model;
import java.math.BigDecimal;
import java.sql.CallableStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.sql.Types;
import oracle.jbo.JboException;
import oracle.jbo.domain.Date;
import oracle.jbo.domain.Number;
import oracle.jbo.server.DBTransaction;
import oracle.jbo.server.ViewObjectImpl;
import oracle.jbo.server.ViewRowImpl;
import oracle.jbo.server.ViewRowSetImpl;
import oracle.jdbc.driver.OracleCallableStatement;
import oracle.jdbc.driver.OracleTypes;
// --- File generated by Oracle ADF Business Components Design Time.
// --- Custom code may be added to this class.
public class ViewApplicableLoanTypesImpl extends ViewObjectImpl
* PLSQL block that will execute the REF_CURSOR
private static final String SQL =
"begin ? := sls_loan_types_pkg.get_applcbl_staff_lns_fn(?); end;";
* PLSQL block that will count the REF_CURSOR returned rows
private static final String COUNTSQL =
"begin ? := sls_loan_types_pkg.get_count_applcbl_staff_lns_fn(?); end;";
* This is the default constructor (do not remove)
public ViewApplicableLoanTypesImpl()
* Overridden framework method.
* Wipe out all traces of a built-in query for this VO
protected void create() {
getViewDef().setQuery(null);
getViewDef().setSelectClause(null);
setQuery(null);
* Overidden framework method
protected void executeQueryForCollection(Object qc, Object[] params, int noUserParams)
// input parameter is employee number
String employeeNumber = null;
if (params != null) {
employeeNumber = (String) params[0];
} else
System.out.println("param is null");
storeNewResultSet(qc,retrieveRefCursor(qc,employeeNumber));
super.executeQueryForCollection(qc, params, noUserParams);
protected ViewRowImpl createRowFromResultSet(Object qc, ResultSet rs)
* We ignore the JDBC ResultSet passed by the framework (null anyway) and
* use the resultset that we've stored in the query-collection-private
* user data storage
rs = getResultSet(qc);
* Create a new row to populate
ViewRowImpl r = createNewRowForCollection(qc);
try {
* Populate new row by attribute slot number for current row in Result Set
populateAttributeForRow(r,0, nullOrNewNumber(rs.getBigDecimal(1)));
populateAttributeForRow(r,1, nullOrNewNumber(rs.getBigDecimal(2)));
populateAttributeForRow(r,2, rs.getString(3));
populateAttributeForRow(r,3, nullOrNewNumber(rs.getBigDecimal(4)));
populateAttributeForRow(r,4, rs.getString(5));
catch (SQLException s) {
throw new JboException(s);
return r;
protected boolean hasNextForCollection(Object qc)
ResultSet rs = getResultSet(qc);
boolean nextOne = false;
try {
nextOne = rs.next();
* When were at the end of the result set, mark the query collection
* as "FetchComplete".
if (!nextOne) {
setFetchCompleteForCollection(qc, true);
* Close the result set, we're done with it
rs.close();
catch (SQLException s) {
throw new JboException(s);
return nextOne;
protected void releaseUserDataForCollection(Object qc, Object rs)
* Ignore the ResultSet passed in since we've created our own.
* Fetch the ResultSet from the User-Data context instead
ResultSet userDataRS = getResultSet(qc);
if (userDataRS != null) {
try {
userDataRS.close();
catch (SQLException s) {
/* Ignore */
super.releaseUserDataForCollection(qc, rs);
public long getQueryHitCount(ViewRowSetImpl viewRowSet)
Object[] params = viewRowSet.getParameters(true);
String id = (String)params[0];
CallableStatement st = null;
try {
st = getDBTransaction().createCallableStatement(COUNTSQL,DBTransaction.DEFAULT);
* Register the first bind parameter as our return value of type CURSOR
st.registerOutParameter(1,Types.NUMERIC);
* Set the value of the 2nd bind variable to pass id as argument
if (id == null) st.setNull(2,Types.VARCHAR);
else st.setString(2,id);
st.execute();
return st.getLong(1);
catch (SQLException s) {
throw new JboException(s);
finally {try {st.close();} catch (SQLException s) {}}
* Return a JDBC ResultSet representing the REF CURSOR return
* value from our stored package function.
private ResultSet retrieveRefCursor(Object qc,String id) {
CallableStatement st = null;
try {
st = getDBTransaction().createCallableStatement(SQL,DBTransaction.DEFAULT);
* Register the first bind parameter as our return value of type CURSOR
st.registerOutParameter(1,OracleTypes.CURSOR);
* Set the value of the 2nd bind variable to pass id as argument
if (id == null) st.setNull(2,Types.VARCHAR);
else st.setString(2,id);
st.execute();
ResultSet rs = ((OracleCallableStatement)st).getCursor(1);
* Make this result set use the fetch size from our View Object settings
rs.setFetchSize(getFetchSize());
return rs ;
catch (SQLException s) {
s.printStackTrace();
throw new JboException(s);
finally {try {st.close();} catch (SQLException s) {}}
* Store a new result set in the query-collection-private user-data context
private void storeNewResultSet(Object qc, ResultSet rs) {
ResultSet existingRs = getResultSet(qc);
// If this query collection is getting reused, close out any previous rowset
if (existingRs != null) {
try {existingRs.close();} catch (SQLException s) {}
setUserDataForCollection(qc,rs);
hasNextForCollection(qc); // Prime the pump with the first row.
* Retrieve the result set wrapper from the query-collection user-data
private ResultSet getResultSet(Object qc) {
return (ResultSet)getUserDataForCollection(qc);
* Return either null or a new oracle.jbo.domain.Date
private static Date nullOrNewDate(Timestamp t) {
return t != null ? new Date(t) : null;
* Return either null or a new oracle.jbo.domain.Number
private static Number nullOrNewNumber(BigDecimal b) {
try {
return b != null ? new Number(b) : null;
catch (SQLException s) { }
return null;
Struts Action
package org.adb.sls.view;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import oracle.jbo.ApplicationModule;
import oracle.jbo.ViewObject;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import oracle.adf.model.binding.DCDataControl;
import oracle.adf.model.bc4j.DCJboDataControl;
import oracle.jbo.html.BC4JContext;
public class IndexAction extends DefaultADFAction
protected ActionForward performActionLogic(ActionMapping mapping,
ActionForm form, HttpServletRequest request,
HttpServletResponse response)
throws Exception {
try {
ApplicationModule am = getApplicationModule("SLSApplicableLoanTypesDataControl", request);
if (am == null)
System.out.println("am is null");
ViewObject vo = am.findViewObject("ViewApplicableLoanTypes");
vo.setWhereClauseParam(0,request.getSession().getAttribute("SSO_EMPLOYEE_NUMBER"));
vo.executeQuery();
} catch (Exception e)
e.printStackTrace();
return mapping.findForward("success");
Struts Config
<form-beans>
<form-bean name="DataForm" type="oracle.adf.controller.struts.forms.BindingContainerActionForm"/>
</form-beans>
<action-mappings>
<action path="/index" className="oracle.adf.controller.struts.actions.DataActionMapping" type="org.adb.sls.view.IndexAction" name="DataForm" unknown="false">
<set-property property="modelReference" value="indexUIModel"/>
<forward name="success" path="/home.do"/>
</action>
<action path="/home" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/index.uix" unknown="true">
<set-property property="modelReference" value="indexUIModel"/>
</action>
</action-mappings>I just found the solution. I've overridden setWhereClause method.
public void setWhereClauseParams(Object[] values)
ViewObjectImpl vo = (ViewObjectImpl) super.getViewObject();
vo.setWhereClauseParam(0,values[0]);
} -
I'm getting this error when i try submitting values from my Jsp page into a database:
Method preparedStatement(java.lang.String)not found in interface java.sql.Connection.
The arrow that appears usually beneath the code in the error 500 message suggests that the problem is occuring in the insert statement, and im thinking it does'nt like the question mark in place of the value.
Is this because im importing the wrong class? my current class string is:
@page contentType="text/html; charset=iso-8859-1" language="java" import="java.lang.string.*" import="java.sql.*"
This is what the line within the program looks like:-
quote = Connquote.preparedStatement("INSERT INTO table1(A, B, C, D, E, F, G, H, I, J, K, L, M, N) values( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )");But this gives me an error:
java.sql.SQLException:Parameter index out of range (1
number of parameters, w
If it says that it means you don't have any bind variables in your SQL.
Whah happens obj is null?Nothing to do with it. And you are writing code that is probably pointless as well. setObject() handles nulls. -
Hello!
im trying to wirte some code to create a user within a database but im getting the error
java.sql.SQLException: Parameter index out of range (2 > number of parameters, which is 0).
Im pretty new at coding, ive managed to code modify, and delete and they are both working using the same sort of technique but i just cant get create to work!
this is the errors output
Connection Established
Failed to Create user
java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
at com.mysql.jdbc.PreparedStatement.setInternal(PreparedStatement.java:2085)
at com.mysql.jdbc.PreparedStatement.setString(PreparedStatement.java:1182)
at DataHelper.DataAccess.createUser(DataAccess.java:351)
at DataHelper.DataAccess.createAccount(DataAccess.java:329)
at Admin.createUserAccount.createUserAccount(createUserAccount.java:433)
at Admin.createUserAccount.createAccountButtonActionPerformed(createUserAccount.java:266)
at Admin.createUserAccount.access$000(createUserAccount.java:19)
at Admin.createUserAccount$1.actionPerformed(createUserAccount.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
and here is the code
private void createUserAccount(){
// First the validation of the text boxes needs to happen
try{
check for empty fields, not matching passwords etc.
catch (Exception ex){
this.dispose();
boolean success = false;
//abstract the text from the fields
DataAccess dataAcc = new DataAccess();
success = dataAcc.createAccount(firstNameText.getText(),surnameText.getText(),this.username,password1.getText(),address1Text.getText(),address2Text.getText(),address3Text.getText(),countyText.getText(),postCodeText.getText(),telephoneText.getText(),mobileNumberText.getText(),emailText.getText());
if (success){
JOptionPane.showMessageDialog(null,"Account has been Created.","User Updated",JOptionPane.INFORMATION_MESSAGE);
else{
JOptionPane.showMessageDialog(null,"Failed to create account","Failed update",JOptionPane.INFORMATION_MESSAGE);
dataAcc.Close();
}the create account method
public boolean createAccount(String firstname, String surname, String username, String password, String address1, String address2, String address3, String postCode, String county, String telephone,String mobile, String email){
// First create the contact details
if (createUser(firstname,surname,password)){
// Then create the user, this will not run if the above statement is not successful
//this stops details being created when a use account is not
if (createStaffDetails(address1,address2,address3,postCode,county,telephone,mobile,email)){
return true;
return false;
private boolean createUser(String firstname, String surname, String password){
PreparedStatement prpStm = null;
String query = "INSERT INTO Users VALUES (Firstname,Surname,Password) ";
int rowsEffected = 0;
try{
prpStm = conn.prepareStatement(query);
prpStm.setString(1,firstname);
prpStm.setString(2, surname);
prpStm.setString(3, password);
rowsEffected = prpStm.executeUpdate();
catch (SQLException sqlEx){
System.err.println("Failed to Create user");
sqlEx.printStackTrace();
finally{
prpStm = null;
return (rowsEffected > 0);
private boolean createStaffDetails(String address1, String address2, String address3, String postCode, String county, String telephone,String mobile, String email){
PreparedStatement prpStm = null;
String query = "INSERT INTO ContactDetails VALUES (address1,address2,address3,postCode,county,telephone,mobile,email) ";
int rowsEffected = 0;
try{
prpStm = conn.prepareStatement(query);
prpStm.setString(1,address1);
prpStm.setString(2, address2);
prpStm.setString(3, address3);
prpStm.setString(4, postCode);
prpStm.setString(5, county);
prpStm.setString(6, telephone);
prpStm.setString(7, mobile);
prpStm.setString(8, email);
rowsEffected = prpStm.executeUpdate();
catch (SQLException sqlEx){
System.err.println("Failed to delete user");
sqlEx.printStackTrace();
finally{
prpStm = null;
return (rowsEffected > 0);
}sorry im not very good at describing the problem, just let me know if theres anything else you need to help me!
and thanks very much!
Rohit
Edited by: mrhankeh on Apr 3, 2008 9:06 PMI think the statement should be something like this:
String query = "INSERT INTO Users VALUES (?,?,?) ";
Maybe you are looking for
-
Hi All, I have a report which if i run in background is giving me dump.I am getting tsv_tnew_blocks_no_roll_memory error.I checked in debugging and am pasting the code where it is failing Fetching delivery history SELECT ebel
-
I am attempting to rewrite some ASP code with CF MX 7. The ASP code originally returned a recordset from Microsoft Indexing Service. I can create the object and return the number of objects within the recordset but I don't know how to access the reco
-
Dont know why this is happening but on mac OSX mavericks photoshop CS6 and photoshop CC 2014 run laggy. 2014 is even worse than CS6. I tried both Yosemite and downgraded to mavericks to see if it would help and it didn't. If I draw a rectangle on a l
-
MacBook 2008 can't complete new OS install
I am trying to erase and do a clean OS install. Disc 1 install is complete, but disc 2 won't load and keeps ejecting. I've tried cleaning the disc and it is good condition. Any ideas how to complete the installation?
-
I'm trying to intercept the 'increase/decrease text size" commands of the browser. I need to control text size in response to these commands. Can anybody help me? Tank you.