Pata_sis problem?

I recently installed Arch 2007.05 Duke Linux Tag whatever and am having a problem with a very slow boot process. I did a
pacman -Syu
but that did not change the behavior.
I searched the forum but only found one similar posting about pata_<something-else> rather than pata_sis, but the symptoms seem quite similar: long pauses in the area "... retrying in 5 secs" as given below (from dmesg):
Freeing unused kernel memory: 268k freed
libata version 2.20 loaded.
pata_sis 0000:00:02.5: version 0.5.0
ata1: PATA max UDMA/100 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001ff00 irq 14
ata2: PATA max UDMA/100 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001ff08 irq 15
scsi0 : pata_sis
ata1.00: ATA-7: SAMSUNG SP0802N, TK200-04, max UDMA/133
ata1.00: 156368016 sectors, multi 16: LBA48
ata1.01: ATA-6: HDS722580VLAT20, V32OA60A, max UDMA/100
ata1.01: 160836480 sectors, multi 16: LBA48
ata1.00: configured for UDMA/100
ata1.01: configured for UDMA/100
scsi1 : pata_sis
ata2.00: ATAPI, max UDMA/33
ata2.00: qc timeout (cmd 0xef)
ata2.00: failed to set xfermode (err_mask=0x4)
ata2: failed to recover some devices, retrying in 5 secs
ata2.00: qc timeout (cmd 0xef)
ata2.00: failed to set xfermode (err_mask=0x4)
ata2.00: limiting speed to UDMA/33:PIO3
ata2: failed to recover some devices, retrying in 5 secs
ata2.00: qc timeout (cmd 0xef)
ata2.00: failed to set xfermode (err_mask=0x4)
ata2.00: disabled
scsi 0:0:0:0: Direct-Access ATA SAMSUNG SP0802N TK20 PQ: 0 ANSI: 5
scsi 0:0:1:0: Direct-Access ATA HDS722580VLAT20 V32O PQ: 0 ANSI: 5
A developer replied to the poster and suggested including a boot parameter like this
legacy_ide earlymodules=sis
and to remove the ro, which I did. For the poster the suggestion was for something other than sis since he had something different. I tried substituting the sis in the hopes that it would help but the relevant part of dmesg did not change and the boot process takes just as long as ever.
Does anyone have a suggestion? I really don't know beans about whatever pata_sis might be so provide me a pretty clear answer about what I can try as a solution (meaning something an idiot could probably understand and carry out successfully).
Thanks in advance,
  -- Dr.U
"A child of five would understand this! Send someone to fetch a
child of five..." -- Groucho Marx

Well, I hope someone responds, because I have the same problem. It's not a major problem of course, just an annoyance to wait through the errors. I haven't figured out if it's affecting anything. Brand new install, as of last night
Jun 24 07:25:41 rolypoly scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
Jun 24 07:25:41 rolypoly <Adaptec aic7890/91 Ultra2 SCSI adapter>
Jun 24 07:25:41 rolypoly aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
Jun 24 07:25:41 rolypoly
Jun 24 07:25:41 rolypoly scsi 0:0:0:0: Direct-Access QUANTUM ATLAS V 9 WLS 0201 PQ: 0 ANSI: 3
Jun 24 07:25:41 rolypoly scsi0:A:0:0: Tagged Queuing enabled. Depth 32
Jun 24 07:25:41 rolypoly target0:0:0: Beginning Domain Validation
Jun 24 07:25:41 rolypoly target0:0:0: wide asynchronous
Jun 24 07:25:41 rolypoly target0:0:0: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 63)
Jun 24 07:25:41 rolypoly target0:0:0: Domain Validation skipping write tests
Jun 24 07:25:41 rolypoly target0:0:0: Ending Domain Validation
Jun 24 07:25:41 rolypoly scsi 0:0:8:0: Direct-Access QUANTUM ATLAS IV 9 WLS 0707 PQ: 0 ANSI: 3
Jun 24 07:25:41 rolypoly scsi0:A:8:0: Tagged Queuing enabled. Depth 32
Jun 24 07:25:41 rolypoly target0:0:8: Beginning Domain Validation
Jun 24 07:25:41 rolypoly target0:0:8: wide asynchronous
Jun 24 07:25:41 rolypoly target0:0:8: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 31)
Jun 24 07:25:41 rolypoly target0:0:8: Domain Validation skipping write tests
Jun 24 07:25:41 rolypoly target0:0:8: Ending Domain Validation
Jun 24 07:25:41 rolypoly ata_piix 0000:00:04.1: version 2.10ac1
Jun 24 07:25:41 rolypoly ata1: PATA max UDMA/33 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001d800 irq 14
Jun 24 07:25:41 rolypoly ata2: PATA max UDMA/33 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001d808 irq 15
Jun 24 07:25:41 rolypoly scsi1 : ata_piix
Jun 24 07:25:41 rolypoly ata1.00: ATAPI, max UDMA/33
Jun 24 07:25:41 rolypoly ata1.01: ATAPI, max UDMA/66
Jun 24 07:25:41 rolypoly ata1.00: qc timeout (cmd 0xef)
Jun 24 07:25:41 rolypoly ata1.00: failed to set xfermode (err_mask=0x4)
Jun 24 07:25:41 rolypoly ata1: failed to recover some devices, retrying in 5 secs
Jun 24 07:25:41 rolypoly ata1.00: qc timeout (cmd 0xef)
Jun 24 07:25:41 rolypoly ata1.00: failed to set xfermode (err_mask=0x4)
Jun 24 07:25:41 rolypoly ata1.00: limiting speed to UDMA/33:PIO3
Jun 24 07:25:41 rolypoly ata1: failed to recover some devices, retrying in 5 secs
Jun 24 07:25:41 rolypoly ata1.00: qc timeout (cmd 0xef)
Jun 24 07:25:41 rolypoly ata1.00: failed to set xfermode (err_mask=0x4)
Jun 24 07:25:41 rolypoly ata1.00: disabled
Jun 24 07:25:41 rolypoly ata1: failed to recover some devices, retrying in 5 secs
Jun 24 07:25:41 rolypoly ata1.01: failed to set xfermode (err_mask=0x40)
Jun 24 07:25:41 rolypoly ata1: failed to recover some devices, retrying in 5 secs
Jun 24 07:25:41 rolypoly ata1.01: configured for UDMA/33
Jun 24 07:25:41 rolypoly scsi2 : ata_piix
Jun 24 07:25:41 rolypoly scsi 1:0:1:0: CD-ROM ATAPI CD-ROM MAX 56X 1.12 PQ: 0 ANSI: 5

Similar Messages

  • [AMD Catalyst] problem with "major" file

    Hi, I'm using now the free driver xf86-video-ati for my [Radeon 9200 SE] card, and for several reasons, I want to switch to the proprietary driver, Catalyst.
    I followed all the steps of the wiki, but when I "startx", it display:
    ukiDynamicMajor = failed to open /proc/ati/major
    I would precise that the command "modprobe fglrx"  says "fglrx is not a valid expression". I hesitated to use aticonfig, but people say that creating one xorg.cong is bad; thus I have deleted this option.
    What I have done:
    pacman -S catalyst-hook catalyst-utils catalyst-libgl opencl-catalyst (install succeed)
    pacman -R xf86-video-intel xf86-input-evdev (uninstall succeed exept for xf86-input-evdev because of his dependence on xorg-server)
    modprobe fglrx (doesn't work)
    touch /etc/modules-load.d/catalyst.conf (the file already exist)
    less /etc/modules-load.d/catalyst.conf ("fglrx")
    touch /etc/X11/xorg-conf.d/20-catalyst.conf
    nano /etc/X11/xorg-conf.d/20-catalyst.conf
    [quote]
    Section "Device"
    Identifier "Card0"
    Driver "fglrx"
    VendorName "ATI Technologies Inc"
    BusID "PCI:1:00:1"
    EndSection
    [/quote]
    rnmod radeon (doesn't work => rnmod is not a valid program)
    touch /etc/modprobe.d/radeon_blacklist (sucessful)
    echo /etc/modprobe.d/radeon_blacklist "blacklist radeon"( sucessful)
    Config:
    uname -a
    Linux archlinux-desktop 3.14.3-1-ARCH #1 SMP PREEMPT Tue May 6 22:45:18 CEST 2014 i686 GNU/Linux
    lspci
    00:00.0 Host bridge: Silicon Integrated Systems [SiS] 645xx (rev 51)
    00:01.0 PCI bridge: Silicon Integrated Systems [SiS] AGP Port (virtual PCI-to-PCI bridge)
    00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] LPC Controller (rev 14)
    00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2/3 SMBus controller
    00:02.3 FireWire (IEEE 1394): Silicon Integrated Systems [SiS] FireWire Controller
    00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 IDE Controller
    00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
    00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 AC'97 Sound Controller (rev a0)
    00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
    00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
    00:03.2 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
    00:03.3 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
    00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV280 [Radeon 9200 SE] (rev 01)
    01:00.1 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] RV280 [Radeon 9200 SE] (Secondary) (rev 01)
    dmesg 
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 3.14.3-1-ARCH (nobody@var-lib-archbuild-testing-i686-tobias) (gcc version 4.9.0 (GCC) ) #1 SMP PREEMPT Tue May 6 22:45:18 CEST 2014
    [    0.000000] e820: BIOS-provided physical RAM map:
    [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
    [    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
    [    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
    [    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001ffeffff] usable
    [    0.000000] BIOS-e820: [mem 0x000000001fff0000-0x000000001fff2fff] ACPI NVS
    [    0.000000] BIOS-e820: [mem 0x000000001fff3000-0x000000001fffffff] ACPI data
    [    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000ffffffff] reserved
    [    0.000000] Notice: NX (Execute Disable) protection missing in CPU!
    [    0.000000] SMBIOS 2.3 present.
    [    0.000000] DMI: Packard Bell NEC 00000000000000000000000, BIOS F2 10/15/2003
    [    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
    [    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
    [    0.000000] e820: last_pfn = 0x1fff0 max_arch_pfn = 0x100000
    [    0.000000] MTRR default type: uncachable
    [    0.000000] MTRR fixed ranges enabled:
    [    0.000000]   00000-9FFFF write-back
    [    0.000000]   A0000-BFFFF uncachable
    [    0.000000]   C0000-CAFFF write-protect
    [    0.000000]   CB000-EFFFF uncachable
    [    0.000000]   F0000-FFFFF write-through
    [    0.000000] MTRR variable ranges enabled:
    [    0.000000]   0 base 000000000 mask FE0000000 write-back
    [    0.000000]   1 base 0D0000000 mask FF8000000 write-combining
    [    0.000000]   2 disabled
    [    0.000000]   3 disabled
    [    0.000000]   4 disabled
    [    0.000000]   5 disabled
    [    0.000000]   6 disabled
    [    0.000000]   7 disabled
    [    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    [    0.000000] found SMP MP-table at [mem 0x000f5370-0x000f537f] mapped at [c00f5370]
    [    0.000000] Scanning 1 areas for low memory corruption
    [    0.000000] initial memory mapped: [mem 0x00000000-0x01bfffff]
    [    0.000000] Base memory trampoline at [c009b000] 9b000 size 16384
    [    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
    [    0.000000]  [mem 0x00000000-0x000fffff] page 4k
    [    0.000000] init_memory_mapping: [mem 0x1f800000-0x1fbfffff]
    [    0.000000]  [mem 0x1f800000-0x1fbfffff] page 2M
    [    0.000000] init_memory_mapping: [mem 0x18000000-0x1f7fffff]
    [    0.000000]  [mem 0x18000000-0x1f7fffff] page 2M
    [    0.000000] init_memory_mapping: [mem 0x00100000-0x17ffffff]
    [    0.000000]  [mem 0x00100000-0x003fffff] page 4k
    [    0.000000]  [mem 0x00400000-0x17ffffff] page 2M
    [    0.000000] init_memory_mapping: [mem 0x1fc00000-0x1ffeffff]
    [    0.000000]  [mem 0x1fc00000-0x1ffeffff] page 4k
    [    0.000000] BRK [0x01798000, 0x01798fff] PGTABLE
    [    0.000000] RAMDISK: [mem 0x1efe2000-0x1f302fff]
    [    0.000000] ACPI: RSDP 000f7520 000014 (v00 GBT   )
    [    0.000000] ACPI: RSDT 1fff3000 00002C (v01 GBT    AWRDACPI 42302E31 AWRD 01010101)
    [    0.000000] ACPI: FACP 1fff3040 000074 (v01 GBT    AWRDACPI 42302E31 AWRD 01010101)
    [    0.000000] ACPI: DSDT 1fff30c0 003104 (v01 GBT    AWRDACPI 00001000 MSFT 0100000C)
    [    0.000000] ACPI: FACS 1fff0000 000040
    [    0.000000] ACPI: APIC 1fff6200 000068 (v01 GBT    AWRDACPI 42302E31 AWRD 01010101)
    [    0.000000] ACPI: Local APIC address 0xfee00000
    [    0.000000] 0MB HIGHMEM available.
    [    0.000000] 511MB LOWMEM available.
    [    0.000000]   mapped low ram: 0 - 1fff0000
    [    0.000000]   low ram: 0 - 1fff0000
    [    0.000000] BRK [0x01799000, 0x01799fff] PGTABLE
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
    [    0.000000]   Normal   [mem 0x01000000-0x1ffeffff]
    [    0.000000]   HighMem  empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x00001000-0x0009efff]
    [    0.000000]   node   0: [mem 0x00100000-0x1ffeffff]
    [    0.000000] On node 0 totalpages: 130958
    [    0.000000] free_area_init_node: node 0, pgdat c15fc600, node_mem_map dfbf0020
    [    0.000000]   DMA zone: 32 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 3998 pages, LIFO batch:0
    [    0.000000]   Normal zone: 992 pages used for memmap
    [    0.000000]   Normal zone: 126960 pages, LIFO batch:31
    [    0.000000] Using APIC driver default
    [    0.000000] ACPI: PM-Timer IO Port: 0x1008
    [    0.000000] ACPI: Local APIC address 0xfee00000
    [    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    [    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
    [    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
    [    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
    [    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    [    0.000000] IOAPIC[0]: apic_id 2, version 20, address 0xfec00000, GSI 0-23
    [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 dfl dfl)
    [    0.000000] ACPI: IRQ0 used by override.
    [    0.000000] ACPI: IRQ2 used by override.
    [    0.000000] ACPI: IRQ9 used by override.
    [    0.000000] Using ACPI (MADT) for SMP configuration information
    [    0.000000] smpboot: Allowing 2 CPUs, 1 hotplug CPUs
    [    0.000000] nr_irqs_gsi: 40
    [    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
    [    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
    [    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
    [    0.000000] e820: [mem 0x20000000-0xfebfffff] available for PCI devices
    [    0.000000] Booting paravirtualized kernel on bare hardware
    [    0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1
    [    0.000000] PERCPU: Embedded 14 pages/cpu @dfbd0000 s33792 r0 d23552 u57344
    [    0.000000] pcpu-alloc: s33792 r0 d23552 u57344 alloc=14*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129934
    [    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=14bd8feb-04a9-4b92-b3cb-798729208c52 rw quiet
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Initializing CPU#0
    [    0.000000] allocated 1048440 bytes of page_cgroup
    [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [    0.000000] Initializing HighMem for node 0 (00000000:00000000)
    [    0.000000] Memory: 507120K/523832K available (4446K kernel code, 470K rwdata, 1280K rodata, 568K init, 956K bss, 16712K reserved, 0K highmem)
    [    0.000000] virtual kernel memory layout:
        fixmap  : 0xfff15000 - 0xfffff000   ( 936 kB)
        pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
        vmalloc : 0xe07f0000 - 0xff7fe000   ( 496 MB)
        lowmem  : 0xc0000000 - 0xdfff0000   ( 511 MB)
          .init : 0xc160f000 - 0xc169d000   ( 568 kB)
          .data : 0xc1457c92 - 0xc160eb40   (1755 kB)
          .text : 0xc1000000 - 0xc1457c92   (4447 kB)
    [    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
    [    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]     RCU dyntick-idle grace-period acceleration is enabled.
    [    0.000000]     Dump stacks of tasks blocking RCU-preempt GP.
    [    0.000000]     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS:2304 nr_irqs:512 16
    [    0.000000] CPU 0 irqstacks, hard=df408000 soft=df40a000
    [    0.000000] Console: colour dummy device 80x25
    [    0.000000] console [tty0] enabled
    [    0.000000] tsc: Fast TSC calibration using PIT
    [    0.000000] tsc: Detected 2625.859 MHz processor
    [    0.003353] Calibrating delay loop (skipped), value calculated using timer frequency.. 5253.53 BogoMIPS (lpj=8752863)
    [    0.003360] pid_max: default: 32768 minimum: 301
    [    0.003378] ACPI: Core revision 20131218
    [    0.008679] ACPI: All ACPI Tables successfully acquired
    [    0.010020] Security Framework initialized
    [    0.010032] Yama: becoming mindful.
    [    0.010064] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.010069] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.010456] Initializing cgroup subsys memory
    [    0.010473] Initializing cgroup subsys devices
    [    0.010478] Initializing cgroup subsys freezer
    [    0.010482] Initializing cgroup subsys net_cls
    [    0.010485] Initializing cgroup subsys blkio
    [    0.010546] CPU0: Hyper-Threading is disabled
    [    0.010555] mce: CPU supports 4 MCE banks
    [    0.010568] CPU0: Thermal monitoring enabled (TM1)
    [    0.010592] Last level iTLB entries: 4KB 128, 2MB 128, 4MB 128
    Last level dTLB entries: 4KB 64, 2MB 0, 4MB 64, 1GB 0
    tlb_flushall_shift: 6
    [    0.018898] ftrace: allocating 18912 entries in 37 pages
    [    0.026857] Enabling APIC mode:  Flat.  Using 1 I/O APICs
    [    0.027167] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    [    0.062643] smpboot: CPU0: Intel(R) Celeron(R) CPU 2.60GHz (fam: 0f, model: 02, stepping: 09)
    [    0.063333] Performance Events: Netburst events, Netburst P4/Xeon PMU driver.
    [    0.063333] ... version:                0
    [    0.063333] ... bit width:              40
    [    0.063333] ... generic registers:      18
    [    0.063333] ... value mask:             000000ffffffffff
    [    0.063333] ... max period:             0000007fffffffff
    [    0.063333] ... fixed-purpose events:   0
    [    0.063333] ... event mask:             000000000003ffff
    [    0.076710] x86: Booted up 1 node, 1 CPUs
    [    0.076719] smpboot: Total of 1 processors activated (5253.53 BogoMIPS)
    [    0.077148] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
    [    0.077427] devtmpfs: initialized
    [    0.077889] PM: Registering ACPI NVS region [mem 0x1fff0000-0x1fff2fff] (12288 bytes)
    [    0.079963] pinctrl core: initialized pinctrl subsystem
    [    0.080103] RTC time: 16:19:41, date: 05/12/14
    [    0.080222] NET: Registered protocol family 16
    [    0.080459] cpuidle: using governor ladder
    [    0.080464] cpuidle: using governor menu
    [    0.080574] ACPI: bus type PCI registered
    [    0.080581] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
    [    0.092329] PCI: PCI BIOS revision 2.10 entry at 0xfb1c0, last bus=1
    [    0.092335] PCI: Using configuration type 1 for base access
    [    0.093965] bio: create slab <bio-0> at 0
    [    0.094273] ACPI: Added _OSI(Module Device)
    [    0.094279] ACPI: Added _OSI(Processor Device)
    [    0.094282] ACPI: Added _OSI(3.0 _SCP Extensions)
    [    0.094286] ACPI: Added _OSI(Processor Aggregator Device)
    [    0.098161] ACPI: Interpreter enabled
    [    0.098184] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20131218/hwxface-580)
    [    0.098193] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131218/hwxface-580)
    [    0.098216] ACPI: (supports S0 S3 S4 S5)
    [    0.098220] ACPI: Using IOAPIC for interrupt routing
    [    0.098299] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
    [    0.098438] ACPI: No dock devices found.
    [    0.108047] ACPI: \_PR_.CPU1: failed to get CPU APIC ID.
    [    0.108184] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
    [    0.108198] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
    [    0.108210] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
    [    0.108371] acpi PNP0A03:00: host bridge window [io  0x0000-0x047f] (ignored)
    [    0.108378] acpi PNP0A03:00: host bridge window [io  0x0490-0x0cf7] (ignored)
    [    0.108381] acpi PNP0A03:00: host bridge window [io  0x0d00-0x0fff] (ignored)
    [    0.108385] acpi PNP0A03:00: host bridge window [io  0x1100-0xffff] (ignored)
    [    0.108389] acpi PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff] (ignored)
    [    0.108393] acpi PNP0A03:00: host bridge window [mem 0x20000000-0xfebfffff] (ignored)
    [    0.108397] PCI: root bus 00: using default resources
    [    0.108402] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
    [    0.108726] PCI host bridge to bus 0000:00
    [    0.108736] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.108741] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    0.108746] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
    [    0.108768] pci 0000:00:00.0: [1039:0648] type 00 class 0x060000
    [    0.108783] pci 0000:00:00.0: reg 0x10: [mem 0xd0000000-0xd7ffffff]
    [    0.109012] pci 0000:00:01.0: [1039:0003] type 01 class 0x060400
    [    0.109196] pci 0000:00:02.0: [1039:0008] type 00 class 0x060100
    [    0.109281] pci 0000:00:02.0: Enabling SiS 96x SMBus
    [    0.109447] pci 0000:00:02.1: [1039:0016] type 00 class 0x0c0500
    [    0.109507] pci 0000:00:02.1: reg 0x20: [io  0x1400-0x141f]
    [    0.109684] pci 0000:00:02.3: [1039:7007] type 00 class 0x0c0010
    [    0.109711] pci 0000:00:02.3: reg 0x10: [mem 0xeb000000-0xeb000fff]
    [    0.109771] pci 0000:00:02.3: reg 0x30: [mem 0x00000000-0x0001ffff pref]
    [    0.109811] pci 0000:00:02.3: supports D1 D2
    [    0.109815] pci 0000:00:02.3: PME# supported from D0 D1 D2 D3hot D3cold
    [    0.110016] pci 0000:00:02.5: [1039:5513] type 00 class 0x010180
    [    0.110085] pci 0000:00:02.5: reg 0x20: [io  0xf000-0xf00f]
    [    0.110284] pci 0000:00:02.6: [1039:7013] type 00 class 0x070300
    [    0.110311] pci 0000:00:02.6: reg 0x10: [io  0xd000-0xd0ff]
    [    0.110325] pci 0000:00:02.6: reg 0x14: [io  0xd400-0xd47f]
    [    0.110410] pci 0000:00:02.6: supports D1 D2
    [    0.110414] pci 0000:00:02.6: PME# supported from D3hot D3cold
    [    0.110506] pci 0000:00:02.6: System wakeup disabled by ACPI
    [    0.110605] pci 0000:00:02.7: [1039:7012] type 00 class 0x040100
    [    0.110631] pci 0000:00:02.7: reg 0x10: [io  0xd800-0xd8ff]
    [    0.110645] pci 0000:00:02.7: reg 0x14: [io  0xdc00-0xdc7f]
    [    0.110730] pci 0000:00:02.7: supports D1 D2
    [    0.110734] pci 0000:00:02.7: PME# supported from D3hot D3cold
    [    0.110907] pci 0000:00:03.0: [1039:7001] type 00 class 0x0c0310
    [    0.110929] pci 0000:00:03.0: reg 0x10: [mem 0xeb001000-0xeb001fff]
    [    0.111078] pci 0000:00:03.0: System wakeup disabled by ACPI
    [    0.111177] pci 0000:00:03.1: [1039:7001] type 00 class 0x0c0310
    [    0.111199] pci 0000:00:03.1: reg 0x10: [mem 0xeb002000-0xeb002fff]
    [    0.111356] pci 0000:00:03.1: System wakeup disabled by ACPI
    [    0.111454] pci 0000:00:03.2: [1039:7001] type 00 class 0x0c0310
    [    0.111475] pci 0000:00:03.2: reg 0x10: [mem 0xeb003000-0xeb003fff]
    [    0.111623] pci 0000:00:03.2: System wakeup disabled by ACPI
    [    0.111734] pci 0000:00:03.3: [1039:7002] type 00 class 0x0c0320
    [    0.111760] pci 0000:00:03.3: reg 0x10: [mem 0xeb004000-0xeb004fff]
    [    0.111850] pci 0000:00:03.3: PME# supported from D0 D3hot D3cold
    [    0.112045] pci 0000:00:0f.0: [10ec:8139] type 00 class 0x020000
    [    0.112070] pci 0000:00:0f.0: reg 0x10: [io  0xe000-0xe0ff]
    [    0.112083] pci 0000:00:0f.0: reg 0x14: [mem 0xeb005000-0xeb0050ff]
    [    0.112169] pci 0000:00:0f.0: supports D1 D2
    [    0.112173] pci 0000:00:0f.0: PME# supported from D1 D2 D3hot D3cold
    [    0.112437] pci 0000:01:00.0: [1002:5964] type 00 class 0x030000
    [    0.112464] pci 0000:01:00.0: reg 0x10: [mem 0xd8000000-0xdfffffff pref]
    [    0.112476] pci 0000:01:00.0: reg 0x14: [io  0xc000-0xc0ff]
    [    0.112488] pci 0000:01:00.0: reg 0x18: [mem 0xe9000000-0xe900ffff]
    [    0.112521] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0001ffff pref]
    [    0.112565] pci 0000:01:00.0: supports D1 D2
    [    0.112661] pci 0000:01:00.1: [1002:5d44] type 00 class 0x038000
    [    0.112682] pci 0000:01:00.1: reg 0x10: [mem 0xe0000000-0xe7ffffff pref]
    [    0.112695] pci 0000:01:00.1: reg 0x14: [mem 0xe9010000-0xe901ffff]
    [    0.112764] pci 0000:01:00.1: supports D1 D2
    [    0.112888] pci 0000:00:01.0: PCI bridge to [bus 01]
    [    0.112896] pci 0000:00:01.0:   bridge window [io  0xc000-0xcfff]
    [    0.112904] pci 0000:00:01.0:   bridge window [mem 0xe8000000-0xe9ffffff]
    [    0.112910] pci 0000:00:01.0:   bridge window [mem 0xd8000000-0xe7ffffff pref]
    [    0.112924] pci_bus 0000:00: on NUMA node 0
    [    0.113106] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
    [    0.113252] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
    [    0.113436] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
    [    0.113579] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
    [    0.113723] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
    [    0.113876] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
    [    0.114026] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
    [    0.114178] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
    [    0.114969] ACPI: Enabled 2 GPEs in block 00 to 0F
    [    0.115202] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
    [    0.115209] vgaarb: loaded
    [    0.115211] vgaarb: bridge control possible 0000:01:00.0
    [    0.115301] PCI: Using ACPI for IRQ routing
    [    0.115309] PCI: pci_cache_line_size set to 64 bytes
    [    0.115368] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
    [    0.115373] e820: reserve RAM buffer [mem 0x1fff0000-0x1fffffff]
    [    0.115616] NetLabel: Initializing
    [    0.115622] NetLabel:  domain hash size = 128
    [    0.115624] NetLabel:  protocols = UNLABELED CIPSOv4
    [    0.115655] NetLabel:  unlabeled traffic allowed by default
    [    0.115740] Switched to clocksource refined-jiffies
    [    0.129136] pnp: PnP ACPI init
    [    0.129177] ACPI: bus type PNP registered
    [    0.129597] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
    [    0.130147] system 00:01: [io  0x04d0-0x04d1] has been reserved
    [    0.130157] system 00:01: [io  0x0290-0x029f] has been reserved
    [    0.130162] system 00:01: [io  0x0800-0x0805] has been reserved
    [    0.130170] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
    [    0.130207] pnp 00:02: [dma 4]
    [    0.130277] pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active)
    [    0.130404] pnp 00:03: Plug and Play ACPI device, IDs PNP0b00 (active)
    [    0.130503] pnp 00:04: Plug and Play ACPI device, IDs PNP0800 (active)
    [    0.130621] pnp 00:05: Plug and Play ACPI device, IDs PNP0c04 (active)
    [    0.130910] pnp 00:06: [dma 2]
    [    0.131028] pnp 00:06: Plug and Play ACPI device, IDs PNP0700 (active)
    [    0.131556] pnp 00:07: Plug and Play ACPI device, IDs PNP0501 (active)
    [    0.132089] pnp 00:08: Plug and Play ACPI device, IDs PNP0501 (active)
    [    0.132675] pnp 00:09: [dma 3]
    [    0.132810] pnp 00:09: Plug and Play ACPI device, IDs PNP0401 (active)
    [    0.133009] pnp 00:0a: Plug and Play ACPI device, IDs PNP0303 (active)
    [    0.133074] pnp: PnP ACPI: found 11 devices
    [    0.133080] ACPI: bus type PNP unregistered
    [    0.174911] Switched to clocksource acpi_pm
    [    0.174951] pci 0000:00:02.3: BAR 6: assigned [mem 0x20000000-0x2001ffff pref]
    [    0.174962] pci 0000:01:00.0: BAR 6: assigned [mem 0xe8000000-0xe801ffff pref]
    [    0.174969] pci 0000:00:01.0: PCI bridge to [bus 01]
    [    0.174975] pci 0000:00:01.0:   bridge window [io  0xc000-0xcfff]
    [    0.174983] pci 0000:00:01.0:   bridge window [mem 0xe8000000-0xe9ffffff]
    [    0.174989] pci 0000:00:01.0:   bridge window [mem 0xd8000000-0xe7ffffff pref]
    [    0.174999] pci_bus 0000:00: resource 4 [io  0x0000-0xffff]
    [    0.175003] pci_bus 0000:00: resource 5 [mem 0x00000000-0xffffffff]
    [    0.175007] pci_bus 0000:01: resource 0 [io  0xc000-0xcfff]
    [    0.175010] pci_bus 0000:01: resource 1 [mem 0xe8000000-0xe9ffffff]
    [    0.175013] pci_bus 0000:01: resource 2 [mem 0xd8000000-0xe7ffffff pref]
    [    0.175076] NET: Registered protocol family 2
    [    0.175437] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.175457] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.175477] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.175521] TCP: reno registered
    [    0.175531] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.175541] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.175688] NET: Registered protocol family 1
    [    0.397112] pci 0000:01:00.0: Boot video device
    [    0.397124] PCI: CLS 32 bytes, default 64
    [    0.397238] Unpacking initramfs...
    [    0.517648] Freeing initrd memory: 3204K (defe2000 - df303000)
    [    0.517809] apm: BIOS not found.
    [    0.517886] Scanning for low memory corruption every 60 seconds
    [    0.518572] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.533762] HugeTLB registered 4 MB page size, pre-allocated 0 pages
    [    0.536896] zbud: loaded
    [    0.537090] VFS: Disk quotas dquot_6.5.2
    [    0.537200] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.537623] msgmni has been set to 996
    [    0.537789] Key type big_key registered
    [    0.538268] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [    0.538390] io scheduler noop registered
    [    0.538397] io scheduler deadline registered
    [    0.538493] io scheduler cfq registered (default)
    [    0.538712] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    [    0.538757] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
    [    0.538862] vesafb: mode is 1280x1024x32, linelength=5120, pages=0
    [    0.538866] vesafb: scrolling: redraw
    [    0.538870] vesafb: Truecolor: size=0:8:8:8, shift=0:16:8:0
    [    0.539366] vesafb: framebuffer at 0xd8000000, mapped to 0xe0800000, using 5120k, total 5120k
    [    0.646493] Console: switching to colour frame buffer device 160x64
    [    0.753177] fb0: VESA VGA frame buffer device
    [    0.753268] GHES: HEST is not enabled!
    [    0.753308] isapnp: Scanning for PnP cards...
    [    1.066034] isapnp: No Plug & Play device found
    [    1.066191] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    1.086839] 00:07: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
    [    1.107535] 00:08: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
    [    1.108786] rtc_cmos 00:03: RTC can wake from S4
    [    1.109049] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
    [    1.109090] rtc_cmos 00:03: alarms up to one year, 242 bytes nvram
    [    1.109177] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.109384] TCP: cubic registered
    [    1.109696] NET: Registered protocol family 10
    [    1.110235] NET: Registered protocol family 17
    [    1.110539] Using IPI No-Shortcut mode
    [    1.110887] registered taskstats version 1
    [    1.111374]   Magic number: 14:861:337
    [    1.111396] tty tty58: hash matches
    [    1.111477] rtc_cmos 00:03: setting system clock to 2014-05-12 16:19:42 UTC (1399911582)
    [    1.111561] PM: Hibernation image not present or could not be loaded.
    [    1.112337] Freeing unused kernel memory: 568K (c160f000 - c169d000)
    [    1.112374] Write protecting the kernel text: 4448k
    [    1.112407] Write protecting the kernel read-only data: 1284k
    [    1.132515] random: systemd-tmpfile urandom read with 0 bits of entropy available
    [    1.140455] systemd-udevd[40]: starting version 212
    [    1.240350] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
    [    1.240356] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
    [    1.240605] serio: i8042 KBD port at 0x60,0x64 irq 1
    [    1.249861] Floppy drive(s): fd0 is 1.44M
    [    1.263944] FDC 0 is a post-1991 82077
    [    1.295454] SCSI subsystem initialized
    [    1.312358] ACPI: bus type USB registered
    [    1.312456] usbcore: registered new interface driver usbfs
    [    1.312497] usbcore: registered new interface driver hub
    [    1.316781] usbcore: registered new device driver usb
    [    1.317900] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.318313] ehci-pci: EHCI PCI platform driver
    [    1.319280] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    1.319680] ohci-pci: OHCI PCI platform driver
    [    1.327015] libata version 3.00 loaded.
    [    1.363547] firewire_ohci 0000:00:02.3: added OHCI v1.0 device as card 0, 4 IR + 6 IT contexts, quirks 0x0
    [    1.364218] ehci-pci 0000:00:03.3: EHCI Host Controller
    [    1.364240] ehci-pci 0000:00:03.3: new USB bus registered, assigned bus number 1
    [    1.364332] ehci-pci 0000:00:03.3: irq 23, io mem 0xeb004000
    [    1.373423] ehci-pci 0000:00:03.3: USB 2.0 started, EHCI 1.00
    [    1.373943] hub 1-0:1.0: USB hub found
    [    1.373981] hub 1-0:1.0: 6 ports detected
    [    1.375001] ohci-pci 0000:00:03.0: OHCI PCI host controller
    [    1.375023] ohci-pci 0000:00:03.0: new USB bus registered, assigned bus number 2
    [    1.375100] ohci-pci 0000:00:03.0: irq 20, io mem 0xeb001000
    [    1.429251] hub 2-0:1.0: USB hub found
    [    1.429296] hub 2-0:1.0: 2 ports detected
    [    1.429636] pata_sis 0000:00:02.5: version 0.5.2
    [    1.429683] pata_sis 0000:00:02.5: SiS 962/963 MuTIOL IDE UDMA133 controller
    [    1.437030] scsi0 : pata_sis
    [    1.443413] scsi1 : pata_sis
    [    1.443626] ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xf000 irq 14
    [    1.443633] ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xf008 irq 15
    [    1.444146] ohci-pci 0000:00:03.1: OHCI PCI host controller
    [    1.444168] ohci-pci 0000:00:03.1: new USB bus registered, assigned bus number 3
    [    1.444242] ohci-pci 0000:00:03.1: irq 21, io mem 0xeb002000
    [    1.453047] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
    [    1.499191] hub 3-0:1.0: USB hub found
    [    1.499232] hub 3-0:1.0: 2 ports detected
    [    1.499756] ohci-pci 0000:00:03.2: OHCI PCI host controller
    [    1.499778] ohci-pci 0000:00:03.2: new USB bus registered, assigned bus number 4
    [    1.499856] ohci-pci 0000:00:03.2: irq 22, io mem 0xeb003000
    [    1.520042] tsc: Refined TSC clocksource calibration: 2625.851 MHz
    [    1.552850] hub 4-0:1.0: USB hub found
    [    1.552893] hub 4-0:1.0: 2 ports detected
    [    1.603787] ata1.00: ATA-7: Maxtor 6Y080L0, YAR41BW0, max UDMA/133
    [    1.603796] ata1.00: 160086528 sectors, multi 16: LBA
    [    1.617092] ata1.00: configured for UDMA/133
    [    1.617362] scsi 0:0:0:0: Direct-Access     ATA      Maxtor 6Y080L0   YAR4 PQ: 0 ANSI: 5
    [    1.733392] usb 1-4: new high-speed USB device number 3 using ehci-pci
    [    1.861345] hub 1-4:1.0: USB hub found
    [    1.861759] hub 1-4:1.0: 4 ports detected
    [    1.863604] firewire_core 0000:00:02.3: created device fw0: GUID 00000d610024cc70, S400
    [    1.906938] ata2.00: ATAPI: HL-DT-STDVD-ROM GDR8162B, 0017, max UDMA/66
    [    1.906951] ata2.01: ATAPI: LITE-ON DVD+RW LDW-401S, E9S3, max UDMA/33
    [    1.920261] ata2.00: configured for UDMA/66
    [    1.933596] ata2.01: configured for UDMA/33
    [    1.942307] scsi 1:0:0:0: CD-ROM            HL-DT-ST DVD-ROM GDR8162B 0017 PQ: 0 ANSI: 5
    [    1.943253] scsi 1:0:1:0: CD-ROM            LITE-ON  DVD+RW LDW-401S  E9S3 PQ: 0 ANSI: 5
    [    1.968652] sd 0:0:0:0: [sda] 160086528 512-byte logical blocks: (81.9 GB/76.3 GiB)
    [    1.968905] sd 0:0:0:0: [sda] Write Protect is off
    [    1.968913] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [    1.969022] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [    1.979035] sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
    [    1.979044] cdrom: Uniform CD-ROM driver Revision: 3.20
    [    1.979566] sr 1:0:0:0: Attached scsi CD-ROM sr0
    [    1.991510] sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
    [    1.991993] sr 1:0:1:0: Attached scsi CD-ROM sr1
    [    2.009048]  sda: sda1 sda2 sda3 < sda5 sda6 >
    [    2.010569] sd 0:0:0:0: [sda] Attached SCSI disk
    [    2.143550] usb 2-1: new low-speed USB device number 2 using ohci-pci
    [    2.345412] hidraw: raw HID events driver (C) Jiri Kosina
    [    2.358710] usbcore: registered new interface driver usbhid
    [    2.358717] usbhid: USB HID core driver
    [    2.361517] input: HID 04d9:048e as /devices/pci0000:00/0000:00:03.0/usb2/2-1/2-1:1.0/0003:04D9:048E.0001/input/input1
    [    2.361837] hid-generic 0003:04D9:048E.0001: input,hidraw0: USB HID v1.10 Mouse [HID 04d9:048e] on usb-0000:00:03.0-1/input0
    [    2.407135] usb 1-4.4: new high-speed USB device number 4 using ehci-pci
    [    2.500521] usb-storage 1-4.4:1.0: USB Mass Storage device detected
    [    2.500774] scsi2 : usb-storage 1-4.4:1.0
    [    2.502128] usbcore: registered new interface driver usb-storage
    [    2.520155] Switched to clocksource tsc
    [    3.175339] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
    [    3.505428] scsi 2:0:0:0: Direct-Access              USB DISK 2.0     PMAP PQ: 0 ANSI: 4
    [    3.507279] sd 2:0:0:0: [sdb] 15273600 512-byte logical blocks: (7.82 GB/7.28 GiB)
    [    3.508020] sd 2:0:0:0: [sdb] Write Protect is off
    [    3.508029] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
    [    3.508769] sd 2:0:0:0: [sdb] No Caching mode page found
    [    3.509434] sd 2:0:0:0: [sdb] Assuming drive cache: write through
    [    3.513361] random: nonblocking pool is initialized
    [    3.514387] sd 2:0:0:0: [sdb] No Caching mode page found
    [    3.515049] sd 2:0:0:0: [sdb] Assuming drive cache: write through
    [    3.517301]  sdb: sdb1 sdb2
    [    3.520401] sd 2:0:0:0: [sdb] No Caching mode page found
    [    3.521391] sd 2:0:0:0: [sdb] Assuming drive cache: write through
    [    3.522153] sd 2:0:0:0: [sdb] Attached SCSI removable disk
    [    3.928631] systemd[1]: systemd 212 running in system mode. (+PAM -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ +SECCOMP -APPARMOR)
    [    3.929099] systemd[1]: Detected architecture 'x86'.
    [    3.937340] systemd[1]: Set hostname to <archlinux-desktop>.
    [    5.174046] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
    [    5.175398] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
    [    5.175650] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    5.175707] systemd[1]: Starting Remote File Systems.
    [    5.175758] systemd[1]: Reached target Remote File Systems.
    [    5.175820] systemd[1]: Starting Encrypted Volumes.
    [    5.175867] systemd[1]: Reached target Encrypted Volumes.
    [    5.175954] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
    [    5.176267] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    [    5.176359] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
    [    5.176504] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    5.176555] systemd[1]: Starting Swap.
    [    5.176602] systemd[1]: Reached target Swap.
    [    5.176652] systemd[1]: Expecting device dev-disk-by\x2duuid-4e223aa4\x2d3894\x2d41bc\x2db82c\x2d955ae89b3eb2.device...
    [    5.176796] systemd[1]: Expecting device dev-disk-by\x2duuid-b7ca07ac\x2d5ceb\x2d40d6\x2db55c\x2ded651e31f452.device...
    [    5.176850] systemd[1]: Starting Root Slice.
    [    5.208364] systemd[1]: Created slice Root Slice.
    [    5.208422] systemd[1]: Starting User and Session Slice.
    [    5.209187] systemd[1]: Created slice User and Session Slice.
    [    5.209244] systemd[1]: Starting Device-mapper event daemon FIFOs.
    [    5.209403] systemd[1]: Listening on Device-mapper event daemon FIFOs.
    [    5.209451] systemd[1]: Starting Delayed Shutdown Socket.
    [    5.209585] systemd[1]: Listening on Delayed Shutdown Socket.
    [    5.209635] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
    [    5.209740] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    5.209789] systemd[1]: Starting LVM2 metadata daemon socket.
    [    5.209917] systemd[1]: Listening on LVM2 metadata daemon socket.
    [    5.209982] systemd[1]: Starting udev Kernel Socket.
    [    5.210180] systemd[1]: Listening on udev Kernel Socket.
    [    5.210249] systemd[1]: Starting udev Control Socket.
    [    5.210366] systemd[1]: Listening on udev Control Socket.
    [    5.210428] systemd[1]: Starting Journal Socket.
    [    5.210621] systemd[1]: Listening on Journal Socket.
    [    5.210717] systemd[1]: Starting System Slice.
    [    5.211489] systemd[1]: Created slice System Slice.
    [    5.211583] systemd[1]: Started File System Check on Root Device.
    [    5.211623] systemd[1]: Starting system-systemd\x2dfsck.slice.
    [    5.212405] systemd[1]: Created slice system-systemd\x2dfsck.slice.
    [    5.212459] systemd[1]: Mounting Temporary Directory...
    [    5.239615] systemd[1]: Starting system-getty.slice.
    [    5.240697] systemd[1]: Created slice system-getty.slice.
    [    5.240838] systemd[1]: Mounting Debug File System...
    [    5.279740] systemd[1]: Started Load Kernel Modules.
    [    5.296122] systemd[1]: Starting Apply Kernel Variables...
    [    5.297870] systemd[1]: Starting Setup Virtual Console...
    [    5.299634] systemd[1]: Mounting POSIX Message Queue File System...
    [    5.301446] systemd[1]: Mounting Configuration File System...
    [    5.344473] systemd[1]: Starting Create list of required static device nodes for the current kernel...
    [    5.346155] systemd[1]: Mounted FUSE Control File System.
    [    5.346271] systemd[1]: Mounting Huge Pages File System...
    [    5.370976] systemd[1]: Starting Set Up Additional Binary Formats...
    [    5.372655] systemd[1]: Starting udev Coldplug all Devices...
    [    5.374485] systemd[1]: Starting Journal Service...
    [    5.376393] systemd[1]: Started Journal Service.
    [    5.926924] systemd-udevd[120]: starting version 212
    [    6.249395] EXT4-fs (sda5): re-mounted. Opts: data=ordered
    [    7.438155] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2
    [    7.438167] ACPI: Power Button [PWRB]
    [    7.438350] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
    [    7.438360] ACPI: Power Button [PWRF]
    [    7.585684] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    [    7.625549] parport_pc 00:09: reported by Plug and Play ACPI
    [    7.625639] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
    [    7.658989] Linux agpgart interface v0.103
    [    7.722256] sis96x_smbus 0000:00:02.1: SiS96x SMBus base address: 0x1400
    [    7.809304] [drm] Initialized drm 1.1.0 20060810
    [    7.958917] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
    [    7.958969] 8139cp 0000:00:0f.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip, use 8139too
    [    7.980566] mousedev: PS/2 mouse device common for all mice
    [    7.980931] 8139too: 8139too Fast Ethernet driver 0.9.28
    [    7.984132] 8139too 0000:00:0f.0 eth0: RealTek RTL8139 at 0xe1724000, 00:0d:61:22:1d:3c, IRQ 16
    [    7.985877] agpgart-sis 0000:00:00.0: SiS chipset [1039/0648]
    [    8.016252] agpgart-sis 0000:00:00.0: AGP aperture is 128M @ 0xd0000000
    [    8.116064] input: PC Speaker as /devices/platform/pcspkr/input/input4
    [    8.251837] microcode: CPU0 sig=0xf29, pf=0x4, revision=0x11
    [    8.261786] microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba
    [    8.279526] [drm] radeon kernel modesetting enabled.
    [    8.279631] checking generic (d8000000 500000) vs hw (d8000000 8000000)
    [    8.279639] fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver
    [    8.279680] Console: switching to colour dummy device 80x25
    [    8.301981] [drm] initializing kernel modesetting (RV280 0x1002:0x5964 0x1458:0x4032).
    [    8.302015] [drm] register mmio base: 0xE9000000
    [    8.302018] [drm] register mmio size: 65536
    [    8.302188] agpgart-sis 0000:00:00.0: AGP 3.5 bridge
    [    8.302214] agpgart-sis 0000:00:00.0: putting AGP V3 device at 0000:00:00.0 into 8x mode
    [    8.302220] agpgart-sis 0000:00:00.0: SiS delay workaround: giving bridge time to recover
    [    8.313685] agpgart-sis 0000:00:00.0: putting AGP V3 device at 0000:01:00.0 into 8x mode
    [    8.313704] radeon 0000:01:00.0: GTT: 128M 0xD0000000 - 0xD7FFFFFF
    [    8.313711] [drm] Generation 2 PCI interface, using max accessible memory
    [    8.313718] radeon 0000:01:00.0: VRAM: 128M 0x00000000D8000000 - 0x00000000DFFFFFFF (128M used)
    [    8.313742] [drm] Detected VRAM RAM=128M, BAR=128M
    [    8.313746] [drm] RAM width 64bits DDR
    [    8.318743] [TTM] Zone  kernel: Available graphics memory: 255446 kiB
    [    8.318750] [TTM] Initializing pool allocator
    [    8.318762] [TTM] Initializing DMA pool allocator
    [    8.318815] [drm] radeon: 128M of VRAM memory ready
    [    8.318821] [drm] radeon: 128M of GTT memory ready.
    [    8.321257] radeon 0000:01:00.0: WB disabled
    [    8.321270] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x00000000d0000000 and cpu addr 0xe07fe000
    [    8.321276] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    8.321278] [drm] Driver supports precise vblank timestamp query.
    [    8.321311] [drm] radeon: irq initialized.
    [    8.321340] [drm] Loading R200 Microcode
    [    8.337126] ppdev: user-space parallel port driver
    [    8.350382] [drm] radeon: ring at 0x00000000D0001000
    [    8.350414] [drm] ring test succeeded in 1 usecs
    [    8.350728] [drm] ib test succeeded in 0 usecs
    [    8.351298] [drm] Radeon Display Connectors
    [    8.351305] [drm] Connector 0:
    [    8.351307] [drm]   VGA-1
    [    8.351311] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
    [    8.351313] [drm]   Encoders:
    [    8.351315] [drm]     CRT1: INTERNAL_DAC1
    [    8.351317] [drm] Connector 1:
    [    8.351319] [drm]   SVIDEO-1
    [    8.351321] [drm]   Encoders:
    [    8.351322] [drm]     TV1: INTERNAL_DAC2
    [    8.481905] [drm] fb mappable at 0xD8040000
    [    8.481912] [drm] vram apper at 0xD8000000
    [    8.481914] [drm] size 8294400
    [    8.481916] [drm] fb depth is 24
    [    8.481918] [drm]    pitch is 7680
    [    8.482299] fbcon: radeondrmfb (fb0) is primary device
    [    8.535240] Console: switching to colour frame buffer device 240x67
    [    8.614028] systemd-udevd[135]: renamed network interface eth0 to enp0s15
    [    8.614028] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
    [    8.614034] radeon 0000:01:00.0: registered panic notifier
    [    8.614052] [drm] Initialized radeon 2.37.0 20080528 for 0000:01:00.0 on minor 0
    [    9.523376] intel8x0_measure_ac97_clock: measured 52701 usecs (2535 samples)
    [    9.523383] intel8x0: clocking to 48000
    [   10.264223] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: data=ordered
    [   10.529887] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: data=ordered
    [   10.688972] systemd-journald[112]: Received request to flush runtime journal from PID 1
    [   11.588053] 8139too 0000:00:0f.0 enp0s15: link up, 100Mbps, full-duplex, lpa 0x45E1
    [  130.919975] ISO 9660 Extensions: RRIP_1991A
    [ 1052.318149] perf samples too long (2508 > 2500), lowering kernel.perf_event_max_sample_rate to 50100
    [ 2771.015182] systemd[1]: Starting Journal Service...
    [ 2773.625872] systemd-journald[112]: Received SIGTERM from PID 1 (systemd).
    [ 2773.907874] systemd[1]: Unit systemd-journald.service entered failed state.
    [ 2773.921616] systemd[1]: systemd-journald.service has no holdoff time, scheduling restart.
    [ 2773.922423] systemd[1]: Stopping Journal Service...
    [ 2773.922521] systemd[1]: Starting Journal Service...
    [ 2773.924633] systemd[1]: Started Journal Service.
    [ 2774.243766] systemd-journald[860]: Received request to flush runtime journal from PID 1
    [ 2848.068160] perf samples too long (5003 > 4990), lowering kernel.perf_event_max_sample_rate to 25200
    [ 2932.591054] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
    [ 2932.591064] Disabling lock debugging due to kernel taint
    [ 2932.632805] <6>[fglrx] Maximum main memory to use for locked dma buffers: 427 MBytes.
    [ 2932.633428] <3>[fglrx:firegl_init_device_list] *ERROR* No supported display adapters were found
    [ 2932.633438] <3>[fglrx:firegl_init_module] *ERROR* firegl_init_devices failed
    [ 3146.754229] <6>[fglrx] Maximum main memory to use for locked dma buffers: 427 MBytes.
    [ 3146.754491] <3>[fglrx:firegl_init_device_list] *ERROR* No supported display adapters were found
    [ 3146.754495] <3>[fglrx:firegl_init_module] *ERROR* firegl_init_devices failed
    [ 3387.964180] <6>[fglrx] Maximum main memory to use for locked dma buffers: 427 MBytes.
    [ 3387.964434] <3>[fglrx:firegl_init_device_list] *ERROR* No supported display adapters were found
    [ 3387.964440] <3>[fglrx:firegl_init_module] *ERROR* firegl_init_devices failed
    I have already seen this link and he explain that installing from AUR has resolved his problem, but the wiki says:
    The second method you can use is the AUR; PKGBUILDs offered here are also made by Vi0L0 and are the same he uses to built packages for his repository. Lastly, you can install the driver directly from AMD.
    My aim is to install Catalyst
    Thank you for your help

    I don't think that card is supported by AMD Catalyst anymore, even by the legacy branch...

  • Problem with sound capture on a Packard Bell

    Hello, recently I have acquired a Packard Bell EASYNOTE MX61-B-054PT notebook to replace my dead Asus. Everything is working quite well except for sound capture from the microphone.
    There is a periodic noise that I can't get rid of (the noise I'm talking about isn't the normal background white noise). In the image you can see in the middle when I made some sound and to the left and to the right just silence (with the typical noise) and the samples that go to zero periodically.
    I have tried adjusting buffer time and buffer size in asound.conf, I've tried adjusting the pci latency for the soundcard but nothing worked.
    To make the the plugging and unplugging of headphones work properly I needed to add "options snd_hda_intel model=lenovo" to modprobe.conf although the same problem happens if I don't have any options.
    Help please, I'd like to make this work properly so I can make calls.
    Below is everything that might help anyone help me find out whats wrong.
    $ lsmod
    Module Size Used by
    usb_storage 92736 0
    joydev 11584 0
    snd_seq_dummy 4740 0
    snd_seq_oss 33152 0
    snd_seq_midi_event 8192 1 snd_seq_oss
    snd_seq 50672 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    snd_seq_device 8460 3 snd_seq_dummy,snd_seq_oss,snd_seq
    8139too 24964 0
    ath_pci 245432 0
    wlan 222448 1 ath_pci
    ath_hal 250976 1 ath_pci
    snd_pcm_oss 39840 0
    snd_mixer_oss 16512 2 snd_pcm_oss
    uvcvideo 56840 0
    compat_ioctl32 3072 1 uvcvideo
    i2c_piix4 9744 0
    sdhci_pci 9088 0
    8139cp 21248 0
    ohci1394 30256 0
    videodev 35584 1 uvcvideo
    ieee1394 80452 1 ohci1394
    arc4 3712 2
    snd_hda_intel 368944 3
    snd_pcm 70276 2 snd_pcm_oss,snd_hda_intel
    v4l1_compat 16260 2 uvcvideo,videodev
    mii 6528 2 8139too,8139cp
    video 18064 0
    sdhci 16900 1 sdhci_pci
    snd_timer 21512 2 snd_seq,snd_pcm
    ecb 4608 2
    i2c_core 22420 1 i2c_piix4
    psmouse 38288 0
    crypto_blkcipher 17540 1 ecb
    snd_page_alloc 9736 2 snd_hda_intel,snd_pcm
    mmc_core 46620 1 sdhci
    serio_raw 7172 0
    k8temp 6144 0
    ath5k 100480 0
    mac80211 158876 1 ath5k
    snd_hwdep 9220 1 snd_hda_intel
    snd 53796 14 snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
    soundcore 8160 2 snd
    output 4608 1 video
    cfg80211 25224 2 ath5k,mac80211
    sg 28852 0
    asus_laptop 17656 0
    led_class 5508 2 ath5k,asus_laptop
    ati_agp 8716 0
    agpgart 30804 1 ati_agp
    evdev 11296 8
    thermal 17052 0
    fan 6148 0
    button 7824 0
    battery 12036 0
    ac 6020 0
    cpufreq_ondemand 8588 1
    powernow_k8 15236 1
    freq_table 5632 2 cpufreq_ondemand,powernow_k8
    processor 34732 2 thermal,powernow_k8
    loop 16140 0
    vboxdrv 66072 0
    rtc_cmos 11424 0
    rtc_core 17564 1 rtc_cmos
    rtc_lib 4480 1 rtc_core
    ext3 126344 6
    jbd 46100 1 ext3
    mbcache 8708 1 ext3
    sr_mod 16708 0
    cdrom 35360 1 sr_mod
    sd_mod 27160 8
    usbhid 46016 0
    hid 41856 1 usbhid
    ff_memless 6664 1 usbhid
    pata_atiixp 6656 0
    ehci_hcd 35852 0
    ohci_hcd 24976 0
    ahci 30348 7
    usbcore 134128 6 usb_storage,uvcvideo,usbhid,ehci_hcd,ohci_hcd
    ata_generic 6788 0
    pata_sis 12036 0
    pata_acpi 6016 0
    libata 153120 5 pata_atiixp,ahci,ata_generic,pata_sis,pata_acpi
    scsi_mod 96460 5 usb_storage,sg,sr_mod,sd_mod,libata
    dock 9616 1 libata
    $ lspci
    00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
    00:02.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Graphics Port 0)
    00:04.0 PCI bridge: ATI Technologies Inc Device 7914
    00:06.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 2)
    00:07.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 3)
    00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
    00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
    00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
    00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
    00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
    00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
    00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
    00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
    00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
    00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
    00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
    00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
    00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
    00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
    00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
    00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
    01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 2400
    01:00.1 Audio device: ATI Technologies Inc RV610 audio device [Radeon HD 2400 PRO]
    06:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
    07:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
    07:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
    07:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
    07:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    $ lsusb
    Bus 006 Device 003: ID 04f2:b066 Chicony Electronics Co., Ltd
    Bus 006 Device 001: ID 1d6b:0002
    Bus 005 Device 001: ID 1d6b:0001
    Bus 004 Device 001: ID 1d6b:0001
    Bus 002 Device 001: ID 1d6b:0001
    Bus 003 Device 001: ID 1d6b:0001
    Bus 001 Device 003: ID 046d:c016 Logitech, Inc. M-UV69a Optical Wheel Mouse
    Bus 001 Device 001: ID 1d6b:0001
    $ arecord -l
    **** List of CAPTURE Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: ALC660-VD Analog [ALC660-VD Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    $ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: ALC660-VD Analog [ALC660-VD Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    $ cat /proc/cpuinfo
    processor : 0
    vendor_id : AuthenticAMD
    cpu family : 15
    model : 104
    model name : AMD Turion(tm) 64 X2 Mobile Technology TL-64
    stepping : 2
    cpu MHz : 800.000
    cache size : 512 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 2
    apicid : 0
    initial apicid : 0
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
    bogomips : 1596.49
    clflush size : 64
    power management: ts fid vid ttp tm stc 100mhzsteps
    processor : 1
    vendor_id : AuthenticAMD
    cpu family : 15
    model : 104
    model name : AMD Turion(tm) 64 X2 Mobile Technology TL-64
    stepping : 2
    cpu MHz : 800.000
    cache size : 512 KB
    physical id : 0
    siblings : 2
    core id : 1
    cpu cores : 2
    apicid : 1
    initial apicid : 1
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
    bogomips : 1596.49
    clflush size : 64
    power management: ts fid vid ttp tm stc 100mhzsteps
    $ cat /proc/interrupts
    CPU0 CPU1
    0: 24000 2826477 IO-APIC-edge timer
    1: 84 4321 IO-APIC-edge i8042
    7: 1 0 IO-APIC-edge
    8: 0 85 IO-APIC-edge rtc0
    9: 1753 156423 IO-APIC-fasteoi acpi
    12: 22 2042 IO-APIC-edge i8042
    14: 490 52009 IO-APIC-edge pata_atiixp
    15: 0 0 IO-APIC-edge pata_atiixp
    16: 1136 59115 IO-APIC-fasteoi ohci_hcd:usb1, HDA Intel
    17: 0 15 IO-APIC-fasteoi ohci_hcd:usb2, ohci_hcd:usb4
    18: 0 2 IO-APIC-fasteoi ohci_hcd:usb3, ohci_hcd:usb5
    19: 0 990 IO-APIC-fasteoi ehci_hcd:usb6, ath, HDA Intel
    20: 65 10130 IO-APIC-fasteoi eth0
    21: 0 3 IO-APIC-fasteoi ohci1394
    22: 134 17070 IO-APIC-fasteoi ahci, mmc0
    NMI: 0 0 Non-maskable interrupts
    LOC: 1863999 575326 Local timer interrupts
    RES: 502318 406368 Rescheduling interrupts
    CAL: 348 91 function call interrupts
    TLB: 793864 661776 TLB shootdowns
    TRM: 0 0 Thermal event interrupts
    SPU: 0 0 Spurious interrupts
    ERR: 1
    MIS: 0
    $ dmesg
    Linux version 2.6.27-ARCH (root@T-POWA-LX) (gcc version 4.3.2 (GCC) ) #1 SMP PREEMPT Fri Nov 14 09:33:13 UTC 2008
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
    BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 00000000bff98000 (usable)
    BIOS-e820: 00000000bff98000 - 00000000bffa0000 (ACPI NVS)
    BIOS-e820: 00000000bffa0000 - 00000000bffae000 (ACPI data)
    BIOS-e820: 00000000bffae000 - 00000000bfff0000 (ACPI NVS)
    BIOS-e820: 00000000bfff0000 - 00000000c0000000 (reserved)
    BIOS-e820: 00000000ffb80000 - 0000000100000000 (reserved)
    BIOS-e820: 0000000100000000 - 0000000140000000 (usable)
    DMI present.
    AMI BIOS detected: BIOS may corrupt low RAM, working it around.
    last_pfn = 0xbff98 max_arch_pfn = 0x100000
    x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    kernel direct mapping tables up to 38000000 @ 10000-15000
    RAMDISK: 7ff26000 - 7ffef471
    Allocated new RAMDISK: 00510000 - 005d9471
    Move RAMDISK from 000000007ff26000 - 000000007ffef470 to 00510000 - 005d9470
    ACPI: RSDP 000F8A40, 0014 (r0 ACPIAM)
    ACPI: RSDT BFFA0000, 0048 (r1 PacBel PBNB0006 20071023 MSFT 97)
    ACPI: FACP BFFA0200, 0084 (r2 102307 FACP1138 20071023 MSFT 97)
    ACPI: DSDT BFFA0640, 95AC (r1 T12K0 T12K0001 1 INTL 20051117)
    ACPI: FACS BFFAE000, 0040
    ACPI: APIC BFFA0390, 005C (r1 102307 APIC1138 20071023 MSFT 97)
    ACPI: MCFG BFFA03F0, 003C (r1 102307 OEMMCFG 20071023 MSFT 97)
    ACPI: SLIC BFFA0430, 0176 (r1 PacBel PBNB0006 20071023 MSFT 97)
    ACPI: ECDT BFFA05E0, 0054 (r1 102307 OEMECDT 20071023 MSFT 97)
    ACPI: BOOT BFFA05B0, 0028 (r1 102307 BOOT1138 20071023 MSFT 97)
    ACPI: OEMB BFFAE040, 006D (r1 102307 OEMB1138 20071023 MSFT 97)
    ACPI: HPET BFFA9BF0, 0038 (r1 102307 OEMHPET 20071023 MSFT 97)
    ACPI: SSDT BFFA9C30, 026E (r1 AMI POWERNOW 1 AMD 1)
    2175MB HIGHMEM available.
    896MB LOWMEM available.
    mapped low ram: 0 - 38000000
    low ram: 00000000 - 38000000
    bootmap 00011000 - 00018000
    (9 early reservations) ==> bootmem [0000000000 - 0038000000]
    #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
    #1 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000]
    #2 [0000006000 - 0000007000] TRAMPOLINE ==> [0000006000 - 0000007000]
    #3 [0000100000 - 000050c280] TEXT DATA BSS ==> [0000100000 - 000050c280]
    #4 [000050d000 - 0000510000] INIT_PG_TABLE ==> [000050d000 - 0000510000]
    #5 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000]
    #6 [0000010000 - 0000011000] PGTABLE ==> [0000010000 - 0000011000]
    #7 [0000510000 - 00005d9471] NEW RAMDISK ==> [0000510000 - 00005d9471]
    #8 [0000011000 - 0000018000] BOOTMAP ==> [0000011000 - 0000018000]
    found SMP MP-table at [c00ff780] 000ff780
    Zone PFN ranges:
    DMA 0x00000010 -> 0x00001000
    Normal 0x00001000 -> 0x00038000
    HighMem 0x00038000 -> 0x000bff98
    Movable zone start PFN for each node
    early_node_map[2] active PFN ranges
    0: 0x00000010 -> 0x0000009f
    0: 0x00000100 -> 0x000bff98
    On node 0 totalpages: 786215
    free_area_init_node: node 0, pgdat c03d8200, node_mem_map c1000200
    DMA zone: 3951 pages, LIFO batch:0
    Normal zone: 223520 pages, LIFO batch:31
    HighMem zone: 552600 pages, LIFO batch:31
    Detected use of extended apic ids on hypertransport bus
    ACPI: PM-Timer IO Port: 0x808
    ACPI: Local APIC address 0xfee00000
    ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
    ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
    ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    IOAPIC[0]: apic_id 2, version 33, 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 low level)
    ACPI: IRQ0 used by override.
    ACPI: IRQ2 used by override.
    ACPI: IRQ9 used by override.
    Enabling APIC mode: Flat. Using 1 I/O APICs
    ACPI: HPET id: 0x8300 base: 0xfed00000
    Using ACPI (MADT) for SMP configuration information
    SMP: Allowing 2 CPUs, 0 hotplug CPUs
    mapped APIC to ffffb000 (fee00000)
    mapped IOAPIC to ffffa000 (fec00000)
    PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
    PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
    PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
    Allocating PCI resources starting at c4000000 (gap: c0000000:3fb80000)
    PERCPU: Allocating 39324 bytes of per cpu data
    NR_CPUS: 16, nr_cpu_ids: 2, nr_node_ids 1
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 780071
    Kernel command line: root=/dev/disk/by-uuid/981e5590-5c73-43d6-92b3-dfaf002172fc resume=/dev/disk/by-uuid/76bba7cb-d1c1-4673-89f4-2466b88b4fb5 ro nohz=off
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Initializing CPU#0
    PID hash table entries: 4096 (order: 12, 16384 bytes)
    TSC: Unable to calibrate against PIT
    TSC: using PMTIMER reference calibration
    Detected 2194.487 MHz processor.
    spurious 8259A interrupt: IRQ7.
    Console: colour VGA+ 80x25
    console [tty0] enabled
    Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    Memory: 3113496k/3145312k available (2147k kernel code, 30500k reserved, 844k data, 288k init, 2227808k highmem)
    virtual kernel memory layout:
    fixmap : 0xffee8000 - 0xfffff000 (1116 kB)
    pkmap : 0xff800000 - 0xffc00000 (4096 kB)
    vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
    lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
    .init : 0xc03f3000 - 0xc043b000 ( 288 kB)
    .data : 0xc0318f96 - 0xc03ec320 ( 844 kB)
    .text : 0xc0100000 - 0xc0318f96 (2147 kB)
    Checking if this processor honours the WP bit even in supervisor mode...Ok.
    CPA: page pool initialized 1 of 1 pages preallocated
    SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    hpet clockevent registered
    Calibrating delay loop (skipped), value calculated using timer frequency.. 4390.84 BogoMIPS (lpj=7314956)
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
    CPU: L2 Cache: 512K (64 bytes/line)
    CPU 0(2) -> Core 0
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#0.
    using C1E aware idle routine
    Checking 'hlt' instruction... OK.
    ACPI: Core revision 20080609
    ACPI: Checking initramfs for custom DSDT
    ENABLING IO-APIC IRQs
    ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
    CPU0: AMD Turion(tm) 64 X2 Mobile Technology TL-64 stepping 02
    Booting processor 1/1 ip 6000
    Initializing CPU#1
    Calibrating delay using timer specific routine.. 4390.89 BogoMIPS (lpj=7315039)
    CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
    CPU: L2 Cache: 512K (64 bytes/line)
    CPU 1(2) -> Core 1
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#1.
    x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
    CPU1: AMD Turion(tm) 64 X2 Mobile Technology TL-64 stepping 02
    Brought up 2 CPUs
    System has AMD C1E enabled
    Switch to broadcast mode on CPU1
    Total of 2 processors activated (8781.74 BogoMIPS).
    Switch to broadcast mode on CPU0
    net_namespace: 832 bytes
    Booting paravirtualized kernel on bare hardware
    NET: Registered protocol family 16
    ACPI: bus type pci registered
    PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
    PCI: Not using MMCONFIG.
    PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=7
    PCI: Using configuration type 1 for base access
    ACPI: EC: EC description table is found, configuring boot EC
    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
    PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
    PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
    PCI: Using MMCONFIG for extended config space
    ACPI: EC: GPE = 0x11, I/O: command/status = 0x66, data = 0x62
    ACPI: EC: driver started in interrupt mode
    ACPI: PCI Root Bridge [PCI0] (0000:00)
    pci 0000:00:02.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:02.0: PME# disabled
    pci 0000:00:04.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:04.0: PME# disabled
    pci 0000:00:06.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:06.0: PME# disabled
    pci 0000:00:07.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:07.0: PME# disabled
    PCI: 0000:00:12.0 reg 10 io port: [e800, e807]
    PCI: 0000:00:12.0 reg 14 io port: [e400, e403]
    PCI: 0000:00:12.0 reg 18 io port: [e000, e007]
    PCI: 0000:00:12.0 reg 1c io port: [dc00, dc03]
    PCI: 0000:00:12.0 reg 20 io port: [d800, d80f]
    PCI: 0000:00:12.0 reg 24 32bit mmio: [febffc00, febfffff]
    pci 0000:00:12.0: set SATA to AHCI mode
    PCI: 0000:00:13.0 reg 10 32bit mmio: [febfe000, febfefff]
    PCI: 0000:00:13.1 reg 10 32bit mmio: [febfd000, febfdfff]
    PCI: 0000:00:13.2 reg 10 32bit mmio: [febfc000, febfcfff]
    PCI: 0000:00:13.3 reg 10 32bit mmio: [febfb000, febfbfff]
    PCI: 0000:00:13.4 reg 10 32bit mmio: [febfa000, febfafff]
    PCI: 0000:00:13.5 reg 10 32bit mmio: [febff800, febff8ff]
    pci 0000:00:13.5: supports D1
    pci 0000:00:13.5: supports D2
    pci 0000:00:13.5: PME# supported from D0 D1 D2 D3hot
    pci 0000:00:13.5: PME# disabled
    PCI: 0000:00:14.0 reg 10 io port: [b00, b0f]
    PCI: 0000:00:14.1 reg 10 io port: [0, 7]
    PCI: 0000:00:14.1 reg 14 io port: [0, 3]
    PCI: 0000:00:14.1 reg 18 io port: [0, 7]
    PCI: 0000:00:14.1 reg 1c io port: [0, 3]
    PCI: 0000:00:14.1 reg 20 io port: [ff00, ff0f]
    PCI: 0000:00:14.2 reg 10 64bit mmio: [febf4000, febf7fff]
    pci 0000:00:14.2: PME# supported from D0 D3hot D3cold
    pci 0000:00:14.2: PME# disabled
    PCI: 0000:01:00.0 reg 10 32bit mmio: [d0000000, d7ffffff]
    PCI: 0000:01:00.0 reg 14 io port: [8800, 88ff]
    PCI: 0000:01:00.0 reg 18 32bit mmio: [fd8f0000, fd8fffff]
    PCI: 0000:01:00.0 reg 30 32bit mmio: [fd8c0000, fd8dffff]
    pci 0000:01:00.0: supports D1
    pci 0000:01:00.0: supports D2
    PCI: 0000:01:00.1 reg 10 32bit mmio: [fd8ec000, fd8effff]
    pci 0000:01:00.1: supports D1
    pci 0000:01:00.1: supports D2
    PCI: bridge 0000:00:02.0 io port: [8000, 8fff]
    PCI: bridge 0000:00:02.0 32bit mmio: [fd800000, fd8fffff]
    PCI: bridge 0000:00:02.0 64bit mmio pref: [cbf00000, dbefffff]
    PCI: bridge 0000:00:04.0 io port: [9000, afff]
    PCI: bridge 0000:00:04.0 32bit mmio: [fd900000, fe8fffff]
    PCI: bridge 0000:00:04.0 64bit mmio pref: [dbf00000, dfefffff]
    PCI: 0000:06:00.0 reg 10 64bit mmio: [fe9f0000, fe9fffff]
    pci 0000:06:00.0: PME# supported from D3hot
    pci 0000:06:00.0: PME# disabled
    PCI: bridge 0000:00:07.0 32bit mmio: [fe900000, fe9fffff]
    PCI: 0000:07:01.0 reg 10 32bit mmio: [feaff800, feafffff]
    pci 0000:07:01.0: PME# supported from D0 D3hot D3cold
    pci 0000:07:01.0: PME# disabled
    PCI: 0000:07:01.1 reg 10 32bit mmio: [feaff400, feaff4ff]
    pci 0000:07:01.1: supports D1
    pci 0000:07:01.1: supports D2
    pci 0000:07:01.1: PME# supported from D0 D1 D2 D3hot D3cold
    pci 0000:07:01.1: PME# disabled
    PCI: 0000:07:01.2 reg 10 32bit mmio: [feaff000, feaff0ff]
    pci 0000:07:01.2: supports D1
    pci 0000:07:01.2: supports D2
    pci 0000:07:01.2: PME# supported from D0 D1 D2 D3hot D3cold
    pci 0000:07:01.2: PME# disabled
    PCI: 0000:07:07.0 reg 10 io port: [b800, b8ff]
    PCI: 0000:07:07.0 reg 14 32bit mmio: [feafec00, feafecff]
    pci 0000:07:07.0: supports D1
    pci 0000:07:07.0: supports D2
    pci 0000:07:07.0: PME# supported from D1 D2 D3hot D3cold
    pci 0000:07:07.0: PME# disabled
    pci 0000:00:14.4: transparent bridge
    PCI: bridge 0000:00:14.4 io port: [b000, bfff]
    PCI: bridge 0000:00:14.4 32bit mmio: [fea00000, feafffff]
    bus 00 -> node 0
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P7._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCE2._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCE6._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCE7._PRT]
    ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 7 10 11 12 14 15)
    ACPI: PCI Interrupt Link [LNKB] (IRQs *3 4 5 7 10 11 12 14 15)
    ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *10 11 12 14 15)
    ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 *10 11 12 14 15)
    ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 *7 10 11 12 14 15)
    ACPI: PCI Interrupt Link [LNKF] (IRQs *9)
    ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 *11 12 14 15)
    ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
    Linux Plug and Play Support v0.97 (c) Adam Belay
    pnp: PnP ACPI init
    ACPI: bus type pnp registered
    pnp: PnP ACPI: found 13 devices
    ACPI: ACPI bus type pnp unregistered
    PCI: Using ACPI for IRQ routing
    NetLabel: Initializing
    NetLabel: domain hash size = 128
    NetLabel: protocols = UNLABELED CIPSOv4
    NetLabel: unlabeled traffic allowed by default
    ACPI: RTC can wake from S4
    Switched to high resolution mode on CPU 0
    Switched to high resolution mode on CPU 1
    system 00:06: ioport range 0x250-0x253 has been reserved
    system 00:06: ioport range 0x256-0x25f has been reserved
    system 00:06: iomem range 0xfec00000-0xfec00fff has been reserved
    system 00:06: iomem range 0xfee00000-0xfee00fff has been reserved
    system 00:08: ioport range 0x4d0-0x4d1 has been reserved
    system 00:08: ioport range 0x40b-0x40b has been reserved
    system 00:08: ioport range 0x4d6-0x4d6 has been reserved
    system 00:08: ioport range 0xc00-0xc01 has been reserved
    system 00:08: ioport range 0xc14-0xc14 has been reserved
    system 00:08: ioport range 0xc50-0xc51 has been reserved
    system 00:08: ioport range 0xc52-0xc52 has been reserved
    system 00:08: ioport range 0xc6c-0xc6c has been reserved
    system 00:08: ioport range 0xc6f-0xc6f has been reserved
    system 00:08: ioport range 0xcd0-0xcd1 has been reserved
    system 00:08: ioport range 0xcd2-0xcd3 has been reserved
    system 00:08: ioport range 0xcd4-0xcd5 has been reserved
    system 00:08: ioport range 0xcd6-0xcd7 has been reserved
    system 00:08: ioport range 0xcd8-0xcdf has been reserved
    system 00:08: ioport range 0x800-0x89f has been reserved
    system 00:08: ioport range 0xb10-0xb1f has been reserved
    system 00:08: ioport range 0x900-0x90f has been reserved
    system 00:08: ioport range 0x910-0x91f has been reserved
    system 00:08: ioport range 0xfe00-0xfefe has been reserved
    system 00:08: iomem range 0xffb80000-0xffbfffff could not be reserved
    system 00:08: iomem range 0xfff80000-0xffffffff could not be reserved
    system 00:0b: iomem range 0xe0000000-0xefffffff has been reserved
    system 00:0c: iomem range 0x0-0x9ffff could not be reserved
    system 00:0c: iomem range 0xc0000-0xcffff could not be reserved
    system 00:0c: iomem range 0xe0000-0xfffff could not be reserved
    system 00:0c: iomem range 0x100000-0xbfffffff could not be reserved
    system 00:0c: iomem range 0xe0000000-0xffffffff could not be reserved
    pci 0000:00:02.0: PCI bridge, secondary bus 0000:01
    pci 0000:00:02.0: IO window: 0x8000-0x8fff
    pci 0000:00:02.0: MEM window: 0xfd800000-0xfd8fffff
    pci 0000:00:02.0: PREFETCH window: 0x000000cbf00000-0x000000dbefffff
    pci 0000:00:04.0: PCI bridge, secondary bus 0000:02
    pci 0000:00:04.0: IO window: 0x9000-0xafff
    pci 0000:00:04.0: MEM window: 0xfd900000-0xfe8fffff
    pci 0000:00:04.0: PREFETCH window: 0x000000dbf00000-0x000000dfefffff
    pci 0000:00:06.0: PCI bridge, secondary bus 0000:05
    pci 0000:00:06.0: IO window: disabled
    pci 0000:00:06.0: MEM window: disabled
    pci 0000:00:06.0: PREFETCH window: disabled
    pci 0000:00:07.0: PCI bridge, secondary bus 0000:06
    pci 0000:00:07.0: IO window: disabled
    pci 0000:00:07.0: MEM window: 0xfe900000-0xfe9fffff
    pci 0000:00:07.0: PREFETCH window: disabled
    pci 0000:00:14.4: PCI bridge, secondary bus 0000:07
    pci 0000:00:14.4: IO window: 0xb000-0xbfff
    pci 0000:00:14.4: MEM window: 0xfea00000-0xfeafffff
    pci 0000:00:14.4: PREFETCH window: disabled
    pci 0000:00:02.0: setting latency timer to 64
    pci 0000:00:04.0: setting latency timer to 64
    pci 0000:00:06.0: setting latency timer to 64
    pci 0000:00:07.0: setting latency timer to 64
    bus: 00 index 0 io port: [0, ffff]
    bus: 00 index 1 mmio: [0, ffffffff]
    bus: 01 index 0 io port: [8000, 8fff]
    bus: 01 index 1 mmio: [fd800000, fd8fffff]
    bus: 01 index 2 mmio: [cbf00000, dbefffff]
    bus: 01 index 3 mmio: [0, 0]
    bus: 02 index 0 io port: [9000, afff]
    bus: 02 index 1 mmio: [fd900000, fe8fffff]
    bus: 02 index 2 mmio: [dbf00000, dfefffff]
    bus: 02 index 3 mmio: [0, 0]
    bus: 05 index 0 mmio: [0, 0]
    bus: 05 index 1 mmio: [0, 0]
    bus: 05 index 2 mmio: [0, 0]
    bus: 05 index 3 mmio: [0, 0]
    bus: 06 index 0 mmio: [0, 0]
    bus: 06 index 1 mmio: [fe900000, fe9fffff]
    bus: 06 index 2 mmio: [0, 0]
    bus: 06 index 3 mmio: [0, 0]
    bus: 07 index 0 io port: [b000, bfff]
    bus: 07 index 1 mmio: [fea00000, feafffff]
    bus: 07 index 2 mmio: [0, 0]
    bus: 07 index 3 io port: [0, ffff]
    bus: 07 index 4 mmio: [0, ffffffff]
    NET: Registered protocol family 2
    IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
    TCP: Hash tables configured (established 131072 bind 65536)
    TCP reno registered
    NET: Registered protocol family 1
    Unpacking initramfs... done
    Freeing initrd memory: 805k freed
    Simple Boot Flag at 0x52 set to 0x1
    apm: BIOS not found.
    highmem bounce pool size: 64 pages
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    msgmni has been set to 1733
    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:02.0: setting latency timer to 64
    pcieport-driver 0000:00:02.0: found MSI capability
    pci_express 0000:00:02.0:pcie00: allocate port service
    pci_express 0000:00:02.0:pcie03: allocate port service
    pcieport-driver 0000:00:04.0: setting latency timer to 64
    pcieport-driver 0000:00:04.0: found MSI capability
    pci_express 0000:00:04.0:pcie00: allocate port service
    pci_express 0000:00:04.0:pcie02: allocate port service
    pci_express 0000:00:04.0:pcie03: allocate port service
    pcieport-driver 0000:00:06.0: setting latency timer to 64
    pcieport-driver 0000:00:06.0: found MSI capability
    pci_express 0000:00:06.0:pcie00: allocate port service
    pci_express 0000:00:06.0:pcie03: allocate port service
    pcieport-driver 0000:00:07.0: setting latency timer to 64
    pcieport-driver 0000:00:07.0: found MSI capability
    pci_express 0000:00:07.0:pcie00: allocate port service
    pci_express 0000:00:07.0:pcie03: allocate port service
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    Serial: 8250/16550 driver4 ports, IRQ sharing disabled
    input: Macintosh mouse button emulation as /class/input/input0
    PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03: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
    Using IPI No-Shortcut mode
    registered taskstats version 1
    Freeing unused kernel memory: 288k freed
    No dock devices found.
    SCSI subsystem initialized
    libata version 3.00 loaded.
    pata_acpi 0000:00:14.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    pata_acpi 0000:00:14.1: setting latency timer to 64
    input: AT Translated Set 2 keyboard as /class/input/input1
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    ahci 0000:00:12.0: version 3.0
    ahci 0000:00:12.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    ahci 0000:00:12.0: controller can't do 64bit DMA, forcing 32bit
    ahci 0000:00:12.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl SATA mode
    ahci 0000:00:12.0: flags: ncq sntf ilck pm led clo pmp pio slum part
    scsi0 : ahci
    ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
    scsi1 : ahci
    scsi2 : ahci
    Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
    scsi3 : ahci
    ata1: SATA max UDMA/133 abar m1024@0xfebffc00 port 0xfebffd00 irq 22
    ata2: SATA max UDMA/133 abar m1024@0xfebffc00 port 0xfebffd80 irq 22
    ata3: SATA max UDMA/133 abar m1024@0xfebffc00 port 0xfebffe00 irq 22
    ata4: SATA max UDMA/133 abar m1024@0xfebffc00 port 0xfebffe80 irq 22
    ata1: softreset failed (device not ready)
    ata1: failed due to HW bug, retry pmp=0
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.00: ATA-8: WDC WD3200BEVT-22ZCT0, 11.01A11, max UDMA/133
    ata1.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 31/32)
    ata1.00: SB600 AHCI: limiting to 255 sectors per cmd
    ata1.00: SB600 AHCI: limiting to 255 sectors per cmd
    ata1.00: configured for UDMA/133
    ata2: SATA link down (SStatus 0 SControl 300)
    ata3: SATA link down (SStatus 0 SControl 300)
    ata4: SATA link down (SStatus 0 SControl 300)
    scsi 0:0:0:0: Direct-Access ATA WDC WD3200BEVT-2 11.0 PQ: 0 ANSI: 5
    ohci_hcd 0000:00:13.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    ohci_hcd 0000:00:13.0: OHCI Host Controller
    ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1
    ohci_hcd 0000:00:13.0: irq 16, io mem 0xfebfe000
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 2 ports detected
    ohci_hcd 0000:00:13.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
    ohci_hcd 0000:00:13.1: OHCI Host Controller
    ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 2
    ohci_hcd 0000:00:13.1: irq 17, io mem 0xfebfd000
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 2 ports detected
    usb 1-1: new low speed USB device using ohci_hcd and address 2
    ohci_hcd 0000:00:13.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    ohci_hcd 0000:00:13.2: OHCI Host Controller
    ohci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 3
    ohci_hcd 0000:00:13.2: irq 18, io mem 0xfebfc000
    usb usb3: configuration #1 chosen from 1 choice
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 2 ports detected
    usb 1-1: configuration #1 chosen from 1 choice
    ohci_hcd 0000:00:13.3: PCI INT B -> GSI 17 (level, low) -> IRQ 17
    ohci_hcd 0000:00:13.3: OHCI Host Controller
    ohci_hcd 0000:00:13.3: new USB bus registered, assigned bus number 4
    ohci_hcd 0000:00:13.3: irq 17, io mem 0xfebfb000
    usb usb4: configuration #1 chosen from 1 choice
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 2 ports detected
    ohci_hcd 0000:00:13.4: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    ohci_hcd 0000:00:13.4: OHCI Host Controller
    ohci_hcd 0000:00:13.4: new USB bus registered, assigned bus number 5
    ohci_hcd 0000:00:13.4: irq 18, io mem 0xfebfa000
    usb usb5: configuration #1 chosen from 1 choice
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 2 ports detected
    usb 4-1: new full speed USB device using ohci_hcd and address 2
    ehci_hcd 0000:00:13.5: PCI INT D -> GSI 19 (level, low) -> IRQ 19
    ehci_hcd 0000:00:13.5: EHCI Host Controller
    ehci_hcd 0000:00:13.5: new USB bus registered, assigned bus number 6
    ehci_hcd 0000:00:13.5: debug port 1
    ehci_hcd 0000:00:13.5: irq 19, io mem 0xfebff800
    usb 4-1: device descriptor read/64, error 2
    ehci_hcd 0000:00:13.5: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
    usb usb6: configuration #1 chosen from 1 choice
    hub 6-0:1.0: USB hub found
    hub 6-0:1.0: 10 ports detected
    hub 4-0:1.0: unable to enumerate USB device on port 1
    scsi4 : pata_atiixp
    scsi5 : pata_atiixp
    ata5: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 irq 14
    ata6: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xff08 irq 15
    usb 1-1: USB disconnect, address 2
    ata5.00: ATAPI: Optiarc DVD RW AD-7590A, 1.62, max UDMA/33
    ata5.00: configured for UDMA/33
    usb 6-7: new high speed USB device using ehci_hcd and address 3
    scsi 4:0:0:0: CD-ROM Optiarc DVD RW AD-7590A 1.62 PQ: 0 ANSI: 5
    usb 6-7: configuration #1 chosen from 1 choice
    Driver 'sd' needs updating - please use bus_type methods
    sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
    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
    sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
    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:<4>Driver 'sr' needs updating - please use bus_type methods
    sda1 sda2 sda3 < sda5 sda6 sda7 sda8 sda9 sda10 >
    sd 0:0:0:0: [sda] Attached SCSI disk
    sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
    Uniform CD-ROM driver Revision: 3.20
    sr 4:0:0:0: Attached scsi CD-ROM sr0
    usb 1-1: new low speed USB device using ohci_hcd and address 3
    usb 1-1: configuration #1 chosen from 1 choice
    usbcore: registered new interface driver hiddev
    input: Logitech Optical USB Mouse as /class/input/input2
    input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:13.0-1
    usbcore: registered new interface driver usbhid
    usbhid: v2.6:USB HID core driver
    PM: Starting manual resume from disk
    kjournald starting. Commit interval 5 seconds
    EXT3-fs: mounted filesystem with ordered data mode.
    rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
    rtc0: alarms up to one month, y3k, hpet irqs
    vboxdrv: Trying to deactivate the NMI watchdog permanently...
    vboxdrv: Successfully done.
    vboxdrv: Found 2 processor cores.
    vboxdrv: fAsync=1 offMin=0x60f6a offMax=0x60f6a
    vboxdrv: TSC mode is 'asynchronous', kernel timer mode is 'normal'.
    vboxdrv: Successfully loaded version 2.0.4 (interface 0x00090000).
    loop: module loaded
    ACPI: processor limited to max C-state 1
    processor ACPI0007:00: registered as cooling_device0
    processor ACPI0007:01: registered as cooling_device1
    powernow-k8: Found 1 AMD Turion(tm) 64 X2 Mobile Technology TL-64 processors (2 cpu cores) (version 2.20.00)
    powernow-k8: 0 : fid 0xe (2200 MHz), vid 0x12
    powernow-k8: 1 : fid 0xc (2000 MHz), vid 0x13
    powernow-k8: 2 : fid 0xa (1800 MHz), vid 0x14
    powernow-k8: 3 : fid 0x8 (1600 MHz), vid 0x15
    powernow-k8: 4 : fid 0x0 (800 MHz), vid 0x1e
    ACPI: AC Adapter [AC0] (on-line)
    ACPI: Battery Slot [BAT0] (battery present)
    input: Power Button (FF) as /class/input/input3
    ACPI: Power Button (FF) [PWRF]
    input: Power Button (CM) as /class/input/input4
    ACPI: Power Button (CM) [PWRB]
    input: Sleep Button (CM) as /class/input/input5
    ACPI: Sleep Button (CM) [SLPB]
    input: Lid Switch as /class/input/input6
    ACPI: Lid Switch [LID]
    thermal LNXTHERM:01: registered as thermal_zone0
    ACPI: Thermal Zone [THRM] (48 C)
    Linux agpgart interface v0.103
    asus-laptop: Asus Laptop Support version 0.42
    asus-laptop: BSTS called, 0xff7f returned
    asus-laptop: T12KV model detected
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sr 4:0:0:0: Attached scsi generic sg1 type 5
    ath5k_pci 0000:06:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    ath5k_pci 0000:06:00.0: setting latency timer to 64
    ath5k_pci 0000:06:00.0: registered as 'phy0'
    ath5k phy0: Support for RF2425 is under development.
    phy0: Selected rate control algorithm 'pid'
    sdhci: Secure Digital Host Controller Interface driver
    sdhci: Copyright(c) Pierre Ossman
    acpi device:06: registered as cooling_device2
    input: Video Bus as /class/input/input7
    ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
    proc_dir_entry 'video/VGA' already registered
    Pid: 1899, comm: modprobe Not tainted 2.6.27-ARCH #1
    [<c01caa3f>] proc_register+0x18f/0x1c0
    [<c01cac43>] proc_mkdir_mode+0x33/0x50
    [<f8a7c402>] acpi_video_bus_add+0x1b8/0xb5e [video]
    [<c01d2fad>] sysfs_addrm_start+0x6d/0xc0
    [<c01d3d3d>] sysfs_do_create_link+0x8d/0x120
    [<c0240154>] acpi_device_probe+0x3a/0x7a
    [<c026c956>] driver_probe_device+0x86/0x1a0
    [<c0317b14>] _spin_lock_irqsave+0x34/0x50
    [<c026cae1>] __driver_attach+0x71/0x80
    [<c02400bc>] acpi_device_remove+0x0/0x5e
    [<c026c284>] bus_for_each_dev+0x44/0x70
    [<c02400bc>] acpi_device_remove+0x0/0x5e
    [<c026c7e6>] driver_attach+0x16/0x20
    [<c026ca70>] __driver_attach+0x0/0x80
    [<c026bc17>] bus_add_driver+0x1a7/0x220
    [<c02400bc>] acpi_device_remove+0x0/0x5e
    [<c026cc7c>] driver_register+0x5c/0x130
    [<f8986000>] acpi_video_init+0x0/0x4d [video]
    [<f8986000>] acpi_video_init+0x0/0x4d [video]
    [<f898602f>] acpi_video_init+0x2f/0x4d [video]
    [<c010111a>] do_one_initcall+0x2a/0x160
    [<c0120b9b>] resched_task+0x1b/0x70
    [<c015369b>] sys_init_module+0x8b/0x1b0
    [<c0103ef3>] sysenter_do_call+0x12/0x33
    =======================
    acpi device:24: registered as cooling_device3
    input: Video Bus as /class/input/input8
    ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
    ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
    HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    Linux video capture interface: v2.00
    8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
    HDA Intel 0000:01:00.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    HDA Intel 0000:01:00.1: setting latency timer to 64
    ACPI: I/O resource piix4_smbus [0xb00-0xb07] conflicts with ACPI region SMB0 [0xb00-0xb0f]
    ACPI: Device needs an ACPI driver
    piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0
    uvcvideo: Found UVC 1.00 device CNF7050 (04f2:b066)
    input: CNF7050 as /class/input/input9
    8139cp 0000:07:07.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
    8139cp 0000:07:07.0: Try the "8139too" driver instead.
    sdhci-pci 0000:07:01.1: SDHCI controller found [1180:0822] (rev 22)
    sdhci-pci 0000:07:01.1: PCI INT B -> GSI 22 (level, low) -> IRQ 22
    sdhci-pci 0000:07:01.1: Will use DMA mode even though HW doesn't fully claim to support it.
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    mmc0: SDHCI controller on PCI [0000:07:01.1] using DMA
    ohci1394 0000:07:01.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
    ath_hal: module license 'Proprietary' taints kernel.
    AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133)
    ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[21] MMIO=[feaff800-feafffff] Max Packet=[2048] IR/IT contexts=[4/4]
    8139too Fast Ethernet driver 0.9.28
    8139too 0000:07:07.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
    eth0: RealTek RTL8139 at 0xf887ac00, 00:22:15:50:50:ea, IRQ 20
    eth0: Identified 8139 chip type 'RTL-8100B/8139D'
    Synaptics Touchpad, model: 1, fw: 6.2, id: 0x3aa0b4, caps: 0xa04711/0x200000
    input: SynPS/2 Synaptics TouchPad as /class/input/input10
    ieee1394: Host added: ID:BUS[0-00:1023] GUID[001e8c00015eeda0]
    EXT3 FS on sda1, internal journal
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sda6, internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sda7, internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sda9, internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sda10, internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sda8, internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    Adding 6289408k swap on /dev/sda5. Priority:-1 extents:1 across:6289408k
    Clocksource tsc unstable (delta = -317832012 ns)
    eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
    eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
    mtrr: type mismatch for d0000000,8000000 old: write-back new: write-combining
    hda-intel: Invalid position buffer, using LPIB read method instead.
    process `skype' is using obsolete setsockopt SO_BSDCOMPAT
    usb 6-4: new high speed USB device using ehci_hcd and address 4
    usb 6-4: configuration #1 chosen from 1 choice
    Initializing USB Mass Storage driver...
    scsi6 : SCSI emulation for USB Mass Storage devices
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usb-storage: device found at 4
    usb-storage: waiting for device to settle before scanning
    scsi 6:0:0:0: Direct-Access Multi Flash Reader 1.00 PQ: 0 ANSI: 0
    sd 6:0:0:0: [sdb] Attached SCSI removable disk
    sd 6:0:0:0: Attached scsi generic sg2 type 0
    usb-storage: device scan complete
    sd 6:0:0:0: [sdb] 985088 512-byte hardware sectors (504 MB)
    sd 6:0:0:0: [sdb] Write Protect is off
    sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
    sd 6:0:0:0: [sdb] Assuming drive cache: write through
    sd 6:0:0:0: [sdb] 985088 512-byte hardware sectors (504 MB)
    sd 6:0:0:0: [sdb] Write Protect is off
    sd 6:0:0:0: [sdb] Mode Sense: 03 00 00 00
    sd 6:0:0:0: [sdb] Assuming drive cache: write through
    sdb: sdb1
    usb 6-4: USB disconnect, address 4

    Hi there  I understand that you are having trouble with the sound button on your notebook computer. I am happy to help with this. From looking though your other posts, I see that you have been having some other general sound issues. It may be that you need to install some of the other utility software from the support page for your notebook.  There are some utilitys/software that is for the configuation of some of the keyboard keys. HP Pavilion g7-1216sv Notebook PC You  can look at the ones from within the Software Solutions section, one of two of those may be of use.

  • 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();
    }

  • A problem with Threads and MMapi

    I am tring to execute a class based on Game canvas.
    The problem begin when I try to Play both a MIDI tone and to run an infinit Thread loop.
    The MIDI tone "Stammers".
    How to over come the problem?
    Thanks in advance
    Kobi
    See Code example below:
    import java.io.IOException;
    import java.io.InputStream;
    import javax.microedition.lcdui.Graphics;
    import javax.microedition.lcdui.Image;
    import javax.microedition.lcdui.game.GameCanvas;
    import javax.microedition.media.Manager;
    import javax.microedition.media.MediaException;
    import javax.microedition.media.Player;
    public class MainScreenCanvas extends GameCanvas implements Runnable {
         private MainMIDlet parent;
         private boolean mTrucking = false;
         Image imgBackgound = null;
         int imgBackgoundX = 0, imgBackgoundY = 0;
         Player player;
         public MainScreenCanvas(MainMIDlet parent)
              super(true);
              this.parent = parent;
              try
                   imgBackgound = Image.createImage("/images/area03_bkg0.png");
                   imgBackgoundX = this.getWidth() - imgBackgound.getWidth();
                   imgBackgoundY = this.getHeight() - imgBackgound.getHeight();
              catch(Exception e)
                   System.out.println(e.getMessage());
          * starts thread
         public void start()
              mTrucking = true;
              Thread t = new Thread(this);
              t.start();
          * stops thread
         public void stop()
              mTrucking = false;
         public void play()
              try
                   InputStream is = getClass().getResourceAsStream("/sounds/scale.mid");
                   player = Manager.createPlayer(is, "audio/midi");
                   player.setLoopCount(-1);
                   player.prefetch();
                   player.start();
              catch(Exception e)
                   System.out.println(e.getMessage());
         public void run()
              Graphics g = getGraphics();
              play();
              while (true)
                   tick();
                   input();
                   render(g);
          * responsible for object movements
         private void tick()
          * response to key input
         private void input()
              int keyStates = getKeyStates();
              if ((keyStates & LEFT_PRESSED) != 0)
                   imgBackgoundX++;
                   if (imgBackgoundX > 0)
                        imgBackgoundX = 0;
              if ((keyStates & RIGHT_PRESSED) != 0)
                   imgBackgoundX--;
                   if (imgBackgoundX < this.getWidth() - imgBackgound.getWidth())
                        imgBackgoundX = this.getWidth() - imgBackgound.getWidth();
          * Responsible for the drawing
          * @param g
         private void render(Graphics g)
              g.drawImage(imgBackgound, imgBackgoundX, imgBackgoundY, Graphics.TOP | Graphics.LEFT);
              this.flushGraphics();
    }

    You can also try to provide a greater Priority to your player thread so that it gains the CPU time when ever it needs it and don't harm the playback.
    However a loop in a Thread and that to an infinite loop is one kind of very bad programming, 'cuz the loop eats up most of your CPU time which in turn adds up more delays of the execution of other tasks (just as in your case it is the playback). By witting codes bit efficiently and planning out the architectural execution flow of the app before start writing the code helps solve these kind of issues.
    You can go through [this simple tutorial|http://oreilly.com/catalog/expjava/excerpt/index.html] about Basics of Java and Threads to know more about threads.
    Regds,
    SD
    N.B. And yes there are more articles and tutorials available but much of them targets the Java SE / EE, but if you want to read them here is [another great one straight from SUN|http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html] .
    Edited by: find_suvro@SDN on 7 Nov, 2008 12:00 PM

  • J2ME problem with threads

    Hi all,
    I would like to ask you for a help. I need to write a small program at my university. I started to write a midlet which function would be to countdown time for sports activities. I woul like to start a new thread - the one that counts down - and at the same time make the main thread sleep. After the "countdown" thread finishes, the main thread wakes up and waits for user input. The problem is that when the "countdown" thread finishes his work, I've got Uncaught exception java/lang/NullPointerException. error and the midlet halts.
    Below you can find the code
    import java.lang.*;
    import java.util.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class intervals extends MIDlet implements CommandListener
    public Display ekran;
    private SweepCanvas sweeper;
    private Form rundy;
    private TextField round0, round1, round2, round3, round4, round5, round6, round7, round8;
    private long czas,x;
    private Command exitCommand;
    private Command addRound;
    private Command delRound;
    private Command start;
    private TextField repeat;
    private Form odliczanie;
    private Alert ostrz;
    Licznik thread;
    String test;
    StringItem test1;
    int parz,i,j,k;
    static int l;
    int ilrund;
    int ilpowt;
    Item sec;
    long sec1;
    public intervals()
        rundy = new Form("Interwa&#322;y sportowe");
        exitCommand = new Command("Wyj&#347;cie", Command.EXIT, 2);
        addRound = new Command("Dodaj","Dodaj rund&#281;", Command.ITEM,1);
        delRound = new Command("Usu&#324;","Usu&#324; ostatni&#261; rund&#281;", Command.ITEM,1);
        start = new Command("Start", Command.ITEM,1);
        odliczanie = new Form("Odliczanie");
        TextField dodaj(TextField kolej)
            kolej=new TextField("Podaj czas (s) rundy "+parz,null, 4, TextField.NUMERIC);//stworzenie nowej instancji do wybierania czasu trwania rundy
            if(rundy.size()==0)
                rundy.insert(rundy.size(),kolej);
                else
                    rundy.insert(rundy.size()-1, kolej);
            return kolej;
        void odliczanie(TextField round)
            monitor m=new monitor();
            k=Integer.parseInt(round.getString());
            ekran.setCurrent(odliczanie);
            thread=new Licznik(k,odliczanie);
            thread.start();
            ekran.setCurrent(rundy);
    public void startApp()// throws MIDletStateChangeException
        rundy.deleteAll();
        repeat = new TextField("Podaj ilo&#347;&#263; powtórze&#324;",null,1,TextField.NUMERIC);
        rundy.addCommand(addRound);
        rundy.addCommand(exitCommand);
        rundy.setCommandListener(this);
        Canvas obrazek = new MyCanvas();
        ekran = Display.getDisplay(this);
        ekran.setCurrent(obrazek);
        czas=System.currentTimeMillis();
        while (System.currentTimeMillis()<czas+1000)
            continue;
        ekran.setCurrent(rundy);
    public void pauseApp()
    public void destroyApp(boolean unconditional)
        notifyDestroyed();
    public void commandAction(Command c, Displayable s)
        if (c == exitCommand)
            destroyApp(false);
            notifyDestroyed();
        else if(c==addRound)
            if(rundy.size()==0)//Sprawdzenie ilo&#347;ci elementów w celu poprawnego wy&#347;wietlania liczby rund w formie
                parz=1;
                else
                parz=rundy.size();
            switch(parz)
                case 1:
                    round0=dodaj(round0);break;
                case 2:
                    round1=dodaj(round1);break;
                case 3:
                   round2= dodaj(round2);break;
                case 4:
                    round3=dodaj(round3);break;
                case 5:
                    round4=dodaj(round4);break;
                default:
                    ostrz=new Alert("Uwaga","Maksymalna liczba rund wynosi 9", null, AlertType.INFO);
                    ostrz.setTimeout(3000);
                    ekran.setCurrent(ostrz);
            if(rundy.size()==1)
                rundy.append(repeat);
                rundy.addCommand(start);
            rundy.addCommand(delRound);
        else if(c==delRound)
            if(rundy.size()!=0)
                rundy.delete(rundy.size()-2);
                if (rundy.size()==1)
                    rundy.deleteAll();
                if(rundy.size()==0)
                    rundy.removeCommand(delRound);
                    rundy.removeCommand(start);
        else if(c==start)
            ilrund=rundy.size()-1;
            if(this.repeat.size()>0)
                ilpowt=Integer.parseInt(this.repeat.getString());
            ekran = Display.getDisplay(this);
            for (i=1; i<=ilpowt;i++)
                odliczanie= new Form("Odliczanie");
                 for (j=0;j<ilrund;j++)
                    switch(j)
                         case 0:
                             odliczanie(round0);
                             break;
                         case 1:
                             odliczanie(round1);
                             break;
                         case 2:
                             odliczanie(round2);
                             break;
                         case 3:
                             odliczanie(round3);
                             break;
                         case 4:
                             odliczanie(round4);
                             break;
                         case 5:
                             odliczanie(round5);
                             break;
                         case 6:
                             odliczanie(round6);
                             break;
                         case 7:
                             odliczanie(round7);
                             break;
                         case 8:
                             odliczanie(round8);
                             break;
    class Licznik extends Thread
        int czas1,k;
        Form forma;
        monitor m;
        public Licznik(int k,Form formap)
            czas1=k;
            forma=formap;
        public synchronized void run()
            while(czas1>0)
                forma.deleteAll();
                forma.append("Czas pozosta&#322;y (s): "+czas1);
                try{Thread.sleep(1000);} catch(InterruptedException e){e.printStackTrace();}
                czas1--;
            if(czas1<=0)
                m.put();
        }and monitor class
    public class monitor
    boolean busy=false;
    synchronized void get()
        if(!busy)
            try
                wait();
            }catch(InterruptedException e){e.printStackTrace();}
        notify();
    synchronized void put()
        if(busy)
            try
            wait();
            }catch(InterruptedException e){e.printStackTrace();}
        busy=true;
        notify();
    }Can anybody help me with this?

    Groovemaker,
    Your Licznik class has a member m of type monitor, which has not been instantiated (in other words is null) hence, when calling m.put() you get NullPointerException. Please also mind, that using Thread.sleep(1000) is not an accurate way of measuring time.
    If I may, please use recommended for Java class naming conventions - some of your names use lower case, while other don't which is confusing to the reader.
    Daniel

  • Problem with threads within applet

    Hello,
    I got an applet, inside this applet I have a singleton, inside this singleton I have a thread.
    this thread is running in endless loop.
    he is doing something and go to sleep on and on.
    the problem is,
    when I refresh my IE6 browser I see more than 1 thread.
    for debug matter, I did the following things:
    inside the thread, sysout every time he goes to sleep.
    sysout in the singleton constructor.
    sysout in the singleton destructor.
    the output goes like this:
    when refresh the page, the singleton constructor loading but not every refresh, sometimes I see the constructor output and sometimes I dont.
    The thread inside the singleton is giving me the same output, sometime I see more than one thread at a time and sometimes I dont.
    The destructor never works (no output there).
    I don't understand what is going on.
    someone can please shed some light?
    thanks.
    btw. I am working with JRE 1.1
    this is very old and big applet and I can't convert it to something new.

    Ooops. sorry!
    I did.
         public void start() {
         public void stop() {
         public void destroy() {
              try {
                   resetAll();
                   Configuration.closeConnection();
                   QuoteItem.closeConnection();
              } finally {
                   try {
                        super.finalize();
                   } catch (Throwable e) {
                        e.printStackTrace();
         }

  • 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 "plase wait..."-Window

    Hi everyone,
    I have a problem that I'm not able to solve in any way... I have a time-consuming task (a file decryption) which I execute in a separate thread; I've used the SwingWorker class, like suggested by sun-tutorial, and it works right. The problem is that I have to wait that the decryption have finished before continuing with program-execution. Therefore I would like to display a "please wait"-window while the task runs. I've tryed all the possible ways I know but the problem is always the same: the waitWindow is displayed empty, the bounds are painted but the contents no; it's only painted when the decrypt-task has finished. Please help me, I have no more resources....
    decrypt-file code:
    public class DecryptFile {
      private String cryptedFileNameAndPath;
      private ByteArrayInputStream resultStream = null;
      // need for progress
      private int lengthOfTask;
      private int current = -1;
      private String statMessage;
      public DecryptFile(String encZipFileNameAndPath) {
        cryptedFileNameAndPath = encZipFileNameAndPath;
        //Compute length of task...
        // 0 for indeterminate
        lengthOfTask = 0;
      public ByteArrayInputStream getDecryptedInputStream() {
        return this.resultStream;
       * Called from ProgressBarDemo to start the task.
      public void go() {
        current = -1;
        final SwingWorker worker = new SwingWorker() {
          public Object construct() {
            return new ActualTask();
        worker.start();
       * Called from ProgressBarDemo to find out how much work needs
       * to be done.
      public int getLengthOfTask() {
        return lengthOfTask;
       * Called from ProgressBarDemo to find out how much has been done.
      public int getCurrent() {
        return current;
      public void stop() {
        current = lengthOfTask;
       * Called from ProgressBarDemo to find out if the task has completed.
      public boolean done() {
        if (current >= lengthOfTask)
          return true;
        else
          return false;
      public String getMessage() {
        return statMessage;
       * The actual long running task.  This runs in a SwingWorker thread.
      class ActualTask {
        ActualTask () {
          current = -1;
          statMessage = "";
          resultStream = AIUtil.getInputStreamFromEncZip(cryptedFileNameAndPath); //here the decryption happens
          current = 0;
          statMessage = "";
      }The code that calls decryption and displays waitWindow
          final WaitSplash wS = new WaitSplash("Please wait...");
          final DecryptFile cryptedTemplate = new DecryptFile (this.templateFile);
          cryptedTemplate.go();
          while (! cryptedTemplate.done()) {
            try {
              wait();
            } catch (Exception e) { }
          this.templateInputStream = cryptedTemplate.getDecryptedInputStream();
          wS.close();Thanks, thanks, thanks in advance!
    Edoardo

    Maybe you can try setting the priority of the long-running thread to be lower? so that the UI will be more responsive...

  • Problem with threads in j2me

    im using jdk 1.6 with java wtk 2.1
    ya i know..
    2.1 is a jdk1.4 source
    but im using souce as 1.4 during compiliation so thats not the prob
    this is my code
    package org.learn;
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.lcdui.Alert;
    import javax.microedition.lcdui.Display;
    public class thtest extends MIDlet
    Thread t;
    public void startApp()
    Alert a=new Alert("hello");
    a.setString("hello");
    Alert b=new Alert("world");
    b.setString("world");
    Display d = Display.getDisplay(this );
    d.setCurrent(a);
    t=Thread.currentThread();
    try{
    t.sleep(10000);
    catch (Exception e){}
    d.setCurrent(b);
    public void pauseApp()
    public void destroyApp(boolean unconditional)
    its just supposed to pause between the alerts using threads
    however when i run it using the wtk, the emulator run properly but when i launch the app, it stops executing giving me this:
    "Error verifying method org/learn/thtest startApp()V
    Approximate bytecode offset 49: Inconsistent or missing stackmap at target
    %the stack info%
    Execution completed.
    437782 bytecodes executed
    9 thread switches
    486 classes in the system (including system classes)
    2506 dynamic objects allocated (73832 bytes)
    2 garbage collections (60652 bytes collected)
    Execution completed.
    437782 bytecodes executed
    9 thread switches
    486 classes in the system (including system classes)
    ALERT: java/lang/VerifyError: org/learn/thtest.
    2506 dynamic objects allocated (73832 bytes)
    2 garbage collections (60652 bytes collected)
    please can someone help me out with this, is it an error on my part or do i have to set some option.

    Hi gandalf123,
    First, Thread.sleep is a static method, so you don't need to create a Thread object to use it.
    I think the problem is due to the fact you don't preverify your midlet.
    More over, you don't need to double post your question.

  • 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 and graphics

    I have a thread that chooses paths for a Travelling salesman problem, it then calls a TSPdraw class and passes it the path, which the class then draws. the problem is when i have two threads it creates two windows but only draws a path in one of them. any ideas where i`m going wrong

    Are you using swing components? Swing isn't threadsafe. If you have multiple threads that want to update your UI you need to use the SwingUtilities.invokeLater(...)or invokeAndWait(...). There is a page in the swing tutorial about this at: http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html

  • 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

Maybe you are looking for