[Galaxy S I9000 Android Development] bunta126:
We just tried cooking a ROM for SGS with kitchen and all went well until we tried to install it.

The install looked like it worked fine, but after rebooting it was still running the same ROM that was previously on it.

The recovery.log from CWM shows some errors with mount points and it looks like the updater-script is using different mount points to what the phone is actually using so the system data did not copy at all.

Recovery.log:

Starting recovery on Thu Jan 26 02:53:19 2012
framebuffer: fd 4 (480 x 800)
CWM-based Recovery v5.0.2.7
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null)
1 /recovery mtd recovery (null)
2 /boot mtd boot (null)
3 /radio mtd radio (null)
4 /system yaffs2 system (null)
5 /cache yaffs2 cache (null)
6 /datadata yaffs2 datadata (null)
7 /sdcard vfat /dev/block/mmcblk0p1 (null)
8 /data ext4 /dev/block/mmcblk0p2 (null)
9 /emmc vfat /dev/block/mmcblk1p1 (null)

W:Unable to get recovery.fstab info for /sd-ext during fstab generation!
I:Completed outputting fstab.
I:Processing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"

ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.service.adb.enable=1
ro.build.id=GINGERBREAD
ro.build.display.id=GWK74
ro.build.version.incremental=eng.buildbot.20111116.113541
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.7
ro.build.date=Wed Nov 16 11:40:43 UTC 2011
ro.build.date.utc=0
ro.build.type=eng
ro.build.user=buildbot
ro.build.host=cm-build2.public.ca.khresear.ch
ro.build.tags=test-keys
ro.product.model=GT-I9000
ro.product.brand=samsung
ro.product.name=GT-I9000
ro.product.device=galaxysmtd
ro.product.board=aries
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=s5pv210
ro.build.product=galaxysmtd
ro.build.description=GT-I9000-user 2.3.5 GINGERBREAD XXJVT release-keys
ro.build.fingerprint=samsung/GT-I9000/GT-I9000:2.3.5/GINGERBREAD/XXJVT:user/release-keys
rild.libpath=/system/lib/libsec-ril.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=240
ro.opengles.version=131072
wifi.interface=eth0
wifi.supplicant_scan_interval=20
ro.telephony.ril_class=samsung
mobiledata.interfaces=pdp0,eth0,gprs,ppp0
dalvik.vm.heapsize=32m
ro.com.google.locationfeatures=1
ro.com.google.networklocation=1
ro.kernel.android.checkjni=0
dalvik.vm.checkjni=false
persist.sys.vold.switchexternal=1
keyguard.no_require_sim=true
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.rommanager.developerid=cyanogenmodnightly
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.config.ringtone=Playa.ogg
ro.ril.enable.managed.roaming=1
ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995
ro.ril.emc.mode=2
ro.additionalmounts=/mnt/emmc
ro.vold.switchablepair=/mnt/sdcard,/mnt/emmc
ro.modversion=CyanogenMod-7-11162011-NIGHTLY-GalaxyS
ro.setupwizard.mode=OPTIONAL
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
net.change=net.tcp.buffersize.gprs
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=unknown
ro.hardware=aries
ro.revision=48
ro.emmc=0
net.tcp.buffersize.default=4096,87380,110208,4096,16384,110208
net.tcp.buffersize.wifi=4095,87380,110208,4096,16384,110208
net.tcp.buffersize.umts=4094,87380,110208,4096,16384,110208
net.tcp.buffersize.edge=4093,26280,35040,4096,16384,35040
net.tcp.buffersize.gprs=4092,8760,11680,4096,8760,11680
init.svc.recovery=running
init.svc.adbd=running

I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
W:failed to mount /dev/block/mmcblk1p1 (No such file or directory)
E:Can't mount /emmc/

-- Installing: /sdcard/GT-I9000_signed_boobies_v1.zip
Finding update package...
I:Update location: /sdcard/GT-I9000_signed_boobies_v1.zip
Opening update package...
Installing update...
about to run program [/sbin/mount] with 3 args
mount: mounting /dev/block/stl9 on /system failed: No such file or directory
run_program: child exited with status 255
about to run program [/sbin/mount] with 3 args
about to run program [/tmp/check_data_app] with 1 args
minzip: Extracted file "/data/blahblah"
minzip: Extracted file "/system/blahblah"

about to run program [/tmp/installbusybox] with 1 args
about to run program [/tmp/redbend_ua] with 4 args
open device file: No such device or address
bmldevice_get_size: bmldevice_open failed!RedBend Update Agent 6,1,14,1

FOTA : Make Block Device Nodes
src: /tmp/zImage
dst: /dev/block/bml7 partition size: 0x0
part_size: 0x0
about to run program [/tmp/redbend_ua] with 4 args
open device file: No such device or address
bmldevice_get_size: bmldevice_open failed!RedBend Update Agent 6,1,14,1

FOTA : Make Block Device Nodes
src: /tmp/modem.bin
dst: /dev/block/bml12 partition size: 0x0
part_size: 0x0
about to run program [/sbin/umount] with 2 args
umount: can't umount /system: Invalid argument
run_program: child exited with status 1
about to run program [/sbin/umount] with 2 args
script result was [0]

Install from sdcard complete.

The updater-script mounts /system to /dev/block/stl9 and it mounts /radio to /dev/block/bml12 however if I run the mount command from adb it shows this:

/dev/block/mtdblock2 on /system type yaffs2 (ro,relatime)

/dev/block/mtdblock5 on /radio type yaffs2 (rw,relatime)

Is that updater-script correct?