Look in the system log or dmesg.

On Mon, May 4, 2009 at 11:39 AM, dan raaka <[email protected]> wrote:

> Well the verbose output from the emulator doesn't show anything obvious
>
> $ emulator -sdcard ./sdcard.img -scale 0.75 -verbose&
> [2] 21528
> emulator: found Android build root: /home/danraaka/BuildDir/cupcakeFinal
> emulator: found Android build out:
> /home/danraaka/BuildDir/cupcakeFinal/out/target/product/generic
> emulator:     locking user data image at
> /home/danraaka/BuildDir/cupcakeFinal/out/target/product/generic/userdata-qemu.img
> emulator:     locking SD Card image at ./sdcard.img
> emulator: selecting default skin name 'HVGA'
> emulator: autoconfig: -skin HVGA
> emulator: autoconfig: -skindir
> /home/danraaka/BuildDir/cupcakeFinal/development/emulator/skins
> emulator: keyset loaded from: /home/danraaka/.android/default.keyset
> emulator: trying to load skin file
> '/home/danraaka/BuildDir/cupcakeFinal/development/emulator/skins/HVGA/layout
> '
> emulator: skin network speed: 'full'
> emulator: skin network delay: 'none'
> emulator: argv[00] = "emulator"
> emulator: argv[01] = "-kernel"
> emulator: argv[02] =
> "/home/danraaka/BuildDir/cupcakeFinal/prebuilt/android-arm/kernel/kernel-qemu"
> emulator: argv[03] = "-initrd"
> emulator: argv[04] =
> "/home/danraaka/BuildDir/cupcakeFinal/out/target/product/generic/ramdisk.img"
> emulator: argv[05] = "-nand"
> emulator: argv[06] =
> "system,size=0x4200000,initfile=/home/danraaka/BuildDir/cupcakeFinal/out/target/product/generic/system.img"
> emulator: argv[07] = "-nand"
> emulator: argv[08] =
> "userdata,size=0x4200000,file=/home/danraaka/BuildDir/cupcakeFinal/out/target/product/generic/userdata-qemu.img"
> emulator: argv[09] = "-nand"
> emulator: argv[10] = "cache,size=0x4200000"
> emulator: argv[11] = "-hda"
> emulator: argv[12] = "./sdcard.img"
> emulator: argv[13] = "-serial"
> emulator: argv[14] = "android-kmsg"
> emulator: argv[15] = "-serial"
> emulator: argv[16] = "android-qemud"
> emulator: argv[17] = "-append"
> emulator: argv[18] = "qemu=1 console=ttyS0 android.checkjni=1
> android.qemud=ttyS1 android.ndns=1"
> emulator: argv[19] = "-m"
> emulator: argv[20] = "96"
> emulator: argv[21] = "-clock"
> emulator: argv[22] = "unix"
> emulator: mapping 'system' NAND image to /tmp/android/emulator-D9GXhI
> emulator: mapping 'cache' NAND image to /tmp/android/emulator-VJLGLj
> emulator: using 'esd' audio input backend
> emulator: using 'esd' audio output backend
> emulator: control console listening on port 5554, ADB on port 5555
> emulator: sent '0012host:emulator:5555' to ADB server
>
>
>
> On Mon, May 4, 2009 at 11:31 AM, Marco Nelissen <[email protected]>wrote:
>
>> On Mon, May 4, 2009 at 11:08 AM, Dan Raaka <[email protected]> wrote:
>>
>>>
>>> Using "android-1.5" tagged source from cupcake branch
>>>
>>> created an sdcard image
>>> $ ./out/host/linux-x86/bin/mksdcard 64M sdcard.img
>>> launched the emulator to use the above image
>>> $  emulator -sdcard ./sdcard.img -scale 0.75 &
>>> $ adb shell ls -l
>>> drwxrwxrwt root     root              2009-05-04 18:00
>>> sqlite_stmt_journals
>>> drwxrwx--- system   cache             2009-05-04 18:00 cache
>>> d--------- system   system            2009-05-04 18:00 sdcard
>>> lrwxrwxrwx root     root              2009-05-04 18:00 etc -> /system/
>>> etc
>>> drwxr-xr-x root     root              2009-04-29 20:49 system
>>> drwxr-xr-x root     root              1970-01-01 00:00 sys
>>> drwxr-x--- root     root              1970-01-01 00:00 sbin
>>> dr-xr-xr-x root     root              1970-01-01 00:00 proc
>>> -rwxr-x--- root     root         9075 1970-01-01 00:00 init.rc
>>> -rwxr-x--- root     root         1677 1970-01-01 00:00
>>> init.goldfish.rc
>>> -rwxr-x--- root     root       106568 1970-01-01 00:00 init
>>> -rw-r--r-- root     root          118 1970-01-01 00:00 default.prop
>>> drwxrwx--x system   system            2009-04-30 22:59 data
>>> drwx------ root     root              1970-01-01 00:00 root
>>> drwxr-xr-x root     root              2009-05-04 18:01 dev
>>> $ adb shell
>>> # mount
>>> rootfs / rootfs ro 0 0
>>> tmpfs /dev tmpfs rw,mode=755 0 0
>>> devpts /dev/pts devpts rw,mode=600 0 0
>>> proc /proc proc rw 0 0
>>> sysfs /sys sysfs rw 0 0
>>> tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
>>> /dev/block/mtdblock0 /system yaffs2 ro 0 0
>>> /dev/block/mtdblock1 /data yaffs2 rw,nosuid,nodev 0 0
>>> /dev/block/mtdblock2 /cache yaffs2 rw,nosuid,nodev 0 0
>>>
>>>
>>> The sdcard is mounted READ-ONLY !! and doesn;t even get listed as
>>> mounted !!
>>> whats going on here ?
>>
>>
>> It's not mounted read-only. It's not mounted at all, and the /sdcard
>> mountpoint is read only to you.
>> There's probably something in the log that explains why it didn't get
>> mounted.
>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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