Problem with timers

dear all
I created two timers as followed :
When_new_form_instance
-- 'INSERT_TIMER' used for fetching data from from one table and perform some
--calculations then display the rows on a non db block.
-- 'news_timer' is to move three items on the canvas.
--these items contains the latest news . it looks like the news lines.
declare
vTIMER_data timer;
vNEWS_TIMER timer;
begin
vTIMER_data := CREATE_TIMER ('INSERT_TIMER', 1000, REPEAT);
vNEWS_TIMER := create_timer('news_timer',25,repeat);
end;
-- now the two timer has created when running the form
--on the trigger when_timer_expired I write this code:
DECLARE     
vTIMER_NAME varchar2(200);     
BEGIN
vTIMER_NAME := GET_APPLICATION_PROPERTY(TIMER_NAME) ;
IF vTIMER_NAME ='news_timer' THEN
MOVE ('TICKER.N1');-- move the ticker
END IF;
IF vTIMER_NAME = ('INSERT_TIMER') THEN
vtime := to_char(SYSDATE,'HH24:MI:SS');
p_get_avg_price( :control.n_country,
:control.n_stock,
:control.from_date,
:control.n_to_date,vtime);
End If;
END;
when i run the form the the timer 'news_timer' fires every second instead of 25 milisecond .it fires after the timer 'INSERT_TIMER' fires. i want the timer 'news_timer' to fire every 25 milisecod and not to fire with the
'INSERT_TIMER' timer
please help

thank you Gred for your replay
in fact the I think that the problem is that the procedure that executes every 1000 milisecond perform a quey that may spends about from 5 to 8 seconds . this query gets data from a table that contains more than 2 milion records . the query is :
CURSOR avg_cur is
     SELECT ROUND(AVG(PRICE),2)N_PRICE,round(AVG(QTY),2)AVG_QTY , STOCK_CODE
     FROM HS_OPERATIONS
     WHERE STOCK_CODE = NVL(p_stock,STOCK_CODE)
          AND COUNTRY_ID = pcountry
          and the_date between pfrom_date and PTO_DATE
          AND TO_DATE(TO_CHAR(THE_TIME,'HH24:MI:SS'),'HH24:MI:SS') <=     TO_DATE( pto_TIME,'HH24:MI:SS')
     GROUP BY STOCK_CODE;
i know that this is a complicated issue.
the parameter pto_TIME represents a clock displayed on a disply item . And i need to get the avarage of price for every stock untill the second displayed on the clock.
I this that this is the big problem which cause the timers to be delyed .
I'll be so grateful if you tell me your suggestions.
thanks alot

Similar Messages

  • Problem with timers in a udp state pattern

    Hi.
    As a project on my school, i have created a bomberman game, that supports up to 4 players on a network. And it works fine, when there is no network timers involved, that means no packet loss handling.
    The network part of the game, is build up by UDP, to make the application support multicast. The game session flow, is build up by states which are designed like an extended 2 phase commit pattern.
    That means, the server sends Gameinfo to the clients. Then all the cliens replies with an ACK.
    The server then sends ExecuteGameinfo. Then the clients replies with an ACK.
    The server sends/requests playerinfo, and the clients reply with player info. (the server uses the player info to create gameinfo).
    These 3 states, continues to go on, as long as the game is running. And without timers, it is working great.
    But what if a packet is lost? (on a LAN, packetloss is very rare, but for the sake of my project�s issue, custom made reliability in UDP, I have to face the problem). Then the server would just hang, and wait for the client reply.
    To avoid that, i want to use a timer. If the server havent got any reply for like a 100 ms., the server should resend the package.
    And now to the actual problem :)
    Ive tried using java.util.Timer, and javax.swing.Timer. But both timers does not work in my case. Its like:
    Server starts timer.
    Server sends Gameinfo.
    100 ms passes.
    Server resends Gameinfo.
    Server restarts timer.
    100 ms passes.
    (this goes on for 5 times, and then the client is kicked)
    Server receives ACK.
    Server receives ACK.
    Server receives ACK.
    Server receives ACK.
    Server receives ACK.
    On the client side it looks like this:
    Recieves Gameinfo, replies with ACK
    Recieves Gameinfo, replies with ACK
    x 5
    So its like the server is to concentrated on that timer (even though it runs as a thread), so i doesent notice the incoming packets, that eventually stacks up, and is handled after the timer tasks are done.
    And this is exactly the problem that is described in the Timer api: " Timer tasks should complete quickly. If a timer task takes excessive time to complete, it "hogs" the timer's task execution thread. This can, in turn, delay the execution of subsequent tasks, which may "bunch up" and execute in rapid succession when (and if) the offending task finally completes."
    Ive tried using a homemade timer, with a Thread.sleep(), it is a bit better, but the problem is the same. 1 out of 20 incoming packets, is "ignored" by the server.
    I really hope any of you can help.
    I havent included any code, it would be to much code. But if you are interested in looking at something i can easily paste it.
    Thank you very much for your time :)
    Regards.

    Don't use a Timer, use DatagramSocket.setSoTimeout(). Then your receives will only block for that amount of time, throwing SocketTimeoutException if no datagram arrives.

  • Problems with a simple stop watch program

    I would appreciate help sorting out a problem with a simple stop watch program. The problem is that it throws up inappropriate values. For example, the first time I ran it today it showed the best time at 19 seconds before the actual time had reached 2 seconds. I restarted the program and it ran correctly until about the thirtieth time I started it again when it was going okay until the display suddenly changed to something like '-50:31:30:50-'. I don't have screenshot because I had twenty thirteen year olds suddenly yelling at me that it was wrong. I clicked 'Stop' and then 'Start' again and it ran correctly.
    I have posted the whole code (minus the GUI section) because I want you to see that the program is very, very simple. I can't see where it could go wrong. I would appreciate any hints.
    public class StopWatch extends javax.swing.JFrame implements Runnable {
        int startTime, stopTime, totalTime, bestTime;
        private volatile Thread myThread = null;
        /** Creates new form StopWatch */
        public StopWatch() {
         startTime = 0;
         stopTime = 0;
         totalTime = 0;
         bestTime = 0;
         initComponents();
        public void run() {
         Thread thisThread = Thread.currentThread();
         while(myThread == thisThread) {
             try {
              Thread.sleep(100);
              getEnd();
             } catch (InterruptedException e) {}
        public void start() {
         if(myThread == null) {
             myThread = new Thread(this);
             myThread.start();
        public void getStart() {
         Calendar now = Calendar.getInstance();
         startTime = (now.get(Calendar.MINUTE) * 60) + now.get(Calendar.SECOND);
        public void getEnd() {
         Calendar now1 = Calendar.getInstance();
         stopTime = (now1.get(Calendar.MINUTE) * 60) + now1.get(Calendar.SECOND);
         totalTime = stopTime - startTime;
         setLabel();
         if(bestTime < totalTime) bestTime = totalTime;
        public void setLabel() {
         if((totalTime % 60) < 10) {
             jLabel1.setText(""+totalTime/60+ ":0"+(totalTime % 60));
         } else {
             jLabel1.setText(""+totalTime/60 + ":"+(totalTime % 60));
         if((bestTime % 60) < 10) {
             jLabel3.setText(""+bestTime/60+ ":0"+(bestTime % 60));
         } else {
             jLabel3.setText(""+bestTime/60 + ":"+(bestTime % 60));
        private void ButtonClicked(java.awt.event.ActionEvent evt) {                              
         JButton temp = (JButton) evt.getSource();
         if(temp.equals(jButton1)) {
             start();
             getStart();
         if(temp.equals(jButton2)) {
             getEnd();
             myThread = null;
         * @param args the command line arguments
        public static void main(String args[]) {
         java.awt.EventQueue.invokeLater(new Runnable() {
             public void run() {
              new StopWatch().setVisible(true);
        // Variables declaration - do not modify                    
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton2;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JLabel jLabel3;
        private javax.swing.JPanel jPanel1;
        // End of variables declaration                  
    }

    Although I appreciate this information, it still doesn't actually solve the problem. I can't see an error in the logic (or the code). The fact that the formatting works most of the time suggests that the problem does not lie there. As well, I use the same basic code for other time related displays e.g. countdown timers where the user sets a maximum time and the computer stops when zero is reached. I haven't had an error is these programs.
    For me, it is such a simple program and the room for errors seem small. I am guessing that I have misunderstood something about dates, but I obviously don't know.
    Again, thank you for taking the time to look at the problem and post a reply.

  • Problem with usb devices

    hi guys,
    i have a problem with my usb devices.
    the dmesg:
    Linux version 2.6.30-ARCH (root@T-POWA-LX) (gcc version 4.4.1 (GCC) ) #1 SMP PREEMPT Fri Jul 31 07:30:28 CEST 2009
    Command line: root=/dev/sda5 vga=0x0361 ro
    KERNEL supported cpus:
    Intel GenuineIntel
    AMD AuthenticAMD
    Centaur CentaurHauls
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
    BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000ce000 - 00000000000d0000 (reserved)
    BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 000000007fed0000 (usable)
    BIOS-e820: 000000007fed0000 - 000000007fee3000 (ACPI NVS)
    BIOS-e820: 000000007fee3000 - 0000000080000000 (reserved)
    BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
    BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
    BIOS-e820: 00000000fed00000 - 00000000fed00400 (reserved)
    BIOS-e820: 00000000fed14000 - 00000000fed1a000 (reserved)
    BIOS-e820: 00000000fed1c000 - 00000000fed90000 (reserved)
    BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
    BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
    DMI present.
    Phoenix BIOS detected: BIOS may corrupt low RAM, working around it.
    e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
    last_pfn = 0x7fed0 max_arch_pfn = 0x100000000
    MTRR default type: uncachable
    MTRR fixed ranges enabled:
    00000-9FFFF write-back
    A0000-BFFFF uncachable
    C0000-FFFFF write-protect
    MTRR variable ranges enabled:
    0 base 000000000 mask F80000000 write-back
    1 base 07FF00000 mask FFFF00000 uncachable
    2 disabled
    3 disabled
    4 disabled
    5 disabled
    6 disabled
    7 disabled
    x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    Scanning 0 areas for low memory corruption
    modified physical RAM map:
    modified: 0000000000000000 - 0000000000010000 (reserved)
    modified: 0000000000010000 - 000000000009f800 (usable)
    modified: 000000000009f800 - 00000000000a0000 (reserved)
    modified: 00000000000ce000 - 00000000000d0000 (reserved)
    modified: 00000000000dc000 - 0000000000100000 (reserved)
    modified: 0000000000100000 - 000000007fed0000 (usable)
    modified: 000000007fed0000 - 000000007fee3000 (ACPI NVS)
    modified: 000000007fee3000 - 0000000080000000 (reserved)
    modified: 00000000e0000000 - 00000000f0000000 (reserved)
    modified: 00000000fec00000 - 00000000fec10000 (reserved)
    modified: 00000000fed00000 - 00000000fed00400 (reserved)
    modified: 00000000fed14000 - 00000000fed1a000 (reserved)
    modified: 00000000fed1c000 - 00000000fed90000 (reserved)
    modified: 00000000fee00000 - 00000000fee01000 (reserved)
    modified: 00000000ff000000 - 0000000100000000 (reserved)
    init_memory_mapping: 0000000000000000-000000007fed0000
    0000000000 - 007fe00000 page 2M
    007fe00000 - 007fed0000 page 4k
    kernel direct mapping tables up to 7fed0000 @ 10000-14000
    RAMDISK: 37d42000 - 37fefc39
    ACPI: RSDP 00000000000f7fe0 00024 (v02 PTLTD )
    ACPI: XSDT 000000007fedab41 0008C (v01 Sony VAIO 20070418 PTL 00000000)
    ACPI: FACP 000000007fee1bd2 000F4 (v03 Sony VAIO 20070418 PTL 00000001)
    ACPI: DSDT 000000007fedbeeb 05C73 (v02 Sony VAIO 20070418 PTL 20050624)
    ACPI: FACS 000000007fee2fc0 00040
    ACPI: APIC 000000007fee1cc6 00068 (v01 Sony VAIO 20070418 PTL 0000005A)
    ACPI: HPET 000000007fee1d2e 00038 (v01 Sony VAIO 20070418 PTL 0000005A)
    ACPI: MCFG 000000007fee1d66 0003C (v01 Sony VAIO 20070418 PTL 0000005A)
    ACPI: TCPA 000000007fee1da2 00032 (v01 Sony VAIO 20070418 PTL 00005A52)
    ACPI: SLIC 000000007fee1dd4 00176 (v01 Sony VAIO 20070418 PTL 01000000)
    ACPI: TMOR 000000007fee1f4a 00026 (v01 Sony VAIO 20070418 PTL 00000003)
    ACPI: APIC 000000007fee1f70 00068 (v01 Sony VAIO 20070418 PTL 00000000)
    ACPI: BOOT 000000007fee1fd8 00028 (v01 Sony VAIO 20070418 PTL 00000001)
    ACPI: SSDT 000000007fedbc29 002C2 (v01 Sony VAIO 20070418 PTL 20050624)
    ACPI: SSDT 000000007fedb159 0025F (v01 Sony VAIO 20070418 PTL 20050624)
    ACPI: SSDT 000000007fedb0b3 000A6 (v01 Sony VAIO 20070418 PTL 20050624)
    ACPI: SSDT 000000007fedabcd 004E6 (v01 Sony VAIO 20070418 PTL 20050624)
    ACPI: BIOS bug: multiple APIC/MADT found, using 0
    ACPI: If "acpi_apic_instance=2" works better, notify [email protected]
    ACPI: Local APIC address 0xfee00000
    (7 early reservations) ==> bootmem [0000000000 - 007fed0000]
    #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
    #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
    #2 [0000200000 - 000082d0d0] TEXT DATA BSS ==> [0000200000 - 000082d0d0]
    #3 [0037d42000 - 0037fefc39] RAMDISK ==> [0037d42000 - 0037fefc39]
    #4 [000009f800 - 0000100000] BIOS reserved ==> [000009f800 - 0000100000]
    #5 [000082e000 - 000082e204] BRK ==> [000082e000 - 000082e204]
    #6 [0000010000 - 0000012000] PGTABLE ==> [0000010000 - 0000012000]
    found SMP MP-table at [ffff8800000f8010] f8010
    [ffffe20000000000-ffffe20001bfffff] PMD -> [ffff880001200000-ffff880002dfffff] on node 0
    Zone PFN ranges:
    DMA 0x00000010 -> 0x00001000
    DMA32 0x00001000 -> 0x00100000
    Normal 0x00100000 -> 0x00100000
    Movable zone start PFN for each node
    early_node_map[2] active PFN ranges
    0: 0x00000010 -> 0x0000009f
    0: 0x00000100 -> 0x0007fed0
    On node 0 totalpages: 523871
    DMA zone: 56 pages used for memmap
    DMA zone: 1682 pages reserved
    DMA zone: 2245 pages, LIFO batch:0
    DMA32 zone: 7108 pages used for memmap
    DMA32 zone: 512780 pages, LIFO batch:31
    ACPI: PM-Timer IO Port: 0x1008
    ACPI: Local APIC address 0xfee00000
    ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
    ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
    IOAPIC[0]: apic_id 1, version 0, address 0xfec00000, GSI 0-23
    ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    ACPI: IRQ0 used by override.
    ACPI: IRQ2 used by override.
    ACPI: IRQ9 used by override.
    Using ACPI (MADT) for SMP configuration information
    ACPI: HPET id: 0x8086a201 base: 0xfed00000
    SMP: Allowing 2 CPUs, 0 hotplug CPUs
    nr_irqs_gsi: 24
    PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
    PM: Registered nosave memory: 00000000000a0000 - 00000000000ce000
    PM: Registered nosave memory: 00000000000ce000 - 00000000000d0000
    PM: Registered nosave memory: 00000000000d0000 - 00000000000dc000
    PM: Registered nosave memory: 00000000000dc000 - 0000000000100000
    Allocating PCI resources starting at 88000000 (gap: 80000000:60000000)
    NR_CPUS:16 nr_cpumask_bits:16 nr_cpu_ids:2 nr_node_ids:1
    PERCPU: Embedded 25 pages at ffff880001010000, static data 72352 bytes
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 515025
    Kernel command line: root=/dev/sda5 vga=0x0361 ro
    Initializing CPU#0
    NR_IRQS:768
    PID hash table entries: 4096 (order: 12, 32768 bytes)
    Extended CMOS year: 2000
    Fast TSC calibration using PIT
    Detected 1994.610 MHz processor.
    Console: colour dummy device 80x25
    console [tty0] enabled
    Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
    Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
    Checking aperture...
    No AGP bridge found
    Calgary: detecting Calgary via BIOS EBDA area
    Calgary: Unable to locate Rio Grande table in EBDA - bailing!
    Memory: 2053736k/2095936k available (3409k kernel code, 452k absent, 41160k reserved, 1239k data, 464k init)
    SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    hpet clockevent registered
    HPET: 3 timers in total, 0 timers will be used for per-cpu timer
    Calibrating delay loop (skipped), value calculated using timer frequency.. 3990.43 BogoMIPS (lpj=6648700)
    Security Framework initialized
    Mount-cache hash table entries: 256
    CPU: L1 I cache: 32K, L1 D cache: 32K
    CPU: L2 cache: 4096K
    CPU: Physical Processor ID: 0
    CPU: Processor Core ID: 0
    CPU0: Thermal monitoring enabled (TM2)
    using mwait in idle threads.
    ACPI: Core revision 20090320
    Setting APIC routing to flat
    ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    CPU0: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz stepping 0a
    Booting processor 1 APIC 0x1 ip 0x6000
    Initializing CPU#1
    Calibrating delay using timer specific routine.. 3991.23 BogoMIPS (lpj=6649976)
    CPU: L1 I cache: 32K, L1 D cache: 32K
    CPU: L2 cache: 4096K
    CPU: Physical Processor ID: 0
    CPU: Processor Core ID: 1
    CPU1: Thermal monitoring enabled (TM2)
    x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
    CPU1: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz stepping 0a
    checking TSC synchronization [CPU#0 -> CPU#1]: passed.
    Brought up 2 CPUs
    Total of 2 processors activated (7982.67 BogoMIPS).
    CPU0 attaching sched-domain:
    domain 0: span 0-1 level MC
    groups: 0 1
    CPU1 attaching sched-domain:
    domain 0: span 0-1 level MC
    groups: 1 0
    net_namespace: 1888 bytes
    Booting paravirtualized kernel on bare hardware
    NET: Registered protocol family 16
    ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
    ACPI: bus type pci registered
    PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
    PCI: MCFG area at e0000000 reserved in E820
    PCI: Using MMCONFIG at e0000000 - efffffff
    PCI: Using configuration type 1 for base access
    bio: create slab <bio-0> at 0
    ACPI: EC: Look up EC in DSDT
    ACPI: BIOS _OSI(Linux) query ignored
    ACPI: EC: non-query interrupt received, switching to interrupt mode
    ACPI: Interpreter enabled
    ACPI: (supports S0 S3 S4 S5)
    ACPI: Using IOAPIC for interrupt routing
    ACPI: EC: GPE storm detected, transactions will use polling mode
    ACPI: EC: missing confirmations, switch off interrupt mode.
    [Firmware Bug]: ACPI: ACPI brightness control misses _BQC function
    ACPI: EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62
    ACPI: EC: driver started in poll mode
    ACPI: No dock devices found.
    ACPI: PCI Root Bridge [PCI0] (0000:00)
    pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:01.0: PME# disabled
    pci 0000:00:1a.0: reg 20 io port: [0x1800-0x181f]
    pci 0000:00:1a.1: reg 20 io port: [0x1820-0x183f]
    pci 0000:00:1a.7: reg 10 32bit mmio: [0xfc404800-0xfc404bff]
    pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
    pci 0000:00:1a.7: PME# disabled
    pci 0000:00:1b.0: reg 10 64bit mmio: [0xfc400000-0xfc403fff]
    pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:1b.0: PME# disabled
    pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:1c.0: PME# disabled
    pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
    pci 0000:00:1c.1: PME# disabled
    pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
    pci 0000:00:1c.2: PME# disabled
    pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
    pci 0000:00:1c.4: PME# disabled
    pci 0000:00:1d.0: reg 20 io port: [0x1840-0x185f]
    pci 0000:00:1d.1: reg 20 io port: [0x1860-0x187f]
    pci 0000:00:1d.2: reg 20 io port: [0x1880-0x189f]
    pci 0000:00:1d.7: reg 10 32bit mmio: [0xfc404c00-0xfc404fff]
    pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
    pci 0000:00:1d.7: PME# disabled
    pci 0000:00:1f.0: quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
    pci 0000:00:1f.0: quirk: region 1180-11bf claimed by ICH6 GPIO
    pci 0000:00:1f.1: reg 10 io port: [0x00-0x07]
    pci 0000:00:1f.1: reg 14 io port: [0x00-0x03]
    pci 0000:00:1f.1: reg 18 io port: [0x00-0x07]
    pci 0000:00:1f.1: reg 1c io port: [0x00-0x03]
    pci 0000:00:1f.1: reg 20 io port: [0x18a0-0x18af]
    pci 0000:00:1f.2: reg 10 io port: [0x18d8-0x18df]
    pci 0000:00:1f.2: reg 14 io port: [0x18cc-0x18cf]
    pci 0000:00:1f.2: reg 18 io port: [0x18d0-0x18d7]
    pci 0000:00:1f.2: reg 1c io port: [0x18c8-0x18cb]
    pci 0000:00:1f.2: reg 20 io port: [0x18e0-0x18ff]
    pci 0000:00:1f.2: reg 24 32bit mmio: [0xfc404000-0xfc4047ff]
    pci 0000:00:1f.2: PME# supported from D3hot
    pci 0000:00:1f.2: PME# disabled
    pci 0000:00:1f.3: reg 10 32bit mmio: [0x000000-0x0000ff]
    pci 0000:00:1f.3: reg 20 io port: [0x1c00-0x1c1f]
    pci 0000:01:00.0: reg 10 32bit mmio: [0xce000000-0xceffffff]
    pci 0000:01:00.0: reg 14 64bit mmio: [0xd0000000-0xdfffffff]
    pci 0000:01:00.0: reg 1c 64bit mmio: [0xcc000000-0xcdffffff]
    pci 0000:01:00.0: reg 24 io port: [0x2000-0x207f]
    pci 0000:01:00.0: reg 30 32bit mmio: [0x000000-0x01ffff]
    pci 0000:00:01.0: bridge io port: [0x2000-0x2fff]
    pci 0000:00:01.0: bridge 32bit mmio: [0xcc000000-0xceffffff]
    pci 0000:00:01.0: bridge 64bit mmio pref: [0xd0000000-0xdfffffff]
    pci 0000:00:1c.0: bridge io port: [0x3000-0x3fff]
    pci 0000:00:1c.0: bridge 32bit mmio: [0xf6000000-0xf7ffffff]
    pci 0000:00:1c.0: bridge 64bit mmio pref: [0xf0000000-0xf1ffffff]
    pci 0000:00:1c.1: bridge io port: [0x4000-0x4fff]
    pci 0000:00:1c.1: bridge 32bit mmio: [0xf8000000-0xf9ffffff]
    pci 0000:00:1c.1: bridge 64bit mmio pref: [0xf2000000-0xf3ffffff]
    pci 0000:06:00.0: reg 10 32bit mmio: [0xfa000000-0xfa000fff]
    pci 0000:06:00.0: PME# supported from D0 D3hot D3cold
    pci 0000:06:00.0: PME# disabled
    pci 0000:00:1c.2: bridge io port: [0x5000-0x5fff]
    pci 0000:00:1c.2: bridge 32bit mmio: [0xfa000000-0xfbffffff]
    pci 0000:00:1c.2: bridge 64bit mmio pref: [0xf4000000-0xf5ffffff]
    pci 0000:08:00.0: reg 10 64bit mmio: [0xfc000000-0xfc003fff]
    pci 0000:08:00.0: reg 18 io port: [0x6000-0x60ff]
    pci 0000:08:00.0: supports D1 D2
    pci 0000:08:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    pci 0000:08:00.0: PME# disabled
    pci 0000:00:1c.4: bridge io port: [0x6000-0x6fff]
    pci 0000:00:1c.4: bridge 32bit mmio: [0xfc000000-0xfc0fffff]
    pci 0000:09:03.0: reg 10 32bit mmio: [0xfc100000-0xfc100fff]
    pci 0000:09:03.0: supports D1 D2
    pci 0000:09:03.0: PME# supported from D0 D1 D2 D3hot D3cold
    pci 0000:09:03.0: PME# disabled
    pci 0000:09:03.1: reg 10 32bit mmio: [0xfc102000-0xfc1027ff]
    pci 0000:09:03.1: reg 14 32bit mmio: [0xfc104000-0xfc107fff]
    pci 0000:09:03.1: supports D1 D2
    pci 0000:09:03.1: PME# supported from D0 D1 D2 D3hot D3cold
    pci 0000:09:03.1: PME# disabled
    pci 0000:09:03.2: reg 10 32bit mmio: [0xfc101000-0xfc101fff]
    pci 0000:09:03.2: supports D1 D2
    pci 0000:09:03.2: PME# supported from D0 D1 D2 D3hot
    pci 0000:09:03.2: PME# disabled
    pci 0000:00:1e.0: transparent bridge
    pci 0000:00:1e.0: bridge 32bit mmio: [0xfc100000-0xfc1fffff]
    pci_bus 0000:00: on NUMA node 0
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEGP._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP03._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP05._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
    ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 *5 6 7 10 12 14 15)
    ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
    ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 *7 10 12 14 15)
    ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
    ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
    ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 *11 12 14 15)
    ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
    ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
    PCI: Using ACPI for IRQ routing
    NetLabel: Initializing
    NetLabel: domain hash size = 128
    NetLabel: protocols = UNLABELED CIPSOv4
    NetLabel: unlabeled traffic allowed by default
    Switched to high resolution mode on CPU 0
    Switched to high resolution mode on CPU 1
    pnp: PnP ACPI init
    ACPI: bus type pnp registered
    pnp: PnP ACPI: found 10 devices
    ACPI: ACPI bus type pnp unregistered
    system 00:01: iomem range 0xfed1c000-0xfed1ffff has been reserved
    system 00:01: iomem range 0xfed14000-0xfed17fff has been reserved
    system 00:01: iomem range 0xfed18000-0xfed18fff has been reserved
    system 00:01: iomem range 0xfed19000-0xfed19fff has been reserved
    system 00:01: iomem range 0xe0000000-0xefffffff has been reserved
    system 00:01: iomem range 0xfed20000-0xfed3ffff has been reserved
    system 00:01: iomem range 0xfed40000-0xfed44fff has been reserved
    system 00:01: iomem range 0xfed45000-0xfed8ffff has been reserved
    system 00:04: iomem range 0xfed00000-0xfed003ff has been reserved
    system 00:06: ioport range 0x680-0x69f has been reserved
    system 00:06: ioport range 0x800-0x80f has been reserved
    system 00:06: ioport range 0x1000-0x107f has been reserved
    system 00:06: ioport range 0x1180-0x11bf has been reserved
    system 00:06: ioport range 0x1640-0x164f has been reserved
    system 00:06: ioport range 0xfe00-0xfe7f has been reserved
    system 00:06: ioport range 0xfe80-0xfeff has been reserved
    pci 0000:01:00.0: BAR 6: can't allocate mem resource [0xe0000000-0xdfffffff]
    pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
    pci 0000:00:01.0: IO window: 0x2000-0x2fff
    pci 0000:00:01.0: MEM window: 0xcc000000-0xceffffff
    pci 0000:00:01.0: PREFETCH window: 0x000000d0000000-0x000000dfffffff
    pci 0000:00:1c.0: PCI bridge, secondary bus 0000:02
    pci 0000:00:1c.0: IO window: 0x3000-0x3fff
    pci 0000:00:1c.0: MEM window: 0xf6000000-0xf7ffffff
    pci 0000:00:1c.0: PREFETCH window: 0x000000f0000000-0x000000f1ffffff
    pci 0000:00:1c.1: PCI bridge, secondary bus 0000:04
    pci 0000:00:1c.1: IO window: 0x4000-0x4fff
    pci 0000:00:1c.1: MEM window: 0xf8000000-0xf9ffffff
    pci 0000:00:1c.1: PREFETCH window: 0x000000f2000000-0x000000f3ffffff
    pci 0000:00:1c.2: PCI bridge, secondary bus 0000:06
    pci 0000:00:1c.2: IO window: 0x5000-0x5fff
    pci 0000:00:1c.2: MEM window: 0xfa000000-0xfbffffff
    pci 0000:00:1c.2: PREFETCH window: 0x000000f4000000-0x000000f5ffffff
    pci 0000:00:1c.4: PCI bridge, secondary bus 0000:08
    pci 0000:00:1c.4: IO window: 0x6000-0x6fff
    pci 0000:00:1c.4: MEM window: 0xfc000000-0xfc0fffff
    pci 0000:00:1c.4: PREFETCH window: disabled
    pci 0000:09:03.0: CardBus bridge, secondary bus 0000:0a
    pci 0000:09:03.0: IO window: 0x007000-0x0070ff
    pci 0000:09:03.0: IO window: 0x007400-0x0074ff
    pci 0000:09:03.0: PREFETCH window: 0x88000000-0x8bffffff
    pci 0000:09:03.0: MEM window: 0x90000000-0x93ffffff
    pci 0000:00:1e.0: PCI bridge, secondary bus 0000:09
    pci 0000:00:1e.0: IO window: 0x7000-0x7fff
    pci 0000:00:1e.0: MEM window: 0xfc100000-0xfc1fffff
    pci 0000:00:1e.0: PREFETCH window: 0x00000088000000-0x0000008bffffff
    pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    pci 0000:00:01.0: setting latency timer to 64
    pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    pci 0000:00:1c.0: setting latency timer to 64
    pci 0000:00:1c.1: PCI INT B -> GSI 16 (level, low) -> IRQ 16
    pci 0000:00:1c.1: setting latency timer to 64
    pci 0000:00:1c.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    pci 0000:00:1c.2: setting latency timer to 64
    pci 0000:00:1c.4: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    pci 0000:00:1c.4: setting latency timer to 64
    pci 0000:00:1e.0: setting latency timer to 64
    pci 0000:09:03.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    pci_bus 0000:00: resource 0 io: [0x00-0xffff]
    pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff]
    pci_bus 0000:01: resource 0 io: [0x2000-0x2fff]
    pci_bus 0000:01: resource 1 mem: [0xcc000000-0xceffffff]
    pci_bus 0000:01: resource 2 pref mem [0xd0000000-0xdfffffff]
    pci_bus 0000:02: resource 0 io: [0x3000-0x3fff]
    pci_bus 0000:02: resource 1 mem: [0xf6000000-0xf7ffffff]
    pci_bus 0000:02: resource 2 pref mem [0xf0000000-0xf1ffffff]
    pci_bus 0000:04: resource 0 io: [0x4000-0x4fff]
    pci_bus 0000:04: resource 1 mem: [0xf8000000-0xf9ffffff]
    pci_bus 0000:04: resource 2 pref mem [0xf2000000-0xf3ffffff]
    pci_bus 0000:06: resource 0 io: [0x5000-0x5fff]
    pci_bus 0000:06: resource 1 mem: [0xfa000000-0xfbffffff]
    pci_bus 0000:06: resource 2 pref mem [0xf4000000-0xf5ffffff]
    pci_bus 0000:08: resource 0 io: [0x6000-0x6fff]
    pci_bus 0000:08: resource 1 mem: [0xfc000000-0xfc0fffff]
    pci_bus 0000:09: resource 0 io: [0x7000-0x7fff]
    pci_bus 0000:09: resource 1 mem: [0xfc100000-0xfc1fffff]
    pci_bus 0000:09: resource 2 pref mem [0x88000000-0x8bffffff]
    pci_bus 0000:09: resource 3 io: [0x00-0xffff]
    pci_bus 0000:09: resource 4 mem: [0x000000-0xffffffffffffffff]
    pci_bus 0000:0a: resource 0 io: [0x7000-0x70ff]
    pci_bus 0000:0a: resource 1 io: [0x7400-0x74ff]
    pci_bus 0000:0a: resource 2 pref mem [0x88000000-0x8bffffff]
    pci_bus 0000:0a: resource 3 mem: [0x90000000-0x93ffffff]
    NET: Registered protocol family 2
    IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
    TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
    TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
    TCP: Hash tables configured (established 262144 bind 65536)
    TCP reno registered
    NET: Registered protocol family 1
    Unpacking initramfs...
    Freeing initrd memory: 2743k freed
    Simple Boot Flag at 0x36 set to 0x1
    Scanning for low memory corruption every 60 seconds
    audit: initializing netlink socket (disabled)
    type=2000 audit(1249997463.944:1): initialized
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    msgmni has been set to 4017
    alg: No test for stdrng (krng)
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    pci 0000:01:00.0: Boot video device
    pcieport-driver 0000:00:01.0: irq 24 for MSI/MSI-X
    pcieport-driver 0000:00:01.0: setting latency timer to 64
    pcieport-driver 0000:00:1c.0: irq 25 for MSI/MSI-X
    pcieport-driver 0000:00:1c.0: setting latency timer to 64
    pcieport-driver 0000:00:1c.1: irq 26 for MSI/MSI-X
    pcieport-driver 0000:00:1c.1: setting latency timer to 64
    pcieport-driver 0000:00:1c.2: irq 27 for MSI/MSI-X
    pcieport-driver 0000:00:1c.2: setting latency timer to 64
    pcieport-driver 0000:00:1c.4: irq 28 for MSI/MSI-X
    pcieport-driver 0000:00:1c.4: setting latency timer to 64
    vesafb: framebuffer at 0xcd000000, mapped to 0xffffc20010100000, using 8000k, total 14336k
    vesafb: mode is 1280x800x32, linelength=5120, pages=1
    vesafb: scrolling: redraw
    vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
    Console: switching to colour frame buffer device 160x50
    fb0: VESA VGA frame buffer device
    Linux agpgart interface v0.103
    Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    input: Macintosh mouse button emulation as /devices/virtual/input/input0
    PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
    i8042.c: Detected active multiplexing controller, rev 1.1.
    serio: i8042 KBD port at 0x60,0x64 irq 1
    serio: i8042 AUX0 port at 0x60,0x64 irq 12
    serio: i8042 AUX1 port at 0x60,0x64 irq 12
    serio: i8042 AUX2 port at 0x60,0x64 irq 12
    serio: i8042 AUX3 port at 0x60,0x64 irq 12
    mice: PS/2 mouse device common for all mice
    cpuidle: using governor ladder
    cpuidle: using governor menu
    TCP cubic registered
    NET: Registered protocol family 17
    registered taskstats version 1
    Initalizing network drop monitor service
    Freeing unused kernel memory: 464k freed
    SCSI subsystem initialized
    libata version 3.00 loaded.
    pata_acpi 0000:00:1f.1: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    pata_acpi 0000:00:1f.1: setting latency timer to 64
    pata_acpi 0000:00:1f.1: PCI INT A disabled
    ahci 0000:00:1f.2: version 3.0
    ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    ahci 0000:00:1f.2: irq 29 for MSI/MSI-X
    ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 3 ports 3 Gbps 0x7 impl SATA mode
    ahci 0000:00:1f.2: flags: 64bit ncq sntf pm led clo pio slum part
    ahci 0000:00:1f.2: setting latency timer to 64
    scsi0 : ahci
    scsi1 : ahci
    scsi2 : ahci
    ata1: SATA max UDMA/133 abar m2048@0xfc404000 port 0xfc404100 irq 29
    ata2: SATA max UDMA/133 abar m2048@0xfc404000 port 0xfc404180 irq 29
    ata3: SATA max UDMA/133 abar m2048@0xfc404000 port 0xfc404200 irq 29
    input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
    ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata2: SATA link down (SStatus 0 SControl 300)
    ata3: SATA link down (SStatus 0 SControl 300)
    ata1.00: ACPI cmd ef/90:03:00:00:00:a0 succeeded
    ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
    ata1.00: ATA-7: FUJITSU MHV2200BT, 0000004F, max UDMA/100
    ata1.00: 390721968 sectors, multi 16: LBA48 NCQ (depth 31/32)
    ata1.00: ACPI cmd ef/90:03:00:00:00:a0 succeeded
    ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
    ata1.00: configured for UDMA/100
    scsi 0:0:0:0: Direct-Access ATA FUJITSU MHV2200B 0000 PQ: 0 ANSI: 5
    ata_piix 0000:00:1f.1: version 2.13
    ata_piix 0000:00:1f.1: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    ata_piix 0000:00:1f.1: setting latency timer to 64
    scsi3 : ata_piix
    scsi4 : ata_piix
    ata4: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x18a0 irq 14
    ata5: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x18a8 irq 15
    ata4.00: ATAPI: MATSHITABD-MLT UJ-220V, 1.00, max UDMA/33
    ata4.00: configured for UDMA/33
    scsi 3:0:0:0: CD-ROM MATSHITA BD-MLT UJ-220V 1.00 PQ: 0 ANSI: 5
    Driver 'sd' needs updating - please use bus_type methods
    sd 0:0:0:0: [sda] 390721968 512-byte hardware sectors: (200 GB/186 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 >
    sd 0:0:0:0: [sda] Attached SCSI disk
    device-mapper: uevent: version 1.0.3
    device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: [email protected]
    Intel AES-NI instructions are not detected.
    kjournald starting. Commit interval 5 seconds
    EXT3-fs: mounted filesystem with writeback data mode.
    rtc_cmos 00:07: RTC can wake from S4
    rtc_cmos 00:07: rtc core: registered rtc_cmos as rtc0
    rtc0: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
    udev: starting version 141
    sky2 driver version 1.22
    sky2 0000:08:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    sky2 0000:08:00.0: setting latency timer to 64
    sky2 0000:08:00.0: Yukon-2 FE chip revision 1
    sky2 0000:08:00.0: irq 30 for MSI/MSI-X
    sky2 eth0: addr 00:13:a9:c1:09:33
    cfg80211: Calling CRDA to update world regulatory domain
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    scsi 3:0:0:0: Attached scsi generic sg1 type 5
    ACPI: AC Adapter [ADP1] (on-line)
    input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input2
    ACPI: Lid Switch [LID0]
    input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input3
    ACPI: Power Button [PWRB]
    ACPI: SSDT 000000007fedb8e7 0027A (v01 Sony VAIO 20070418 PTL 20050624)
    ACPI: SSDT 000000007fedb3b8 004AA (v01 Sony VAIO 20070418 PTL 20050624)
    ACPI Warning (processor_throttling-0843): Invalid throttling state, reset [20090320]
    Monitor-Mwait will be used to enter C-1 state
    Monitor-Mwait will be used to enter C-2 state
    Monitor-Mwait will be used to enter C-3 state
    Marking TSC unstable due to TSC halts in idle
    ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
    processor ACPI_CPU:00: registered as cooling_device0
    ACPI: Processor [CPU0] (supports 8 throttling states)
    ACPI: SSDT 000000007fedbb61 000C8 (v01 Sony VAIO 20070418 PTL 20050624)
    ACPI: SSDT 000000007fedb862 00085 (v01 Sony VAIO 20070418 PTL 20050624)
    ACPI Warning (processor_throttling-0843): Invalid throttling state, reset [20090320]
    ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
    processor ACPI_CPU:01: registered as cooling_device1
    ACPI: Processor [CPU1] (supports 8 throttling states)
    thermal LNXTHERM:01: registered as thermal_zone0
    ACPI: Thermal Zone [TZ00] (58 C)
    input: PC Speaker as /devices/platform/pcspkr/input/input4
    sony-laptop: Sony Notebook Control Driver v0.6.
    input: Sony Vaio Keys as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:29/SNY5001:00/input/input5
    input: Sony Vaio Jogdial as /devices/virtual/input/input6
    ACPI: Invalid active0 threshold
    iTCO_vendor_support: vendor-support=0
    thermal LNXTHERM:02: registered as thermal_zone1
    ACPI: Thermal Zone [TZ01] (58 C)
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    ACPI: Battery Slot [BAT0] (battery present)
    i801_smbus 0000:00:1f.3: PCI INT C -> GSI 19 (level, low) -> IRQ 19
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    ehci_hcd 0000:00:1a.7: setting latency timer to 64
    ehci_hcd 0000:00:1a.7: EHCI Host Controller
    ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
    ehci_hcd 0000:00:1a.7: debug port 1
    ehci_hcd 0000:00:1a.7: cache line size of 32 is not supported
    ehci_hcd 0000:00:1a.7: irq 18, io mem 0xfc404800
    ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 4 ports detected
    ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
    ehci_hcd 0000:00:1d.7: setting latency timer to 64
    ehci_hcd 0000:00:1d.7: EHCI Host Controller
    ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
    ehci_hcd 0000:00:1d.7: debug port 1
    ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
    ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfc404c00
    ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 6 ports detected
    uhci_hcd: USB Universal Host Controller Interface driver
    uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    uhci_hcd 0000:00:1a.0: setting latency timer to 64
    uhci_hcd 0000:00:1a.0: UHCI Host Controller
    uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
    uhci_hcd 0000:00:1a.0: irq 16, io base 0x00001800
    usb usb3: configuration #1 chosen from 1 choice
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
    uhci_hcd 0000:00:1a.1: setting latency timer to 64
    uhci_hcd 0000:00:1a.1: UHCI Host Controller
    uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
    uhci_hcd 0000:00:1a.1: irq 21, io base 0x00001820
    usb usb4: configuration #1 chosen from 1 choice
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
    uhci_hcd 0000:00:1d.0: setting latency timer to 64
    uhci_hcd 0000:00:1d.0: UHCI Host Controller
    uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
    uhci_hcd 0000:00:1d.0: irq 23, io base 0x00001840
    usb usb5: configuration #1 chosen from 1 choice
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    uhci_hcd 0000:00:1d.1: setting latency timer to 64
    uhci_hcd 0000:00:1d.1: UHCI Host Controller
    uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
    uhci_hcd 0000:00:1d.1: irq 19, io base 0x00001860
    usb usb6: configuration #1 chosen from 1 choice
    hub 6-0:1.0: USB hub found
    hub 6-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    uhci_hcd 0000:00:1d.2: setting latency timer to 64
    uhci_hcd 0000:00:1d.2: UHCI Host Controller
    uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
    uhci_hcd 0000:00:1d.2: irq 18, io base 0x00001880
    usb usb7: configuration #1 chosen from 1 choice
    hub 7-0:1.0: USB hub found
    hub 7-0:1.0: 2 ports detected
    input: PS/2 Mouse as /devices/platform/i8042/serio4/input/input7
    input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio4/input/input8
    usb 1-2: new high speed USB device using ehci_hcd and address 2
    usb 1-2: configuration #1 chosen from 1 choice
    usb 2-3: new high speed USB device using ehci_hcd and address 3
    nvidia: module license 'NVIDIA' taints kernel.
    Disabling lock debugging due to kernel taint
    iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
    iTCO_wdt: Found a ICH8M TCO device (Version=2, TCOBASE=0x1060)
    iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
    yenta_cardbus 0000:09:03.0: CardBus bridge found [104d:9005]
    yenta_cardbus 0000:09:03.0: Using CSCINT to route CSC interrupts to PCI
    yenta_cardbus 0000:09:03.0: Routing CardBus interrupts to PCI
    yenta_cardbus 0000:09:03.0: TI: mfunc 0x01121b22, devctl 0x64
    usb 2-3: configuration #1 chosen from 1 choice
    nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    nvidia 0000:01:00.0: setting latency timer to 64
    NVRM: loading NVIDIA UNIX x86_64 Kernel Module 185.18.31 Tue Jul 28 17:52:27 PDT 2009
    yenta_cardbus 0000:09:03.0: ISA IRQ mask 0x0cf8, PCI irq 16
    yenta_cardbus 0000:09:03.0: Socket status: 30000006
    pci_bus 0000:09: Raising subordinate bus# of parent bus (#09) from #0a to #0d
    yenta_cardbus 0000:09:03.0: pcmcia: parent PCI bridge I/O window: 0x7000 - 0x7fff
    yenta_cardbus 0000:09:03.0: pcmcia: parent PCI bridge Memory window: 0xfc100000 - 0xfc1fffff
    yenta_cardbus 0000:09:03.0: pcmcia: parent PCI bridge Memory window: 0x88000000 - 0x8bffffff
    iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.26ks
    iwl3945: Copyright(c) 2003-2009 Intel Corporation
    iwl3945 0000:06:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    iwl3945 0000:06:00.0: setting latency timer to 64
    ohci1394 0000:09:03.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
    Driver 'sr' needs updating - please use bus_type methods
    sr0: scsi3-mmc drive: 62x/62x writer dvd-ram cd/rw xa/form2 cdda tray
    Uniform CD-ROM driver Revision: 3.20
    sr 3:0:0:0: Attached scsi CD-ROM sr0
    ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[17] MMIO=[fc102000-fc1027ff] Max Packet=[2048] IR/IT contexts=[4/8]
    tifm_7xx1 0000:09:03.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    HDA Intel 0000:00:1b.0: setting latency timer to 64
    hub 2-0:1.0: unable to enumerate USB device on port 5
    iwl3945 0000:06:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
    iwl3945 0000:06:00.0: Detected Intel Wireless WiFi Link 3945ABG
    iwl3945 0000:06:00.0: irq 31 for MSI/MSI-X
    Initializing USB Mass Storage driver...
    scsi5 : SCSI emulation for USB Mass Storage devices
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usb-storage: device found at 3
    usb-storage: waiting for device to settle before scanning
    input: HDA Intel Mic at Ext Left Jack as /devices/pci0000:00/0000:00:1b.0/input/input9
    input: HDA Intel HP Out at Ext Left Jack as /devices/pci0000:00/0000:00:1b.0/input/input10
    usb 5-1: new low speed USB device using uhci_hcd and address 2
    usbcore: registered new interface driver hiddev
    Linux video capture interface: v2.00
    input: Western Digital My Book as /devices/pci0000:00/0000:00:1d.7/usb2/2-3/2-3:1.1/input/input11
    generic-usb 0003:1058:1102.0001: input,hidraw0: USB HID v1.11 Device [Western Digital My Book] on usb-0000:00:1d.7-3/input1
    usbcore: registered new interface driver usbhid
    usbhid: v2.6:USB HID core driver
    uvcvideo: Found UVC 1.00 device <unnamed> (05ca:1837)
    uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
    uvcvideo: Failed to query (129) UVC probe control : -32 (exp. 26).
    uvcvideo: Failed to initialize the device (-5).
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    phy0: Selected rate control algorithm 'iwl-3945-rs'
    usb 5-1: configuration #1 chosen from 1 choice
    input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input12
    generic-usb 0003:046D:C518.0002: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-1/input0
    input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/input/input13
    generic-usb 0003:046D:C518.0003: input,hiddev0,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1/input1
    fuse init (API version 7.11)
    vboxdrv: Trying to deactivate the NMI watchdog permanently...
    vboxdrv: Successfully done.
    vboxdrv: Found 2 processor cores.
    VBoxDrv: dbg - g_abExecMemory=ffffffffa0f05760
    vboxdrv: fAsync=0 offMin=0x1ae offMax=0x125c
    vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
    vboxdrv: Successfully loaded version 3.0.4 (interface 0x000e0000).
    VBoxNetFlt: dbg - g_abExecMemory=ffffffffa10a9f00
    hub 2-0:1.0: unable to enumerate USB device on port 5
    ieee1394: Host added: ID:BUS[0-00:1023] GUID[0800460302564f69]
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    Clocksource tsc unstable (delta = -435934901 ns)
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    EXT3 FS on dm-0, internal journal
    scsi 5:0:0:0: Direct-Access WD My Book 1028 PQ: 0 ANSI: 4
    sd 5:0:0:0: Attached scsi generic sg2 type 0
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    sd 5:0:0:0: [sdb] 625142448 512-byte hardware sectors: (320 GB/298 GiB)
    sd 5:0:0:0: [sdb] Write Protect is off
    sd 5:0:0:0: [sdb] Mode Sense: 10 00 00 00
    sd 5:0:0:0: [sdb] Assuming drive cache: write through
    usb-storage: device scan complete
    sd 5:0:0:0: [sdb] Assuming drive cache: write through
    sdb: sdb1
    sd 5:0:0:0: [sdb] Attached SCSI disk
    EXT4-fs: barriers enabled
    kjournald2 starting: pid 1929, dev dm-1:8, commit interval 5 seconds
    EXT4 FS on dm-1, internal journal on dm-1:8
    EXT4-fs: delayed allocation enabled
    EXT4-fs: file extents enabled
    EXT4-fs: mballoc enabled
    EXT4-fs: mounted filesystem dm-1 with ordered data mode
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    Adding 2449872k swap on /dev/sda6. Priority:-1 extents:1 across:2449872k
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    iwl3945 0000:06:00.0: firmware: requesting iwlwifi-3945-2.ucode
    hub 2-0:1.0: unable to enumerate USB device on port 5
    iwl3945 0000:06:00.0: loaded firmware version 15.32.2.9
    Registered led device: iwl-phy0::radio
    Registered led device: iwl-phy0::assoc
    Registered led device: iwl-phy0::RX
    Registered led device: iwl-phy0::TX
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    wlan0: authenticate with AP 00:11:6b:10:2f:bc
    wlan0: authenticated
    wlan0: associate with AP 00:11:6b:10:2f:bc
    wlan0: RX AssocResp from 00:11:6b:10:2f:bc (capab=0x471 status=0 aid=1)
    wlan0: associated
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    hub 2-0:1.0: unable to enumerate USB device on port 5
    i think the result is, that my bluetooth and webcam isn't working...
    can you help me pls.
    regards nigg
    Last edited by nigg (2009-08-11 14:14:57)

    I'm also having this problem. It's happening with my USB flash disk. I was almost buying another one when I tried it with Windows Vista on the same machine and it worked ok, then I tried Arch Linux (with kernel 2.6.30.5) on another machine and got the same error. After that I tried Ubuntu and it worked ok. Seems that Arch's kernel doesn't like my USB flash disk.
    Last edited by esdrasbeleza (2009-09-02 01:16:09)

  • Movement with timers.

    i have a game in which my character moves when one of the direction keys is pressed.
    when a key is pressed, a timer is created, along with a timertask the changes the characters location every couple of miliseconds depending on what direction is pressed.
    when the key is released, the timertask and timers are cancelled.
    the problem with this, is that the timer can malfuntion, causing the character to uncontrollably run away.
    this is due (i theorize) to the timers adding up, when more than one key is pressed at the same time.
    is there a better way to get the character to move? (rather than timers)
    just pressing the key isnt an option, since there is a pause if you depress it for a couple of milliseconds before it starts running smoothly.

    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import javax.swing.Timer;
    public class KeyMotion
        public static void main(String[] args)
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new MotionPanel());
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    class MotionPanel extends JPanel
        Image image;
        int x, y, xInc, yInc;
        Timer upTimer, leftTimer, downTimer, rightTimer;
        public MotionPanel()
            x = 150;
            y = 150;
            xInc = 2;
            yInc = 2;
            loadImage();
            initializeTimers();
            registerKeys();
            setBackground(Color.white);
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            g.drawImage(image, x, y, this);
        private void registerKeys()
            String[] keys = { "UP", "LEFT", "DOWN", "RIGHT" };
            Action[] actions = { up, left, down, right };
            for(int j = 0; j < keys.length; j++)
                getInputMap().put(KeyStroke.getKeyStroke(keys[j]), keys[j]);
                getActionMap().put(keys[j], actions[j]);
        private void initializeTimers()
            upTimer = new Timer(40, new ActionListener()
                public void actionPerformed(ActionEvent e)
                    y -= yInc;
                    repaint();
            leftTimer = new Timer(40, new ActionListener()
                public void actionPerformed(ActionEvent e)
                    x -= xInc;
                    repaint();
            downTimer = new Timer(40, new ActionListener()
                public void actionPerformed(ActionEvent e)
                    y += yInc;
                    repaint();
            rightTimer = new Timer(40, new ActionListener()
                public void actionPerformed(ActionEvent e)
                    x += xInc;
                    repaint();
        private void loadImage()
            String fileName = "images/dukeWaveRed.gif";
            try
                URL url = getClass().getResource(fileName);
                image = ImageIO.read(url);
            catch(MalformedURLException mue)
                System.out.println("URL help: " + mue.getMessage());
            catch(IOException ioe)
                System.out.println("io help: " + ioe.getMessage());
        private Action up = new AbstractAction()
            public void actionPerformed(ActionEvent e)
                if(upTimer.isRunning())
                    return;
                if(downTimer.isRunning())
                    downTimer.stop();
                    return;
                upTimer.start();
        private Action left = new AbstractAction()
            public void actionPerformed(ActionEvent e)
                if(leftTimer.isRunning())
                    return;
                if(rightTimer.isRunning())
                    rightTimer.stop();
                    return;
                leftTimer.start();
        private Action down = new AbstractAction()
            public void actionPerformed(ActionEvent e)
                if(downTimer.isRunning())
                    return;
                if(upTimer.isRunning())
                    upTimer.stop();
                    return;
                downTimer.start();
        private Action right = new AbstractAction()
            public void actionPerformed(ActionEvent e)
                if(rightTimer.isRunning())
                    return;
                if(leftTimer.isRunning())
                    leftTimer.stop();
                    return;
                rightTimer.start();
    }

  • I have a problem with my new Apple Air. It usually takes few seconds for the laptop to be untouched in order to be locked. So sometimes when the screen starts to get dim in order to lock, I immediately touch the keypad to avoid locking the laptop

    I have a problem with my new Apple Air. It usually takes few seconds for the laptop to be untouched in order to be locked. So, sometimes when the screen starts to get dim in order to lock, I immediately touch the keypad to avoid locking the laptop, the result is a black screen appears with no responding to anything from pressing the keyboard to pressing the touchpad. It takes few minutes for the laptop to open again and then a message appears saying that there was a problem with the lock security.
    What is happening exactly?

    It sounds like your sleep timers are set to too low of a value.  Go to System Preferences -> Energy Saver and set both timers to longer times.  The computer sleep timer should be a longer time than the display sleep timer.

  • A problem with threads

    I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
    Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
    My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
    Thank you in advance,
    Lefty

    This was one solution from the socket programming forum, have you tried this??
    public Thread MyThread extends Thread{
         boolean active = true;          
         public void run(){
              ss.setSoTimeout(90);               
              while (active){                   
                   try{                       
                        serverSocket = ss.accept();
                   catch (SocketTimeoutException ste){
                   // do nothing                   
         // interrupt thread           
         public void deactivate(){               
              active = false;
              // you gotta sleep for a time longer than the               
              // accept() timeout to make sure that timeout is finished.               
              try{
                   sleep(91);               
              }catch (InterruptedException ie){            
              interrupt();
    }

  • Problem with Threads and a static variable

    I have a problem with the code below. I am yet to make sure that I understand the problem. Correct me if I am wrong please.
    Code functionality:
    A timer calls SetState every second. It sets the state and sets boolean variable "changed" to true. Then notifies a main process thread to check if the state changed to send a message.
    The problem as far I understand is:
    Assume the timer Thread calls SetState twice before the main process Thread runs. As a result, "changed" is set to true twice. However, since the main process is blocked twice during the two calls to SetState, when it runs it would have the two SetState timer threads blocked on its synchronized body. It will pass the first one, send the message and set "changed" to false since it was true. Now, it will pass the second thread, but here is the problem, "changed" is already set to false. As a result, it won't send the message even though it is supposed to.
    Would you please let me know if my understanding is correct? If so, what would you propose to resolve the problem? Should I call wait some other or should I notify in a different way?
    Thanks,
    B.D.
    Code:
    private static volatile boolean bChanged = false;
    private static Thread objMainProcess;
       protected static void Init(){
            objMainProcess = new Thread() {
                public void run() {
                    while( objMainProcess == Thread.currentThread() ) {
                       GetState();
            objMainProcess.setDaemon( true );
            objMainProcess.start();
        public static void initStatusTimer(){
            if(objTimer == null)
                 objTimer = new javax.swing.Timer( 1000, new java.awt.event.ActionListener(){
                    public void actionPerformed( java.awt.event.ActionEvent evt){
                              SetState();
        private static void SetState(){
            if( objMainProcess == null ) return;
            synchronized( objMainProcess ) {
                bChanged = true;
                try{
                    objMainProcess.notify();
                }catch( IllegalMonitorStateException e ) {}
        private static boolean GetState() {
            if( objMainProcess == null ) return false;
            synchronized( objMainProcess ) {
                if( bChanged) {
                    SendMessage();
                    bChanged = false;
                    return true;
                try {
                    objMainProcess.wait();
                }catch( InterruptedException e ) {}
                return false;
        }

    Thanks DrClap for your reply. Everything you said is right. It is not easy to make them alternate since SetState() could be called from different places where the state could be anything else but a status message. Like a GREETING message for example. It is a handshaking message but not a status message.
    Again as you said, There is a reason I can't call sendMessage() inside setState().
    The only way I was able to do it is by having a counter of the number of notifies that have been called. Every time notify() is called a counter is incremented. Now instead of just checking if "changed" flag is true, I also check if notify counter is greater than zero. If both true, I send the message. If "changed" flag is false, I check again if the notify counter is greater than zero, I send the message. This way it works, but it is kind of a patch than a good design fix. I am yet to find a good solution.
    Thanks,
    B.D.

  • Problem with threads running javaw

    Hi,
    Having a problem with multi thread programming using client server sockets. The program works find when starting the the application in a console using java muti.java , but when using javaw multi.java the program doesnt die and have to kill it in the task manager. The program doesnt display any of my gui error messages either when the server disconnect the client. all works find in a console. any advice on this as I havent been able to understand why this is happening? any comment would be appreciated.
    troy.

    troy,
    Try and post a minimum code sample of your app which
    does not work.
    When using javaw, make sure you redirect the standard
    error and standard output streams to file.
    Graeme.Hi Graeme,
    I dont understand what you mean by redirection to file? some of my code below.
    The code works fine under a console, code is supposed to exit when the client (the other server )disconnects. the problem is that but the clientworker side of the code still works. which under console it doesnt.
    public class Server{
    ServerSocket aServerSocket;
    Socket dianosticsSocket;
    Socket nPortExpress;
    ClientListener aClientListener;
    LinkedList queue = new LinkedList();
    int port = 0;
    int clientPort = 0;
    String clientName = null;
    boolean serverAlive = true;
    * Server constructor generates a server
    * Socket and then starts a client threads.
    * @param aPort      socket port of local machine.
    public Server(int aPort, String aClientName, int aClientPort){
    port = aPort;
    clientName = aClientName;
    clientPort = aClientPort;
    try{
    // create a new thread
    aServerSocket = new ServerSocket(port) ;
    // connect to the nPortExpress
    aClientListener = new ClientListener(InetAddress.getByName(clientName), clientPort, queue,this);
    // aClientListener.setDaemon(true);
    aClientListener.start();
    // start a dianostic port
    DiagnosticsServer aDiagnosticsServer = new DiagnosticsServer(port,queue,aClientListener);
    // System.out.println("Server is running on port " + port + "...");
    // System.out.println("Connect to nPort");
    catch(Exception e)
    // System.out.println("ERROR: Server port " + port + " not available");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Server port " + port + " not available", JOptionPane.ERROR_MESSAGE);
    serverAlive = false;
    System.exit(1);
    while(serverAlive&&aClientListener.hostSocket.isConnected()){
    try{
    // connect the client
    Socket aClient = aServerSocket.accept();
    //System.out.println("open client connection");
    //System.out.println("client local: "+ aClient.getLocalAddress().toString());
    // System.out.println("client localport: "+ aClient.getLocalPort());
    // System.out.println("client : "+ aClient.getInetAddress().toString());
    // System.out.println("client port: "+ aClient.getLocalPort());
    // make a new client thread
    ClientWorker clientThread = new ClientWorker(aClient, queue, aClientListener, false);
    // start thread
    clientThread.start();
    catch(Exception e)
    //System.out.println("ERROR: Client connection failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client connection failure", JOptionPane.ERROR_MESSAGE);
    }// end while
    } // end constructor Server
    void serverExit(){
         JOptionPane.showMessageDialog(null, "Server ","ERROR: nPort Failure", JOptionPane.ERROR_MESSAGE);
         System.exit(1);
    }// end class Server
    *** connect to another server
    public class ClientListener extends Thread{
    InetAddress hostName;
    int hostPort;
    Socket hostSocket;
    BufferedReader in;
    PrintWriter out;
    boolean loggedIn;
    LinkedList queue;      // reference to Server queue
    Server serverRef; // reference to main server
    * ClientListener connects to the host server.
    * @param aHostName is the name of the host eg server name or IP address.
    * @param aHostPort is a port number of the host.
    * @param aLoginName is the users login name.
    public ClientListener(InetAddress aHostName, int aHostPort,LinkedList aQueue,Server aServer)      // reference to Server queue)
    hostName = aHostName;
    hostPort = aHostPort;
    queue = aQueue;
    serverRef = aServer;      
    // connect to the server
    try{
    hostSocket = new Socket(hostName, hostPort);
    catch(IOException e){
    //System.out.println("ERROR: Connection Host Failed");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort Failed", JOptionPane.ERROR_MESSAGE);     
    System.exit(0);
    } // end constructor ClientListener
    ** multi client connection server
    ClientWorker(Socket aSocket,LinkedList aQueue, ClientListener aClientListener, boolean diagnostics){
    queue = aQueue;
    addToQueue(this);
    client = aSocket;
    clientRef = aClientListener;
    aDiagnostic = diagnostics;
    } // end constructor ClientWorker
    * run method is the main loop of the server program
    * in change of handle new client connection as well
    * as handle all messages and errors.
    public void run(){
    boolean alive = true;
    String aSubString = "";
    in = null;
    out = null;
    loginName = "";
    loggedIn = false;
    while (alive && client.isConnected()&& clientRef.hostSocket.isConnected()){
    try{
    in = new BufferedReader(new InputStreamReader(client.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(client.getOutputStream()));
    if(aDiagnostic){
    out.println("WELCOME to diagnostics");
    broadCastDia("Connect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    out.println("WELCOME to Troy's Server");
    broadCastDia("Connect : client "+client.getInetAddress().toString());
         out.flush();
    String line;
    while(((line = in.readLine())!= null)){
    StringTokenizer aStringToken = new StringTokenizer(line, " ");
    if(!aDiagnostic){
    broadCastDia(line);
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    else{
    if(line.equals("GETIPS"))
    getIPs();
    else{
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    } // end while
    catch(Exception e){
    // System.out.println("ERROR:Client Connection reset");
                             JOptionPane.showMessageDialog(null, (e.toString()),"ERROR:Client Connection reset", JOptionPane.ERROR_MESSAGE);     
    try{
    if(aDiagnostic){
    broadCastDia("Disconnect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    broadCastDia("Disconnect : client "+client.getInetAddress().toString());
         out.flush();
    // close the buffers and connection;
    in.close();
    out.close();
    client.close();
    // System.out.println("out");
    // remove from list
    removeThreadQueue(this);
    alive = false;
    catch(Exception e){
    // System.out.println("ERROR: Client Connection reset failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client Connection reset failure", JOptionPane.ERROR_MESSAGE);     
    }// end while
    } // end method run
    * method run - Generates io stream for communicating with the server and
    * starts the client gui. Run also parses the input commands from the server.
    public void run(){
    boolean alive = true;
    try{
    // begin to life the gui
    // aGuiClient = new ClientGui(hostName.getHostName(), hostPort, loginName, this);
    // aGuiClient.show();
    in = new BufferedReader(new InputStreamReader(hostSocket.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(hostSocket.getOutputStream()));
    while (alive && hostSocket.isConnected()){
    String line;
    while(((line = in.readLine())!= null)){
    System.out.println(line);
    broadCast(line);
    } // end while
    } // end while
    catch(Exception e){
    //     System.out.println("ERRORa Connection to host reset");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort reset", JOptionPane.ERROR_MESSAGE);
    try{
    hostSocket.close();
         }catch(Exception a){
         JOptionPane.showMessageDialog(null, (a.toString()),"ERROR: Exception", JOptionPane.ERROR_MESSAGE);
    alive = false;
    System.exit(1);
    } // end method run

  • Problem with threads and camera.

    Hi everybody!
    I've a problem with taking snapshot.
    I would like to display a loading screen after it take snapshot ( sometimes i
    have to wait few seconds after i took snapshot. Propably photo is being taken in time where i have to wait).
    I was trying to use threads but i didn't succeed.
    I made this code:
    display.setCurrent(perform);               
            new Thread(new Runnable(){
                public void run() {               
                    while((!performing.isShown()) && (backgroundCamera.isShown())){
                        Thread.yield();
                    notifyAll();
            }).start();
            new Thread(new Runnable(){
                public void run() {
                    try {
                        this.wait();                   
                    } catch(Exception e) {
                        exceptionHandler(e);
                    photo = camera.snapshot();                               
                    display.setCurrent(displayPhoto);
            }).start();This code is sometimes showing performing screen but sometimes no.
    I don't know why. In my opinion performing.isShown() method isn't working correctly.
    Does anyone have some idea how to use threads here?

    Hi,
    I've finally managed to work this fine.
    The code:
           Object o = new Object();
           display.setCurrent(perform);               
            new Thread(new Runnable(){
                public void run() {               
                    while(!performing.isShown()){
                        Thread.yield();
                   synchronized(o) {
                      o.notify();
            }).start();
            new Thread(new Runnable(){
                public void run() {
                    try {
                        synchronized(o) {
                           o.wait(1);
                    } catch(Exception e) {
                        exceptionHandler(e);
                    photo = camera.snapshot();                               
                    display.setCurrent(displayPhoto);
            }).start();

  • Problem with threads hanging

    We have a problem where our application stops responding after a few days of usage. Things will for fine for a day or two, and then pretty quickly threads will start getting hung up, usually in places where they are allocating memory
    We are running WebLogic 8.1 SP2 on Sun JDK 1.4.2_04 on Solaris 8 using the alternate threading model and the -server hotspot vm. We are running pretty much the same code that we had no problems with under WebLogic 6.1 SP4 and Sun JDK 1.3.1.
    A thread dump usually shows that some or all of our execute threads are in the state "waiting for monitor entry" even though they are not currently waiting on any java locks. Here is a sample thread from the thread dump (we have ~120 threads so I don't want to post the full dump).
    =============================================================================================
    "ExecuteThread: '8' for queue: 'itgCrmWarExecutionQueue'" daemon prio=5 tid=0x005941d0 nid=0x2c waiting for monitor entry [c807f000..c807fc28]
    at java.lang.String.substring(String.java:1446)
    at java.lang.String.substring(String.java:1411)
    at weblogic.servlet.internal.ServletRequestImpl.getRelativeUri(ServletRequestImpl.java:1872)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3492)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    =============================================================================================
    String.java line 1446 for this jdk allocates a new String object, and all the other threads in this state also are creating new objects or arrays, etc.
    We've done a pstack on this process when it's in this state, and the threads that are in the "waiting for monitor entry" that look like they're allocating memory are all waiting on the same lwp_mutex_lock with some allocation method that's calling into the native TwoGenerationCollectorPolicy.mem_allocate_work (see pstack output below for the same thread as in the thread dump above)
    =============================================================================================
    ----------------- lwp# 44 / thread# 44 --------------------
    ff31f364 lwp_mutex_lock (e3d70)
    fee92384 __1cNObjectMonitorGenter26MpnGThread__v_ (5000, 525c, 5000, 50dc, 4800, 4af0) + 2d8
    fee324d4 __1cSObjectSynchronizerKfast_enter6FnGHandle_pnJBasicLock_pnGThread__v_ (c807f65c, c807f7d4, 5941d0, 0, 35d654, fee328ec) + 68
    fee32954 __1cQinstanceRefKlassZacquire_pending_list_lock6FpnJBasicLock__v_ (c807f7d4, ff170000, d4680000, 4491d4, fee1bc2c,
    0) + 78
    fee3167c __1cPVM_GC_OperationNdoit_prologue6M_i_ (c807f7bc, 4400, ff170000, 2d2b8, 4a6268, c807fa18) + 38
    fee2e0b0 __1cIVMThreadHexecute6FpnMVM_Operation__v_ (c807f7bc, 963a8, 0, 0, 1, 0) + 90
    fed2c2a4 __1cbCTwoGenerationCollectorPolicyRmem_allocate_work6MIii_pnIHeapWord__ (962c0, ff1c29ec, ff1c297c, ff131a26, 4800, 4998) + 160
    fed22940 __1cNinstanceKlassRallocate_instance6MpnGThread__pnPinstanceOopDesc__ (ee009020, 5941d0, 15ca581, 3647f0, 4a6268, c807f8c8) + 180
    fed34928 __1cLOptoRuntimeFnew_C6FpnMklassOopDesc_pnKJavaThread__v_ (ee009018, 5941d0, 0, 0, 0, 0) + 28
    fa435a58 ???????? (ee009018, e86de, 15ca4de, 50dc, 5941d0, c807f9c8)
    fb36f9a4 ???????? (0, d412ccd8, ee046c28, ff170000, 0, 0)
    fad8b278 ???????? (ee046c28, d6000c90, ee046530, 8, db8e8450, c807f9e8)
    fad62abc ???????? (d412ccd8, ee046530, d6000c90, ee3bfa38, 8, c807fa18)
    fa4b3c38 ???????? (c807fb9c, 0, f2134700, fa415e50, 8, c807faa8)
    fa40010c ???????? (c807fc28, c807fe90, a, ee9e1e20, 4, c807fb40)
    fed5d48c __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (c807fe88, c807fcf0, c807fda8, 5941d0, 5941d0, c807fd00) + 27c
    fee4b784 __1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_nMsymbolHandle_4pnRJavaCallArguments_pnGThread__v_ (ff170000, 594778, c807fd9c, c807fd98, c807fda8, 5941d0) + 164
    fee5e8dc __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (c807fe88, c807fe84, c807fe7c, c807fe74, c807fe6c, 5941d0) + 6c
    fee6fc74 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (5941d0, 5941d0, 838588, 594778, 306d10, fee69254) + 128
    fee6927c __1cKJavaThreadDrun6M_v_ (5941d0, 2c, 40, 0, 40, 0) + 284
    fee6575c _start   (5941d0, fa1a1600, 0, 0, 0, 0) + 134
    ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
    =============================================================================================
    Also when it's having this problem, the "VM Thread" is always using a lot of processor time. We did a couple of pstacks today while it was having this problem, and this thread was stuck in the ONMethodSweeper.sweep for over 15 minutes when we finally killed the server.
    From the thread dump:
    "VM Thread" prio=5 tid=0x000e2d20 nid=0x2 runnable
    From the first pstack:
    =============================================================================================
    ----------------- lwp# 2 / thread# 2 --------------------
    fed40c04 __1cXvirtual_call_RelocationIparse_ic6FrpnICodeBlob_rpC5rppnHoopDesc_pi_nNRelocIterator__ (42a2f4, fa5fa46d, ffffffff, fc4ffcb8, 42a2f4, 42a324) + 124
    fed46318 __1cKCompiledIC2t5B6MpnKRelocation__v_ (42a2f0, fc4ffd24, fc4ffd4c, e802, 0, 6) + 38
    fed90c38 __1cHnmethodVcleanup_inline_caches6M_v_ (fa5f7f88, fa608940, 1, 0, fa400000, 6) + 1ac
    fede18b4 __1cONMethodSweeperFsweep6F_v_ (2cf38, 0, ffffffff, ff1cf1fc, ff1c66e8, fede1d44) + 1b0
    fede1e6c __1cUSafepointSynchronizeFbegin6F_v_ (2cf38, ff1ba138, 5000, 50dc, 5000, 525c) + 248
    feef1fd4 __1cIVMThreadEloop6M_v_ (4400, 4000, 4324, 4000, 42b0, 3800) + 3d4
    feef1ae4 __1cIVMThreadDrun6M_v_ (e2d20, 2, 40, 0, 40, 0) + 8c
    fee6575c _start   (e2d20, ff270200, 0, 0, 0, 0) + 134
    ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
    =============================================================================================
    Second pstack
    =============================================================================================
    ----------------- lwp# 2 / thread# 2 --------------------
    fed41180 __1cXvirtual_call_RelocationIparse_ic6FrpnICodeBlob_rpC5rppnHoopDesc_pi_nNRelocIterator__ (0, ff1b9664, ffffffff, fc4ffcb8, a6f2cc, fc4ffbd0) + 6a0
    fed46318 __1cKCompiledIC2t5B6MpnKRelocation__v_ (a6f2c8, fc4ffd24, fc4ffd4c, e802, 0, 6) + 38
    fed90c38 __1cHnmethodVcleanup_inline_caches6M_v_ (faded4c8, fadf2c80, 1, 0, fa400000, 6) + 1ac
    fede18b4 __1cONMethodSweeperFsweep6F_v_ (2cf38, 0, ffffffff, ff1cf1fc, ff1c66e8, fede1d44) + 1b0
    fede1e6c __1cUSafepointSynchronizeFbegin6F_v_ (2cf38, ff1ba138, 5000, 50dc, 5000, 525c) + 248
    feef1fd4 __1cIVMThreadEloop6M_v_ (4400, 4000, 4324, 4000, 42b0, 3800) + 3d4
    feef1ae4 __1cIVMThreadDrun6M_v_ (e2d20, 2, 40, 0, 40, 0) + 8c
    fee6575c _start   (e2d20, ff270200, 0, 0, 0, 0) + 134
    ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
    =============================================================================================
    Has anyone ever seen anything like this? I'm trying to figure out if this is caused by something we're doing, or something relating to our environment and jvm options. Any ideas?

    Thanks for the reply - I'm testing our app with the +UseConcMarkSweepGC now in our test environment to make sure it doesn't cause any problems there.  Unfortunately the only place we've had this problem is on the production server, so it's extra difficult debugging this. 
    We're using the following memory options:
    -ms512m -mx512m -XX:NewSize=128m -XX:PermSize=192m -XX:MaxNewSize=128m -XX:MaxPermSize=192m -XX:SurvivorRatio=8and the following debugging options, as we've also been seeing OutOfMemoryErrors ( see http://forum.java.sun.com/thread.jsp?forum=37&thread=522354&tstart=45&trange=15 )
    -verbosegc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGCBTW, which c++filt version and options are you using? Our Solaris boxes only seem to have the GNU version installed. I was trying to run that on some of the other stack traces and wasn't getting anywhere, and didn't know if because it was GNU version wouldn't work on something compiled with the Sun compiler.
    Thanks!
    --Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problem with threads and ProgressMonitor

    Dear Friends:
    I have a little problem with a thread and a ProgressMonitor. I have a long time process that runs in a thread (the thread is in an separate class). The thread has a ProgressMonitor that works fine and shows the tasks progress.
    But I need deactivate the main class(the main class is the user interface) until the thread ends.
    I use something like this:
    LongTask myTask=new LongTask();
    myTask.start();
    myTask.join();
    Now, the main class waits for the task to end, but the progress monitor don`t works fine: it shows only the dialog but not the progress bar.
    What's wrong?

    Is the dialog a modal dialog? This can block other UI updates.
    In general, you should make sure that it isn't modal, and that your workThread has a fairly low priority so that the UI can do its updating

  • Problem with threads and/or memory

    I'm developing an application where there are 3 threads. One of them sends a request to the other, and if the 2nd can't answer it, it sends it to the 3rd (similar to CPU -> CACHE -> MEMORY). When i run the program with 1000-10.000 requests, no problem occurs. When i run it with 300.000-1.000.000 requests, it sometimes hangs. Is this a problem with the garbage collector, or should it be related to the threads mecanism.
    (note: eache thread is in execution using a finite state machine)

    i had been running the program inside Netbeans.
    Running the jar using the command line outside
    Netbeans i have no more problems... Does Netbeans use
    it's own JVM?Depends how you set it up, but look under the options. There are settings for the compiler and jvm that it uses.

  • Installation problem with NW'04 SR1: database connection failed

    Hi all,
    while installing NW '04 SR1 on Windows Server 2003 SP1 and MS SQL Server 2000 SP4 I ran into an error related to the database connection. While performing the step "Load Java Database content" SAPinst crashes with the message
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    The connection to the SLQ Server with e.g. the Query Analyzer is OK. I had a problem with this installation setup before (have a look at the corresponding <a href="https://forums.sdn.sap.com/thread.jspa?threadID=338638&tstart=0">thread</a> ), the JDBC drivers where missing on the installation master but after copying them in the right direction the installation went on with no problem up to this point...
    Has anybody an idea what could have happened here? Is this maybe a problem connected to the one I recently had
    Below I attached the sapinst.log and jload.log with more detailed messages.
    sapinst.log ###########
    INFO 2007-03-12 22:06:24
    Working directory changed to C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\ONE_HOST.
    INFO 2007-03-12 22:06:24
    Output of D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log' is written to the logfile C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\ONE_HOST/jload.java.log.
    WARNING 2007-03-12 22:06:26
    Execution of the command "D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log'" finished with return code 1. Output:
    java version "1.4.2_13"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
    12.03.2007 22:06:25 com.sap.inst.jload.Jload main
    INFO: Jload -sec WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key -dataDir S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP -job C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML -log C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log
    12.03.2007 22:06:26 com.sap.inst.jload.Jload main
    SCHWERWIEGEND: couldn't connect to DB
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    ERROR 2007-03-12 22:06:26
    CJS-20065  Execution of JLoad tool 'D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log'' aborts with returncode 1. Check 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log' and 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.java.log' for more information.
    jload.log ###########
    12.03.07 22:06 com.sap.inst.jload.Jload main
    INFO: Jload -sec WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key -dataDir S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP -job C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML -log C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log
    12.03.07 22:06 com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    Best regards,
    Bernd

    Hello Kairat,
    Please follow the below mentioned guide to install it.
    Check all the parameters to set and run pre requisite checker before starting installation.
    Keep in mind that before starting any SAP installation you should always run prerequisite checker.
    https://websmp205.sap-ag.de/instguides --> SAP Netweaver -->SAP Netweaver 7.0 -- > Installations --> EHP2
    Regards,
    Amit Barnawal

  • My app store wont let me download apps, says the card is expired and theres a problem with previous purchase can someone help me pls?

    My app store wont let me download apps, asks me to update my payment details then says theres a problem with previous purchase and card is expired which is untrue someone help me pls

    This is a User to User Forum...
    See Here for
    Mac Apps Store Customer Service
    http://www.apple.com/support/mac/app-store/contact.html?form=account
    iTunes Customer Service Contact
    http://www.apple.com/support/itunes/contact.html

Maybe you are looking for

  • Support unable to find IOS Developer Order!

    Does anyone have any suggestions here? Placed an order a week ago for IOS Developer. No activation code received so on Monday called support - they could'nt find my order so escalated to billing and told me to call back after 24 hours. Next deay the

  • Net Balance of Gl account and subledger accounts in Trail Balance.

    Dear friends, I have maintained different GL codes for CHQ IN, CHQ OUT, and MAINBANK accounts in Electronic bank statement. Can I get net balance of all three GL codes in TB under one head.Because first two GL codes are subledger accounts. I can get

  • Content conversion question for JMS adapter

    Hi, I need to put this again here. I have the scenario R/3 IDoc -> XI ->  MQ (webshpere). MQ requires plain text. I have the IDoc ORDERS05 in multi level (nested in layers). But using the how to guid to convert the content I could go up to on level.

  • Error of the consolidation package

    Hi Expert, when i ran the consolidation package, I got the error message RUN_LOGIC:Data for category C_100 not found in application LEGALAPP My consolidation logic *RUN_PROGRAM CONSOLIDATION CATEGORY = %C_CATEGORY_SET% GROUP = %GROUPS_SET% TID_RA = %

  • Recurring [-4008]: Unknown user name/password combination

    Hi, I am using MaxDB 7.6.00 BUILD 012-123-102-632 with JBoss through the JDBC Driver 7.6.0 on a Windows XP box. Sometimes, seldomly, after a reboot, I have the error : 2008-05-28 14:52:40,093 WARN http://org.jboss.resource.connectionmanager.JBossMana