[Tizen General] About SMACK debugging

Hee Cheol Yang hcyang1012 at gmail.com
Mon Aug 11 16:19:51 GMT 2014


Hello and thanks for your mail.
I am porting Tizen on my Odroid XU board which contains Exynos 5 SoC. (See
http://goo.gl/YmHteS for more details).
This board originally does not support Tizen, but only supports Android and
Ubuntu.
I started porting from Ubuntu image, which runs based on Linux kernel
3.4.98.
Followings are what I have done.
1. Modifying partition in the original SD card image to support three
partitions. (plaform.img, data.img, and ums.img)
2. Changing rootfs for Ubuntu to the contents of platform.img
3. Modifying .mount files of systemd in
/usr/lib/systemd/system/local-fs.target.wants/ to make them applicable to
my board.
4. Modifying Linux kernel to support SMACK (through menuconfig) and replace
the original one to it.

After doing above, this is my booting log.
�

U-Boot 2012.07-00009-g6d19983 (Oct 09 2013 - 01:15:41) for Exynos5410

CPU: Exynos5410 Rev2.3 [Samsung SOC on SMP Platform Base on ARM CortexA15]
APLL = 900MHz, KPLL = 600MHz
MPLL = 532MHz, BPLL = 800MHz
DRAM:  2 GiB
WARNING: Caches not enabled

TrustZone Enabled BSP
BL1 version:
PMIC VER : 0, CHIP REV : 6
VDD MIF : 1.00000V
VDD ARM : 1.00000V
VDD INT : 1.00000V
VDD G3D : 1.00000V
VDD KFC : 1.00000V

Checking Boot Mode ... SDMMC
MMC:   S5P_MSHC2: 0, S5P_MSHC0: 1
MMC Device 0: 7.4 GiB
MMC Device 1: [ERROR] response error : 00000006 cmd 8
[ERROR] response error : 00000006 cmd 55
[ERROR] response error : 00000006 cmd 2
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Press 'Enter' or 'Space' to stop autoboot:  0
there are pending interrupts 0x00000001
reading boot.ini

5505 bytes read
Loading boot.ini from FAT
Find boot.ini file from FAT/Ext4 Area!!
boot.ini command = setenv hk_current_version "2"
boot.ini command = setenv verify 'if test $hk_version !=
$hk_current_version;then;fatload mmc 0:1 40008000 u-boot.bin;emmc open
0;movi w z u 0 40008000;emmc close 0;setenv hk_version
$hk_current_version;save;reset;fi'
boot.ini command = run verify
reading u-boot.bin

293168 bytes read
[ERROR] response timeout error : 00000104 cmd 6
eMMC OPEN Failed.!!
boot.ini command = setenv initrd_high "0xffffffff"
boot.ini command = setenv fdt_high "0xffffffff"
boot.ini command = setenv bootrootfs "console=tty1 console=ttySAC2,115200n8
root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro"
boot.ini command = setenv fb_x_res     "1280"
boot.ini command = setenv fb_y_res     "720"
boot.ini command = setenv vout         "hdmi"
boot.ini command = setenv left     "56"
boot.ini command = setenv right    "24"
boot.ini command = setenv upper    "3"
boot.ini command = setenv lower    "3"
boot.ini command = setenv hsync    "14"
boot.ini command = setenv vsync    "3"
boot.ini command = setenv fb_control "left=${left} right=${right}
upper=${upper} lower=${lower} vsync=${vsync} hsync=${hsync}"
boot.ini command = setenv hdmi_phy_res "720p60hz"
boot.ini command = setenv led_blink    "1"
boot.ini command = setenv bootcmd "fatload mmc 0:1 0x40008000 zImage;
fatload mmc 0:1 0x42000000 uInitrd; bootz 0x40008000 0x42000000"
boot.ini command = setenv bootargs "${bootrootfs} ${fb_control}
fb_x_res=${fb_x_res} fb_y_res=${fb_y_res} vout=${vout}
hdmi_phy_res=${hdmi_phy_res} led_blink=${led_blink}"
boot.ini command = boot
reading zImage

5280616 bytes read
reading uInitrd

1753120 bytes read
## Loading init Ramdisk from Legacy Image at 42000000 ...
   Image Name:   uInitrd 3.4.75
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    1753056 Bytes = 1.7 MiB
   Load Address: 00000000
   Entry Point:  00000000

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.98 (hcyang at hcyang-desktop) (gcc version
4.9.1 20140505 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.05 -
Linaro GCC 2014.05) ) #1 SMP PREEMPT Sat Aug 9 00:51:06 KST 2014
[    0.000000] CPU: ARMv7 Processor [412fc0f3] revision 3 (ARMv7),
cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[    0.000000] Machine: ODROIDXU
[    0.000000] S5P/CMA: Reserved 0x08000000 at 0xb7e00000 for 'ion'
[    0.000000] S5P/CMA: Reserved 0x00100000 at 0xb7d00000 for 'drm_mfc_sh'
[    0.000000] S5P/CMA: Reserved 0x00c00000 at 0xb7100000 for 'drm_g2d_wfd'
[    0.000000] S5P/CMA: Reserved 0x00400000 at 0xac000000 for 'drm_sectbl'
[    0.000000] S5P/CMA: Reserved 0x00100000 at 0xac400000 for 'drm_mfc_fw'
[    0.000000] S5P/CMA: Reserved 0x01000000 at 0xac500000 for 'drm_mfc_input'
[    0.000000] S5P/CMA: Reserved 0x03b00000 at 0xad500000 for 'drm_mfc_output'
[    0.000000] S5P/CMA: Reserved 0x03000000 at 0xb1000000 for 'drm_fimd_video'
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] CPU EXYNOS5410 (id 0xe5410023)
[    0.000000] S3C24XX Clocks, Copyright 2004 Simtec Electronics
[    0.000000] EXYNOS5: EAGLECLK=900000000, KFCCLK=600000000,
CDREX=800000000
[    0.000000] PERCPU: Embedded 8 pages/cpu @c1eb1000 s12288 r8192 d12288
u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
 Total pages: 519172
[    0.000000] Kernel command line: console=ttySAC2,115200n8 vmalloc=512M
console=tty1 console=ttySAC2,115200n8
root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro left=56 right=24
upper=3 lower=3 vsync=3 hsync=14 fb_x_res=1280 fb_y_res=720 vout=hdmi
hdmi_phy_res=720p60hz led_blink=1
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144
bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072
bytes)
[    0.000000] Memory: 2046MB = 2046MB total
[    0.000000] Memory: 1785916k/1785916k available, 309188k reserved,
1311744K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdf800000 - 0xff000000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc09e9000   (10116 kB)
[    0.000000]       .init : 0xc09e9000 - 0xc0a2c000   ( 268 kB)
[    0.000000]       .data : 0xc0a2c000 - 0xc0ad8710   ( 690 kB)
[    0.000000]        .bss : 0xc0ad8734 - 0xc0ca3208   (1835 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0,
CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:693
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every
178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.000582] Calibrating delay loop... 1785.85 BogoMIPS (lpj=4464640)
[    0.045051] pid_max: default: 32768 minimum: 301
[    0.045194] Security Framework initialized
[    0.045231] Smack:  Initializing.
[    0.045404] Mount-cache hash table entries: 512
[    0.046187] Initializing cgroup subsys debug
[    0.046210] Initializing cgroup subsys cpuacct
[    0.046228] Initializing cgroup subsys devices
[    0.046247] Initializing cgroup subsys freezer
[    0.046264] Initializing cgroup subsys perf_event
[    0.046341] CPU: Testing write buffer coherency: ok
[    0.046496] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.046550] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7
counters available
[    0.046614] Setting up static identity map for 0x40748af0 - 0x40748b48
[    0.097734] CPU1: Booted secondary processor
[    0.097764] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.117734] CPU2: Booted secondary processor
[    0.117767] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.137727] CPU3: Booted secondary processor
[    0.137760] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.137905] Brought up 4 CPUs
[    0.137980] SMP: Total of 4 processors activated (7143.42 BogoMIPS).
[    0.138685] devtmpfs: initialized
[    0.154710] gpio: GPZ has no PM function
[    0.155637] NET: Registered protocol family 16
[    0.159372] Last reset was reset (RST_STAT=0x100)
[    0.170020] odroidxu_clkout_init [496] : clkout_clk = 24000000
[    0.170026]
[    0.177891] exynos5_odroidxu_display_init : LCD or HDMI or DVI Monitor!
[    0.177922] Virtual FB Size from Boot Parameter : X(1280), y(720)
[    0.180315] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4
watchpoint registers.
[    0.180348] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.180517] CCI is not supportedS3C Power Management, Copyright 2004
Simtec Electronics
[    0.182115] Failed to get (null) clock
[    0.182464] EXYNOS5410 PMU Initialize
[    0.183127] EXYNOS: Initializing architecture
[    0.184296] s3c24xx-pwm s3c24xx-pwm.0: tin at 2015151, tdiv at 2015151,
tin=divclk, base 0
[    0.184415] s3c24xx-pwm s3c24xx-pwm.3: tin at 33250000, tdiv at
33250000, tin=divclk, base 16
[    0.185351] Exynos5410 : Lot ID is N63BA[Non Special]
[    0.185373] Exynos5410 ASV : Use Fusing Speed Group 4
[    0.185392] Exynos5410 ASV : invalid IDS value
[    0.185410] EXYNOS5410 ASV : N63BA IDS : 0 HPM : 0
[    0.185438] VDD_ARM ASV group is 4
[    0.185456] VDD_KFC ASV group is 4
[    0.185474] VDD_INT_MIF_L0 ASV group is 4
[    0.185491] VDD_MIF ASV group is 4
[    0.185508] VDD_G3D ASV group is 4
[    0.185525] VDD_INT_MIF_L1 ASV group is 4
[    0.185543] VDD_INT_MIF_L2 ASV group is 4
[    0.185560] VDD_INT_MIF_L3 ASV group is 4
[    0.186835] Exynos Power mode List
[    0.186851] NAME CPU MIF INT CPU0 CPU1 CPU2 CPU3
[    0.186874] init 0 0 0 1 1 1 1
[    0.186891] quad 1600000 800000 400000 1 1 1 1
[    0.186910] quad_io 1800000 800000 400000 1 1 0 0
[    0.186929] quad_mem 1800000 800000 400000 1 1 0 0
[    0.186957] exynos_interface_init: failed to create sysfs interface
[    0.224054] bio: create slab <bio-0> at 0
[    0.226576] SCSI subsystem initialized
[    0.228081] usbcore: registered new interface driver usbfs
[    0.228386] usbcore: registered new interface driver hub
[    0.228599] usbcore: registered new device driver usb
[    0.229747] i2c-gpio i2c-gpio.2: using pins 77 (SDA) and 78 (SCL)
[    0.230339] i2c-gpio i2c-gpio.10: using pins 323 (SDA) and 311 (SCL)
[    0.230958] s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
[    0.230983] s3c-i2c s3c2440-i2c.1: slave address 0x10
[    0.231004] s3c-i2c s3c2440-i2c.1: bus frequency set to 377 KHz
[    0.231473] s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
[    0.231497] s3c-i2c s3c2440-i2c.0: slave address 0x10
[    0.231516] s3c-i2c s3c2440-i2c.0: bus frequency set to 377 KHz
[    0.231598] s3c-i2c s3c2440-i2c.2: no platform data
[    0.231627] s3c-i2c: probe of s3c2440-i2c.2 failed with error -22
[    0.232394] max77802 4-0009: device found
[    0.232415] max77802_irq_init+
[    0.232437] max77802_irq_init: gpio_irq=0
[    0.237385] max77802_irq_init-
[    0.244050] vdd_emmc range: Failed to create debugfs directory
[    0.266384] exynos5-i2c exynos5-hs-i2c.0: i2c-4: Exynos5 HS-I2C adapter
[    0.266594] Linux media interface: v0.10
[    0.266771] Linux video capture interface: v2.00
[    0.273592] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.274492] Bluetooth: Core ver 2.16
[    0.274657] NET: Registered protocol family 31
[    0.274678] Bluetooth: HCI device and connection manager initialized
[    0.274702] Bluetooth: HCI socket layer initialized
[    0.274722] Bluetooth: L2CAP socket layer initialized
[    0.274765] Bluetooth: SCO socket layer initialized
[    0.275285] cfg80211: Calling CRDA to update world regulatory domain
[    0.275898] NetLabel: Initializing
[    0.275916] NetLabel:  domain hash size = 128
[    0.275933] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.275994] NetLabel:  unlabeled traffic allowed by default
[    0.276460] nfc: nfc_init: NFC Core ver 0.1
[    0.276638] NET: Registered protocol family 39
[    0.276955] Switching to clocksource mct-frc
[    0.324081] NET: Registered protocol family 2
[    0.324309] IP route cache hash table entries: 16384 (order: 4, 65536
bytes)
[    0.324772] TCP established hash table entries: 65536 (order: 7, 524288
bytes)
[    0.325892] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[    0.327011] TCP: Hash tables configured (established 65536 bind 65536)
[    0.327089] TCP: reno registered
[    0.327111] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.327148] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.327381] NET: Registered protocol family 1
[    0.327644] RPC: Registered named UNIX socket transport module.
[    0.327668] RPC: Registered udp transport module.
[    0.327686] RPC: Registered tcp transport module.
[    0.327704] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.327922] Trying to unpack rootfs image as initramfs...
[    0.413259] Freeing initrd memory: 1712K
[    0.414944] big.LITTLE switcher initializing
[    0.425954] big.LITTLE switcher initialized
[    0.426098] s3c-adc samsung-adc-v5: operating without regulator "vdd" .
[    0.426182] s3c-adc samsung-adc-v5: attached adc driver
[    0.428817] highmem bounce pool size: 64 pages
[    0.443548] NFS: Registering the id_resolver key type
[    0.444939] NTFS driver 2.1.30 [Flags: R/W DEBUG].
[    0.445252] fuse init (API version 7.18)
[    0.446040] msgmni has been set to 929
[    0.448195] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 252)
[    0.448227] io scheduler noop registered
[    0.448246] io scheduler deadline registered
[    0.448515] io scheduler cfq registered (default)
[    0.455531] dma-pl330 dma-pl330.0: Loaded driver for PL330 DMAC-267056
[    0.455561] dma-pl330 dma-pl330.0: DBUFF-32x4bytes Num_Chans-8
Num_Peri-32 Num_Events-32
[    0.461954] dma-pl330 dma-pl330.1: Loaded driver for PL330 DMAC-267056
[    0.461983] dma-pl330 dma-pl330.1: DBUFF-32x4bytes Num_Chans-8
Num_Peri-32 Num_Events-32
[    0.463741] dma-pl330 dma-pl330.2: Loaded driver for PL330 DMAC-267056
[    0.463770] dma-pl330 dma-pl330.2: DBUFF-64x8bytes Num_Chans-8
Num_Peri-1 Num_Events-32
[    0.464239] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.465923] exynos4210-uart.0: ttySAC0 at MMIO 0x12c00000 (irq = 83) is
a S3C6400/10
[    0.466277] exynos4210-uart.1: ttySAC1 at MMIO 0x12c10000 (irq = 84) is
a S3C6400/10
[    0.466633] exynos4210-uart.2: ttySAC2 at MMIO 0x12c20000 (irq = 85) is
a S3C6400/10
[    1.426924] console [ttySAC2] enabled
[    1.430888] exynos4210-uart.3: ttySAC3 at MMIO 0x12c30000 (irq = 86) is
a S3C6400/10
[    1.439299] ion_device_add_heap: can not insert multiple heaps with id 1
[    1.444946] ion_device_add_heap: can not insert multiple heaps with id 0
[    1.451988] PVR_K: PVRSRVDriverProbe(pDevice=c0a77858)
[    1.456737] PVR_K: SysInitialise: start
[    1.461923] PVR_K: enable_gpu_power off fail with pm_runtime_suspended
[    1.467080] PVR_K: SysInitialise: end
[    1.520604] brd: module loaded
[    1.528976] loop: module loaded
[    1.531668] tun: Universal TUN/TAP device driver, 1.6
[    1.535717] tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
[    1.542288] PPP generic driver version 2.4.2
[    1.546590] PPP BSD Compression module registered
[    1.550805] PPP Deflate Compression module registered
modprobe: FATAL: Could not load /lib/modules/3.4.98/modules.dep: No such
file or directory

modprobe: FATAL: Could not load /lib/modules/3.4.98/modules.dep: No such
file or directory

[    1.597698] PPP MPPE Compression module registered
[    1.601025] NET: Registered protocol family 24
[    1.605740] usbcore: registered new interface driver asix
[    1.611065] usbcore: registered new interface driver ax88179_178a
[    1.617209] usbcore: registered new interface driver cdc_ether
[    1.622925] usbcore: registered new interface driver cdc_subset
[    1.628841] usbcore: registered new interface driver ipheth
[    1.634387] usbcore: registered new interface driver cdc_ncm
[    1.639950] exynos-drd exynos-dwc3.0: Core ID Number: 0x5533
[    1.645448] exynos-drd exynos-dwc3.0: Release Number: 0x200a
[    1.651273] exynos-drd exynos-dwc3.0: IRQ: ID: 1
[    1.655795] exynos-drd exynos-dwc3.0: IRQ: VBUS: inactive
[    1.661737] exynos-drd exynos-dwc3.1: Core ID Number: 0x5533
[    1.666696] exynos-drd exynos-dwc3.1: Release Number: 0x200a
[    1.672517] exynos-drd exynos-dwc3.1: IRQ: VBUS: inactive
[    1.678501] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.707077] s5p-ehci s5p-ehci: S5P EHCI Host Controller
[    1.710849] s5p-ehci s5p-ehci: new USB bus registered, assigned bus
number 1
[    1.717950] s5p-ehci s5p-ehci: irq 103, io mem 0x12110000
[    1.732109] s5p-ehci s5p-ehci: USB 0.0 started, EHCI 1.00
[    1.736966] hub 1-0:1.0: USB hub found
[    1.739816] hub 1-0:1.0: 3 ports detected
[    1.744503] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.750136] exynos-ohci exynos-ohci: Already power on PHY
[    1.755323] exynos-ohci exynos-ohci: EXYNOS OHCI Host Controller
[    1.761344] exynos-ohci exynos-ohci: new USB bus registered, assigned
bus number 2
[    1.768883] exynos-ohci exynos-ohci: irq 103, io mem 0x12120000
[    1.831941] hub 2-0:1.0: USB hub found
[    1.834270] hub 2-0:1.0: 3 ports detected
[    1.838984] exynos-drd exynos-dwc3.0: Core ID Number: 0x5533
[    1.843939] exynos-drd exynos-dwc3.0: Release Number: 0x200a
[    1.849523] exynos-xhci exynos-xhci.0: EXYNOS xHCI Host Controller
[    1.855683] exynos-xhci exynos-xhci.0: new USB bus registered, assigned
bus number 3
[    1.863601] exynos-xhci exynos-xhci.0: irq 104, io mem 0x12000000
[    1.870335] hub 3-0:1.0: USB hub found
[    1.873200] hub 3-0:1.0: 1 port detected
[    1.877577] exynos-xhci exynos-xhci.0: EXYNOS xHCI Host Controller
[    1.883263] exynos-xhci exynos-xhci.0: new USB bus registered, assigned
bus number 4
[    1.891834] hub 4-0:1.0: USB hub found
[    1.894710] hub 4-0:1.0: 1 port detected
[    1.899169] exynos-drd exynos-dwc3.1: Core ID Number: 0x5533
[    1.904239] exynos-drd exynos-dwc3.1: Release Number: 0x200a
[    1.909876] exynos-xhci exynos-xhci.1: EXYNOS xHCI Host Controller
[    1.916038] exynos-xhci exynos-xhci.1: new USB bus registered, assigned
bus number 5
[    1.923923] exynos-xhci exynos-xhci.1: irq 232, io mem 0x12400000
[    1.930661] hub 5-0:1.0: USB hub found
[    1.933561] hub 5-0:1.0: 1 port detected
[    1.937914] exynos-xhci exynos-xhci.1: EXYNOS xHCI Host Controller
[    1.943655] exynos-xhci exynos-xhci.1: new USB bus registered, assigned
bus number 6
[    1.952256] hub 6-0:1.0: USB hub found
[    1.955032] hub 6-0:1.0: 1 port detected
[    1.959827] usbcore: registered new interface driver cdc_acm
[    1.964615] cdc_acm: USB Abstract Control Model driver for USB modems
and ISDN adapters
[    1.972571] Initializing USB Mass Storage driver...
[    1.977737] usbcore: registered new interface driver usb-storage
[    1.983410] USB Mass Storage support registered.
[    1.988420] usbcore: registered new interface driver usbserial
[    1.993984] usbcore: registered new interface driver usbserial_generic
[    2.000538] USB Serial support registered for generic
[    2.052122] usb 1-2: new high-speed USB device number 2 using s5p-ehci
[    2.191127] usbserial: USB Serial Driver core
[    2.297606] usb3503 4-0008: switched to HUB mode
[    2.300753] usb3503 4-0008: usb3503_probe: probed on  hub mode
[    2.307004] exynos-ss-udc exynos-ss-udc.0: regs df8b0000, irq 104
[    2.313255] exynos-ss-udc exynos-ss-udc.1: regs df8b2000, irq 232
[    2.319902] mousedev: PS/2 mouse device common for all mice
[    2.324549] odroid_keypad_init
[    2.327853] input: odroid-keypad as /devices/virtual/input/input0
[    2.333399] odroid_keypad_open
[    2.336726] --------------------------------------------------------
[    2.342757] odroid-keypad driver initialized!! Ver 1.0
[    2.347866] --------------------------------------------------------
[    2.354230] platform_driver_register 0
[    2.358212] usbcore: registered new interface driver xpad
[    2.413735] odroid-ts 0-0048: I2C write error: (-6) reg: 0x4 len: 0
[    2.418862] input: odroidxu-ts as
/devices/platform/s3c2440-i2c.0/i2c-0/0-0048/input/input1
[    2.427618] odroidxu: Dummy touchscreen driver!
[    2.431530] i2c-core: driver [odroid-ts] using legacy suspend method
[    2.437736] i2c-core: driver [odroid-ts] using legacy resume method
[    2.445166] max77802_rtc_probe
[    2.487102] max77802-rtc max77802-rtc: rtc init
[    2.490165] max77802_rtc_set_time: 112/0/1 0:0:0(0)
[    2.502102] max77802_rtc_set_time: task=swapper/0[1]
[    2.505601] max77802-rtc max77802-rtc: max77802_rtc_enable_wtsr: enable
WTSR
[    2.522143] usb 1-3: new high-speed USB device number 3 using s5p-ehci
[    2.547346] max77802_rtc_read_time: 112/0/1 0:0:0(0)
[    2.557351] max77802_rtc_read_alarm: 100/0/1 0:0:0(0)
[    2.567324] max77802_rtc_read_time: 112/0/1 0:0:0(0)
[    2.571279] max77802-rtc max77802-rtc: rtc core: registered max77802-rtc
as rtc0
[    2.578234] max77802_irq_unmask: group=2, cur=0xfd
[    2.583591] i2c /dev entries driver
[    2.588951] lirc_dev: IR Remote Control driver registered, major 251
[    2.593956] IR NEC protocol handler initialized
[    2.598457] IR RC5(x) protocol handler initialized
[    2.603224] IR RC6 protocol handler initialized
[    2.607731] IR JVC protocol handler initialized
[    2.612244] IR Sony protocol handler initialized
[    2.616814] IR RC5 (streamzap) protocol handler initialized
[    2.622391] IR SANYO protocol handler initialized
[    2.627076] IR MCE Keyboard/mouse protocol handler initialized
[    2.632884] IR LIRC bridge handler initialized
[    2.637346] gspca_main: v2.14.0 registered
[    2.641793] exynos-mdev.0: Media0[0xddc48000] was registered successfully
[    2.648577] exynos-mdev.1: Media1[0xddc48400] was registered successfully
[    2.655313] exynos-mdev.2: Media2[0xddc48800] was registered successfully
[    2.662261] s5p-mipi-csis.0
[    2.662265] : s5pcsis_probe : csis0 probe success
[    2.669554] s5p-mipi-csis.1
[    2.669558] : s5pcsis_probe : csis1 probe success
[    2.676928] s5p-mipi-csis.2
[    2.676932] : s5pcsis_probe : csis2 probe success
[    2.684087] hub 1-3:1.0: USB hub found
[    2.687979] hub 1-3:1.0: 3 ports detected
[    2.692387] [INFO]flite_probe:2214: FIMC-LITE0 probe success
[    2.698190] [INFO]flite_probe:2214: FIMC-LITE1 probe success
[    2.703430] [INFO]flite_probe:2214: FIMC-LITE2 probe success
[    2.710449] [INFO]gsc_probe:1559: gsc-0 registered successfully
[    2.716375] [INFO]gsc_probe:1559: gsc-1 registered successfully
[    2.722351] [INFO]gsc_probe:1559: gsc-2 registered successfully
[    2.728283] [INFO]gsc_probe:1559: gsc-3 registered successfully
[    2.733083] exynos5-scaler exynos5-scaler.0: ++sc_probe
[    2.738487] exynos5-scaler exynos5-scaler.0: scaler registered
successfully
[    2.745273] Initialize JPEG driver
[    2.748836] s5p-jpeg s5p-jpeg: JPEG driver is registered to /dev/video12
[    2.755328] s5p-jpeg s5p-jpeg: JPEG driver is registered to /dev/video11
[    2.761877] Exynos Graphics 2D driver, (c) 2011 Samsung Electronics
[    2.768144] [fimg2d_probe] base address: 0x10850000
[    2.772743] [fimg2d_probe] irq: 123
[    2.776220] [fimg2d_clk_setup] aclk_acp(266000000) pclk_acp(133000000)
[    2.782726] [fimg2d_clk_setup] gate clk: fimg2d
[    2.787216] [fimg2d_probe] enable runtime pm
[    2.791440] [fimg2d_probe] register sysmmu page fault handler
[    2.797897] EXYNOS MFC V4L2 Driver, (c) 2010 Samsung Electronics
[    2.803783] s5p-mfc s5p-mfc-v6: decoder registered as /dev/video6
[    2.809628] s5p-mfc s5p-mfc-v6: encoder registered as /dev/video7
[    2.816024] i2c i2c-2: attached exynos hdcp into i2c adapter successfully
[    2.822309] i2c-core: driver [exynos_hdcp] using legacy suspend method
[    2.828591] i2c-core: driver [exynos_hdcp] using legacy resume method
[    2.835013] Samsung HDMI output driver, (c) 2010-2011 Samsung
Electronics Co., Ltd.
[    2.842838] s5p-hdmi exynos5-hdmi: hdmi ip version = 2
[    2.848519] s5p-hdmi exynos5-hdmi: probe sucessful
[    2.852746] Samsung TV Mixer driver, (c) 2010-2011 Samsung Electronics
Co., Ltd.
modprobe: FATAL: Could not load /lib/modules/3.4.98/modules.dep: No such
file or directory

modprobe: FATAL: Could not load /lib/modules/3.4.98/modules.dep: No such
file or directory

[    2.897447] s5p-mixer s5p-mixer: probe start
[    2.900250] s5p-mixer s5p-mixer: mixer ip version = 2
[    2.905530] s5p-mixer s5p-mixer: resources acquired
[    2.910186] s5p-mixer s5p-mixer: added output 'S5P HDMI connector' from
module 's5p-hdmi'
[    2.918731] s5p-mixer s5p-mixer: registered layer mxr0_graph0 as
/dev/video16
[    2.925762] s5p-mixer s5p-mixer: registered layer mxr0_graph1 as
/dev/video17
[    2.932901] s5p-mixer s5p-mixer: registered layer mxr1_graph2 as
/dev/video18
[    2.939973] s5p-mixer s5p-mixer: registered layer mxr1_graph3 as
/dev/video19
[    2.946761] s5p-mixer s5p-mixer: mixer0 create links
[    2.951713] s5p-mixer s5p-mixer: mixer1 create links
[    2.956669] s5p-mixer s5p-mixer: mixer links are created successfully
[    2.963108] s5p-mixer s5p-mixer: probe successful
[    2.967970] S5P CEC for Exynos4 Driver, (c) 2009 Samsung Electronics
[    2.974515] s5p-tvout-cec s5p-tvout-cec: probe successful
[    2.979710] exynos-rot exynos-rot: ++rot_probe
[    2.984261] exynos-rot exynos-rot: rotator registered successfully
[    2.990237] Initialize JPEG Hx driver
[    2.994152] exynos5-jpeg-hx exynos5-jpeg-hx: JPEG driver is registered
to /dev/video14
[    3.001854] exynos5-jpeg-hx exynos5-jpeg-hx: JPEG driver is registered
to /dev/video13
[    3.009956] usbcore: registered new interface driver uvcvideo
[    3.015183] USB Video Class driver (1.1.1)
[    3.019518] samsung-fake-battery samsung-fake-battery:
samsung_fake_bat_probe
[    3.029384] Exynos: Kernel Thermal management registered
[    3.033505] s3c2410_wdt: S3C2410 Watchdog Timer, (c) 2004 Simtec
Electronics
[    3.040779] s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled,
irq disabled
[    3.049059] device-mapper: uevent: version 1.0.3
[    3.053321] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised:
dm-devel at redhat.com
[    3.061254] usbcore: registered new interface driver btusb
[    3.066887] cpuidle: using governor ladder
[    3.070972] cpuidle: using governor menu
[    3.074888] sdhci: Secure Digital Host Controller Interface driver
[    3.080606] sdhci: Copyright(c) Pierre Ossman
[    3.085500] Synopsys Designware Multimedia Card Interface Driver
[    3.090866] dw_mmc dw_mmc.2: Using internal DMA controller.
[    3.097013] dw_mmc dw_mmc.2: vmmc regulator found
[    3.101341] dw_mmc dw_mmc.2: vqmmc regulator found
[    3.107811] dw_mmc dw_mmc.2: Version ID is 241a
[    3.110883] dw_mmc dw_mmc.2: DW MMC controller at irq 109, 64 bit host
data width, 128 deep fifo
[    3.119749] dw_mmc dw_mmc.0: Using internal DMA controller.
[    3.125796] dw_mmc dw_mmc.0: vmmc regulator found
[    3.130078] dw_mmc dw_mmc.0: vqmmc regulator found
[    3.136529] dw_mmc dw_mmc.0: Version ID is 241a
[    3.139629] dw_mmc dw_mmc.0: DW MMC controller at irq 107, 64 bit host
data width, 128 deep fifo
[    3.143381] mmc_host mmc0: Bus speed (slot 0) = 20000000Hz (slot req
400000Hz, actual 400000HZ div = 25)
[    3.163318] usbcore: registered new interface driver usbhid
[    3.167452] usbhid: USB HID core driver
[    3.172883] logger: created 256K log 'log_main'
[    3.176558] logger: created 256K log 'log_events'
[    3.181189] logger: created 256K log 'log_radio'
[    3.185794] logger: created 256K log 'log_system'
[    3.191040] odroid_sysfs_init(471) : Sleep Disable Flag
SET!!(Wake_lock_init)
[    3.207142] exynos5-i2c exynos5-hs-i2c.0: tx timeout
[    3.217235] exynos5-i2c exynos5-hs-i2c.0: tx timeout
[    3.220844] INA231 4-0040: I2C write error: (-121) reg: 0x0
[    3.226403] ============= Probe INA231 Fail! : sensor_arm (0xFFFFFF87)
=============
[    3.234222] INA231: probe of 4-0040 failed with error -121
[    3.234952] mmc_host mmc0: Bus speed (slot 0) = 40000000Hz (slot req
50000000Hz, actual 40000000HZ div = 0)
[    3.235171] mmc0: new high speed SDHC card at address aaaa
[    3.236877] mmcblk0: mmc0:aaaa SU08G 7.40 GiB
[    3.240337]  mmcblk0: p1 p2 p3 p4
[    3.272142] exynos5-i2c exynos5-hs-i2c.0: tx timeout
[    3.282130] exynos5-i2c exynos5-hs-i2c.0: tx timeout
[    3.282240] mmc_host mmc1: Bus speed (slot 0) = 20000000Hz (slot req
400000Hz, actual 400000HZ div = 25)
[    3.295246] INA231 4-0041: I2C write error: (-121) reg: 0x0
[    3.300748] ============= Probe INA231 Fail! : sensor_mem (0xFFFFFF87)
=============
[    3.308578] INA231: probe of 4-0041 failed with error -121
[    3.322104] exynos5-i2c exynos5-hs-i2c.0: tx timeout
[    3.322204] mmc_host mmc1: Bus speed (slot 0) = 20000000Hz (slot req
313726Hz, actual 312500HZ div = 32)
[    3.342099] exynos5-i2c exynos5-hs-i2c.0: tx timeout
[    3.345697] INA231 4-0044: I2C write error: (-121) reg: 0x0
[    3.351280] ============= Probe INA231 Fail! : sensor_g3d (0xFFFFFF87)
=============
[    3.359079] INA231: probe of 4-0044 failed with error -121
[    3.372140] exynos5-i2c exynos5-hs-i2c.0: tx timeout
[    3.382065] exynos5-i2c exynos5-hs-i2c.0: tx timeout
[    3.385666] INA231 4-0045: I2C write error: (-121) reg: 0x0
[    3.391227] ============= Probe INA231 Fail! : sensor_kfc (0xFFFFFF87)
=============
[    3.399043] INA231: probe of 4-0045 failed with error -121
[    3.404965] i2c-core: driver [INA231] using legacy suspend method
[    3.410570] i2c-core: driver [INA231] using legacy resume method
[    3.416683] odroidxu: ioboard: keyled probe
[    4.027257] hot state 0 to 1
[    4.257062] ioboard-bh1780 10-0029: I2C write byte error: data=0x8b
[    4.261865]
[    4.261868] =================== ioboard_bh1780_probe FAIL!
===================
[    4.261874]
[    4.272602] i2c-core: driver [ioboard-bh1780] using legacy suspend method
[    4.278808] i2c-core: driver [ioboard-bh1780] using legacy resume method
[    5.122060]
[    5.122064] =================== ioboard_bmp180_probe FAIL!
===================
[    5.122070]
[    5.131306] i2c-core: driver [ioboard-bmp180] using legacy suspend method
[    5.137567] i2c-core: driver [ioboard-bmp180] using legacy resume method
[    5.144326] odroidxu: ioboard: adc probe
[    5.150924] wait_until_ready : error!!
[    5.153231] ioboard_spi_write_enable : error!!
[    5.157650]
[    5.157653] =================== ioboard_spi_probe FAIL!
===================
[    5.157659]
[    5.167538] ioboard-spi: probe of spi1.0 failed with error -1
[    5.175233] usbcore: registered new interface driver snd-usb-audio
[    5.185098] soc-audio soc-audio.0: ASoC machine Odroid-max98090 should
use snd_soc_register_card()
[    5.193131] samsung-i2s samsung-i2s.0: EPLL rate = 400000000
[    5.198270] samsung-i2s samsung-i2s.0: SRP rate = 100000000
[    5.203815] samsung-i2s samsung-i2s.0: BUS rate = 50000000
[    5.232557] max98090 1-0010: MAX98090 REVID=0x43
[    5.240242] asoc: HiFi <-> samsung-i2s.0 mapping ok
[    5.244096] asoc: HiFi <-> samsung-i2s.0 mapping ok
[    5.251083] GACT probability NOT on
[    5.253138] Mirror/redirect action on
[    5.256743] u32 classifier
[    5.259454]     Performance counters on
[    5.263274]     Actions configured
[    5.266627] Netfilter messages via NETLINK v0.30.
[    5.271428] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    5.278099] ctnetlink v0.93: registering with nfnetlink.
[    5.283087] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.288126] arp_tables: (C) 2002 David S. Miller
[    5.292624] TCP: bic registered
[    5.295678] TCP: cubic registered
[    5.299000] TCP: westwood registered
[    5.302554] TCP: htcp registered
[    5.306846] NET: Registered protocol family 10
[    5.310858] Mobile IPv6
[    5.312648] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    5.318114] IPv6 over IPv4 tunneling driver
[    5.324384] NET: Registered protocol family 17
[    5.327430] NET: Registered protocol family 15
[    5.332161] Bluetooth: RFCOMM TTY layer initialized
[    5.336649] Bluetooth: RFCOMM socket layer initialized
[    5.341782] Bluetooth: RFCOMM ver 1.11
[    5.345506] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.350800] Bluetooth: BNEP filters: protocol multicast
[    5.356003] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.362284] NET: Registered protocol family 33
modprobe: FATAL: Could not load /lib/modules/3.4.98/modules.dep: No such
file or directory

modprobe: FATAL: Could not load /lib/modules/3.4.98/modules.dep: No such
file or directory

[    5.408319] RxRPC: Registered security type 2 'rxkad'
[    5.411934] NET: Registered protocol family 35
[    5.416415] lib80211: common routines for IEEE802.11 drivers
[    5.422005] Registering the dns_resolver key type
[    5.427119] VFP support v0.3: implementor 41 architecture 4 part 30
variant f rev 0
[    5.434341] Registering SWP/SWPB emulation handler
[    5.442657] registered taskstats version 1
[    5.562131] s5p-mipi-dsim s5p-mipi-dsim.1: DSI Master driver has been
completed.
[    5.568099] s5p-mipi-dsim s5p-mipi-dsim.1: DSI Master state is stop state
[    5.574853] s5p-mipi-dsim s5p-mipi-dsim.1: dsim_lcd_drv->probe is NULL.
[    5.851463] s5p-mipi-dsim s5p-mipi-dsim.1: mipi-dsi driver(RGB mode) has
been probed.
[    5.867544] s3c-fb exynos5-fb.1: failed to find bootloader framebuffer
[    5.872659] s3c-fb exynos5-fb.1: couldn't copy bootloader framebuffer
into default window; clearing instead
[    5.904418] s3c-fb exynos5-fb.1: window 0: fb
[    5.908989] vddq_lcd: incomplete constraints, leaving on
[    5.912897]
[    5.912901]  uiCount = 1800
[    5.917135] PA FB = 0xB6800000, bits per pixel = 32
[    5.921936] screen width=1280 height=720 va=0x0xres_virtual = 1280,
yres_virtual = 720, xoffset = 0, yoffset = 0
[    5.932123] fb_size=7372800
[    5.934857] Back frameBuffer[0].VAddr=00384000 PAddr=b6b84000
size=3686400
[    5.952413] max77802_rtc_read_time: 112/0/1 0:0:3(0)
[    5.956082] max77802-rtc max77802-rtc: setting system clock to
2012-01-01 00:00:03 UTC (1325376003)
[    5.964968] CPUFREQ of CA7  L0 : 1237500 uV
[    5.969115] CPUFREQ of CA7  L1 : 1237500 uV
[    5.973278] CPUFREQ of CA7  L2 : 1175000 uV
[    5.977438] CPUFREQ of CA7  L3 : 1112500 uV
[    5.981571] CPUFREQ of CA7  L4 : 1050000 uV
[    5.985785] CPUFREQ of CA7  L5 : 1000000 uV
[    5.989924] CPUFREQ of CA7  L6 : 950000 uV
[    5.993997] CPUFREQ of CA7  L7 : 950000 uV
[    5.998075] CPUFREQ of CA7  L8 : 950000 uV
[    6.002174] CPUFREQ of CA7  L9 : 950000 uV
[    6.006199] CPUFREQ of CA7  L10 : 950000 uV
[    6.010387] CPUFREQ of CA7  L11 : 950000 uV
[    6.014634] CPUFREQ of CA15 L0 : 1362500 uV
[    6.018717] CPUFREQ of CA15 L1 : 1362500 uV
[    6.022878] CPUFREQ of CA15 L2 : 1237500 uV
[    6.027012] CPUFREQ of CA15 L3 : 1187500 uV
[    6.031246] CPUFREQ of CA15 L4 : 1150000 uV
[    6.035366] CPUFREQ of CA15 L5 : 1125000 uV
[    6.039530] CPUFREQ of CA15 L6 : 1087500 uV
[    6.043690] CPUFREQ of CA15 L7 : 1050000 uV
[    6.047852] CPUFREQ of CA15 L8 : 1012500 uV
[    6.051987] CPUFREQ of CA15 L9 : 987500 uV
[    6.056091] CPUFREQ of CA15 L10 : 950000 uV
[    6.060251] CPUFREQ of CA15 L11 : 912500 uV
[    6.064416] CPUFREQ of CA15 L12 : 900000 uV
[    6.068578] CPUFREQ of CA15 L13 : 900000 uV
[    6.072741] CPUFREQ of CA15 L14 : 900000 uV
[    6.076896] CPUFREQ of CA15 L15 : 900000 uV
[    6.081065] CPUFREQ of CA15 L16 : 900000 uV
[    6.085248] CPUFREQ of CA15 L17 : 900000 uV
[    6.089395] CPUFREQ of CA15 L18 : 900000 uV
[    6.093645] fout_apll[900000000]
[    6.099558] S divider change for DFS of MIF block
[    6.257536] init_volt[987500], freq[800000]
[    6.261071] ALSA device list:
[    6.263216]   #0: Odroid-max98090
[    6.266783] Freeing init memory: 268K
[    6.270154] Write protecting the kernel text section c0008000 - c09e9000
[    6.277228] rodata_test: attempting to write to read-only section:
[    6.283007] write to read-only section trapped, success
[    6.338476] udevd[1301]: starting version 175
modprobe: FATAL: Could not load /lib/modules/3.4.98/modules.dep: No such
file or directory

[    6.822891] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly
filesystem
[    6.828802] EXT4-fs (mmcblk0p2): write access will be enabled during
recovery
[    7.538259] EXT4-fs (mmcblk0p2): recovery complete
[    7.550568] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data
mode. Opts: (null)
major minor  #blocks  name

 179        0    7761920 mmcblk0
 179        1      72704 mmcblk0p1
 179        2    3059712 mmcblk0p2
 179        3    2097152 mmcblk0p3
 179        4    2531328 mmcblk0p4

Welcome to Tizen 2.2.0 (Tizen)!

Starting Replay Read-Ahead Data...

Starting Collect Read-Ahead Data...

[    8.666857] systemd-readahead-replay[1460]: Bumped block_nr parameter of
179:0 to 16384. This is a temporary hack and should be removed one day.
Starting Runtime Directory...

Starting Media Directory...

Starting Debug File System...

Started POSIX Message Queue File System                                [
 OK  ]
Started Security File System                                           [
 OK  ]
Started Huge Pages File System                                         [
 OK  ]
Starting Generate environment from /etc/profile.d...

Starting udev Coldplug all Devices...

Starting Smack filesystem mounting...

Starting udev Kernel Device Manager...

Starting Journal Service...

Started Journal Service                                                [
 OK  ]
Started Replay Read-Ahead Data                                         [
 OK  ]
Started Collect Read-Ahead Data                                        [
 OK  ]
[    8.919889] udevd[1471]: starting version 182
Started udev Kernel Device Manager                                     [
 OK  ]
Started Runtime Directory                                              [
 OK  ]
Started Media Directory                                                [
 OK  ]
Started Debug File System                                              [
 OK  ]
Started Smack filesystem mounting                                      [
 OK  ]
Started Generate environment from /etc/profile.d                       [
 OK  ]
Starting Remount API VFS...

Starting File System Check on Root Device...

Starting Apply Kernel Variables...

Started Load Kernel Modules                                            [
 OK  ]
Started Configuration File System                                      [
 OK  ]
Starting FUSE Control File System...

Started Set Up Additional Binary Formats                               [
 OK  ]
Started FUSE Control File System                                       [
 OK  ]
systemd-fsck[1499]: rootfs: Superblock last mount time (Sun Jan  1 00:00:07
2012,
systemd-fsck[1499]: now = Sun Jan  1 00:00:06 2012) is in the future.
systemd-fsck[1499]: FIXED.
systemd-fsck[1499]: rootfs: clean, 32906/382976 files, 854789/3059712 blocks
Started udev Coldplug all Devices                                      [
 OK  ]
Started Remount API VFS                                                [
 OK  ]
Started File System Check on Root Device                               [
 OK  ]
Started Apply Kernel Variables                                         [
 OK  ]
Starting Remount Root FS...

[    9.477171] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Started Remount Root FS                                                [
 OK  ]
Starting File System Check on /dev/mmcblk0p3...

Starting File System Check on /dev/mmcblk0p1...

systemd-fsck[1646]: fsck.ext4: Bad magic number in super-block while trying
to open /dev/mmcblk0p1
systemd-fsck[1646]: /dev/mmcblk0p1:
systemd-fsck[1646]: The superblock could not be read or does not describe a
correct ext2
systemd-fsck[1646]: filesystem.  If the device is valid and it really
contains an ext2
systemd-fsck[1646]: filesystem (and not swap or ufs or something else),
then the superblock
systemd-fsck[1646]: is corrupt, and you might try running e2fsck with an
alternate superblock:
systemd-fsck[1646]: e2fsck -b 8193 <device>
systemd-fsck[1644]: data: recovering journal
Started File System Check on /dev/mmcblk0p1                            [
 OK  ]
Starting Resize of File System on /dev/mmcblk0p1...

resize2fs[1651]: resize2fs 1.41.9 (22-Aug-2009)
resize2fs[1651]: /sbin/resize2fs: Bad magic number in super-block while
trying to open /dev/mmcblk0p1
resize2fs[1651]: Couldn't find valid filesystem superblock.
Failed to start Resize of File System on /dev/mmcblk0p1
 [FAILED]
See 'systemctl status resize2fs at dev-mmcblk0p1.service' for details.

Starting /boot...

Started /boot                                                          [
 OK  ]
systemd-fsck[1644]: data: Superblock last mount time (Sun Jan  1 00:00:09
2012,
systemd-fsck[1644]: now = Sun Jan  1 00:00:08 2012) is in the future.
systemd-fsck[1644]: FIXED.
systemd-fsck[1644]: data: clean, 2420/131072 files, 32034/524288 blocks
Started File System Check on /dev/mmcblk0p3                            [
 OK  ]
Starting Resize of File System on /dev/mmcblk0p3...

resize2fs[1658]: resize2fs 1.41.9 (22-Aug-2009)
resize2fs[1658]: The filesystem is already 524288 blocks long.  Nothing to
do!
Started Resize of File System on /dev/mmcblk0p3                        [
 OK  ]
Starting /opt...

[   11.186846] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data
mode. Opts: (null)
Started /opt                                                           [
 OK  ]
Starting /var...

Started /var                                                           [
 OK  ]
Starting Runtime Directory...

Started Runtime Directory                                              [
 OK  ]
Starting Load Random Seed...

Starting Recreate Volatile Files and Directories...

Starting Smack...

Starting Initialize the VConf storage...

Started Load Random Seed                                               [
 OK  ]
Started Recreate Volatile Files and Directories                        [
 OK  ]
Failed to start Smack
 [FAILED]
See 'systemctl status smack.service' for details.

Dependency failed. Aborted start of Default SMACK labeling             [
ABORT]
Dependency failed. Aborted start of Default SMACK labeling             [
ABORT]
Started Initialize the VConf storage                                   [
 OK  ]
Starting Graphical Mode...

Started Charging Mode                                                  [
 OK  ]
[   12.406749] touch_input_open
[   12.622477] max77802_rtc_read_time: 112/0/1 0:0:10(0)
[   12.626136] max77802_rtc_set_time: 112/0/1 0:0:10(0)
[   12.637258] max77802_rtc_set_time: task=alarm-server[1705]
[   12.647468] max77802_rtc_read_time: 112/0/1 0:0:10(0)
resize2fs[1786]: resize2fs 1.41.9 (22-Aug-2009)
resize2fsresize2fs[1787]: resize2fs 1.41.9 (22-Aug-2009)
resize2fs[1787]: /sbin/resize2fs: Bad magic number in super-block while
trying to open /dev/mmcblk0p1
resize2fs[1787]: Couldn't find valid filesystem superblock.
[   13.252370] max77802_rtc_read_time: 112/0/1 0:0:10(0)


************************************************************
*                      TIZEN PLATFORM                      *
************************************************************

localhost login: root
-sh-4.1# systemctl status resize2fs at dev-mmcblk0p1
Failed to issue method call: Unit name resize2fs at dev-mmcblk0p1 is not valid.
-sh-4.1# systemctl status resize2fs at dev-mmcblk0p1.service
resize2fs at dev-mmcblk0p1.service - Resize of File System on /dev/mmcblk0p1
  Loaded: loaded (/usr/lib/systemd/system/resize2fs at .service; static)
  Active: failed (Result: exit-code) since Sun, 01 Jan 2012 09:00:10 +0900;
6min ago
 Process: 1787 ExecStart=/sbin/resize2fs %f (code=exited, status=1/FAILURE)
  CGroup: name=systemd:/system/resize2fs at .service/dev-mmcblk0p1

-sh-4.1# systemctl status smack.service
smack.service - Smack
  Loaded: loaded (/usr/lib/systemd/system/smack.service; disabled)
  Active: failed (Result: exit-code) since Sun, 01 Jan 2012 09:00:10 +0900;
7min ago
 Process: 1721 ExecStart=/usr/bin/smackctl apply (code=exited,
status=1/FAILURE)
  CGroup: name=systemd:/system/smack.service

-sh-4.1#
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I think that failure on resize2fs is natural because mmcblk0p1 is fat16
filesystem.
So now I am trying to enable 'smackctl apply' command.

This is what I have done.
If you have any question or comment, please reply this mail.

With best regards,
Hee-cheol, Yang.


2014-08-11 18:26 GMT+09:00 Leon Anavi <leon at anavi.org>:

> Hi,
>
> I am facing the same issue in my open-source project Tizen-sunxi. The
> latest stable version of linux-sunxi kernel (fork of the Linux kernel of
> Sunxi devices, aka devices with Allwinner SoC) is 3.4 and it does not
> support smack features. So the latest Tizen Common image that I built
> couple of weeks ago somehow booted but only in emergency mode.
>
>  1. Disable smack entirely.
>>>
>>
> Disabling smack in Tizen 3 will be a work around and as far as I know it
> is not a easy task. For sure it is not a very good idea to do it.
>
>
>  2. Configure smack by porting and applying some patches on top of
>>> your kernel.
>>>
>>
> In my opinion this is a much better solution. In my case with Tizen-sunxi
> I have to build a stable version of a newer kernel with enabled smack
> configurations.
>
> Which version of the Linux kernel are you using and could you please
> provide some details regarding the hardware of your board?
>
> Thanks,
> Leon
>
>
> On 2014-08-11 11:48, Hee Cheol Yang wrote:
>
>> OK. I understand your intention.
>>  Thanks for your help very much. I will try them.
>>
>> With best regards,
>>  Heecheol, Yang.
>> 2014. 8. 11. 오후 5:43에 "Vitaly Chernooky"
>> <vitalii.chernookyi at globallogic.com>님이 작성:
>>
>>  On Mon, Aug 11, 2014 at 11:34 AM, Hee Cheol Yang
>>> <hcyang1012 at gmail.com> wrote:
>>>
>>>  Hi. First of all, thanks for your comment.
>>>> Of course, I will do all things by myself including solving my
>>>> current problem.
>>>> I have been searching information about my problem and I just
>>>> found some articles that lists some configuration files I have to
>>>> check. I will test it soon.
>>>> But your reply mail seems that I don't have to use the kernel
>>>> with SMACK; SMACK is optional in Tizen and find regarding
>>>> information(Tizen without SMACK) through mailing list. As far I
>>>> know, SMACK is the fundamental of the Tizen secyruty.  I
>>>> understanding your mail correctly?
>>>>
>>>
>>> Ok. In other words: In steps to get working your system you need to
>>> choose between:
>>>
>>> 1. Disable smack entirely.
>>> 2. Configure smack by porting and applying some patches on top of
>>> your kernel.
>>>
>>> By default smack is enabled but not configured. It is there reason
>>> of your troubles.
>>>
>>> With best regards,
>>>
>>> With best regards.
>>>
>>> 2014. 8. 11. 오후 5:21에 "Vitaly Chernooky"
>>> <vitalii.chernookyi at globallogic.com>님이 작성:
>>>
>>> Hi,
>>>
>>> It is possible than you use kernel without properly enabled smack.
>>> As far I know you need to read tizen mailing lists and to do it
>>> yourself.
>>>
>>> With best regards,
>>>
>>> On Mon, Aug 11, 2014 at 8:31 AM, Hee Cheol Yang
>>> <hcyang1012 at gmail.com> wrote:
>>>
>>> hello
>>> I am porting Tizen on my own board and my current state is in
>>> (maybe) enabling SMACK.
>>> For that, I found that systemd had tried to activiate smack.service
>>> but failed.
>>> Unfortunately when I executed 'systemctl status smack.service'
>>> command to see the log, on emergency shell,  it just said that the
>>> systemd had executed  'smackctl apply' command but failed with exit
>>> code 1. There was no printed additional log message to identify the
>>> reason why.
>>> One thing that I found is that systemd currently succeeded in
>>> mounting smackfs on /smack
>>> Is there any way to see additional log or information about SMACK
>>> to identify and solve my problem?
>>>
>>> Thanks.
>>> _______________________________________________
>>> General mailing list
>>> General at lists.tizen.org
>>> https://lists.tizen.org/listinfo/general [1]
>>>
>>> --
>>>
>>> VITALY CHERNOOKY | SENIOR DEVELOPER - PRODUCT ENGINEERING AND
>>> DEVELOPMENT
>>> GlobalLogic
>>> P +380.44.4929695 ext.1136 [2] M +380.98.7920568 [3] S cvv_2k
>>> www.globallogic.com [4]
>>>
>>> http://www.globallogic.com/email_disclaimer.txt [5]
>>>
>>
>> --
>>
>> VITALY CHERNOOKY | SENIOR DEVELOPER - PRODUCT ENGINEERING AND
>> DEVELOPMENT
>>
>> GlobalLogic
>>  P +380.44.4929695 ext.1136 M +380.98.7920568 S cvv_2k
>> www.globallogic.com [4]
>>
>> http://www.globallogic.com/email_disclaimer.txt [5]
>>
>> Links:
>> ------
>> [1] https://lists.tizen.org/listinfo/general
>> [2] tel:%2B380.44.4929695%20ext.1136
>> [3] tel:%2B380.98.7920568
>> [4] http://www.globallogic.com
>> [5] http://www.globallogic.com/email_disclaimer.txt
>>
>>
>> _______________________________________________
>> General mailing list
>> General at lists.tizen.org
>> https://lists.tizen.org/listinfo/general
>>
>
> --
> http://anavi.org/
>



-- 
양희철
SSLAB, POSTECH
H.P    010-2572-9214
Mail   hcyang1012 at gmail.com
Blog   http://stdio.tistory.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/general/attachments/20140812/a171aea4/attachment-0001.html>


More information about the General mailing list