Skip to content

Instantly share code, notes, and snippets.

@dileks
Created April 18, 2011 19:22
Show Gist options
  • Save dileks/925982 to your computer and use it in GitHub Desktop.
Save dileks/925982 to your computer and use it in GitHub Desktop.
$ qemu-system-i386 -kernel bzImage -m 128 -append "root=/dev/ram console=ttyS0 earlyprintk=ttyS0 early_ioremap_debug loglevel=8" -serial stdio
$ qemu-system-i386 -kernel bzImage -m 128 -append "root=/dev/ram console=ttyS0 earlyprintk=ttyS0 early_ioremap_debug loglevel=8" -serial stdio
Decompressing Linux... Parsing ELF... done.
Booting the kernel.
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.38.2-lll+ (sd@tbox) (clang: error: argument unused during compilation: '-g') #2 SMP Mon Apr 18 15:48:03 CEST 2011
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
[ 0.000000] BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 0000000007ffd000 (usable)
[ 0.000000] BIOS-e820: 0000000007ffd000 - 0000000008000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
[ 0.000000] bootconsole [earlyser0] enabled
[ 0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[ 0.000000] early_ioremap(000f0000, 00010000) [0] => Pid: 0, comm: swapper Not tainted 2.6.38.2-lll+ #2
[ 0.000000] Call Trace:
[ 0.000000] [<c14b4a51>] ? __early_ioremap+0xbd/0x1ad
[ 0.000000] [<c104e4ce>] ? parse_args+0x19e/0x256
[ 0.000000] [<c14b498f>] ? early_ioremap+0x14/0x19
[ 0.000000] [<c14d137c>] ? dmi_scan_machine+0x67/0xc6
[ 0.000000] [<c14b4e74>] ? x86_report_nx+0x1e/0x2c
[ 0.000000] [<c14a5e21>] ? setup_arch+0x476/0xc2c
[ 0.000000] [<c14b93a9>] ? cgroup_init_subsys+0xda/0xf1
[ 0.000000] [<c1037dfa>] ? printk+0x2b/0x30
[ 0.000000] [<c14a342e>] ? start_kernel+0xc1/0x375
[ 0.000000] [<c14a30d1>] ? i386_start_kernel+0xd1/0xdb
[ 0.000000] 00000000 + ffc37000
[ 0.000000] BUG: unable to handle kernel paging request at ffc37000
[ 0.000000] IP: [<c11bee47>] memcpy+0x17/0x29
[ 0.000000] *pde = c1516000
[ 0.000000] Oops: 0000 [#1] SMP
[ 0.000000] last sysfs file:
[ 0.000000] Modules linked in:
[ 0.000000]
[ 0.000000] Pid: 0, comm: swapper Not tainted 2.6.38.2-lll+ #2
[ 0.000000] EIP: 0060:[<c11bee47>] EFLAGS: 00000007 CPU: 0
[ 0.000000] EIP is at memcpy+0x17/0x29
[ 0.000000] EAX: c143fef1 EBX: 00000800 ECX: 00000003 EDX: 00000097
[ 0.000000] ESI: ffc37000 EDI: c143fef1 EBP: c143ff08 ESP: c143fed0
[ 0.000000] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 0.000000] Process swapper (pid: 0, ti=c143e000 task=c146b140 task.ti=c143e000)
[ 0.000000] Stack:
[ 0.000000] 0000000f c143fef1 ffc37000 c14d1403 c143fef1 ffc37000 0000000f 00000000
[ 0.000000] 00000000 00000800 c143ff08 c14b498f a81f0993 00000000 c143ff28 c14d1399
[ 0.000000] c1517154 c143ff24 c143ff28 c14b4e74 00000000 00000000 c143ffc8 c14a5e21
[ 0.000000] Call Trace:
[ 0.000000] [<c14d1403>] ? dmi_present+0x28/0x1d4
[ 0.000000] [<c14b498f>] ? early_ioremap+0x14/0x19
[ 0.000000] [<c14d1399>] dmi_scan_machine+0x84/0xc6
[ 0.000000] [<c14b4e74>] ? x86_report_nx+0x1e/0x2c
[ 0.000000] [<c14a5e21>] setup_arch+0x476/0xc2c
[ 0.000000] [<c14b93a9>] ? cgroup_init_subsys+0xda/0xf1
[ 0.000000] [<c1037dfa>] ? printk+0x2b/0x30
[ 0.000000] [<c14a342e>] start_kernel+0xc1/0x375
[ 0.000000] [<c14a30d1>] ? i386_start_kernel+0xd1/0xdb
[ 0.000000] Code: 2b 46 50 88 46 4e 83 c4 04 5e 5d c3 90 90 90 90 90 90 90 90 57 56 50 8b 4c 24 18 89 0c 24 c1 e9 02 8b 44 24 10 8b 74 24 14 89 c7 <f3> a5 8b 0c 24 83 e1 03 74 02 f3 a4 83 c4 04 5e 5f c3 57 8a 44
[ 0.000000] EIP: [<c11bee47>] memcpy+0x17/0x29 SS:ESP 0068:c143fed0
[ 0.000000] CR2: 00000000ffc37000
[ 0.000000] ---[ end trace a7919e7f17c0a725 ]---
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] Pid: 0, comm: swapper Tainted: G D 2.6.38.2-lll+ #2
[ 0.000000] Call Trace:
[ 0.000000] [<c1037383>] ? panic+0x5f/0x16d
[ 0.000000] [<c103a0f7>] ? do_exit+0x70d/0x719
[ 0.000000] [<c132b181>] ? _raw_spin_unlock_irqrestore+0xa/0xb
[ 0.000000] [<c1038af6>] ? kmsg_dump+0x38/0xc8
[ 0.000000] [<c132c43b>] ? oops_end+0x8e/0xae
[ 0.000000] [<c10215a4>] ? no_context+0x127/0x12f
[ 0.000000] [<c102195e>] ? __bad_area_nosemaphore+0x13c/0x14a
[ 0.000000] [<c11bc422>] ? format_decode+0x181/0x2bd
[ 0.000000] [<c11bc0cc>] ? vsnprintf+0xd0/0x2a5
[ 0.000000] [<c101ec7b>] ? early_serial_write+0x23/0x33
[ 0.000000] [<c132b11f>] ? _raw_spin_lock_irqsave+0x11/0x28
[ 0.000000] [<c1054a34>] ? up+0xe/0x32
[ 0.000000] [<c132b181>] ? _raw_spin_unlock_irqrestore+0xa/0xb
[ 0.000000] [<c1038326>] ? console_unlock+0x175/0x1ad
[ 0.000000] [<c132b181>] ? _raw_spin_unlock_irqrestore+0xa/0xb
[ 0.000000] [<c1021229>] ? bad_area_nosemaphore+0x19/0x1e
[ 0.000000] [<c132dddd>] ? do_page_fault+0xbc/0x451
[ 0.000000] [<c11bc422>] ? format_decode+0x181/0x2bd
[ 0.000000] [<c1320020>] ? pcibios_scan_root+0x47/0x82
[ 0.000000] [<c11bc0cc>] ? vsnprintf+0xd0/0x2a5
[ 0.000000] [<c101ec7b>] ? early_serial_write+0x23/0x33
[ 0.000000] [<c132b11f>] ? _raw_spin_lock_irqsave+0x11/0x28
[ 0.000000] [<c1054a34>] ? up+0xe/0x32
[ 0.000000] [<c132b181>] ? _raw_spin_unlock_irqrestore+0xa/0xb
[ 0.000000] [<c1038326>] ? console_unlock+0x175/0x1ad
[ 0.000000] [<c132b181>] ? _raw_spin_unlock_irqrestore+0xa/0xb
[ 0.000000] [<c1038137>] ? vprintk+0x338/0x353
[ 0.000000] [<c1005d79>] ? dump_stack+0x94/0x9c
[ 0.000000] [<c132dd21>] ? do_page_fault+0x0/0x451
[ 0.000000] [<c132babf>] ? error_code+0x67/0x6c
[ 0.000000] [<c11bee47>] ? memcpy+0x17/0x29
[ 0.000000] [<c14d1403>] ? dmi_present+0x28/0x1d4
[ 0.000000] [<c14b498f>] ? early_ioremap+0x14/0x19
[ 0.000000] [<c14d1399>] ? dmi_scan_machine+0x84/0xc6
[ 0.000000] [<c14b4e74>] ? x86_report_nx+0x1e/0x2c
[ 0.000000] [<c14a5e21>] ? setup_arch+0x476/0xc2c
[ 0.000000] [<c14b93a9>] ? cgroup_init_subsys+0xda/0xf1
[ 0.000000] [<c1037dfa>] ? printk+0x2b/0x30
[ 0.000000] [<c14a342e>] ? start_kernel+0xc1/0x375
[ 0.000000] [<c14a30d1>] ? i386_start_kernel+0xd1/0xdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment