[Touch2 ROM Development] kipill:
Creat Data on SD

Hey, guys! There has been some progress - now our kernel creates the Data, Media folder and in the same log file. Here it is:

[ 0.000000] setup processor id
[ 0.000000] lockdep init
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] page address init
[ 0.000000] Linux version 2.6.29 (dev@vik) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #4 PREEMPT Sat Dec 24 13:39:44 MSK 2011
[ 0.000000] CPU: ARMv6-compatible processor [4117b362] revision 2 (ARMv6TEJ), cr=00c5387f
[ 0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: mega
[ 0.000000] parse_tag_hwid: hwid = 0x0
[ 0.000000] bahamas_fixup:hwid=0x0
[ 0.000000] parse_tag_skuid: hwid = 0x0
[ 0.000000] bahamas_fixup:skuid=0x0
[ 0.000000] parse_tag_engineerid: hwid = 0x0
[ 0.000000] bahamas_fixup:engineerid=0x0
[ 0.000000] parse_tag_monodie: mono-die = 0x0
[ 0.000000] Ignoring unrecognised tag 0x00000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 38400
[ 0.000000] free_area_init_node: node 0, pgdat c0337afc, node_mem_map c0397000
[ 0.000000] Normal zone: 380 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 38020 pages, LIFO batch:7
[ 0.000000] bahamas_init_map_io()
[ 0.000000] PLL0: MODE=00000007 L=0000000c M=00000004 N=00000005 freq=245760000 Hz (245 MHz)
[ 0.000000] console [htc_fb0] enabled
[ 0.000000] setup arch
[ 0.000000] mm init owner
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 38020
[ 0.000000] Kernel command line: msmsdcc_1bit msmsdcc_fmax=14000000 msmsdcc_nopwrsave
[ 0.000000] bahamas_init_irq()
[ 0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[ 0.000000] console init
[ 0.018001] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.036795] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.070210] Memory: 86MB 64MB = 150MB total
[ 0.141006] Memory: 145772KB available (3000K code, 505K data, 108K init)
[ 0.159265] Calibrating delay loop... 527.56 BogoMIPS (lpj=2637824)
[ 0.760548] Mount-cache hash table entries: 512
[ 1.094263]
[ 1.094279]
[ 1.094286] main.c: page writeback init
[ 1.094294]
[ 2.426296] Initializing cgroup subsys debug
[ 2.759348] Initializing cgroup subsys cpuacct
[ 3.092331] Initializing cgroup subsys freezer
[ 3.425326] CPU: Testing write buffer coherency: ok
[ 4.094168] net_namespace: 748 bytes
[ 4.428868] NET: Registered protocol family 16
[ 4.762794] bahamas_init() revision=0
[ 5.116923]
[ 5.116938]
[ 5.116943] config gpio table
[ 5.116951]
[ 6.588616] acpu_clock_init()
[ 6.921616] ACPU running at 528000 KHz
[ 7.254628] Acquire 'boot-time' perf_lock
[ 7.588649]
[ 7.588661]
[ 7.588666] Begin MMCinit !!!!!!!!!!!!!!
[ 7.588674]
[ 8.930449] bahamas_init_mmc
[ 9.263661]
[ 9.263673]
[ 9.263678] Finished board-mega.c: init mmc
[ 9.263688]
[ 10.595419]
[ 10.595433]
[ 10.595439] board-mega.c: panel detect
[ 10.595448]
[ 11.928404]
[ 11.928418]
[ 11.928423] msm_hsusb: set vbus state
[ 11.928431]
[ 13.264613] Acquire 'boot-time' readahead_lock
[ 13.598071] bio: create slab <bio-0> at 0
[ 13.934201] Bluetooth: Core ver 2.15
[ 14.268036] NET: Registered protocol family 31
[ 14.601131] Bluetooth: HCI device and connection manager initialized
[ 14.934178] Bluetooth: HCI socket layer initialized
[ 15.269306] NET: Registered protocol family 2
[ 15.602483] Switched to high resolution mode on CPU 0
[ 15.935958] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 16.270069] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 16.603601] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 16.936909] TCP: Hash tables configured (established 8192 bind 8192)
[ 17.269953] TCP reno registered
[ 17.603436] NET: Registered protocol family 1
[ 17.937574] Unpacking initramfs... done
[ 19.534213] Freeing initrd memory: 2588K
[ 19.868648] smd_init()
[ 20.201769] smd_core_init()
[ 20.534924] smd_core_init() done
[ 20.870054] Acquire 'boot-time' idle_lock
[ 21.203504] perflock_notifier_call: cpufreq lock speed 528000
[ 21.536493] active perf lock 'boot-time'
[ 21.869949] WiFi: control device registered.
[ 22.205894] bahamas_bt_fastclock_power: 0
[ 22.539603] htc_pwrsink_probe: initialized completed, total_sink=38mA
[ 22.872959] H2W: Registering H2W (headset) driver
[ 23.206073] [H2W] Full Speed USB Mode: 0
[ 23.539104] [H2W] HTC Headset Support: 0
[ 23.872108] [H2W] H2W Device Support: 0
[ 24.206639] H2W route = GPIO
[ 24.560828] input: h2w headset as /devices/virtual/input/input0
[ 24.894124] H2W: Registering H2W (headset) driver finish
[ 25.227589] Audiojack: Registering in audiojack_probe
[ 26.073328] ashmem: initialized
[ 26.408916] alg: No test for cipher_null (cipher_null-generic)
[ 26.743208] alg: No test for digest_null (digest_null-generic)
[ 27.076909] alg: No test for compress_null (compress_null-generic)
[ 27.414906] alg: No test for stdrng (krng)
[ 27.748388] io scheduler noop registered
[ 28.081554] io scheduler anticipatory registered (default)
[ 28.415088] mddi: init() base=0xcc070000 irq=16
[ 28.872648] mddi cmd send rtd: int 23a000, stat 808063, rtd val f
[ 29.205954] mfr_name = 0, product_code = 0
[ 29.539024] mddi_fixup: mfr_name = 0x101, product_code = 0x154
[ 29.872086] mddi: registering panel mddi_c_0101_0154
[ 30.205101] mddi: publish:
[ 30.549296] vsync on gpio 97 now 0
[ 30.883438] msmfb_probe() installing 240 x 320 panel
[ 31.217864] +mddi_client_nt35399_init()
[ 31.552246] msm_serial: detected port #2
[ 32.085759] msm_serial.2: ttyMSM2 at MMIO 0xa9c00000 (irq = 11) is a MSM
[ 32.419433] msm_serial: driver initialized
[ 32.753049] msm_serial_hs.0: ttyHS0 at MMIO 0xa0200000 (irq = 45) is a MSM HS UART
[ 33.086699] msm_serial_hs module loaded
[ 33.424094] loop: module loaded
[ 33.757396] pmem: 1 init
[ 34.091196] pmem_adsp: 0 init
[ 34.425104] pmem_camera: 0 init
[ 34.760153] tun: Universal TUN/TAP device driver, 1.6
[ 35.093364] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 35.427061] rmnet0 (): not using net_device_ops yet
[ 35.761088] rmnet1 (): not using net_device_ops yet
[ 36.095131] rmnet2 (): not using net_device_ops yet
[ 36.429118] Linux video capture interface: v2.00
[ 36.762446]
[ 36.762459]
[ 36.762466] msm_hsusb: usb_init
[ 36.762474]
[ 38.094308]
[ 38.094321]
[ 38.094326] msm_hsusb: usb probe
[ 38.094334]
[ 39.426093]
[ 39.426109]
[ 39.426114] msm_hsusb: 6e
[ 39.426123]
[ 40.757818]
[ 40.757828]
[ 40.757833] msm_hsusb: 6f
[ 40.757841]
[ 42.089674] usb_probe() io=cc07c000, irq=47, dma=ffc02000(b5fa000)
[ 42.423013]
[ 42.423028]
[ 42.423033] msm_hsusb: usb debugfs init
[ 42.423041]
[ 43.755018] dev_attr_usb_cable_connect failed
[ 44.088054] dev_attr_usb_serial_number failed
[ 44.421063] dev_attr_dummy_usb_serial_number failed
[ 44.754059] dev_attr_usb_function_switch failed
[ 45.087298] usb_function_register: adb
[ 45.420354]
[ 45.420368] init fsg_init
[ 46.086388]
[ 46.086399]
[ 46.086404] mass_storage: fsg_probe
[ 46.086413]
[ 47.418403] usb_function_register: usb_mass_storage
[ 47.751469]
[ 47.751483]
[ 47.751489] mass_storage: 11
[ 47.751496]
[ 49.083778] msm_hsusb: functions bound. starting.
[ 49.416904] usb_bind_driver: usb_mass_storage
[ 49.749941] usb_bind_driver: adb
[ 50.082948] usb_bind_driver: diag
[ 50.415954]
[ 50.415964] msm_hsusb.c: usb start 5
[ 51.081849] usb_function_register: diag
[ 51.415201] tssc_manager_init
[ 51.748416] tssc_manager_probe
[ 52.081476] tssc_manager_input_init:
[ 52.414623] tssc_power_on():
[ 52.748396] input: tssc-manager as /devices/virtual/input/input1
[ 53.081908] tssc_manager_input_init: Start touchscreen tssc-manager in interrupt mode
[ 53.415179] tp_init_module():
[ 53.748241] TP_IOC_GETMFG=-2147188479
[ 53.748254]
[ 54.414423] misc_register(): OK
[ 54.748358] GPIO Matrix Keypad Driver: Start keypad matrix for bahamas-keypad in interrupt mode
[ 55.081758] GPIO Input Driver: Start gpio inputs for bahamas-keypad in interrupt mode
[ 55.415493] input: bahamas-keypad as /devices/virtual/input/input2
[ 55.748546] gpio_keys_scan_keys: key 1-6b, 0 (20) changed to 0
[ 56.082693] using input dev h2w headset for key reset
[ 56.415963] using input dev bahamas-keypad for key reset
[ 56.749769] device-mapper: uevent: version 1.0.3
[ 57.083693] hsusb: IDLE -> ONLINE
[ 57.417159] hsusb: reset controller
[ 57.750956] device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com
[ 58.084444] Bluetooth: HCI UART driver ver 2.2
[ 58.417534] Bluetooth: HCI H4 protocol initialized
[ 58.750594] Bluetooth: HCILL protocol initialized
[ 59.083673] perflock_notifier_call: cpufreq lock speed 528000
[ 59.416654] active perf lock 'boot-time'
[ 59.750846] clock-wince: pc_clk_set_rate: id=21 rate=144000
[ 60.084103] clock-wince: set mdns: 21, 144000; bitidx=0, offset=ac
[ 60.417218] clock-wince: set_mdns_host_clock: 21, freq=144000 calc_freq=144000 pll0=19200000 expected pll =19200000
[ 60.750874] bahamas_sdslot_switchvdd: Disabling SD slot power
[ 61.154349] mmc0: Qualcomm MSM SDCC at 0x00000000a0500000 irq 26,101 dma 8
[ 61.487438] mmc0: 4 bit data mode disabled
[ 61.820496] mmc0: MMC clock 144000 -> 14000000 Hz, PCLK 64000000 Hz
[ 62.153571] mmc0: Slot eject status = 0
[ 62.486589] mmc0: Power save feature enable = 0
[ 62.819641] mmc0: DM non-cached buffer at ffc04000, dma_addr 0x0bf23000
[ 63.152691] mmc0: DM cmd busaddr 0x0bf23000, cmdptr busaddr 0x0bf23300
[ 63.487323] Netfilter messages via NETLINK v0.30.
[ 63.820816] nf_conntrack version 0.5.0 (2400 buckets, 9600 max)
[ 64.154446] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[ 64.487588] nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
[ 64.820696] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[ 65.154328] xt_time: kernel timezone is -0000
[ 65.488051] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 65.821508] TCP cubic registered
[ 66.154598] NET: Registered protocol family 17
[ 66.487769] NET: Registered protocol family 15
[ 66.820996] Bluetooth: L2CAP ver 2.13
[ 67.154048] Bluetooth: L2CAP socket layer initialized
[ 67.487181] Bluetooth: SCO (Voice Link) ver 0.6
[ 67.820204] Bluetooth: SCO socket layer initialized
[ 68.164263] do_exece: open_exec error!!ulpi: write 0x40 to 0x31
[ 68.892081] bahamas_sdslot_switchvdd: Setting level to 2900!!!!!!!!!!!!
[ 69.225354] ulpi: write 0x1d to 0x0d
[ 69.570598]
[ 69.570608]
[ 69.570614] ios_clock 144000 | host_clock 144000
[ 69.570623]
[ 70.902518] ulpi: write 0x1d to 0x10
[ 71.235711] flush_endpoint_hw
[ 71.569184] flush_endpoint_hw...done
[ 71.902559] usb: notify offline
[ 72.237889]
[ 72.237901]
[ 72.237906] ios_clock 144000 | host_clock 144000
[ 72.237916]
[ 73.569949] fsg_configure: 0, 0, 0
[ 73.904619] Bluetooth: RFCOMM socket layer initialized
[ 74.238021] Bluetooth: RFCOMM TTY layer initialized
[ 74.571116] Bluetooth: RFCOMM ver 1.11
[ 74.904189] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 75.237244] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 75.570678] perflock_notifier_call: screen_on_policy_req 1, policy_min 480000
[ 75.903696] perflock_notifier_call: cpufreq lock speed 528000
[ 76.236669] active perf lock 'boot-time'
[ 76.570873] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 76.905554]
[ 76.905564]
[ 76.905571] ios_clock 144000 | host_clock 144000
[ 76.905581]
[ 78.238793]
[ 78.238814]
[ 78.238821] main.c: Ok, we have completed the initial bootup
[ 78.238833]
[ 79.570701] mmc0: Command timeout [8] (cbd9fedc cbd9ff14 (null) (null))
[ 79.903936]
[ 79.903953]
[ 79.903958] main.c: asunc_synchronize_full
[ 79.903966]
[ 81.235883] Freeing init memory: 108K
[ 81.568923]
[ 81.568938]
[ 81.568943] main.c: free_initmem
[ 81.568951]
[ 82.901136]
[ 82.901156]
[ 82.901163] main.c: unlock_kernel
[ 82.901171]
[ 84.233026] mmc0: Command timeout [5] (cbd9fed4 cbd9ff0c (null) (null))
[ 84.566226] mmc0: Command timeout [cmd=5 cs=0x4]
[ 84.904383]
[ 84.904399]
[ 84.904404] main.c: mark_rodata_ro
[ 84.904413]
[ 86.236204] mmc0: Command timeout [5] (cbd9fed4 cbd9ff0c (null) (null))
[ 86.569426] mmc0: Command timeout [cmd=5 cs=0x4]
[ 86.907961]
[ 86.907981]
[ 86.907988] main.c: system_state
[ 86.907994]
[ 88.239851] mmc0: Command timeout [55] (cbd9fe3c cbd9fe74 (null) (null))
[ 88.573193]
[ 88.573211]
[ 88.573218] main.c: numa_default_policy
[ 88.573226]
[ 89.905043] mmc0: Command timeout [55] (cbd9fe3c cbd9fe74 (null) (null))
[ 90.238636] Warning: unable to open an initial console.
[ 90.572061]
[ 90.572078]
[ 90.572083] main.c: ramdisk_exe_cmd=/init
[ 90.572093]
[ 91.903889] mmc0: Command timeout [41] (cbd9fec4 cbd9ff0c (null) (null))
[ 92.238908]
[ 92.238919]
[ 92.238924] ios_clock 144000 | host_clock 144000
[ 92.238934]
[ 93.611139] Starting Android
[ 94.042929] bahamas_sdslot_switchvdd: Setting level to 2800!!!!!!!!!!!!
[ 94.439498] Waiting for SD Card
[ 94.783213]
[ 94.783224]
[ 94.783229] ios_clock 144000 | host_clock 144000
[ 94.783239]
[ 96.115201] Release 'boot-time' readahead_lock
[ 96.457446]
[ 96.457458]
[ 96.457463] ios_clock 144000 | host_clock 144000
[ 96.457473]
[ 97.791158] Waiting for SD Card
[ 98.146303]
[ 98.146314]
[ 98.146319] ios_clock 144000 | host_clock 144000
[ 98.146329]
[ 99.479994] Waiting for SD Card
[ 99.828843]
[ 99.828854]
[ 99.828859] ios_clock 144000 | host_clock 144000
[ 99.828869]
[ 101.162731] Waiting for SD Card
[ 101.496179] Release 'boot-time' idle_lock
[ 101.829473]
[ 101.829483]
[ 101.829488] ios_clock 14000000 | host_clock 144000
[ 101.829498]
[ 103.167886] clock-wince: pc_clk_set_rate: id=21 rate=14000000
[ 103.501376] clock-wince: set mdns: 21, 14000000; bitidx=0, offset=ac
[ 103.834674] PLL1: MODE=00000007 L=00000032 M=00000000 N=00000001 freq=960000000 Hz (960 MHz)
[ 104.169558] Waiting for SD Card
[ 104.503024] clock-wince: set_mdns_host_clock: 21, freq=12000000 calc_freq=12000000 pll1=960000000 expected pll =768000000
[ 104.836473] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 105.170139] mmc0: new high speed SDHC card at address 1234
[ 105.510426] mmcblk0: mmc0:1234 SA08G 7.42 GiB
[ 105.844359] mmcblk0: p1
[ 111.857654] sd detect finished...
[ 112.201063] Partition for Andoroid: mmcblk0p1
[ 112.535134] Prepare SD card
[ 115.107211] Mount SD card
[ 115.477424] Mount done!
[ 115.852029] Andoroid path is: /sdcard/
[ 116.187853] Creating a new Data store
[ 263.167039] Making data EXT2
[ 297.776021] data.ext2 prepare done
[ 298.120076] Checking system EXT2
[ 298.544746] Mount system EXT2
[ 298.887921] system.ext2 prepare done

After that I have many "Permission denied" errors in system/bin and "msmfb_shutdown" at the end