Hi David

Thanks for your response

As you figured out

emulator -system ./a/b/ works but emulator -system ./a/b/ -kernel
x/y/z/kernelImage doesnot works.

My emulator doesnot works with the latest kernel. I have downloaded the
kernel code from the Android site only. This kernel is already working for
some people. I wonder why it doesnot work for me ....

Hope i will get the fix soon

Regards
Joe













On Fri, Feb 27, 2009 at 8:45 PM, David Turner <[email protected]> wrote:

> Are you saying that the following works:
>
> emulator -system ./a/b/
>
> While this line doesn't:
>
> emulator -system ./a/b/ -kernel x/y/z/kernelImage
>
> If so, there is something in your kernel that is preventing the proper
> mounting of / (a.k.a. system.img), which explains the "cannot find
> /system/XXXX" messages.
> You should probably check your kernel configuration to ensure that you have
> the YAFFS2 drivers compiled in, and probably a lot more things that I don't
> know much about (I'm not a kernel hacker)
>
> By the way, the output of '-verbose', which you didn't provide, is useful
> to know which system.img and ramdisk.img was picked exactly. This removes a
> certain level of uncertainty when debugging these problems. I suggest you to
> check it thoroughly.
>
>
> On Fri, Feb 27, 2009 at 4:04 PM, Joe Petruchi <[email protected]>wrote:
>
>>
>> Hi
>> I am using the same system.img file which was working fine with the
>> previous emulator kernel 2.6.25.
>>
>> The verbose gives a seg fault for me with both previous and new kernel.
>> The complete output of show-kernel is given below
>>
>> Uncompressing
>> Linux.....................................................................................
>> done, booting the kernel.
>> emulator: emulator window was out of view and was recentred
>> Linux version 2.6.27 (r...@ubuntu810desktop) (gcc version 4.3.1 (GCC) )
>> #1 Thu Feb 26 22:16:35 IST 2009
>> CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00003137
>> Machine: Goldfish
>> Memory policy: ECC disabled, Data cache writeback
>> CPU0: D VIVT write-through cache
>> CPU0: I cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets
>> CPU0: D cache: 65536 bytes, associativity 4, 32 byte lines, 512 sets
>> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 24384
>> Kernel command line: qemu=1 console=ttyS0 android.checkjni=1
>> android.qemud=ttyS1 android.ndns=1
>> Unknown boot option `android.checkjni=1': ignoring
>> Unknown boot option `android.qemud=ttyS1': ignoring
>> Unknown boot option `android.ndns=1': ignoring
>> PID hash table entries: 512 (order: 9, 2048 bytes)
>> Console: colour dummy device 80x30
>> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
>> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
>> Memory: 96MB = 96MB total
>> Memory: 94040KB available (2412K code, 640K data, 104K init)
>> Calibrating delay loop... 563.60 BogoMIPS (lpj=2818048)
>> Mount-cache hash table entries: 512
>> CPU: Testing write buffer coherency: ok
>> net_namespace: 288 bytes
>> NET: Registered protocol family 16
>> NET: Registered protocol family 2
>> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
>> TCP established hash table entries: 4096 (order: 3, 32768 bytes)
>> TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
>> TCP: Hash tables configured (established 4096 bind 4096)
>> TCP reno registered
>> NET: Registered protocol family 1
>> checking if image is initramfs... it is
>> Freeing initrd memory: 133K
>> goldfish_new_pdev goldfish_interrupt_controller at ff000000 irq -1
>> goldfish_new_pdev goldfish_device_bus at ff001000 irq 1
>> goldfish_new_pdev goldfish_timer at ff003000 irq 3
>> goldfish_new_pdev goldfish_rtc at ff010000 irq 10
>> goldfish_new_pdev goldfish_tty at ff002000 irq 4
>> goldfish_new_pdev goldfish_tty at ff011000 irq 11
>> goldfish_new_pdev smc91x at ff012000 irq 12
>> goldfish_new_pdev goldfish_fb at ff013000 irq 13
>> goldfish_new_pdev goldfish_audio at ff004000 irq 14
>> goldfish_new_pdev goldfish_memlog at ff006000 irq -1
>> goldfish_new_pdev goldfish-battery at ff014000 irq 15
>> goldfish_new_pdev goldfish_events at ff015000 irq 16
>> goldfish_new_pdev goldfish_nand at ff016000 irq -1
>> goldfish_new_pdev goldfish-switch at ff017000 irq 17
>> goldfish_new_pdev goldfish-switch at ff018000 irq 18
>> goldfish_pdev_worker registered goldfish-switch
>> goldfish_pdev_worker registered goldfish-switch
>> goldfish_pdev_worker registered goldfish_nand
>> goldfish_pdev_worker registered goldfish_events
>> goldfish_pdev_worker registered goldfish-battery
>> goldfish_pdev_worker registered goldfish_memlog
>> goldfish_pdev_worker registered goldfish_audio
>> goldfish_pdev_worker registered goldfish_fb
>> goldfish_pdev_worker registered smc91x
>> goldfish_pdev_worker registered goldfish_tty
>> goldfish_pdev_worker registered goldfish_tty
>> goldfish_pdev_worker registered goldfish_rtc
>> goldfish_pdev_worker registered goldfish_timer
>> goldfish_pdev_worker registered goldfish_device_bus
>> goldfish_pdev_worker registered goldfish_interrupt_controller
>> goldfish_audio_probe
>> ashmem: initialized
>> Installing knfsd (copyright (C) 1996 [email protected]).
>> yaffs Feb 26 2009 22:13:35 Installing.
>> msgmni has been set to 184
>> io scheduler noop registered
>> io scheduler anticipatory registered (default)
>> io scheduler deadline registered
>> io scheduler cfq registered
>> allocating frame buffer 320 * 480, got ffc10000
>> Console: switching to colour frame buffer device 40x30
>> console [ttyS0] enabled
>> brd: module loaded
>> loop: module loaded
>> nbd: registered device at major 43
>> logger: created 64K log 'log_main'
>> logger: created 256K log 'log_events'
>> logger: created 64K log 'log_radio'
>> smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <[email protected]>
>> eth0: SMC91C11xFD (rev 1) at c6800000 IRQ 12 [nowait]
>> eth0: Ethernet addr: 52:54:00:12:34:56
>> goldfish nand dev0: size 4000000, page 2048, extra 64, erase 131072
>> goldfish nand dev1: size 4000000, page 2048, extra 64, erase 131072
>> goldfish nand dev2: size 4000000, page 2048, extra 64, erase 131072
>> mice: PS/2 mouse device common for all mice
>> events_probe() addr=0xc6804000 irq=16
>> events_probe() keymap=qwerty2
>> input: qwerty2 as /devices/virtual/input/input0
>> GRE over IPv4 tunneling driver
>> TCP cubic registered
>> NET: Registered protocol family 17
>> RPC: Registered udp transport module.
>> RPC: Registered tcp transport module.
>> 802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
>> All bugs added by David S. Miller <[email protected]>
>> VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 0
>> goldfish_rtc goldfish_rtc: setting system clock to 2009-02-27 00:27:05 UTC
>> (1235694425)
>> Freeing init memory: 104K
>> init: Unable to open persistent property directory /data/property errno: 2
>> init: cannot find '/system/bin/sh', disabling 'console'
>> init: cannot find '/system/bin/mountd', disabling 'mountd'
>> init: cannot find '/system/bin/rild', disabling 'ril-daemon'
>> init: cannot find '/system/bin/app_process', disabling 'zygote'
>> init: cannot find '/system/bin/playmp3', disabling 'bootsound'
>> init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
>> init: cannot find '/system/bin/flash_image', disabling 'flash_recovery'
>> init: cannot find '/system/etc/init.goldfish.sh', disabling
>> 'goldfish-setup'
>> init: cannot find '/system/bin/qemud', disabling 'qemud'
>> init: cannot find '/system/bin/logcat', disabling 'goldfish-logcat'
>>
>> Hope this helps
>>
>> I am suspecting some problem with mount due to which the initial error
>> occurs with /data/property file but not able to proceed
>>
>> Regards
>> Joe
>>
>>
>>
>> On Fri, Feb 27, 2009 at 8:08 PM, David Turner <[email protected]> wrote:
>>
>>> looks like your system.img image is bad/corrupted. What is the output of
>>> '-verbose' ?
>>>
>>>
>>> On Fri, Feb 27, 2009 at 11:32 AM, Joe Petruchi <[email protected]
>>> > wrote:
>>>
>>>>  Hi Bryne
>>>> Hi All
>>>> I was trying to change the kernel for Emulator.I was successful in
>>>> building the kernel Image(2.6.27) for the Emlator using the Goldfish
>>>> configuraton. The Emulators kernel is booting up however it stops in the
>>>> intial Andriod screen. i gave the following command
>>>>
>>>> emulator -kernel ./x/y/zImage -system ./a/b/ -show-kernel
>>>>
>>>> I saw the kernel messages.. Everything works fine; the init finally
>>>> fails telling this
>>>>
>>>> init: cannot open '/initlogo.rle'
>>>> init: Unable to open persistent property directory /data/property errno:
>>>> 2
>>>> init: cannot find '/system/bin/servicemanager', disabling
>>>> 'servicemanager'
>>>> init: cannot find '/system/bin/mountd', disabling 'mountd'
>>>> init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
>>>> init: cannot find '/system/bin/rild', disabling 'ril-daemon'
>>>> init: cannot find '/system/bin/app_process', disabling 'zygote'
>>>> init: cannot find '/system/bin/mediaserver', disabling 'media'
>>>> init: cannot find '/system/bin/playmp3', disabling 'bootsound'
>>>> init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
>>>> init: cannot find '/system/bin/installd', disabling 'installd'
>>>> init: cannot find '/system/bin/flash_image', disabling 'flash_recovery'
>>>> init: cannot find '/system/etc/init.goldfish.sh', disabling
>>>> 'goldfish-setup'
>>>> init: cannot find '/system/bin/qemud', disabling 'qemud'
>>>> init: cannot find '/system/bin/logcat', disabling 'goldfish-logcat'
>>>>
>>>>  Does any body face the same problem ??
>>>> Joe
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to