Forums

Porting linux on PPC 750 Cxe error after Freeing unused kernel memory: 248k init

Started by Kiran July 23, 2004
Hi all,

We are porting linux on to a PPC750 Cxe based board.
We are successful enough to get the kernel messages on to the serial console.

Following is the console ouput on the hyperterminal...
No output is printed after the message "Freeing unused kernel memory: 248k init"
 
But kernel is still alive. It is not hanging as well. 
Hope you can throw light on this.
 
Regards
Kiran Kumar
.................................................................
 
 ## initrd at 0x00800040 ... 0x0090235B (len=1057564=0x10231C)
   Loading Ramdisk to 07e6f000, end 07f7131c ... OK
## Transferring control to Linux (at address 00000000) ...

Linux version 2.4.24-pre2 (root@Arun) (gcc version 3.2.2 20030217 (Yellow Dog Li
nux 3.0 3.2.2-2a_1)) #44 Thu Jul 22 14:57:54 IST 2004
Marvell/Galileo EV-64260-BP
EV-64260-BP port (C) 2001 MontaVista Software, Inc. (source@mvista.com)
On node 0 totalpages: 32768
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram ip=192.168.10.160:192.168.10.132:192.168.10.1
32:255.255.255.0:ATSLinux:eth0:none console=ttyS0,115200 gt_mac0=00504300000f gt
_mac1=00504300001e gt_mac2=00504300001f
IP-Config: Parameter #0: `192.168.10.160'
IP-Config: Parameter #1: `192.168.10.132'
IP-Config: Parameter #2: `192.168.10.132'
IP-Config: Parameter #3: `255.255.255.0'
IP-Config: Parameter #4: `ATSLinux'
IP-Config: Parameter #5: `eth0'
IP-Config: Parameter #6: `none'
time_init: decrementer frequency = 0.541666 MHz
Calibrating delay loop... 27.34 BogoMIPS
Memory: 126368k available (1212k kernel code, 404k data, 248k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en
abled
ttyS00 at 0xfbb00000 (irq = 4) is a 16550A
ttyS01 at 0xfbb10000 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 80000000K size 1024 blocksize
loop: loaded (max 8 devices)
 In gt64260_eth_module_initgt base 3cf 100
gt base 0 1
gt base 0 1
gt base 1e0100 1
gt base 0 1
physmap flash device: 80000 at fff00000
CFI: Found no Physically mapped flash device at location zero
kmod: failed to exec /sbin/modprobe -s -k jedec_probe, errno = 2
kmod: failed to exec /sbin/modprobe -s -k map_rom, errno = 2
usb.c: registered new driver hub
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
IP: routing cache hash table of 1024 buckets, 8Kbytes
IP-Config: Entered.
gt64260_eth_open : Assigned IRQ 33 to gt64260_eth1
eth0: link state:
  GT: 10: Link:HD:nFC
gt base 3cf 100
gt base 0 1
gt base 0 1
gt base 1e0100 1
gt base 0 1
eth0: link state:
  GT: 10: Link:HD:nFC
IP-Config: eth0 UP (able=1, xid=1b4f6bc2)
IP-Config: Complete:
      device=eth0, addr=192.168.10.160, mask=255.255.255.0, gw=192.168.10.132,
     host=ATSLinux, domain=, nis-domain=(none),
     bootserver=192.168.10.132, rootserver=192.168.10.132, rootpath=/tftpboot/19
2.168.10.160
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1032k freed
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 248k init
Kiran -

The "init" process isn't printing to your console.  Did you specify the console
device when you booted?  Try adding something like "console=ttyS0,9600" to your boot
parameters.

- Glen


Kiran wrote:

> Hi all, > > We are porting linux on to a PPC750 Cxe based board. > We are successful enough to get the kernel messages on to the serial console. > > Following is the console ouput on the hyperterminal... > No output is printed after the message "Freeing unused kernel memory: 248k init" > > But kernel is still alive. It is not hanging as well. > Hope you can throw light on this. > > Regards > Kiran Kumar > ................................................................. > > ## initrd at 0x00800040 ... 0x0090235B (len=1057564=0x10231C) > Loading Ramdisk to 07e6f000, end 07f7131c ... OK > ## Transferring control to Linux (at address 00000000) ... > > Linux version 2.4.24-pre2 (root@Arun) (gcc version 3.2.2 20030217 (Yellow Dog Li > nux 3.0 3.2.2-2a_1)) #44 Thu Jul 22 14:57:54 IST 2004 > Marvell/Galileo EV-64260-BP > EV-64260-BP port (C) 2001 MontaVista Software, Inc. (source@mvista.com) > On node 0 totalpages: 32768 > zone(0): 32768 pages. > zone(1): 0 pages. > zone(2): 0 pages. > Kernel command line: root=/dev/ram ip=192.168.10.160:192.168.10.132:192.168.10.1 > 32:255.255.255.0:ATSLinux:eth0:none console=ttyS0,115200 gt_mac0=00504300000f gt > _mac1=00504300001e gt_mac2=00504300001f > IP-Config: Parameter #0: `192.168.10.160' > IP-Config: Parameter #1: `192.168.10.132' > IP-Config: Parameter #2: `192.168.10.132' > IP-Config: Parameter #3: `255.255.255.0' > IP-Config: Parameter #4: `ATSLinux' > IP-Config: Parameter #5: `eth0' > IP-Config: Parameter #6: `none' > time_init: decrementer frequency = 0.541666 MHz > Calibrating delay loop... 27.34 BogoMIPS > Memory: 126368k available (1212k kernel code, 404k data, 248k init, 0k highmem) > Dentry cache hash table entries: 16384 (order: 5, 131072 bytes) > Inode cache hash table entries: 8192 (order: 4, 65536 bytes) > Mount cache hash table entries: 512 (order: 0, 4096 bytes) > Buffer cache hash table entries: 8192 (order: 3, 32768 bytes) > Page-cache hash table entries: 32768 (order: 5, 131072 bytes) > POSIX conformance testing by UNIFIX > PCI: Probing PCI hardware > Linux NET4.0 for Linux 2.4 > Based upon Swansea University Computer Society NET3.039 > Initializing RT netlink socket > Starting kswapd > devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) > devfs: boot_options: 0x0 > pty: 256 Unix98 ptys configured > Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en > abled > ttyS00 at 0xfbb00000 (irq = 4) is a 16550A > ttyS01 at 0xfbb10000 (irq = 3) is a 16550A > RAMDISK driver initialized: 16 RAM disks of 80000000K size 1024 blocksize > loop: loaded (max 8 devices) > In gt64260_eth_module_initgt base 3cf 100 > gt base 0 1 > gt base 0 1 > gt base 1e0100 1 > gt base 0 1 > physmap flash device: 80000 at fff00000 > CFI: Found no Physically mapped flash device at location zero > kmod: failed to exec /sbin/modprobe -s -k jedec_probe, errno = 2 > kmod: failed to exec /sbin/modprobe -s -k map_rom, errno = 2 > usb.c: registered new driver hub > NET4: Linux TCP/IP 1.0 for NET4.0 > IP Protocols: ICMP, UDP, TCP, IGMP > IP: routing cache hash table of 1024 buckets, 8Kbytes > IP: routing cache hash table of 1024 buckets, 8Kbytes > IP-Config: Entered. > gt64260_eth_open : Assigned IRQ 33 to gt64260_eth1 > eth0: link state: > GT: 10: Link:HD:nFC > gt base 3cf 100 > gt base 0 1 > gt base 0 1 > gt base 1e0100 1 > gt base 0 1 > eth0: link state: > GT: 10: Link:HD:nFC > IP-Config: eth0 UP (able=1, xid=1b4f6bc2) > IP-Config: Complete: > device=eth0, addr=192.168.10.160, mask=255.255.255.0, gw=192.168.10.132, > host=ATSLinux, domain=, nis-domain=(none), > bootserver=192.168.10.132, rootserver=192.168.10.132, rootpath=/tftpboot/19 > 2.168.10.160 > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > RAMDISK: Compressed image found at block 0 > Freeing initrd memory: 1032k freed > VFS: Mounted root (ext2 filesystem) readonly. > Freeing unused kernel memory: 248k init
-- Glen Call gcall@flash.net