Hi all,

We've made SD card 4 partions, 1 FAT32 for U-boot & Kernel images, 2
EXT3 for System image, 3 EXT3 for Data and 4 EXT3 for Cache.

It is boot fine from SD card, but there are some issues like once it
goes to Suspend state, after Resuming Android UI doesn't come up.
It doesn't hang, though the adb shell is OK it responds but there is
no filesytem commands present.

Where as there is no issues, if we boot from NAND.

Logs :
-------
U-Boot 1.3.4-00002-gf6c73dd (Jul 13 2010 - 10:55:48)for SMDK6440


CPU:     s5p6...@533mhz
         Fclk = 533MHz, Hclk = 133MHz, Pclk = 66MHz, Serial = PCLK
Board:   SMDK6440
DRAM:    256 MB
Flash:   0 kB
SD/MMC:  SD/MMC channel0 is selected for booting device.
7788MB
NAND:    256 MB
The input address don't need a virtual-to-physical translation :
27e7d2a0
In:      serial
Out:     serial
Err:     serial
Hit any key to stop autoboot:  0
reading kernel.. 15940558, 8192
MMC read: dev # 0, block # 15940558, count 8192 ...The input address
don't need a virtual-to-physical translation : 20008000
8192 blocks read: OK
completed
Boot with zImage
The input address don't need a virtual-to-physical translation :
20008000

Starting kernel ...

Uncompressing
Linux..........................................................................................................
done, booting the kernel.
Linux version 2.6.29 (r...@localhost.localdomain) (gcc version 4.3.1
(for S3C64XX Samsung Electronics AP Development Team) ) #2 Thu Jul 15
14:55:30 BDT 2010
CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7),
cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: SMDK6440
Ignoring unrecognised tag 0x41001099
Memory policy: ECC disabled, Data cache writeback
CPU S5P6440 (id 0x56440100)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S5P64XX: PLL settings, A=533.0MHz, M=390.0MHz, E=97.699MHz
S5P64XX: HCLK=133.250MHz, HCLK_LOW=97.500MHz, PCLK=66.625MHz,
PCLK_LOW=48.750MHz
mout_apll: source is fout_apll (1), rate is 533.0MHz
mout_epll: source is ext_xtal (0), rate is 12.0MHz
mout_mpll: source is mpll (1), rate is 390.0MHz
mmc_bus: source is dout_mpll (1), rate is 43.333MHz
mmc_bus: source is dout_mpll (1), rate is 43.333MHz
mmc_bus: source is dout_mpll (1), rate is 43.333MHz
uclk1: source is mout_epll (0), rate is 12.0MHz
spi_epll: source is mout_epll (0), rate is 12.0MHz
spi_epll: source is mout_epll (0), rate is 12.0MHz
sclk_audio2: source is mout_epll (0), rate is 12.0MHz
sclk_fimgvg: source is dout_mpll (0), rate is 195.0MHz
sclk_dispcon: source is dout_mpll (1), rate is 390.0MHz
s3c64xx: 16777216 bytes SDRAM reserved for pmem at 0x205e2000
s3c64xx: 1048576 bytes SDRAM reserved for pmem_gpu1 at 0x215e2000
s3c64xx: 1048576 bytes SDRAM reserved for pmem_adsp at 0x216e2000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
65024
Kernel command line: root=/dev/mmcblk0p2 rootfstype=ext3 init=/init
rootdelay=5 console=ttySAC1,115200
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
console [ttySAC1] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 237312KB available (3008K code, 749K data, 144K init)
Calibrating delay loop... 530.84 BogoMIPS (lpj=1327104)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 564 bytes
regulator: core version 0.5
NET: Registered protocol family 16
ndroid_pmem_set_platdata ----start ndroid_pmem_set_platdata ----sstop
   smdk6440_machine_init  ========> platform_add_devices
   smdk6440_machine_init  ========> platform_add_devices...end@@@
<6>S5P6440 Power Management, (c) 2008 Samsung Electronics
s3c24xx-pwm s3c24xx-pwm.0: tin at 33312500, tdiv at 33312500,
tin=divclk, base 0
s3c24xx-pwm s3c24xx-pwm.1: tin at 33312500, tdiv at 33312500,
tin=divclk, base 8
S5P6440: Initialising architecture
S3C PL330-DMA Controller Driver, (c) 2008-2009 Samsung Electronics
Total 8 DMA channels will be initialized.
DMA: got clock for controller 0 and disabled
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
SMDKC110 Button init function
SMDK6440 Button init function

 s3c_button_gpio_init<6>input: s3c-keypad as /devices/virtual/input/
input0
S3C button Driver
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
msgmni has been set to 463
io scheduler noop registered
io scheduler cfq registered (default)
s3cfb: [fb0] dma: 0x2f200000, cpu: 0xff600000, size: 0x00177000
fbcon: s3cfb (fb0) is primary device
Console: switching to colour frame buffer device 100x30
s3cfb: parent clock: 133250000, vclk: 24373920, vclk div: 5
s3cfb: registered successfully
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
s3c6400-uart.0: s3c2410_serial0 at MMIO 0xec005000 (irq = 16) is a
S3C6400/10
s3c6400-uart.1: s3c2410_serial1 at MMIO 0xec005400 (irq = 20) is a
S3C6400/10
s3c6400-uart.2: s3c2410_serial2 at MMIO 0xec005800 (irq = 24) is a
S3C6400/10
s3c6400-uart.3: s3c2410_serial3 at MMIO 0xec005c00 (irq = 28) is a
S3C6400/10
brd: module loaded
loop: module loaded
pmem: 1 init
pmem_gpu1: 1 init
pmem_adsp: 1 init
PPP generic driver version 2.4.2
Linux video capture interface: v2.00
s3c_g2d_probe called
S3C CMM Driver, (c) 2008 Samsung Electronics
invalid media device
s3c-udc : S3C HS USB OTG Device Driver, (c) 2008-2009 Samsung
Electronics
s3c-udc : version 15 March 2009 (DMA Mode)
android init
android_bind
mass_storage_function_add
android_usb gadget: Number of LUNs=1
adb_function_add
android_usb gadget: android_usb ready
Registered gadget driver 'android_usb'
mice: PS/2 mouse device common for all mice
S3C Touchscreen driver, (c) 2008 Samsung Electronics
S3C TouchScreen got loaded successfully : 12 bits
input: S3C TouchScreen as /devices/virtual/input/input1
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c.0: slave address 0x10
s3c2440-i2c s3c2440-i2c.0: bus frequency set to 378 KHz
s3c2440-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
s3c2440-i2c s3c2440-i2c.1: slave address 0x10
s3c2440-i2c s3c2440-i2c.1: bus frequency set to 378 KHz
s3c2440-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
APM Battery Driver
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133250000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133250000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 2: mmc_bus (43333333 Hz)
sdhci_reset
sdhci_init
sdhci_reset
mmc_power_off
sdhci_init
sdhci_reset
mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
mmc_bus_put
mmc_bus_put
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
Advanced Linux Sound Architecture Driver Version 1.0.18a.
No device for DAI WM8580 Codec
No device for DAI s3c-i2s
In vega_audio_init function
WM8580 Audio Codec 0.1
sdhci_reset
sdhci_reset
sdhci_reset
sdhci_reset
sdhci_reset
sdhci_reset
sdhci_reset
sdhci_reset
asoc: WM8580 Codec <-> s3c-i2s mapping ok
ALSA device list:
  #0: smdk6440 (WM8580)
TCP cubic registered
NET: Registered protocol family 33

 s5p6440_cpufreq_init<4>GPIO-102 autorequested
GPIO-103 autorequested
GPIO-104 autorequested
GPIO-105 autorequested
GPIO-119 autorequested
GPIO-120 autorequested
GPIO-121 autorequested
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev
5
s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
Waiting 5sec before mounting root device...
mmc0: new high speed SDHC card at address 0001
mmcblk0: mmc0:0001 00000 7.60 GiB
 mmcblk0: p1 p2 p3 p4
kjournald starting.  Commit interval 5 seconds
EXT3 FS on mmcblk0p2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) on device 179:2.
Freeing init memory: 144K
Warning: unable to open an initial console.
init: cannot open '/initlogo.rle'
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is
recommended
EXT3 FS on mmcblk0p3, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is
recommended
EXT3 FS on mmcblk0p4, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
init: cannot find '/system/bin/playmp3', disabling 'bootsound'
init: cannot find '/system/etc/install-recovery.sh', disabling
'flash_recovery'
sh: can't access tty; job control turned off
# enabling adb
warning: `rild' uses 32-bit capabilities (legacy support in use)
request_suspend_state: wakeup (3->0) at 29978650035 (1970-01-01
00:00:29.978643371 UTC)

#
#
# binder: release proc 1795, transaction 2637, not freed
request_suspend_state: sleep (0->3) at 51881354023 (1970-01-01
00:00:51.881347765 UTC)
done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
�>>> sdhci_s3c_suspend
sdhci_suspend_host
mmc_suspend_host
mmc0: card 0001 removed
mmc_detach_bus
mmc_power_off
sdhci_init
sdhci_reset
mmc_bus_put
mmc_bus_put
mmc_power_off
sdhci_init
sdhci_reset
<<< sdhci_s3c_suspend
s5p6440_sleep_save_phys=0x2f04be60
>>> sdhci_s3c_resume
sdhci_resume_host
sdhci_resume_host DMA enabled
sdhci_init
sdhci_reset
mmc_bus_put
wakeup wake lock: mmc_delayed_work
<<< sdhci_s3c_resume
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2440-i2c s3c2440-i2c.0: slave address 0x10
s3c2440-i2c s3c2440-i2c.0: bus frequency set to 378 KHz
s3c2440-i2c s3c2440-i2c.1: slave address 0x10
s3c2440-i2c s3c2440-i2c.1: bus frequency set to 378 KHz
++++ s3c_button_resume
---- s3c_button_resume
Restarting tasks ... mmc_bus_put
mmc_bus_put
done.
suspend: exit suspend, ret = 0 (1970-01-01 00:00:53.342965922 UTC)
request_suspend_state: wakeup (3->0) at 52683689371 (1970-01-01
00:00:53.350587611 UTC)
s3cfb: parent clock: 133250000, vclk: 24373920, vclk div: 5
ext3_error
EXT3-fs error (device mmcblk0p3): ext3_get_inode_loc: unable to read
inode block - inode=21884, block=98365
ext3_handle_error
__ext3_std_error
EXT3-fs error (device mmcblk0p3) in ext3_reserve_inode_write: IO
failure
ext3_handle_error
------------[ cut here ]------------
WARNING: at fs/buffer.c:1247 mark_buffer_dirty+0x38/0xd4()
Modules linked in:
[<c0254810>] (dump_stack+0x0/0x14) from [<c004f424>] (warn_slowpath
+0x68/0x9c)
[<c004f3bc>] (warn_slowpath+0x0/0x9c) from [<c00c65e8>]
(mark_buffer_dirty+0x38/0xd4)
 r3:00108828 r2:00000000
 r7:00000001 r6:ce809bc8 r5:c0363ae4 r4:ce809bc8
[<c00c65b0>] (mark_buffer_dirty+0x0/0xd4) from [<c00f9ae4>]
(ext3_commit_super+0x50/0x6c)
 r5:c1841400 r4:cf1c6800
[<c00f9a94>] (ext3_commit_super+0x0/0x6c) from [<c00fadb0>]
(ext3_handle_error+0xd0/0x104)
 r7:cea35df0 r6:c1841400 r5:fffffffb r4:cf1c6800
[<c00face0>] (ext3_handle_error+0x0/0x104) from [<c00fae74>]
(__ext3_std_error+0x90/0xa4)
 r6:c025f4f4 r5:fffffffb r4:cf1c6800
[<c00fade4>] (__ext3_std_error+0x0/0xa4) from [<c00f26e4>]
(ext3_reserve_inode_write+0x74/0x80)
 r6:ce9d83c8 r5:ca7f7dd4 r4:fffffffb
[<c00f2670>] (ext3_reserve_inode_write+0x0/0x80) from [<c00f2728>]
(ext3_mark_inode_dirty+0x38/0x60)
 r7:000101f0 r6:ca7f7dd4 r5:cea35df0 r4:ce9d83c8
[<c00f26f0>] (ext3_mark_inode_dirty+0x0/0x60) from [<c00f2890>]
(ext3_dirty_inode+0x70/0x88)
 r6:cea35df0 r5:00000000 r4:ce9d83c8
[<c00f2820>] (ext3_dirty_inode+0x0/0x88) from [<c00c1abc>]
(__mark_inode_dirty+0x38/0x190)
 r6:00000007 r5:cea35df0 r4:cea35df0
[<c00c1a84>] (__mark_inode_dirty+0x0/0x190) from [<c00b933c>]
(inode_setattr+0x144/0x150)
 r8:000101f0 r7:000101f0 r6:ca7f7ee0 r5:cea35df0 r4:ca7f7e50
[<c00b91f8>] (inode_setattr+0x0/0x150) from [<c00f29f8>] (ext3_setattr
+0x150/0x1b0)
 r7:00000000 r6:ca7f7ee0 r5:cea35df0 r4:cea35df0
[<c00f28a8>] (ext3_setattr+0x0/0x1b0) from [<c00b94c8>] (notify_change
+0x180/0x2a0)
 r8:cea59bc8 r7:ca7f7f38 r6:000101f0 r5:cea35df0 r4:ca7f7ee0
[<c00b9348>] (notify_change+0x0/0x2a0) from [<c00c4ac4>] (utimes_common
+0x140/0x160)
[<c00c4984>] (utimes_common+0x0/0x160) from [<c00c4bb8>] (do_utimes
+0xd4/0xf8)
 r7:0000010d r6:ca7f7f60 r5:ca7f7f38 r4:00000000
[<c00c4ae4>] (do_utimes+0x0/0xf8) from [<c00c4cac>] (sys_futimesat
+0xd0/0xe4)
 r6:ad233120 r5:bedd4524 r4:ffffff9c
[<c00c4bdc>] (sys_futimesat+0x0/0xe4) from [<c00c4cdc>] (sys_utimes
+0x1c/0x20)
 r5:bedd451c r4:bedd4940
[<c00c4cc0>] (sys_utimes+0x0/0x20) from [<c002ce00>] (ret_fast_syscall
+0x0/0x2c)
---[ end trace 67686948546b8233 ]---
sdhci_reset
sdhci_reset
sdhci_reset
sdhci_reset
sdhci_reset
sdhci_reset
sdhci_reset
sdhci_reset
mmc0: new high speed SDHC card at address 0001
ext3_error
EXT3-fs error (device mmcblk0p2): ext3_find_entry: reading directory
#19 offset 0
ext3_handle_error
ext3_handle_error Read Only! Return!
mmcblk1: mmc0:0001 00000 7.60 GiB
 mmcblk1: p1 p2 p3 p4
ext3_error
EXT3-fs error (device mmcblk0p2): ext3_find_entry: reading directory
#36241 offset 0
ext3_handle_error
ext3_handle_error Read Only! Return!
ext3_error
EXT3-fs error (device mmcblk0p3): ext3_find_entry: reading directory
#21845 offset 0
ext3_handle_error
ext3_error
EXT3-fs error (device mmcblk0p3): ext3_get_inode_loc: unable to read
inode block - inode=21884, block=98365
ext3_handle_error
__ext3_std_error
EXT3-fs error (device mmcblk0p3) in ext3_reserve_inode_write: IO
failure
ext3_handle_error
ext3_error
EXT3-fs error (device mmcblk0p3): ext3_get_inode_loc: unable to read
inode block - inode=21884, block=98365
ext3_handle_error
__ext3_std_error
EXT3-fs error (device mmcblk0p3) in ext3_reserve_inode_write: IO
failure
ext3_handle_error
journal_bmap: journal block not found at offset 201 on mmcblk0p3
Aborting journal on device mmcblk0p3.
__journal_abort_soft Aborting...
ext3_error
EXT3-fs error (device mmcblk0p3): ext3_find_entry: reading directory
#21825 offset 0
ext3_handle_error


If anybody has faced similar issue please let me know.

Regards,
Srikant

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to