[yocto] error caused with yocto update

蔡振军 caizhenjun at insigma.com.cn
Sun Nov 20 23:56:28 PST 2011

Hi all,
         I have made a yocto layer for my board several months ago. The images built from this layer always worked well and I hadn’t updated my yocto copy for a long time. Last week I updated yocto , rebuilt images and flashed them into board. Unexpected error appeared at kernel booting, log as follows:
mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:07 UTC (7)
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs0"
UBIFS: file system size:   32505856 bytes (31744 KiB, 31 MiB, 256 LEBs)
UBIFS: journal size:       1650688 bytes (1612 KiB, 1 MiB, 13 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  1535331 bytes (1499 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:14.
Freeing init memory: 148K
INIT: version 2.88 booting
Starting udevudev[1098]: starting version 164

Starting Bootlog daemon: Unable to handle kernel paging request at virtual address fffffff0
pgd = c0004000
[fffffff0] *pgd=40623031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] PREEMPT
last sysfs file: /sys/devices/virtual/net/lo/uevent
Modules linked in:
CPU: 0    Not tainted  ( #1)
PC is at ubi_leb_read+0x10/0x134
LR is at ubiblock_readsect+0xb8/0xe0
pc : [<c025bce4>]    lr : [<c0262a1c>]    psr: 60000013
sp : c7693f18  ip : c7693f50  fp : c7693f4c
r10: 0001f000  r9 : 00000000  r8 : 00000200
r7 : 00000400  r6 : c72f1400  r5 : 00000200  r4 : c7611600
r3 : 00000400  r2 : c72f1400  r1 : 00000000  r0 : fffffff0
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005317f  Table: 46ebc000  DAC: 00000017
Process ubiblk1 (pid: 973, stack limit = 0xc7692270)
Stack: (0xc7693f18 to 0xc7694000)
3f00:                                                       c7693f44 c7611600
3f20: c7692000 c72f1400 c7693f4c c7611600 00000200 c72f1400 00000400 00000200
3f40: c7693f84 c7693f50 c0262a1c c025bce4 00000200 00000000 00000000 c76840d0
3f60: c7692000 c04c63d8 00000000 c72f1400 00000002 c7611660 c7693fc4 c7693f88
3f80: c02499d4 c0262974 c75ec520 c7611670 00000002 00000000 c0382cf4 c7c27df0
3fa0: c02497e4 c7611660 00000013 00000000 00000000 00000000 c7693ff4 c7693fc8
3fc0: c005f8f0 c02497f4 00000000 00000000 c7693fd0 c7693fd0 00000000 c7c27df0
3fe0: c005f868 c004baf4 00000000 c7693ff8 c004baf4 c005f878 28500001 08880521
[<c025bcd4>] (ubi_leb_read+0x0/0x134) from [<c0262a1c>] (ubiblock_readsect+0xb8/0xe0)
r8:00000200 r7:00000400 r6:c72f1400 r5:00000200 r4:c7611600
[<c0262964>] (ubiblock_readsect+0x0/0xe0) from [<c02499d4>] (mtd_blktrans_thread+0x1f0/0x30c)
[<c02497e4>] (mtd_blktrans_thread+0x0/0x30c) from [<c005f8f0>] (kthread+0x88/0x90)
[<c005f868>] (kthread+0x0/0x90) from [<c004baf4>] (do_exit+0x0/0x6b8)
r6:c004baf4 r5:c005f868 r4:c7c27df0
Code: e1a0c00d e92dd9f0 e24cb004 e24dd014 (e5904000)
---[ end trace 93513160751d429b ]---
eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1)

IMX28 (Built by Poky 5.0) 1.0+snapshot-20111118 mx28evk ttyAM0

mx28evk login:
         The new version of yocto is [cid:image001.png at 01CCA855.C73AAE60]
         The old one is [cid:image002.png at 01CCA856.27346220]
         After entering shell, filesystem can’t be written and system halt at execution of command “sync”.
         My board is based on freescale imx28. The kernel version is 2.6.35 with freescale patches. Filesystem type is ubifs.
         The exception is caused by rootfs. Because when roofs built from the old version or ltib is downloaded into board, system run well. I guess the new version made some change incompatible with 2.6.35 kernel. But I couldn’t get true.
         Is there anyone know what happen ?


电话-138 6745 1910

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20111121/0c773ebc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 24503 bytes
Desc: image001.png
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20111121/0c773ebc/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 23210 bytes
Desc: image002.png
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20111121/0c773ebc/attachment-0001.png>

More information about the yocto mailing list