----- "Eric W. Biederman" wrote: > caiqian@redhat.com writes: > > > ----- caiqian@redhat.com wrote: > > > >> ----- "Américo Wang" wrote: > >> > >> > On Mon, Sep 27, 2010 at 04:52:29AM -0400, CAI Qian wrote: > >> > >Just a head up. Tried to boot latest mmotm kernel with those > >> patches > >> > applied hit this. I am wondering what I did wrong. > > The only tricky part of the merge I can tell was for Andrea's > commit, > > Ok. This is down right bizarre. > I have it running with the same merge resolution and I'm not seeing > any problems yet. > > I will probe deeper tomorrow. Are you certain you compiled things > properly? Yes, still reproduce it here from a clean source. The environment is a Nehalem-EX 16 vcpus 16g mem kvm guest. Here is the full dmesg. config file also attached. Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Linux version 2.6.36-rc5-mm1+ (root@localhost.localdomain) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Tue Sep 28 04:35:23 EDT 2010 Command line: ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=128M console=tty0 console=ttyS0,115200 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f000 (usable) BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 00000000bfff0000 (usable) BIOS-e820: 00000000bfff0000 - 00000000c0000000 (ACPI data) BIOS-e820: 00000000c0000000 - 00000000c1000000 (reserved) BIOS-e820: 00000000fffbc000 - 0000000100000000 (reserved) BIOS-e820: 0000000100000000 - 00000003e9800000 (usable) NX (Execute Disable) protection: active DMI 2.4 present. No AGP bridge found last_pfn = 0x3e9800 max_arch_pfn = 0x400000000 PAT not supported by CPU. last_pfn = 0xbfff0 max_arch_pfn = 0x400000000 found SMP MP-table at [ffff8800000fbd80] fbd80 init_memory_mapping: 0000000000000000-00000000bfff0000 init_memory_mapping: 0000000100000000-00000003e9800000 RAMDISK: 3759a000 - 37ff0000 Reserving 128MB of memory at 15888MB for crashkernel (System RAM: 16024MB) ACPI: RSDP 00000000000fc160 00014 (v00 QEMU ) ACPI: RSDT 00000000bfff0000 0002C (v01 QEMU QEMURSDT 00000001 QEMU 00000001) ACPI: FACP 00000000bfff002c 00074 (v01 QEMU QEMUFACP 00000001 QEMU 00000001) ACPI: DSDT 00000000bfff0100 02531 (v01 BXPC BXDSDT 00000001 INTL 20090123) ACPI: FACS 00000000bfff00c0 00040 ACPI: APIC 00000000bfff2638 000E0 (v01 QEMU QEMUAPIC 00000001 QEMU 00000001) No NUMA configuration found Faking a node at 0000000000000000-00000003e9800000 Initmem setup node 0 0000000000000000-00000003e9800000 NODE_DATA [00000003e97d9000 - 00000003e97fffff] kvm-clock: Using msrs 12 and 11 kvm-clock: cpu 0, msr 0:1c26b41, boot clock Zone PFN ranges: DMA 0x00000010 -> 0x00001000 DMA32 0x00001000 -> 0x00100000 Normal 0x00100000 -> 0x003e9800 Movable zone start PFN for each node early_node_map[3] active PFN ranges 0: 0x00000010 -> 0x0000009f 0: 0x00000100 -> 0x000bfff0 0: 0x00100000 -> 0x003e9800 ACPI: PM-Timer IO Port: 0xb008 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x04] enabled) ACPI: LAPIC (acpi_id[0x05] lapic_id[0x05] enabled) ACPI: LAPIC (acpi_id[0x06] lapic_id[0x06] enabled) ACPI: LAPIC (acpi_id[0x07] lapic_id[0x07] enabled) ACPI: LAPIC (acpi_id[0x08] lapic_id[0x08] enabled) ACPI: LAPIC (acpi_id[0x09] lapic_id[0x09] enabled) ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x0a] enabled) ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x0b] enabled) ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x0c] enabled) ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x0d] enabled) ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x0e] enabled) ACPI: LAPIC (acpi_id[0x0f] lapic_id[0x0f] enabled) ACPI: IOAPIC (id[0x10] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 16, version 17, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) Using ACPI (MADT) for SMP configuration information SMP: Allowing 16 CPUs, 0 hotplug CPUs PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 PM: Registered nosave memory: 00000000000a0000 - 00000000000e8000 PM: Registered nosave memory: 00000000000e8000 - 0000000000100000 PM: Registered nosave memory: 00000000bfff0000 - 00000000c0000000 PM: Registered nosave memory: 00000000c0000000 - 00000000c1000000 PM: Registered nosave memory: 00000000c1000000 - 00000000fffbc000 PM: Registered nosave memory: 00000000fffbc000 - 0000000100000000 Allocating PCI resources starting at c1000000 (gap: c1000000:3efbc000) Booting paravirtualized kernel on KVM setup_percpu: NR_CPUS:4096 nr_cpumask_bits:16 nr_cpu_ids:16 nr_node_ids:1 PERCPU: Embedded 29 pages/cpu @ffff8800bfc00000 s88128 r8192 d22464 u131072 pcpu-alloc: s88128 r8192 d22464 u131072 alloc=1*2097152 pcpu-alloc: [0] 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 kvm-clock: cpu 0, msr 0:bfc14b41, primary cpu clock Built 1 zonelists in Zone order, mobility grouping on. Total pages: 3783781 Policy zone: Normal Kernel command line: ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=128M console=tty0 console=ttyS0,115200 PID hash table entries: 4096 (order: 3, 32768 bytes) Checking aperture... No AGP bridge found Memory: 14917348k/16408576k available (4801k kernel code, 1049092k absent, 442136k reserved, 7551k data, 1452k init) Hierarchical RCU implementation. RCU-based detection of stalled CPUs is disabled. Verbose stalled-CPUs detection is disabled. NR_IRQS:262400 nr_irqs:808 Console: colour VGA+ 80x25 console [tty0] enabled console [ttyS0] enabled allocated 154664960 bytes of page_cgroup please try 'cgroup_disable=memory' option if you don't want memory cgroups Detected 1861.771 MHz processor. Calibrating delay loop (skipped) preset value.. 3723.54 BogoMIPS (lpj=1861771) pid_max: default: 32768 minimum: 301 Security Framework initialized SELinux: Initializing. Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes) Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes) Mount-cache hash table entries: 256 Initializing cgroup subsys ns Initializing cgroup subsys cpuacct Initializing cgroup subsys memory Initializing cgroup subsys devices Initializing cgroup subsys freezer Initializing cgroup subsys net_cls Initializing cgroup subsys blkio mce: CPU supports 32 MCE banks Performance Events: p6 PMU driver. ... version: 0 ... bit width: 32 ... generic registers: 2 ... value mask: 00000000ffffffff ... max period: 000000007fffffff ... fixed-purpose events: 0 ... event mask: 0000000000000003 ACPI: Core revision 20100702 ftrace: converting mcount calls to 0f 1f 44 00 00 ftrace: allocating 18587 entries in 73 pages Setting APIC routing to physical flat ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1 CPU0: Intel QEMU Virtual CPU version 0.9.1 stepping 03 Booting Node 0, Processors #1 kvm-clock: cpu 1, msr 0:bfc34b41, secondary cpu clock #2 kvm-clock: cpu 2, msr 0:bfc54b41, secondary cpu clock #3 kvm-clock: cpu 3, msr 0:bfc74b41, secondary cpu clock #4 kvm-clock: cpu 4, msr 0:bfc94b41, secondary cpu clock #5 kvm-clock: cpu 5, msr 0:bfcb4b41, secondary cpu clock #6 kvm-clock: cpu 6, msr 0:bfcd4b41, secondary cpu clock #7 kvm-clock: cpu 7, msr 0:bfcf4b41, secondary cpu clock #8 kvm-clock: cpu 8, msr 0:bfd14b41, secondary cpu clock #9 kvm-clock: cpu 9, msr 0:bfd34b41, secondary cpu clock #10 kvm-clock: cpu 10, msr 0:bfd54b41, secondary cpu clock #11 kvm-clock: cpu 11, msr 0:bfd74b41, secondary cpu clock #12 kvm-clock: cpu 12, msr 0:bfd94b41, secondary cpu clock #13 kvm-clock: cpu 13, msr 0:bfdb4b41, secondary cpu clock #14 kvm-clock: cpu 14, msr 0:bfdd4b41, secondary cpu clock #15 Ok. kvm-clock: cpu 15, msr 0:bfdf4b41, secondary cpu clock Brought up 16 CPUs Total of 16 processors activated (59576.67 BogoMIPS). devtmpfs: initialized regulator: core version 0.5 NET: Registered protocol family 16 ACPI: bus type pci registered PCI: Using configuration type 1 for base access bio: create slab at 0 ACPI: Interpreter enabled ACPI: (supports S0 S3 S4 S5) ACPI: Using IOAPIC for interrupt routing ACPI: No dock devices found. PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: Using ACPI for IRQ routing NetLabel: Initializing NetLabel: domain hash size = 128 NetLabel: protocols = UNLABELED CIPSOv4 NetLabel: unlabeled traffic allowed by default Switching to clocksource kvm-clock pnp: PnP ACPI init ACPI: bus type pnp registered pnp: PnP ACPI: found 6 devices ACPI: ACPI bus type pnp unregistered NET: Registered protocol family 2 IP route cache hash table entries: 524288 (order: 10, 4194304 bytes) TCP established hash table entries: 524288 (order: 11, 8388608 bytes) TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) TCP: Hash tables configured (established 524288 bind 65536) TCP reno registered UDP hash table entries: 8192 (order: 6, 262144 bytes) UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes) NET: Registered protocol family 1 pci 0000:00:00.0: Limiting direct PCI/PCI transfers pci 0000:00:01.0: Activating ISA DMA hang workarounds Trying to unpack rootfs image as initramfs... Freeing initrd memory: 10584k freed PCI-DMA: Using software bounce buffering for IO (SWIOTLB) Placing 64MB software IO TLB between ffff8800bbc00000 - ffff8800bfc00000 software IO TLB at phys 0xbbc00000 - 0xbfc00000 audit: initializing netlink socket (disabled) type=2000 audit(1285663341.797:1): initialized HugeTLB registered 2 MB page size, pre-allocated 0 pages VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) msgmni has been set to 29156 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 pciehp: PCI Express Hot Plug Controller Driver version: 0.4 acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 acpiphp: Slot [1] registered acpiphp: Slot [2] registered acpiphp: Slot [3] registered acpiphp: Slot [4] registered acpiphp: Slot [5] registered acpiphp: Slot [6] registered acpiphp: Slot [7] registered acpiphp: Slot [8] registered acpiphp: Slot [9] registered acpiphp: Slot [10] registered acpiphp: Slot [11] registered acpiphp: Slot [12] registered acpiphp: Slot [13] registered acpiphp: Slot [14] registered acpiphp: Slot [15] registered acpiphp: Slot [16] registered acpiphp: Slot [17] registered acpiphp: Slot [18] registered acpiphp: Slot [19] registered acpiphp: Slot [20] registered acpiphp: Slot [21] registered acpiphp: Slot [22] registered acpiphp: Slot [23] registered acpiphp: Slot [24] registered acpiphp: Slot [25] registered acpiphp: Slot [26] registered acpiphp: Slot [27] registered acpiphp: Slot [28] registered acpiphp: Slot [29] registered acpiphp: Slot [30] registered acpiphp: Slot [31] registered pci-stub: invalid id string "" input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 ACPI: Power Button [PWRF] Non-volatile memory driver v1.3 Linux agpgart interface v0.103 Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled �serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A brd: module loaded loop: module loaded Fixed MDIO Bus: probed ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver uhci_hcd: USB Universal Host Controller Interface driver ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11 uhci_hcd 0000:00:01.2: PCI INT D -> Link[LNKD] -> GSI 11 (level, high) -> IRQ 11 uhci_hcd 0000:00:01.2: UHCI Host Controller uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c020 usb usb1: New USB device found, idVendor=1d6b, idProduct=0001 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: UHCI Host Controller usb usb1: Manufacturer: Linux 2.6.36-rc5-mm1+ uhci_hcd usb usb1: SerialNumber: 0000:00:01.2 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1 rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0 rtc0: alarms up to one day, 114 bytes nvram cpuidle: using governor ladder cpuidle: using governor menu usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid usbhid: USB HID core driver TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 17 Registering the dns_resolver key type registered taskstats version 1 IMA: No TPM chip found, activating TPM-bypass! rtc_cmos 00:01: setting system clock to 2010-09-28 08:42:21 UTC (1285663341) Initalizing network drop monitor service Freeing unused kernel memory: 1452k freed Write protecting the kernel read-only data: 10240k Freeing unused kernel memory: 1324k freed Freeing unused kernel memory: 1876k freed BUG: unable to handle kernel paging request at ffffffffffffffc0 IP: [] prio_tree_insert+0x190/0x2b0 PGD 1a27067 PUD 1a28067 PMD 0 Oops: 0000 [#1] SMP last sysfs file: CPU 2 Modules linked in: Pid: 1, comm: init Not tainted 2.6.36-rc5-mm1+ #1 /KVM RIP: 0010:[] [] prio_tree_insert+0x190/0x2b0 RSP: 0018:ffff8803c35bdc80 EFLAGS: 00010202 RAX: ffff8803bf4ac0d8 RBX: 0000000000000100 RCX: 0000000000000000 RDX: 0000000000000179 RSI: 0000000000000000 RDI: 0000000000000179 RBP: ffff8803c35bdcb8 R08: ffff8803bf4ac0d8 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000002 R12: ffff8803c2a27868 R13: ffff8803bf4ac0d8 R14: 00000007f6ae82d8 R15: 00000007f6ae82dc FS: 00007f6ae84f7700(0000) GS:ffff8800bfc40000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffc0 CR3: 00000003bf4a9000 CR4: 00000000000006e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process init (pid: 1, threadinfo ffff8803c35bc000, task ffff8803c35bb4e0) Stack: ffff8803bf4abba8 00000000ffffffff ffff8803bf4ac088 ffff8803bf4ac0d8 <0> ffff8803bf4ac088 ffff8803c2a27848 ffff8803c2a27868 ffff8803c35bdcd8 <0> ffffffff8110f220 ffff8803bf4ac1f8 ffff8803bf4ac2b0 ffff8803c35bdce8 Call Trace: [] vma_prio_tree_insert+0x30/0x60 [] __vma_link_file+0x4c/0x80 [] vma_adjust+0xe2/0x560 [] __split_vma+0x1cb/0x250 [] split_vma+0x25/0x30 [] mprotect_fixup+0x68a/0x730 [] ? file_map_prot_check+0xaa/0xd0 [] sys_mprotect+0x185/0x250 [] system_call_fastpath+0x16/0x1b Code: 20 e9 d0 fe ff ff bb 01 00 00 00 48 d3 e3 48 85 db 0f 84 11 01 00 00 31 c9 66 45 85 c9 4d 89 e8 74 79 66 0f 1f 84 00 00 00 00 00 <48> 8b 46 c0 48 2b 46 b8 4c 8b 76 40 48 c1 e8 0c 4c 39 f7 4d 8d RIP [] prio_tree_insert+0x190/0x2b0 RSP CR2: ffffffffffffffc0 ---[ end trace 13e2a490d39713d8 ]--- usb 1-2: new full speed USB device using uhci_hcd and address 2 input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input2 usb 1-2: New USB device found, idVendor=0627, idProduct=0001 usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb 1-2: Product: QEMU USB Tablet usb 1-2: Manufacturer: QEMU 0.9.1 usb 1-2: SerialNumber: 1 input: QEMU 0.9.1 QEMU USB Tablet as /devices/pci0000:00/0000:00:01.2/usb1/1-2/1-2:1.0/input/input3 generic-usb 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Pointer [QEMU 0.9.1 QEMU USB Tablet] on usb-0000:00:01.2-2/input0 > > Eric > > -- > To unsubscribe, send a message with 'unsubscribe linux-mm' in > the body to majordomo@kvack.org. For more info on Linux MM, > see: http://www.linux-mm.org/ . > Don't email: email@kvack.org