Some potential deadlocks in BerkeleyDB 4.7.25

We are building a distributed system checking tool to find software bugs. When we are doing BDB experiments under Windows, we find some MUTEX_UNLOCK operations are missed:
1. In __db_cursor_int(), line 81. dbp->mutex may need to be released before function returns.
     MUTEX_LOCK(env, dbp->mutex);
#ifndef HAVE_NO_DB_REFCOUNT
     if (txn != NULL &&
     !LF_ISSET(DBC_OPD|DBC_DUPLICATE) && !F_ISSET(dbp, DB_AM_RECOVER) &&
     dbp->log_filename != NULL && !IS_REP_CLIENT(env) &&
     (ret = __txn_record_fname(env, txn, dbp->log_filename)) != 0)
          return (ret); //ERROR, missing MUTEX_UNLOCK before returning.
#endif
2. In __dbreg_failchk(), line 707. fnp->mutex may need to be released in the "else" region.
3. In __lock_get_internal(), I ran out a path that newl->mtx_lock could be double locked and there is no unlock before returning.
Thanks.
Edited by: damm on 2008-9-30 下午12:41
Edited by: damm on 2008-9-30 下午11:04

Michael, according to your comment, since mutex owner relates to cursor or transaction instead of thread, thus another thread will do the release work although it is not the holder. Am I right?
For the scenario that message thread will acquire a mutex(whose db_mutex_t value is 4228) twice in one __lock_get_internal() call, the message thread is dealing REP_UPDATE_REQ while main thread is openning the db. The following is the call stack of all threads:
1. Master's main thread is trying to open the db.
ex_rep_mgr.exe!__repmgr_lock_mutex(void * * mutex=0x021fab30) Line 456 + 0xe bytes C
ex_rep_mgr.exe!__repmgr_send(__db_env * dbenv=0x021fa6c8, const __db_dbt * control=0x0012f8b8, const __db_dbt * rec=0x0012fa3c, const __db_lsn * lsnp=0x0012f888, int eid=-1, unsigned int flags=0) Line 97 + 0xf bytes C
ex_rep_mgr.exe!__rep_send_message(__env * env=0x021fade0, int eid=-1, unsigned int rtype=11, __db_lsn * lsnp=0x0012fa04, const __db_dbt * dbt=0x0012fa3c, unsigned int ctlflags=0, unsigned int repflags=0) Line 503 + 0x29 bytes C
ex_rep_mgr.exe!__log_put(__env * env=0x021fade0, __db_lsn * lsnp=0x02fd018c, const __db_dbt * udbt=0x0012fa3c, unsigned int flags=8) Line 255 + 0x1e bytes C
ex_rep_mgr.exe!__txn_child_log(__env * env=0x021fade0, __db_txn * txnp=0x021fbbf0, __db_lsn * ret_lsnp=0x02fd018c, unsigned int flags=0, unsigned int child=2147483649, __db_lsn * c_lsn=0x02fd02bc) Line 692 + 0x18 bytes C
ex_rep_mgr.exe!__txn_commit(__db_txn * txn=0x021ffa58, unsigned int flags=0) Line 712 + 0x3f bytes C
ex_rep_mgr.exe!__fop_file_setup(__db * dbp=0x021ff730, __db_thread_info * ip=0x00000000, __db_txn * txn=0x021fbbf0, const char * name=0x006fdb54, int mode=384, unsigned int flags=5, unsigned int * retidp=0x0012fe34) Line 642 + 0xe bytes C
ex_rep_mgr.exe!__db_open(__db * dbp=0x021ff730, __db_thread_info * ip=0x00000000, __db_txn * txn=0x021fbbf0, const char * fname=0x006fdb54, const char * dname=0x00000000, DBTYPE type=DB_BTREE, unsigned int flags=5, int mode=0, unsigned int meta_pgno=0) Line 154 + 0x21 bytes C
ex_rep_mgr.exe!__db_open_pp(__db * dbp=0x021ff730, __db_txn * txn=0x021fbbf0, const char * fname=0x006fdb54, const char * dname=0x00000000, DBTYPE type=DB_BTREE, unsigned int flags=1, int mode=0) Line 1125 + 0x27 bytes C
ex_rep_mgr.exe!db_mc_test_write(__db_env * dbenv=0x021fa6c8, int is_master=1) Line 101 + 0x20 bytes C++
ex_rep_mgr.exe!main(int argc=13, char * * argv=0x021f5c30) Line 213 + 0xd bytes C
2. Message Thread(We change the default message thread number to 1)
ex_rep_mgr.exe!__lock_get_internal(__db_locktab * lt=0x021fb1b0, __db_locker * sh_locker=0x02fa6030, unsigned int flags=0, const __db_dbt * obj=0x04f4f764, db_lockmode_t lock_mode=DB_LOCK_READ, unsigned int timeout=0, __db_lock_u * lock=0x04f4f7b0) Line 965 C
ex_rep_mgr.exe!__lock_vec(__env * env=0x021fade0, __db_locker * sh_locker=0x02fa6030, unsigned int flags=0, __db_lockreq * list=0x04f4f780, int nlist=2, __db_lockreq * * elistp=0x04f4f7c4) Line 142 + 0x49 bytes C
ex_rep_mgr.exe!__fop_lock_handle(__env * env=0x021fade0, __db * dbp=0x04ad3560, __db_locker * locker=0x02fa6030, db_lockmode_t mode=DB_LOCK_READ, __db_lock_u * elockp=0x04f4f85c, unsigned int flags=0) Line 142 + 0x1b bytes C
ex_rep_mgr.exe!__fop_file_setup(__db * dbp=0x04ad3560, __db_thread_info * ip=0x00000000, __db_txn * txn=0x00000000, const char * name=0x021fdd30, int mode=384, unsigned int flags=132, unsigned int * retidp=0x04f4fafc) Line 409 + 0x1c bytes C
ex_rep_mgr.exe!__db_open(__db * dbp=0x04ad3560, __db_thread_info * ip=0x00000000, __db_txn * txn=0x00000000, const char * fname=0x021fdd30, const char * dname=0x00000000, DBTYPE type=DB_UNKNOWN, unsigned int flags=132, int mode=0, unsigned int meta_pgno=0) Line 154 + 0x21 bytes C
ex_rep_mgr.exe!__rep_get_fileinfo(__env * env=0x021fade0, const char * file=0x021fdd30, const char * subdb=0x00000000, ___rep_fileinfo_args * rfp=0x04f4fba8, unsigned char * uid=0x04f4fb90, unsigned int * filecntp=0x04f4fcc4) Line 451 + 0x38 bytes C
ex_rep_mgr.exe!__rep_walk_dir(__env * env=0x021fade0, const char * dir=0x021fd830, unsigned int version=5, unsigned char * * fp=0x04f4fcd0, unsigned char * origfp=0x00000000, unsigned int * fileszp=0x04f4fcac, unsigned int * filelenp=0x04f4fcc0, unsigned int * filecntp=0x04f4fcc4) Line 300 + 0x20 bytes C
ex_rep_mgr.exe!__rep_find_dbs(__env * env=0x021fade0, unsigned int version=5, unsigned char * * fp=0x04f4fcd0, unsigned int * fileszp=0x04f4fcac, unsigned int * filelenp=0x04f4fcc0, unsigned int * filecntp=0x04f4fcc4) Line 210 + 0x26 bytes C
ex_rep_mgr.exe!__rep_update_req(__env * env=0x021fade0, ___rep_control_args * rp=0x04f4fe00, int eid=0) Line 104 + 0x1f bytes C
ex_rep_mgr.exe!__rep_process_message(__db_env * dbenv=0x021fa6c8, __db_dbt * control=0x021fff00, __db_dbt * rec=0x021fff1c, int eid=0, __db_lsn * ret_lsnp=0x04f4fe54) Line 860 + 0x11 bytes C
ex_rep_mgr.exe!process_message(__env * env=0x021fade0, __db_dbt * control=0x021fff00, __db_dbt * rec=0x021fff1c, int eid=0) Line 87 + 0x1b bytes C
ex_rep_mgr.exe!message_loop(__env * env=0x021fade0) Line 54 + 0x1e bytes C
ex_rep_mgr.exe!__repmgr_msg_thread(void * args=0x021fade0) Line 33 + 0x9 bytes C
ex_rep_mgr.exe!__thread_wrapper(void * lpThreadInfo=0x021fd788) Line 43 + 0x11 bytes C++
3. Select Thread
ex_rep_mgr.exe!__repmgr_readv(unsigned int fd=436, WSABUF * iovec=0x021fb9a8, int bufcount=3, unsigned int * xfr_count_p=0x04e0fbb4) Line 514 + 0x1e bytes C
ex_rep_mgr.exe!__repmgr_read_from_site(__env * env=0x021fade0, __repmgr_connection * conn=0x021fb970) Line 716 + 0x2b bytes C
ex_rep_mgr.exe!handle_completion(__env * env=0x021fade0, __repmgr_connection * conn=0x021fb970) Line 720 + 0xd bytes C
ex_rep_mgr.exe!__repmgr_select_loop(__env * env=0x021fade0) Line 645 + 0x2a bytes C
ex_rep_mgr.exe!__repmgr_select_thread(void * args=0x021fade0) Line 60 + 0x9 bytes C
ex_rep_mgr.exe!__thread_wrapper(void * lpThreadInfo=0x021fd648) Line 43 + 0x11 bytes C++
4. Elect Thread
ex_rep_mgr.exe!__os_yield(__env * env=0x00000000, unsigned long secs=0, unsigned long usecs=200000) Line 35 C
ex_rep_mgr.exe!__rep_wait(__env * env=0x021fade0, unsigned int * timeoutp=0x04ccfdec, int * eidp=0x04ccfd78, int full_elect=0, unsigned int flags=16) Line 1158 + 0xf bytes C
ex_rep_mgr.exe!__rep_elect(__db_env * dbenv=0x021fa6c8, unsigned int given_nsites=3, unsigned int nvotes=2, unsigned int flags=0) Line 303 + 0x1a bytes C
ex_rep_mgr.exe!__repmgr_elect_main(__env * env=0x021fade0) Line 237 + 0x13 bytes C
ex_rep_mgr.exe!__repmgr_elect_thread(void * args=0x021fade0) Line 110 + 0x9 bytes C
ex_rep_mgr.exe!__thread_wrapper(void * lpThreadInfo=0x021fdbe8) Line 43 + 0x11 bytes C++

Similar Messages

  • [svn:bz-trunk] 18873: Bug fix Watson 2724938 [Coverity] potential deadlock in flex.messaging.client.FlexClient

    Revision: 18873
    Revision: 18873
    Author:   [email protected]
    Date:     2010-11-30 12:22:15 -0800 (Tue, 30 Nov 2010)
    Log Message:
    Bug fix Watson 2724938 potential deadlock in flex.messaging.client.FlexClient
            Maintain the pattern of using the FlexClient.lock and ensure that order of locks should always start with the FlexClient.lock.  This is critical to prevent deadlock cases,
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/client/FlexClient.java

  • [svn:bz-trunk] 19119: bug fix BLZ-598  [Coverity] potential deadlock in FlexClient

    Revision: 19119
    Revision: 19119
    Author:   [email protected]
    Date:     2010-12-07 13:55:34 -0800 (Tue, 07 Dec 2010)
    Log Message:
    bug fix BLZ-598  potential deadlock in FlexClient
    adding the synchronization in the time out routine to acquir the FlexClient instance level lock first.
    Checkintests pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-598
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/client/FlexClient.java

    Adobe has donated BlazeDS to the Apache Flex community, and the source code is hosted on the Apache Flex website in a GIT repository.
    http://flex.apache.org/dev-sourcecode.html

  • Installed some  potentially malicious code ... what should I do?

    Hi
    I thought I was installing a cardbus driver for a Ethernet card (found online) but when it didn't appear in the appropriate library, I checked the install log and also looked in the install package. Definitely not a driver and could well be some malicious code (calls itself "MacAccess : 5.0.0.0.1").
    How do I get rid of it .... I'm really worried ..... help!

    No viruses that can attack OS X have so far been detected 'in the wild', i.e. in anything other than laboratory conditions.
    It is possible, however, to pass on a Windows virus to another Windows user, for example through an email attachment. To prevent this all you need is the free anti-virus utility ClamXav, which you can download from:
    http://www.clamxav.com/
    However, the appearance of Trojans and other malware that can possibly infect a Mac seems to be growing, but is a completely different issue to viruses.
    If you allow a Trojan to be installed, the user's DNS records can be modified, redirecting incoming internet traffic through the attacker's servers, where it can be hijacked and injected with malicious websites and pornographic advertisements. The trojan also installs a watchdog process that ensures the victim's (that's you!) DNS records stay modified on a minute-by-minute basis.
    SecureMac has introduced a free Trojan Detection Tool for Mac OS X. It's available here:
    http://macscan.securemac.com/
    The DNSChanger Removal Tool detects and removes spyware targeting Mac OS X and allows users to check to see if the trojan has been installed on their computer; if it has, the software helps to identify and remove the offending file. After a system reboot, the users' DNS records will be repaired.
    (Note that a 30 day trial version of MacScan can be downloaded free of charge from:
    http://macscan.securemac.com/buy/
    and this can perform a complete scan of your entire hard disk. After 30 days the cost is $29.99. The full version permits you to scan selected files and folders only, as well as the entire hard disk.)
    A white paper has recently been published on the subject of Trojans by SubRosaSoft, available here:
    http://www.macforensicslab.com/ProductsAndServices/index.php?mainpage=document_general_info&cPath=11&productsid=174
    Also, beware of MacSweeper:
    MacSweeper is malware that misleads users by exaggerating reports about spyware, adware or viruses on their computer. It is the first known "rogue" application for the Mac OS X operating system. The software was discovered by F-Secure, a Finland based computer security software company on January 17, 2008
    http://en.wikipedia.org/wiki/MacSweeper
    On June 23, 2008 this news reached Mac users:
    http://www.theregister.co.uk/2008/06/23/mac_trojan/
    More information on Mac security can be found here:
    http://macscan.securemac.com/
    The MacScan application can be downloaded from here:
    http://macscan.securemac.com/buy/
    You can download a 30 day trail copy which enables you to do a full scan of your hard disk. After that it costs $29.95.
    More on Trojans on the Mac here:
    http://www.technewsworld.com/story/63574.html?welcome=1214487119
    The latest news on the subject, from July 25, 2008, is:
    Attack code that exploits flaws in the net's addressing system are starting to circulate online, say security experts.
    The code could be a boon to phishing gangs who redirect web users to fake bank sites and steal login details.
    In light of the news net firms are being urged to apply a fix for the loop-hole before attacks by hi-tech criminals become widespread.
    Net security groups say there is anecdotal evidence that small scale attacks are already happening.
    Further details here: http://news.bbc.co.uk/2/hi/technology/7525206.stm
    A further recent development is the Koobface malware that can be picked up from Facebook (already a notorious site for malware), as reported here on December 9, 2008:
    http://news.bbc.co.uk/newsbeat/hi/technology/newsid_7773000/7773340.stm
    There may be other ways of guarding against Trojans, viruses and general malware affecting the Mac, and alternatives will probably appear in the future. In the meantime the advice is: be careful where you go on the web and what you download!

  • Give some potential solutions please.

    Previous I had a sales order show 2 discounts as active in the sales order. even if 1 discount had 0%. So when the print out came it showed the customer 0% as the discount, instead of the rightful 18%. In sap scenerio that 0% is suppose to become inactive. Anyways this scenerio was solved by fixing the script from the abap side.
    Now the problem arises in the 600 previous sales orders that were created before this problem was finally resolved. In terms of the end of the year in reporting the figures will be totally different.
    The sales order shows 0% discount, but the fi document is showing the rightful 18% discount. Now it does seem confusing so let me put these figures to customers.
    Customer A in the sales order is charged 100$
    Customer A in the FI Document is charged the rightful 82$.
    So what will be the treatment for the balance of 18$ which is showing in the sales order. Manual entry fixing of old sales orders is really not the choice client is looking for because the sales orders have already been closed and invoiced and completed. Please help in any possible solution or any advice.

    hello, friend.
    do i understand correctly that your only problem is how everything is shown in the sales order?
    it looks like from the point-of-view of accounting (both your SAP system and customer), everything balances.  it shouldn't matter to the customer because the invoice is correct.  all the postings to FI in your system all seem to be correct.
    despite these, do your customers require corrected copies of the sales orders?  is this a legal requirement in your location?
    regards.

  • Could we get a deadlock error on COMMIT (END TRANSACTION) in BDB-SQL

    According to the DB_TXN->commit documentation at:
    http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/txncommit.html
    "After DB_TXN->commit() has been called, regardless of its return, the DB_TXN handle may not be accessed again.
    If DB_TXN->commit() encounters an error, the transaction and all child transactions of the transaction are aborted."
    Since BDB-SQL uses the BDB engine, should the code handle such errors in BDB-SQL?
    Another point to keep in mind is that, post BDB-SQL version 5.1 upon receiving a potential deadlock error all the previous operations(child transactions) in the same transaction are still valid and can be committed.
    It would be great if someone can throw some light on this.
    Edited by: user10942853 on Jul 28, 2011 9:31 AM

    user10942853 wrote:
    LaurenFoutz wrote:
    I do not think commit can experience a deadlock error since it does not obtain any new locks, and it could not have been in a blocked state if you are able to call commit. Either way, after calling commit on a transaction in SQL the transaction is done, even if an error is returned. At that point if an error is returned the transaction (and all the work its children have done) is either aborted under the covers, or the database has been corrupted, and all future calls to it will return a corruption error that will require restarting the database to restore it (and the restoration will roll back any work done by the transaction since it did not complete cleanly).
    Hope that answers your question.
    Lauren FoutzLauren, thanks for the reply. From your reply, though there is little possibility that we can get an error on commit looks like we should be prepared to handle such errors in BDB-SQL. We have had instances where we experienced an error on commit while using native BDB (without SQL API) and wanted to confirm the same.You are correct. Error when committing are rare in both the SQL and native API, but they can happen and you should deal with them when they do.
    Lauren Foutz

  • DeadLock Problem - Please Help

    I don' know what is the problem actually. This warning "Warning: To avoid potential deadlock, operations that may block, such as networking, should be performed in a different thread than the commandAction() handler." exists when i click the submit button.
    I have read some passage that advice to separate the main from the connection part.
    I have done this as follows ..... but the problem is still the same.
    Can anyone guide me some solution. Any helps would be appreciated.
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import javax.microedition.io.*;
    import java.io.*;
    import java.util.Vector;
    public class SecondMidletServlet extends MIDlet implements CommandListener {
    Display display = null;
    List menu = null;
    TextBox input = null;
    String user = null;
    //String url = "http://popolo.no-ip.com:23/phoneserver/RequestServlet";
    static final Command backCommand = new Command("Back", Command.BACK, 0);
    static final Command submitCommand = new Command("Submit", Command.OK, 2);
    static final Command exitCommand = new Command("Exit", Command.STOP, 3);
    String currentMenu = null;
    public SecondMidletServlet() {
    public void startApp() throws MIDletStateChangeException {
    display = Display.getDisplay(this);
    menu = new List("Invoke Servlet", Choice.IMPLICIT);
    menu.append("Add a user", null);
    menu.addCommand(exitCommand);
    menu.setCommandListener(this);
    mainMenu();
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {
    notifyDestroyed();
    void mainMenu() {
    display.setCurrent(menu);
    public void addName() {
    input = new TextBox("Enter first name:", "", 5, TextField.ANY);
    input.addCommand(submitCommand);
    input.addCommand(backCommand);
    input.setCommandListener(this);
    input.setString("");
    display.setCurrent(input);
    public void commandAction(Command c, Displayable d) {
    String label = c.getLabel();
    if (label.equals("Exit")) {
    destroyApp(true);
    } else if (label.equals("Back")) {
    mainMenu();
    } else if (label.equals("Submit")) {
    user = input.getString();
    try
    newThread thr = new newThread();
    thr.invokeServlet(user);
    thr.ReturnStr();
    TextBox t = new TextBox("Second Servlet", thr.toString(), 1024, 0);
    t.addCommand(backCommand);
    t.setCommandListener(this);
    catch(IOException e) {}
    else
    addName();
    class newThread extends Thread
    public String url = "http://popolo.no-ip.com:23/phoneserver/RequestServlet";
    public StringBuffer strBuf = null;
    public newThread() {}
    public void invokeServlet(String user) throws IOException
    HttpConnection c = null;
    InputStream is = null;
    OutputStream os = null;
    StringBuffer b = new StringBuffer();
    TextBox t = null;
    try
    c = (HttpConnection)Connector.open(url);
    c.setRequestMethod(HttpConnection.POST);
    c.setRequestProperty("IF-Modified-Since", "20 Jan 2001 16:19:14 GMT");
    c.setRequestProperty("User-Agent","Profile/MIDP-1.0 Configuration/CLDC-1.0");
    c.setRequestProperty("Content-Language", "en-CA");
    os = c.openOutputStream();
    String str = "name=" + user;
    byte postmsg[] = str.getBytes();
    System.out.println("Length: "+ str.getBytes());
    for(int i=0;i<postmsg.length;i++)
    os.write(postmsg);
    // or you can easily do:
    // os.write(("name="+user).getBytes());
    os.flush();
    is = c.openDataInputStream();
    int ch;
    while ((ch = is.read()) != -1)
    b.append((char) ch);
    System.out.print((char)ch);
    strBuf = b;
    finally
    if(is!= null)
    is.close();
    if(os != null)
    os.close();
    if(c != null)
    c.close();
    public StringBuffer ReturnStr()
    return strBuf;

    Putting a method in a Thread subclass doesn't automatically make that method run in a separate thread. You have to implement a run() method for the thread that calls your invokeServlet() method, and in commandAction() you have to call the start() method (which will call run() in a separate thread, which will call invokeServlet()) of the thread instead of calling invokeServlet() directly.
    Check out this tutorial.
    shmoove

  • DBXML 2.4.16:  Accessing containers from multiple threads and deadlock

    Hi,
    I am evaluating dbxml for my upcoming project (http://xcapserver.sourceforge.net) where I am sending following four requests through multiples threads which gets into deadlock situation after running certain iterations. Can you please help me what am I doing wrong?
    1. Put Document
    2. Get Document
    3. Get Document Node (XPATH Query)
    4. Delete Document
    I am using following environment variables.
    u_int32_t env_flags = DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL |DB_INIT_TXN | DB_THREAD|DB_RECOVER| DB_AUTO_COMMIT; (I tried removing DB_AUTO_COMMIT)
    dbEnv_.open(dbxml_env.c_str(), env_flags, 0);
    XmlManager instance is initialized as :pxmlmgr_= new XmlManager(&dbEnv_) ;
    pxmlmgr_->setDefaultContainerType(DbXml::XmlContainer::WholedocContainer);
    NOTE: pxmlmgr_ instance is member variable of singleton class assuming XmlManager is thread safe and can be reused for all threads.
    Below is the psudo code. It is written in C++. I have removed exception handling and other code for clarity.
    getDocument (...){
    XmlTransaction containerTxn =pxmlmgr_->createTransaction();
              XmlContainer cont = pxmlmgr_->openContainer(container, DB_RDONLY|DB_THREAD);
              XmlDocument doc = cont.getDocument(document);
              containerTxn.commit();
              data = doc.getContent(data
    NOTE: To use doc(...) function, I have to create an alias than only I can use container name e.g /dbxml/resource-lists/users/rjoshi where /dbxml is env_home.
    container name: /dbxml/resource-lists/users/rjoshi (here rjoshi is container name)
    document name: presence
    getDocumentNode(...) {
    size_t npos = container.find_last_of("/", container.length());
              std::string alias = container.substr(npos+1, container.length()-npos) + "_" + document;
                   XCAP_DEBUG("Alias:" + alias);
                   std::string fullQuery = "doc('dbxml:" + alias + '/' + document + "')" + node;
                   XCAP_DEBUG("XPath Full Query:" + fullQuery);
                   XmlTransaction txn = pxmlmgr_->createTransaction();
                   XmlContainer cont = pxmlmgr_->openContainer(container, DB_RDONLY|DB_THREAD);
                   cont.addAlias(alias);
                   //query context
                   XmlQueryContext context = pxmlmgr_->createQueryContext();
              XmlResults results(pxmlmgr_->query(fullQuery, context ) );
                   cont.removeAlias(alias);
                   txn.commit();
    putDocument(....){
    size_t npos = container.find_last_of("/", container.length());
              std::string dir = container.substr(0, npos);
                   boost::filesystem::path p(dir);
                   if(!boost::filesystem::exists(p)) {
                        boost::filesystem::create_directories(p);
                   XmlTransaction txn = pxmlmgr_->createTransaction();
                   XmlContainer cont = pxmlmgr_->openContainer(container, DBXML_TRANSACTIONAL|DB_THREAD|DB_CREATE);
              XmlUpdateContext updateContext = pxmlmgr_->createUpdateContext();
                   cont.putDocument(document, data, updateContext, 0);
                   txn.commit();
    deleteDocument() {
    XmlTransaction txn = pxmlmgr_->createTransaction();
              XmlContainer cont = pxmlmgr_->openContainer(container, DB_THREAD);
              XmlUpdateContext updateContext = pxmlmgr_->createUpdateContext();
              cont.deleteDocument(document, updateContext);          
              txn.commit();
    }

    1. What platform are you on?
    rjoshi>>I am running on mac OSX 10.5.8
    2. There are still some potential coding issues here:
    2a. In DbXmlDb.hpp there is a DbEnv instance which is
    a member of your class. If using DbEnv as a data member
    it is usually best to use new/delete vs making it a member.
    rjoshi>>I have modified code to use new/delete
    2b. In DbXmlDB.cpp DBXML_ADOPT_DBENV is being used.
    DBXML_ADOPT_DBENV requires that DbEnv be created via
    new() as it calls delete() on it.
    rjoshi>> modified code to use new/delete
    2c. In general is it best not to open containers upon
    each use. Containers should be opened and shared among
    threads.
    rjoshi>> In real application, multiple devices (e.g IM, Phone) can read/write same document but it's not always the case so I don't want to open the container and keep in the memory. There is no way for me to know when to close the container. Is there any way to set flag where container can be open for certain duration and if not used, it will get closed and removed from memory?
    2d. Instead of using a transaction for opening containers
    use DBXML_TRANSACTIONAL|DB_THREAD. Also the use of
    DB_RDONLY in the read cases will not change anything significant
    as open instances are shared and the state of the first
    one is the only one that counts.
    rjoshi>> In init() function, I am setting default container flags as
    pxmlmgr_->setDefaultContainerFlags(DB_CREATE | DB_THREAD
                   | DBXML_TRANSACTIONAL);
    Do I still need to set these flags while opening the container?
    2e. The setting of DB_THREAD looks to be used inconsistently.
    It should be used all the time if the application is
    making use of threading.
    rjoshi>> Again I was setting default flag for container as below in the init() function so was not using it. I have corrected the inconsistency.
    pxmlmgr_->setDefaultContainerFlags(DB_CREATE | DB_THREAD
                   | DBXML_TRANSACTIONAL);
    2f. I can not tell for sure from looking at the cpp file,but
    just make sure that operation-based transactions are consistently
    passed in the application.
    rjoshi>> I have removed transactions while opening the container and using all other places.
    Still I am able to reproduce the deadlock. Please see the below output of db_state -CA.
    bash-3.2$ ./db_stat -h /dbxml/ENV -CA
    Default locking region information:
    3327     Last allocated locker ID
    0x7fffffff     Current maximum unused locker ID
    9     Number of lock modes
    1000     Maximum number of locks possible
    1000     Maximum number of lockers possible
    1000     Maximum number of lock objects possible
    39     Number of current locks
    143     Maximum number of locks at any one time
    75     Number of current lockers
    313     Maximum number of lockers at any one time
    12     Number of current lock objects
    26     Maximum number of lock objects at any one time
    6643     Total number of locks requested
    6560     Total number of locks released
    0     Total number of locks upgraded
    2166     Total number of locks downgraded
    531     Lock requests not available due to conflicts, for which we waited
    9     Lock requests not available due to conflicts, for which we did not wait
    0     Number of deadlocks
    0     Lock timeout value
    0     Number of locks that have timed out
    0     Transaction timeout value
    0     Number of transactions that have timed out
    464KB     The size of the lock region
    60     The number of region locks that required waiting (0%)
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Lock REGINFO information:
    Lock     Region type
    7     Region ID
    /dbxml/ENV/__db.007     Region name
    0xf000     Original region address
    0xf000     Region address
    0xf044     Region primary address
    0     Region maximum allocation
    0     Region allocated
    Region allocations: 3005 allocations, 0 failures, 0 frees, 1 longest
    REGION_JOIN_OK     Region flags
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Lock region parameters:
    786457     Lock region region mutex [60/23741 0% 12394/0]
    1031     locker table size
    1031     object table size
    436     obj_off
    45860     locker_off
    1     need_dd
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Lock conflict matrix:
    0     0     0     0     0     0     0     0     0     
    0     0     1     0     1     0     1     0     1     
    0     1     1     1     1     1     1     1     1     
    0     0     0     0     0     0     0     0     0     
    0     1     1     0     0     0     0     1     1     
    0     0     1     0     0     0     0     0     1     
    0     1     1     0     0     0     0     1     1     
    0     0     1     0     1     0     1     0     0     
    0     1     1     0     1     1     1     0     1     
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Locks grouped by lockers:
    Locker Mode Count Status ----------------- Object ---------------
    c3e dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    c3e READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 2
    c41 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    c42 dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    c42 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 4
    c45 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    c46 dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    c46 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 6
    c49 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    c4a dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    c4a READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 8
    c4d dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    c4e dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    c4e READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 10
    c51 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    c52 dd= 0 locks held 2 write locks 0 pid/thread 12389/0
    c52 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 12
    c52 READ 6 HELD /dbxml/resource-lists/users/rjoshi handle 0
    c55 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    c59 dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    c59 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 14
    c5c dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    c5d dd= 0 locks held 2 write locks 0 pid/thread 12389/0
    c5d READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 16
    c5d READ 2 HELD /dbxml/resource-lists/users/rjoshi handle 0
    c60 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    80000325 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    80000326 dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    80000326 WRITE 1 WAIT /dbxml/resource-lists/users/rjoshi page 13
    80000326 READ 2 HELD /dbxml/resource-lists/users/rjoshi page 11
    80000327 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    c8e dd= 0 locks held 2 write locks 0 pid/thread 12389/0
    c8e READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 18
    c8e READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 0
    80000328 dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    80000328 WRITE 1 WAIT /dbxml/resource-lists/users/rjoshi page 13
    80000328 READ 2 HELD /dbxml/resource-lists/users/rjoshi page 11
    8000032a dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    c91 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    8000032b dd= 0 locks held 3 write locks 1 pid/thread 12389/0
    8000032b WRITE 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    8000032b READ 7 HELD /dbxml/resource-lists/users/rjoshi page 13
    8000032b WRITE 14 HELD /dbxml/resource-lists/users/rjoshi page 13
    8000032b READ 3 HELD /dbxml/resource-lists/users/rjoshi page 11
    8000032c dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    8000032c READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    c93 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    8000032d dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    c94 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    8000032e dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    8000032e READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    c95 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    8000032f dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    80000330 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    80000330 READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    80000331 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    80000332 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    80000332 READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    c99 dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    c99 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 2
    80000333 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    80000333 READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    80000334 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    80000334 READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    80000335 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    c9c dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    80000336 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    80000336 READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    c9d dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    c9d READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 4
    ca0 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    ca1 dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    ca1 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 6
    ca4 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    ca5 dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    ca5 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 8
    ca8 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    ca9 dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    ca9 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 10
    cac dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cad dd= 0 locks held 2 write locks 0 pid/thread 12389/0
    cad READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 12
    cad READ 6 HELD /dbxml/resource-lists/users/rjoshi handle 0
    cb0 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cb4 dd= 0 locks held 1 write locks 0 pid/thread 12389/0
    cb4 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 14
    cb7 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cb8 dd= 0 locks held 2 write locks 0 pid/thread 12389/0
    cb8 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 16
    cb8 READ 2 HELD /dbxml/resource-lists/users/rjoshi handle 0
    cbb dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    ce9 dd= 0 locks held 2 write locks 0 pid/thread 12389/0
    ce9 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 18
    ce9 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 0
    cec dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    ced dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cee dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cef dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cf0 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cf1 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cf2 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cf3 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cf4 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cf5 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cf6 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cf7 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cf8 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cf9 dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cfa dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cfb dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cfc dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cfd dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cfe dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    cff dd= 0 locks held 0 write locks 0 pid/thread 12389/0
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Locks grouped by object:
    Locker Mode Count Status ----------------- Object ---------------
    80000326 READ 2 HELD /dbxml/resource-lists/users/rjoshi page 11
    80000328 READ 2 HELD /dbxml/resource-lists/users/rjoshi page 11
    8000032b READ 3 HELD /dbxml/resource-lists/users/rjoshi page 11
    8000032b WRITE 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    8000032c READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    8000032e READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    80000330 READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    80000332 READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    80000333 READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    80000334 READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    80000336 READ 1 WAIT /dbxml/resource-lists/users/rjoshi page 11
    c4e READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 10
    ca9 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 10
    c4a READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 8
    ca5 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 8
    c59 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 14
    cb4 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 14
    8000032b WRITE 14 HELD /dbxml/resource-lists/users/rjoshi page 13
    8000032b READ 7 HELD /dbxml/resource-lists/users/rjoshi page 13
    80000328 WRITE 1 WAIT /dbxml/resource-lists/users/rjoshi page 13
    80000326 WRITE 1 WAIT /dbxml/resource-lists/users/rjoshi page 13
    c52 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 12
    cad READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 12
    c3e READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 2
    c99 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 2
    c52 READ 6 HELD /dbxml/resource-lists/users/rjoshi handle 0
    c5d READ 2 HELD /dbxml/resource-lists/users/rjoshi handle 0
    c8e READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 0
    cad READ 6 HELD /dbxml/resource-lists/users/rjoshi handle 0
    cb8 READ 2 HELD /dbxml/resource-lists/users/rjoshi handle 0
    ce9 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 0
    c46 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 6
    ca1 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 6
    c42 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 4
    c9d READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 4
    c8e READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 18
    ce9 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 18
    c5d READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 16
    cb8 READ 1 HELD /dbxml/resource-lists/users/rjoshi handle 16

  • [SOLVED] Unable to open some programs in KDE, HFS+ partiton needs fsck

    I've had two unsettling experiences today; I'm not sure if they're related or not.
    I have a Mid-2012 MacBook Pro. I installed bluez + bluez-utils 5.13.1-1 in order to use an Apple Wireless Keyboard and Magic Trackpad. Following the instructions in the wiki for setting up bluetooth devices using bluetoothctl, I was able to connect to the keyboard without a hitch. However, when I connected the trackpad, I would be able to move the mouse for a few seconds and then the whole system would freeze and I would have to force reboot. I tried this a few a times. I couldn't find any errors in the logs or dmesg; the last entry in dmesg would always show the trackpad being connected, so it seemed like whatever happened after that wasn't being logged. I found a couple recent bug reports, one for Arch and one for Fedora, with similar issues.
    I ran pacman -Syu in case my problem was due to outdated drivers or something, but it didn't get fixed. It's possible that the problems I've having now were caused by the update and have nothing to do with the trackpad, but I don't know.
    Here's what was upgraded:
    [2014-01-08 17:33] [PACMAN] starting full system upgrade
    [2014-01-08 17:34] [PACMAN] upgraded glibc (2.18-11 -> 2.18-12)
    [2014-01-08 17:34] [ALPM] warning: /usr/share/config/kdm/kdmrc installed as /usr/share/config/kdm/kdmrc.pacnew
    [2014-01-08 17:34] [PACMAN] upgraded kdebase-workspace (4.11.4-2 -> 4.11.5-1)
    [2014-01-08 17:34] [PACMAN] upgraded lib32-glibc (2.18-11 -> 2.18-12)
    [2014-01-08 17:34] [PACMAN] upgraded libdrm (2.4.50-1 -> 2.4.51-1)
    [2014-01-08 17:34] [PACMAN] upgraded lib32-libdrm (2.4.50-1 -> 2.4.51-1)
    [2014-01-08 17:34] [PACMAN] upgraded lib32-nvidia-304xx-utils (304.117-1 -> 304.117-3)
    [2014-01-08 17:34] [PACMAN] upgraded lib32-pcre (8.33-1 -> 8.34-1)
    [2014-01-08 17:34] [PACMAN] upgraded libcap (2.23-2 -> 2.24-1)
    [2014-01-08 17:34] [PACMAN] upgraded librsvg (1:2.40.1-1 -> 1:2.40.1-3)
    [2014-01-08 17:34] [PACMAN] upgraded libxfont (1.4.6-1 -> 1.4.7-1)
    [2014-01-08 17:34] [PACMAN] upgraded mesa (10.0.1-1 -> 10.0.1-2)
    [2014-01-08 17:34] [PACMAN] upgraded openssl (1.0.1.e-5 -> 1.0.1.f-1)
    [2014-01-08 17:34] [ALPM] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
    [2014-01-08 17:34] [PACMAN] upgraded pacman-mirrorlist (20130830-1 -> 20140107-1)
    [2014-01-08 17:34] [PACMAN] upgraded xorg-server-common (1.14.5-1 -> 1.14.5-2)
    [2014-01-08 17:34] [PACMAN] upgraded xorg-server (1.14.5-1 -> 1.14.5-2)
    [2014-01-08 17:34] [PACMAN] upgraded xorg-server-devel (1.14.5-1 -> 1.14.5-2)
    In any case, now I can't open some programs; Skype and Okular both spend a while trying to open and then close again before anything happens. I also can't open the KDE application menu, although I can still launch programs with the quick launcher.
    Also, I have a non-journaled HFS partition that I use to store media and has been working fine, but now I can't write to it. In dmesg there's an entry from hfsplus saying "Filesystem wasn't unmounted cleanly, mounting it as read-only" and suggesting I run fsck.hfsplus, which doesn't seem to exist. I assume this message refers to my media partition. I tried doing a systemctl short health test which checked out fine, but I don't know that that really has much meaning here. I do have a backup of it if anything risky or drastic needs to be done.
    I'm generally new to Linux and not quite sure how to go about troubleshooting all this. I'd love some places to look, stuff to try, etc. Maybe I should try downgrading X server? I see some potentially weird stuff in my logs but nothing that looks like a smoking gun to me. However, I might just not know enough at this point to be able to recognize it.
    dmesg:
    There're a few firmware bugs and a segfault in konsole (see 0.047701, 0.257523, 12.077596, 27.185098).
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 3.12.6-1-ARCH (tobias@T-POWA-LX) (gcc version 4.8.2 (GCC) ) #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013
    [ 0.000000] Command line: \boot\vmlinuz-linux ro root=UUID=95c49290-b97c-4136-90a5-b8ae1b964cd7 initrd=boot\initramfs-linux.img
    [ 0.000000] e820: BIOS-provided physical RAM map:
    [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000008dfff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000000008e000-0x000000000008ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000000090000-0x000000000009ffff] usable
    [ 0.000000] BIOS-e820: [mem 0x00000000000a0000-0x00000000000bffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
    [ 0.000000] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000020200000-0x0000000040003fff] usable
    [ 0.000000] BIOS-e820: [mem 0x0000000040004000-0x0000000040004fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000040005000-0x000000008cd12fff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000008cd13000-0x000000008cd52fff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x000000008cd53000-0x000000008cd68fff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000008cd69000-0x000000008cd8efff] ACPI data
    [ 0.000000] BIOS-e820: [mem 0x000000008cd8f000-0x000000008ce3afff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000008ce3b000-0x000000008ce8efff] reserved
    [ 0.000000] BIOS-e820: [mem 0x000000008ce8f000-0x000000008cecdfff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000008cece000-0x000000008cefefff] reserved
    [ 0.000000] BIOS-e820: [mem 0x000000008ceff000-0x000000008cf91fff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000008cf92000-0x000000008cffefff] reserved
    [ 0.000000] BIOS-e820: [mem 0x000000008cfff000-0x000000008cffffff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000008d000000-0x000000008f9fffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000e00f8000-0x00000000e00f8fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000ffe70000-0x00000000ffe9ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000016f5fffff] usable
    [ 0.000000] e820: update [mem 0x8970c190-0x89721dcf] usable ==> usable
    [ 0.000000] extended physical RAM map:
    [ 0.000000] reserve setup_data: [mem 0x0000000000000000-0x000000000008dfff] usable
    [ 0.000000] reserve setup_data: [mem 0x000000000008e000-0x000000000008ffff] reserved
    [ 0.000000] reserve setup_data: [mem 0x0000000000090000-0x000000000009ffff] usable
    [ 0.000000] reserve setup_data: [mem 0x00000000000a0000-0x00000000000bffff] reserved
    [ 0.000000] reserve setup_data: [mem 0x0000000000100000-0x000000001fffffff] usable
    [ 0.000000] reserve setup_data: [mem 0x0000000020000000-0x00000000201fffff] reserved
    [ 0.000000] reserve setup_data: [mem 0x0000000020200000-0x0000000040003fff] usable
    [ 0.000000] reserve setup_data: [mem 0x0000000040004000-0x0000000040004fff] reserved
    [ 0.000000] reserve setup_data: [mem 0x0000000040005000-0x000000008970c18f] usable
    [ 0.000000] reserve setup_data: [mem 0x000000008970c190-0x0000000089721dcf] usable
    [ 0.000000] reserve setup_data: [mem 0x0000000089721dd0-0x000000008cd12fff] usable
    [ 0.000000] reserve setup_data: [mem 0x000000008cd13000-0x000000008cd52fff] ACPI NVS
    [ 0.000000] reserve setup_data: [mem 0x000000008cd53000-0x000000008cd68fff] usable
    [ 0.000000] reserve setup_data: [mem 0x000000008cd69000-0x000000008cd8efff] ACPI data
    [ 0.000000] reserve setup_data: [mem 0x000000008cd8f000-0x000000008ce3afff] usable
    [ 0.000000] reserve setup_data: [mem 0x000000008ce3b000-0x000000008ce8efff] reserved
    [ 0.000000] reserve setup_data: [mem 0x000000008ce8f000-0x000000008cecdfff] usable
    [ 0.000000] reserve setup_data: [mem 0x000000008cece000-0x000000008cefefff] reserved
    [ 0.000000] reserve setup_data: [mem 0x000000008ceff000-0x000000008cf91fff] usable
    [ 0.000000] reserve setup_data: [mem 0x000000008cf92000-0x000000008cffefff] reserved
    [ 0.000000] reserve setup_data: [mem 0x000000008cfff000-0x000000008cffffff] usable
    [ 0.000000] reserve setup_data: [mem 0x000000008d000000-0x000000008f9fffff] reserved
    [ 0.000000] reserve setup_data: [mem 0x00000000e00f8000-0x00000000e00f8fff] reserved
    [ 0.000000] reserve setup_data: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
    [ 0.000000] reserve setup_data: [mem 0x00000000ffe70000-0x00000000ffe9ffff] reserved
    [ 0.000000] reserve setup_data: [mem 0x0000000100000000-0x000000016f5fffff] usable
    [ 0.000000] NX (Execute Disable) protection: active
    [ 0.000000] efi: EFI v1.10 by Apple
    [ 0.000000] efi: ACPI=0x8cd8e000 ACPI 2.0=0x8cd8e014 SMBIOS=0x8cd1b000
    [ 0.000000] efi: mem00: type=7, attr=0x80000000000000f, range=[0x0000000000000000-0x000000000008e000) (0MB)
    [ 0.000000] efi: mem01: type=0, attr=0x80000000000000f, range=[0x000000000008e000-0x0000000000090000) (0MB)
    [ 0.000000] efi: mem02: type=2, attr=0x80000000000000f, range=[0x0000000000090000-0x000000000009a000) (0MB)
    [ 0.000000] efi: mem03: type=7, attr=0x80000000000000f, range=[0x000000000009a000-0x00000000000a0000) (0MB)
    [ 0.000000] efi: mem04: type=7, attr=0xf, range=[0x0000000000100000-0x0000000001000000) (15MB)
    [ 0.000000] efi: mem05: type=2, attr=0xf, range=[0x0000000001000000-0x0000000001f54000) (15MB)
    [ 0.000000] efi: mem06: type=7, attr=0xf, range=[0x0000000001f54000-0x0000000020000000) (480MB)
    [ 0.000000] efi: mem07: type=0, attr=0xf, range=[0x0000000020000000-0x0000000020200000) (2MB)
    [ 0.000000] efi: mem08: type=7, attr=0xf, range=[0x0000000020200000-0x0000000040004000) (510MB)
    [ 0.000000] efi: mem09: type=0, attr=0xf, range=[0x0000000040004000-0x0000000040005000) (0MB)
    [ 0.000000] efi: mem10: type=7, attr=0xf, range=[0x0000000040005000-0x000000007fcd7000) (1020MB)
    [ 0.000000] efi: mem11: type=2, attr=0xf, range=[0x000000007fcd7000-0x0000000080000000) (3MB)
    [ 0.000000] efi: mem12: type=7, attr=0xf, range=[0x0000000080000000-0x0000000088fbc000) (143MB)
    [ 0.000000] efi: mem13: type=1, attr=0xf, range=[0x0000000088fbc000-0x000000008936f000) (3MB)
    [ 0.000000] efi: mem14: type=7, attr=0xf, range=[0x000000008936f000-0x000000008970c000) (3MB)
    [ 0.000000] efi: mem15: type=2, attr=0xf, range=[0x000000008970c000-0x000000008972d000) (0MB)
    [ 0.000000] efi: mem16: type=7, attr=0xf, range=[0x000000008972d000-0x0000000089741000) (0MB)
    [ 0.000000] efi: mem17: type=2, attr=0xf, range=[0x0000000089741000-0x0000000089742000) (0MB)
    [ 0.000000] efi: mem18: type=7, attr=0xf, range=[0x0000000089742000-0x0000000089746000) (0MB)
    [ 0.000000] efi: mem19: type=4, attr=0xf, range=[0x0000000089746000-0x0000000089747000) (0MB)
    [ 0.000000] efi: mem20: type=2, attr=0xf, range=[0x0000000089747000-0x0000000089cb2000) (5MB)
    [ 0.000000] efi: mem21: type=4, attr=0xf, range=[0x0000000089cb2000-0x0000000089cb4000) (0MB)
    [ 0.000000] efi: mem22: type=2, attr=0xf, range=[0x0000000089cb4000-0x0000000089ccf000) (0MB)
    [ 0.000000] efi: mem23: type=4, attr=0xf, range=[0x0000000089ccf000-0x0000000089cd0000) (0MB)
    [ 0.000000] efi: mem24: type=2, attr=0xf, range=[0x0000000089cd0000-0x0000000089d0f000) (0MB)
    [ 0.000000] efi: mem25: type=4, attr=0xf, range=[0x0000000089d0f000-0x0000000089d24000) (0MB)
    [ 0.000000] efi: mem26: type=2, attr=0xf, range=[0x0000000089d24000-0x0000000089d4a000) (0MB)
    [ 0.000000] efi: mem27: type=4, attr=0xf, range=[0x0000000089d4a000-0x0000000089d4b000) (0MB)
    [ 0.000000] efi: mem28: type=2, attr=0xf, range=[0x0000000089d4b000-0x0000000089d4d000) (0MB)
    [ 0.000000] efi: mem29: type=4, attr=0xf, range=[0x0000000089d4d000-0x0000000089d53000) (0MB)
    [ 0.000000] efi: mem30: type=2, attr=0xf, range=[0x0000000089d53000-0x0000000089d55000) (0MB)
    [ 0.000000] efi: mem31: type=4, attr=0xf, range=[0x0000000089d55000-0x0000000089d65000) (0MB)
    [ 0.000000] efi: mem32: type=2, attr=0xf, range=[0x0000000089d65000-0x0000000089d99000) (0MB)
    [ 0.000000] efi: mem33: type=4, attr=0xf, range=[0x0000000089d99000-0x0000000089dba000) (0MB)
    [ 0.000000] efi: mem34: type=2, attr=0xf, range=[0x0000000089dba000-0x0000000089dbc000) (0MB)
    [ 0.000000] efi: mem35: type=4, attr=0xf, range=[0x0000000089dbc000-0x0000000089eb2000) (0MB)
    [ 0.000000] efi: mem36: type=2, attr=0xf, range=[0x0000000089eb2000-0x0000000089eb9000) (0MB)
    [ 0.000000] efi: mem37: type=4, attr=0xf, range=[0x0000000089eb9000-0x0000000089ec4000) (0MB)
    [ 0.000000] efi: mem38: type=2, attr=0xf, range=[0x0000000089ec4000-0x0000000089ec5000) (0MB)
    [ 0.000000] efi: mem39: type=4, attr=0xf, range=[0x0000000089ec5000-0x0000000089ec7000) (0MB)
    [ 0.000000] efi: mem40: type=2, attr=0xf, range=[0x0000000089ec7000-0x0000000089ecc000) (0MB)
    [ 0.000000] efi: mem41: type=4, attr=0xf, range=[0x0000000089ecc000-0x0000000089ecd000) (0MB)
    [ 0.000000] efi: mem42: type=2, attr=0xf, range=[0x0000000089ecd000-0x0000000089ece000) (0MB)
    [ 0.000000] efi: mem43: type=4, attr=0xf, range=[0x0000000089ece000-0x0000000089ed2000) (0MB)
    [ 0.000000] efi: mem44: type=2, attr=0xf, range=[0x0000000089ed2000-0x0000000089ed3000) (0MB)
    [ 0.000000] efi: mem45: type=4, attr=0xf, range=[0x0000000089ed3000-0x000000008a123000) (2MB)
    [ 0.000000] efi: mem46: type=3, attr=0xf, range=[0x000000008a123000-0x000000008a143000) (0MB)
    [ 0.000000] efi: mem47: type=4, attr=0xf, range=[0x000000008a143000-0x000000008b3ca000) (18MB)
    [ 0.000000] efi: mem48: type=3, attr=0xf, range=[0x000000008b3ca000-0x000000008b3de000) (0MB)
    [ 0.000000] efi: mem49: type=1, attr=0xf, range=[0x000000008b3de000-0x000000008b413000) (0MB)
    [ 0.000000] efi: mem50: type=4, attr=0xf, range=[0x000000008b413000-0x000000008b41d000) (0MB)
    [ 0.000000] efi: mem51: type=3, attr=0xf, range=[0x000000008b41d000-0x000000008b42b000) (0MB)
    [ 0.000000] efi: mem52: type=4, attr=0xf, range=[0x000000008b42b000-0x000000008b42d000) (0MB)
    [ 0.000000] efi: mem53: type=2, attr=0xf, range=[0x000000008b42d000-0x000000008b42e000) (0MB)
    [ 0.000000] efi: mem54: type=4, attr=0xf, range=[0x000000008b42e000-0x000000008b42f000) (0MB)
    [ 0.000000] efi: mem55: type=2, attr=0xf, range=[0x000000008b42f000-0x000000008b430000) (0MB)
    [ 0.000000] efi: mem56: type=4, attr=0xf, range=[0x000000008b430000-0x000000008b433000) (0MB)
    [ 0.000000] efi: mem57: type=2, attr=0xf, range=[0x000000008b433000-0x000000008b435000) (0MB)
    [ 0.000000] efi: mem58: type=4, attr=0xf, range=[0x000000008b435000-0x000000008b436000) (0MB)
    [ 0.000000] efi: mem59: type=2, attr=0xf, range=[0x000000008b436000-0x000000008b438000) (0MB)
    [ 0.000000] efi: mem60: type=4, attr=0xf, range=[0x000000008b438000-0x000000008b43b000) (0MB)
    [ 0.000000] efi: mem61: type=2, attr=0xf, range=[0x000000008b43b000-0x000000008b43e000) (0MB)
    [ 0.000000] efi: mem62: type=4, attr=0xf, range=[0x000000008b43e000-0x000000008b43f000) (0MB)
    [ 0.000000] efi: mem63: type=2, attr=0xf, range=[0x000000008b43f000-0x000000008b446000) (0MB)
    [ 0.000000] efi: mem64: type=4, attr=0xf, range=[0x000000008b446000-0x000000008b543000) (0MB)
    [ 0.000000] efi: mem65: type=2, attr=0xf, range=[0x000000008b543000-0x000000008b544000) (0MB)
    [ 0.000000] efi: mem66: type=4, attr=0xf, range=[0x000000008b544000-0x000000008b55f000) (0MB)
    [ 0.000000] efi: mem67: type=3, attr=0xf, range=[0x000000008b55f000-0x000000008b567000) (0MB)
    [ 0.000000] efi: mem68: type=4, attr=0xf, range=[0x000000008b567000-0x000000008b57b000) (0MB)
    [ 0.000000] efi: mem69: type=2, attr=0xf, range=[0x000000008b57b000-0x000000008b57c000) (0MB)
    [ 0.000000] efi: mem70: type=4, attr=0xf, range=[0x000000008b57c000-0x000000008b582000) (0MB)
    [ 0.000000] efi: mem71: type=3, attr=0xf, range=[0x000000008b582000-0x000000008b584000) (0MB)
    [ 0.000000] efi: mem72: type=4, attr=0xf, range=[0x000000008b584000-0x000000008b58c000) (0MB)
    [ 0.000000] efi: mem73: type=3, attr=0xf, range=[0x000000008b58c000-0x000000008b593000) (0MB)
    [ 0.000000] efi: mem74: type=4, attr=0xf, range=[0x000000008b593000-0x000000008b594000) (0MB)
    [ 0.000000] efi: mem75: type=3, attr=0xf, range=[0x000000008b594000-0x000000008b595000) (0MB)
    [ 0.000000] efi: mem76: type=4, attr=0xf, range=[0x000000008b595000-0x000000008b597000) (0MB)
    [ 0.000000] efi: mem77: type=3, attr=0xf, range=[0x000000008b597000-0x000000008b598000) (0MB)
    [ 0.000000] efi: mem78: type=4, attr=0xf, range=[0x000000008b598000-0x000000008b599000) (0MB)
    [ 0.000000] efi: mem79: type=2, attr=0xf, range=[0x000000008b599000-0x000000008b59a000) (0MB)
    [ 0.000000] efi: mem80: type=4, attr=0xf, range=[0x000000008b59a000-0x000000008b59e000) (0MB)
    [ 0.000000] efi: mem81: type=3, attr=0xf, range=[0x000000008b59e000-0x000000008b5a3000) (0MB)
    [ 0.000000] efi: mem82: type=4, attr=0xf, range=[0x000000008b5a3000-0x000000008b5bd000) (0MB)
    [ 0.000000] efi: mem83: type=3, attr=0xf, range=[0x000000008b5bd000-0x000000008b5c1000) (0MB)
    [ 0.000000] efi: mem84: type=4, attr=0xf, range=[0x000000008b5c1000-0x000000008b5c5000) (0MB)
    [ 0.000000] efi: mem85: type=2, attr=0xf, range=[0x000000008b5c5000-0x000000008b5c6000) (0MB)
    [ 0.000000] efi: mem86: type=4, attr=0xf, range=[0x000000008b5c6000-0x000000008b5c8000) (0MB)
    [ 0.000000] efi: mem87: type=3, attr=0xf, range=[0x000000008b5c8000-0x000000008b5c9000) (0MB)
    [ 0.000000] efi: mem88: type=4, attr=0xf, range=[0x000000008b5c9000-0x000000008b5ca000) (0MB)
    [ 0.000000] efi: mem89: type=3, attr=0xf, range=[0x000000008b5ca000-0x000000008b5d5000) (0MB)
    [ 0.000000] efi: mem90: type=4, attr=0xf, range=[0x000000008b5d5000-0x000000008b5d9000) (0MB)
    [ 0.000000] efi: mem91: type=3, attr=0xf, range=[0x000000008b5d9000-0x000000008b5db000) (0MB)
    [ 0.000000] efi: mem92: type=4, attr=0xf, range=[0x000000008b5db000-0x000000008b5ec000) (0MB)
    [ 0.000000] efi: mem93: type=2, attr=0xf, range=[0x000000008b5ec000-0x000000008b5ed000) (0MB)
    [ 0.000000] efi: mem94: type=4, attr=0xf, range=[0x000000008b5ed000-0x000000008b5f5000) (0MB)
    [ 0.000000] efi: mem95: type=3, attr=0xf, range=[0x000000008b5f5000-0x000000008b631000) (0MB)
    [ 0.000000] efi: mem96: type=4, attr=0xf, range=[0x000000008b631000-0x000000008b647000) (0MB)
    [ 0.000000] efi: mem97: type=3, attr=0xf, range=[0x000000008b647000-0x000000008b64a000) (0MB)
    [ 0.000000] efi: mem98: type=4, attr=0xf, range=[0x000000008b64a000-0x000000008b681000) (0MB)
    [ 0.000000] efi: mem99: type=3, attr=0xf, range=[0x000000008b681000-0x000000008b68f000) (0MB)
    [ 0.000000] efi: mem100: type=4, attr=0xf, range=[0x000000008b68f000-0x000000008b69d000) (0MB)
    [ 0.000000] efi: mem101: type=3, attr=0xf, range=[0x000000008b69d000-0x000000008b6b1000) (0MB)
    [ 0.000000] efi: mem102: type=4, attr=0xf, range=[0x000000008b6b1000-0x000000008b6b5000) (0MB)
    [ 0.000000] efi: mem103: type=3, attr=0xf, range=[0x000000008b6b5000-0x000000008b6bb000) (0MB)
    [ 0.000000] efi: mem104: type=2, attr=0xf, range=[0x000000008b6bb000-0x000000008b6bc000) (0MB)
    [ 0.000000] efi: mem105: type=4, attr=0xf, range=[0x000000008b6bc000-0x000000008b6bd000) (0MB)
    [ 0.000000] efi: mem106: type=3, attr=0xf, range=[0x000000008b6bd000-0x000000008b6bf000) (0MB)
    [ 0.000000] efi: mem107: type=4, attr=0xf, range=[0x000000008b6bf000-0x000000008b6c6000) (0MB)
    [ 0.000000] efi: mem108: type=3, attr=0xf, range=[0x000000008b6c6000-0x000000008b6df000) (0MB)
    [ 0.000000] efi: mem109: type=4, attr=0xf, range=[0x000000008b6df000-0x000000008b6e0000) (0MB)
    [ 0.000000] efi: mem110: type=3, attr=0xf, range=[0x000000008b6e0000-0x000000008b6e1000) (0MB)
    [ 0.000000] efi: mem111: type=4, attr=0xf, range=[0x000000008b6e1000-0x000000008b6e2000) (0MB)
    [ 0.000000] efi: mem112: type=2, attr=0xf, range=[0x000000008b6e2000-0x000000008b6e3000) (0MB)
    [ 0.000000] efi: mem113: type=4, attr=0xf, range=[0x000000008b6e3000-0x000000008b6e5000) (0MB)
    [ 0.000000] efi: mem114: type=3, attr=0xf, range=[0x000000008b6e5000-0x000000008b6e6000) (0MB)
    [ 0.000000] efi: mem115: type=4, attr=0xf, range=[0x000000008b6e6000-0x000000008b6e7000) (0MB)
    [ 0.000000] efi: mem116: type=2, attr=0xf, range=[0x000000008b6e7000-0x000000008b6e8000) (0MB)
    [ 0.000000] efi: mem117: type=4, attr=0xf, range=[0x000000008b6e8000-0x000000008b6e9000) (0MB)
    [ 0.000000] efi: mem118: type=3, attr=0xf, range=[0x000000008b6e9000-0x000000008b6eb000) (0MB)
    [ 0.000000] efi: mem119: type=4, attr=0xf, range=[0x000000008b6eb000-0x000000008b6ec000) (0MB)
    [ 0.000000] efi: mem120: type=3, attr=0xf, range=[0x000000008b6ec000-0x000000008b6f1000) (0MB)
    [ 0.000000] efi: mem121: type=4, attr=0xf, range=[0x000000008b6f1000-0x000000008b6f2000) (0MB)
    [ 0.000000] efi: mem122: type=3, attr=0xf, range=[0x000000008b6f2000-0x000000008b6f3000) (0MB)
    [ 0.000000] efi: mem123: type=4, attr=0xf, range=[0x000000008b6f3000-0x000000008b6f6000) (0MB)
    [ 0.000000] efi: mem124: type=3, attr=0xf, range=[0x000000008b6f6000-0x000000008b6f7000) (0MB)
    [ 0.000000] efi: mem125: type=4, attr=0xf, range=[0x000000008b6f7000-0x000000008b6f9000) (0MB)
    [ 0.000000] efi: mem126: type=3, attr=0xf, range=[0x000000008b6f9000-0x000000008b6fb000) (0MB)
    [ 0.000000] efi: mem127: type=2, attr=0xf, range=[0x000000008b6fb000-0x000000008b6fc000) (0MB)
    [ 0.000000] efi: mem128: type=4, attr=0xf, range=[0x000000008b6fc000-0x000000008b6fe000) (0MB)
    [ 0.000000] efi: mem129: type=3, attr=0xf, range=[0x000000008b6fe000-0x000000008b702000) (0MB)
    [ 0.000000] efi: mem130: type=4, attr=0xf, range=[0x000000008b702000-0x000000008b705000) (0MB)
    [ 0.000000] efi: mem131: type=3, attr=0xf, range=[0x000000008b705000-0x000000008b70d000) (0MB)
    [ 0.000000] efi: mem132: type=4, attr=0xf, range=[0x000000008b70d000-0x000000008b710000) (0MB)
    [ 0.000000] efi: mem133: type=3, attr=0xf, range=[0x000000008b710000-0x000000008b715000) (0MB)
    [ 0.000000] efi: mem134: type=4, attr=0xf, range=[0x000000008b715000-0x000000008b716000) (0MB)
    [ 0.000000] efi: mem135: type=3, attr=0xf, range=[0x000000008b716000-0x000000008b717000) (0MB)
    [ 0.000000] efi: mem136: type=4, attr=0xf, range=[0x000000008b717000-0x000000008b718000) (0MB)
    [ 0.000000] efi: mem137: type=3, attr=0xf, range=[0x000000008b718000-0x000000008b71e000) (0MB)
    [ 0.000000] efi: mem138: type=2, attr=0xf, range=[0x000000008b71e000-0x000000008b71f000) (0MB)
    [ 0.000000] efi: mem139: type=4, attr=0xf, range=[0x000000008b71f000-0x000000008b720000) (0MB)
    [ 0.000000] efi: mem140: type=3, attr=0xf, range=[0x000000008b720000-0x000000008b722000) (0MB)
    [ 0.000000] efi: mem141: type=4, attr=0xf, range=[0x000000008b722000-0x000000008b724000) (0MB)
    [ 0.000000] efi: mem142: type=3, attr=0xf, range=[0x000000008b724000-0x000000008b728000) (0MB)
    [ 0.000000] efi: mem143: type=2, attr=0xf, range=[0x000000008b728000-0x000000008b729000) (0MB)
    [ 0.000000] efi: mem144: type=4, attr=0xf, range=[0x000000008b729000-0x000000008b733000) (0MB)
    [ 0.000000] efi: mem145: type=3, attr=0xf, range=[0x000000008b733000-0x000000008b738000) (0MB)
    [ 0.000000] efi: mem146: type=4, attr=0xf, range=[0x000000008b738000-0x000000008b741000) (0MB)
    [ 0.000000] efi: mem147: type=3, attr=0xf, range=[0x000000008b741000-0x000000008b75a000) (0MB)
    [ 0.000000] efi: mem148: type=4, attr=0xf, range=[0x000000008b75a000-0x000000008b75c000) (0MB)
    [ 0.000000] efi: mem149: type=3, attr=0xf, range=[0x000000008b75c000-0x000000008b76a000) (0MB)
    [ 0.000000] efi: mem150: type=4, attr=0xf, range=[0x000000008b76a000-0x000000008b76b000) (0MB)
    [ 0.000000] efi: mem151: type=3, attr=0xf, range=[0x000000008b76b000-0x000000008b76e000) (0MB)
    [ 0.000000] efi: mem152: type=4, attr=0xf, range=[0x000000008b76e000-0x000000008b771000) (0MB)
    [ 0.000000] efi: mem153: type=3, attr=0xf, range=[0x000000008b771000-0x000000008b780000) (0MB)
    [ 0.000000] efi: mem154: type=4, attr=0xf, range=[0x000000008b780000-0x000000008b781000) (0MB)
    [ 0.000000] efi: mem155: type=3, attr=0xf, range=[0x000000008b781000-0x000000008b785000) (0MB)
    [ 0.000000] efi: mem156: type=2, attr=0xf, range=[0x000000008b785000-0x000000008b786000) (0MB)
    [ 0.000000] efi: mem157: type=4, attr=0xf, range=[0x000000008b786000-0x000000008b78b000) (0MB)
    [ 0.000000] efi: mem158: type=3, attr=0xf, range=[0x000000008b78b000-0x000000008b78f000) (0MB)
    [ 0.000000] efi: mem159: type=4, attr=0xf, range=[0x000000008b78f000-0x000000008b792000) (0MB)
    [ 0.000000] efi: mem160: type=2, attr=0xf, range=[0x000000008b792000-0x000000008b793000) (0MB)
    [ 0.000000] efi: mem161: type=4, attr=0xf, range=[0x000000008b793000-0x000000008b797000) (0MB)
    [ 0.000000] efi: mem162: type=3, attr=0xf, range=[0x000000008b797000-0x000000008b798000) (0MB)
    [ 0.000000] efi: mem163: type=4, attr=0xf, range=[0x000000008b798000-0x000000008b79a000) (0MB)
    [ 0.000000] efi: mem164: type=2, attr=0xf, range=[0x000000008b79a000-0x000000008b79b000) (0MB)
    [ 0.000000] efi: mem165: type=4, attr=0xf, range=[0x000000008b79b000-0x000000008b79c000) (0MB)
    [ 0.000000] efi: mem166: type=3, attr=0xf, range=[0x000000008b79c000-0x000000008b7ae000) (0MB)
    [ 0.000000] efi: mem167: type=4, attr=0xf, range=[0x000000008b7ae000-0x000000008b7af000) (0MB)
    [ 0.000000] efi: mem168: type=3, attr=0xf, range=[0x000000008b7af000-0x000000008b7b1000) (0MB)
    [ 0.000000] efi: mem169: type=4, attr=0xf, range=[0x000000008b7b1000-0x000000008b7b3000) (0MB)
    [ 0.000000] efi: mem170: type=3, attr=0xf, range=[0x000000008b7b3000-0x000000008b7bc000) (0MB)
    [ 0.000000] efi: mem171: type=4, attr=0xf, range=[0x000000008b7bc000-0x000000008b7c3000) (0MB)
    [ 0.000000] efi: mem172: type=3, attr=0xf, range=[0x000000008b7c3000-0x000000008b7c4000) (0MB)
    [ 0.000000] efi: mem173: type=4, attr=0xf, range=[0x000000008b7c4000-0x000000008b7c5000) (0MB)
    [ 0.000000] efi: mem174: type=2, attr=0xf, range=[0x000000008b7c5000-0x000000008b7c6000) (0MB)
    [ 0.000000] efi: mem175: type=4, attr=0xf, range=[0x000000008b7c6000-0x000000008b7c7000) (0MB)
    [ 0.000000] efi: mem176: type=3, attr=0xf, range=[0x000000008b7c7000-0x000000008b7d5000) (0MB)
    [ 0.000000] efi: mem177: type=4, attr=0xf, range=[0x000000008b7d5000-0x000000008b7d6000) (0MB)
    [ 0.000000] efi: mem178: type=3, attr=0xf, range=[0x000000008b7d6000-0x000000008b7e3000) (0MB)
    [ 0.000000] efi: mem179: type=4, attr=0xf, range=[0x000000008b7e3000-0x000000008b7e4000) (0MB)
    [ 0.000000] efi: mem180: type=3, attr=0xf, range=[0x000000008b7e4000-0x000000008b7ee000) (0MB)
    [ 0.000000] efi: mem181: type=4, attr=0xf, range=[0x000000008b7ee000-0x000000008b7ef000) (0MB)
    [ 0.000000] efi: mem182: type=3, attr=0xf, range=[0x000000008b7ef000-0x000000008b7f5000) (0MB)
    [ 0.000000] efi: mem183: type=4, attr=0xf, range=[0x000000008b7f5000-0x000000008b7f9000) (0MB)
    [ 0.000000] efi: mem184: type=3, attr=0xf, range=[0x000000008b7f9000-0x000000008b7ff000) (0MB)
    [ 0.000000] efi: mem185: type=4, attr=0xf, range=[0x000000008b7ff000-0x000000008b800000) (0MB)
    [ 0.000000] efi: mem186: type=3, attr=0xf, range=[0x000000008b800000-0x000000008b801000) (0MB)
    [ 0.000000] efi: mem187: type=4, attr=0xf, range=[0x000000008b801000-0x000000008b802000) (0MB)
    [ 0.000000] efi: mem188: type=2, attr=0xf, range=[0x000000008b802000-0x000000008b804000) (0MB)
    [ 0.000000] efi: mem189: type=4, attr=0xf, range=[0x000000008b804000-0x000000008b805000) (0MB)
    [ 0.000000] efi: mem190: type=3, attr=0xf, range=[0x000000008b805000-0x000000008b806000) (0MB)
    [ 0.000000] efi: mem191: type=4, attr=0xf, range=[0x000000008b806000-0x000000008b80b000) (0MB)
    [ 0.000000] efi: mem192: type=3, attr=0xf, range=[0x000000008b80b000-0x000000008b80d000) (0MB)
    [ 0.000000] efi: mem193: type=4, attr=0xf, range=[0x000000008b80d000-0x000000008b810000) (0MB)
    [ 0.000000] efi: mem194: type=2, attr=0xf, range=[0x000000008b810000-0x000000008b811000) (0MB)
    [ 0.000000] efi: mem195: type=3, attr=0xf, range=[0x000000008b811000-0x000000008b812000) (0MB)
    [ 0.000000] efi: mem196: type=4, attr=0xf, range=[0x000000008b812000-0x000000008b814000) (0MB)
    [ 0.000000] efi: mem197: type=3, attr=0xf, range=[0x000000008b814000-0x000000008b817000) (0MB)
    [ 0.000000] efi: mem198: type=4, attr=0xf, range=[0x000000008b817000-0x000000008b819000) (0MB)
    [ 0.000000] efi: mem199: type=3, attr=0xf, range=[0x000000008b819000-0x000000008b824000) (0MB)
    [ 0.000000] efi: mem200: type=4, attr=0xf, range=[0x000000008b824000-0x000000008b826000) (0MB)
    [ 0.000000] efi: mem201: type=3, attr=0xf, range=[0x000000008b826000-0x000000008b828000) (0MB)
    [ 0.000000] efi: mem202: type=4, attr=0xf, range=[0x000000008b828000-0x000000008b82c000) (0MB)
    [ 0.000000] efi: mem203: type=3, attr=0xf, range=[0x000000008b82c000-0x000000008b82d000) (0MB)
    [ 0.000000] efi: mem204: type=4, attr=0xf, range=[0x000000008b82d000-0x000000008b82f000) (0MB)
    [ 0.000000] efi: mem205: type=2, attr=0xf, range=[0x000000008b82f000-0x000000008b830000) (0MB)
    [ 0.000000] efi: mem206: type=4, attr=0xf, range=[0x000000008b830000-0x000000008b832000) (0MB)
    [ 0.000000] efi: mem207: type=3, attr=0xf, range=[0x000000008b832000-0x000000008b833000) (0MB)
    [ 0.000000] efi: mem208: type=4, attr=0xf, range=[0x000000008b833000-0x000000008b837000) (0MB)
    [ 0.000000] efi: mem209: type=3, attr=0xf, range=[0x000000008b837000-0x000000008b839000) (0MB)
    [ 0.000000] efi: mem210: type=4, attr=0xf, range=[0x000000008b839000-0x000000008b83b000) (0MB)
    [ 0.000000] efi: mem211: type=2, attr=0xf, range=[0x000000008b83b000-0x000000008b83c000) (0MB)
    [ 0.000000] efi: mem212: type=4, attr=0xf, range=[0x000000008b83c000-0x000000008b83d000) (0MB)
    [ 0.000000] efi: mem213: type=3, attr=0xf, range=[0x000000008b83d000-0x000000008b83e000) (0MB)
    [ 0.000000] efi: mem214: type=4, attr=0xf, range=[0x000000008b83e000-0x000000008b841000) (0MB)
    [ 0.000000] efi: mem215: type=3, attr=0xf, range=[0x000000008b841000-0x000000008b842000) (0MB)
    [ 0.000000] efi: mem216: type=4, attr=0xf, range=[0x000000008b842000-0x000000008b859000) (0MB)
    [ 0.000000] efi: mem217: type=3, attr=0xf, range=[0x000000008b859000-0x000000008b85e000) (0MB)
    [ 0.000000] efi: mem218: type=4, attr=0xf, range=[0x000000008b85e000-0x000000008b863000) (0MB)
    [ 0.000000] efi: mem219: type=2, attr=0xf, range=[0x000000008b863000-0x000000008b864000) (0MB)
    [ 0.000000] efi: mem220: type=4, attr=0xf, range=[0x000000008b864000-0x000000008b8bf000) (0MB)
    [ 0.000000] efi: mem221: type=3, attr=0xf, range=[0x000000008b8bf000-0x000000008b8d1000) (0MB)
    [ 0.000000] efi: mem222: type=4, attr=0xf, range=[0x000000008b8d1000-0x000000008b8ec000) (0MB)
    [ 0.000000] efi: mem223: type=3, attr=0xf, range=[0x000000008b8ec000-0x000000008b8ef000) (0MB)
    [ 0.000000] efi: mem224: type=4, attr=0xf, range=[0x000000008b8ef000-0x000000008b91b000) (0MB)
    [ 0.000000] efi: mem225: type=3, attr=0xf, range=[0x000000008b91b000-0x000000008b92f000) (0MB)
    [ 0.000000] efi: mem226: type=4, attr=0xf, range=[0x000000008b92f000-0x000000008b930000) (0MB)
    [ 0.000000] efi: mem227: type=2, attr=0xf, range=[0x000000008b930000-0x000000008b931000) (0MB)
    [ 0.000000] efi: mem228: type=4, attr=0xf, range=[0x000000008b931000-0x000000008b94d000) (0MB)
    [ 0.000000] efi: mem229: type=3, attr=0xf, range=[0x000000008b94d000-0x000000008b952000) (0MB)
    [ 0.000000] efi: mem230: type=4, attr=0xf, range=[0x000000008b952000-0x000000008b958000) (0MB)
    [ 0.000000] efi: mem231: type=2, attr=0xf, range=[0x000000008b958000-0x000000008b959000) (0MB)
    [ 0.000000] efi: mem232: type=4, attr=0xf, range=[0x000000008b959000-0x000000008b95a000) (0MB)
    [ 0.000000] efi: mem233: type=3, attr=0xf, range=[0x000000008b95a000-0x000000008b95b000) (0MB)
    [ 0.000000] efi: mem234: type=4, attr=0xf, range=[0x000000008b95b000-0x000000008b95c000) (0MB)
    [ 0.000000] efi: mem235: type=3, attr=0xf, range=[0x000000008b95c000-0x000000008b95d000) (0MB)
    [ 0.000000] efi: mem236: type=4, attr=0xf, range=[0x000000008b95d000-0x000000008b970000) (0MB)
    [ 0.000000] efi: mem237: type=3, attr=0xf, range=[0x000000008b970000-0x000000008b975000) (0MB)
    [ 0.000000] efi: mem238: type=4, attr=0xf, range=[0x000000008b975000-0x000000008b976000) (0MB)
    [ 0.000000] efi: mem239: type=3, attr=0xf, range=[0x000000008b976000-0x000000008b979000) (0MB)
    [ 0.000000] efi: mem240: type=4, attr=0xf, range=[0x000000008b979000-0x000000008b97a000) (0MB)
    [ 0.000000] efi: mem241: type=3, attr=0xf, range=[0x000000008b97a000-0x000000008b98b000) (0MB)
    [ 0.000000] efi: mem242: type=4, attr=0xf, range=[0x000000008b98b000-0x000000008b98e000) (0MB)
    [ 0.000000] efi: mem243: type=3, attr=0xf, range=[0x000000008b98e000-0x000000008b99a000) (0MB)
    [ 0.000000] efi: mem244: type=2, attr=0xf, range=[0x000000008b99a000-0x000000008b99b000) (0MB)
    [ 0.000000] efi: mem245: type=4, attr=0xf, range=[0x000000008b99b000-0x000000008b99c000) (0MB)
    [ 0.000000] efi: mem246: type=3, attr=0xf, range=[0x000000008b99c000-0x000000008b99d000) (0MB)
    [ 0.000000] efi: mem247: type=2, attr=0xf, range=[0x000000008b99d000-0x000000008b99e000) (0MB)
    [ 0.000000] efi: mem248: type=4, attr=0xf, range=[0x000000008b99e000-0x000000008b99f000) (0MB)
    [ 0.000000] efi: mem249: type=3, attr=0xf, range=[0x000000008b99f000-0x000000008b9a2000) (0MB)
    [ 0.000000] efi: mem250: type=4, attr=0xf, range=[0x000000008b9a2000-0x000000008b9a3000) (0MB)
    [ 0.000000] efi: mem251: type=3, attr=0xf, range=[0x000000008b9a3000-0x000000008b9a5000) (0MB)
    [ 0.000000] efi: mem252: type=2, attr=0xf, range=[0x000000008b9a5000-0x000000008b9a6000) (0MB)
    [ 0.000000] efi: mem253: type=4, attr=0xf, range=[0x000000008b9a6000-0x000000008b9a7000) (0MB)
    [ 0.000000] efi: mem254: type=3, attr=0xf, range=[0x000000008b9a7000-0x000000008b9a8000) (0MB)
    [ 0.000000] efi: mem255: type=4, attr=0xf, range=[0x000000008b9a8000-0x000000008bdc9000) (4MB)
    [ 0.000000] efi: mem256: type=3, attr=0xf, range=[0x000000008bdc9000-0x000000008bdce000) (0MB)
    [ 0.000000] efi: mem257: type=4, attr=0xf, range=[0x000000008bdce000-0x000000008be56000) (0MB)
    [ 0.000000] efi: mem258: type=3, attr=0xf, range=[0x000000008be56000-0x000000008be5d000) (0MB)
    [ 0.000000] efi: mem259: type=4, attr=0xf, range=[0x000000008be5d000-0x000000008be5e000) (0MB)
    [ 0.000000] efi: mem260: type=2, attr=0xf, range=[0x000000008be5e000-0x000000008be5f000) (0MB)
    [ 0.000000] efi: mem261: type=3, attr=0xf, range=[0x000000008be5f000-0x000000008be60000) (0MB)
    [ 0.000000] efi: mem262: type=4, attr=0xf, range=[0x000000008be60000-0x000000008be61000) (0MB)
    [ 0.000000] efi: mem263: type=3, attr=0xf, range=[0x000000008be61000-0x000000008be66000) (0MB)
    [ 0.000000] efi: mem264: type=4, attr=0xf, range=[0x000000008be66000-0x000000008be67000) (0MB)
    [ 0.000000] efi: mem265: type=3, attr=0xf, range=[0x000000008be67000-0x000000008be68000) (0MB)
    [ 0.000000] efi: mem266: type=4, attr=0xf, range=[0x000000008be68000-0x000000008be69000) (0MB)
    [ 0.000000] efi: mem267: type=3, attr=0xf, range=[0x000000008be69000-0x000000008be6a000) (0MB)
    [ 0.000000] efi: mem268: type=4, attr=0xf, range=[0x000000008be6a000-0x000000008be6c000) (0MB)
    [ 0.000000] efi: mem269: type=3, attr=0xf, range=[0x000000008be6c000-0x000000008be6d000) (0MB)
    [ 0.000000] efi: mem270: type=4, attr=0xf, range=[0x000000008be6d000-0x000000008be92000) (0MB)
    [ 0.000000] efi: mem271: type=3, attr=0xf, range=[0x000000008be92000-0x000000008be93000) (0MB)
    [ 0.000000] efi: mem272: type=4, attr=0xf, range=[0x000000008be93000-0x000000008c358000) (4MB)
    [ 0.000000] efi: mem273: type=2, attr=0xf, range=[0x000000008c358000-0x000000008c359000) (0MB)
    [ 0.000000] efi: mem274: type=4, attr=0xf, range=[0x000000008c359000-0x000000008ccf7000) (9MB)
    [ 0.000000] efi: mem275: type=2, attr=0xf, range=[0x000000008ccf7000-0x000000008ccf8000) (0MB)
    [ 0.000000] efi: mem276: type=4, attr=0xf, range=[0x000000008ccf8000-0x000000008ccfa000) (0MB)
    [ 0.000000] efi: mem277: type=2, attr=0xf, range=[0x000000008ccfa000-0x000000008ccfb000) (0MB)
    [ 0.000000] efi: mem278: type=4, attr=0xf, range=[0x000000008ccfb000-0x000000008cd03000) (0MB)
    [ 0.000000] efi: mem279: type=7, attr=0xf, range=[0x000000008cd03000-0x000000008cd13000) (0MB)
    [ 0.000000] efi: mem280: type=10, attr=0xf, range=[0x000000008cd13000-0x000000008cd53000) (0MB)
    [ 0.000000] efi: mem281: type=7, attr=0xf, range=[0x000000008cd53000-0x000000008cd69000) (0MB)
    [ 0.000000] efi: mem282: type=9, attr=0xf, range=[0x000000008cd69000-0x000000008cd8f000) (0MB)
    [ 0.000000] efi: mem283: type=7, attr=0xf, range=[0x000000008cd8f000-0x000000008ce3b000) (0MB)
    [ 0.000000] efi: mem284: type=6, attr=0x800000000000000f, range=[0x000000008ce3b000-0x000000008ce8f000) (0MB)
    [ 0.000000] efi: mem285: type=7, attr=0xf, range=[0x000000008ce8f000-0x000000008cece000) (0MB)
    [ 0.000000] efi: mem286: type=5, attr=0x800000000000000f, range=[0x000000008cece000-0x000000008ceff000) (0MB)
    [ 0.000000] efi: mem287: type=7, attr=0xf, range=[0x000000008ceff000-0x000000008cf92000) (0MB)
    [ 0.000000] efi: mem288: type=0, attr=0xf, range=[0x000000008cf92000-0x000000008cfff000) (0MB)
    [ 0.000000] efi: mem289: type=2, attr=0xf, range=[0x000000008cfff000-0x000000008d000000) (0MB)
    [ 0.000000] efi: mem290: type=7, attr=0xf, range=[0x0000000100000000-0x000000016f600000) (1782MB)
    [ 0.000000] efi: mem291: type=0, attr=0x8000000000000000, range=[0x00000000000a0000-0x00000000000c0000) (0MB)
    [ 0.000000] efi: mem292: type=0, attr=0x8000000000000000, range=[0x000000008d000000-0x000000008fa00000) (42MB)
    [ 0.000000] efi: mem293: type=11, attr=0x8000000000000000, range=[0x00000000e00f8000-0x00000000e00f9000) (0MB)
    [ 0.000000] efi: mem294: type=11, attr=0x8000000000000000, range=[0x00000000fed1c000-0x00000000fed20000) (0MB)
    [ 0.000000] efi: mem295: type=11, attr=0x8000000000000000, range=[0x00000000ffe70000-0x00000000ffea0000) (0MB)
    [ 0.000000] SMBIOS 2.4 present.
    [ 0.000000] DMI: Apple Inc. MacBookPro9,1/Mac-4B7AC7E43945597E, BIOS MBP91.88Z.00D3.B08.1208081132 08/08/2012
    [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
    [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
    [ 0.000000] No AGP bridge found
    [ 0.000000] e820: last_pfn = 0x16f600 max_arch_pfn = 0x400000000
    [ 0.000000] MTRR default type: write-back
    [ 0.000000] MTRR fixed ranges enabled:
    [ 0.000000] 00000-9FFFF write-back
    [ 0.000000] A0000-BFFFF uncachable
    [ 0.000000] C0000-DFFFF write-protect
    [ 0.000000] E0000-FFFFF uncachable
    [ 0.000000] MTRR variable ranges enabled:
    [ 0.000000] 0 base 0C0000000 mask FC0000000 uncachable
    [ 0.000000] 1 base 0A0000000 mask FE0000000 uncachable
    [ 0.000000] 2 base 090000000 mask FF0000000 uncachable
    [ 0.000000] 3 base 08E000000 mask FFE000000 uncachable
    [ 0.000000] 4 base 08D000000 mask FFF000000 uncachable
    [ 0.000000] 5 disabled
    [ 0.000000] 6 disabled
    [ 0.000000] 7 disabled
    [ 0.000000] 8 disabled
    [ 0.000000] 9 disabled
    [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    [ 0.000000] e820: last_pfn = 0x8d000 max_arch_pfn = 0x400000000
    [ 0.000000] Scanning 1 areas for low memory corruption
    [ 0.000000] Base memory trampoline at [ffff880000090000] 90000 size 24576
    [ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
    [ 0.000000] [mem 0x00000000-0x000fffff] page 4k
    [ 0.000000] BRK [0x02b32000, 0x02b32fff] PGTABLE
    [ 0.000000] BRK [0x02b33000, 0x02b33fff] PGTABLE
    [ 0.000000] BRK [0x02b34000, 0x02b34fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x16f400000-0x16f5fffff]
    [ 0.000000] [mem 0x16f400000-0x16f5fffff] page 2M
    [ 0.000000] BRK [0x02b35000, 0x02b35fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x16c000000-0x16f3fffff]
    [ 0.000000] [mem 0x16c000000-0x16f3fffff] page 2M
    [ 0.000000] init_memory_mapping: [mem 0x100000000-0x16bffffff]
    [ 0.000000] [mem 0x100000000-0x16bffffff] page 2M
    [ 0.000000] BRK [0x02b36000, 0x02b36fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x00100000-0x1fffffff]
    [ 0.000000] [mem 0x00100000-0x001fffff] page 4k
    [ 0.000000] [mem 0x00200000-0x1fffffff] page 2M
    [ 0.000000] init_memory_mapping: [mem 0x20200000-0x40003fff]
    [ 0.000000] [mem 0x20200000-0x3fffffff] page 2M
    [ 0.000000] [mem 0x40000000-0x40003fff] page 4k
    [ 0.000000] BRK [0x02b37000, 0x02b37fff] PGTABLE
    [ 0.000000] init_memory_mapping: [mem 0x40005000-0x8cd12fff]
    [ 0.000000] [mem 0x40005000-0x401fffff] page 4k
    [ 0.000000] [mem 0x40200000-0x8cbfffff] page 2M
    [ 0.000000] [mem 0x8cc00000-0x8cd12fff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0x8cd53000-0x8cd68fff]
    [ 0.000000] [mem 0x8cd53000-0x8cd68fff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0x8cd8f000-0x8ce3afff]
    [ 0.000000] [mem 0x8cd8f000-0x8ce3afff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0x8ce8f000-0x8cecdfff]
    [ 0.000000] [mem 0x8ce8f000-0x8cecdfff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0x8ceff000-0x8cf91fff]
    [ 0.000000] [mem 0x8ceff000-0x8cf91fff] page 4k
    [ 0.000000] init_memory_mapping: [mem 0x8cfff000-0x8cffffff]
    [ 0.000000] [mem 0x8cfff000-0x8cffffff] page 4k
    [ 0.000000] RAMDISK: [mem 0x7fcd7000-0x7fffffff]
    [ 0.000000] ACPI: RSDP 000000008cd8e014 00024 (v02 APPLE )
    [ 0.000000] ACPI: XSDT 000000008cd8e1c0 000B4 (v01 APPLE Apple00 00000000 01000013)
    [ 0.000000] ACPI: FACP 000000008cd8c000 000F4 (v04 APPLE Apple00 00000000 Loki 0000005F)
    [ 0.000000] ACPI: DSDT 000000008cd82000 04D53 (v01 APPLE MacBookP 00090001 INTL 20100915)
    [ 0.000000] ACPI: FACS 000000008cd1e000 00040
    [ 0.000000] ACPI: HPET 000000008cd8b000 00038 (v01 APPLE Apple00 00000001 Loki 0000005F)
    [ 0.000000] ACPI: APIC 000000008cd8a000 000BC (v02 APPLE Apple00 00000001 Loki 0000005F)
    [ 0.000000] ACPI: SBST 000000008cd88000 00030 (v01 APPLE Apple00 00000001 Loki 0000005F)
    [ 0.000000] ACPI: ECDT 000000008cd87000 00053 (v01 APPLE Apple00 00000001 Loki 0000005F)
    [ 0.000000] ACPI: SSDT 000000008cd7f000 002E0 (v01 APPLE SataAhci 00001000 INTL 20100915)
    [ 0.000000] ACPI: SSDT 000000008cd7e000 00024 (v01 APPLE SmcDppt 00001000 INTL 20100915)
    [ 0.000000] ACPI: SSDT 000000008cd79000 00D20 (v01 APPLE UsbPpt 00001000 INTL 20100915)
    [ 0.000000] ACPI: SSDT 000000008cd77000 00159 (v02 APPLE IGHda 00001000 INTL 20100915)
    [ 0.000000] ACPI: SSDT 000000008cd75000 00032 (v01 APPLE SsdtS3 00001000 INTL 20100915)
    [ 0.000000] ACPI: SSDT 000000008cd73000 015EB (v02 APPLE SsdtIGPU 00001000 INTL 20100915)
    [ 0.000000] ACPI: SSDT 000000008cd6e000 013D8 (v01 APPLE TbtPEG11 00001000 INTL 20100915)
    [ 0.000000] ACPI: SSDT 000000008cd6d000 00615 (v01 PmRef Cpu0Ist 00003000 INTL 20100915)
    [ 0.000000] ACPI: SSDT 000000008cd6c000 00B3D (v01 PmRef CpuPm 00003000 INTL 20100915)
    [ 0.000000] ACPI: SSDT 000000008cd6b000 00315 (v01 PmRef Cpu0Tst 00003000 INTL 20100915)
    [ 0.000000] ACPI: SSDT 000000008cd6a000 0037A (v01 PmRef ApTst 00003000 INTL 20100915)
    [ 0.000000] ACPI: DMAR 000000008cd69000 00088 (v01 APPLE IVB 00000001 AAPL 00000001)
    [ 0.000000] ACPI: MCFG 000000008cd89000 0003C (v01 APPLE Apple00 00000001 Loki 0000005F)
    [ 0.000000] ACPI: Local APIC address 0xfee00000
    [ 0.000000] No NUMA configuration found
    [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000016f5fffff]
    [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x16f5fffff]
    [ 0.000000] NODE_DATA [mem 0x16f5f7000-0x16f5fbfff]
    [ 0.000000] [ffffea0000000000-ffffea0005bfffff] PMD -> [ffff88016ac00000-ffff88016ebfffff] on node 0
    [ 0.000000] Zone ranges:
    [ 0.000000] DMA [mem 0x00001000-0x00ffffff]
    [ 0.000000] DMA32 [mem 0x01000000-0xffffffff]
    [ 0.000000] Normal [mem 0x100000000-0x16f5fffff]
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x00001000-0x0008dfff]
    [ 0.000000] node 0: [mem 0x00090000-0x0009ffff]
    [ 0.000000] node 0: [mem 0x00100000-0x1fffffff]
    [ 0.000000] node 0: [mem 0x20200000-0x40003fff]
    [ 0.000000] node 0: [mem 0x40005000-0x8cd12fff]
    [ 0.000000] node 0: [mem 0x8cd53000-0x8cd68fff]
    [ 0.000000] node 0: [mem 0x8cd8f000-0x8ce3afff]
    [ 0.000000] node 0: [mem 0x8ce8f000-0x8cecdfff]
    [ 0.000000] node 0: [mem 0x8ceff000-0x8cf91fff]
    [ 0.000000] node 0: [mem 0x8cfff000-0x8cffffff]
    [ 0.000000] node 0: [mem 0x100000000-0x16f5fffff]
    [ 0.000000] On node 0 totalpages: 1032772
    [ 0.000000] DMA zone: 64 pages used for memmap
    [ 0.000000] DMA zone: 26 pages reserved
    [ 0.000000] DMA zone: 3997 pages, LIFO batch:0
    [ 0.000000] DMA32 zone: 8947 pages used for memmap
    [ 0.000000] DMA32 zone: 572583 pages, LIFO batch:31
    [ 0.000000] Normal zone: 7128 pages used for memmap
    [ 0.000000] Normal zone: 456192 pages, LIFO batch:31
    [ 0.000000] ACPI: PM-Timer IO Port: 0x408
    [ 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[0x02] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x04] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x06] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x01] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x03] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x05] enabled)
    [ 0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x07] enabled)
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
    [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
    [ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    [ 0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
    [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    [ 0.000000] ACPI: IRQ0 used by override.
    [ 0.000000] ACPI: IRQ2 used by override.
    [ 0.000000] ACPI: IRQ9 used by override.
    [ 0.000000] Using ACPI (MADT) for SMP configuration information
    [ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
    [ 0.000000] smpboot: Allowing 8 CPUs, 0 hotplug CPUs
    [ 0.000000] nr_irqs_gsi: 40
    [ 0.000000] PM: Registered nosave memory: [mem 0x0008e000-0x0008ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000bffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x000c0000-0x000fffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x20000000-0x201fffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x40004000-0x40004fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x8970c000-0x8970cfff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x89721000-0x89721fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x8cd13000-0x8cd52fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x8cd69000-0x8cd8efff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x8ce3b000-0x8ce8efff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x8cece000-0x8cefefff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x8cf92000-0x8cffefff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x8d000000-0x8f9fffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0x8fa00000-0xe00f7fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xe00f8000-0xe00f8fff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xe00f9000-0xfed1bfff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xfed20000-0xffe6ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xffe70000-0xffe9ffff]
    [ 0.000000] PM: Registered nosave memory: [mem 0xffea0000-0xffffffff]
    [ 0.000000] e820: [mem 0x8fa00000-0xe00f7fff] 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:8 nr_node_ids:1
    [ 0.000000] PERCPU: Embedded 29 pages/cpu @ffff88016f200000 s86464 r8192 d24128 u262144
    [ 0.000000] pcpu-alloc: s86464 r8192 d24128 u262144 alloc=1*2097152
    [ 0.000000] pcpu-alloc: [0] 0 1 2 3 4 5 6 7
    [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 1016607
    [ 0.000000] Policy zone: Normal
    [ 0.000000] Kernel command line: \boot\vmlinuz-linux ro root=UUID=95c49290-b97c-4136-90a5-b8ae1b964cd7 initrd=boot\initramfs-linux.img
    [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
    [ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340
    [ 0.000000] Checking aperture...
    [ 0.000000] No AGP bridge found
    [ 0.000000] Calgary: detecting Calgary via BIOS EBDA area
    [ 0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
    [ 0.000000] Memory: 3935088K/4131088K available (5124K kernel code, 807K rwdata, 1628K rodata, 1144K init, 1288K bss, 196000K reserved)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
    [ 0.000000] Dump stacks of tasks blocking RCU-preempt GP.
    [ 0.000000] RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=8.
    [ 0.000000] NR_IRQS:8448 nr_irqs:744 16
    [ 0.000000] Console: colour dummy device 80x25
    [ 0.000000] console [tty0] enabled
    [ 0.000000] allocated 16777216 bytes of page_cgroup
    [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [ 0.000000] hpet clockevent registered
    [ 0.000000] tsc: Fast TSC calibration using PIT
    [ 0.003333] tsc: Detected 2294.978 MHz processor
    [ 0.000002] Calibrating delay loop (skipped), value calculated using timer frequency.. 4591.20 BogoMIPS (lpj=7649926)
    [ 0.000005] pid_max: default: 32768 minimum: 301
    [ 0.000032] init_memory_mapping: [mem 0x8ce3b000-0x8ce8efff]
    [ 0.000034] [mem 0x8ce3b000-0x8ce8efff] page 4k
    [ 0.000045] init_memory_mapping: [mem 0x8cece000-0x8cefefff]
    [ 0.000046] [mem 0x8cece000-0x8cefefff] page 4k
    [ 0.000086] init_memory_mapping: [mem 0x8d000000-0x8f9fffff]
    [ 0.000087] [mem 0x8d000000-0x8f9fffff] page 2M
    [ 0.026158] Security Framework initialized
    [ 0.026166] AppArmor: AppArmor disabled by boot time parameter
    [ 0.026167] Yama: becoming mindful.
    [ 0.026441] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
    [ 0.027488] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
    [ 0.027952] Mount-cache hash table entries: 256
    [ 0.028114] Initializing cgroup subsys memory
    [ 0.028122] Initializing cgroup subsys devices
    [ 0.028124] Initializing cgroup subsys freezer
    [ 0.028125] Initializing cgroup subsys net_cls
    [ 0.028127] Initializing cgroup subsys blkio
    [ 0.028148] CPU: Physical Processor ID: 0
    [ 0.028149] CPU: Processor Core ID: 0
    [ 0.028538] mce: CPU supports 9 MCE banks
    [ 0.028551] CPU0: Thermal monitoring enabled (TM1)
    [ 0.028560] Last level iTLB entries: 4KB 512, 2MB 0, 4MB 0
    Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32
    tlb_flushall_shift: 1
    [ 0.028670] Freeing SMP alternatives memory: 20K (ffffffff819e9000 - ffffffff819ee000)
    [ 0.029671] ACPI: Core revision 20130725
    [ 0.036004] ACPI: All ACPI Tables successfully acquired
    [ 0.037838] ftrace: allocating 20318 entries in 80 pages
    [ 0.047613] dmar: Host address width 36
    [ 0.047615] dmar: DRHD base: 0x000000fed90000 flags: 0x0
    [ 0.047621] dmar: IOMMU 0: reg_base_addr fed90000 ver 1:0 cap c0000020e60262 ecap f0101a
    [ 0.047622] dmar: DRHD base: 0x000000fed91000 flags: 0x1
    [ 0.047627] dmar: IOMMU 1: reg_base_addr fed91000 ver 1:0 cap c9008020660262 ecap f0105a
    [ 0.047628] dmar: RMRR base: 0x0000008d800000 end: 0x0000008f9fffff
    [ 0.047699] IOAPIC id 0 under DRHD base 0xfed91000 IOMMU 1
    [ 0.047700] HPET id 0 under DRHD base 0xfed91000
    [ 0.047701] [Firmware Bug]: ioapic 2 has no mapping iommu, interrupt remapping will be disabled
    [ 0.047705] Not enable interrupt remapping
    [ 0.047706] Failed to enable irq remapping. You are vulnerable to irq-injection attacks.
    [ 0.048157] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    [ 0.081147] smpboot: CPU0: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz (fam: 06, model: 3a, stepping: 09)
    [ 0.081154] TSC deadline timer enabled
    [ 0.081162] Performance Events: PEBS fmt1+, 16-deep LBR, IvyBridge events, full-width counters, Intel PMU driver.
    [ 0.081169] ... version: 3
    [ 0.081170] ... bit width: 48
    [ 0.081171] ... generic registers: 4
    [ 0.081171] ... value mask: 0000ffffffffffff
    [ 0.081172] ... max period: 0000ffffffffffff
    [ 0.081173] ... fixed-purpose events: 3
    [ 0.081174] ... event mask: 000000070000000f
    [ 0.118277] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
    [ 0.104573] smpboot: Booting Node 0, Processors # 1 # 2 # 3 # 4 # 5 # 6 # 7 OK
    [ 0.240347] Brought up 8 CPUs
    [ 0.240351] smpboot: Total of 8 processors activated (36734.63 BogoMIPS)
    [ 0.247904] devtmpfs: initialized
    [ 0.250380] PM: Registering ACPI NVS region [mem 0x8cd13000-0x8cd52fff] (262144 bytes)
    [ 0.251164] RTC time: 7:32:07, date: 01/09/14
    [ 0.251202] NET: Registered protocol family 16
    [ 0.251294] cpuidle: using governor ladder
    [ 0.251296] cpuidle: using governor menu
    [ 0.251322] ACPI: bus type PCI registered
    [ 0.251324] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
    [ 0.251381] PCI: MMCONFIG for domain 0000 [bus 00-9b] at [mem 0xe0000000-0xe9bfffff] (base 0xe0000000)
    [ 0.251384] PCI: not using MMCONFIG
    [ 0.251385] PCI: Using configuration type 1 for base access
    [ 0.251999] bio: create slab <bio-0> at 0
    [ 0.252116] ACPI: Added _OSI(Module Device)
    [ 0.252117] ACPI: Added _OSI(Processor Device)
    [ 0.252118] ACPI: Added _OSI(3.0 _SCP Extensions)
    [ 0.252119] ACPI: Added _OSI(Processor Aggregator Device)
    [ 0.253362] ACPI: EC: EC description table is found, configuring boot EC
    [ 0.257523] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
    [ 2.254668] ACPI Exception: AE_ERROR, Returned by Handler for [PCI_Config] (20130725/evregion-287)
    [ 2.254672] ACPI Error: Method parse/execution failed [\_SB_.PCI0.ZYXW] (Node ffff880169288708), AE_ERROR (20130725/psparse-536)
    [ 2.254677] ACPI Error: Method parse/execution failed [\_SB_._INI] (Node ffff880169253fa0), AE_ERROR (20130725/psparse-536)
    [ 2.255095] ACPI: SSDT 000000008cd19190 008AD (v01 PmRef Cpu0Cst 00003001 INTL 20100915)
    [ 2.255414] ACPI: Dynamic OEM Table Load:
    [ 2.255416] ACPI: SSDT (null) 008AD (v01 PmRef Cpu0Cst 00003001 INTL 20100915)
    [ 2.268225] ACPI: SSDT 000000008cd1a710 003A4 (v01 PmRef ApIst 00003000 INTL 20100915)
    [ 2.268583] ACPI: Dynamic OEM Table Load:
    [ 2.268585] ACPI: SSDT (null) 003A4 (v01 PmRef ApIst 00003000 INTL 20100915)
    [ 2.281264] ACPI: SSDT 000000008cd18d90 00119 (v01 PmRef ApCst 00003000 INTL 20100915)
    [ 2.281581] ACPI: Dynamic OEM Table Load:
    [ 2.281583] ACPI: SSDT (null) 00119 (v01 PmRef ApCst 00003000 INTL 20100915)
    [ 2.295568] ACPI: Interpreter enabled
    [ 2.295575] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20130725/hwxface-571)
    [ 2.295579] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20130725/hwxface-571)
    [ 2.295592] ACPI: (supports S0 S3 S4 S5)
    [ 2.295593] ACPI: Using IOAPIC for interrupt routing
    [ 2.295614] PCI: MMCONFIG for domain 0000 [bus 00-9b] at [mem 0xe0000000-0xe9bfffff] (base 0xe0000000)
    [ 2.295963] PCI: MMCONFIG at [mem 0xe0000000-0xe9bfffff] reserved in ACPI motherboard resources
    [ 2.319936] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
    [ 2.320064] ACPI: No dock devices found.
    [ 2.328628] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
    [ 2.328727] acpi PNP0A08:00: Requesting ACPI _OSC control (0x1d)
    [ 2.328815] acpi PNP0A08:00: ACPI _OSC control (0x1d) granted
    [ 2.329006] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-9b] only partially covers this bridge
    [ 2.329109] ACPI: \_SB_.PCI0.PDRC: can't evaluate _ADR (0x5)
    [ 2.329127] PCI host bridge to bus 0000:00
    [ 2.329129] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 2.329131] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7]
    [ 2.329133] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff]
    [ 2.329135] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
    [ 2.329136] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000c3fff]
    [ 2.329138] pci_bus 0000:00: root bus resource [mem 0x000c4000-0x000c7fff]
    [ 2.329139] pci_bus 0000:00: root bus resource [mem 0x000c8000-0x000cbfff]
    [ 2.329141] pci_bus 0000:00: root bus resource [mem 0x000cc000-0x000cffff]
    [ 2.329142] pci_bus 0000:00: root bus resource [mem 0x000d0000-0x000d3fff]
    [ 2.329144] pci_bus 0000:00: root bus resource [mem 0x000d4000-0x000d7fff]
    [ 2.329145] pci_bus 0000:00: root bus resource [mem 0x000d8000-0x000dbfff]
    [ 2.329147] pci_bus 0000:00: root bus resource [mem 0x000dc000-0x000dffff]
    [ 2.329148] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000e3fff]
    [ 2.329150] pci_bus 0000:00: root bus resource [mem 0x000e4000-0x000e7fff]
    [ 2.329151] pci_bus 0000:00: root bus resource [mem 0x000e8000-0x000ebfff]
    [ 2.329153] pci_bus 0000:00: root bus resource [mem 0x000ec000-0x000effff]
    [ 2.329154] pci_bus 0000:00: root bus resource [mem 0x000f0000-0x000fffff]
    [ 2.329156] pci_bus 0000:00: root bus resource [mem 0x8fa00000-0xfeafffff]
    [ 2.329157] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed44fff]
    [ 2.329165] pci 0000:00:00.0: [8086:0154] type 00 class 0x060000
    [ 2.329244] pci 0000:00:01.0: [8086:0151] type 01 class 0x060400
    [ 2.329277] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
    [ 2.329309] pci 0000:00:01.0: System wakeup disabled by ACPI
    [ 2.329346] pci 0000:00:01.1: [8086:0155] type 01 class 0x060400
    [ 2.329425] pci 0000:00:01.1: PME# supported from D0 D3hot D3cold
    [ 2.329464] pci 0000:00:01.1: System wakeup disabled by ACPI
    [ 2.329498] pci 0000:00:02.0: [8086:0166] type 00 class 0x030000
    [ 2.329509] pci 0000:00:02.0: reg 0x10: [mem 0xc1400000-0xc17fffff 64bit]
    [ 2.329516] pci 0000:00:02.0: reg 0x18: [mem 0xb0000000-0xbfffffff 64bit pref]
    [ 2.329521] pci 0000:00:02.0: reg 0x20: [io 0x3000-0x303f]
    [ 2.329611] pci 0000:00:14.0: [8086:1e31] type 00 class 0x0c0330
    [ 2.329633] pci 0000:00:14.0: reg 0x10: [mem 0xc1c00000-0xc1c0ffff 64bit]
    [ 2.329696] pci 0000:00:14.0: PME# supported from D3hot D3cold
    [ 2.329729] pci 0000:00:14.0: System wakeup disabled by ACPI
    [ 2.329765] pci 0000:00:16.0: [8086:1e3a] type 00 class 0x078000
    [ 2.329790] pci 0000:00:16.0: reg 0x10: [mem 0xc1c17100-0xc1c1710f 64bit]
    [ 2.329869] pci 0000:00:16.0: PME# supported from D0 D3hot D3cold
    [ 2.329945] pci 0000:00:1a.0: [8086:1e2d] type 00 class 0x0c0320
    [ 2.329968] pci 0000:00:1a.0: reg 0x10: [mem 0xc1c16c00-0xc1c16fff]
    [ 2.330059] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold
    [ 2.330095] pci 0000:00:1a.0: System wakeup disabled by ACPI
    [ 2.330130] pci 0000:00:1b.0: [8086:1e20] type 00 class 0x040300
    [ 2.330143] pci 0000:00:1b.0: reg 0x10: [mem 0xc1c10000-0xc1c13fff 64bit]
    [ 2.330205] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
    [ 2.330240] pci 0000:00:1b.0: System wakeup disabled by ACPI
    [ 2.330273] pci 0000:00:1c.0: [8086:1e10] type 01 class 0x060400
    [ 2.330352] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
    [ 2.330391] pci 0000:00:1c.0: System wakeup disabled by ACPI
    [ 2.330423] pci 0000:00:1c.1: [8086:1e12] type 01 class 0x060400
    [ 2.330502] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
    [ 2.330540] pci 0000:00:1c.1: System wakeup disabled by ACPI
    [ 2.330572] pci 0000:00:1c.2: [8086:1e14] type 01 class 0x060400
    [ 2.330653] pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
    [ 2.330690] pci 0000:00:1c.2: System wakeup disabled by ACPI
    [ 2.330733] pci 0000:00:1d.0: [8086:1e26] type 00 class 0x0c0320
    [ 2.330755] pci 0000:00:1d.0: reg 0x10: [mem 0xc1c16800-0xc1c16bff]
    [ 2.330846] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
    [ 2.330882] pci 0000:00:1d.0: System wakeup disabled by ACPI
    [ 2.330917] pci 0000:00:1f.0: [8086:1e57] type 00 class 0x060100
    [ 2.331082] pci 0000:00:1f.2: [8086:1e03] type 00 class 0x010601
    [ 2.331102] pci 0000:00:1f.2: reg 0x10: [io 0x3098-0x309f]
    [ 2.331111] pci 0000:00:1f.2: reg 0x14: [io 0x30bc-0x30bf]
    [ 2.331120] pci 0000:00:1f.2: reg 0x18: [io 0x3090-0x3097]
    [ 2.331129] pci 0000:00:1f.2: reg 0x1c: [io 0x30b8-0x30bb]
    [ 2.331137] pci 0000:00:1f.2: reg 0x20: [io 0x3060-0x307f]
    [ 2.331145] pci 0000:00:1f.2: reg 0x24: [mem 0xc1c16000-0xc1c167ff]
    [ 2.331192] pci 0000:00:1f.2: PME# supported from D3hot
    [ 2.331255] pci 0000:00:1f.3: [8086:1e22] type 00 class 0x0c0500
    [ 2.331269] pci 0000:00:1f.3: reg 0x10: [mem 0xc1c17000-0xc1c170ff 64bit]
    [ 2.331285] pci 0000:00:1f.3: reg 0x20: [io 0xefa0-0xefbf]
    [ 2.331414] pci 0000:01:00.0: [10de:0fd5] type 00 class 0x030000
    [ 2.331425] pci 0000:01:00.0: reg 0x10: [mem 0xc0000000-0xc0ffffff]
    [ 2.331436] pci 0000:01:00.0: reg 0x14: [mem 0x90000000-0x9fffffff 64bit pref]
    [ 2.331447] pci 0000:01:00.0: reg 0x1c: [mem 0xa0000000-0xa1ffffff 64bit pref]
    [ 2.331455] pci 0000:01:00.0: reg 0x24: [io 0x2000-0x207f]
    [ 2.331463] pci 0000:01:00.0: reg 0x30: [mem 0xc1000000-0xc107ffff pref]
    [ 2.331519] pci 0000:01:00.0: System wakeup disabled by ACPI
    [ 2.331560] pci 0000:01:00.1: [10de:0e1b] type 00 class 0x040300
    [ 2.331569] pci 0000:01:00.1: reg 0x10: [mem 0xc1080000-0xc1083fff]
    [ 3.338172] pci 0000:00:01.0: ASPM: Could not configure common clock
    [ 3.338218] pci 0000:00:01.0: PCI bridge to [bus 01]
    [ 3.338221] pci 0000:00:01.0: bridge window [io 0x2000-0x2fff]
    [ 3.338223] pci 0000:00:01.0: bridge window [mem 0xc0000000-0xc10fffff]
    [ 3.338227] pci 0000:00:01.0: bridge window [mem 0x90000000-0xa1ffffff 64bit pref]
    [ 3.338301] pci 0000:00:01.1: PCI bridge to [bus 05-9b]
    [ 3.338304] pci 0000:00:01.1: bridge window [io 0x4000-0x6fff]
    [ 3.338308] pci 0000:00:01.1: bridge window [mem 0xc1d00000-0xcdffffff]
    [ 3.338314] pci 0000:00:01.1: bridge window [mem 0xce000000-0xd9ffffff 64bit pref]
    [ 3.338460] pci 0000:02:00.0: [14e4:16b4] type 00 class 0x020000
    [ 3.338493] pci 0000:02:00.0: reg 0x10: [mem 0xc1800000-0xc180ffff 64bit pref]
    [ 3.338518] pci 0000:02:00.0: reg 0x18: [mem 0xc1810000-0xc181ffff 64bit pref]
    [ 3.338668] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
    [ 3.338738] pci 0000:02:00.0: System wakeup disabled by ACPI
    [ 3.338824] pci 0000:02:00.1: [14e4:16bc] type 00 class 0x080501
    [ 3.338861] pci 0000:02:00.1: reg 0x10: [mem 0xc1820000-0xc182ffff 64bit pref]
    [ 3.339051] pci 0000:02:00.1: PME# supported from D0 D3hot D3cold
    [ 3.339096] pci 0000:02:00.1: System wakeup disabled by ACPI
    [ 3.344942] pci 0000:00:1c.0: PCI bridge to [bus 02]
    [ 3.344949] pci 0000:00:1c.0: bridge window [mem 0xc1b00000-0xc1bfffff]
    [ 3.344955] pci 0000:00:1c.0: bridge window [mem 0xc1800000-0xc18fffff 64bit pref]
    [ 3.345076] pci 0000:03:00.0: [14e4:4331] type 00 class 0x028000
    [ 3.345105] pci 0000:03:00.0: reg 0x10: [mem 0xc1a00000-0xc1a03fff 64bit]
    [ 3.345247] pci 0000:03:00.0: supports D1 D2
    [ 3.345286] pci 0000:03:00.0: System wakeup disabled by ACPI
    [ 3.351561] pci 0000:00:1c.1: PCI bridge to [bus 03]
    [ 3.351568] pci 0000:00:1c.1: bridge window [mem 0xc1a00000-0xc1afffff]
    [ 3.351673] pci 0000:04:00.0: [11c1:5901] type 00 class 0x0c0010
    [ 3.351712] pci 0000:04:00.0: reg 0x10: [mem 0xc1900000-0xc1900fff 64bit]
    [ 3.351903] pci 0000:04:00.0: supports D1 D2
    [ 3.351904] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    [ 3.358214] pci 0000:00:1c.2: PCI bridge to [bus 04]
    [ 3.358221] pci 0000:00:1c.2: bridge window [mem 0xc1900000-0xc19fffff]
    [ 3.358742] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
    [ 3.358790] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
    [ 3.358836] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
    [ 3.358883] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
    [ 3.358929] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
    [ 3.358973] ACPI: PCI Interrupt L

    I did read that report initially; I ended up just removing bluez and bluez-utils since I don't care that much about using those peripherals. I imagine that if I downgraded the kernel I might be able to run bluez and get the trackpad to work. I think I'd rather keep my copy of the kernel up-to-date at this point since I don't really care that much about using that trackpad. Thanks for the suggestion, though—if I decide I really do want to use it I'll downgrade and see if that helps.
    The problems with running programs seem to have fixed themselves semi-mysteriously. That problem was persisting through reboots initially. I looked at the running processes and saw that the programs I had tried to open were actually running, but KDE wasn't behaving as such. I tried rebooting and using startx to see if I could see those programs running there, which I could. After that KDE behaved properly.
    It seems like HFS support for fsck is poorly if at all supported outside of Mac OS, so I booted into Mac OS and ran fsck_hfs on my media partition. This worked, and I can read and write from it again.
    EDIT: In case anyone is curious, there seems to be a fix pending for the trackpad issues—see here and here.
    Last edited by tenfoxes (2014-01-09 20:42:45)

  • CX_SY_OPEN_SQL_DB:ORA-00060: deadlock detected

    Hi All,
    I am runtime error DBIF_RSQL_SQL_ERROR abd Exception
    CX_SY_OPEN_SQL_DB in the following code.
    I am pasting Error Analysis from ST22.
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
    neither
    caught nor passed along using a RAISING clause, in the procedure "LOAD_ORDERSEQ"
    "(FORM)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    <b>The database system recognized that your last operation on the database
    would have led to a deadlock.
    Therefore, your transaction was rolled back
    to avoid this.</b>
    ORACLE always terminates any transaction that would result in deadlock.
    The other transactions involved in this potential deadlock
    are not affected by the termination.
    LOOP AT LT_ORDER INTO LS_ORDER.
        SELECT SINGLE * FROM ZJD_ORDER
                      WHERE ORDER_ID = LS_ORDER-ORDER_ID.
        IF SY-SUBRC NE 0.
         LS_ORDER-ORDER_STATUS = 'O'.
          INSERT ZJD_ORDER FROM LS_ORDER.
          IF SY-SUBRC NE 0.
            WRITE : / 'Error while inserting order sequence for ',
                      LS_ORDER-ORDER_ID.
          ELSE.
            ADD 1 TO GV_TREC_ORDER.
          ENDIF.
        ELSEIF ZJD_ORDER-OEDER_SEQUENCE > LS_ORDER-ORDER_SEQUENCE.
          UPDATE ZJD_ORDER
                       SET ORDER_SEQUENCE = LS_ORDER-ORDER_SEQUENCE
                       WHERE ORDER_ID EQ LS_ORDER-ORDER_ID.
          IF SY-SUBRC NE 0.
            WRITE : / 'Error while updating order sequence for',
                      LS_ORDER-ORDER_ID.
          ELSE.
            ADD 1 TO GV_TREC_ORDER.
          ENDIF.
        ENDIF.
      ENDLOOP.
    one solution is to catch exception CX_SY_OPEN_SQL_DB in my program, but My query is how can I avoid this Deadlock
    situation.
    Thank You.
    Regards,
    Jashan

    UPDATE ZJD_ORDER
                       SET ORDER_SEQUENCE = LS_ORDER-ORDER_SEQUENCE
                       WHERE ORDER_ID EQ LS_ORDER-ORDER_ID.
    what are the keyfields in ZJD_ORDER table.
    do you have more than one key field (i.e other than ORDER_ID)
    and use commit work if sy-subrc = 0.
    Regards
    vijay

  • Return values for deadlock handling in BDB-SQLITE

    The whitepaper titled "Oracle Berkeley DB SQL API vs.SQLite API – A Technical Evaluation, November 2010" notes that
    all programs should be able to handle SQLITE_ERROR or SQLITE_LOCKED while handling potential deadlocks. From the sqlite errorcode page
    #define SQLITE_ERROR 1 /* SQL error or missing database */
    Further documentation lists SQLITE_ERROR as "This return value indicates that there was an error in the SQL that was passed into the sqlite_exec."
    Question 1:
    Why is BDB-SQLITE raising a generic errorcode "SQLITE_ERROR" when we have to abort a transaction and start all over again?
    While running my test application under intensive load, I have never gotten SQLITE_ERROR. I have gotten SQLITE_LOCKED and occasionally SQLITE_BUSY which is being handled in my code.
    Question 2:
    Can someone please confirm whether is this indeed is the expected behaviour?
    Thank you for your time.

    The behavior described in the white paper only applies to Berkeley DB version 5.0, versions 5.1 and beyond do not have this behavior.
    In DB-5.0 SQLITE_ERROR is returned when you attempt to use an explicit transaction that has already returned SQLITE_LOCKED. The reason for this is because in BDBSQL (as opposed to SQLite) SQLITE_LOCKED is returned when a transaction is forced to give up its locks because it has entered a state of deadlock with another transaction. Because the transaction has lost its locks it is invalid and cannot be used anymore other than to abort it, that is why SQLITE_ERROR is returned if you continue to use the transaction. In DB-5.1 and beyond SQLITE_LOCKED means only the last operation lost its locks and has been rolled back, the transaction is still good and can still be committed or be used to perform other operations.
    I hope this clears up your confusion.
    Lauren Foutz

  • How can I reduce potentially unwanted Aurora windows

    1. I'm using the auto-update mode for my Aurora.
    2. Days ago, the new Aurora made me sad: Before some updates applied, it made me cool, cuz I can open many tabs in one window; and now I had to open some potentially unneeded windows when I tried to launch some options listed in my IM program!
    Question: How can I run all the tabs in one window using current version of Aurora 20?
    Thanks in advance!

    Did you inspect the browser.link.open_newwindow.override.external pref on the <b>about:config</b> page?
    Setting this pref to 3 should open external links in a new tab.<br />
    The meanings of its values are the same as of the [http://kb.mozillazine.org/browser.link.open_newwindow browser.link.open_newwindow] pref.

  • Conditional some text

    Hi, My name is Bambang.
    I would like to know, is it possible in InDesign to make conditional some texts to automation some text to be italics or bold. Example, in each foreign words it's automatically change to italic or bold. Thank You.

    Frans van der Geest wrote:
    Use GREP, the easiest way. Make a character style bold or italic, then make a Paragraph style: go to GREP there, add GREP style, simply type the word and set the character style there to be used.
    I get the sense that there could be hundreds of words involved, which makes this impractical if you have to spell out each one. Using an identifier "tag" though, as the OP suggested in his last response might have some potential. The trick would be to add some invisble character that doesn't change the length of the word and ID does have a number of those -- discretionary line break, non-joiner, end nested style and maybe more. The question in my mind is how these are going to be entered if they are not typed in along with the text initially.

  • [svn] 4939: * Some changes necessary to get the improved SWC cache working in Flex

    Revision: 4939
    Author: [email protected]
    Date: 2009-02-12 10:07:37 -0800 (Thu, 12 Feb 2009)
    Log Message:
    * Some changes necessary to get the improved SWC cache working in Flex
    Builder 4 and some potential bug fixes.
    tests Passed: checkintests
    Needs QA: YES
    Needs DOC: NO
    Bug fixes: SDK-18905
    API Change: NO
    Reviewer: Pete F.
    Code-level description of changes:
    tools/oem/Library.java
    Modified link() to pass the file name into SwcDynamicArchive's
    constructor even when using an OuputStream, so the file name can
    be used as a cache key.
    Added refreshLastModified() so Flex Builder can update the
    timestamp in the SWC cache after writing it's OutputStream to the
    SWC file.
    tools/oem/Builder.java
    Added setSwcCache().
    tools/PreLink.java
    Modified postRun() to use the value returned from
    ResourceContainer.addResource() instead of the value passed in,
    because it could be different. This might fix SDK-18493 and
    SDK-17840.
    compiler/PersistenceStore.java
    Modified readCompilationUnit() to also use the value returned from
    ResourceContainer.addResource().
    compiler/CompilerAPI.java
    Modified updateDependentLastModifiedTimes() to check for a null
    CompilationUnit.
    compiler/swc/SwcDynamicArchive.java
    Added path param to OutputStream based constructor to be used as a
    cache key.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18905
    http://bugs.adobe.com/jira/browse/SDK-18493
    http://bugs.adobe.com/jira/browse/SDK-17840
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/PersistenceStore.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcDynamicArchive.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcGroup.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Builder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Library.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/LibraryCache.java

    I figured out what was going here.  When I was statically linking my copy of textLayout.swc, it wasn't being loaded soon enough and the other parts of the framework were barfing because they couldn't get at the TextContainerManager class when they expected to find it.  What I have done to solve the issue is created a custom SystemManager which forces the TextContainerManager class to be loaded sooner.  This does increase my file size a bit, but not nearly as much as having to statically link all of the framework's libraries! Here is a short example app of what I did for anyone curious:
    main.Main.as :
    package main {
         import spark.components.Application;
         [Frame(factoryClass="main.CustomSystemManager")]
         public class Main extends Application {
              public function Main() {
                   super();
    MainApplication.mxml :
    <?xml version="1.0" encoding="utf-8"?>
    <main:Main xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/mx"
         xmlns:main="main.*">
    </main:Main>
    main.CustomSystemManager.as :
    package main {
         import mx.managers.SystemManager;
         import flashx.textLayout.container.TextContainerManager;
         public class CustomSystemManager extends SystemManager {
              public function Custom Manager() {
                   var c:Class = TextContainerManager; // force the inclusion of this class
                   super();
    I found a lot of good information for using a custom system manager (in the context of making your preloader a bit shinier here: http://custardbelly.com/blog/?p=211

  • Some benchmark programs not compatible w/ AMD64

    Do any of the popular benchmarks not work with the AMD64 bit processor.  So far, I am having trouble running aquamark (immediately says video out of sync), the coolbits registry program, and I get a Sandra Benchmark tip on the tests for the CPU that say to use their new 64 bit program, but it is not available for download yet.
    At least the 3DMark2003 works.
    Thanks.

    An update on those benchmark problems.  After finally getting my Nvidia driver straightened out (had to use driver cleaner to remove the old one), I was able to run aquamark with great sucsess.  Never could get that coolbits registry to work, so I installed powerstrip to OC my video card.  Powerstrip works great and has a lot more features that I will never use.
    I currently have my video card OC'd at 430 core, 740 memory and is still stable in the benchmarks.  I got a score of 40,919 in Aquamark and 5593 in 3DMark 2003.  Its getting late and I don't feel like going any higher, but its nice to know this thing still has some potential.

Maybe you are looking for