All of lore.kernel.org
 help / color / mirror / Atom feed
* BUG: unable to handle kernel paging request
@ 2011-03-27  9:16 Anca Emanuel
  2011-03-27 15:37 ` Linus Torvalds
  0 siblings, 1 reply; 15+ messages in thread
From: Anca Emanuel @ 2011-03-27  9:16 UTC (permalink / raw)
  To: LKML; +Cc: Linus Torvalds

[-- Attachment #1: Type: text/plain, Size: 2980 bytes --]

Hi, I'm using latest kernel git.


[15117.080119] BUG: unable to handle kernel paging request at fffffffffffffff3
[15117.080152] IP: [<ffffffff811b4989>] vma_stop+0x19/0x40
[15117.080172] PGD 1a05067 PUD 1a06067 PMD 0
[15117.080191] Oops: 0000 [#1] SMP
[15117.080204] last sysfs file:
/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/uevent
[15117.080222] CPU 1
[15117.080229] Modules linked in: binfmt_misc parport_pc ppdev
snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm
snd_seq_midi snd_rawmidi adt7475 hwmon_vid snd_seq_midi_event snd_seq
nouveau snd_timer snd_seq_device ttm snd drm_kms_helper soundcore drm
snd_page_alloc i2c_algo_bit psmouse serio_raw video r8169 intel_agp
intel_gtt lp parport mii pata_marvell ahci libahci
[15117.080379]
[15117.080387] Pid: 1446, comm: chromium-browse Not tainted
2.6.38-git18+ #3 MICRO-STAR INTERNATIONAL CO.,LTD MS-7360/MS-7360
[15117.080412] RIP: 0010:[<ffffffff811b4989>]  [<ffffffff811b4989>]
vma_stop+0x19/0x40
[15117.080430] RSP: 0018:ffff8800654a3e48  EFLAGS: 00010213
[15117.080440] RAX: 00000000fffffff3 RBX: ffff88006c6ae7e0 RCX: 0000000000000013
[15117.080453] RDX: ffffffff81619200 RSI: fffffffffffffff3 RDI: ffff88006c6ae7e0
[15117.080465] RBP: ffff8800654a3e58 R08: 0000000000000001 R09: 0000000000000000
[15117.080478] R10: 0000000000000022 R11: 0000000000000293 R12: ffff88002509aa00
[15117.080490] R13: fffffffffffffff3 R14: ffff88005d142480 R15: ffff8800654a3ec0
[15117.080503] FS:  00007ff183615920(0000) GS:ffff88007fc80000(0000)
knlGS:0000000000000000
[15117.080517] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[15117.080529] CR2: fffffffffffffff3 CR3: 00000000654ab000 CR4: 00000000000006e0
[15117.080541] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[15117.080554] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[15117.080567] Process chromium-browse (pid: 1446, threadinfo
ffff8800654a2000, task ffff88006a05db00)
[15117.080581] Stack:
[15117.080588]  0000000000000000 ffff88006c6ae7e0 ffff8800654a3e78
ffffffff811b4a3a
[15117.080613]  ffff88005d142480 ffff88005d142480 ffff8800654a3ef8
ffffffff8117d991
[15117.080637]  00000000fffffff3 00007fff1aecb250 ffff88002509aa38
ffff8800654a3f48
[15117.080660] Call Trace:
[15117.080671]  [<ffffffff811b4a3a>] m_stop+0x1a/0x40
[15117.080685]  [<ffffffff8117d991>] seq_read+0x1e1/0x420
[15117.080698]  [<ffffffff8115c685>] vfs_read+0xc5/0x190
[15117.080711]  [<ffffffff8115c851>] sys_read+0x51/0x90
[15117.080724]  [<ffffffff815b2d02>] system_call_fastpath+0x16/0x1b
[15117.080736] Code: c9 90 c3 eb 0d 90 90 90 90 90 90 90 90 90 90 90
90 90 55 48 89 e5 53 48 83 ec 08 0f 1f 44 00 00 48 85 f6 74 1a 48 39
77 10 74 14
[15117.080872]  8b 1e 48 8d 7b 60 e8 eb 2f ed ff 48 89 df e8 43 9b ea ff 48
[15117.080940] RIP  [<ffffffff811b4989>] vma_stop+0x19/0x40
[15117.080955]  RSP <ffff8800654a3e48>
[15117.080963] CR2: fffffffffffffff3
[15117.113062] ---[ end trace 4aa56b1e030e2b1e ]---

[-- Attachment #2: error.txt --]
[-- Type: text/plain, Size: 55930 bytes --]

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.38-git18+ (root@ubuntu) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) ) #3 SMP Sat Mar 26 11:34:32 EET 2011
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.38-git18+ root=UUID=47201eff-5173-4e6e-8a5d-731e1fe17b0e ro quiet splash
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[    0.000000]  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e3000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000007ffb0000 (usable)
[    0.000000]  BIOS-e820: 000000007ffb0000 - 000000007ffbe000 (ACPI data)
[    0.000000]  BIOS-e820: 000000007ffbe000 - 000000007fff0000 (ACPI NVS)
[    0.000000]  BIOS-e820: 000000007fff0000 - 0000000080000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI present.
[    0.000000] DMI: MICRO-STAR INTERNATIONAL CO.,LTD MS-7360/MS-7360, BIOS V1.10 11/11/2008
[    0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
[    0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
[    0.000000] No AGP bridge found
[    0.000000] last_pfn = 0x7ffb0 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF uncachable
[    0.000000]   C0000-CFFFF write-protect
[    0.000000]   D0000-DFFFF uncachable
[    0.000000]   E0000-EFFFF write-through
[    0.000000]   F0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 000000000 mask F80000000 write-back
[    0.000000]   1 disabled
[    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 [ffff8800000ff780] ff780
[    0.000000] initial memory mapped : 0 - 20000000
[    0.000000] Base memory trampoline at [ffff88000009a000] 9a000 size 20480
[    0.000000] init_memory_mapping: 0000000000000000-000000007ffb0000
[    0.000000]  0000000000 - 007fe00000 page 2M
[    0.000000]  007fe00000 - 007ffb0000 page 4k
[    0.000000] kernel direct mapping tables up to 7ffb0000 @ 7ffac000-7ffb0000
[    0.000000] RAMDISK: 37538000 - 37ff0000
[    0.000000] ACPI: RSDP 00000000000f9bb0 00014 (v00 ACPIAM)
[    0.000000] ACPI: RSDT 000000007ffb0000 00040 (v01 111108 RSDT0906 20081111 MSFT 00000097)
[    0.000000] ACPI: FACP 000000007ffb0200 00084 (v01 111108 FACP0906 20081111 MSFT 00000097)
[    0.000000] ACPI: DSDT 000000007ffb0440 05595 (v01  0AAAA 0AAAA000 00000000 INTL 20051117)
[    0.000000] ACPI: FACS 000000007ffbe000 00040
[    0.000000] ACPI: APIC 000000007ffb0390 0006C (v01 111108 APIC0906 20081111 MSFT 00000097)
[    0.000000] ACPI: MCFG 000000007ffb0400 0003C (v01 111108 OEMMCFG  20081111 MSFT 00000097)
[    0.000000] ACPI: OEMB 000000007ffbe040 00071 (v01 111108 OEMB0906 20081111 MSFT 00000097)
[    0.000000] ACPI: HPET 000000007ffb59e0 00038 (v01 111108 OEMHPET  20081111 MSFT 00000097)
[    0.000000] ACPI: GSCI 000000007ffbe0c0 02024 (v01 111108 GMCHSCI  20081111 MSFT 00000097)
[    0.000000] ACPI: SSDT 000000007ffc0570 00A7C (v01 DpgPmm    CpuPm 00000012 INTL 20051117)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at 0000000000000000-000000007ffb0000
[    0.000000] NUMA: Using 63 for the hash shift.
[    0.000000] Initmem setup node 0 0000000000000000-000000007ffb0000
[    0.000000]   NODE_DATA [000000007ffa7000 - 000000007ffabfff]
[    0.000000]  [ffffea0000000000-ffffea0001bfffff] PMD -> [ffff88007d600000-ffff88007f1fffff] on node 0
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   DMA32    0x00001000 -> 0x00100000
[    0.000000]   Normal   empty
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000010 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x0007ffb0
[    0.000000] On node 0 totalpages: 524095
[    0.000000]   DMA zone: 56 pages used for memmap
[    0.000000]   DMA zone: 5 pages reserved
[    0.000000]   DMA zone: 3922 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 7111 pages used for memmap
[    0.000000]   DMA32 zone: 513001 pages, LIFO batch:31
[    0.000000] ACPI: PM-Timer IO Port: 0x808
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0xffffffff base: 0xfed00000
[    0.000000] SMP: Allowing 4 CPUs, 2 hotplug CPUs
[    0.000000] nr_irqs_gsi: 40
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e3000
[    0.000000] PM: Registered nosave memory: 00000000000e3000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at 80000000 (gap: 80000000:7ee00000)
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff88007fc00000 s84480 r8192 d22016 u524288
[    0.000000] pcpu-alloc: s84480 r8192 d22016 u524288 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 1 2 3 
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 516923
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.38-git18+ root=UUID=47201eff-5173-4e6e-8a5d-731e1fe17b0e ro quiet splash
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Calgary: detecting Calgary via BIOS EBDA area
[    0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[    0.000000] Memory: 2042868k/2096832k available (5851k kernel code, 452k absent, 53512k reserved, 5072k data, 964k init)
[    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] 	RCU-based detection of stalled CPUs is disabled.
[    0.000000] NR_IRQS:4352 nr_irqs:712 16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [tty0] enabled
[    0.000000] allocated 16777216 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] hpet clockevent registered
[    0.000000] Fast TSC calibration using PIT
[    0.000000] Detected 2000.845 MHz processor.
[    0.010005] Calibrating delay loop (skipped), value calculated using timer frequency.. 4001.69 BogoMIPS (lpj=20008450)
[    0.010010] pid_max: default: 32768 minimum: 301
[    0.010040] Security Framework initialized
[    0.010058] AppArmor: AppArmor initialized
[    0.010319] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.011418] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.011895] Mount-cache hash table entries: 256
[    0.012060] Initializing cgroup subsys ns
[    0.012065] ns_cgroup deprecated: consider using the 'clone_children' flag without the ns_cgroup.
[    0.012069] Initializing cgroup subsys cpuacct
[    0.012074] Initializing cgroup subsys memory
[    0.012083] Initializing cgroup subsys devices
[    0.012086] Initializing cgroup subsys freezer
[    0.012089] Initializing cgroup subsys net_cls
[    0.012125] CPU: Physical Processor ID: 0
[    0.012127] CPU: Processor Core ID: 0
[    0.012130] mce: CPU supports 6 MCE banks
[    0.012139] CPU0: Thermal monitoring enabled (TM2)
[    0.012144] using mwait in idle threads.
[    0.015127] ACPI: Core revision 20110316
[    0.018199] ftrace: allocating 22214 entries in 88 pages
[    0.020064] Setting APIC routing to flat
[    0.020371] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.129404] CPU0: Intel(R) Pentium(R) Dual  CPU  E2180  @ 2.00GHz stepping 0d
[    0.130000] Performance Events: PEBS fmt0+, Core2 events, Intel PMU driver.
[    0.130000] PEBS disabled due to CPU errata.
[    0.130000] ... version:                2
[    0.130000] ... bit width:              40
[    0.130000] ... generic registers:      2
[    0.130000] ... value mask:             000000ffffffffff
[    0.130000] ... max period:             000000007fffffff
[    0.130000] ... fixed-purpose events:   3
[    0.130000] ... event mask:             0000000700000003
[    0.130000] Booting Node   0, Processors  #1
[    0.130000] smpboot cpu 1: start_ip = 9a000
[    0.290019] Brought up 2 CPUs
[    0.290023] Total of 2 processors activated (8003.08 BogoMIPS).
[    0.290402] devtmpfs: initialized
[    0.290402] PM: Registering ACPI NVS region at 7ffbe000 (204800 bytes)
[    0.290949] print_constraints: dummy: 
[    0.290973] Time:  7:52:12  Date: 03/27/11
[    0.291015] NET: Registered protocol family 16
[    0.291121] ACPI: bus type pci registered
[    0.291178] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.291182] PCI: not using MMCONFIG
[    0.291184] PCI: Using configuration type 1 for base access
[    0.291999] bio: create slab <bio-0> at 0
[    0.291999] ACPI: EC: Detected MSI hardware, enabling workarounds.
[    0.291999] ACPI: EC: Look up EC in DSDT
[    0.292768] ACPI: Executed 1 blocks of module-level executable AML code
[    0.295198] ACPI: SSDT 000000007ffc00f0 00235 (v01 DpgPmm  P001Ist 00000011 INTL 20051117)
[    0.295512] ACPI: Dynamic OEM Table Load:
[    0.295516] ACPI: SSDT           (null) 00235 (v01 DpgPmm  P001Ist 00000011 INTL 20051117)
[    0.295757] ACPI: SSDT 000000007ffc0330 00235 (v01 DpgPmm  P002Ist 00000012 INTL 20051117)
[    0.296066] ACPI: Dynamic OEM Table Load:
[    0.296069] ACPI: SSDT           (null) 00235 (v01 DpgPmm  P002Ist 00000012 INTL 20051117)
[    0.296320] ACPI: Interpreter enabled
[    0.296324] ACPI: (supports S0 S3 S4 S5)
[    0.296343] ACPI: Using IOAPIC for interrupt routing
[    0.296366] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.300300] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in ACPI motherboard resources
[    0.344144] ACPI: No dock devices found.
[    0.344148] HEST: Table not found.
[    0.344152] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.344333] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.344505] pci_root PNP0A08:00: host bridge window [io  0x0000-0x0cf7]
[    0.344509] pci_root PNP0A08:00: host bridge window [io  0x0d00-0xffff]
[    0.344512] pci_root PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff]
[    0.344515] pci_root PNP0A08:00: host bridge window [mem 0x000d0000-0x000dffff]
[    0.344518] pci_root PNP0A08:00: host bridge window [mem 0x80000000-0xdfffffff]
[    0.344520] pci_root PNP0A08:00: host bridge window [mem 0xf0000000-0xffffffff]
[    0.344535] pci 0000:00:00.0: [8086:29c0] type 0 class 0x000600
[    0.344583] pci 0000:00:01.0: [8086:29c1] type 1 class 0x000604
[    0.344619] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[    0.344623] pci 0000:00:01.0: PME# disabled
[    0.344665] pci 0000:00:1a.0: [8086:2937] type 0 class 0x000c03
[    0.344710] pci 0000:00:1a.0: reg 20: [io  0xbc00-0xbc1f]
[    0.344756] pci 0000:00:1a.1: [8086:2938] type 0 class 0x000c03
[    0.344801] pci 0000:00:1a.1: reg 20: [io  0xb880-0xb89f]
[    0.344857] pci 0000:00:1a.7: [8086:293c] type 0 class 0x000c03
[    0.344880] pci 0000:00:1a.7: reg 10: [mem 0xf9fffc00-0xf9ffffff]
[    0.344955] pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
[    0.344960] pci 0000:00:1a.7: PME# disabled
[    0.344987] pci 0000:00:1b.0: [8086:293e] type 0 class 0x000403
[    0.345004] pci 0000:00:1b.0: reg 10: [mem 0xf9ff8000-0xf9ffbfff 64bit]
[    0.345060] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[    0.345065] pci 0000:00:1b.0: PME# disabled
[    0.345085] pci 0000:00:1c.0: [8086:2940] type 1 class 0x000604
[    0.345142] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.345147] pci 0000:00:1c.0: PME# disabled
[    0.345172] pci 0000:00:1c.4: [8086:2948] type 1 class 0x000604
[    0.345228] pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
[    0.345233] pci 0000:00:1c.4: PME# disabled
[    0.345255] pci 0000:00:1c.5: [8086:294a] type 1 class 0x000604
[    0.345312] pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
[    0.345316] pci 0000:00:1c.5: PME# disabled
[    0.345341] pci 0000:00:1d.0: [8086:2934] type 0 class 0x000c03
[    0.345386] pci 0000:00:1d.0: reg 20: [io  0xb800-0xb81f]
[    0.345432] pci 0000:00:1d.1: [8086:2935] type 0 class 0x000c03
[    0.345477] pci 0000:00:1d.1: reg 20: [io  0xb480-0xb49f]
[    0.345523] pci 0000:00:1d.2: [8086:2936] type 0 class 0x000c03
[    0.345568] pci 0000:00:1d.2: reg 20: [io  0xb400-0xb41f]
[    0.345614] pci 0000:00:1d.3: [8086:2939] type 0 class 0x000c03
[    0.345659] pci 0000:00:1d.3: reg 20: [io  0xb080-0xb09f]
[    0.345715] pci 0000:00:1d.7: [8086:293a] type 0 class 0x000c03
[    0.345737] pci 0000:00:1d.7: reg 10: [mem 0xf9fff800-0xf9fffbff]
[    0.345813] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
[    0.345818] pci 0000:00:1d.7: PME# disabled
[    0.345838] pci 0000:00:1e.0: [8086:244e] type 1 class 0x000604
[    0.345897] pci 0000:00:1f.0: [8086:2918] type 0 class 0x000601
[    0.345981] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0a00 (mask 00ff)
[    0.346021] pci 0000:00:1f.2: [8086:2921] type 0 class 0x000101
[    0.346038] pci 0000:00:1f.2: reg 10: [io  0xb000-0xb007]
[    0.346047] pci 0000:00:1f.2: reg 14: [io  0xac00-0xac03]
[    0.346055] pci 0000:00:1f.2: reg 18: [io  0xa880-0xa887]
[    0.346064] pci 0000:00:1f.2: reg 1c: [io  0xa800-0xa803]
[    0.346073] pci 0000:00:1f.2: reg 20: [io  0xa480-0xa48f]
[    0.346081] pci 0000:00:1f.2: reg 24: [io  0xa400-0xa40f]
[    0.346120] pci 0000:00:1f.3: [8086:2930] type 0 class 0x000c05
[    0.346136] pci 0000:00:1f.3: reg 10: [mem 0xf9fff400-0xf9fff4ff 64bit]
[    0.346159] pci 0000:00:1f.3: reg 20: [io  0x0400-0x041f]
[    0.346193] pci 0000:00:1f.5: [8086:2926] type 0 class 0x000101
[    0.346210] pci 0000:00:1f.5: reg 10: [io  0xa000-0xa007]
[    0.346219] pci 0000:00:1f.5: reg 14: [io  0x9c00-0x9c03]
[    0.346227] pci 0000:00:1f.5: reg 18: [io  0x9880-0x9887]
[    0.346236] pci 0000:00:1f.5: reg 1c: [io  0x9800-0x9803]
[    0.346245] pci 0000:00:1f.5: reg 20: [io  0x9480-0x948f]
[    0.346254] pci 0000:00:1f.5: reg 24: [io  0x9400-0x940f]
[    0.346328] pci 0000:01:00.0: [10de:0611] type 0 class 0x000300
[    0.346340] pci 0000:01:00.0: reg 10: [mem 0xfd000000-0xfdffffff]
[    0.346353] pci 0000:01:00.0: reg 14: [mem 0xd0000000-0xdfffffff 64bit pref]
[    0.346365] pci 0000:01:00.0: reg 1c: [mem 0xfa000000-0xfbffffff 64bit]
[    0.346374] pci 0000:01:00.0: reg 24: [io  0xcc00-0xcc7f]
[    0.346382] pci 0000:01:00.0: reg 30: [mem 0xfe9e0000-0xfe9fffff pref]
[    0.346428] pci 0000:00:01.0: PCI bridge to [bus 01-01]
[    0.346432] pci 0000:00:01.0:   bridge window [io  0xc000-0xcfff]
[    0.346435] pci 0000:00:01.0:   bridge window [mem 0xfa000000-0xfe9fffff]
[    0.346440] pci 0000:00:01.0:   bridge window [mem 0xd0000000-0xdfffffff 64bit pref]
[    0.346482] pci 0000:00:1c.0: PCI bridge to [bus 02-02]
[    0.346487] pci 0000:00:1c.0:   bridge window [io  0xf000-0x0000] (disabled)
[    0.346491] pci 0000:00:1c.0:   bridge window [mem 0xfff00000-0x000fffff] (disabled)
[    0.346498] pci 0000:00:1c.0:   bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
[    0.346557] pci 0000:03:00.0: [11ab:6121] type 0 class 0x000101
[    0.346575] pci 0000:03:00.0: reg 10: [io  0xdc00-0xdc07]
[    0.346588] pci 0000:03:00.0: reg 14: [io  0xd880-0xd883]
[    0.346600] pci 0000:03:00.0: reg 18: [io  0xd800-0xd807]
[    0.346613] pci 0000:03:00.0: reg 1c: [io  0xd480-0xd483]
[    0.346626] pci 0000:03:00.0: reg 20: [io  0xd400-0xd40f]
[    0.346639] pci 0000:03:00.0: reg 24: [mem 0xfeaffc00-0xfeafffff]
[    0.346684] pci 0000:03:00.0: supports D1
[    0.346687] pci 0000:03:00.0: PME# supported from D0 D1 D3hot
[    0.346692] pci 0000:03:00.0: PME# disabled
[    0.346710] pci 0000:03:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    0.346720] pci 0000:00:1c.4: PCI bridge to [bus 03-03]
[    0.346724] pci 0000:00:1c.4:   bridge window [io  0xd000-0xdfff]
[    0.346728] pci 0000:00:1c.4:   bridge window [mem 0xfea00000-0xfeafffff]
[    0.346735] pci 0000:00:1c.4:   bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
[    0.346801] pci 0000:04:00.0: [10ec:8168] type 0 class 0x000200
[    0.346821] pci 0000:04:00.0: reg 10: [io  0xe800-0xe8ff]
[    0.346853] pci 0000:04:00.0: reg 18: [mem 0xfebff000-0xfebfffff 64bit]
[    0.346891] pci 0000:04:00.0: reg 30: [mem 0xfebc0000-0xfebdffff pref]
[    0.346939] pci 0000:04:00.0: supports D1 D2
[    0.346941] pci 0000:04:00.0: PME# supported from D1 D2 D3hot D3cold
[    0.346947] pci 0000:04:00.0: PME# disabled
[    0.346970] pci 0000:04:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    0.346980] pci 0000:00:1c.5: PCI bridge to [bus 04-04]
[    0.346984] pci 0000:00:1c.5:   bridge window [io  0xe000-0xefff]
[    0.346989] pci 0000:00:1c.5:   bridge window [mem 0xfeb00000-0xfebfffff]
[    0.346995] pci 0000:00:1c.5:   bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
[    0.347059] pci 0000:00:1e.0: PCI bridge to [bus 05-05] (subtractive decode)
[    0.347063] pci 0000:00:1e.0:   bridge window [io  0xf000-0x0000] (disabled)
[    0.347068] pci 0000:00:1e.0:   bridge window [mem 0xfff00000-0x000fffff] (disabled)
[    0.347074] pci 0000:00:1e.0:   bridge window [mem 0xfff00000-0x000fffff pref] (disabled)
[    0.347078] pci 0000:00:1e.0:   bridge window [io  0x0000-0x0cf7] (subtractive decode)
[    0.347081] pci 0000:00:1e.0:   bridge window [io  0x0d00-0xffff] (subtractive decode)
[    0.347083] pci 0000:00:1e.0:   bridge window [mem 0x000a0000-0x000bffff] (subtractive decode)
[    0.347086] pci 0000:00:1e.0:   bridge window [mem 0x000d0000-0x000dffff] (subtractive decode)
[    0.347089] pci 0000:00:1e.0:   bridge window [mem 0x80000000-0xdfffffff] (subtractive decode)
[    0.347092] pci 0000:00:1e.0:   bridge window [mem 0xf0000000-0xffffffff] (subtractive decode)
[    0.347115] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.347205] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
[    0.347292] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
[    0.347329] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P8._PRT]
[    0.347358] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P9._PRT]
[    0.347466]  pci0000:00: Requesting ACPI _OSC control (0x1d)
[    0.347607]  pci0000:00: ACPI _OSC control (0x1d) granted
[    0.355074] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 6 7 *10 11 12 14 15)
[    0.355124] ACPI: PCI Interrupt Link [LNKB] (IRQs *5)
[    0.355168] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 6 7 10 11 12 *14 15)
[    0.355216] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 10 *11 12 14 15)
[    0.355263] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 6 7 10 11 12 14 15) *0, disabled.
[    0.355311] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 6 7 10 11 12 14 *15)
[    0.355358] ACPI: PCI Interrupt Link [LNKG] (IRQs *3 4 6 7 10 11 12 14 15)
[    0.355405] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 6 *7 10 11 12 14 15)
[    0.355549] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
[    0.355553] vgaarb: loaded
[    0.355704] SCSI subsystem initialized
[    0.355731] libata version 3.00 loaded.
[    0.355731] usbcore: registered new interface driver usbfs
[    0.355731] usbcore: registered new interface driver hub
[    0.355731] usbcore: registered new device driver usb
[    0.355731] wmi: Mapper loaded
[    0.355731] PCI: Using ACPI for IRQ routing
[    0.355731] PCI: pci_cache_line_size set to 64 bytes
[    0.355731] reserve RAM buffer: 000000000009f800 - 000000000009ffff 
[    0.355731] reserve RAM buffer: 000000007ffb0000 - 000000007fffffff 
[    0.355731] NetLabel: Initializing
[    0.355731] NetLabel:  domain hash size = 128
[    0.355731] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.355731] NetLabel:  unlabeled traffic allowed by default
[    0.355731] HPET: 4 timers in total, 0 timers will be used for per-cpu timer
[    0.355731] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0
[    0.355731] hpet0: 4 comparators, 64-bit 14.318180 MHz counter
[    0.360019] Switching to clocksource hpet
[    0.367559] AppArmor: AppArmor Filesystem Enabled
[    0.367597] pnp: PnP ACPI init
[    0.367614] ACPI: bus type pnp registered
[    0.367754] pnp 00:00: [bus 00-ff]
[    0.367757] pnp 00:00: [io  0x0cf8-0x0cff]
[    0.367760] pnp 00:00: [io  0x0000-0x0cf7 window]
[    0.367763] pnp 00:00: [io  0x0d00-0xffff window]
[    0.367765] pnp 00:00: [mem 0x000a0000-0x000bffff window]
[    0.367768] pnp 00:00: [mem 0x000d0000-0x000dffff window]
[    0.367770] pnp 00:00: [mem 0x80000000-0xdfffffff window]
[    0.367772] pnp 00:00: [mem 0xf0000000-0xffffffff window]
[    0.367842] pnp 00:00: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
[    0.367853] pnp 00:01: [mem 0xfed14000-0xfed19fff]
[    0.367914] system 00:01: [mem 0xfed14000-0xfed19fff] has been reserved
[    0.367918] system 00:01: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.367955] pnp 00:02: [dma 4]
[    0.367957] pnp 00:02: [io  0x0000-0x000f]
[    0.367960] pnp 00:02: [io  0x0081-0x0083]
[    0.367962] pnp 00:02: [io  0x0087]
[    0.367964] pnp 00:02: [io  0x0089-0x008b]
[    0.367966] pnp 00:02: [io  0x008f]
[    0.367967] pnp 00:02: [io  0x00c0-0x00df]
[    0.367992] pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active)
[    0.368004] pnp 00:03: [io  0x0070-0x0071]
[    0.368016] pnp 00:03: [irq 8]
[    0.368040] pnp 00:03: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.368050] pnp 00:04: [io  0x0061]
[    0.368074] pnp 00:04: Plug and Play ACPI device, IDs PNP0800 (active)
[    0.368083] pnp 00:05: [io  0x00f0-0x00ff]
[    0.368089] pnp 00:05: [irq 13]
[    0.368117] pnp 00:05: Plug and Play ACPI device, IDs PNP0c04 (active)
[    0.368343] pnp 00:06: [io  0x03f8-0x03ff]
[    0.368349] pnp 00:06: [irq 4]
[    0.368351] pnp 00:06: [dma 0 disabled]
[    0.368418] pnp 00:06: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.368640] pnp 00:07: [io  0x0060]
[    0.368643] pnp 00:07: [io  0x0064]
[    0.368648] pnp 00:07: [irq 1]
[    0.368676] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 PNP030b (active)
[    0.368721] pnp 00:08: [irq 12]
[    0.368749] pnp 00:08: Plug and Play ACPI device, IDs PNP0f03 PNP0f13 (active)
[    0.368834] pnp 00:09: [io  0x0000-0xffffffffffffffff disabled]
[    0.368837] pnp 00:09: [io  0x0a00-0x0adf]
[    0.368839] pnp 00:09: [io  0x0ae0-0x0aef]
[    0.368889] system 00:09: [io  0x0a00-0x0adf] has been reserved
[    0.368892] system 00:09: [io  0x0ae0-0x0aef] has been reserved
[    0.368896] system 00:09: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.368968] pnp 00:0a: [io  0x0010-0x001f]
[    0.368971] pnp 00:0a: [io  0x0022-0x003f]
[    0.368973] pnp 00:0a: [io  0x0044-0x005f]
[    0.368975] pnp 00:0a: [io  0x0062-0x0063]
[    0.368977] pnp 00:0a: [io  0x0065-0x006f]
[    0.368979] pnp 00:0a: [io  0x0072-0x007f]
[    0.368981] pnp 00:0a: [io  0x0080]
[    0.368983] pnp 00:0a: [io  0x0084-0x0086]
[    0.368985] pnp 00:0a: [io  0x0088]
[    0.368987] pnp 00:0a: [io  0x008c-0x008e]
[    0.368989] pnp 00:0a: [io  0x0090-0x009f]
[    0.368991] pnp 00:0a: [io  0x00a2-0x00bf]
[    0.368993] pnp 00:0a: [io  0x00e0-0x00ef]
[    0.368995] pnp 00:0a: [io  0x04d0-0x04d1]
[    0.368997] pnp 00:0a: [io  0x0800-0x087f]
[    0.368999] pnp 00:0a: [io  0x0000-0xffffffffffffffff disabled]
[    0.369002] pnp 00:0a: [io  0x0480-0x04bf]
[    0.369004] pnp 00:0a: [mem 0xfed1c000-0xfed1ffff]
[    0.369006] pnp 00:0a: [mem 0xfed20000-0xfed8ffff]
[    0.369078] system 00:0a: [io  0x04d0-0x04d1] has been reserved
[    0.369081] system 00:0a: [io  0x0800-0x087f] has been reserved
[    0.369084] system 00:0a: [io  0x0480-0x04bf] has been reserved
[    0.369087] system 00:0a: [mem 0xfed1c000-0xfed1ffff] has been reserved
[    0.369090] system 00:0a: [mem 0xfed20000-0xfed8ffff] has been reserved
[    0.369094] system 00:0a: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.369154] pnp 00:0b: [mem 0xfed00000-0xfed003ff]
[    0.369185] pnp 00:0b: Plug and Play ACPI device, IDs PNP0103 (active)
[    0.369233] pnp 00:0c: [mem 0xffb00000-0xffbfffff]
[    0.369236] pnp 00:0c: [mem 0xfff00000-0xffffffff]
[    0.369264] pnp 00:0c: Plug and Play ACPI device, IDs INT0800 (active)
[    0.369305] pnp 00:0d: [mem 0xffc00000-0xffefffff]
[    0.369354] system 00:0d: [mem 0xffc00000-0xffefffff] has been reserved
[    0.369358] system 00:0d: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.369434] pnp 00:0e: [mem 0xfec00000-0xfec00fff]
[    0.369437] pnp 00:0e: [mem 0xfee00000-0xfee00fff]
[    0.369489] system 00:0e: [mem 0xfec00000-0xfec00fff] could not be reserved
[    0.369492] system 00:0e: [mem 0xfee00000-0xfee00fff] has been reserved
[    0.369496] system 00:0e: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.369534] pnp 00:0f: [mem 0xe0000000-0xefffffff]
[    0.369583] system 00:0f: [mem 0xe0000000-0xefffffff] has been reserved
[    0.369587] system 00:0f: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.369750] pnp 00:10: [mem 0x00000000-0x0009ffff]
[    0.369753] pnp 00:10: [mem 0x000c0000-0x000cffff]
[    0.369755] pnp 00:10: [mem 0x000e0000-0x000fffff]
[    0.369758] pnp 00:10: [mem 0x00100000-0x7fffffff]
[    0.369760] pnp 00:10: [mem 0x00000000-0xffffffffffffffff disabled]
[    0.369823] system 00:10: [mem 0x00000000-0x0009ffff] could not be reserved
[    0.369827] system 00:10: [mem 0x000c0000-0x000cffff] has been reserved
[    0.369830] system 00:10: [mem 0x000e0000-0x000fffff] could not be reserved
[    0.369833] system 00:10: [mem 0x00100000-0x7fffffff] could not be reserved
[    0.369837] system 00:10: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.369906] Switched to NOHz mode on CPU #0
[    0.369942] Switched to NOHz mode on CPU #1
[    0.369985] pnp: PnP ACPI: found 17 devices
[    0.369987] ACPI: ACPI bus type pnp unregistered
[    0.376085] pci 0000:00:1c.0: BAR 13: assigned [io  0x1000-0x1fff]
[    0.376089] pci 0000:00:01.0: PCI bridge to [bus 01-01]
[    0.376092] pci 0000:00:01.0:   bridge window [io  0xc000-0xcfff]
[    0.376097] pci 0000:00:01.0:   bridge window [mem 0xfa000000-0xfe9fffff]
[    0.376101] pci 0000:00:01.0:   bridge window [mem 0xd0000000-0xdfffffff 64bit pref]
[    0.376106] pci 0000:00:1c.0: PCI bridge to [bus 02-02]
[    0.376109] pci 0000:00:1c.0:   bridge window [io  0x1000-0x1fff]
[    0.376114] pci 0000:00:1c.0:   bridge window [mem disabled]
[    0.376118] pci 0000:00:1c.0:   bridge window [mem pref disabled]
[    0.376125] pci 0000:00:1c.4: PCI bridge to [bus 03-03]
[    0.376128] pci 0000:00:1c.4:   bridge window [io  0xd000-0xdfff]
[    0.376133] pci 0000:00:1c.4:   bridge window [mem 0xfea00000-0xfeafffff]
[    0.376138] pci 0000:00:1c.4:   bridge window [mem pref disabled]
[    0.376144] pci 0000:00:1c.5: PCI bridge to [bus 04-04]
[    0.376147] pci 0000:00:1c.5:   bridge window [io  0xe000-0xefff]
[    0.376152] pci 0000:00:1c.5:   bridge window [mem 0xfeb00000-0xfebfffff]
[    0.376156] pci 0000:00:1c.5:   bridge window [mem pref disabled]
[    0.376163] pci 0000:00:1e.0: PCI bridge to [bus 05-05]
[    0.376165] pci 0000:00:1e.0:   bridge window [io  disabled]
[    0.376170] pci 0000:00:1e.0:   bridge window [mem disabled]
[    0.376174] pci 0000:00:1e.0:   bridge window [mem pref disabled]
[    0.376196] pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    0.376200] pci 0000:00:01.0: setting latency timer to 64
[    0.376206] pci 0000:00:1c.0: enabling device (0104 -> 0105)
[    0.376214] pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    0.376219] pci 0000:00:1c.0: setting latency timer to 64
[    0.376226] pci 0000:00:1c.4: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    0.376230] pci 0000:00:1c.4: setting latency timer to 64
[    0.376236] pci 0000:00:1c.5: PCI INT B -> GSI 16 (level, low) -> IRQ 16
[    0.376241] pci 0000:00:1c.5: setting latency timer to 64
[    0.376248] pci 0000:00:1e.0: setting latency timer to 64
[    0.376252] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7]
[    0.376254] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff]
[    0.376257] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
[    0.376260] pci_bus 0000:00: resource 7 [mem 0x000d0000-0x000dffff]
[    0.376262] pci_bus 0000:00: resource 8 [mem 0x80000000-0xdfffffff]
[    0.376265] pci_bus 0000:00: resource 9 [mem 0xf0000000-0xffffffff]
[    0.376268] pci_bus 0000:01: resource 0 [io  0xc000-0xcfff]
[    0.376270] pci_bus 0000:01: resource 1 [mem 0xfa000000-0xfe9fffff]
[    0.376273] pci_bus 0000:01: resource 2 [mem 0xd0000000-0xdfffffff 64bit pref]
[    0.376276] pci_bus 0000:02: resource 0 [io  0x1000-0x1fff]
[    0.376279] pci_bus 0000:03: resource 0 [io  0xd000-0xdfff]
[    0.376282] pci_bus 0000:03: resource 1 [mem 0xfea00000-0xfeafffff]
[    0.376284] pci_bus 0000:04: resource 0 [io  0xe000-0xefff]
[    0.376287] pci_bus 0000:04: resource 1 [mem 0xfeb00000-0xfebfffff]
[    0.376290] pci_bus 0000:05: resource 4 [io  0x0000-0x0cf7]
[    0.376292] pci_bus 0000:05: resource 5 [io  0x0d00-0xffff]
[    0.376295] pci_bus 0000:05: resource 6 [mem 0x000a0000-0x000bffff]
[    0.376298] pci_bus 0000:05: resource 7 [mem 0x000d0000-0x000dffff]
[    0.376300] pci_bus 0000:05: resource 8 [mem 0x80000000-0xdfffffff]
[    0.376303] pci_bus 0000:05: resource 9 [mem 0xf0000000-0xffffffff]
[    0.376343] NET: Registered protocol family 2
[    0.376463] IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.377194] TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
[    0.379140] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.379616] TCP: Hash tables configured (established 262144 bind 65536)
[    0.379620] TCP reno registered
[    0.379636] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.379659] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.379809] NET: Registered protocol family 1
[    0.380030] pci 0000:01:00.0: Boot video device
[    0.380040] PCI: CLS 32 bytes, default 64
[    0.380102] Trying to unpack rootfs image as initramfs...
[    0.646233] Freeing initrd memory: 10976k freed
[    0.651597] audit: initializing netlink socket (disabled)
[    0.651612] type=2000 audit(1301212331.650:1): initialized
[    0.676323] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.678300] VFS: Disk quotas dquot_6.5.2
[    0.678363] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.679050] fuse init (API version 7.16)
[    0.679149] msgmni has been set to 4011
[    0.679385] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.679388] io scheduler noop registered
[    0.679390] io scheduler deadline registered
[    0.679434] io scheduler cfq registered (default)
[    0.679554] pcieport 0000:00:01.0: setting latency timer to 64
[    0.679590] pcieport 0000:00:01.0: irq 40 for MSI/MSI-X
[    0.679654] pcieport 0000:00:1c.0: setting latency timer to 64
[    0.679693] pcieport 0000:00:1c.0: irq 41 for MSI/MSI-X
[    0.679781] pcieport 0000:00:1c.4: setting latency timer to 64
[    0.679820] pcieport 0000:00:1c.4: irq 42 for MSI/MSI-X
[    0.679902] pcieport 0000:00:1c.5: setting latency timer to 64
[    0.679939] pcieport 0000:00:1c.5: irq 43 for MSI/MSI-X
[    0.680065] pcieport 0000:00:01.0: Signaling PME through PCIe PME interrupt
[    0.680068] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    0.680072] pcie_pme 0000:00:01.0:pcie01: service driver pcie_pme loaded
[    0.680090] pcieport 0000:00:1c.0: Signaling PME through PCIe PME interrupt
[    0.680095] pcie_pme 0000:00:1c.0:pcie01: service driver pcie_pme loaded
[    0.680112] pcieport 0000:00:1c.4: Signaling PME through PCIe PME interrupt
[    0.680115] pci 0000:03:00.0: Signaling PME through PCIe PME interrupt
[    0.680119] pcie_pme 0000:00:1c.4:pcie01: service driver pcie_pme loaded
[    0.680138] pcieport 0000:00:1c.5: Signaling PME through PCIe PME interrupt
[    0.680141] pci 0000:04:00.0: Signaling PME through PCIe PME interrupt
[    0.680146] pcie_pme 0000:00:1c.5:pcie01: service driver pcie_pme loaded
[    0.680165] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.680226] pciehp 0000:00:1c.0:pcie04: HPC vendor_id 8086 device_id 2940 ss_vid 1462 ss_did 7360
[    0.680245] pciehp 0000:00:1c.0:pcie04: service driver pciehp loaded
[    0.680257] pciehp 0000:00:1c.4:pcie04: HPC vendor_id 8086 device_id 2948 ss_vid 1462 ss_did 7360
[    0.680274] pciehp 0000:00:1c.4:pcie04: service driver pciehp loaded
[    0.680286] pciehp 0000:00:1c.5:pcie04: HPC vendor_id 8086 device_id 294a ss_vid 1462 ss_did 7360
[    0.680303] pciehp 0000:00:1c.5:pcie04: service driver pciehp loaded
[    0.680311] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.680399] intel_idle: MWAIT substates: 0x220
[    0.680401] intel_idle: does not run on family 6 model 15
[    0.680490] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0
[    0.680496] ACPI: Power Button [PWRB]
[    0.680542] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[    0.680545] ACPI: Power Button [PWRF]
[    0.680711] ACPI: acpi_idle registered with cpuidle
[    0.682680] ERST: Table is not found!
[    0.682760] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.703273] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.860770] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.861118] Linux agpgart interface v0.103
[    0.862185] brd: module loaded
[    0.862680] loop: module loaded
[    0.862892] ata_piix 0000:00:1f.2: version 2.13
[    0.862914] ata_piix 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    0.862920] ata_piix 0000:00:1f.2: MAP [ P0 -- P1 -- ]
[    0.862963] ata_piix 0000:00:1f.2: setting latency timer to 64
[    0.863194] scsi0 : ata_piix
[    0.863284] scsi1 : ata_piix
[    0.864291] ata1: SATA max UDMA/133 cmd 0xb000 ctl 0xac00 bmdma 0xa480 irq 19
[    0.864296] ata2: SATA max UDMA/133 cmd 0xa880 ctl 0xa800 bmdma 0xa488 irq 19
[    0.864347] ata_piix 0000:00:1f.5: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    0.864361] ata_piix 0000:00:1f.5: MAP [ P0 -- P1 -- ]
[    0.864400] ata_piix 0000:00:1f.5: setting latency timer to 64
[    0.864583] scsi2 : ata_piix
[    0.864648] scsi3 : ata_piix
[    0.865474] ata3: SATA max UDMA/133 cmd 0xa000 ctl 0x9c00 bmdma 0x9480 irq 19
[    0.865478] ata4: SATA max UDMA/133 cmd 0x9880 ctl 0x9800 bmdma 0x9488 irq 19
[    0.865551] pata_acpi 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    0.865583] pata_acpi 0000:03:00.0: setting latency timer to 64
[    0.865598] pata_acpi 0000:03:00.0: PCI INT A disabled
[    0.865917] Fixed MDIO Bus: probed
[    0.865950] PPP generic driver version 2.4.2
[    0.866007] tun: Universal TUN/TAP device driver, 1.6
[    0.866009] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.866098] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.866124] ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[    0.866141] ehci_hcd 0000:00:1a.7: setting latency timer to 64
[    0.866145] ehci_hcd 0000:00:1a.7: EHCI Host Controller
[    0.866189] ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
[    0.866246] ehci_hcd 0000:00:1a.7: debug port 1
[    0.870132] ehci_hcd 0000:00:1a.7: cache line size of 32 is not supported
[    0.870152] ehci_hcd 0000:00:1a.7: irq 18, io mem 0xf9fffc00
[    0.890010] ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
[    0.890131] hub 1-0:1.0: USB hub found
[    0.890136] hub 1-0:1.0: 4 ports detected
[    0.890215] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[    0.890228] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[    0.890232] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[    0.890275] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
[    0.900043] ehci_hcd 0000:00:1d.7: debug port 1
[    0.903910] ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
[    0.903926] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xf9fff800
[    0.920013] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[    0.920123] hub 2-0:1.0: USB hub found
[    0.920128] hub 2-0:1.0: 8 ports detected
[    0.920205] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.920220] uhci_hcd: USB Universal Host Controller Interface driver
[    0.920256] uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    0.920264] uhci_hcd 0000:00:1a.0: setting latency timer to 64
[    0.920267] uhci_hcd 0000:00:1a.0: UHCI Host Controller
[    0.920313] uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
[    0.920367] uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000bc00
[    0.920500] hub 3-0:1.0: USB hub found
[    0.920505] hub 3-0:1.0: 2 ports detected
[    0.920571] uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
[    0.920578] uhci_hcd 0000:00:1a.1: setting latency timer to 64
[    0.920582] uhci_hcd 0000:00:1a.1: UHCI Host Controller
[    0.920622] uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
[    0.920677] uhci_hcd 0000:00:1a.1: irq 21, io base 0x0000b880
[    0.920798] hub 4-0:1.0: USB hub found
[    0.920803] hub 4-0:1.0: 2 ports detected
[    0.920862] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[    0.920868] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[    0.920872] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[    0.920909] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
[    0.930044] uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000b800
[    0.930167] hub 5-0:1.0: USB hub found
[    0.930171] hub 5-0:1.0: 2 ports detected
[    0.930232] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    0.930238] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[    0.930241] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[    0.930277] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
[    0.930319] uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000b480
[    0.930440] hub 6-0:1.0: USB hub found
[    0.930444] hub 6-0:1.0: 2 ports detected
[    0.930504] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[    0.930511] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[    0.930515] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[    0.930552] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
[    0.930595] uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000b400
[    0.930719] hub 7-0:1.0: USB hub found
[    0.930723] hub 7-0:1.0: 2 ports detected
[    0.930788] uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 16 (level, low) -> IRQ 16
[    0.930794] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[    0.930797] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[    0.930844] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 8
[    0.930890] uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000b080
[    0.931016] hub 8-0:1.0: USB hub found
[    0.931020] hub 8-0:1.0: 2 ports detected
[    0.931148] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
[    0.933445] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.933453] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.933576] mousedev: PS/2 mouse device common for all mice
[    0.933690] rtc_cmos 00:03: RTC can wake from S4
[    0.933801] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[    0.933826] rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[    0.933923] device-mapper: uevent: version 1.0.3
[    0.934000] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
[    0.934081] device-mapper: multipath: version 1.3.0 loaded
[    0.934084] device-mapper: multipath round-robin: version 1.0.0 loaded
[    0.934160] cpuidle: using governor ladder
[    0.934163] cpuidle: using governor menu
[    0.934165] EFI Variables Facility v0.08 2004-May-17
[    0.934433] TCP cubic registered
[    0.934563] NET: Registered protocol family 10
[    0.935081] NET: Registered protocol family 17
[    0.935100] Registering the dns_resolver key type
[    0.935840] PM: Hibernation image not present or could not be loaded.
[    0.935854] registered taskstats version 1
[    0.936198]   Magic number: 3:91:876
[    0.936298] rtc_cmos 00:03: setting system clock to 2011-03-27 07:52:12 UTC (1301212332)
[    0.936301] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    0.936303] EDD information not available.
[    0.959344] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[    1.220737] ata4: SATA link down (SStatus 0 SControl 300)
[    1.231497] ata3: SATA link down (SStatus 0 SControl 300)
[    1.380043] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    1.380144] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.400125] ata2.00: ATAPI: PIONEER DVD-RW  DVR-212D, 1.24, max UDMA/66
[    1.400352] ata1.00: ATA-7: SAMSUNG HD103UJ, 1AA01113, max UDMA7
[    1.400356] ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    1.420280] ata1.00: configured for UDMA/133
[    1.420406] scsi 0:0:0:0: Direct-Access     ATA      SAMSUNG HD103UJ  1AA0 PQ: 0 ANSI: 5
[    1.420550] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[    1.420553] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.420615] sd 0:0:0:0: [sda] Write Protect is off
[    1.420619] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.420653] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.440129] ata2.00: configured for UDMA/66
[    1.446913] scsi 1:0:0:0: CD-ROM            PIONEER  DVD-RW  DVR-212D 1.24 PQ: 0 ANSI: 5
[    1.458519] sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
[    1.458523] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.458631] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    1.458685] sr 1:0:0:0: Attached scsi generic sg1 type 5
[    1.477077]  sda: sda1 sda2 < sda5 sda6 sda7 >
[    1.477428] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.479458] Freeing unused kernel memory: 964k freed
[    1.479743] Write protecting the kernel read-only data: 10240k
[    1.480992] Freeing unused kernel memory: 272k freed
[    1.487277] Freeing unused kernel memory: 1576k freed
[    1.509498] udev[64]: starting version 163
[    1.599639] ahci 0000:03:00.0: version 3.0
[    1.612938] pata_marvell 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    1.612980] pata_marvell 0000:03:00.0: setting latency timer to 64
[    1.613498] scsi4 : pata_marvell
[    1.613597] scsi5 : pata_marvell
[    1.613641] ata5: PATA max UDMA/100 cmd 0xdc00 ctl 0xd880 bmdma 0xd400 irq 16
[    1.613645] ata6: PATA max UDMA/133 cmd 0xd800 ctl 0xd480 bmdma 0xd408 irq 16
[    1.650064] Refined TSC clocksource calibration: 2000.699 MHz.
[    1.650069] Switching to clocksource tsc
[    1.859435] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[    3.086955] Adding 2147324k swap on /dev/sda6.  Priority:-1 extents:1 across:2147324k 
[    4.137256] udev[245]: starting version 163
[    4.489685] lp: driver loaded but no devices found
[    4.640701] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    4.640733] r8169 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    4.640783] r8169 0000:04:00.0: setting latency timer to 64
[    4.640860] r8169 0000:04:00.0: irq 44 for MSI/MSI-X
[    4.641639] r8169 0000:04:00.0: eth0: RTL8168b/8111b at 0xffffc900109c4000, 00:1d:92:33:07:c1, XID 18000000 IRQ 44
[    5.150121] [drm] Initialized drm 1.1.0 20060810
[    5.456066] type=1400 audit(1301201537.005:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient3" pid=410 comm="apparmor_parser"
[    5.456152] type=1400 audit(1301201537.005:3): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=410 comm="apparmor_parser"
[    5.456210] type=1400 audit(1301201537.005:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=410 comm="apparmor_parser"
[    5.458695] type=1400 audit(1301201537.005:5): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient3" pid=446 comm="apparmor_parser"
[    5.458784] type=1400 audit(1301201537.005:6): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=446 comm="apparmor_parser"
[    5.458843] type=1400 audit(1301201537.005:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=446 comm="apparmor_parser"
[    5.469839] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input3
[    5.509112] nouveau 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    5.509120] nouveau 0000:01:00.0: setting latency timer to 64
[    5.511299] [drm] nouveau 0000:01:00.0: Detected an NV50 generation card (0x092880a2)
[    5.517680] [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PRAMIN
[    5.571853] [drm] nouveau 0000:01:00.0: ... appears to be valid
[    5.571859] [drm] nouveau 0000:01:00.0: BIT BIOS found
[    5.571862] [drm] nouveau 0000:01:00.0: Bios version 62.92.1f.00
[    5.571866] [drm] nouveau 0000:01:00.0: TMDS table version 2.0
[    5.571869] [drm] nouveau 0000:01:00.0: Found Display Configuration Block version 4.0
[    5.571873] [drm] nouveau 0000:01:00.0: Raw DCB entry 0: 02000300 00000028
[    5.571876] [drm] nouveau 0000:01:00.0: Raw DCB entry 1: 01000302 00000030
[    5.571879] [drm] nouveau 0000:01:00.0: Raw DCB entry 2: 04011310 00000028
[    5.571881] [drm] nouveau 0000:01:00.0: Raw DCB entry 3: 02011312 00000030
[    5.571884] [drm] nouveau 0000:01:00.0: Raw DCB entry 4: 010223f1 00c0c080
[    5.571887] [drm] nouveau 0000:01:00.0: DCB connector table: VHER 0x40 5 16 4
[    5.571891] [drm] nouveau 0000:01:00.0:   0: 0x00001030: type 0x30 idx 0 tag 0x07
[    5.571894] [drm] nouveau 0000:01:00.0:   1: 0x00002130: type 0x30 idx 1 tag 0x08
[    5.571897] [drm] nouveau 0000:01:00.0:   2: 0x00000210: type 0x10 idx 2 tag 0xff
[    5.571900] [drm] nouveau 0000:01:00.0:   3: 0x00000211: type 0x11 idx 3 tag 0xff
[    5.571903] [drm] nouveau 0000:01:00.0:   4: 0x00000213: type 0x13 idx 4 tag 0xff
[    5.571908] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xC10F
[    5.595915] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xC4B3
[    5.598748] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xD22E
[    5.598756] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xD350
[    5.599824] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xD580
[    5.599827] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table at offset 0xD5E5
[    5.619835] [drm] nouveau 0000:01:00.0: 0xD5E5: Condition still not met after 20ms, skipping following opcodes
[    5.793336] IPv4 FIB: Using LC-trie version 0.409
[    5.887894] adt7475 0-002e: ADT7473 device, revision 1
[    5.897643] [drm] nouveau 0000:01:00.0: Detected monitoring device: adt7473
[    5.897649] [drm] nouveau 0000:01:00.0: 1 available performance level(s)
[    5.897654] [drm] nouveau 0000:01:00.0: 3: memory 900MHz core 600MHz shader 1500MHz fanspeed 100%
[    5.897671] [drm] nouveau 0000:01:00.0: c: memory 399MHz core 399MHz shader 810MHz voltage 1050mV
[    5.897813] [TTM] Zone  kernel: Available graphics memory: 1028328 kiB.
[    5.897816] [TTM] Initializing pool allocator.
[    5.897830] [drm] nouveau 0000:01:00.0: Detected 512MiB VRAM
[    5.900568] [drm] nouveau 0000:01:00.0: 512 MiB GART (aperture)
[    5.926845] [drm] nouveau 0000:01:00.0: DCB encoder 1 unknown
[    5.926849] [drm] nouveau 0000:01:00.0: TV-1 has no encoders, removing
[    5.927675] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    5.927678] [drm] No driver support for vblank timestamp query.
[    6.198919] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[    6.198977] HDA Intel 0000:00:1b.0: irq 45 for MSI/MSI-X
[    6.199004] HDA Intel 0000:00:1b.0: setting latency timer to 64
[    6.255713] [drm] nouveau 0000:01:00.0: allocated 1920x1080 fb: 0x40000000, bo ffff88007b45dc00
[    6.317584] Console: switching to colour frame buffer device 210x65
[    6.319689] fb0: nouveaufb frame buffer device
[    6.319691] drm: registered panic notifier
[    6.319700] [drm] Initialized nouveau 0.0.16 20090420 for 0000:01:00.0 on minor 0
[    6.428482] hda_codec: ALC888: BIOS auto-probing.
[    6.433505] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input4
[    8.163932] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
[    8.262137] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: user_xattr
[    9.017533] type=1400 audit(1301201540.565:8): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient3" pid=716 comm="apparmor_parser"
[    9.017623] type=1400 audit(1301201540.565:9): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=716 comm="apparmor_parser"
[    9.017681] type=1400 audit(1301201540.565:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=716 comm="apparmor_parser"
[    9.054575] type=1400 audit(1301201540.605:11): apparmor="STATUS" operation="profile_load" name="/usr/share/gdm/guest-session/Xsession" pid=715 comm="apparmor_parser"
[    9.241800] type=1400 audit(1301201540.795:12): apparmor="STATUS" operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" pid=712 comm="apparmor_parser"
[    9.241953] type=1400 audit(1301201540.795:13): apparmor="STATUS" operation="profile_load" name="/usr/sbin/cupsd" pid=712 comm="apparmor_parser"
[    9.397819] ppdev: user-space parallel port driver
[    9.402386] type=1400 audit(1301201540.955:14): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=726 comm="apparmor_parser"
[    9.402578] type=1400 audit(1301201540.955:15): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=726 comm="apparmor_parser"
[    9.520125] type=1400 audit(1301201541.075:16): apparmor="STATUS" operation="profile_load" name="/usr/sbin/tcpdump" pid=735 comm="apparmor_parser"
[    9.826007] r8169 0000:04:00.0: eth0: link down
[    9.826340] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   11.514129] r8169 0000:04:00.0: eth0: link up
[   11.514393] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.281243] type=1400 audit(1301201545.835:17): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince" pid=724 comm="apparmor_parser"
[   14.282092] type=1400 audit(1301201545.835:18): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-previewer" pid=724 comm="apparmor_parser"
[   14.282662] type=1400 audit(1301201545.835:19): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-thumbnailer" pid=724 comm="apparmor_parser"
[   16.041487] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro,commit=0
[   16.241597] EXT4-fs (sda7): re-mounted. Opts: user_xattr,commit=0
[   21.830011] eth0: no IPv6 routers present
[   45.612888] exe (1661): /proc/1661/oom_adj is deprecated, please use /proc/1661/oom_score_adj instead.
[15117.080119] BUG: unable to handle kernel paging request at fffffffffffffff3
[15117.080152] IP: [<ffffffff811b4989>] vma_stop+0x19/0x40
[15117.080172] PGD 1a05067 PUD 1a06067 PMD 0 
[15117.080191] Oops: 0000 [#1] SMP 
[15117.080204] last sysfs file: /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/uevent
[15117.080222] CPU 1 
[15117.080229] Modules linked in: binfmt_misc parport_pc ppdev snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi adt7475 hwmon_vid snd_seq_midi_event snd_seq nouveau snd_timer snd_seq_device ttm snd drm_kms_helper soundcore drm snd_page_alloc i2c_algo_bit psmouse serio_raw video r8169 intel_agp intel_gtt lp parport mii pata_marvell ahci libahci
[15117.080379] 
[15117.080387] Pid: 1446, comm: chromium-browse Not tainted 2.6.38-git18+ #3 MICRO-STAR INTERNATIONAL CO.,LTD MS-7360/MS-7360
[15117.080412] RIP: 0010:[<ffffffff811b4989>]  [<ffffffff811b4989>] vma_stop+0x19/0x40
[15117.080430] RSP: 0018:ffff8800654a3e48  EFLAGS: 00010213
[15117.080440] RAX: 00000000fffffff3 RBX: ffff88006c6ae7e0 RCX: 0000000000000013
[15117.080453] RDX: ffffffff81619200 RSI: fffffffffffffff3 RDI: ffff88006c6ae7e0
[15117.080465] RBP: ffff8800654a3e58 R08: 0000000000000001 R09: 0000000000000000
[15117.080478] R10: 0000000000000022 R11: 0000000000000293 R12: ffff88002509aa00
[15117.080490] R13: fffffffffffffff3 R14: ffff88005d142480 R15: ffff8800654a3ec0
[15117.080503] FS:  00007ff183615920(0000) GS:ffff88007fc80000(0000) knlGS:0000000000000000
[15117.080517] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[15117.080529] CR2: fffffffffffffff3 CR3: 00000000654ab000 CR4: 00000000000006e0
[15117.080541] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[15117.080554] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[15117.080567] Process chromium-browse (pid: 1446, threadinfo ffff8800654a2000, task ffff88006a05db00)
[15117.080581] Stack:
[15117.080588]  0000000000000000 ffff88006c6ae7e0 ffff8800654a3e78 ffffffff811b4a3a
[15117.080613]  ffff88005d142480 ffff88005d142480 ffff8800654a3ef8 ffffffff8117d991
[15117.080637]  00000000fffffff3 00007fff1aecb250 ffff88002509aa38 ffff8800654a3f48
[15117.080660] Call Trace:
[15117.080671]  [<ffffffff811b4a3a>] m_stop+0x1a/0x40
[15117.080685]  [<ffffffff8117d991>] seq_read+0x1e1/0x420
[15117.080698]  [<ffffffff8115c685>] vfs_read+0xc5/0x190
[15117.080711]  [<ffffffff8115c851>] sys_read+0x51/0x90
[15117.080724]  [<ffffffff815b2d02>] system_call_fastpath+0x16/0x1b
[15117.080736] Code: c9 90 c3 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 90 55 48 89 e5 53 48 83 ec 08 0f 1f 44 00 00 48 85 f6 74 1a 48 39 77 10 74 14 
[15117.080872]  8b 1e 48 8d 7b 60 e8 eb 2f ed ff 48 89 df e8 43 9b ea ff 48 
[15117.080940] RIP  [<ffffffff811b4989>] vma_stop+0x19/0x40
[15117.080955]  RSP <ffff8800654a3e48>
[15117.080963] CR2: fffffffffffffff3
[15117.113062] ---[ end trace 4aa56b1e030e2b1e ]---

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: BUG: unable to handle kernel paging request
  2011-03-27  9:16 BUG: unable to handle kernel paging request Anca Emanuel
@ 2011-03-27 15:37 ` Linus Torvalds
  2011-03-27 16:00   ` Américo Wang
  0 siblings, 1 reply; 15+ messages in thread
From: Linus Torvalds @ 2011-03-27 15:37 UTC (permalink / raw)
  To: Anca Emanuel, Al Viro; +Cc: LKML

Al, this smells like your /proc cleanups/fixes...

On Sun, Mar 27, 2011 at 2:16 AM, Anca Emanuel <anca.emanuel@gmail.com> wrote:
> Hi, I'm using latest kernel git.
>
>
> [15117.080119] BUG: unable to handle kernel paging request at fffffffffffffff3

That's "-13" (possibly -EACCES)

> [15117.080152] IP: [<ffffffff811b4989>] vma_stop+0x19/0x40

.. and the code disassembles to

   0:	55                   	push   %rbp
   1:	48 89 e5             	mov    %rsp,%rbp
   4:	53                   	push   %rbx
   5:	48 83 ec 08          	sub    $0x8,%rsp
   9:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
   e:	48 85 f6             	test   %rsi,%rsi
  11:	74 1a                	je     0x2d
  13:	48 39 77 10          	cmp    %rsi,0x10(%rdi)
  17:	74 14                	je     0x2d
  19:	8b 1e                	mov    (%rsi),%ebx
  1b:	48 8d 7b 60          	lea    0x60(%rbx),%rdi
  1f:	e8 eb 2f ed ff       	callq  up_read

where that instruction at 0x19 is the access "mm = vma->vm_mm". So
it's vma that is -EPERM.

I bet it's due to commit ec6fd8a4355c ("report errors in /proc/*/*map*
sanely"), which replaces NULL with various ERR_PTR() cases.

> [15117.080660] Call Trace:
> [15117.080671]  [<ffffffff811b4a3a>] m_stop+0x1a/0x40
> [15117.080685]  [<ffffffff8117d991>] seq_read+0x1e1/0x420
> [15117.080698]  [<ffffffff8115c685>] vfs_read+0xc5/0x190
> [15117.080711]  [<ffffffff8115c851>] sys_read+0x51/0x90
> [15117.080724]  [<ffffffff815b2d02>] system_call_fastpath+0x16/0x1b

Al?

                               Linus

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: BUG: unable to handle kernel paging request
  2011-03-27 15:37 ` Linus Torvalds
@ 2011-03-27 16:00   ` Américo Wang
  2011-03-27 17:44     ` Anca Emanuel
  2011-03-27 17:52     ` Stephen Wilson
  0 siblings, 2 replies; 15+ messages in thread
From: Américo Wang @ 2011-03-27 16:00 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Anca Emanuel, Al Viro, LKML

On Sun, Mar 27, 2011 at 11:37 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
> Al, this smells like your /proc cleanups/fixes...
>
> On Sun, Mar 27, 2011 at 2:16 AM, Anca Emanuel <anca.emanuel@gmail.com> wrote:
>> Hi, I'm using latest kernel git.
>>
>>
>> [15117.080119] BUG: unable to handle kernel paging request at fffffffffffffff3
>
> That's "-13" (possibly -EACCES)
>
>> [15117.080152] IP: [<ffffffff811b4989>] vma_stop+0x19/0x40
>
> .. and the code disassembles to
>
>   0:   55                      push   %rbp
>   1:   48 89 e5                mov    %rsp,%rbp
>   4:   53                      push   %rbx
>   5:   48 83 ec 08             sub    $0x8,%rsp
>   9:   0f 1f 44 00 00          nopl   0x0(%rax,%rax,1)
>   e:   48 85 f6                test   %rsi,%rsi
>  11:   74 1a                   je     0x2d
>  13:   48 39 77 10             cmp    %rsi,0x10(%rdi)
>  17:   74 14                   je     0x2d
>  19:   8b 1e                   mov    (%rsi),%ebx
>  1b:   48 8d 7b 60             lea    0x60(%rbx),%rdi
>  1f:   e8 eb 2f ed ff          callq  up_read
>
> where that instruction at 0x19 is the access "mm = vma->vm_mm". So
> it's vma that is -EPERM.
>
> I bet it's due to commit ec6fd8a4355c ("report errors in /proc/*/*map*
> sanely"), which replaces NULL with various ERR_PTR() cases.
>

Exactly... should be fixed by something like:

diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 7c708a4..6b82632 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -90,7 +90,7 @@ static void pad_len_spaces(struct seq_file *m, int len)

 static void vma_stop(struct proc_maps_private *priv, struct
vm_area_struct *vma)
 {
-       if (vma && vma != priv->tail_vma) {
+       if (vma && !IS_ERR(vma) && vma != priv->tail_vma) {
                struct mm_struct *mm = vma->vm_mm;
                up_read(&mm->mmap_sem);
                mmput(mm);

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: BUG: unable to handle kernel paging request
  2011-03-27 16:00   ` Américo Wang
@ 2011-03-27 17:44     ` Anca Emanuel
  2011-03-27 17:52     ` Stephen Wilson
  1 sibling, 0 replies; 15+ messages in thread
From: Anca Emanuel @ 2011-03-27 17:44 UTC (permalink / raw)
  To: Américo Wang; +Cc: Linus Torvalds, Al Viro, LKML

On Sun, Mar 27, 2011 at 7:00 PM, Américo Wang <xiyou.wangcong@gmail.com> wrote:
> Exactly... should be fixed by something like:
>
> diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
> index 7c708a4..6b82632 100644
> --- a/fs/proc/task_mmu.c
> +++ b/fs/proc/task_mmu.c
> @@ -90,7 +90,7 @@ static void pad_len_spaces(struct seq_file *m, int len)
>
>  static void vma_stop(struct proc_maps_private *priv, struct
> vm_area_struct *vma)
>  {
> -       if (vma && vma != priv->tail_vma) {
> +       if (vma && !IS_ERR(vma) && vma != priv->tail_vma) {
>                struct mm_struct *mm = vma->vm_mm;
>                up_read(&mm->mmap_sem);
>                mmput(mm);
>

I tested the patch and works ok now. Thanks Américo Wang !
Without it, I can reproduce the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: BUG: unable to handle kernel paging request
  2011-03-27 16:00   ` Américo Wang
  2011-03-27 17:44     ` Anca Emanuel
@ 2011-03-27 17:52     ` Stephen Wilson
  2011-03-28  3:46       ` [Patch] proc: check error pointer returned by m_start() Amerigo Wang
  1 sibling, 1 reply; 15+ messages in thread
From: Stephen Wilson @ 2011-03-27 17:52 UTC (permalink / raw)
  To: Américo Wang; +Cc: Linus Torvalds, Anca Emanuel, Al Viro, Luck, Tony, LKML

On Mon, Mar 28, 2011 at 12:00:44AM +0800, Américo Wang wrote:
> On Sun, Mar 27, 2011 at 11:37 PM, Linus Torvalds
> <torvalds@linux-foundation.org> wrote:
> > Al, this smells like your /proc cleanups/fixes...
> >
> > On Sun, Mar 27, 2011 at 2:16 AM, Anca Emanuel <anca.emanuel@gmail.com> wrote:
> >> Hi, I'm using latest kernel git.
> >>
> >>
> >> [15117.080119] BUG: unable to handle kernel paging request at fffffffffffffff3
> >
> > That's "-13" (possibly -EACCES)
> >
> >> [15117.080152] IP: [<ffffffff811b4989>] vma_stop+0x19/0x40
> >
> > .. and the code disassembles to
> >
> >   0:   55                      push   %rbp
> >   1:   48 89 e5                mov    %rsp,%rbp
> >   4:   53                      push   %rbx
> >   5:   48 83 ec 08             sub    $0x8,%rsp
> >   9:   0f 1f 44 00 00          nopl   0x0(%rax,%rax,1)
> >   e:   48 85 f6                test   %rsi,%rsi
> >  11:   74 1a                   je     0x2d
> >  13:   48 39 77 10             cmp    %rsi,0x10(%rdi)
> >  17:   74 14                   je     0x2d
> >  19:   8b 1e                   mov    (%rsi),%ebx
> >  1b:   48 8d 7b 60             lea    0x60(%rbx),%rdi
> >  1f:   e8 eb 2f ed ff          callq  up_read
> >
> > where that instruction at 0x19 is the access "mm = vma->vm_mm". So
> > it's vma that is -EPERM.
> >
> > I bet it's due to commit ec6fd8a4355c ("report errors in /proc/*/*map*
> > sanely"), which replaces NULL with various ERR_PTR() cases.
> >
> 
> Exactly... should be fixed by something like:
> 
> diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
> index 7c708a4..6b82632 100644
> --- a/fs/proc/task_mmu.c
> +++ b/fs/proc/task_mmu.c
> @@ -90,7 +90,7 @@ static void pad_len_spaces(struct seq_file *m, int len)
> 
>  static void vma_stop(struct proc_maps_private *priv, struct
> vm_area_struct *vma)
>  {
> -       if (vma && vma != priv->tail_vma) {
> +       if (vma && !IS_ERR(vma) && vma != priv->tail_vma) {
>                 struct mm_struct *mm = vma->vm_mm;
>                 up_read(&mm->mmap_sem);
>                 mmput(mm);

FWIW, that looks like the right fix to me.

Also CC'ing Tony Luck as he reported what appears to be the same issue
on the 25'th.

-- 
steve


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Patch] proc: check error pointer returned by m_start()
  2011-03-27 17:52     ` Stephen Wilson
@ 2011-03-28  3:46       ` Amerigo Wang
  2011-03-28  3:58         ` Linus Torvalds
  0 siblings, 1 reply; 15+ messages in thread
From: Amerigo Wang @ 2011-03-28  3:46 UTC (permalink / raw)
  To: linux-kernel
  Cc: Linus Torvalds, Al Viro, WANG Cong, Andrew Morton, Eric B Munson,
	David Rientjes, Dave Hansen, Mel Gorman

Anca reported a bug:

[15117.080119] BUG: unable to handle kernel paging request at fffffffffffffff3
[15117.080152] IP: [<ffffffff811b4989>] vma_stop+0x19/0x40

Linus did the initial analysis, and found this was caused
by commit ec6fd8a4355c ("report errors in /proc/*/*map*
sanely"), which replaces NULL with various ERR_PTR() cases.

This is true, that commit changed the return value of m_start(),
which will return an error pointer on failure, but Al forgot
to check the error pointer in m_stop() which will be called
when m_start() fails. This patches fixes it.

Reported-by: Anca Emanuel <anca.emanuel@gmail.com>
Tested-by: Anca Emanuel <anca.emanuel@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>

---
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 7c708a4..6b82632 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -90,7 +90,7 @@ static void pad_len_spaces(struct seq_file *m, int len)
 
 static void vma_stop(struct proc_maps_private *priv, struct vm_area_struct *vma)
 {
-	if (vma && vma != priv->tail_vma) {
+	if (vma && !IS_ERR(vma) && vma != priv->tail_vma) {
 		struct mm_struct *mm = vma->vm_mm;
 		up_read(&mm->mmap_sem);
 		mmput(mm);

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [Patch] proc: check error pointer returned by m_start()
  2011-03-28  3:46       ` [Patch] proc: check error pointer returned by m_start() Amerigo Wang
@ 2011-03-28  3:58         ` Linus Torvalds
  2011-03-28  5:02           ` Cong Wang
  2011-03-28  5:26           ` [Patch V2] " Amerigo Wang
  0 siblings, 2 replies; 15+ messages in thread
From: Linus Torvalds @ 2011-03-28  3:58 UTC (permalink / raw)
  To: Amerigo Wang
  Cc: linux-kernel, Al Viro, WANG Cong, Andrew Morton, Eric B Munson,
	David Rientjes, Dave Hansen, Mel Gorman

On Sun, Mar 27, 2011 at 8:46 PM, Amerigo Wang <amwang@redhat.com> wrote:
>
> This is true, that commit changed the return value of m_start(),
> which will return an error pointer on failure, but Al forgot
> to check the error pointer in m_stop() which will be called
> when m_start() fails. This patches fixes it.

I did this slightly differently, and put the check in m_stop()
instead, because I felt that matched the logic of m_start, while
vma_stop() is more of an internal helper thing.

I dunno. I don't think it matters. But one thing I reacted to was that
when I was walking through the logic, I really wanted to say "seq_file
is wrong to call m_stop if m_start returned an error code". I really
felt like "hwy, if ->start fails, we damn well shouldn't have called
->stop".

But I guess we're stuck with that particular semantic for seq_files by now.

                         Linus

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Patch] proc: check error pointer returned by m_start()
  2011-03-28  3:58         ` Linus Torvalds
@ 2011-03-28  5:02           ` Cong Wang
  2011-03-28  5:26           ` [Patch V2] " Amerigo Wang
  1 sibling, 0 replies; 15+ messages in thread
From: Cong Wang @ 2011-03-28  5:02 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Al Viro, WANG Cong, Andrew Morton, Eric B Munson,
	David Rientjes, Dave Hansen, Mel Gorman

于 2011年03月28日 11:58, Linus Torvalds 写道:
> On Sun, Mar 27, 2011 at 8:46 PM, Amerigo Wang<amwang@redhat.com>  wrote:
>>
>> This is true, that commit changed the return value of m_start(),
>> which will return an error pointer on failure, but Al forgot
>> to check the error pointer in m_stop() which will be called
>> when m_start() fails. This patches fixes it.
>
> I did this slightly differently, and put the check in m_stop()
> instead, because I felt that matched the logic of m_start, while
> vma_stop() is more of an internal helper thing.
>

Ok, I am fine with this, will send an updated patch.

> I dunno. I don't think it matters. But one thing I reacted to was that
> when I was walking through the logic, I really wanted to say "seq_file
> is wrong to call m_stop if m_start returned an error code". I really
> felt like "hwy, if ->start fails, we damn well shouldn't have called
> ->stop".


This is a good point and makes prefect sense.

>
> But I guess we're stuck with that particular semantic for seq_files by now.
>

Yup, I guess there are some seq_file users still rely on this behavior,
we can fix them all later.

Thanks.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Patch V2] proc: check error pointer returned by m_start()
  2011-03-28  3:58         ` Linus Torvalds
  2011-03-28  5:02           ` Cong Wang
@ 2011-03-28  5:26           ` Amerigo Wang
  2011-03-28  5:45             ` Cong Wang
  2011-03-28  5:46             ` [Patch V2] proc: check error pointer returned by m_start() Anca Emanuel
  1 sibling, 2 replies; 15+ messages in thread
From: Amerigo Wang @ 2011-03-28  5:26 UTC (permalink / raw)
  To: linux-kernel
  Cc: WANG Cong, Linus Torvalds, Al Viro, WANG Cong, Andrew Morton,
	Eric B Munson, David Rientjes, Dave Hansen, Mel Gorman,
	linux-fsdevel

From: WANG Cong <xiyou.wangcong@gmail.com>

V2: move the check into m_stop() as suggested by Linus,
also, most ->show() implementations assume the second parameter 'v'
is not NULL, this fixes them too.

Anca reported a bug:

[15117.080119] BUG: unable to handle kernel paging request at fffffffffffffff3
[15117.080152] IP: [<ffffffff811b4989>] vma_stop+0x19/0x40

Linus did the initial analysis, and found this was caused
by commit ec6fd8a4355c ("report errors in /proc/*/*map*
sanely"), which replaces NULL with various ERR_PTR() cases.

This is true, that commit changed the return value of m_start(),
which will return an error pointer on failure, but Al forgot
to check the error pointer in m_stop() which will be called
when m_start() fails. This patches fixes it.

Reported-by: Anca Emanuel <anca.emanuel@gmail.com>
Tested-by: Anca Emanuel <anca.emanuel@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: WANG Cong <amwang@redhat.com>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>

---

diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 7c708a4..8e59169 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -124,8 +124,10 @@ static void *m_start(struct seq_file *m, loff_t *pos)
 		return ERR_PTR(-ESRCH);
 
 	mm = mm_for_maps(priv->task);
-	if (!mm || IS_ERR(mm))
+	if (IS_ERR_OR_NULL(mm)) {
+		put_task_struct(priv->task);
 		return mm;
+	}
 	down_read(&mm->mmap_sem);
 
 	tail_vma = get_gate_vma(priv->task->mm);
@@ -182,6 +184,8 @@ static void m_stop(struct seq_file *m, void *v)
 	struct proc_maps_private *priv = m->private;
 	struct vm_area_struct *vma = v;
 
+	if (IS_ERR_OR_NULL(v))
+		return;
 	vma_stop(priv, vma);
 	if (priv->task)
 		put_task_struct(priv->task);
diff --git a/fs/seq_file.c b/fs/seq_file.c
index 05d6b0e..e17d5e6 100644
--- a/fs/seq_file.c
+++ b/fs/seq_file.c
@@ -83,7 +83,7 @@ static int traverse(struct seq_file *m, loff_t offset)
 	p = m->op->start(m, &index);
 	while (p) {
 		error = PTR_ERR(p);
-		if (IS_ERR(p))
+		if (IS_ERR_OR_NULL(p))
 			break;
 		error = m->op->show(m, p);
 		if (error < 0)

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [Patch V2] proc: check error pointer returned by m_start()
  2011-03-28  5:26           ` [Patch V2] " Amerigo Wang
@ 2011-03-28  5:45             ` Cong Wang
  2011-03-28  7:07               ` [PATCH 1/2] proc: Use IS_ERR_OR_NULL() helper Amerigo Wang
  2011-03-28  5:46             ` [Patch V2] proc: check error pointer returned by m_start() Anca Emanuel
  1 sibling, 1 reply; 15+ messages in thread
From: Cong Wang @ 2011-03-28  5:45 UTC (permalink / raw)
  To: Amerigo Wang
  Cc: linux-kernel, WANG Cong, Linus Torvalds, Al Viro, Andrew Morton,
	Eric B Munson, David Rientjes, Dave Hansen, Mel Gorman,
	linux-fsdevel

于 2011年03月28日 13:26, Amerigo Wang 写道:
> From: WANG Cong<xiyou.wangcong@gmail.com>
>
> V2: move the check into m_stop() as suggested by Linus,
> also, most ->show() implementations assume the second parameter 'v'
> is not NULL, this fixes them too.

Linus, forget this one, I saw you already checked in your own
fix, I will make one based on that. :)

Thanks.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Patch V2] proc: check error pointer returned by m_start()
  2011-03-28  5:26           ` [Patch V2] " Amerigo Wang
  2011-03-28  5:45             ` Cong Wang
@ 2011-03-28  5:46             ` Anca Emanuel
  2011-03-28  5:49               ` Cong Wang
  1 sibling, 1 reply; 15+ messages in thread
From: Anca Emanuel @ 2011-03-28  5:46 UTC (permalink / raw)
  To: Amerigo Wang
  Cc: linux-kernel, WANG Cong, Linus Torvalds, Al Viro, Andrew Morton,
	Eric B Munson, David Rientjes, Dave Hansen, Mel Gorman,
	linux-fsdevel

On Mon, Mar 28, 2011 at 8:26 AM, Amerigo Wang <amwang@redhat.com> wrote:
> From: WANG Cong <xiyou.wangcong@gmail.com>
>
> V2: move the check into m_stop() as suggested by Linus,
> also, most ->show() implementations assume the second parameter 'v'
> is not NULL, this fixes them too.
>
> Anca reported a bug:
>
> [15117.080119] BUG: unable to handle kernel paging request at fffffffffffffff3
> [15117.080152] IP: [<ffffffff811b4989>] vma_stop+0x19/0x40
>
> Linus did the initial analysis, and found this was caused
> by commit ec6fd8a4355c ("report errors in /proc/*/*map*
> sanely"), which replaces NULL with various ERR_PTR() cases.
>
> This is true, that commit changed the return value of m_start(),
> which will return an error pointer on failure, but Al forgot
> to check the error pointer in m_stop() which will be called
> when m_start() fails. This patches fixes it.
>
> Reported-by: Anca Emanuel <anca.emanuel@gmail.com>
> Tested-by: Anca Emanuel <anca.emanuel@gmail.com>
> Cc: Linus Torvalds <torvalds@linux-foundation.org>
> Cc: Al Viro <viro@zeniv.linux.org.uk>
> Signed-off-by: WANG Cong <amwang@redhat.com>
> Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
>
> ---
>
> diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
> index 7c708a4..8e59169 100644
> --- a/fs/proc/task_mmu.c
> +++ b/fs/proc/task_mmu.c
> @@ -124,8 +124,10 @@ static void *m_start(struct seq_file *m, loff_t *pos)
>                return ERR_PTR(-ESRCH);
>
>        mm = mm_for_maps(priv->task);
> -       if (!mm || IS_ERR(mm))
> +       if (IS_ERR_OR_NULL(mm)) {
> +               put_task_struct(priv->task);
>                return mm;
> +       }
>        down_read(&mm->mmap_sem);
>
>        tail_vma = get_gate_vma(priv->task->mm);
> @@ -182,6 +184,8 @@ static void m_stop(struct seq_file *m, void *v)
>        struct proc_maps_private *priv = m->private;
>        struct vm_area_struct *vma = v;
>
> +       if (IS_ERR_OR_NULL(v))
> +               return;

Note: this is not functional equivalent with the previous patch.

>        vma_stop(priv, vma);
>        if (priv->task)
>                put_task_struct(priv->task);
> diff --git a/fs/seq_file.c b/fs/seq_file.c
> index 05d6b0e..e17d5e6 100644
> --- a/fs/seq_file.c
> +++ b/fs/seq_file.c
> @@ -83,7 +83,7 @@ static int traverse(struct seq_file *m, loff_t offset)
>        p = m->op->start(m, &index);
>        while (p) {
>                error = PTR_ERR(p);
> -               if (IS_ERR(p))
> +               if (IS_ERR_OR_NULL(p))
>                        break;
>                error = m->op->show(m, p);
>                if (error < 0)
> --

I din't test the above patch.

Linus already have the fix in his tree.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Patch V2] proc: check error pointer returned by m_start()
  2011-03-28  5:46             ` [Patch V2] proc: check error pointer returned by m_start() Anca Emanuel
@ 2011-03-28  5:49               ` Cong Wang
  0 siblings, 0 replies; 15+ messages in thread
From: Cong Wang @ 2011-03-28  5:49 UTC (permalink / raw)
  To: Anca Emanuel
  Cc: linux-kernel, WANG Cong, Linus Torvalds, Al Viro, Andrew Morton,
	Eric B Munson, David Rientjes, Dave Hansen, Mel Gorman,
	linux-fsdevel

于 2011年03月28日 13:46, Anca Emanuel 写道:
> On Mon, Mar 28, 2011 at 8:26 AM, Amerigo Wang<amwang@redhat.com>  wrote:
>> From: WANG Cong<xiyou.wangcong@gmail.com>
>>
>> diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
>> index 7c708a4..8e59169 100644
>> --- a/fs/proc/task_mmu.c
>> +++ b/fs/proc/task_mmu.c
>> @@ -124,8 +124,10 @@ static void *m_start(struct seq_file *m, loff_t *pos)
>>                 return ERR_PTR(-ESRCH);
>>
>>         mm = mm_for_maps(priv->task);
>> -       if (!mm || IS_ERR(mm))
>> +       if (IS_ERR_OR_NULL(mm)) {
>> +               put_task_struct(priv->task);
>>                 return mm;
>> +       }
>>         down_read(&mm->mmap_sem);
>>
>>         tail_vma = get_gate_vma(priv->task->mm);
>> @@ -182,6 +184,8 @@ static void m_stop(struct seq_file *m, void *v)
>>         struct proc_maps_private *priv = m->private;
>>         struct vm_area_struct *vma = v;
>>
>> +       if (IS_ERR_OR_NULL(v))
>> +               return;
>
> Note: this is not functional equivalent with the previous patch.
>

I moved that put_task_struct() into m_start() itself.

>
> I din't test the above patch.
>
> Linus already have the fix in his tree.

Yes, I really should pull before I made a patch. :-/

Anyway, thanks for reporting and testing.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/2] proc: Use IS_ERR_OR_NULL() helper
  2011-03-28  5:45             ` Cong Wang
@ 2011-03-28  7:07               ` Amerigo Wang
  2011-03-28  7:07                 ` [PATCH 2/2] proc: do cleanup in m_start() rather than m_stop() Amerigo Wang
  2011-03-28  7:15                 ` [PATCH 1/2] proc: Use IS_ERR_OR_NULL() helper Mike Frysinger
  0 siblings, 2 replies; 15+ messages in thread
From: Amerigo Wang @ 2011-03-28  7:07 UTC (permalink / raw)
  To: linux-kernel
  Cc: torvalds, Amerigo Wang, Andrew Morton, Eric B Munson,
	David Rientjes, Dave Hansen, Mel Gorman, Mike Frysinger,
	David Howells, Alexey Dobriyan, Al Viro

Use IS_ERR_OR_NULL() helper

Signed-off-by: Amerigo Wang <amwang@redhat.com>
---
 fs/proc/task_mmu.c   |   10 ++++++----
 fs/proc/task_nommu.c |    2 +-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 2e7addf..3c06570 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -124,7 +124,7 @@ static void *m_start(struct seq_file *m, loff_t *pos)
 		return ERR_PTR(-ESRCH);
 
 	mm = mm_for_maps(priv->task);
-	if (!mm || IS_ERR(mm))
+	if (IS_ERR_OR_NULL(mm))
 		return mm;
 	down_read(&mm->mmap_sem);
 
@@ -182,7 +182,7 @@ static void m_stop(struct seq_file *m, void *v)
 	struct proc_maps_private *priv = m->private;
 	struct vm_area_struct *vma = v;
 
-	if (!IS_ERR(vma))
+	if (!IS_ERR_OR_NULL(vma))
 		vma_stop(priv, vma);
 	if (priv->task)
 		put_task_struct(priv->task);
@@ -768,9 +768,11 @@ static ssize_t pagemap_read(struct file *file, char __user *buf,
 		goto out;
 
 	mm = mm_for_maps(task);
-	ret = PTR_ERR(mm);
-	if (!mm || IS_ERR(mm))
+	if (IS_ERR_OR_NULL(mm)) {
+		if (mm)
+			ret = PTR_ERR(mm);
 		goto out_task;
+	}
 
 	ret = -EINVAL;
 	/* file position must be aligned */
diff --git a/fs/proc/task_nommu.c b/fs/proc/task_nommu.c
index 980de54..35e8b2a 100644
--- a/fs/proc/task_nommu.c
+++ b/fs/proc/task_nommu.c
@@ -202,7 +202,7 @@ static void *m_start(struct seq_file *m, loff_t *pos)
 		return ERR_PTR(-ESRCH);
 
 	mm = mm_for_maps(priv->task);
-	if (!mm || IS_ERR(mm)) {
+	if (IS_ERR_OR_NULL(mm)) {
 		put_task_struct(priv->task);
 		priv->task = NULL;
 		return mm;
-- 
1.7.4


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 2/2] proc: do cleanup in m_start() rather than m_stop()
  2011-03-28  7:07               ` [PATCH 1/2] proc: Use IS_ERR_OR_NULL() helper Amerigo Wang
@ 2011-03-28  7:07                 ` Amerigo Wang
  2011-03-28  7:15                 ` [PATCH 1/2] proc: Use IS_ERR_OR_NULL() helper Mike Frysinger
  1 sibling, 0 replies; 15+ messages in thread
From: Amerigo Wang @ 2011-03-28  7:07 UTC (permalink / raw)
  To: linux-kernel
  Cc: torvalds, Amerigo Wang, Andrew Morton, Eric B Munson,
	David Rientjes, Dave Hansen, Mel Gorman

In the future, we will not call ->stop() anymore when ->start() fails,
so ->start() is responsible to do cleanups within itself.

Signed-off-by: Amerigo Wang <amwang@redhat.com>
---
 fs/proc/task_mmu.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 3c06570..9ebbe20 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -124,8 +124,10 @@ static void *m_start(struct seq_file *m, loff_t *pos)
 		return ERR_PTR(-ESRCH);
 
 	mm = mm_for_maps(priv->task);
-	if (IS_ERR_OR_NULL(mm))
+	if (IS_ERR_OR_NULL(mm)) {
+		put_task_struct(priv->task);
 		return mm;
+	}
 	down_read(&mm->mmap_sem);
 
 	tail_vma = get_gate_vma(priv->task->mm);
@@ -182,8 +184,9 @@ static void m_stop(struct seq_file *m, void *v)
 	struct proc_maps_private *priv = m->private;
 	struct vm_area_struct *vma = v;
 
-	if (!IS_ERR_OR_NULL(vma))
-		vma_stop(priv, vma);
+	if (IS_ERR_OR_NULL(vma))
+		return;
+	vma_stop(priv, vma);
 	if (priv->task)
 		put_task_struct(priv->task);
 }
-- 
1.7.4


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [PATCH 1/2] proc: Use IS_ERR_OR_NULL() helper
  2011-03-28  7:07               ` [PATCH 1/2] proc: Use IS_ERR_OR_NULL() helper Amerigo Wang
  2011-03-28  7:07                 ` [PATCH 2/2] proc: do cleanup in m_start() rather than m_stop() Amerigo Wang
@ 2011-03-28  7:15                 ` Mike Frysinger
  1 sibling, 0 replies; 15+ messages in thread
From: Mike Frysinger @ 2011-03-28  7:15 UTC (permalink / raw)
  To: Amerigo Wang
  Cc: linux-kernel, torvalds, Andrew Morton, Eric B Munson,
	David Rientjes, Dave Hansen, Mel Gorman, David Howells,
	Alexey Dobriyan, Al Viro

On Mon, Mar 28, 2011 at 3:07 AM, Amerigo Wang wrote:
> Use IS_ERR_OR_NULL() helper

copying & pasting the summary as the only changelog is kind of useless

as for the patch, looks pretty straight forward to me
-mike

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-03-28  7:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-27  9:16 BUG: unable to handle kernel paging request Anca Emanuel
2011-03-27 15:37 ` Linus Torvalds
2011-03-27 16:00   ` Américo Wang
2011-03-27 17:44     ` Anca Emanuel
2011-03-27 17:52     ` Stephen Wilson
2011-03-28  3:46       ` [Patch] proc: check error pointer returned by m_start() Amerigo Wang
2011-03-28  3:58         ` Linus Torvalds
2011-03-28  5:02           ` Cong Wang
2011-03-28  5:26           ` [Patch V2] " Amerigo Wang
2011-03-28  5:45             ` Cong Wang
2011-03-28  7:07               ` [PATCH 1/2] proc: Use IS_ERR_OR_NULL() helper Amerigo Wang
2011-03-28  7:07                 ` [PATCH 2/2] proc: do cleanup in m_start() rather than m_stop() Amerigo Wang
2011-03-28  7:15                 ` [PATCH 1/2] proc: Use IS_ERR_OR_NULL() helper Mike Frysinger
2011-03-28  5:46             ` [Patch V2] proc: check error pointer returned by m_start() Anca Emanuel
2011-03-28  5:49               ` Cong Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.