Hi,
i am getting the below error, for testing purpose I download ready to use image from freescale web site and wrote into sd card memory ext2 partition which I created. I downloaded the Ubuntu Oneiric from freescale website.
Waiting for root device /dev/mmcblk1p1...
mmc2: new high speed SDHC card at address b368
mmcblk1: mmc2:b368 SDC 7.41 GiB
mmcblk1: p1
EXT3-fs: barriers not enabled
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk1p1): using internal journal
EXT3-fs (mmcblk1p1): recovery complete
EXT3-fs (mmcblk1p1): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 179:25.
Freeing init memory: 204K
Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.t.
[<80047834>] (unwind_backtrace+0x0/0xf8) from [<80508af4>] (panic+0x74/0x18c)
[<80508af4>] (panic+0x74/0x18c) from [<80508808>] (init_post+0xa0/0xc4)
[<80508808>] (init_post+0xa0/0xc4) from [<800089b4>] (kernel_init+0x10c/0x13c)
[<800089b4>] (kernel_init+0x10c/0x13c) from [<80041aa4>] (kernel_thread_exit+0x0/0x8)
CPU2: stopping
[<80047834>] (unwind_backtrace+0x0/0xf8) from [<8003b324>] (do_IPI+0x150/0x17c)
[<8003b324>] (do_IPI+0x150/0x17c) from [<80040a0c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xbffb5ef0 to 0xbffb5f38)
5ee0: bffb5f38 0000000a 00000000 00000002
5f00: 00000282 bffb4000 bffb4000 00000000 80af77e0 00000002 80a90040 00000000
5f20: 80047134 bffb5f38 8007a570 80079fd4 20000113 ffffffff
[<80040a0c>] (__irq_svc+0x4c/0xe8) from [<80079fd4>] (__do_softirq+0x4c/0x140)
[<80079fd4>] (__do_softirq+0x4c/0x140) from [<8007a570>] (irq_exit+0x94/0x9c)
[<8007a570>] (irq_exit+0x94/0x9c) from [<8003b2e0>] (do_IPI+0x10c/0x17c)
[<8003b2e0>] (do_IPI+0x10c/0x17c) from [<80040a0c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xbffb5f90 to 0xbffb5fd8)
5f80: 80af9140 80000093 00000001 00000000
5fa0: bffb4000 80af1ce4 80510fa4 80aa6e7c 1000406a 412fc09a 00000000 00000000
5fc0: 00000000 bffb5fd8 8004f648 80041b04 40000013 ffffffff
[<80040a0c>] (__irq_svc+0x4c/0xe8) from [<80041b04>] (default_idle+0x24/0x28)
[<80041b04>] (default_idle+0x24/0x28) from [<80041d08>] (cpu_idle+0xc8/0x108)
[<80041d08>] (cpu_idle+0xc8/0x108) from [<10505934>] (0x10505934)
CPU3: stopping
[<80047834>] (unwind_backtrace+0x0/0xf8) from [<8003b324>] (do_IPI+0x150/0x17c)
[<8003b324>] (do_IPI+0x150/0x17c) from [<80040a0c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xbff01f90 to 0xbff01fd8)
1f80: 80af9140 80000093 00000001 00000000
1fa0: bff00000 80af1ce4 80510fa4 80aa6e7c 1000406a 412fc09a 00000000 00000000
1fc0: 00000000 bff01fd8 8004f648 80041b04 40000013 ffffffff
[<80040a0c>] (__irq_svc+0x4c/0xe8) from [<80041b04>] (default_idle+0x24/0x28)
[<80041b04>] (default_idle+0x24/0x28) from [<80041d08>] (cpu_idle+0xc8/0x108)
[<80041d08>] (cpu_idle+0xc8/0x108) from [<10505934>] (0x10505934)
CPU1: stopping
[<80047834>] (unwind_backtrace+0x0/0xf8) from [<8003b324>] (do_IPI+0x150/0x17c)
[<8003b324>] (do_IPI+0x150/0x17c) from [<80040a0c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xbffadf90 to 0xbffadfd8)
df80: 80af9140 60000093 00000001 00000000
dfa0: bffac000 80af1ce4 80510fa4 80aa6e7c 1000406a 412fc09a 00000000 00000000
dfc0: 00000000 bffadfd8 8004f648 80041b04 40000013 ffffffff
[<80040a0c>] (__irq_svc+0x4c/0xe8) from [<80041b04>] (default_idle+0x24/0x28)
[<80041b04>] (default_idle+0x24/0x28) from [<80041d08>] (cpu_idle+0xc8/0x108)
[<80041d08>] (cpu_idle+0xc8/0x108) from [<10505934>] (0x10505934)
I checked the rootfs. It has /sbin/init, /etc/init files. I also tried pointing the init folder by setting environment, stil no difference.
How do i proceed. Any help would be appreciated.
Reformat your partition as EXT3 and place the rootfs again.
I tried it already.. still the problem exists..... any other alternate for this!!!
Make sure the kernel supports either ext2, ext3 or ext4. (on the kernel menu, go to file sytems submenu). I would also try with another SD card with at least 4GB.
Hi Leo,
After adding "rootfstype=ext3" to env i am able to login. Though i am getting below message before login.
"No space left on device" but its a 8gb SD card.
Starting the hotplug events dispatcher udevd |
udevd (1437): /proc/1437/oom_adj is deprecated, please use /proc/1437/oom_score.
Synthesizing initial hotplug events | |
Setting the hostname to freescale | |
Mounting filesystems | |
cp: writing `/mnt/rwfs/var/lib/rpm/Packages': No space left on device | |
cp: writing `/mnt/rwfs/var/lib/rpm/Filemd5s': No space left on device | |
cp: writing `/mnt/rwfs/var/lib/rpm/Provideversion': No space left on device | |
cp: writing `/mnt/rwfs/var/lib/rpm/Name': No space left on device | |
cp: writing `/mnt/rwfs/var/lib/rpm/Requirename': No space left on device | |
cp: writing `/mnt/rwfs/var/lib/rpm/Conflictname': No space left on device | |
cp: writing `/mnt/rwfs/var/lib/rpm/Sigmd5': No space left on device | |
cp: writing `/mnt/rwfs/var/lib/rpm/Group': No space left on device | |
cp: writing `/mnt/rwfs/var/lib/rpm/Dirnames': No space left on device | |
cp: writing `/mnt/rwfs/var/lib/rpm/Basenames': No space left on device | |
cp: writing `/mnt/rwfs/var/lib/rpm/Sha1header': No space left on device |
cp: writing `/mnt/rwfs/var/state/dhcp/dhcpd.leases': No space left on device
cp: writing `/mnt/rwfs/var/state/dhcp/dhclient.leases': No space left on device
mount: mounting usbfs on /proc/bus/usb failed: No such file or directory | |
Starting the port mapper: | |
Starting the dropbear ssh server: |
D-Bus per-session daemon address is: unix:abstract=/tmp/dbus-8evMBMKx7a,guid=269
gtk: creating gdk-pixbuf.loaders | |
pango: creating module list | |
starting pid 3278, tty '': '/etc/rc.d/rc_gpu.S' | |
starting pid 3286, tty '': '/etc/rc.d/rc_mxc.S' | |
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 | |
_XSERVTransOpen: transport open failed for inet6/freescale:0 | |
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 |
arm-none-linux-gnueabi-gcc (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08)
root filesystem built on Tue, 02 Jul 2013 15:21:28 +0530 | |
Freescale Semiconductor, Inc. | |
freescale login: (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/bae
(EE) XKB: No components provided for device Virtual core keyboard | |
unrecognised device identifier! | |
(EE) config/hal: NewInputDeviceRequest failed (2) | |
matchbox: keyboard does not appear to have a <alt> key. | |
matchbox: ignoring key shortcut <Alt>n=next | |
matchbox: keyboard does not appear to have a <alt> key. | |
matchbox: ignoring key shortcut <Alt>p=prev | |
matchbox: keyboard does not appear to have a <alt> key. | |
matchbox: ignoring key shortcut <Alt>c=close | |
matchbox: keyboard does not appear to have a <alt> key. | |
matchbox: ignoring key shortcut <Alt>d=desktop | |
matchbox: keyboard does not appear to have a <alt> key. | |
matchbox: ignoring key shortcut <Alt>m=!matchbox-remote -mbmenu | |
matchbox: keyboard does not appear to have a <alt> key. | |
matchbox: ignoring key shortcut <ctrl><alt>x=!xterm | |
matchbox: keyboard does not appear to have a <alt> key. | |
matchbox: ignoring key shortcut <ctrl><alt>r=!rxvt | |
matchbox: keyboard does not appear to have a <alt> key. | |
matchbox: ignoring key shortcut <ctrl><alt>e=!!gpe-calender | |
matchbox: keyboard does not appear to have a <alt> key. | |
matchbox: ignoring key shortcut <alt>Tab=next | |
matchbox: keyboard does not appear to have a <alt> key. | |
matchbox: ignoring key shortcut <alt><shift>Tab=prev | |
matchbox: keyboard does not appear to have a <alt> key. | |
matchbox: ignoring key shortcut <alt>space=taskmenu | |
matchbox: keyboard does not appear to have a <alt> key. | |
matchbox: ignoring key shortcut <alt>escape=!matchbox-remote -mbmenu | |
matchbox: keyboard does not appear to have a <alt> key. | |
matchbox: ignoring key shortcut <alt>f4=close | |
matchbox: Cant find a keycode for keysym 65480 | |
matchbox: ignoring key shortcut f11=fullscreen | |
matchbox-desktop: loading /usr/lib/matchbox/desktop/tasks.so with args ( None )
matchbox-desktop: loading /usr/lib/matchbox/desktop/dotdesktop.so with args ( N)
user_overides is (nil) | |
mb-desktop-dotdesktop: failed to open /usr/local/share/applications | |
mb-desktop-dotdesktop: failed to open //.applications | |
mb-applet-menu-launcher: bonobo-browser.desktop has no icon, png or name | |
mb-applet-menu-launcher: failed to open /usr/local/share/applications | |
mb-applet-menu-launcher: failed to open //.applications | |
mb-applet-menu-launcher: bonobo-browser.desktop has no icon, png or name | |
mb-applet-menu-launcher: failed to open /usr/local/share/applications | |
mb-applet-menu-launcher: failed to open //.applications |
For some reason, the /mnt/rwfs is not mounted. Try manually this
mount -t tmpfs rwfs /mnt/rwfs/
Also, there must be something not setting right on this file
/etc/rc.d/init.d/filesystems
cat /etc/rc.d/init.d/filesystems
#!/bin/sh
if [ "$1" = "stop" ]
then
echo Unmounting filesystems
umount -a -r
mount -o remount -r %root% /
[ -x /sbin/swapoff ] && swapoff -a
fi
if [ "$1" = "start" ]
then
echo Mounting filesystems
if [ "$TMPFS" = "tmpfs" ]
then
mount -n -t $TMPFS shm /dev/shm
fi
if [ -n "$TMPFS" ]
then
mount -n -t $TMPFS rwfs /mnt/rwfs -o size=$TMPFS_SIZE
fi
if [ "$READONLY_FS" != "y" ]
then
mount -n -o remount -w %root% /
NFSBOOT="`cat /proc/cmdline | grep -q /dev/nfs ; echo $?`"
if [ "$NFSBOOT" == "0" -a -n "$RAMDIRS" ]
then
echo "Booted NFS, not relocating: $RAMDIRS"
RAMDIRS=""
fi
else
# initramfs, ramdisks, others? come up read/write by default
mount -n -o remount -r %root% /
RAMDIRS="$RAMDIRS /tmp /etc /var"
fi
if [ -n "$RAMDIRS" ]
then
for i in $RAMDIRS
do
if [ ! -e /mnt/rwfs/$i ]
then
cp -a $i /mnt/rwfs/
mount -n -o bind /mnt/rwfs/$i $i
fi
done
fi
if [ -e /etc/mtab ]
then
rm -f /etc/mtab
fi
ln -s /proc/mounts /etc/mtab
if [ ! -d /dev/pts ]
then
mkdir /dev/pts
fi
mount -a
fi
i tried to mount manually but still i get no space during booting...
Hi Kaman
I have the same problem like "mb-applet-menu-launcher: failed to open //.applications ",
Have you solved it?
Please tell me if you got it ,THX very much!!