cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
molmich86
Visitor
Visitor
7,380 Views
Registered: ‎06-22-2010

Boot hangs after "Freeing unused kernel memory"

Hello I try to boot Linux on ml507 board, but it hangs after:

 



zImage starting: loaded at 0x00400000 (sp: 0x00895eb0)

Allocating 0x368b38 bytes for kernel ...

gunzipping (0x00000000 <- 0x0040d000:0x005a26a1)...done 0x34c61c bytes

Attached initrd image at 0x005a3000-0x00894187

initrd head: 0x1f8b0808


Linux/PowerPC load: console=ttyUL0 ip=on  root=/dev/ram rw

Finalizing device tree... flat tree at 0x8a2300

Using Xilinx Virtex440 machine description
Linux version 2.6.34 (misha@blub) (gcc version 4.2.2) #0 Tue Jul 6 11:10:02 CEST 2010
Found initrd at 0xc05a3000:0xc0894187
Zone PFN ranges:
  DMA      0x00000000 -> 0x00010000
  Normal   empty
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00010000
MMU: Allocated 1088 bytes of context maps for 255 contexts
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: console=ttyUL0 ip=on  root=/dev/ram rw
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 253344k/262144k available (3244k kernel code, 8800k reserved, 136k data, 110k bss, 140k init)
Kernel virtual memory layout:
  * 0xfffdf000..0xfffff000  : fixmap
  * 0xfde00000..0xfe000000  : consistent mem
  * 0xfde00000..0xfde00000  : early ioremap
  * 0xd1000000..0xfde00000  : vmalloc & ioremap
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:512 nr_irqs:512
clocksource: timebase mult[a00000] shift[22] registered
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Probing PCI hardware
bio: create slab <bio-0> at 0
vgaarb: loaded
Switching to clocksource timebase
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 3012k freed
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 500
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
84020000.serial: ttyUL0 at MMIO 0x84020003 (irq = 0) is a uartlite
console [ttyUL0] enabled
84000000.serial: ttyUL1 at MMIO 0x84000003 (irq = 0) is a uartlite
brd: module loaded
PPC 4xx OCP EMAC driver, version 3.54
TCP cubic registered
NET: Registered protocol family 17
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
Freeing unused kernel memory: 140k init

 

 

 

but why?

0 Kudos
Reply
3 Replies
molmich86
Visitor
Visitor
7,373 Views
Registered: ‎06-22-2010

ok it works...

0 Kudos
Reply
linux_newbie
Visitor
Visitor
7,344 Views
Registered: ‎07-07-2010

I have the same problem as yours. What did you do to fix it?

 

Thank you.

0 Kudos
Reply
thatwackyguy
Visitor
Visitor
7,268 Views
Registered: ‎06-29-2010

You should check that you have your interrupt from the UART going to the interrupt controller and the dts file has been updated to reflect it.

0 Kudos
Reply