have u checked with the permissions o f the filesystem ? R u booting over nfs or sdcard?
On Sun, Feb 22, 2009 at 2:43 PM, Abhishek Srivastav < srivastaabhis...@gmail.com> wrote: > > > Hello Everyone, > > I am trying to boot android in our Custom board. This board is very > similar to that of OMAP3EVM from Mistral. > > But when I attempt to boot I am getting a Kernel panic while executing > init ie init=/init. I am able to boot the Kernel when I change init > the bootargs ie init=/system/bin/sh, but after this when I attempt to > run init, I am getting a segmentation fault. On analyzing this through > strace command I have observed that it is not able to open the node / > dev/ashmem but the same has been enabled in the Kernel configuration. > > # strace init > execve("/init", ["init"], [/* 4 vars */]) = 0 > gettid() = 287 > syscall_983045(0xbeaead84, 0, 0x40, 0, 0xbeacb000, 0xbeaeaec0, > 0xbeaeae84, 0xf00 > 05, 0, 0, 0, 0, 0, 0xbeaead68, 0x12e07, 0x1926c, 0x60000010, > 0xbeaead84, 0xb9f1, > 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0 > open("/dev/urandom", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file > or director > y) > sigaction(SIGCHLD, {0x88c1, [], SA_NOCLDSTOP}, NULL, 0) = 0 > umask(0) = 022 > mkdir("/dev", 0755) = -1 EEXIST (File exists) > mkdir("/proc", 0755) = -1 EEXIST (File exists) > mkdir("/sys", 0755) = -1 EEXIST (File exists) > mount("tmpfs", "/dev", "tmpfs", 0, 0x1c034) = 0 > mkdir("/dev/pts", 0755) = 0 > mkdir("/dev/socket", 0755) = 0 > mount("devpts", "/dev/pts", "devpts", 0, 0) = 0 > mount("proc", "/proc", "proc", 0, 0) = -1 EBUSY (Device or resource > busy) > mount("sysfs", "/sys", "sysfs", 0, 0) = -1 EBUSY (Device or resource > busy) > mknod("/dev/__null__", S_IFCHR|0600, makedev(1, 3)) = 0 > open("/dev/__null__", O_RDWR|O_LARGEFILE) = 3 > unlink("/dev/__null__") = 0 > dup2(3, 0) = 0 > dup2(3, 1) = 1 > dup2(3, 2) = 2 > close(3) = 0 > mknod("/dev/__kmsg__", S_IFCHR|0600, makedev(1, 11)) = 0 > open("/dev/__kmsg__", O_WRONLY|O_LARGEFILE) = 3 > fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 > unlink("/dev/__kmsg__") = 0 > open("/init.rc", O_RDONLY|O_LARGEFILE) = 4 > lseek(4, 0, SEEK_END) = 8687 > lseek(4, 0, SEEK_SET) = 0 > brk(0) = 0x23000 > brk(0x23000) = 0x23000 > brk(0x26000) = 0x26000 > read(4, "\non init\n\nsysclktz 0\n\nloglevel 3"..., 8687) = 8687 > close(4) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0x40 > 000000 > mprotect(0x40000000, 4096, PROT_READ) = 0 > fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(1, 3), ...}) = 0 > brk(0x27000) = 0x27000 > mprotect(0x40000000, 4096, PROT_READ|PROT_WRITE) = 0 > mprotect(0x40000000, 4096, PROT_READ) = 0 > ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbeaea840) = -1 ENOTTY (Not a > typewrite > r) > brk(0x28000) = 0x28000 > open("/proc/cmdline", O_RDONLY|O_LARGEFILE) = 4 > read(4, "console=ttyS0,115200n8 noinitrd "..., 1023) = 112 > close(4) = 0 > chmod("/proc/cmdline", 0440) = 0 > open("/proc/cpuinfo", O_RDONLY|O_LARGEFILE) = 4 > read(4, "Processor\t: ARMv7 Processor rev "..., 1023) = 744 > close(4) = 0 > open("/init.omap3.rc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file > or direct > ory) > getpid() = 287 > mq_notify(0x10, 0x2) = -1 ENOSYS (Function not > implemented) > open("/dev/ashmem", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or > directory) > open("/default.prop", O_RDONLY|O_LARGEFILE) = 4 > lseek(4, 0, SEEK_END) = 93 > lseek(4, 0, SEEK_SET) = 0 > read(4, "#\n# ADDITIONAL_DEFAULT_PROPERTIE"..., 93) = 93 > close(4) = 0 > --- SIGSEGV (Segmentation fault) @ 0 (20) --- > +++ killed by SIGSEGV +++ > # ls > > Please help me regarding this > > Thanks in advance!!! > > Regards, > Abhishek Srivastav > > > > > > -- with regards vishal --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---