Re: [mm] BUG: Int 6: CR2 (null)

2014-10-23 Thread Marek Szyprowski

Hello,

On 2014-10-23 08:03, Weijie Yang wrote:

On Thu, Oct 9, 2014 at 10:04 AM, Fengguang Wu  wrote:

FYI, we noticed the below changes on

git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 478e86d7c8c5f41e29abb81b05b459d24bdc71a2 ("mm: cma: adjust address limit to 
avoid hitting low/high memory boundary")


+--+++
|  | 81febe58a8 | 478e86d7c8 |
+--+++
| boot_successes   | 10 | 0  |
| boot_failures| 5  | 10 |
| kernel_BUG_at_arch/x86/mm/physaddr.c | 5  ||
| invalid_opcode   | 5  ||
| EIP_is_at__phys_addr | 5  ||
| Kernel_panic-not_syncing:Fatal_exception | 5  ||
| backtrace:vm_mmap_pgoff  | 5  ||
| backtrace:SyS_mmap_pgoff | 5  ||
| BUG:Int_CR2(null)| 0  | 10 |
+--+++

[0.00] BRK [0x025ee000, 0x025eefff] PGTABLE
[0.00] cma: dma_contiguous_reserve(limit 13ffe000)
[0.00] cma: dma_contiguous_reserve: reserving 31 MiB for global area
[0.00] BUG: Int 6: CR2   (null)
[0.00]  EDI c000  ESI   (null)  EBP 41c11ea4  EBX 425cc101
[0.00]  ESP 41c11e98   ES 007b   DS 007b
[0.00]  EDX 0001  ECX   (null)  EAX 41cd8150
[0.00]  vec 0006  err   (null)  EIP 41072227   CS 0060  flg 
00210002
[0.00] Stack: 425cc150   (null)   (null) 41c11ef4 41d4ee4d   (null) 
13ffe000 41c11ec4
[0.00]41c2d900   (null) 13ffe000   (null) 4185793e 002e 
410c2982 41c11f00
[0.00]410c2df5   (null)   (null)   (null) 425cc150 00013efe   
(null) 41c11f28
[0.00] CPU: 0 PID: 0 Comm: swapper Not tainted 3.17.0-next-20141008 #815
[0.00]   425cc101 41c11e48 41850786 41c11ea4 41d2b1db 41d95f71 
0006
[0.00]   c000  41c11ea4 425cc101 41c11e98 007b 
007b
[0.00]  0001  41cd8150 0006  41072227 0060 
00210002
[0.00] Call Trace:
[0.00]  [<41850786>] dump_stack+0x16/0x18
[0.00]  [<41d2b1db>] early_idt_handler+0x6b/0x6b
[0.00]  [<41072227>] ? __phys_addr+0x2e/0xca
[0.00]  [<41d4ee4d>] cma_declare_contiguous+0x3c/0x2d7
[0.00]  [<4185793e>] ? _raw_spin_unlock_irqrestore+0x59/0x91
[0.00]  [<410c2982>] ? wake_up_klogd+0x8/0x33
[0.00]  [<410c2df5>] ? console_unlock+0x448/0x461
[0.00]  [<41d6d359>] dma_contiguous_reserve_area+0x27/0x47
[0.00]  [<41d6d4d1>] dma_contiguous_reserve+0x158/0x163
[0.00]  [<41d33e0f>] setup_arch+0x79b/0xc68
[0.00]  [<4184c0b4>] ? printk+0x1c/0x1e
[0.00]  [<41d2b7cf>] start_kernel+0x9c/0x456
[0.00]  [<41d2b2ca>] i386_start_kernel+0x79/0x7d


I notice that code has been merged into mainline kernel without fix,
maybe fengguang's mail was missed.

I review the code, dma_contiguous_reserve() is called before initmem_init(),
so the variable high_memory is not initialized and calculated by
__pa(high_memory),
in x86 arch high_memory is initialized after dma_contiguous_reserve(), while
in arm arch high_memory is initialized before dma_contiguous_reserve(),
I think that is the reason which causes the BUG in x86.

However, I'm not familiar with system init sequence, so I send this
notice mail rather than a patch :-(


Thanks for your analysis. I agree that the simplest way of fixing this 
issue is
to move dma_contiguous_reserve() after initmem_init(). Could you prepare 
such patch?


Best regards
--
Marek Szyprowski, PhD
Samsung R Institute Poland

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [mm] BUG: Int 6: CR2 (null)

2014-10-23 Thread Weijie Yang
On Thu, Oct 9, 2014 at 10:04 AM, Fengguang Wu  wrote:
> Hi Marek,
>
> FYI, we noticed the below changes on
>
> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> commit 478e86d7c8c5f41e29abb81b05b459d24bdc71a2 ("mm: cma: adjust address 
> limit to avoid hitting low/high memory boundary")
>
>
> +--+++
> |  | 81febe58a8 | 478e86d7c8 |
> +--+++
> | boot_successes   | 10 | 0  |
> | boot_failures| 5  | 10 |
> | kernel_BUG_at_arch/x86/mm/physaddr.c | 5  ||
> | invalid_opcode   | 5  ||
> | EIP_is_at__phys_addr | 5  ||
> | Kernel_panic-not_syncing:Fatal_exception | 5  ||
> | backtrace:vm_mmap_pgoff  | 5  ||
> | backtrace:SyS_mmap_pgoff | 5  ||
> | BUG:Int_CR2(null)| 0  | 10 |
> +--+++
>
> [0.00] BRK [0x025ee000, 0x025eefff] PGTABLE
> [0.00] cma: dma_contiguous_reserve(limit 13ffe000)
> [0.00] cma: dma_contiguous_reserve: reserving 31 MiB for global area
> [0.00] BUG: Int 6: CR2   (null)
> [0.00]  EDI c000  ESI   (null)  EBP 41c11ea4  EBX 425cc101
> [0.00]  ESP 41c11e98   ES 007b   DS 007b
> [0.00]  EDX 0001  ECX   (null)  EAX 41cd8150
> [0.00]  vec 0006  err   (null)  EIP 41072227   CS 0060  
> flg 00210002
> [0.00] Stack: 425cc150   (null)   (null) 41c11ef4 41d4ee4d   (null) 
> 13ffe000 41c11ec4
> [0.00]41c2d900   (null) 13ffe000   (null) 4185793e 002e 
> 410c2982 41c11f00
> [0.00]410c2df5   (null)   (null)   (null) 425cc150 00013efe   
> (null) 41c11f28
> [0.00] CPU: 0 PID: 0 Comm: swapper Not tainted 3.17.0-next-20141008 
> #815
> [0.00]   425cc101 41c11e48 41850786 41c11ea4 41d2b1db 
> 41d95f71 0006
> [0.00]   c000  41c11ea4 425cc101 41c11e98 
> 007b 007b
> [0.00]  0001  41cd8150 0006  41072227 
> 0060 00210002
> [0.00] Call Trace:
> [0.00]  [<41850786>] dump_stack+0x16/0x18
> [0.00]  [<41d2b1db>] early_idt_handler+0x6b/0x6b
> [0.00]  [<41072227>] ? __phys_addr+0x2e/0xca
> [0.00]  [<41d4ee4d>] cma_declare_contiguous+0x3c/0x2d7
> [0.00]  [<4185793e>] ? _raw_spin_unlock_irqrestore+0x59/0x91
> [0.00]  [<410c2982>] ? wake_up_klogd+0x8/0x33
> [0.00]  [<410c2df5>] ? console_unlock+0x448/0x461
> [0.00]  [<41d6d359>] dma_contiguous_reserve_area+0x27/0x47
> [0.00]  [<41d6d4d1>] dma_contiguous_reserve+0x158/0x163
> [0.00]  [<41d33e0f>] setup_arch+0x79b/0xc68
> [0.00]  [<4184c0b4>] ? printk+0x1c/0x1e
> [0.00]  [<41d2b7cf>] start_kernel+0x9c/0x456
> [0.00]  [<41d2b2ca>] i386_start_kernel+0x79/0x7d
>

I notice that code has been merged into mainline kernel without fix,
maybe fengguang's mail was missed.

I review the code, dma_contiguous_reserve() is called before initmem_init(),
so the variable high_memory is not initialized and calculated by
__pa(high_memory),
in x86 arch high_memory is initialized after dma_contiguous_reserve(), while
in arm arch high_memory is initialized before dma_contiguous_reserve(),
I think that is the reason which causes the BUG in x86.

However, I'm not familiar with system init sequence, so I send this
notice mail rather than a patch :-(

cc more people

>
> Thanks,
> Fengguang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [mm] BUG: Int 6: CR2 (null)

2014-10-23 Thread Weijie Yang
On Thu, Oct 9, 2014 at 10:04 AM, Fengguang Wu fengguang...@intel.com wrote:
 Hi Marek,

 FYI, we noticed the below changes on

 git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
 commit 478e86d7c8c5f41e29abb81b05b459d24bdc71a2 (mm: cma: adjust address 
 limit to avoid hitting low/high memory boundary)


 +--+++
 |  | 81febe58a8 | 478e86d7c8 |
 +--+++
 | boot_successes   | 10 | 0  |
 | boot_failures| 5  | 10 |
 | kernel_BUG_at_arch/x86/mm/physaddr.c | 5  ||
 | invalid_opcode   | 5  ||
 | EIP_is_at__phys_addr | 5  ||
 | Kernel_panic-not_syncing:Fatal_exception | 5  ||
 | backtrace:vm_mmap_pgoff  | 5  ||
 | backtrace:SyS_mmap_pgoff | 5  ||
 | BUG:Int_CR2(null)| 0  | 10 |
 +--+++

 [0.00] BRK [0x025ee000, 0x025eefff] PGTABLE
 [0.00] cma: dma_contiguous_reserve(limit 13ffe000)
 [0.00] cma: dma_contiguous_reserve: reserving 31 MiB for global area
 [0.00] BUG: Int 6: CR2   (null)
 [0.00]  EDI c000  ESI   (null)  EBP 41c11ea4  EBX 425cc101
 [0.00]  ESP 41c11e98   ES 007b   DS 007b
 [0.00]  EDX 0001  ECX   (null)  EAX 41cd8150
 [0.00]  vec 0006  err   (null)  EIP 41072227   CS 0060  
 flg 00210002
 [0.00] Stack: 425cc150   (null)   (null) 41c11ef4 41d4ee4d   (null) 
 13ffe000 41c11ec4
 [0.00]41c2d900   (null) 13ffe000   (null) 4185793e 002e 
 410c2982 41c11f00
 [0.00]410c2df5   (null)   (null)   (null) 425cc150 00013efe   
 (null) 41c11f28
 [0.00] CPU: 0 PID: 0 Comm: swapper Not tainted 3.17.0-next-20141008 
 #815
 [0.00]   425cc101 41c11e48 41850786 41c11ea4 41d2b1db 
 41d95f71 0006
 [0.00]   c000  41c11ea4 425cc101 41c11e98 
 007b 007b
 [0.00]  0001  41cd8150 0006  41072227 
 0060 00210002
 [0.00] Call Trace:
 [0.00]  [41850786] dump_stack+0x16/0x18
 [0.00]  [41d2b1db] early_idt_handler+0x6b/0x6b
 [0.00]  [41072227] ? __phys_addr+0x2e/0xca
 [0.00]  [41d4ee4d] cma_declare_contiguous+0x3c/0x2d7
 [0.00]  [4185793e] ? _raw_spin_unlock_irqrestore+0x59/0x91
 [0.00]  [410c2982] ? wake_up_klogd+0x8/0x33
 [0.00]  [410c2df5] ? console_unlock+0x448/0x461
 [0.00]  [41d6d359] dma_contiguous_reserve_area+0x27/0x47
 [0.00]  [41d6d4d1] dma_contiguous_reserve+0x158/0x163
 [0.00]  [41d33e0f] setup_arch+0x79b/0xc68
 [0.00]  [4184c0b4] ? printk+0x1c/0x1e
 [0.00]  [41d2b7cf] start_kernel+0x9c/0x456
 [0.00]  [41d2b2ca] i386_start_kernel+0x79/0x7d


I notice that code has been merged into mainline kernel without fix,
maybe fengguang's mail was missed.

I review the code, dma_contiguous_reserve() is called before initmem_init(),
so the variable high_memory is not initialized and calculated by
__pa(high_memory),
in x86 arch high_memory is initialized after dma_contiguous_reserve(), while
in arm arch high_memory is initialized before dma_contiguous_reserve(),
I think that is the reason which causes the BUG in x86.

However, I'm not familiar with system init sequence, so I send this
notice mail rather than a patch :-(

cc more people


 Thanks,
 Fengguang
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [mm] BUG: Int 6: CR2 (null)

2014-10-23 Thread Marek Szyprowski

Hello,

On 2014-10-23 08:03, Weijie Yang wrote:

On Thu, Oct 9, 2014 at 10:04 AM, Fengguang Wu fengguang...@intel.com wrote:

FYI, we noticed the below changes on

git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 478e86d7c8c5f41e29abb81b05b459d24bdc71a2 (mm: cma: adjust address limit to 
avoid hitting low/high memory boundary)


+--+++
|  | 81febe58a8 | 478e86d7c8 |
+--+++
| boot_successes   | 10 | 0  |
| boot_failures| 5  | 10 |
| kernel_BUG_at_arch/x86/mm/physaddr.c | 5  ||
| invalid_opcode   | 5  ||
| EIP_is_at__phys_addr | 5  ||
| Kernel_panic-not_syncing:Fatal_exception | 5  ||
| backtrace:vm_mmap_pgoff  | 5  ||
| backtrace:SyS_mmap_pgoff | 5  ||
| BUG:Int_CR2(null)| 0  | 10 |
+--+++

[0.00] BRK [0x025ee000, 0x025eefff] PGTABLE
[0.00] cma: dma_contiguous_reserve(limit 13ffe000)
[0.00] cma: dma_contiguous_reserve: reserving 31 MiB for global area
[0.00] BUG: Int 6: CR2   (null)
[0.00]  EDI c000  ESI   (null)  EBP 41c11ea4  EBX 425cc101
[0.00]  ESP 41c11e98   ES 007b   DS 007b
[0.00]  EDX 0001  ECX   (null)  EAX 41cd8150
[0.00]  vec 0006  err   (null)  EIP 41072227   CS 0060  flg 
00210002
[0.00] Stack: 425cc150   (null)   (null) 41c11ef4 41d4ee4d   (null) 
13ffe000 41c11ec4
[0.00]41c2d900   (null) 13ffe000   (null) 4185793e 002e 
410c2982 41c11f00
[0.00]410c2df5   (null)   (null)   (null) 425cc150 00013efe   
(null) 41c11f28
[0.00] CPU: 0 PID: 0 Comm: swapper Not tainted 3.17.0-next-20141008 #815
[0.00]   425cc101 41c11e48 41850786 41c11ea4 41d2b1db 41d95f71 
0006
[0.00]   c000  41c11ea4 425cc101 41c11e98 007b 
007b
[0.00]  0001  41cd8150 0006  41072227 0060 
00210002
[0.00] Call Trace:
[0.00]  [41850786] dump_stack+0x16/0x18
[0.00]  [41d2b1db] early_idt_handler+0x6b/0x6b
[0.00]  [41072227] ? __phys_addr+0x2e/0xca
[0.00]  [41d4ee4d] cma_declare_contiguous+0x3c/0x2d7
[0.00]  [4185793e] ? _raw_spin_unlock_irqrestore+0x59/0x91
[0.00]  [410c2982] ? wake_up_klogd+0x8/0x33
[0.00]  [410c2df5] ? console_unlock+0x448/0x461
[0.00]  [41d6d359] dma_contiguous_reserve_area+0x27/0x47
[0.00]  [41d6d4d1] dma_contiguous_reserve+0x158/0x163
[0.00]  [41d33e0f] setup_arch+0x79b/0xc68
[0.00]  [4184c0b4] ? printk+0x1c/0x1e
[0.00]  [41d2b7cf] start_kernel+0x9c/0x456
[0.00]  [41d2b2ca] i386_start_kernel+0x79/0x7d


I notice that code has been merged into mainline kernel without fix,
maybe fengguang's mail was missed.

I review the code, dma_contiguous_reserve() is called before initmem_init(),
so the variable high_memory is not initialized and calculated by
__pa(high_memory),
in x86 arch high_memory is initialized after dma_contiguous_reserve(), while
in arm arch high_memory is initialized before dma_contiguous_reserve(),
I think that is the reason which causes the BUG in x86.

However, I'm not familiar with system init sequence, so I send this
notice mail rather than a patch :-(


Thanks for your analysis. I agree that the simplest way of fixing this 
issue is
to move dma_contiguous_reserve() after initmem_init(). Could you prepare 
such patch?


Best regards
--
Marek Szyprowski, PhD
Samsung RD Institute Poland

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[mm] BUG: Int 6: CR2 (null)

2014-10-08 Thread Fengguang Wu
Hi Marek,

FYI, we noticed the below changes on

git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 478e86d7c8c5f41e29abb81b05b459d24bdc71a2 ("mm: cma: adjust address limit 
to avoid hitting low/high memory boundary")


+--+++
|  | 81febe58a8 | 478e86d7c8 |
+--+++
| boot_successes   | 10 | 0  |
| boot_failures| 5  | 10 |
| kernel_BUG_at_arch/x86/mm/physaddr.c | 5  ||
| invalid_opcode   | 5  ||
| EIP_is_at__phys_addr | 5  ||
| Kernel_panic-not_syncing:Fatal_exception | 5  ||
| backtrace:vm_mmap_pgoff  | 5  ||
| backtrace:SyS_mmap_pgoff | 5  ||
| BUG:Int_CR2(null)| 0  | 10 |
+--+++

[0.00] BRK [0x025ee000, 0x025eefff] PGTABLE
[0.00] cma: dma_contiguous_reserve(limit 13ffe000)
[0.00] cma: dma_contiguous_reserve: reserving 31 MiB for global area
[0.00] BUG: Int 6: CR2   (null)
[0.00]  EDI c000  ESI   (null)  EBP 41c11ea4  EBX 425cc101
[0.00]  ESP 41c11e98   ES 007b   DS 007b
[0.00]  EDX 0001  ECX   (null)  EAX 41cd8150
[0.00]  vec 0006  err   (null)  EIP 41072227   CS 0060  flg 
00210002
[0.00] Stack: 425cc150   (null)   (null) 41c11ef4 41d4ee4d   (null) 
13ffe000 41c11ec4
[0.00]41c2d900   (null) 13ffe000   (null) 4185793e 002e 
410c2982 41c11f00
[0.00]410c2df5   (null)   (null)   (null) 425cc150 00013efe   
(null) 41c11f28
[0.00] CPU: 0 PID: 0 Comm: swapper Not tainted 3.17.0-next-20141008 #815
[0.00]   425cc101 41c11e48 41850786 41c11ea4 41d2b1db 41d95f71 
0006
[0.00]   c000  41c11ea4 425cc101 41c11e98 007b 
007b
[0.00]  0001  41cd8150 0006  41072227 0060 
00210002
[0.00] Call Trace:
[0.00]  [<41850786>] dump_stack+0x16/0x18
[0.00]  [<41d2b1db>] early_idt_handler+0x6b/0x6b
[0.00]  [<41072227>] ? __phys_addr+0x2e/0xca
[0.00]  [<41d4ee4d>] cma_declare_contiguous+0x3c/0x2d7
[0.00]  [<4185793e>] ? _raw_spin_unlock_irqrestore+0x59/0x91
[0.00]  [<410c2982>] ? wake_up_klogd+0x8/0x33
[0.00]  [<410c2df5>] ? console_unlock+0x448/0x461
[0.00]  [<41d6d359>] dma_contiguous_reserve_area+0x27/0x47
[0.00]  [<41d6d4d1>] dma_contiguous_reserve+0x158/0x163
[0.00]  [<41d33e0f>] setup_arch+0x79b/0xc68
[0.00]  [<4184c0b4>] ? printk+0x1c/0x1e
[0.00]  [<41d2b7cf>] start_kernel+0x9c/0x456
[0.00]  [<41d2b2ca>] i386_start_kernel+0x79/0x7d

Elapsed time: 5
qemu-system-i386 -enable-kvm -kernel 
/kernel/i386-randconfig-hxb2-1008/099669ed953121e1b00248f65326b6b092fa47c8/vmlinuz-3.17.0-next-20141008
 -append 'user=lkp 
job=/lkp/scheduled/vm-kbuild-yocto-i386-58/rand_boot-1-yocto-minimal-i386.cgz-i386-randconfig-hxb2-1008-099669ed953121e1b00248f65326b6b092fa47c8-0.yaml
 ARCH=i386 
BOOT_IMAGE=/kernel/i386-randconfig-hxb2-1008/099669ed953121e1b00248f65326b6b092fa47c8/vmlinuz-3.17.0-next-20141008
 kconfig=i386-randconfig-hxb2-1008 
commit=099669ed953121e1b00248f65326b6b092fa47c8 branch=next/master 
root=/dev/ram0 max_uptime=3600 
RESULT_ROOT=/result/vm-kbuild-yocto-i386/boot/1/yocto-minimal-i386.cgz/i386-randconfig-hxb2-1008/099669ed953121e1b00248f65326b6b092fa47c8/0
 ip=vm-kbuild-yocto-i386-58::dhcp earlyprintk=ttyS0,115200 debug apic=debug 
sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 
softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 
prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw 
drbd.minor_count=8'  -initrd /fs/sdf1/initrd-vm-kbuild-yocto-i386-58 -m 320 
-smp 2 -net nic,vlan=1,model=e1000 -net user,vlan=1 -boot order=nc -no-reboot 
-watchdog i6300esb -rtc base=localtime -drive 
file=/fs/sdf1/disk0-vm-kbuild-yocto-i386-58,media=disk,if=virtio -drive 
file=/fs/sdf1/disk1-vm-kbuild-yocto-i386-58,media=disk,if=virtio -drive 
file=/fs/sdf1/disk2-vm-kbuild-yocto-i386-58,media=disk,if=virtio -drive 
file=/fs/sdf1/disk3-vm-kbuild-yocto-i386-58,media=disk,if=virtio -drive 
file=/fs/sdf1/disk4-vm-kbuild-yocto-i386-58,media=disk,if=virtio -drive 
file=/fs/sdf1/disk5-vm-kbuild-yocto-i386-58,media=disk,if=virtio -pidfile 
/dev/shm/kboot/pid-vm-kbuild-yocto-i386-58 -serial 
file:/dev/shm/kboot/serial-vm-kbuild-yocto-i386-58 -daemonize -display none 
-monitor null 



Thanks,
Fengguang
Linux version 3.17.0-next-20141008 #815
Command line: user=lkp 

[mm] BUG: Int 6: CR2 (null)

2014-10-08 Thread Fengguang Wu
Hi Marek,

FYI, we noticed the below changes on

git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 478e86d7c8c5f41e29abb81b05b459d24bdc71a2 (mm: cma: adjust address limit 
to avoid hitting low/high memory boundary)


+--+++
|  | 81febe58a8 | 478e86d7c8 |
+--+++
| boot_successes   | 10 | 0  |
| boot_failures| 5  | 10 |
| kernel_BUG_at_arch/x86/mm/physaddr.c | 5  ||
| invalid_opcode   | 5  ||
| EIP_is_at__phys_addr | 5  ||
| Kernel_panic-not_syncing:Fatal_exception | 5  ||
| backtrace:vm_mmap_pgoff  | 5  ||
| backtrace:SyS_mmap_pgoff | 5  ||
| BUG:Int_CR2(null)| 0  | 10 |
+--+++

[0.00] BRK [0x025ee000, 0x025eefff] PGTABLE
[0.00] cma: dma_contiguous_reserve(limit 13ffe000)
[0.00] cma: dma_contiguous_reserve: reserving 31 MiB for global area
[0.00] BUG: Int 6: CR2   (null)
[0.00]  EDI c000  ESI   (null)  EBP 41c11ea4  EBX 425cc101
[0.00]  ESP 41c11e98   ES 007b   DS 007b
[0.00]  EDX 0001  ECX   (null)  EAX 41cd8150
[0.00]  vec 0006  err   (null)  EIP 41072227   CS 0060  flg 
00210002
[0.00] Stack: 425cc150   (null)   (null) 41c11ef4 41d4ee4d   (null) 
13ffe000 41c11ec4
[0.00]41c2d900   (null) 13ffe000   (null) 4185793e 002e 
410c2982 41c11f00
[0.00]410c2df5   (null)   (null)   (null) 425cc150 00013efe   
(null) 41c11f28
[0.00] CPU: 0 PID: 0 Comm: swapper Not tainted 3.17.0-next-20141008 #815
[0.00]   425cc101 41c11e48 41850786 41c11ea4 41d2b1db 41d95f71 
0006
[0.00]   c000  41c11ea4 425cc101 41c11e98 007b 
007b
[0.00]  0001  41cd8150 0006  41072227 0060 
00210002
[0.00] Call Trace:
[0.00]  [41850786] dump_stack+0x16/0x18
[0.00]  [41d2b1db] early_idt_handler+0x6b/0x6b
[0.00]  [41072227] ? __phys_addr+0x2e/0xca
[0.00]  [41d4ee4d] cma_declare_contiguous+0x3c/0x2d7
[0.00]  [4185793e] ? _raw_spin_unlock_irqrestore+0x59/0x91
[0.00]  [410c2982] ? wake_up_klogd+0x8/0x33
[0.00]  [410c2df5] ? console_unlock+0x448/0x461
[0.00]  [41d6d359] dma_contiguous_reserve_area+0x27/0x47
[0.00]  [41d6d4d1] dma_contiguous_reserve+0x158/0x163
[0.00]  [41d33e0f] setup_arch+0x79b/0xc68
[0.00]  [4184c0b4] ? printk+0x1c/0x1e
[0.00]  [41d2b7cf] start_kernel+0x9c/0x456
[0.00]  [41d2b2ca] i386_start_kernel+0x79/0x7d

Elapsed time: 5
qemu-system-i386 -enable-kvm -kernel 
/kernel/i386-randconfig-hxb2-1008/099669ed953121e1b00248f65326b6b092fa47c8/vmlinuz-3.17.0-next-20141008
 -append 'user=lkp 
job=/lkp/scheduled/vm-kbuild-yocto-i386-58/rand_boot-1-yocto-minimal-i386.cgz-i386-randconfig-hxb2-1008-099669ed953121e1b00248f65326b6b092fa47c8-0.yaml
 ARCH=i386 
BOOT_IMAGE=/kernel/i386-randconfig-hxb2-1008/099669ed953121e1b00248f65326b6b092fa47c8/vmlinuz-3.17.0-next-20141008
 kconfig=i386-randconfig-hxb2-1008 
commit=099669ed953121e1b00248f65326b6b092fa47c8 branch=next/master 
root=/dev/ram0 max_uptime=3600 
RESULT_ROOT=/result/vm-kbuild-yocto-i386/boot/1/yocto-minimal-i386.cgz/i386-randconfig-hxb2-1008/099669ed953121e1b00248f65326b6b092fa47c8/0
 ip=vm-kbuild-yocto-i386-58::dhcp earlyprintk=ttyS0,115200 debug apic=debug 
sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 
softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 
prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw 
drbd.minor_count=8'  -initrd /fs/sdf1/initrd-vm-kbuild-yocto-i386-58 -m 320 
-smp 2 -net nic,vlan=1,model=e1000 -net user,vlan=1 -boot order=nc -no-reboot 
-watchdog i6300esb -rtc base=localtime -drive 
file=/fs/sdf1/disk0-vm-kbuild-yocto-i386-58,media=disk,if=virtio -drive 
file=/fs/sdf1/disk1-vm-kbuild-yocto-i386-58,media=disk,if=virtio -drive 
file=/fs/sdf1/disk2-vm-kbuild-yocto-i386-58,media=disk,if=virtio -drive 
file=/fs/sdf1/disk3-vm-kbuild-yocto-i386-58,media=disk,if=virtio -drive 
file=/fs/sdf1/disk4-vm-kbuild-yocto-i386-58,media=disk,if=virtio -drive 
file=/fs/sdf1/disk5-vm-kbuild-yocto-i386-58,media=disk,if=virtio -pidfile 
/dev/shm/kboot/pid-vm-kbuild-yocto-i386-58 -serial 
file:/dev/shm/kboot/serial-vm-kbuild-yocto-i386-58 -daemonize -display none 
-monitor null 



Thanks,
Fengguang
Linux version 3.17.0-next-20141008 #815
Command line: user=lkp