Skip to content

Instantly share code, notes, and snippets.

Created January 18, 2011 23:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/785363 to your computer and use it in GitHub Desktop.
[mw@thanatos ~]$ ~/repo/qemu-build/lm32-softmmu/qemu-system-lm32 -M milkymist -kernel ~/repo/b-linux/vmlinux -nographic -initrd ~/repo/initrd.bin -append "console=ttyS0 root=/dev/ram init=/sbin/init"
Linux version 2.6.37-rc6+ (mw@thanatos) (gcc version 4.5.1 (GCC) ) #35 Wed Jan 19 00:17:54 CET 2011
memory from 4026e000 - 48000000
reserving initrd memory: 41002000 size 800000
start_mem is 0x4026e000
virtual_end is 0x48000000
before free_area_init
free_area_init -> start_mem is 0x4026e000
virtual_end is 0x48000000
after free_area_init
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 146880
Kernel command line: console=ttyS0 root=/dev/ram init=/sbin/init
PID hash table entries: 4096 (order: 1, 16384 bytes)
Dentry cache hash table entries: 262144 (order: 7, 1048576 bytes)
Inode-cache hash table entries: 131072 (order: 6, 524288 bytes)
Memory available: 114168k/131072k RAM, (2320k kernel code, 97k data)
NR_IRQS:32
Console: colour dummy device 80x25
console [ttyS0] enabled
milkymist_uart: registered real console
Calibrating delay loop... 3348.88 BogoMIPS (lpj=16744448)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 1024
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 3, 65536 bytes)
TCP established hash table entries: 65536 (order: 6, 524288 bytes)
TCP bind hash table entries: 65536 (order: 5, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (junk in compressed archive); looks like an initrd
Freeing initrd mem: 8192k freed
ROMFS MTD (C) 2007 Red Hat, Inc.
io scheduler noop registered (default)
milkymist_uart: Milkymist UART driver
ttyS0 at I/O 0x0 (irq = 0) is a milkymist_uart
milkymist_uart: added port 0 with irq 0-1 at 0xe0000000
brd: module loaded
loop: module loaded
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 8192KiB [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
/home/mw/repo/milkymist-linux/arch/lm32/kernel/process.c:174 regs=47821ec4
p=46a1dffc
46a18044: 34 1b 00 00 78 01 46 a1 38 21 81 68 34 02 00 00
46a18054: 34 03 00 00 34 04 00 00 34 05 00 00 34 06 00 00
46a18064: bb 80 38 00 f8 00 01 ba 37 9c ff ec 5b 8b 00 14
46a18074: 5b 8c 00 10 5b 8d 00 0c 5b 8e 00 08 5b 9d 00 04
46a18084: 78 0e 46 a1 39 ce 9a c8 41 c1 00 00 5c 20 00 18
46a18094: 78 0d 46 a1 78 0c 46 a1 39 ad 9a c4 39 8c 9a c0
46a180a4: c9 ac 68 00 78 0b 46 a1 15 ad 00 01 39 6b 9a cc
46a180b4: 15 ad 00 01 29 62 00 00 35 ad ff ff 50 4d 00 0a
46a180c4: 34 42 00 01 b4 42 08 00 b4 21 08 00 b5 81 08 00
46a180d4: 28 21 00 00 59 62 00 00 d8 20 00 00 29 62 00 00
46a180e4: 55 a2 ff f8 34 01 00 01 31 c1 00 00 2b 9d 00 04
46a180f4: 2b 8b 00 14 2b 8c 00 10 2b 8d 00 0c 2b 8e 00 08
46a18104: 37 9c 00 14 c3 a0 00 00 37 9c ff fc 5b 9d 00 04
46a18114: 2b 9d 00 04 37 9c 00 04 c3 a0 00 00 37 9c ff fc
46a18124: 5b 9d 00 04 78 01 46 a1 38 21 99 88 28 22 00 00
46a18134: 44 40 00 05 78 02 00 00 38 42 00 00 44 40 00 02
regs=47821ec4
start_thread(regs=0x47821ec4, entry=0x46a18044, start_stack=0x46a1dfbc)
start_thread: current=4781fbe0 usp=46a1dfbc
Hello world!
Kernel panic - not syncing: Attempted to kill init!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment