I'm going to jump in on this one because the title best suits the
situation.

I have used an initramfs but still cannot get a kernel to boot. Please
allow me to elaborate on what I have done.

Could you make any suggestions based on the following?

A. I have built the kernel with the defconfig provided with the source
code and the stock initramfs extracted from the running kernel. it
fails to boot.
B. I have even built with the config from /proc/config.gz from the
running kernel and the stock initramfs extracted from the running
kernel. It fails to boot.
C. I have built with both the defconfig and the config in config.gz,
updated the modules and repacked the initramfs. It fails to boot.
D. I have tried packing the initramfs and zImage with mkbootimg into a
boot.img. Fails to boot.
E. I have tried repacking the boot.img on the fly with anykernel.
Fails to boot.

Below is the output from /proc/last_kmsg from a kernel built from the
provided defconfig and the stock initramfs. I get a similar last_kmsg
when using the config from config.gz however the "falied to load
tranform" messages have been fixed. As you can see the real problems
start at the init messages. I have checked my init.rc files, I have
checked that ext4 is built, and really I shoudln't have to as I am
using the config from config.gz and the initramfs from the kernel. But
It just won't boot.

[code]
[    6.196570] [DBG] upload cause : UPLOAD_CAUSE_INIT
[    6.196587] (kernel_sec_set_upload_cause) : upload_cause set 0
[    6.312186] tegra2_init_sku_limits: Unknown sku clock avp.sclk
[    6.312202] tegra2_init_sku_limits: Unknown sku clock bsea.sclk
[    6.793055] alg: hash: Failed to load transform for md4: -2
[    6.793470] alg: hash: Failed to load transform for md4: -2
[    6.794243] alg: skcipher: Failed to load transform for
ecb(blowfish): -2
[    6.794954] alg: skcipher: Failed to load transform for
ecb(blowfish): -2
[    6.795659] alg: skcipher: Failed to load transform for
cbc(blowfish): -2
[    6.796305] alg: skcipher: Failed to load transform for
cbc(blowfish): -2
[    6.799105] alg: skcipher: Failed to load transform for
ecb(serpent): -2
[    6.799756] alg: skcipher: Failed to load transform for
ecb(serpent): -2
[    6.802105] alg: skcipher: Failed to load transform for lrw(aes):
-2
[    6.802703] alg: skcipher: Failed to load transform for lrw(aes):
-2
[    6.803234] alg: skcipher: Failed to load transform for xts(aes):
-2
[    6.803837] alg: skcipher: Failed to load transform for xts(aes):
-2
[    6.809527] alg: skcipher: Failed to load transform for ecb(cast5):
-2
[    6.810492] alg: skcipher: Failed to load transform for ecb(cast5):
-2
[    6.811132] alg: skcipher: Failed to load transform for ecb(cast6):
-2
[    6.811834] alg: skcipher: Failed to load transform for ecb(cast6):
-2
[    6.813044] alg: hash: Failed to load transform for michael_mic: -2
[    6.813377] alg: hash: Failed to load transform for michael_mic: -2
[    6.814229] alg: skcipher: Failed to load transform for ecb(tea):
-2
[    6.814871] alg: skcipher: Failed to load transform for ecb(tea):
-2
[    6.815588] alg: skcipher: Failed to load transform for ecb(xtea):
-2
[    6.816250] alg: skcipher: Failed to load transform for ecb(xtea):
-2
[    6.816985] alg: skcipher: Failed to load transform for
ecb(khazad): -2
[    6.817715] alg: skcipher: Failed to load transform for
ecb(khazad): -2
[    6.818059] alg: hash: Failed to load transform for wp512: -2
[    6.818466] alg: hash: Failed to load transform for wp512: -2
[    6.818809] alg: hash: Failed to load transform for wp384: -2
[    6.819212] alg: hash: Failed to load transform for wp384: -2
[    6.819553] alg: hash: Failed to load transform for wp256: -2
[    6.819963] alg: hash: Failed to load transform for wp256: -2
[    6.820856] alg: skcipher: Failed to load transform for
ecb(tnepres): -2
[    6.821568] alg: skcipher: Failed to load transform for
ecb(tnepres): -2
[    6.822208] alg: skcipher: Failed to load transform for
ecb(anubis): -2
[    6.822911] alg: skcipher: Failed to load transform for
ecb(anubis): -2
[    6.823618] alg: skcipher: Failed to load transform for
cbc(anubis): -2
[    6.824262] alg: skcipher: Failed to load transform for
cbc(anubis): -2
[    6.824670] alg: hash: Failed to load transform for tgr192: -2
[    6.824995] alg: hash: Failed to load transform for tgr192: -2
[    6.825397] alg: hash: Failed to load transform for tgr160: -2
[    6.825720] alg: hash: Failed to load transform for tgr160: -2
[    6.826124] alg: hash: Failed to load transform for tgr128: -2
[    6.826455] alg: hash: Failed to load transform for tgr128: -2
[    6.827171] alg: skcipher: Failed to load transform for ecb(xeta):
-2
[    6.827834] alg: skcipher: Failed to load transform for ecb(xeta):
-2
[    6.828433] alg: skcipher: Failed to load transform for
pcbc(fcrypt): -2
[    6.829041] alg: skcipher: Failed to load transform for
pcbc(fcrypt): -2
[    6.829696] alg: skcipher: Failed to load transform for
ecb(camellia): -2
[    6.830716] alg: skcipher: Failed to load transform for
ecb(camellia): -2
[    6.831362] alg: skcipher: Failed to load transform for
cbc(camellia): -2
[    6.832072] alg: skcipher: Failed to load transform for
cbc(camellia): -2
[    6.832575] alg: skcipher: Failed to load transform for salsa20: -2
[    6.832911] alg: skcipher: Failed to load transform for salsa20: -2
[    6.833487] alg: aead: Failed to load transform for gcm(aes): -2
[    6.833994] alg: aead: Failed to load transform for gcm(aes): -2
[    6.834393] alg: comp: Failed to load transform for lzo: -2
[    6.834725] alg: comp: Failed to load transform for lzo: -2
[    6.835312] alg: aead: Failed to load transform for ccm(aes): -2
[    6.835827] alg: aead: Failed to load transform for ccm(aes): -2
[    6.836428] alg: skcipher: Failed to load transform for
cts(cbc(aes)): -2
[    6.836962] alg: skcipher: Failed to load transform for
cts(cbc(aes)): -2
[    6.837378] alg: hash: Failed to load transform for rmd128: -2
[    6.837791] alg: hash: Failed to load transform for rmd128: -2
[    6.838138] alg: hash: Failed to load transform for rmd160: -2
[    6.838544] alg: hash: Failed to load transform for rmd160: -2
[    6.838881] alg: hash: Failed to load transform for rmd256: -2
[    6.839297] alg: hash: Failed to load transform for rmd256: -2
[    6.839646] alg: hash: Failed to load transform for rmd320: -2
[    6.840097] alg: hash: Failed to load transform for rmd320: -2
[    6.840774] alg: skcipher: Failed to load transform for ecb(seed):
-2
[    6.841508] alg: skcipher: Failed to load transform for ecb(seed):
-2
[    6.841858] alg: pcomp: Failed to load transform for zlib: -2
[    6.842267] alg: pcomp: Failed to load transform for zlib: -2
[    6.842801] alg: aead: Failed to load transform for
rfc4309(ccm(aes)): -2
[    6.843416] alg: aead: Failed to load transform for
rfc4309(ccm(aes)): -2
[    6.854492] alg: hash: Failed to load transform for xcbc(aes): -2
[    6.855082] alg: hash: Failed to load transform for xcbc(aes): -2
[    6.855795] alg: hash: Failed to load transform for hmac(rmd128):
-2
[    6.856438] alg: hash: Failed to load transform for hmac(rmd128):
-2
[    6.857144] alg: hash: Failed to load transform for hmac(rmd160):
-2
[    6.857780] alg: hash: Failed to load transform for hmac(rmd160):
-2
[    6.858362] alg: hash: Failed to load transform for vmac(aes): -2
[    6.858872] alg: hash: Failed to load transform for vmac(aes): -2
[    6.920404] tcrypt: one or more tests failed!
[    6.196570] [DBG] upload cause : UPLOAD_CAUSE_INIT
[    6.196587] (kernel_sec_set_upload_cause) : upload_cause set 0
[    6.312186] tegra2_init_sku_limits: Unknown sku clock avp.sclk
[    6.312202] tegra2_init_sku_limits: Unknown sku clock bsea.sclk
[    6.793055] alg: hash: Failed to load transform for md4: -2
[    6.793470] alg: hash: Failed to load transform for md4: -2
[    6.794243] alg: skcipher: Failed to load transform for
ecb(blowfish): -2
[    6.794954] alg: skcipher: Failed to load transform for
ecb(blowfish): -2
[    6.795659] alg: skcipher: Failed to load transform for
cbc(blowfish): -2
[    6.796305] alg: skcipher: Failed to load transform for
cbc(blowfish): -2
[    6.799105] alg: skcipher: Failed to load transform for
ecb(serpent): -2
[    6.799756] alg: skcipher: Failed to load transform for
ecb(serpent): -2
[    6.802105] alg: skcipher: Failed to load transform for lrw(aes):
-2
[    6.802703] alg: skcipher: Failed to load transform for lrw(aes):
-2
[    6.803234] alg: skcipher: Failed to load transform for xts(aes):
-2
[    6.803837] alg: skcipher: Failed to load transform for xts(aes):
-2
[    6.809527] alg: skcipher: Failed to load transform for ecb(cast5):
-2
[    6.810492] alg: skcipher: Failed to load transform for ecb(cast5):
-2
[    6.811132] alg: skcipher: Failed to load transform for ecb(cast6):
-2
[    6.811834] alg: skcipher: Failed to load transform for ecb(cast6):
-2
[    6.813044] alg: hash: Failed to load transform for michael_mic: -2
[    6.813377] alg: hash: Failed to load transform for michael_mic: -2
[    6.814229] alg: skcipher: Failed to load transform for ecb(tea):
-2
[    6.814871] alg: skcipher: Failed to load transform for ecb(tea):
-2
[    6.815588] alg: skcipher: Failed to load transform for ecb(xtea):
-2
[    6.816250] alg: skcipher: Failed to load transform for ecb(xtea):
-2
[    6.816985] alg: skcipher: Failed to load transform for
ecb(khazad): -2
[    6.817715] alg: skcipher: Failed to load transform for
ecb(khazad): -2
[    6.818059] alg: hash: Failed to load transform for wp512: -2
[    6.818466] alg: hash: Failed to load transform for wp512: -2
[    6.818809] alg: hash: Failed to load transform for wp384: -2
[    6.819212] alg: hash: Failed to load transform for wp384: -2
[    6.819553] alg: hash: Failed to load transform for wp256: -2
[    6.819963] alg: hash: Failed to load transform for wp256: -2
[    6.820856] alg: skcipher: Failed to load transform for
ecb(tnepres): -2
[    6.821568] alg: skcipher: Failed to load transform for
ecb(tnepres): -2
[    6.822208] alg: skcipher: Failed to load transform for
ecb(anubis): -2
[    6.822911] alg: skcipher: Failed to load transform for
ecb(anubis): -2
[    6.823618] alg: skcipher: Failed to load transform for
cbc(anubis): -2
[    6.824262] alg: skcipher: Failed to load transform for
cbc(anubis): -2
[    6.824670] alg: hash: Failed to load transform for tgr192: -2
[    6.824995] alg: hash: Failed to load transform for tgr192: -2
[    6.825397] alg: hash: Failed to load transform for tgr160: -2
[    6.825720] alg: hash: Failed to load transform for tgr160: -2
[    6.826124] alg: hash: Failed to load transform for tgr128: -2
[    6.826455] alg: hash: Failed to load transform for tgr128: -2
[    6.827171] alg: skcipher: Failed to load transform for ecb(xeta):
-2
[    6.827834] alg: skcipher: Failed to load transform for ecb(xeta):
-2
[    6.828433] alg: skcipher: Failed to load transform for
pcbc(fcrypt): -2
[    6.829041] alg: skcipher: Failed to load transform for
pcbc(fcrypt): -2
[    6.829696] alg: skcipher: Failed to load transform for
ecb(camellia): -2
[    6.830716] alg: skcipher: Failed to load transform for
ecb(camellia): -2
[    6.831362] alg: skcipher: Failed to load transform for
cbc(camellia): -2
[    6.832072] alg: skcipher: Failed to load transform for
cbc(camellia): -2
[    6.832575] alg: skcipher: Failed to load transform for salsa20: -2
[    6.832911] alg: skcipher: Failed to load transform for salsa20: -2
[    6.833487] alg: aead: Failed to load transform for gcm(aes): -2
[    6.833994] alg: aead: Failed to load transform for gcm(aes): -2
[    6.834393] alg: comp: Failed to load transform for lzo: -2
[    6.834725] alg: comp: Failed to load transform for lzo: -2
[    6.835312] alg: aead: Failed to load transform for ccm(aes): -2
[    6.835827] alg: aead: Failed to load transform for ccm(aes): -2
[    6.836428] alg: skcipher: Failed to load transform for
cts(cbc(aes)): -2
[    6.836962] alg: skcipher: Failed to load transform for
cts(cbc(aes)): -2
[    6.837378] alg: hash: Failed to load transform for rmd128: -2
[    6.837791] alg: hash: Failed to load transform for rmd128: -2
[    6.838138] alg: hash: Failed to load transform for rmd160: -2
[    6.838544] alg: hash: Failed to load transform for rmd160: -2
[    6.838881] alg: hash: Failed to load transform for rmd256: -2
[    6.839297] alg: hash: Failed to load transform for rmd256: -2
[    6.839646] alg: hash: Failed to load transform for rmd320: -2
[    6.840097] alg: hash: Failed to load transform for rmd320: -2
[    6.840774] alg: skcipher: Failed to load transform for ecb(seed):
-2
[    6.841508] alg: skcipher: Failed to load transform for ecb(seed):
-2
[    6.841858] alg: pcomp: Failed to load transform for zlib: -2
[    6.842267] alg: pcomp: Failed to load transform for zlib: -2
[    6.842801] alg: aead: Failed to load transform for
rfc4309(ccm(aes)): -2
[    6.843416] alg: aead: Failed to load transform for
rfc4309(ccm(aes)): -2
[    6.854492] alg: hash: Failed to load transform for xcbc(aes): -2
[    6.855082] alg: hash: Failed to load transform for xcbc(aes): -2
[    6.855795] alg: hash: Failed to load transform for hmac(rmd128):
-2
[    6.856438] alg: hash: Failed to load transform for hmac(rmd128):
-2
[    6.857144] alg: hash: Failed to load transform for hmac(rmd160):
-2
[    6.857780] alg: hash: Failed to load transform for hmac(rmd160):
-2
[    6.858362] alg: hash: Failed to load transform for vmac(aes): -2
[    6.858872] alg: hash: Failed to load transform for vmac(aes): -2
[    6.920404] tcrypt: one or more tests failed!
[    7.509108] i2c i2c-11: sendbytes: NAK bailout.
[    7.582063] android_usb gadget: invalid number of LUNs: 0
[    7.622407] mxt_config_settings
[    7.901006] bh1721fvc_probe
[    8.181633] Failed to add route HPOUTL->Headset Jack
[    8.270982] Tegra protected aperture disabled because nvmap is
using system memory
[    8.876637] init: cannot open '/initlogo.rle'
[    8.941624] init: Unable to open persistent property directory /
data/property errno: 2
[    8.953300] init: cannot find '/system/bin/servicemanager',
disabling 'servicemanager'
[    8.961345] init: cannot find '/system/bin/vold', disabling 'vold'
[    8.967719] init: cannot find '/system/bin/netd', disabling 'netd'
[    8.974014] init: cannot find '/system/bin/debuggerd', disabling
'debuggerd'
[    8.981261] init: cannot find '/system/bin/surfaceflinger',
disabling 'surfaceflinger'
[    8.989358] init: cannot find '/system/bin/app_process', disabling
'zygote'
[    8.996434] init: cannot find '/system/bin/drmserver', disabling
'drm'
[    9.003156] init: cannot find '/system/bin/mediaserver', disabling
'media'
[    9.010223] init: cannot find '/system/sslvpn/sslvpn', disabling
'sslvpn'
[    9.017110] init: cannot find '/system/bin/dbus-daemon', disabling
'dbus'
[    9.024095] init: cannot find '/system/bin/installd', disabling
'installd'
[    9.031089] init: cannot find '/system/etc/install-recovery.sh',
disabling 'flash_recovery'
[    9.039620] init: cannot find '/system/bin/keystore', disabling
'keystore'
[    9.046686] init: cannot find '/system/bin/tvoutserver', disabling
'tvout'
[    9.053703] init: cannot find '/system/bin/sh', disabling 'console'

No errors detected
[/code]


I have dumped the existing mmcblk0p3 partition, split it into a zImage
and ramdisk.gz, repacked it and flashed it and it does boot! So I know
it is not the initramfs or how I am repacking it.

Without being able to reproduce a stock kernel, there's no point even
trying to go any further.
Please I hope someone has a solution or suggestions so that I can
further my development.



On Dec 15, 10:15 pm, cd <chirayudes...@gmail.com> wrote:
> You need to add a initramfs to the kernel, i did explain that in
> another post :)
>
> On Dec 7, 3:01 pm, "s.rawat" <imsaurabhra...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi ,
> > Has any one tried this :
> > (1) Downloading the kernel form 
> > thehttps://opensource.samsung.com/index.jsp,compilingandflashing it on
> > the Samsung Galaxy Tab (GT-p1000 - 7 inch Tab)
> > (2) Which tool you are using Odin or Heimdall??
> > (3) What is required other than zImage to be flashed on the Tab.(root fs,
> > etc ??)
> > Plz assist by providing the steps to flash the custom kernel on Samsung Tab
> > , my custom compiled zImage is not getting Flashed via Odin, figuring out
> > the way on Heimdall.
>
> > Rgds,
> > Saurabh
>
> > "..pain is temporary.....quitting lasts forever......"

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

Reply via email to