Latest 5 pastes
‣ Paste #498
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c) 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) 00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) 00:03.0 Communication controller: Intel Corporation Mobile PM965/GM965 MEI Controller (rev 0c) 00:03.2 IDE interface: Intel Corporation Mobile PM965/GM965 PT IDER Controller (rev 0c) 00:03.3 Serial controller: Intel Corporation Mobile PM965/GM965 KT Controller (rev 0c) 00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03) 00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3) 00:1f.0 ISA bridge: Intel Corporation 82801HBM (ICH8M-E) LPC Interface Controller (rev 03) 00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03) 02:06.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b9) 02:06.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b9) 02:06.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 03) 02:06.3 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 20) 02:06.4 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev ff) 10:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
‣ Paste #497
[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.27-9-generic (buildd@rothera) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Thu Nov 20 21:57:00 UTC 2008 (Ubuntu 2.6.27-9.19-generic) [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 000000007d7b0000 (usable) [ 0.000000] BIOS-e820: 000000007d7b0000 - 000000007d7c5400 (reserved) [ 0.000000] BIOS-e820: 000000007d7c5400 - 000000007d7e7fb8 (ACPI NVS) [ 0.000000] BIOS-e820: 000000007d7e7fb8 - 000000007e000000 (reserved) [ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) [ 0.000000] BIOS-e820: 00000000fed20000 - 00000000fed9a000 (reserved) [ 0.000000] BIOS-e820: 00000000feda0000 - 00000000fedc0000 (reserved) [ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) [ 0.000000] BIOS-e820: 00000000ffb00000 - 00000000ffc00000 (reserved) [ 0.000000] BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved) [ 0.000000] last_pfn = 0x7d7b0 max_arch_pfn = 0x100000 [ 0.000000] kernel direct mapping tables up to 38000000 @ 7000-c000 [ 0.000000] RAMDISK: 3782d000 - 37fefc27 [ 0.000000] DMI 2.4 present. [ 0.000000] ACPI: RSDP 000F7910, 0024 (r2 HP ) [ 0.000000] ACPI: XSDT 7D7C81CC, 0084 (r1 HPQOEM SLIC-MPC 1 HP 1) [ 0.000000] ACPI: FACP 7D7C8084, 00F4 (r4 HP 30BE 3 HP 1) [ 0.000000] ACPI: DSDT 7D7C8544, 1334B (r1 HP nc65xx 10000 MSFT 3000001) [ 0.000000] ACPI: FACS 7D7E7D80, 0040 [ 0.000000] ACPI: SLIC 7D7C8250, 0176 (r1 HPQOEM SLIC-MPC 1 HP 1) [ 0.000000] ACPI: HPET 7D7C83C8, 0038 (r1 HP 30BE 1 HP 1) [ 0.000000] ACPI: APIC 7D7C8400, 0068 (r1 HP 30BE 1 HP 1) [ 0.000000] ACPI: MCFG 7D7C8468, 003C (r1 HP 30BE 1 HP 1) [ 0.000000] ACPI: TCPA 7D7C84A4, 0032 (r2 HP 30BE 1 HP 1) [ 0.000000] ACPI: ASF! 7D7C84D8, 0069 (r16 HP CHIMAYU 1 HP 0) [ 0.000000] ACPI: SSDT 7D7DB88F, 032F (r1 HP HPQSAT 1 MSFT 3000001) [ 0.000000] ACPI: SSDT 7D7DBBBE, 014E (r1 HP HPQPRN 1 MSFT 3000001) [ 0.000000] ACPI: SSDT 7D7DC714, 025F (r1 HP Cpu0Tst 3000 INTL 20060317) [ 0.000000] ACPI: SSDT 7D7DC973, 00A6 (r1 HP Cpu1Tst 3000 INTL 20060317) [ 0.000000] ACPI: SSDT 7D7DCA19, 04D7 (r1 HP CpuPm 3000 INTL 20060317) [ 0.000000] ACPI: DMI detected: Hewlett-Packard [ 0.000000] 1111MB HIGHMEM available. [ 0.000000] 896MB LOWMEM available. [ 0.000000] mapped low ram: 0 - 38000000 [ 0.000000] low ram: 00000000 - 38000000 [ 0.000000] bootmap 00008000 - 0000f000 [ 0.000000] (9 early reservations) ==> bootmem [0000000000 - 0038000000] [ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] [ 0.000000] #1 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000] [ 0.000000] #2 [0000006000 - 0000007000] TRAMPOLINE ==> [0000006000 - 0000007000] [ 0.000000] #3 [0000100000 - 00005c0a20] TEXT DATA BSS ==> [0000100000 - 00005c0a20] [ 0.000000] #4 [003782d000 - 0037fefc27] RAMDISK ==> [003782d000 - 0037fefc27] [ 0.000000] #5 [00005c1000 - 00005c4000] INIT_PG_TABLE ==> [00005c1000 - 00005c4000] [ 0.000000] #6 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000] [ 0.000000] #7 [0000007000 - 0000008000] PGTABLE ==> [0000007000 - 0000008000] [ 0.000000] #8 [0000008000 - 000000f000] BOOTMAP ==> [0000008000 - 000000f000] [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000000 -> 0x00001000 [ 0.000000] Normal 0x00001000 -> 0x00038000 [ 0.000000] HighMem 0x00038000 -> 0x0007d7b0 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[2] active PFN ranges [ 0.000000] 0: 0x00000000 -> 0x0000009f [ 0.000000] 0: 0x00000100 -> 0x0007d7b0 [ 0.000000] On node 0 totalpages: 513871 [ 0.000000] free_area_init_node: node 0, pgdat c048a580, node_mem_map c1000000 [ 0.000000] DMA zone: 3963 pages, LIFO batch:0 [ 0.000000] Normal zone: 223300 pages, LIFO batch:31 [ 0.000000] HighMem zone: 282090 pages, LIFO batch:31 [ 0.000000] ACPI: PM-Timer IO Port: 0x1008 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1]) [ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] ACPI: IRQ2 used by override. [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] Enabling APIC mode: Flat. Using 1 I/O APICs [ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000 [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs [ 0.000000] mapped APIC to ffffb000 (fee00000) [ 0.000000] mapped IOAPIC to ffffa000 (fec00000) [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000 [ 0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 80000000 (gap: 7e000000:80c00000) [ 0.000000] PERCPU: Allocating 41628 bytes of per cpu data [ 0.000000] NR_CPUS: 64, nr_cpu_ids: 2, nr_node_ids 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 509353 [ 0.000000] Kernel command line: root=UUID=d0686a45-9d6c-4898-9cbc-2a29d648a70e ro quiet splash [ 0.000000] Enabling fast FPU save and restore... done. [ 0.000000] Enabling unmasked SIMD FPU exception support... done. [ 0.000000] Initializing CPU#0 [ 0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes) [ 0.000000] Extended CMOS year: 2000 [ 0.000000] TSC: PIT calibration confirmed by PMTIMER. [ 0.000000] TSC: using PIT calibration value [ 0.000000] Detected 2393.956 MHz processor. [ 0.004000] Console: colour VGA+ 80x25 [ 0.004000] console [tty0] enabled [ 0.004000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.004000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.004000] Memory: 2022764k/2055872k available (2572k kernel code, 31848k reserved, 1160k data, 424k init, 1138368k highmem) [ 0.004000] virtual kernel memory layout: [ 0.004000] fixmap : 0xffc77000 - 0xfffff000 (3616 kB) [ 0.004000] pkmap : 0xff400000 - 0xff800000 (4096 kB) [ 0.004000] vmalloc : 0xf8800000 - 0xff3fe000 ( 107 MB) [ 0.004000] lowmem : 0xc0000000 - 0xf8000000 ( 896 MB) [ 0.004000] .init : 0xc04ab000 - 0xc0515000 ( 424 kB) [ 0.004000] .data : 0xc038335a - 0xc04a5680 (1160 kB) [ 0.004000] .text : 0xc0100000 - 0xc038335a (2572 kB) [ 0.004000] Checking if this processor honours the WP bit even in supervisor mode...Ok. [ 0.004000] CPA: page pool initialized 1 of 1 pages preallocated [ 0.004000] SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.004000] hpet clockevent registered [ 0.004000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4787.91 BogoMIPS (lpj=9575824) [ 0.004000] Security Framework initialized [ 0.004000] SELinux: Disabled at boot. [ 0.004000] AppArmor: AppArmor initialized [ 0.004000] Mount-cache hash table entries: 512 [ 0.004000] Initializing cgroup subsys ns [ 0.004000] Initializing cgroup subsys cpuacct [ 0.004000] Initializing cgroup subsys memory [ 0.004000] CPU: L1 I cache: 32K, L1 D cache: 32K [ 0.004000] CPU: L2 cache: 3072K [ 0.004000] CPU: Physical Processor ID: 0 [ 0.004000] CPU: Processor Core ID: 0 [ 0.004000] using mwait in idle threads. [ 0.004000] Checking 'hlt' instruction... OK. [ 0.017557] ACPI: Core revision 20080609 [ 0.023886] ACPI: Checking initramfs for custom DSDT [ 0.292235] ENABLING IO-APIC IRQs [ 0.292418] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.333573] CPU0: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz stepping 06 [ 0.336021] Booting processor 1/1 ip 6000 [ 0.004000] Initializing CPU#1 [ 0.004000] Calibrating delay using timer specific routine.. 4787.94 BogoMIPS (lpj=9575895) [ 0.004000] CPU: L1 I cache: 32K, L1 D cache: 32K [ 0.004000] CPU: L2 cache: 3072K [ 0.004000] CPU: Physical Processor ID: 0 [ 0.004000] CPU: Processor Core ID: 1 [ 0.420645] CPU1: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz stepping 06 [ 0.420660] checking TSC synchronization [CPU#0 -> CPU#1]: passed. [ 0.424044] Brought up 2 CPUs [ 0.424047] Total of 2 processors activated (9575.85 BogoMIPS). [ 0.424067] CPU0 attaching sched-domain: [ 0.424069] domain 0: span 0-1 level MC [ 0.424071] groups: 0 1 [ 0.424076] CPU1 attaching sched-domain: [ 0.424078] domain 0: span 0-1 level MC [ 0.424080] groups: 1 0 [ 0.424147] net_namespace: 840 bytes [ 0.424147] HP Compaq Laptop series board detected. Selecting BIOS-method for reboots. [ 0.424147] Booting paravirtualized kernel on bare hardware [ 0.424247] Time: 21:28:05 Date: 12/04/08 [ 0.424269] NET: Registered protocol family 16 [ 0.424285] EISA bus registered [ 0.424285] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it [ 0.424285] ACPI: bus type pci registered [ 0.424285] PCI: MCFG configuration 0: base f8000000 segment 0 buses 0 - 63 [ 0.424285] PCI: Not using MMCONFIG. [ 0.425006] PCI: PCI BIOS revision 2.10 entry at 0xf0322, last bus=40 [ 0.425008] PCI: Using configuration type 1 for base access [ 0.428412] ACPI: EC: Look up EC in DSDT [ 0.428047] ACPI: EC: non-query interrupt received, switching to interrupt mode [ 0.503287] ACPI: Interpreter enabled [ 0.503290] ACPI: (supports S0 S3 S4 S5) [ 0.503300] ACPI: Using IOAPIC for interrupt routing [ 0.503363] PCI: MCFG configuration 0: base f8000000 segment 0 buses 0 - 63 [ 0.511953] PCI: MCFG area at f8000000 reserved in ACPI motherboard resources [ 0.511955] PCI: Using MMCONFIG for extended config space [ 0.524354] ACPI: EC: GPE = 0x16, I/O: command/status = 0x66, data = 0x62 [ 0.524354] ACPI: EC: driver started in interrupt mode [ 0.524354] ACPI: PCI Root Bridge [C003] (0000:00) [ 0.524354] PCI: 0000:00:02.0 reg 10 64bit mmio: [e4400000, e44fffff] [ 0.524354] PCI: 0000:00:02.0 reg 18 32bit mmio: [d0000000, dfffffff] [ 0.524354] PCI: 0000:00:02.0 reg 20 io port: [4000, 4007] [ 0.524354] PCI: 0000:00:02.1 reg 10 64bit mmio: [e4500000, e45fffff] [ 0.524354] PCI: 0000:00:03.0 reg 10 64bit mmio: [e4600000, e460000f] [ 0.524354] pci 0000:00:03.0: PME# supported from D0 D3hot D3cold [ 0.524354] pci 0000:00:03.0: PME# disabled [ 0.524354] PCI: 0000:00:03.2 reg 10 io port: [4008, 400f] [ 0.524354] PCI: 0000:00:03.2 reg 14 io port: [4010, 4013] [ 0.524354] PCI: 0000:00:03.2 reg 18 io port: [4018, 401f] [ 0.524354] PCI: 0000:00:03.2 reg 1c io port: [4020, 4023] [ 0.524354] PCI: 0000:00:03.2 reg 20 io port: [4030, 403f] [ 0.524399] PCI: 0000:00:03.3 reg 10 io port: [4040, 4047] [ 0.524405] PCI: 0000:00:03.3 reg 14 32bit mmio: [e4601000, e4601fff] [ 0.524515] PCI: 0000:00:19.0 reg 10 32bit mmio: [e4620000, e463ffff] [ 0.524523] PCI: 0000:00:19.0 reg 14 32bit mmio: [e4640000, e4640fff] [ 0.524531] PCI: 0000:00:19.0 reg 18 io port: [4060, 407f] [ 0.524574] pci 0000:00:19.0: PME# supported from D0 D3hot D3cold [ 0.524579] pci 0000:00:19.0: PME# disabled [ 0.524622] PCI: 0000:00:1a.0 reg 20 io port: [4080, 409f] [ 0.524683] PCI: 0000:00:1a.1 reg 20 io port: [40a0, 40bf] [ 0.524752] PCI: 0000:00:1a.7 reg 10 32bit mmio: [e4641000, e46413ff] [ 0.524807] pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold [ 0.524812] pci 0000:00:1a.7: PME# disabled [ 0.524857] PCI: 0000:00:1b.0 reg 10 64bit mmio: [e4644000, e4647fff] [ 0.524910] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold [ 0.524914] pci 0000:00:1b.0: PME# disabled [ 0.524983] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold [ 0.524988] pci 0000:00:1c.0: PME# disabled [ 0.525056] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold [ 0.525060] pci 0000:00:1c.1: PME# disabled [ 0.525132] pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold [ 0.525136] pci 0000:00:1c.4: PME# disabled [ 0.525184] PCI: 0000:00:1d.0 reg 20 io port: [40c0, 40df] [ 0.525246] PCI: 0000:00:1d.1 reg 20 io port: [40e0, 40ff] [ 0.525307] PCI: 0000:00:1d.2 reg 20 io port: [4100, 411f] [ 0.525375] PCI: 0000:00:1d.7 reg 10 32bit mmio: [e4648000, e46483ff] [ 0.525430] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold [ 0.525435] pci 0000:00:1d.7: PME# disabled [ 0.525590] pci 0000:00:1f.0: quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO [ 0.525595] pci 0000:00:1f.0: quirk: region 1100-113f claimed by ICH6 GPIO [ 0.525623] PCI: 0000:00:1f.1 reg 10 io port: [0, 7] [ 0.525630] PCI: 0000:00:1f.1 reg 14 io port: [0, 3] [ 0.525638] PCI: 0000:00:1f.1 reg 18 io port: [0, 7] [ 0.525645] PCI: 0000:00:1f.1 reg 1c io port: [0, 3] [ 0.525652] PCI: 0000:00:1f.1 reg 20 io port: [4120, 412f] [ 0.525723] PCI: 0000:00:1f.2 reg 10 io port: [13f0, 13f7] [ 0.525730] PCI: 0000:00:1f.2 reg 14 io port: [15f4, 15f7] [ 0.525738] PCI: 0000:00:1f.2 reg 18 io port: [1370, 1377] [ 0.525745] PCI: 0000:00:1f.2 reg 1c io port: [1574, 1577] [ 0.525753] PCI: 0000:00:1f.2 reg 20 io port: [4160, 417f] [ 0.525760] PCI: 0000:00:1f.2 reg 24 32bit mmio: [e4649000, e46497ff] [ 0.525792] pci 0000:00:1f.2: PME# supported from D3hot [ 0.525797] pci 0000:00:1f.2: PME# disabled [ 0.525988] PCI: 0000:10:00.0 reg 10 64bit mmio: [e4000000, e4001fff] [ 0.526093] pci 0000:10:00.0: PME# supported from D0 D3hot D3cold [ 0.526103] pci 0000:10:00.0: PME# disabled [ 0.526157] PCI: bridge 0000:00:1c.1 32bit mmio: [e4000000, e40fffff] [ 0.526223] PCI: bridge 0000:00:1c.4 io port: [2000, 3fff] [ 0.526227] PCI: bridge 0000:00:1c.4 32bit mmio: [e0000000, e3ffffff] [ 0.526295] PCI: 0000:02:06.0 reg 10 32bit mmio: [e4100000, e4100fff] [ 0.526316] pci 0000:02:06.0: supports D1 [ 0.526317] pci 0000:02:06.0: supports D2 [ 0.526319] pci 0000:02:06.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.526324] pci 0000:02:06.0: PME# disabled [ 0.526367] PCI: 0000:02:06.1 reg 10 32bit mmio: [e4101000, e4101fff] [ 0.526388] pci 0000:02:06.1: supports D1 [ 0.526389] pci 0000:02:06.1: supports D2 [ 0.526391] pci 0000:02:06.1: PME# supported from D0 D1 D2 D3hot D3cold [ 0.526396] pci 0000:02:06.1: PME# disabled [ 0.526439] PCI: 0000:02:06.2 reg 10 32bit mmio: [e4102000, e41027ff] [ 0.526505] pci 0000:02:06.2: supports D1 [ 0.526507] pci 0000:02:06.2: supports D2 [ 0.526508] pci 0000:02:06.2: PME# supported from D0 D1 D2 D3hot D3cold [ 0.526514] pci 0000:02:06.2: PME# disabled [ 0.526556] PCI: 0000:02:06.3 reg 10 32bit mmio: [e4103000, e41030ff] [ 0.526623] pci 0000:02:06.3: supports D1 [ 0.526624] pci 0000:02:06.3: supports D2 [ 0.526626] pci 0000:02:06.3: PME# supported from D0 D1 D2 D3hot D3cold [ 0.526631] pci 0000:02:06.3: PME# disabled [ 0.526674] PCI: 0000:02:06.4 reg 10 32bit mmio: [e4104000, e41040ff] [ 0.526740] pci 0000:02:06.4: supports D1 [ 0.526741] pci 0000:02:06.4: supports D2 [ 0.526743] pci 0000:02:06.4: PME# supported from D0 D1 D2 D3hot D3cold [ 0.526748] pci 0000:02:06.4: PME# disabled [ 0.526806] pci 0000:00:1e.0: transparent bridge [ 0.526813] PCI: bridge 0000:00:1e.0 32bit mmio: [e4100000, e43fffff] [ 0.528108] bus 00 -> node 0 [ 0.528113] ACPI: PCI Interrupt Routing Table [\_SB_.C003._PRT] [ 0.528550] ACPI: PCI Interrupt Routing Table [\_SB_.C003.C0B0._PRT] [ 0.528739] ACPI: PCI Interrupt Routing Table [\_SB_.C003.C11D._PRT] [ 0.528886] ACPI: PCI Interrupt Routing Table [\_SB_.C003.C131._PRT] [ 0.529033] ACPI: PCI Interrupt Routing Table [\_SB_.C003.C134._PRT] [ 0.584428] ACPI: PCI Interrupt Link [C12D] (IRQs *10 11) [ 0.584448] ACPI: PCI Interrupt Link [C12E] (IRQs *10 11) [ 0.584687] ACPI: PCI Interrupt Link [C12F] (IRQs 10 *11) [ 0.584925] ACPI: PCI Interrupt Link [C130] (IRQs 10 11) *5 [ 0.585163] ACPI: PCI Interrupt Link [C140] (IRQs *10 11) [ 0.585401] ACPI: PCI Interrupt Link [C141] (IRQs 10 11) *5 [ 0.585639] ACPI: PCI Interrupt Link [C142] (IRQs 10 *11) [ 0.585751] ACPI Exception (pci_link-0189): AE_NOT_FOUND, Evaluating _PRS [20080609] [ 0.585890] ACPI: Power Resource [C27A] (on) [ 0.585890] ACPI: Power Resource [C281] (on) [ 0.585890] ACPI: Power Resource [C29D] (on) [ 0.585890] ACPI: Power Resource [C1C5] (off) [ 0.585890] ACPI: Power Resource [C3B9] (off) [ 0.585890] ACPI: Power Resource [C3BA] (off) [ 0.585890] ACPI: Power Resource [C3BB] (off) [ 0.585890] ACPI: Power Resource [C3BC] (off) [ 0.585890] ACPI: Power Resource [C3BD] (off) [ 0.588120] Linux Plug and Play Support v0.97 (c) Adam Belay [ 0.588120] pnp: PnP ACPI init [ 0.588120] ACPI: bus type pnp registered [ 0.600050] pnp: PnP ACPI: found 16 devices [ 0.600052] ACPI: ACPI bus type pnp unregistered [ 0.600055] PnPBIOS: Disabled by ACPI PNP [ 0.600073] PCI: Using ACPI for IRQ routing [ 0.604040] NET: Registered protocol family 8 [ 0.604042] NET: Registered protocol family 20 [ 0.604061] NetLabel: Initializing [ 0.604061] NetLabel: domain hash size = 128 [ 0.604061] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.604061] NetLabel: unlabeled traffic allowed by default [ 0.604061] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 [ 0.604061] hpet0: 3 64-bit timers, 14318180 Hz [ 0.605431] tracer: 772 pages allocated for 65536 entries of 48 bytes [ 0.605434] actual entries 65620 [ 0.605506] AppArmor: AppArmor Filesystem Enabled [ 0.605532] ACPI: RTC can wake from S4 [ 0.608039] Switched to high resolution mode on CPU 0 [ 0.608681] Switched to high resolution mode on CPU 1 [ 0.608693] system 00:00: iomem range 0x0-0x9ffff could not be reserved [ 0.608696] system 00:00: iomem range 0xe0000-0xfffff could not be reserved [ 0.608699] system 00:00: iomem range 0x100000-0x7d7fffff could not be reserved [ 0.608710] system 00:0c: ioport range 0x500-0x55f has been reserved [ 0.608713] system 00:0c: ioport range 0x800-0x80f has been reserved [ 0.608715] system 00:0c: iomem range 0xffb00000-0xffbfffff could not be reserved [ 0.608718] system 00:0c: iomem range 0xfff00000-0xffffffff could not be reserved [ 0.608723] system 00:0e: ioport range 0x4d0-0x4d1 has been reserved [ 0.608725] system 00:0e: ioport range 0x1000-0x107f has been reserved [ 0.608728] system 00:0e: ioport range 0x1100-0x113f has been reserved [ 0.608730] system 00:0e: ioport range 0x1200-0x121f has been reserved [ 0.608732] system 00:0e: iomem range 0xf8000000-0xfbffffff has been reserved [ 0.608735] system 00:0e: iomem range 0xfec00000-0xfec000ff could not be reserved [ 0.608737] system 00:0e: iomem range 0xfed20000-0xfed3ffff could not be reserved [ 0.608740] system 00:0e: iomem range 0xfed45000-0xfed8ffff could not be reserved [ 0.608742] system 00:0e: iomem range 0xfed90000-0xfed99fff could not be reserved [ 0.608747] system 00:0f: iomem range 0xcee00-0xcffff has been reserved [ 0.608749] system 00:0f: iomem range 0xd2000-0xd3fff has been reserved [ 0.608752] system 00:0f: iomem range 0xfeda0000-0xfedbffff could not be reserved [ 0.608754] system 00:0f: iomem range 0xfee00000-0xfee00fff could not be reserved [ 0.643738] pci 0000:00:1c.0: PCI bridge, secondary bus 0000:08 [ 0.643740] pci 0000:00:1c.0: IO window: disabled [ 0.643746] pci 0000:00:1c.0: MEM window: disabled [ 0.643751] pci 0000:00:1c.0: PREFETCH window: disabled [ 0.643758] pci 0000:00:1c.1: PCI bridge, secondary bus 0000:10 [ 0.643760] pci 0000:00:1c.1: IO window: disabled [ 0.643765] pci 0000:00:1c.1: MEM window: 0xe4000000-0xe40fffff [ 0.643770] pci 0000:00:1c.1: PREFETCH window: disabled [ 0.643777] pci 0000:00:1c.4: PCI bridge, secondary bus 0000:28 [ 0.643781] pci 0000:00:1c.4: IO window: 0x2000-0x3fff [ 0.643787] pci 0000:00:1c.4: MEM window: 0xe0000000-0xe3ffffff [ 0.643791] pci 0000:00:1c.4: PREFETCH window: disabled [ 0.643802] pci 0000:02:06.0: CardBus bridge, secondary bus 0000:03 [ 0.643804] pci 0000:02:06.0: IO window: 0x005000-0x0050ff [ 0.643809] pci 0000:02:06.0: IO window: 0x005400-0x0054ff [ 0.643815] pci 0000:02:06.0: PREFETCH window: 0x80000000-0x83ffffff [ 0.643820] pci 0000:02:06.0: MEM window: 0x88000000-0x8bffffff [ 0.643826] pci 0000:02:06.1: CardBus bridge, secondary bus 0000:04 [ 0.643828] pci 0000:02:06.1: IO window: 0x005800-0x0058ff [ 0.643833] pci 0000:02:06.1: IO window: 0x005c00-0x005cff [ 0.643838] pci 0000:02:06.1: PREFETCH window: 0x84000000-0x87ffffff [ 0.643844] pci 0000:02:06.1: MEM window: 0x8c000000-0x8fffffff [ 0.643849] pci 0000:00:1e.0: PCI bridge, secondary bus 0000:02 [ 0.643853] pci 0000:00:1e.0: IO window: 0x5000-0x5fff [ 0.643858] pci 0000:00:1e.0: MEM window: 0xe4100000-0xe43fffff [ 0.643863] pci 0000:00:1e.0: PREFETCH window: 0x00000080000000-0x00000087ffffff [ 0.643879] pci 0000:00:1c.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 0.643884] pci 0000:00:1c.0: setting latency timer to 64 [ 0.643893] pci 0000:00:1c.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17 [ 0.643898] pci 0000:00:1c.1: setting latency timer to 64 [ 0.643906] pci 0000:00:1c.4: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 0.643911] pci 0000:00:1c.4: setting latency timer to 64 [ 0.643919] pci 0000:00:1e.0: setting latency timer to 64 [ 0.643930] pci 0000:02:06.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 0.643943] pci 0000:02:06.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19 [ 0.643949] bus: 00 index 0 io port: [0, ffff] [ 0.643950] bus: 00 index 1 mmio: [0, ffffffff] [ 0.643952] bus: 08 index 0 mmio: [0, 0] [ 0.643954] bus: 08 index 1 mmio: [0, 0] [ 0.643955] bus: 08 index 2 mmio: [0, 0] [ 0.643957] bus: 08 index 3 mmio: [0, 0] [ 0.643958] bus: 10 index 0 mmio: [0, 0] [ 0.643960] bus: 10 index 1 mmio: [e4000000, e40fffff] [ 0.643961] bus: 10 index 2 mmio: [0, 0] [ 0.643963] bus: 10 index 3 mmio: [0, 0] [ 0.643964] bus: 28 index 0 io port: [2000, 3fff] [ 0.643966] bus: 28 index 1 mmio: [e0000000, e3ffffff] [ 0.643968] bus: 28 index 2 mmio: [0, 0] [ 0.643969] bus: 28 index 3 mmio: [0, 0] [ 0.643971] bus: 02 index 0 io port: [5000, 5fff] [ 0.643973] bus: 02 index 1 mmio: [e4100000, e43fffff] [ 0.643975] bus: 02 index 2 mmio: [80000000, 87ffffff] [ 0.643976] bus: 02 index 3 io port: [0, ffff] [ 0.643978] bus: 02 index 4 mmio: [0, ffffffff] [ 0.643979] bus: 03 index 0 io port: [5000, 50ff] [ 0.643981] bus: 03 index 1 io port: [5400, 54ff] [ 0.643983] bus: 03 index 2 mmio: [80000000, 83ffffff] [ 0.643984] bus: 03 index 3 mmio: [88000000, 8bffffff] [ 0.643986] bus: 04 index 0 io port: [5800, 58ff] [ 0.643987] bus: 04 index 1 io port: [5c00, 5cff] [ 0.643989] bus: 04 index 2 mmio: [84000000, 87ffffff] [ 0.643991] bus: 04 index 3 mmio: [8c000000, 8fffffff] [ 0.643997] NET: Registered protocol family 2 [ 0.657039] IP route cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.657228] TCP established hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.657531] TCP bind hash table entries: 65536 (order: 7, 524288 bytes) [ 0.657691] TCP: Hash tables configured (established 131072 bind 65536) [ 0.657694] TCP reno registered [ 0.661051] NET: Registered protocol family 1 [ 0.661132] checking if image is initramfs... it is [ 1.230313] Freeing initrd memory: 7947k freed [ 1.231273] audit: initializing netlink socket (disabled) [ 1.231288] type=2000 audit(1228426085.228:1): initialized [ 1.236290] highmem bounce pool size: 64 pages [ 1.236295] HugeTLB registered 4 MB page size, pre-allocated 0 pages [ 1.238138] VFS: Disk quotas dquot_6.5.1 [ 1.238209] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.238293] msgmni has been set to 1744 [ 1.238389] io scheduler noop registered [ 1.238392] io scheduler anticipatory registered [ 1.238394] io scheduler deadline registered [ 1.238403] io scheduler cfq registered (default) [ 1.238416] pci 0000:00:02.0: Boot video device [ 1.238653] pcieport-driver 0000:00:1c.0: setting latency timer to 64 [ 1.238700] pcieport-driver 0000:00:1c.0: found MSI capability [ 1.238750] pci_express 0000:00:1c.0:pcie00: allocate port service [ 1.238785] pci_express 0000:00:1c.0:pcie03: allocate port service [ 1.238890] pcieport-driver 0000:00:1c.1: setting latency timer to 64 [ 1.238935] pcieport-driver 0000:00:1c.1: found MSI capability [ 1.238981] pci_express 0000:00:1c.1:pcie00: allocate port service [ 1.239012] pci_express 0000:00:1c.1:pcie03: allocate port service [ 1.239111] pcieport-driver 0000:00:1c.4: setting latency timer to 64 [ 1.239157] pcieport-driver 0000:00:1c.4: found MSI capability [ 1.239203] pci_express 0000:00:1c.4:pcie00: allocate port service [ 1.239236] pci_express 0000:00:1c.4:pcie02: allocate port service [ 1.239266] pci_express 0000:00:1c.4:pcie03: allocate port service [ 1.239548] isapnp: Scanning for PnP cards... [ 1.593725] isapnp: No Plug & Play device found [ 1.620751] hpet_resources: 0xfed00000 is busy [ 1.620849] Serial: 8250/16550 driver4 ports, IRQ sharing enabled [ 1.621141] serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A [ 1.621565] serial 0000:00:03.3: PCI INT B -> GSI 17 (level, low) -> IRQ 17 [ 1.621722] 0000:00:03.3: ttyS0 at I/O 0x4040 (irq = 17) is a 16550A [ 1.623078] brd: module loaded [ 1.623135] input: Macintosh mouse button emulation as /devices/virtual/input/input0 [ 1.623243] PNP: PS/2 Controller [PNP0303:C29A,PNP0f13:C29B] at 0x60,0x64 irq 1,12 [ 1.625061] i8042.c: Detected active multiplexing controller, rev 1.1. [ 1.625810] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.625815] serio: i8042 AUX0 port at 0x60,0x64 irq 12 [ 1.625817] serio: i8042 AUX1 port at 0x60,0x64 irq 12 [ 1.625819] serio: i8042 AUX2 port at 0x60,0x64 irq 12 [ 1.625821] serio: i8042 AUX3 port at 0x60,0x64 irq 12 [ 1.626111] mice: PS/2 mouse device common for all mice [ 1.626218] rtc_cmos 00:08: rtc core: registered rtc_cmos as rtc0 [ 1.626246] rtc0: alarms up to one month, y3k, hpet irqs [ 1.626351] EISA: Probing bus 0 at eisa.0 [ 1.626357] Cannot allocate resource for EISA slot 1 [ 1.626359] Cannot allocate resource for EISA slot 2 [ 1.626361] Cannot allocate resource for EISA slot 3 [ 1.626363] Cannot allocate resource for EISA slot 4 [ 1.626365] Cannot allocate resource for EISA slot 5 [ 1.626378] EISA: Detected 0 cards. [ 1.626381] cpuidle: using governor ladder [ 1.626383] cpuidle: using governor menu [ 1.626787] TCP cubic registered [ 1.626809] Using IPI No-Shortcut mode [ 1.626947] registered taskstats version 1 [ 1.627056] Magic number: 4:491:499 [ 1.627132] rtc_cmos 00:08: setting system clock to 2008-12-04 21:28:07 UTC (1228426087) [ 1.627135] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 1.627137] EDD information not available. [ 1.627349] Freeing unused kernel memory: 424k freed [ 1.627379] Write protecting the kernel text: 2576k [ 1.627401] Write protecting the kernel read-only data: 936k [ 1.648483] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1 [ 1.743267] fuse init (API version 7.9) [ 1.764431] ACPI: Transitioning device [C3BE] to D3 [ 1.764479] fan PNP0C0B:00: registered as cooling_device0 [ 1.764484] ACPI: Fan [C3BE] (off) [ 1.764696] ACPI: Transitioning device [C3BF] to D3 [ 1.764736] fan PNP0C0B:01: registered as cooling_device1 [ 1.764741] ACPI: Fan [C3BF] (off) [ 1.764952] ACPI: Transitioning device [C3C0] to D3 [ 1.764990] fan PNP0C0B:02: registered as cooling_device2 [ 1.764995] ACPI: Fan [C3C0] (off) [ 1.765206] ACPI: Transitioning device [C3C1] to D3 [ 1.765246] fan PNP0C0B:03: registered as cooling_device3 [ 1.765251] ACPI: Fan [C3C1] (off) [ 1.765462] ACPI: Transitioning device [C3C2] to D3 [ 1.765501] fan PNP0C0B:04: registered as cooling_device4 [ 1.765506] ACPI: Fan [C3C2] (off) [ 1.776405] ACPI: SSDT 7D7DBDD4, 02C1 (r1 HP Cpu0Ist 3000 INTL 20060317) [ 1.776823] ACPI: SSDT 7D7DC11A, 05FA (r1 HP Cpu0Cst 3001 INTL 20060317) [ 1.778959] Monitor-Mwait will be used to enter C-1 state [ 1.778961] Monitor-Mwait will be used to enter C-2 state [ 1.778964] Monitor-Mwait will be used to enter C-3 state [ 1.779111] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3]) [ 1.779151] processor ACPI0007:00: registered as cooling_device5 [ 1.779154] ACPI: Processor [CPU0] (supports 8 throttling states) [ 1.779435] ACPI: SSDT 7D7DBD0C, 00C8 (r1 HP Cpu1Ist 3000 INTL 20060317) [ 1.779809] ACPI: SSDT 7D7DC095, 0085 (r1 HP Cpu1Cst 3000 INTL 20060317) [ 1.780844] Marking TSC unstable due to TSC halts in idle [ 1.780963] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3]) [ 1.781011] processor ACPI0007:01: registered as cooling_device6 [ 1.781014] ACPI: Processor [CPU1] (supports 8 throttling states) [ 1.805888] thermal LNXTHERM:01: registered as thermal_zone0 [ 1.807456] ACPI: Thermal Zone [TZ3] (40 C) [ 1.812735] thermal LNXTHERM:02: registered as thermal_zone1 [ 1.825023] ACPI: Thermal Zone [TZ4] (32 C) [ 1.827810] thermal LNXTHERM:03: registered as thermal_zone2 [ 1.833769] ACPI: Thermal Zone [TZ5] (0 C) [ 1.848365] thermal LNXTHERM:04: registered as thermal_zone3 [ 1.850646] ACPI: Thermal Zone [TZ1] (49 C) [ 2.177191] No dock devices found. [ 2.224519] SCSI subsystem initialized [ 2.240551] e1000e: Intel(R) PRO/1000 Network Driver - 0.3.3.3-k6 [ 2.240554] e1000e: Copyright (c) 1999-2008 Intel Corporation. [ 2.250541] e1000e 0000:00:19.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [ 2.250551] e1000e 0000:00:19.0: setting latency timer to 64 [ 2.250923] libata version 3.00 loaded. [ 2.253139] usbcore: registered new interface driver usbfs [ 2.253157] usbcore: registered new interface driver hub [ 2.253210] usbcore: registered new device driver usb [ 2.254967] USB Universal Host Controller Interface driver v3.0 [ 2.459423] 0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) 00:1e:ec:2b:98:38 [ 2.459426] 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection [ 2.459455] 0000:00:19.0: eth0: MAC: 4, PHY: 6, PBA No: ffffff-0ff [ 2.459686] pata_acpi 0000:00:03.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18 [ 2.459721] pata_acpi 0000:00:03.2: setting latency timer to 64 [ 2.459734] pata_acpi 0000:00:03.2: PCI INT C disabled [ 2.459923] uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 2.459929] uhci_hcd 0000:00:1a.0: setting latency timer to 64 [ 2.459933] uhci_hcd 0000:00:1a.0: UHCI Host Controller [ 2.459973] uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1 [ 2.460011] uhci_hcd 0000:00:1a.0: irq 16, io base 0x00004080 [ 2.460140] usb usb1: configuration #1 chosen from 1 choice [ 2.460162] hub 1-0:1.0: USB hub found [ 2.460168] hub 1-0:1.0: 2 ports detected [ 2.565298] uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17 [ 2.565310] uhci_hcd 0000:00:1a.1: setting latency timer to 64 [ 2.565314] uhci_hcd 0000:00:1a.1: UHCI Host Controller [ 2.565336] uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 2 [ 2.565373] uhci_hcd 0000:00:1a.1: irq 17, io base 0x000040a0 [ 2.565449] usb usb2: configuration #1 chosen from 1 choice [ 2.565471] hub 2-0:1.0: USB hub found [ 2.565476] hub 2-0:1.0: 2 ports detected [ 2.668359] ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18 [ 2.668382] ehci_hcd 0000:00:1a.7: setting latency timer to 64 [ 2.668385] ehci_hcd 0000:00:1a.7: EHCI Host Controller [ 2.668407] ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 3 [ 2.672329] ehci_hcd 0000:00:1a.7: debug port 1 [ 2.672335] ehci_hcd 0000:00:1a.7: cache line size of 32 is not supported [ 2.672346] ehci_hcd 0000:00:1a.7: irq 18, io mem 0xe4641000 [ 2.684059] ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 [ 2.684175] usb usb3: configuration #1 chosen from 1 choice [ 2.684210] hub 3-0:1.0: USB hub found [ 2.684216] hub 3-0:1.0: 4 ports detected [ 2.788733] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 [ 2.788741] uhci_hcd 0000:00:1d.0: setting latency timer to 64 [ 2.788744] uhci_hcd 0000:00:1d.0: UHCI Host Controller [ 2.788766] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 4 [ 2.788796] uhci_hcd 0000:00:1d.0: irq 20, io base 0x000040c0 [ 2.788866] usb usb4: configuration #1 chosen from 1 choice [ 2.788892] hub 4-0:1.0: USB hub found [ 2.788897] hub 4-0:1.0: 2 ports detected [ 2.996510] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 22 (level, low) -> IRQ 22 [ 2.996516] uhci_hcd 0000:00:1d.1: setting latency timer to 64 [ 2.996520] uhci_hcd 0000:00:1d.1: UHCI Host Controller [ 2.996544] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 5 [ 2.996572] uhci_hcd 0000:00:1d.1: irq 22, io base 0x000040e0 [ 2.996642] usb usb5: configuration #1 chosen from 1 choice [ 2.996663] hub 5-0:1.0: USB hub found [ 2.996668] hub 5-0:1.0: 2 ports detected [ 3.001056] Clocksource tsc unstable (delta = -364982693 ns) [ 3.100534] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18 [ 3.100540] uhci_hcd 0000:00:1d.2: setting latency timer to 64 [ 3.100544] uhci_hcd 0000:00:1d.2: UHCI Host Controller [ 3.100569] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 6 [ 3.100593] uhci_hcd 0000:00:1d.2: irq 18, io base 0x00004100 [ 3.100661] usb usb6: configuration #1 chosen from 1 choice [ 3.100682] hub 6-0:1.0: USB hub found [ 3.100687] hub 6-0:1.0: 2 ports detected [ 3.109064] usb 4-2: new full speed USB device using uhci_hcd and address 2 [ 3.204582] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 20 (level, low) -> IRQ 20 [ 3.204592] ehci_hcd 0000:00:1d.7: setting latency timer to 64 [ 3.204596] ehci_hcd 0000:00:1d.7: EHCI Host Controller [ 3.204618] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 7 [ 3.208527] ehci_hcd 0000:00:1d.7: debug port 1 [ 3.208533] ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported [ 3.208537] ehci_hcd 0000:00:1d.7: irq 20, io mem 0xe4648000 [ 3.236073] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 [ 3.236184] usb usb7: configuration #1 chosen from 1 choice [ 3.236215] hub 7-0:1.0: USB hub found [ 3.236220] hub 7-0:1.0: 6 ports detected [ 3.444624] pata_acpi 0000:00:1f.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 3.444653] pata_acpi 0000:00:1f.1: setting latency timer to 64 [ 3.444664] pata_acpi 0000:00:1f.1: PCI INT A disabled [ 3.444765] ata_piix 0000:00:1f.1: version 2.12 [ 3.444772] ata_piix 0000:00:1f.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 3.444800] ata_piix 0000:00:1f.1: setting latency timer to 64 [ 3.444907] scsi0 : ata_piix [ 3.445363] scsi1 : ata_piix [ 3.445877] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x4120 irq 14 [ 3.445879] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x4128 irq 15 [ 3.608535] ata1.00: ATAPI: HL-DT-ST DVDRAM GSA-U10N, HP06, max MWDMA2 [ 3.624434] ata1.00: configured for MWDMA2 [ 3.624513] ata2: port disabled. ignoring. [ 3.627524] scsi 0:0:0:0: CD-ROM HL-DT-ST DVDRAM GSA-U10N HP06 PQ: 0 ANSI: 5 [ 3.630687] ohci1394 0000:02:06.2: PCI INT C -> GSI 20 (level, low) -> IRQ 20 [ 3.683443] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[20] MMIO=[e4102000-e41027ff] Max Packet=[2048] IR/IT contexts=[4/4] [ 3.687450] usb 4-2: device not accepting address 2, error -71 [ 3.687463] ahci 0000:00:1f.2: version 3.0 [ 3.687476] ahci 0000:00:1f.2: PCI INT D -> GSI 21 (level, low) -> IRQ 21 [ 3.689009] ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 3 ports 3 Gbps 0x1 impl SATA mode [ 3.689012] ahci 0000:00:1f.2: flags: 64bit ncq sntf stag pm led clo pio slum part [ 3.689017] ahci 0000:00:1f.2: setting latency timer to 64 [ 3.689492] scsi2 : ahci [ 3.689977] scsi3 : ahci [ 3.691305] scsi4 : ahci [ 3.691364] ata3: SATA max UDMA/133 abar m2048@0xe4649000 port 0xe4649100 irq 220 [ 3.691366] ata4: DUMMY [ 3.691368] ata5: DUMMY [ 3.740163] hub 4-0:1.0: unable to enumerate USB device on port 2 [ 4.008136] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 4.011698] ata3.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out [ 4.011701] ata3.00: ACPI cmd b1/c1:00:00:00:00:a0 filtered out [ 4.013431] ata3.00: ACPI cmd c6/00:10:00:00:00:a0 succeeded [ 4.013433] ata3.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out [ 4.015799] ata3.00: ATA-7: ST9160821AS, 3.BHE, max UDMA/100 [ 4.015803] ata3.00: 312581808 sectors, multi 16: LBA48 [ 4.020955] ata3.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out [ 4.020958] ata3.00: ACPI cmd b1/c1:00:00:00:00:a0 filtered out [ 4.022707] ata3.00: ACPI cmd c6/00:10:00:00:00:a0 succeeded [ 4.022712] ata3.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out [ 4.025107] ata3.00: configured for UDMA/100 [ 4.045430] ata3.00: configured for UDMA/100 [ 4.045435] ata3: EH complete [ 4.045730] scsi 2:0:0:0: Direct-Access ATA ST9160821AS 3.BH PQ: 0 ANSI: 5 [ 4.054670] scsi 0:0:0:0: Attached scsi generic sg0 type 5 [ 4.054705] scsi 2:0:0:0: Attached scsi generic sg1 type 0 [ 4.068016] Driver 'sr' needs updating - please use bus_type methods [ 4.072006] Driver 'sd' needs updating - please use bus_type methods [ 4.078183] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray [ 4.078188] Uniform CD-ROM driver Revision: 3.20 [ 4.078308] sr 0:0:0:0: Attached scsi CD-ROM sr0 [ 4.078415] sd 2:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB) [ 4.078433] sd 2:0:0:0: [sda] Write Protect is off [ 4.078435] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 4.078466] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4.078528] sd 2:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB) [ 4.078545] sd 2:0:0:0: [sda] Write Protect is off [ 4.078547] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 4.078578] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4.078581] sda:<6>usb 4-2: new full speed USB device using uhci_hcd and address 4 [ 4.137420] sda1 sda2 sda3 sda4 [ 4.148850] sd 2:0:0:0: [sda] Attached SCSI disk [ 4.278181] usb 4-2: configuration #1 chosen from 1 choice [ 4.473754] PM: Starting manual resume from disk [ 4.473757] PM: Resume from partition 8:2 [ 4.473758] PM: Checking hibernation image. [ 4.473888] PM: Resume from disk failed. [ 4.501901] kjournald starting. Commit interval 5 seconds [ 4.501916] EXT3-fs: mounted filesystem with ordered data mode. [ 4.960209] ieee1394: Host added: ID:BUS[0-00:1023] GUID[00023f97296d2a10] [ 10.707781] udevd version 124 started [ 11.121471] Linux agpgart interface v0.103 [ 11.150261] agpgart-intel 0000:00:00.0: Intel 965GM Chipset [ 11.151001] agpgart-intel 0000:00:00.0: detected 7676K stolen memory [ 11.168765] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000 [ 11.241339] input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2 [ 11.273024] ACPI: Power Button (FF) [PWRF] [ 11.273179] input: Sleep Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3 [ 11.305026] ACPI: Sleep Button (CM) [C2BB] [ 11.305108] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input4 [ 11.305214] ACPI: Lid Switch [C153] [ 11.346584] ACPI: Battery Slot [C23B] (battery present) [ 11.346821] ACPI: Battery Slot [C23A] (battery absent) [ 11.347580] ACPI: AC Adapter [C239] (off-line) [ 11.362118] ACPI: WMI: Mapper loaded [ 11.442386] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 11.515115] acpi device:02: registered as cooling_device7 [ 11.515903] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/input/input5 [ 11.545024] ACPI: Video Device [C098] (multi-head: yes rom: no post: no) [ 11.588271] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 [ 11.745289] tpm_inf_pnp 00:04: Found C282 with ID IFX0102 [ 11.745348] tpm_inf_pnp 00:04: TPM found: config base 0x560, data base 0x570, chip version 0x000b, vendor id 0x15d1 (Infineon), product id 0x000b (SLB 9635 TT 1.2) [ 11.915678] parport_pc 00:03: reported by Plug and Play ACPI [ 11.915757] parport0: PC-style at 0x378 (0x778), irq 7, dma 1 [PCSPP,TRISTATE,COMPAT,ECP,DMA] [ 11.965068] cfg80211: Using static regulatory domain info [ 11.965071] cfg80211: Regulatory domain: US [ 11.965072] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 11.965075] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) [ 11.965077] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 11.965079] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 11.965081] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 11.965083] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 11.965085] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) [ 11.965087] cfg80211: Calling CRDA for country: US [ 12.291070] Yenta: CardBus bridge found at 0000:02:06.0 [103c:30be] [ 12.303322] ricoh-mmc: Ricoh MMC Controller disabling driver [ 12.303324] ricoh-mmc: Copyright(c) Philip Langdale [ 12.351836] iTCO_vendor_support: vendor-support=0 [ 12.362459] input: PC Speaker as /devices/platform/pcspkr/input/input6 [ 12.397182] sdhci: Secure Digital Host Controller Interface driver [ 12.397185] sdhci: Copyright(c) Pierre Ossman [ 12.417715] Yenta: ISA IRQ mask 0x0c38, PCI irq 18 [ 12.417720] Socket status: 30000006 [ 12.417723] pcmcia: parent PCI bridge I/O window: 0x5000 - 0x5fff [ 12.417790] cs: IO port probe 0x5000-0x5fff: clean. [ 12.418014] pcmcia: parent PCI bridge Memory window: 0xe4100000 - 0xe43fffff [ 12.418016] pcmcia: parent PCI bridge Memory window: 0x80000000 - 0x87ffffff [ 12.418831] Yenta: CardBus bridge found at 0000:02:06.1 [103c:30be] [ 12.443338] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks [ 12.443341] iwlagn: Copyright(c) 2003-2008 Intel Corporation [ 12.452777] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.03 (30-Apr-2008) [ 12.545705] Yenta: ISA IRQ mask 0x0000, PCI irq 19 [ 12.545710] Socket status: 30000810 [ 12.545712] Yenta: Raising subordinate bus# of parent bus (#02) from #04 to #07 [ 12.545719] pcmcia: parent PCI bridge I/O window: 0x5000 - 0x5fff [ 12.545721] cs: IO port probe 0x5000-0x5fff: clean. [ 12.545942] pcmcia: parent PCI bridge Memory window: 0xe4100000 - 0xe43fffff [ 12.545944] pcmcia: parent PCI bridge Memory window: 0x80000000 - 0x87ffffff [ 12.547644] ricoh-mmc: Ricoh MMC controller found at 0000:02:06.4 [1180:0843] (rev 10) [ 12.547670] ricoh-mmc: Controller is now disabled. [ 12.550160] iwlagn 0000:10:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 12.550195] iwlagn 0000:10:00.0: setting latency timer to 64 [ 12.550247] iwlagn: Detected Intel Wireless WiFi Link 4965AGN REV=0x4 [ 12.554377] HDA Intel 0000:00:1b.0: power state changed by ACPI to D0 [ 12.554386] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 12.554410] HDA Intel 0000:00:1b.0: setting latency timer to 64 [ 12.596404] iwlagn: Tunable channels: 11 802.11bg, 13 802.11a channels [ 12.604780] iwlagn 0000:10:00.0: PCI INT A disabled [ 12.605170] phy0: Selected rate control algorithm 'iwl-agn-rs' [ 12.887499] Synaptics Touchpad, model: 1, fw: 6.2, id: 0x2580b1, caps: 0xa04793/0x300000 [ 12.887504] serio: Synaptics pass-through port at isa0060/serio4/input0 [ 12.928052] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input7 [ 12.947294] iTCO_wdt: Found a ICH8M-E TCO device (Version=2, TCOBASE=0x1060) [ 12.947350] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0) [ 13.048792] sdhci-pci 0000:02:06.3: SDHCI controller found [1180:0822] (rev 20) [ 13.048811] sdhci-pci 0000:02:06.3: PCI INT B -> GSI 19 (level, low) -> IRQ 19 [ 13.053072] mmc0: SDHCI controller on PCI [0000:02:06.3] using PIO [ 13.232121] pccard: PCMCIA card inserted into slot 1 [ 13.608164] cs: memory probe 0xe4100000-0xe43fffff: excluding 0xe4100000-0xe412ffff [ 13.612627] pcmcia: registering new device pcmcia1.0 [ 13.700359] cs: IO port probe 0x100-0x3af: excluding 0x100-0x107 [ 13.701889] cs: IO port probe 0x3e0-0x4ff: clean. [ 13.702497] cs: IO port probe 0x820-0x8ff: clean. [ 13.703025] cs: IO port probe 0xc00-0xcf7: clean. [ 13.703686] cs: IO port probe 0xa00-0xaff: clean. [ 13.704430] cs: IO port probe 0x100-0x3af: excluding 0x100-0x107 [ 13.706855] cs: IO port probe 0x3e0-0x4ff: clean. [ 13.707720] cs: IO port probe 0x820-0x8ff: clean. [ 13.708461] cs: IO port probe 0xc00-0xcf7: clean. [ 13.709325] cs: IO port probe 0xa00-0xaff: clean. [ 13.788378] scsi5 : pata_pcmcia [ 13.788433] ata6: PATA max PIO0 cmd 0x5100 ctl 0x510e irq 19 [ 14.694897] lp0: using parport0 (interrupt-driven). [ 14.802127] Adding 2096472k swap on /dev/sda2. Priority:-1 extents:1 across:2096472k [ 14.818282] EXT3 FS on sda3, internal journal [ 15.269354] type=1505 audit(1228433300.710:2): operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" name2="default" pid=4283 [ 15.269528] type=1505 audit(1228433300.710:3): operation="profile_load" name="/usr/sbin/cupsd" name2="default" pid=4283 [ 15.390967] ip_tables: (C) 2000-2006 Netfilter Core Team [ 16.645817] warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use) [ 16.879764] NET: Registered protocol family 10 [ 16.880354] lo: Disabled Privacy Extensions [ 16.949199] apm: BIOS not found. [ 17.094729] ppdev: user-space parallel port driver [ 17.737834] input: PS/2 Generic Mouse as /devices/platform/i8042/serio4/serio5/input/input8 [ 20.255554] Bluetooth: Core ver 2.13 [ 20.255711] NET: Registered protocol family 31 [ 20.255718] Bluetooth: HCI device and connection manager initialized [ 20.255727] Bluetooth: HCI socket layer initialized [ 20.310334] Bluetooth: L2CAP ver 2.11 [ 20.310350] Bluetooth: L2CAP socket layer initialized [ 20.345824] Bluetooth: SCO (Voice Link) ver 0.6 [ 20.345839] Bluetooth: SCO socket layer initialized [ 20.384746] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 20.384759] Bluetooth: BNEP filters: protocol multicast [ 20.461585] Bridge firewalling registered [ 20.463422] pan0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature. [ 20.503689] Bluetooth: RFCOMM socket layer initialized [ 20.503717] Bluetooth: RFCOMM TTY layer initialized [ 20.503724] Bluetooth: RFCOMM ver 1.10 [ 24.830380] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 24.832200] iwlagn 0000:10:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 24.832288] iwlagn 0000:10:00.0: restoring config space at offset 0x1 (was 0x100002, writing 0x100006) [ 24.833168] firmware: requesting iwlwifi-4965-2-lbm.ucode [ 24.888061] iwlagn: Radio disabled by HW RF Kill switch [ 24.909337] ------------[ cut here ]------------ [ 24.909345] WARNING: at /build/buildd/linux-backports-modules-2.6.27-2.6.27/debian/build/build-generic/compat-wireless-2.6/net/mac80211/main.c:232 ieee80211_hw_config+0x85/0x90 [lbm_cw_mac80211]() [ 24.909349] Modules linked in: binfmt_misc rfcomm bridge stp bnep sco l2cap bluetooth ppdev ipv6 acpi_cpufreq cpufreq_ondemand cpufreq_stats freq_table cpufreq_conservative cpufreq_userspace cpufreq_powersave pci_slot sbs sbshc iptable_filter ip_tables x_tables sbp2 lp pata_pcmcia joydev pcmcia arc4 ecb crypto_blkcipher snd_hda_intel snd_pcm_oss snd_mixer_oss iTCO_wdt sdhci_pci iwlagn iwlcore sdhci snd_pcm rfkill evdev pcspkr iTCO_vendor_support mmc_core serio_raw ricoh_mmc snd_seq_dummy yenta_socket rsrc_nonstatic psmouse led_class snd_seq_oss pcmcia_core lbm_cw_mac80211 snd_seq_midi lbm_cw_cfg80211 parport_pc parport snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device tpm_infineon container snd tpm shpchp video output tpm_bios pci_hotplug soundcore wmi ac battery button intel_agp agpgart snd_page_alloc ext3 jbd mbcache sd_mod crc_t10dif sr_mod cdrom sg ata_generic ahci ata_piix ohci1394 ieee1394 ehci_hcd uhci_hcd pata_acpi usbcore e1000e libata scsi_mod dock thermal processor fan fbcon tileblit font bitblit softcursor fuse [ 24.909458] Pid: 5298, comm: NetworkManager Not tainted 2.6.27-9-generic #1 [ 24.909461] [<c037c4b6>] ? printk+0x1d/0x1f [ 24.909470] [<c0131de9>] warn_on_slowpath+0x59/0x90 [ 24.909478] [<c030d400>] ? netlink_unicast+0x210/0x290 [ 24.909484] [<c02fbfcf>] ? rtnl_notify+0x3f/0x50 [ 24.909490] [<f8f8635d>] ? inet6_ifinfo_notify+0x7d/0xd0 [ipv6] [ 24.909510] [<f8f865e8>] ? addrconf_notify+0x238/0x3d0 [ipv6] [ 24.909527] [<f8cadcce>] ? iwl_radio_kill_sw_enable_radio+0xe/0x140 [iwlcore] [ 24.909541] [<c037d488>] ? mutex_unlock+0x8/0x20 [ 24.909546] [<f8d02c3d>] ? iwl4965_mac_config+0x4d/0x2c0 [iwlagn] [ 24.909556] [<c014c36f>] ? raw_notifier_call_chain+0x1f/0x30 [ 24.909562] [<f8c5a875>] ieee80211_hw_config+0x85/0x90 [lbm_cw_mac80211] [ 24.909575] [<f8c674f7>] ieee80211_open+0x5e7/0x830 [lbm_cw_mac80211] [ 24.909590] [<c02f474a>] dev_open+0xaa/0xe0 [ 24.909594] [<c037e916>] ? _spin_unlock_bh+0x16/0x20 [ 24.909599] [<c02f3b7f>] ? dev_set_rx_mode+0x2f/0x40 [ 24.909603] [<c02f3df9>] dev_change_flags+0x139/0x1c0 [ 24.909607] [<c02fce9d>] do_setlink+0x1cd/0x380 [ 24.909612] [<c037e578>] ? _read_lock+0x8/0x20 [ 24.909616] [<c02fd139>] rtnl_setlink+0xe9/0x120 [ 24.909621] [<c0211bb2>] ? cap_netlink_recv+0x12/0x40 [ 24.909627] [<c02fd050>] ? rtnl_setlink+0x0/0x120 [ 24.909631] [<c02fc2a5>] rtnetlink_rcv_msg+0x165/0x200 [ 24.909635] [<c01ad388>] ? get_slab+0x8/0x60 [ 24.909641] [<c02fc140>] ? rtnetlink_rcv_msg+0x0/0x200 [ 24.909646] [<c030dcc6>] netlink_rcv_skb+0x76/0xa0 [ 24.909650] [<c02fc131>] rtnetlink_rcv+0x21/0x30 [ 24.909654] [<c030d455>] netlink_unicast+0x265/0x290 [ 24.909658] [<c030e4d3>] netlink_sendmsg+0x1d3/0x2c0 [ 24.909663] [<c02e65af>] sock_sendmsg+0xef/0x120 [ 24.909667] [<c0234775>] ? apparmor_socket_recvmsg+0x15/0x20 [ 24.909673] [<c01474b0>] ? autoremove_wake_function+0x0/0x50 [ 24.909678] [<c01474b0>] ? autoremove_wake_function+0x0/0x50 [ 24.909683] [<c02548ca>] ? copy_from_user+0x3a/0x130 [ 24.909688] [<c02edc15>] ? verify_iovec+0x35/0xb0 [ 24.909694] [<c02e66f1>] sys_sendmsg+0x111/0x230 [ 24.909698] [<c014b474>] ? hrtimer_start+0xc4/0x1c0 [ 24.909703] [<c01284cb>] ? finish_task_switch+0x2b/0xe0 [ 24.909709] [<c037ca49>] ? schedule+0x429/0x790 [ 24.909714] [<c02e6edb>] sys_socketcall+0xeb/0x2d0 [ 24.909718] [<c0103f7b>] sysenter_do_call+0x12/0x2f [ 24.909723] ======================= [ 24.909726] ---[ end trace e339f1adfd21b75c ]--- [ 24.909975] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 24.998695] NET: Registered protocol family 17 [ 25.091761] [drm] Initialized drm 1.1.0 20060810 [ 25.096621] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 25.096630] pci 0000:00:02.0: setting latency timer to 64 [ 25.098603] [drm] Initialized i915 1.6.0 20060119 on minor 0 [ 26.389046] 0000:00:19.0: eth0: Link is Up 100 Mbps Full Duplex, Flow Control: None [ 26.389056] 0000:00:19.0: eth0: 10/100 speed: disabling TSO [ 26.389405] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 37.280123] eth0: no IPv6 routers present [ 64.901808] CPU0 attaching NULL sched-domain. [ 64.901830] CPU1 attaching NULL sched-domain. [ 64.905253] CPU0 attaching sched-domain: [ 64.905265] domain 0: span 0-1 level MC [ 64.905271] groups: 0 1 [ 64.905282] domain 1: span 0-1 level CPU [ 64.905288] groups: 0-1 [ 64.905297] CPU1 attaching sched-domain: [ 64.905302] domain 0: span 0-1 level MC [ 64.905307] groups: 1 0 [ 64.905316] domain 1: span 0-1 level CPU [ 64.905321] groups: 0-1 [ 65.012271] CPU0 attaching NULL sched-domain. [ 65.012292] CPU1 attaching NULL sched-domain. [ 65.020485] CPU0 attaching sched-domain: [ 65.020501] domain 0: span 0-1 level MC [ 65.020508] groups: 0 1 [ 65.020518] domain 1: span 0-1 level CPU [ 65.020523] groups: 0-1 [ 65.020534] CPU1 attaching sched-domain: [ 65.020539] domain 0: span 0-1 level MC [ 65.020544] groups: 1 0 [ 65.020552] domain 1: span 0-1 level CPU [ 65.020558] groups: 0-1 [ 133.532340] ppdev0: registered pardevice [ 133.580204] ppdev0: unregistered pardevice [ 133.984696] ppdev0: registered pardevice [ 134.033538] ppdev0: unregistered pardevice [ 137.764598] ppdev0: registered pardevice [ 137.813668] ppdev0: unregistered pardevice [ 291.800147] CE: hpet increasing min_delta_ns to 15000 nsec [ 1801.591565] wlan0: Failed to config new SSID to the low-level driver [ 1838.544424] wlan0: Failed to config new SSID to the low-level driver [ 2092.717303] iwlagn 0000:10:00.0: PCI INT A disabled [ 2098.034139] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2098.039948] iwlagn 0000:10:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 2098.040072] iwlagn 0000:10:00.0: restoring config space at offset 0x1 (was 0x100002, writing 0x100006) [ 2098.045111] iwlagn: Radio disabled by HW RF Kill switch [ 2098.049719] ------------[ cut here ]------------ [ 2098.049733] WARNING: at /build/buildd/linux-backports-modules-2.6.27-2.6.27/debian/build/build-generic/compat-wireless-2.6/net/mac80211/main.c:232 ieee80211_hw_config+0x85/0x90 [lbm_cw_mac80211]() [ 2098.049742] Modules linked in: i915 drm af_packet binfmt_misc rfcomm bridge stp bnep sco l2cap bluetooth ppdev ipv6 acpi_cpufreq cpufreq_ondemand cpufreq_stats freq_table cpufreq_conservative cpufreq_userspace cpufreq_powersave pci_slot sbs sbshc iptable_filter ip_tables x_tables sbp2 lp pata_pcmcia joydev pcmcia arc4 ecb crypto_blkcipher snd_hda_intel snd_pcm_oss snd_mixer_oss iTCO_wdt sdhci_pci iwlagn iwlcore sdhci snd_pcm rfkill evdev pcspkr iTCO_vendor_support mmc_core serio_raw ricoh_mmc snd_seq_dummy yenta_socket rsrc_nonstatic psmouse led_class snd_seq_oss pcmcia_core lbm_cw_mac80211 snd_seq_midi lbm_cw_cfg80211 parport_pc parport snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device tpm_infineon container snd tpm shpchp video output tpm_bios pci_hotplug soundcore wmi ac battery button intel_agp agpgart snd_page_alloc ext3 jbd mbcache sd_mod crc_t10dif sr_mod cdrom sg ata_generic ahci ata_piix ohci1394 ieee1394 ehci_hcd uhci_hcd pata_acpi usbcore e1000e libata scsi_mod dock thermal processor fan fbcon tileblit font bitblit softcursor fuse [ 2098.049949] Pid: 7706, comm: NetworkManager Tainted: G W 2.6.27-9-generic #1 [ 2098.049956] [<c037c4b6>] ? printk+0x1d/0x1f [ 2098.049970] [<c0131de9>] warn_on_slowpath+0x59/0x90 [ 2098.049984] [<c030d400>] ? netlink_unicast+0x210/0x290 [ 2098.049995] [<f8f8635d>] ? inet6_ifinfo_notify+0x7d/0xd0 [ipv6] [ 2098.050034] [<f8f865e8>] ? addrconf_notify+0x238/0x3d0 [ipv6] [ 2098.050069] [<f8cadcce>] ? iwl_radio_kill_sw_enable_radio+0xe/0x140 [iwlcore] [ 2098.050092] [<c012a18b>] ? __cond_resched+0x1b/0x40 [ 2098.050101] [<c037cea5>] ? _cond_resched+0x35/0x50 [ 2098.050112] [<c037d488>] ? mutex_unlock+0x8/0x20 [ 2098.050121] [<f8d02c3d>] ? iwl4965_mac_config+0x4d/0x2c0 [iwlagn] [ 2098.050138] [<c014c36f>] ? raw_notifier_call_chain+0x1f/0x30 [ 2098.050150] [<f8c5a875>] ieee80211_hw_config+0x85/0x90 [lbm_cw_mac80211] [ 2098.050177] [<f8c674f7>] ieee80211_open+0x5e7/0x830 [lbm_cw_mac80211] [ 2098.050204] [<c02f474a>] dev_open+0xaa/0xe0 [ 2098.050213] [<c037e916>] ? _spin_unlock_bh+0x16/0x20 [ 2098.050222] [<c02f3b7f>] ? dev_set_rx_mode+0x2f/0x40 [ 2098.050230] [<c02f3df9>] dev_change_flags+0x139/0x1c0 [ 2098.050239] [<c02fce9d>] do_setlink+0x1cd/0x380 [ 2098.050248] [<c037e578>] ? _read_lock+0x8/0x20 [ 2098.050256] [<c02fd139>] rtnl_setlink+0xe9/0x120 [ 2098.050265] [<c0211bb2>] ? cap_netlink_recv+0x12/0x40 [ 2098.050277] [<c02fd050>] ? rtnl_setlink+0x0/0x120 [ 2098.050286] [<c02fc2a5>] rtnetlink_rcv_msg+0x165/0x200 [ 2098.050294] [<c01ad388>] ? get_slab+0x8/0x60 [ 2098.050305] [<c02fc140>] ? rtnetlink_rcv_msg+0x0/0x200 [ 2098.050314] [<c030dcc6>] netlink_rcv_skb+0x76/0xa0 [ 2098.050322] [<c02fc131>] rtnetlink_rcv+0x21/0x30 [ 2098.050330] [<c030d455>] netlink_unicast+0x265/0x290 [ 2098.050338] [<c030e4d3>] netlink_sendmsg+0x1d3/0x2c0 [ 2098.050347] [<c02e65af>] sock_sendmsg+0xef/0x120 [ 2098.050355] [<c0234775>] ? apparmor_socket_recvmsg+0x15/0x20 [ 2098.050366] [<c01474b0>] ? autoremove_wake_function+0x0/0x50 [ 2098.050376] [<c01474b0>] ? autoremove_wake_function+0x0/0x50 [ 2098.050385] [<c02548ca>] ? copy_from_user+0x3a/0x130 [ 2098.050395] [<c02edc15>] ? verify_iovec+0x35/0xb0 [ 2098.050405] [<c02e66f1>] sys_sendmsg+0x111/0x230 [ 2098.050413] [<c014b474>] ? hrtimer_start+0xc4/0x1c0 [ 2098.050423] [<c01284cb>] ? finish_task_switch+0x2b/0xe0 [ 2098.050432] [<c037ca49>] ? schedule+0x429/0x790 [ 2098.050443] [<c02e6edb>] sys_socketcall+0xeb/0x2d0 [ 2098.050451] [<c0103f7b>] sysenter_do_call+0x12/0x2f [ 2098.050460] ======================= [ 2098.050465] ---[ end trace e339f1adfd21b75c ]--- [ 2098.052435] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 2099.633082] 0000:00:19.0: eth0: Link is Up 100 Mbps Full Duplex, Flow Control: None [ 2099.633096] 0000:00:19.0: eth0: 10/100 speed: disabling TSO [ 2099.633599] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 2110.100350] eth0: no IPv6 routers present [ 2619.773634] iwlagn 0000:10:00.0: PCI INT A disabled [ 2630.900718] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks [ 2630.900725] iwlagn: Copyright(c) 2003-2008 Intel Corporation [ 2630.900788] iwlagn 0000:10:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 2630.900800] iwlagn 0000:10:00.0: setting latency timer to 64 [ 2630.900821] iwlagn: Detected Intel Wireless WiFi Link 4965AGN REV=0x4 [ 2630.936924] iwlagn: Tunable channels: 11 802.11bg, 13 802.11a channels [ 2630.937846] phy1: Selected rate control algorithm 'iwl-agn-rs' [ 2634.960598] iwlagn 0000:10:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 2634.960935] firmware: requesting iwlwifi-4965-2-lbm.ucode [ 2634.969067] iwlagn: Radio disabled by HW RF Kill switch [ 2634.973670] ------------[ cut here ]------------ [ 2634.973685] WARNING: at /build/buildd/linux-backports-modules-2.6.27-2.6.27/debian/build/build-generic/compat-wireless-2.6/net/mac80211/main.c:232 ieee80211_hw_config+0x85/0x90 [lbm_cw_mac80211]() [ 2634.973698] Modules linked in: iwlagn i915 drm af_packet binfmt_misc rfcomm bridge stp bnep sco l2cap bluetooth ppdev ipv6 acpi_cpufreq cpufreq_ondemand cpufreq_stats freq_table cpufreq_conservative cpufreq_userspace cpufreq_powersave pci_slot sbs sbshc iptable_filter ip_tables x_tables sbp2 lp pata_pcmcia joydev pcmcia arc4 ecb crypto_blkcipher snd_hda_intel snd_pcm_oss snd_mixer_oss iTCO_wdt sdhci_pci iwlcore sdhci snd_pcm rfkill evdev pcspkr iTCO_vendor_support mmc_core serio_raw ricoh_mmc snd_seq_dummy yenta_socket rsrc_nonstatic psmouse led_class snd_seq_oss pcmcia_core lbm_cw_mac80211 snd_seq_midi lbm_cw_cfg80211 parport_pc parport snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device tpm_infineon container snd tpm shpchp video output tpm_bios pci_hotplug soundcore wmi ac battery button intel_agp agpgart snd_page_alloc ext3 jbd mbcache sd_mod crc_t10dif sr_mod cdrom sg ata_generic ahci ata_piix ohci1394 ieee1394 ehci_hcd uhci_hcd pata_acpi usbcore e1000e libata scsi_mod dock thermal processor fan fbcon tileblit font bitblit softcursor fuse [last unloaded: iwlagn] [ 2634.973926] Pid: 7706, comm: NetworkManager Tainted: G W 2.6.27-9-generic #1 [ 2634.973936] [<c037c4b6>] ? printk+0x1d/0x1f [ 2634.973952] [<c0131de9>] warn_on_slowpath+0x59/0x90 [ 2634.973969] [<c030d400>] ? netlink_unicast+0x210/0x290 [ 2634.973981] [<c02fbfcf>] ? rtnl_notify+0x3f/0x50 [ 2634.973994] [<f8f8635d>] ? inet6_ifinfo_notify+0x7d/0xd0 [ipv6] [ 2634.974034] [<c037e6dd>] ? _spin_lock+0xd/0x10 [ 2634.974044] [<f8f654ac>] ? packet_notifier+0xdc/0x1b0 [af_packet] [ 2634.974060] [<f8cadcce>] ? iwl_radio_kill_sw_enable_radio+0xe/0x140 [iwlcore] [ 2634.974089] [<c037d488>] ? mutex_unlock+0x8/0x20 [ 2634.974099] [<f8d02c3d>] ? iwl4965_mac_config+0x4d/0x2c0 [iwlagn] [ 2634.974116] [<c014c36f>] ? raw_notifier_call_chain+0x1f/0x30 [ 2634.974130] [<f8c5a875>] ieee80211_hw_config+0x85/0x90 [lbm_cw_mac80211] [ 2634.974157] [<f8c674f7>] ieee80211_open+0x5e7/0x830 [lbm_cw_mac80211] [ 2634.974187] [<c02f474a>] dev_open+0xaa/0xe0 [ 2634.974196] [<c037e916>] ? _spin_unlock_bh+0x16/0x20 [ 2634.974205] [<c02f3b7f>] ? dev_set_rx_mode+0x2f/0x40 [ 2634.974215] [<c02f3df9>] dev_change_flags+0x139/0x1c0 [ 2634.974226] [<c02fce9d>] do_setlink+0x1cd/0x380 [ 2634.974236] [<c037e578>] ? _read_lock+0x8/0x20 [ 2634.974245] [<c02fd139>] rtnl_setlink+0xe9/0x120 [ 2634.974255] [<c0211bb2>] ? cap_netlink_recv+0x12/0x40 [ 2634.974267] [<c02fd050>] ? rtnl_setlink+0x0/0x120 [ 2634.974278] [<c02fc2a5>] rtnetlink_rcv_msg+0x165/0x200 [ 2634.974288] [<c01ad388>] ? get_slab+0x8/0x60 [ 2634.974300] [<c02fc140>] ? rtnetlink_rcv_msg+0x0/0x200 [ 2634.974310] [<c030dcc6>] netlink_rcv_skb+0x76/0xa0 [ 2634.974320] [<c02fc131>] rtnetlink_rcv+0x21/0x30 [ 2634.974329] [<c030d455>] netlink_unicast+0x265/0x290 [ 2634.974338] [<c030e4d3>] netlink_sendmsg+0x1d3/0x2c0 [ 2634.974349] [<c02e65af>] sock_sendmsg+0xef/0x120 [ 2634.974359] [<c0234775>] ? apparmor_socket_recvmsg+0x15/0x20 [ 2634.974371] [<c01474b0>] ? autoremove_wake_function+0x0/0x50 [ 2634.974382] [<c01474b0>] ? autoremove_wake_function+0x0/0x50 [ 2634.974392] [<c02548ca>] ? copy_from_user+0x3a/0x130 [ 2634.974404] [<c02edc15>] ? verify_iovec+0x35/0xb0 [ 2634.974414] [<c02e66f1>] sys_sendmsg+0x111/0x230 [ 2634.974422] [<c01b3578>] ? fput+0x8/0x30 [ 2634.974431] [<c02e6919>] ? sys_sendto+0xb9/0xd0 [ 2634.974441] [<c01ba9fa>] ? putname+0x2a/0x40 [ 2634.974451] [<c01ba9fa>] ? putname+0x2a/0x40 [ 2634.974460] [<c02549fb>] ? copy_to_user+0x3b/0x130 [ 2634.974472] [<c02e6edb>] sys_socketcall+0xeb/0x2d0 [ 2634.974482] [<c0103f7b>] sysenter_do_call+0x12/0x2f [ 2634.974493] ======================= [ 2634.974499] ---[ end trace e339f1adfd21b75c ]--- [ 2634.974979] ADDRCONF(NETDEV_UP): wlan0: link is not ready
‣ Paste #496
wlan0 No scan results
‣ Paste #495
#include <u.h>
#include <libc.h>
#include <draw.h>
#include <event.h>
#include <keyboard.h>
Rectangle lpad, rpad;
Rectangle board;
Rectangle ball; /* history */
Point padsz, ballsz;
Point ballv;
int launched;
int tslice = 32;
void
drawpad(Rectangle pad)
{
draw(screen, pad, display->white, nil, ZP);
}
void
drawball(int clear)
{
draw(screen, ball, clear? display->black:display->white, nil, ZP);
}
void
mup(Rectangle *pad)
{
if(pad->min.y == board.min.y)
return;
draw(screen, *pad, display->black, nil, ZP);
*pad = rectsubpt(*pad, Pt(0, Dx(*pad)/2));
if(pad->min.y < board.min.y)
pad->max.y = board.min.y + Dy(*pad), pad->min.y = board.min.y;
drawpad(*pad);
}
void
mdown(Rectangle *pad)
{
if(pad->max.y == board.max.y)
return;
draw(screen, *pad, display->black, nil, ZP);
*pad = rectaddpt(*pad, Pt(0, Dx(*pad)/2));
if(pad->max.y > board.max.y)
pad->min.y = board.max.y - Dy(*pad), pad->max.y = board.max.y;
drawpad(*pad);
}
void
mball(void)
{
drawball(1);
ball.min = addpt(ball.min, ballv);
ball.max = addpt(ball.max, ballv);
drawball(0);
}
void
launch(void)
{
launched = 1;
ball.min = subpt(lpad.max, Pt(0, Dy(lpad)/2)); /* should be random over the pad */
ball.max = addpt(ball.min, ballsz);
drawball(0);
}
void
play(void)
{
Mouse m;
Event ev;
int e, dt, i;
ulong timer;
dt = 64;
timer = etimer(0, tslice);
for(;;){
e = event(&ev);
switch(e){
case Ekeyboard:
switch(ev.kbdc){
case Kup:
Up:
mup(&lpad);
break;
case Kdown:
Down:
mdown(&lpad);
break;
case 'q':
return;
}
break;
case Emouse:
m = ev.mouse;
if(m.buttons & 1)
goto Up;
else if(m.buttons & 2){
if(!launched);
launch();
}else if(m.buttons & 4)
goto Down;
break;
default:
if(e==timer && launched){
dt -= tslice;
if(dt < 0){
i = 1;
dt = 16 * (nrand(10000)-5000) / 10000;
if(dt >= 32){
i += (dt-32)/16;
dt = 32;
}
dt = 52-dt;
while(i-- > 0)
mball();
}
}
break;
}
}
}
void
eresized(int new)
{
if(new && getwindow(display, Refnone) < 0)
sysfatal("can't reattach: %r");
board = screen->r;
padsz = Pt(10,30);
ballsz = Pt(10,10);
ballv = Pt(ballsz.x/2, 0);
draw(screen, screen->r, display->black, nil, ZP);
lpad.min = addpt(board.min, Pt(0, Dy(board)/2));
lpad.max = addpt(lpad.min, padsz);
rpad.min = subpt(board.max, Pt(padsz.x, Dy(board)/2));
rpad.max = addpt(rpad.min, padsz);
drawpad(lpad);
drawpad(rpad);
flushimage(display, 1);
}
void
main(int argc, char *argv[])
{
if(initdraw(nil, nil, argv[0]) < 0)
sysfatal("initdraw: %r");
einit(Emouse|Ekeyboard);
eresized(0);
play();
}
‣ Paste #494
#include <u.h>
#include <libc.h>
#include <bio.h>
#include <draw.h>
#include <memdraw.h>
#include <thread.h>
#include <cursor.h>
#include <mouse.h>
#include <keyboard.h>
#include <frame.h>
#include <plumb.h>
#include <html.h>
#include <regexp.h>
#include "dat.h"
#include "fns.h"
static Point prevmouse;
static Window *mousew;
int
min(int a, int b)
{
if(a < b)
return a;
return b;
}
int
max(int a, int b)
{
if(a > b)
return a;
return b;
}
void
cvttorunes(char *p, int n, Rune *r, int *nb, int *nr, int *nulls)
{
uchar *q;
Rune *s;
int j, w;
/*
* Always guaranteed that n bytes may be interpreted
* without worrying about partial runes. This may mean
* reading up to UTFmax-1 more bytes than n; the caller
* knows this. If n is a firm limit, the caller should
* set p[n] = 0.
*/
q = (uchar*)p;
s = r;
for(j=0; j<n; j+=w){
if(*q < Runeself){
w = 1;
*s = *q++;
}else{
w = chartorune(s, (char*)q);
q += w;
}
if(*s)
s++;
else if(nulls)
*nulls = TRUE;
}
*nb = (char*)q-p;
*nr = s-r;
}
void
bytetorunestr(char *s, Runestr *rs)
{
Rune *r;
int nb, nr;
nb = strlen(s);
r = runemalloc(nb+1);
cvttorunes(s, nb, r, &nb, &nr, nil);
r[nr] = '\0';
rs->nr = nr;
rs->r = r;
}
void
error(char *s)
{
fprint(2, "abaco: %s: %r\n", s);
abort();
threadexitsall(s);
}
void*
emalloc(ulong n)
{
void *p;
p = malloc(n);
if(p == nil)
error("malloc failed");
setmalloctag(p, getcallerpc(&n));
memset(p, 0, n);
return p;
}
void*
erealloc(void *p, ulong n)
{
p = realloc(p, n);
if(p == nil)
error("realloc failed");
setmalloctag(p, getcallerpc(&n));
return p;
}
Rune*
erunestrdup(Rune *r)
{
void *p;
if(r == nil)
return nil;
p = runestrdup(r);
if(p == nil)
error("runestrdup failed");
setmalloctag(p, getcallerpc(&r));
return p;
}
char*
estrdup(char *s)
{
char *t;
t = strdup(s);
if(t == nil)
error("strdup failed");
setmalloctag(t, getcallerpc(&s));
return t;
}
int
runestreq(Runestr a, Runestr b)
{
return runeeq(a.r, a.nr, b.r, b.nr);
}
int
runeeq(Rune *s1, uint n1, Rune *s2, uint n2)
{
if(n1 != n2)
return FALSE;
return memcmp(s1, s2, n1*sizeof(Rune)) == 0;
}
void
closerunestr(Runestr *rs)
{
rs->nr = 0;
if(rs->r)
free(rs->r);
rs->r = nil;
}
void
copyrunestr(Runestr *a, Runestr *b)
{
closerunestr(a);
a->r = runemalloc(b->nr+1);
runemove(a->r, b->r, b->nr);
a->r[b->nr] = 0;
a->nr = b->nr;
}
int
isalnum(Rune c)
{
/*
* Hard to get absolutely right. Use what we know about ASCII
* and assume anything above the Latin control characters is
* potentially an alphanumeric.
*/
if(c <= ' ')
return FALSE;
if(0x7F<=c && c<=0xA0)
return FALSE;
if(utfrune("!\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~", c))
return FALSE;
return TRUE;
}
Rune*
skipbl(Rune *r, int n, int *np)
{
while(n>0 && (*r==' ' || *r=='\t' || *r=='\n')){
--n;
r++;
}
*np = n;
return r;
}
Rune*
findbl(Rune *r, int n, int *np)
{
while(n>0 && *r!=' ' && *r!='\t' && *r!='\n'){
--n;
r++;
}
*np = n;
return r;
}
int
istextfield(Item *i)
{
Formfield *ff;
ff = ((Iformfield *)i)->formfield;
if(ff->ftype==Ftext || ff->ftype==Ftextarea || ff->ftype==Fpassword)
return TRUE;
return FALSE;
}
int
forceitem(Item *i)
{
if(i->state&IFwrap && i->tag!=Iruletag && i->tag!=Itabletag)
return FALSE;
return TRUE;
}
int
dimwidth(Dimen d, int w)
{
int s, k;
k = dimenkind(d);
if(k == Dnone)
return w;
s = dimenspec(d);
if(k == Dpixels)
w = s;
else if(k==Dpercent && s<100)
w = s*w/100;
return w;
}
void
frdims(Dimen *d, int n, int t, int **ret)
{
int totpix, totpcnt, totrel;
double spix, spcnt, relu, vd;
int tt, trest, totpixrel, minrelu, i;
int *x, *spec, *kind;
if(n == 1){
*ret = x = emalloc(sizeof(int));
x[0] = t;
return;
}
totpix = totpcnt = totrel = 0;
spec = emalloc(n*sizeof(int));
kind = emalloc(n*sizeof(int));
for(i=0; i<n; i++){
spec[i] = dimenspec(d[i]);
if(spec[i] < 0)
spec[i] = 0;
kind[i] = dimenkind(d[i]);
switch(kind[i]){
case Dpixels:
totpix += spec[i];
break;
case Dpercent:
totpcnt += spec[i];
break;
case Drelative:
totrel += spec[i];
break;
case Dnone:
totrel++;
break;
}
}
spix = spcnt = 1.0;
minrelu = 0;
if(totrel > 0)
minrelu = Scrollsize+Scrollgap;
relu = (double)minrelu;
tt = totpix + t*totpcnt/100 + totrel*minrelu;
if(tt < t){
if(totrel == 0){
if(totpcnt != 0)
spcnt = (double)((t-totpix)*100)/(double)(t*totpcnt);
else
spix = (double)t/(double)totpix;
}else
relu += (double)(t-tt)/(double)totrel;
}else{
totpixrel = totpix + totrel*minrelu;
if(totpixrel < t)
spcnt = (double)((t-totpixrel)*100)/(double)(t*totpcnt);
else{
trest = t - totrel*minrelu;
if(trest > 0)
spcnt = (double)trest/(double)(totpix + (t*totpcnt/100));
else{
spcnt = (double)t/(double)tt;
relu = 0.0;
}
spix = spcnt;
}
}
x = emalloc(n * sizeof(int));
tt = 0;
for(i=0; i<n-1; i++){
vd = (double)spec[i];
switch(kind[i]){
case Dpixels:
vd = vd*spix;
break;
case Dpercent:
vd = vd*(double)t*spcnt/100.0;
break;
case Drelative:
vd = vd*relu;
break;
case Dnone:
vd = relu;
break;
}
x[i] = (int)(vd+.5);
tt += x[i];
}
x[n - 1] = t - tt;
*ret = x;
free(spec);
free(kind);
}
Image *
getbg(Page *p)
{
Docinfo *d;
Cimage *ci;
Image *bg;
d = p->doc;
if(d->backgrounditem){
if(d->backgrounditem->aux){
ci = d->backgrounditem->aux;
if(ci->mi)
getimage(ci, d->backgrounditem->altrep);
bg = ci->i;
}else
bg = display->white;
}else
bg = getcolor(d->background.color);
return bg;
}
Rune *
getbase(Page *p)
{
if(p->doc)
return p->doc->base;
if(p->url->act.r)
return p->url->act.r;
return p->url->src.r;
}
Image *
eallocimage(Display *d, Rectangle r, ulong chan, int repl, int col)
{
Image *i;
i = allocimage(d, r, chan, repl, col);
if(i == nil)
error("allocimage failed");
return i;
}
void
rect3d(Image *im, Rectangle r, int i, Image **c, Point sp)
{
Point p[6];
if(i < 0){
r = insetrect(r, i);
sp = addpt(sp, Pt(i,i));
i = -i;
}
draw(im, Rect(r.min.x+i, r.min.y+i, r.max.x-i, r.max.y-i), c[2], nil, sp);
p[0] = r.min;
p[1] = Pt(r.min.x, r.max.y);
p[2] = Pt(r.min.x+i, r.max.y-i);
p[3] = Pt(r.min.x+i, r.min.y+i);
p[4] = Pt(r.max.x-i, r.min.y+i);
p[5] = Pt(r.max.x, r.min.y);
fillpoly(im, p, 6, 0, c[0], sp);
p[0] = r.max;
p[1] = Pt(r.min.x, r.max.y);
p[2] = Pt(r.min.x+i, r.max.y-i);
p[3] = Pt(r.max.x-i, r.max.y-i);
p[4] = Pt(r.max.x-i, r.min.y+i);
p[5] = Pt(r.max.x, r.min.y);
fillpoly(im, p, 6, 0, c[1], sp);
}
void
ellipse3d(Image *im, Point p, int rad, int i, Image **c, Point sp)
{
fillarc(im, p, rad, rad, c[0], sp, 45, 180);
fillarc(im, p, rad, rad, c[1], sp, 45, -180);
fillellipse(im, p, rad-i, rad-i, c[2], sp);
}
void
colarray(Image **c, Image *c0, Image *c1, Image *c2, int checked)
{
if(checked){
c[0] = c0;
c[1] = c1;
}else{
c[0] = c1;
c[1] = c0;
}
c[2] = c2;
}
static char *deffontpaths[] = {
#include "fonts.h"
};
static char *fontpaths[NumFnt];
static Font *fonts[NumFnt];
void
initfontpaths(void)
{
Biobufhdr *bp;
char buf[128];
int i;
/* we don't care if getenv(2) fails */
snprint(buf, sizeof(buf)-1, "%s/lib/abaco.fonts", getenv("home"));
if((bp=Bopen(buf, OREAD)) == nil)
goto Default;
for(i=0; i<NumFnt; i++)
if((fontpaths[i]=Brdstr(bp, '\n', 1)) == nil)
goto Error;
Bterm(bp);
return;
Error:
fprint(2, "abaco: not enough fontpaths in '%s'\n", buf);
Bterm(bp);
for(i--; i>=0; i--)
free(fontpaths[i]);
Default:
for(i=0; i<NumFnt; i++)
fontpaths[i] = deffontpaths[i];
}
Font *
getfont(int i)
{
if(fonts[i] == nil){
fonts[i] = openfont(display, fontpaths[i]);
if(fonts[i] == nil)
error("can't open font file");
}
return fonts[i];
}
typedef struct Color Color;
struct Color
{
int rgb;
Image *i;
Color *next;
};
enum
{
NHASH = 19,
};
static Color *colortab[NHASH];
Image *
getcolor(int rgb)
{
Color *c;
int h;
if(rgb == 0xFFFFFF)
return display->white;
else if(rgb == 0x000000)
return display->black;
h = rgb%NHASH;
for(c=colortab[h]; c!=nil; c=c->next)
if(c->rgb == rgb){
flushimage(display, 0); /* BUG? */
return c->i;
}
c = emalloc(sizeof(Color));
c->i = eallocimage(display, Rect(0,0,1,1), screen->chan, 1, (rgb<<8)|0xFF);
c->rgb = rgb;
c->next = colortab[h];
colortab[h] = c;
return c->i;
}
int
plumbrunestr(Runestr *rs, char *attr)
{
Plumbmsg *m;
int i;
i = -1;
if(plumbsendfd >= 0){
m = emalloc(sizeof(Plumbmsg));
m->src = estrdup("abaco");
m->dst = nil;
m->wdir = estrdup("/tmp");
m->type = estrdup("text");
if(attr)
m->attr = plumbunpackattr(attr);
else
m->attr = nil;
m->data = smprint("%.*S", rs->nr, rs->r);
m->ndata = -1;
i = plumbsend(plumbsendfd, m);
plumbfree(m);
}
return i;
}
int
hexdigit(int v)
{
if(0<=v && v<=9)
return '0' + v;
else
return 'A' + v - 10;
}
static
int
inclass(Rune c, Rune* cl)
{
int n, ans, negate, i;
n = runestrlen(cl);
if(n == 0)
return 0;
ans = 0;
negate = 0;
if(cl[0] == '^'){
negate = 1;
cl++;
n--;
}
for(i=0; i<n; i++){
if(cl[i]=='-' && i>0 && i<n-1){
if(c>=cl[i - 1] && c<=cl[i+1]){
ans = 1;
break;
}
i++;
}
else if(c == cl[i]){
ans = 1;
break;
}
}
if(negate)
ans = !ans;
return ans;
}
Rune*
ucvt(Rune* s)
{
Rune* u;
int i, c, n, j, len;
n = runestrlen(s);
len = 0;
for(i=0; i<n; i++){
c = s[i];
if(inclass(c, L"- /$_@.!*'(),a-zA-Z0-9"))
len++;
else
len += 3;
}
u = runemalloc(len+1);
j = 0;
for(i=0; i<n; i++){
c = s[i];
if(inclass(c, L"-/$_@.!*'(),a-zA-Z0-9"))
u[j++] = c;
else if(c == ' ')
u[j++] = '+';
else {
u[j++] = '%';
u[j++] = hexdigit((c >> 4)&15);
u[j++] = hexdigit(c&15);
}
}
u[j] = 0;
return u;
}
void
reverseimages(Iimage **head)
{
Iimage *r, *c, *n;
r = nil;
for(c=*head; c!=nil; c=n){
n = c->nextimage;
c->nextimage = r;
r = c;
}
*head = r;
}
char urlexpr[] = "^(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://([a-zA-Z0-9_@\\-]+([.:][a-zA-Z0-9_@\\-]+)*)";
Reprog *urlprog;
int
validurl(Rune *r)
{
Resub rs[10];
if(urlprog == nil){
urlprog = regcomp(urlexpr);
if(urlprog == nil)
error("regcomp");
}
memset(rs, 0, sizeof(rs));
if(rregexec(urlprog, r, rs, nelem(rs)) == 0)
return FALSE;
return TRUE;
}
void
execproc(void *v)
{
Channel *sync;
Exec *e;
int p[2], q[2];
char *cmd;
threadsetname("execproc");
e = v;
p[0] = e->p[0];
p[1] = e->p[1];
q[0] = e->q[0];
q[1] = e->q[1];
cmd = e->cmd;
sync = e->sync;
rfork(RFFDG);
free(e);
dup(p[0], 0);
close(p[0]);
close(p[1]);
if(q[0]){
dup(q[1], 1);
close(q[0]);
close(q[1]);
}
if(!procstderr)
close(2);
procexecl(sync, "/bin/rc", "rc", "-c", cmd, 0);
error("can't exec");
}
static
void
writeproc(void *v)
{
Channel *sync;
void **a;
char *s;
long np;
int fd, i, n;
threadsetname("writeproc");
a = v;
sync = a[0];
fd = (int)a[1];
s = a[2];
np =(long)a[3];
free(a);
for(i=0; i<np; i+=n){
n = np-i;
if(n > BUFSIZE)
n = BUFSIZE;
if(write(fd, s+i, n) != n)
break;
}
close(fd);
sendul(sync, i);
}
struct {
char *mime;
char *tcs;
}tcstab[] = {
#include "tcs.h"
/* not generated by the script */
"euc_jp", "jis",
"euc_kr", "euc-k",
"windows-874", "tis",
nil, nil,
};
enum {
Winstart = 127,
Winend = 159
};
static int winchars[] = {
8226, /* 8226 is a bullet */
8226, 8226, 8218, 402, 8222, 8230, 8224, 8225,
710, 8240, 352, 8249, 338, 8226, 8226, 8226,
8226, 8216, 8217, 8220, 8221, 8226, 8211, 8212,
732, 8482, 353, 8250, 339, 8226, 8226, 376
};
char *
tcs(char *cs, char *s, long *np)
{
Channel *sync;
Exec *e;
Rune r;
long i, n;
void **a;
uchar *us;
char buf[BUFSIZE], cmd[50];
char *t, *u;
int p[2], q[2];
if(s==nil || *s=='\0' || *np==0){
werrstr("tcs failed: no data");
return s;
}
if(cs == nil){
werrstr("tcs failed: no charset");
return s;
}
if(cistrncmp(cs, "utf-8", 5)==0 || cistrncmp(cs, "utf8", 4)==0)
return s;
for(i=0; tcstab[i].mime!=nil; i++)
if(cistrncmp(cs, tcstab[i].mime, strlen(tcstab[i].mime)) == 0)
break;
if(tcstab[i].mime == nil){
fprint(2, "abaco: charset: %s not supported\n", cs);
goto latin1;
}
if(cistrcmp(tcstab[i].tcs, "8859-1")==0 || cistrcmp(tcstab[i].tcs, "ascii")==0){
latin1:
n = 0;
for(us=(uchar*)s; *us; us++)
n += runelen(*us);
n++;
t = emalloc(n);
for(us=(uchar*)s, u=t; *us; us++){
if(*us>=Winstart && *us<=Winend)
*u++ = winchars[*us-Winstart];
else{
r = *us;
u += runetochar(u, &r);
}
}
*u = 0;
free(s);
return t;
}
if(pipe(p)<0 || pipe(q)<0)
error("can't create pipe");
sync = chancreate(sizeof(ulong), 0);
if(sync == nil)
error("can't create channel");
snprint(cmd, sizeof cmd, "tcs -f %s", tcstab[i].tcs);
e = emalloc(sizeof(Exec));
e->p[0] = p[0];
e->p[1] = p[1];
e->q[0] = q[0];
e->q[1] = q[1];
e->cmd = cmd;
e->sync = sync;
proccreate(execproc, e, STACK);
recvul(sync);
chanfree(sync);
close(p[0]);
close(q[1]);
/* in case tcs fails */
t = s;
sync = chancreate(sizeof(ulong), 0);
if(sync == nil)
error("can't create channel");
a = emalloc(4*sizeof(void *));
a[0] = sync;
a[1] = (void *)p[1];
a[2] = s;
a[3] = (void *)*np;
proccreate(writeproc, a, STACK);
s = nil;
while((n = read(q[0], buf, sizeof(buf))) > 0){
s = erealloc(s, i+n+1);
memmove(s+i, buf, n);
i += n;
s[i] = '\0';
}
n = recvul(sync);
if(n != *np)
fprint(2, "tcs: did not write %ld; wrote %uld\n", *np, n);
*np = i;
chanfree(sync);
close(q[0]);
if(s == nil){
fprint(2, "tcs failed: can't convert charset=%s to %s\n", cs, tcstab[i].tcs);
return t;
}
free(t);
return s;
}
static
int
isspace(char c)
{
return c==' ' || c== '\t' || c=='\r' || c=='\n';
}
static
int
findctype(char *b, int l, char *keyword, char *s)
{
char *p, *e;
int i;
p = cistrstr(s, keyword);
if(!p)
return -1;
p += strlen(keyword);
while(*p && isspace(*p))
p++;
if(*p != '=')
return -1;
p++;
while(*p && isspace(*p))
p++;
if(!*p)
return -1;
if(*p == '"'){
p++;
e = strchr(p, '"');
if(!e)
return -1;
}else
for(e = p; *e < 127 && *e > ' ' ; e++)
;
i = e-p;
if(i < 1)
return -1;
snprint(b, l, "%.*s", i, p);
return 0;
}
static
int
finddocctype(char *b, int l, char *s)
{
char *p, *e;
p = cistrstr(s, "<meta");
if(!p)
return -1;
p += 5;
e = strchr(s, '>');
if(!e)
return -1;
snprint(b, l, "%.*s", (int)(e-p), p);
return 0;
}
static
int
findxmltype(char *b, int l, char *s)
{
char *p, *e;
p = cistrstr(s, "<?xml ");
if(!p)
return -1;
p += 6;
e = strstr(p, "?>");
if(!e)
return -1;
snprint(b, l, "%.*s", (int)(e-p), p);
return 0;
}
/*
* servers can lie about lie about the charset,
* so we use the charset based on the priority.
*/
char *
convert(Runestr ctype, char *s, long *np)
{
char t[25], buf[256];
*t = '\0';
if(ctype.nr){
snprint(buf, sizeof(buf), "%.*S", ctype.nr, ctype.r);
findctype(t, sizeof(t), "charset", buf);
}
if(findxmltype(buf, sizeof(buf), s)==0)
findctype(t, sizeof(t), "encoding", buf);
if(finddocctype(buf, sizeof(buf), s) == 0)
findctype(t, sizeof(t), "charset", buf);
if(*t == '\0')
strcpy(t, charset);
return tcs(t, s, np);
}
int
xtofchar(Rune *s, Font *f, long p)
{
Rune *r;
int q;
if(p == 0)
return 0;
q = 0;
for(r=s; *r!=L'\0'; r++){
p -= runestringnwidth(f, r, 1);
if(p < 0)
break;
q++;
}
return q;
}
int
istextsel(Page *p, Rectangle r, int *q0, int *q1, Rune *s, Font *f)
{
int topinr, botinr;
*q0 = *q1 = 0;
topinr= ptinrect(p->top, r);
if(topinr || (r.min.y>p->top.y && r.max.y<p->bot.y))
p->selecting = TRUE;
botinr = ptinrect(p->bot, r);
if(botinr || r.min.y>p->bot.y)
p->selecting = FALSE;
if(topinr || botinr){
if(topinr)
*q0 = xtofchar(s, f, p->top.x-r.min.x);
if(botinr)
*q1 = xtofchar(s, f, p->bot.x-r.min.x);
if(*q0!=0 || *q1!=0)
return TRUE;
}
return p->selecting;
}
Point
getpt(Page *p, Point xy)
{
xy.x = xy.x-p->r.min.x+p->pos.x;
xy.y = xy.y-p->r.min.y+p->pos.y;
return xy;
}
void
getimage(Cimage *ci, Rune *altr)
{
Rectangle r;
Memimage *mi;
Image *i, *i2;
char buf[128];
int nbits;
mi = ci->mi;
if(mi == nil){
snprint(buf, sizeof(buf), "[%S]", altr ? altr : L"IMG");
r.min = Pt(0, 0);
r.max.x = 2*Space + stringwidth(font, buf);
r.max.y = 2*Space + font->height;
ci->i = eallocimage(display, r, GREY1, 1, DBlack);
r.min.x += Space;
r.min.y += Space;
string(ci->i, r.min, display->white, ZP, font, buf);
return;
}
nbits = bytesperline(mi->r, mi->depth)*Dy(mi->r);
/*
/* get rid of alpha channel from transparent gif * /
if(mi->depth == 16){
for(y=1; y<nbits; y+=2)
bits[y>>1] = bits[y];
}
*/
i = eallocimage(display, mi->r, mi->chan, 0, DNofill);
loadimage(i, i->r, mi->data->bdata, nbits);
i2 = eallocimage(display, i->r, RGB24, 1, DNofill);
draw(i2, i2->r, display->black, nil, ZP);
draw(i2, i2->r, i, nil, i->r.min);
freememimage(mi);
freeimage(i);
ci->i = i2;
ci->mi = nil;
}
static
void
fixtext1(Item **list)
{
Itext *text, *ntext;
Item *it, *prev;
Rune *s, *s1, *s2;
int n;
if(*list == nil)
return;
prev = nil;
for(it=*list; it!=nil; it=prev->next){
if(it->tag!=Itexttag || forceitem(it))
goto Continue;
text = (Itext *)it;
s = text->s;
while(*s && isspacerune(*s))
s++;
if(!*s){
if(prev == nil)
prev = *list = it->next;
else
prev->next = it->next;
it->next = nil;
freeitems(it);
if(prev == nil)
return;
continue;
}
n = 0;
while(s[n] && !isspacerune(s[n]))
n++;
if(!s[n])
goto Continue;
s1 = runemalloc(n+1);
s1 = runemove(s1, s, n);
s1[n] = L'\0';
s += n;
while(*s && isspacerune(*s))
s++;
if(*s){
n = runestrlen(s);
s2 = runemalloc(n+1);
runemove(s2, s, n);
s2[n] = L'\0';
ntext = emalloc(sizeof(Itext));
ntext->s = s2;
ntext->ascent = text->ascent;
ntext->anchorid = text->anchorid;
ntext->state = text->state&~(IFbrk|IFbrksp|IFnobrk|IFcleft|IFcright);
ntext->tag = text->tag;
ntext->fnt = text->fnt;
ntext->fg = text->fg;
ntext->ul = text->ul;
ntext->next = (Item *)text->next;
text->next = (Item *)ntext;
}
free(text->s);
text->s = s1;
Continue:
prev = it;
}
}
void
fixtext(Page *p)
{
Tablecell *c;
Table *t;
fixtext1(&p->items);
for(t=p->doc->tables; t!=nil; t=t->next)
for(c=t->cells; c!=nil; c=c->next)
fixtext1(&c->content);
}
typedef struct Refresh Refresh;
struct Refresh
{
Page *p;
Refresh *next;
};
static Refresh *refreshs = nil;
static QLock refreshlock;
void
addrefresh(Page *p, char *fmt, ...)
{
Refresh *r;
Rune *s;
va_list arg;
if(p->aborting)
return;
va_start(arg, fmt);
s = runevsmprint(fmt, arg);
va_end(arg);
if(s == nil)
error("runevsmprint failed");
if(p->status){
free(p->status);
p->status = nil;
}
p->status = s;
qlock(&refreshlock);
for(r=refreshs; r!=nil; r=r->next)
if(r->p == p)
goto Return;
incref(p->w); /* flushrefresh will decref */
r = emalloc(sizeof(Refresh));
r->p = p;
r->next = refreshs;
refreshs = r;
Return:
nbsendp(crefresh, nil);
qunlock(&refreshlock);
}
/* called while row is locked */
void
flushrefresh(void)
{
Refresh *r, *next;
Page *p;
qlock(&refreshlock);
for(r=refreshs; r!=nil; r=next){
p = r->p;
if(p->changed==TRUE && p->aborting==FALSE){
p->changed = FALSE;
if(p->parent==nil || p->loading==FALSE)
pagerender(p);
pagerefresh(p);
}
if(p->status){
winsetstatus(p->w, p->status);
free(p->status);
p->status = nil;
}
winseturl(p->w);
winsettag(p->w);
decref(p->w);
next = r->next;
free(r);
}
refreshs = nil;
qunlock(&refreshlock);
}
void
savemouse(Window *w)
{
prevmouse = mouse->xy;
mousew = w;
}
void
restoremouse(Window *w)
{
if(mousew!=nil && mousew==w)
moveto(mousectl, prevmouse);
mousew = nil;
}
void
clearmouse()
{
mousew = nil;
}
/*
* Heuristic city.
*/
Window*
makenewwindow(Page *p)
{
Column *c;
Window *w, *bigw, *emptyw;
Page *emptyp;
int i, y, el;
if(activecol)
c = activecol;
else if(selpage && selpage->col)
c = selpage->col;
else if(p && p->col)
c = p->col;
else{
if(row.ncol==0 && rowadd(&row, nil, -1)==nil)
error("can't make column");
c = row.col[row.ncol-1];
}
activecol = c;
if(p==nil || p->w==nil || c->nw==0)
return coladd(c, nil, nil, -1);
/* find biggest window and biggest blank spot */
emptyw = c->w[0];
bigw = emptyw;
for(i=1; i<c->nw; i++){
w = c->w[i];
/* use >= to choose one near bottom of screen */
if(Dy(w->page.all) >= Dy(bigw->page.all))
bigw = w;
if(w->page.lay==nil && Dy(w->page.all) >= Dy(emptyw->page.all))
emptyw = w;
}
emptyp = &emptyw->page;
el = Dy(emptyp->all);
/* if empty space is big, use it */
if(el>15 || (el>3 && el>(Dy(bigw->page.all)-1)/2))
y = emptyp->all.max.y;
else{
/* if this window is in column and isn't much smaller, split it */
if(p->col==c && Dy(p->w->r)>2*Dy(bigw->r)/3)
bigw = p->w;
y = (bigw->r.min.y + bigw->r.max.y)/2;
}
w = coladd(c, nil, nil, y);
colgrow(w->col, w, 1);
return w;
}