Kernel/bootwrapper are broken preventing OE images to boot

Bug #1099405 reported by Soumya Basak
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Linux Baseline
Fix Released
Critical
Tixy (Jon Medhurst)
Linaro OpenEmbedded
Fix Released
Critical
Unassigned

Bug Description

openembedded all those images fail to boot-test for our weekly test,
http://snapshots.linaro.org/openembedded/pre-built/vexpress64/202
http://snapshots.linaro.org/openembedded/pre-built/vexpress64/200
http://snapshots.linaro.org/openembedded/pre-built/vexpress64/198
http://snapshots.linaro.org/openembedded/pre-built/vexpress64/196
http://snapshots.linaro.org/openembedded/pre-built/vexpress64/195

the last boot test *success* build was:

http://snapshots.linaro.org/openembedded/pre-built/vexpress64/152

Build #152 is using:

    Kernel:
    Repo: git://git.linaro.org/kernel/linux-linaro-tracking.git:
    Branch: linux-linaro:
    Head:
        commit f784790a025d6934157814f34c82dd5ba74f8d4a

    Boot Wrapper:
    Repo: git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/boot-wrapper-aarch64.git:
    Branch: master:
    Head:
        commit 26b62f586020fd998c6efd43db657eaafeec14da

Changed in linaro-oe:
assignee: nobody → Soumya Basak (soumya-basak)
assignee: Soumya Basak (soumya-basak) → nobody
Marcin Juszkiewicz (hrw)
Changed in linaro-oe:
status: New → Incomplete
status: Incomplete → Confirmed
assignee: nobody → Marcin Juszkiewicz (hrw)
importance: Undecided → Critical
Marcin Juszkiewicz (hrw)
Changed in linaro-oe:
milestone: none → 13.01
Revision history for this message
Soumya Basak (soumya-basak) wrote :

also same boot test failure with the builds:

 http://snapshots.linaro.org/openembedded/pre-built/vexpress64/204

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

It is kernel problem - assigning to John.

Changed in linaro-oe:
assignee: Marcin Juszkiewicz (hrw) → John Rigby (jcrigby)
Revision history for this message
John Rigby (jcrigby) wrote :

I need a kernel (repo and branch), kernel config and boot wrapper combination that is known to work by hand which I incorporate that into the ci job.

Fathi Boudra (fboudra)
Changed in linaro-oe:
status: Confirmed → Incomplete
Fathi Boudra (fboudra)
Changed in linaro-linux-baseline:
assignee: nobody → Andrey Konovalov (andrey-konovalov)
Fathi Boudra (fboudra)
description: updated
summary: - [OpenEmbedded boot test failure ]
+ Kernel/bootwrapper are broken preventing OE images to boot
Fathi Boudra (fboudra)
Changed in linaro-linux-baseline:
importance: Undecided → Critical
status: New → Triaged
milestone: none → 13.01
Revision history for this message
Fathi Boudra (fboudra) wrote :

Kernel/Bootwrapper packaging issue have been fixed by John. Re-assign to Marcin. for investigation.

Changed in linaro-oe:
assignee: John Rigby (jcrigby) → Marcin Juszkiewicz (hrw)
status: Incomplete → In Progress
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Latest bootwrapper is fine - works with 3.7 kernel.

commit c51dde817b5ed5b8f741b67ac51bd67bd87b4a2a
Author: Matthew Leach <email address hidden>
Date: Thu Jan 10 10:58:48 2013 +0000

    Update README

    Change the DT files that are required as they have been re-named in
    the kernel.

    Signed-off-by: Matthew Leach <email address hidden>
    Signed-off-by: Catalin Marinas <email address hidden>

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Can we bump bootwrapper to latest from Catalin?

I used same kernel source, same kernel config, same cross toolchain and it fail to boot with initial version of bootwrapper (CI uses it) and boots with latest one.

Revision history for this message
Fathi Boudra (fboudra) wrote :

I've tested both Ryan's tree and Catalin's tree, same result: linux-linaro doesn't boot.
John has copied the vexpress64-3.7cfg to vexpress64.cfg. The only difference is the bootwrapper.
It's trivial to change from one to the other in the CI job, or even build locally.

Revision history for this message
Ryan Harkin (ryanharkin) wrote :

As discussed on IRC, I've updated my tree to make the master branch match Catalin's tree.

The "ubuntu" branch is the first commit of Catalin's tree.

The "android" branch is a clone of Zach's Android boot-wrapper tree

And the "armlt" branch is the one I've used and know to be good. It's basically the same as Zach's.

Revision history for this message
Fathi Boudra (fboudra) wrote :
Changed in linaro-linux-baseline:
assignee: Andrey Konovalov (andrey-konovalov) → Tixy (Jon Medhurst) (tixy)
status: Triaged → Fix Committed
Revision history for this message
Fathi Boudra (fboudra) wrote :

The following build contains the fix:
http://snapshots.linaro.org/openembedded/pre-built/vexpress64/232

However, we don't get shell prompt as confirmed by LAVA.
With the same kernel/bootwrapper but with an older rootfs (build#152), I have the shell.

Considering this bug fixed. I'm opening another one for the above issue.

Changed in linaro-oe:
status: In Progress → Fix Committed
Revision history for this message
Soumya Basak (soumya-basak) wrote :

hi fathi,
tested manually with the image
http://snapshots.linaro.org/openembedded/pre-built/vexpress64/232

din not get the shell prompt , it is conformed.

please subscribed me into the new bug.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

#233 is broken:

INIT: version 2.88 booting
Starting Bootlog daemon: bootlogd.
INIT: Entering runlevel: 5
Stopping Bootlog daemon: bootlogd.
INIT: no more processes left in this runlevel

local build:

INIT: version 2.88 booting
Starting udev
udevd[422]: starting version 182
Starting Bootlog daemon: bootlogd.
Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCSIFADDR: No such device
route: SIOCADDRT: No such device
Starting rpcbind daemon...rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
done.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Wed Jan 23 09:44:00 UTC 2013
hwclock: can't open '/dev/misc/rtc': No such file or directory
INIT: Entering runlevel: 5
Starting OpenBSD Secure Shell server: sshd
  generating ssh RSA key...
  generating ssh ECDSA key...
  generating ssh DSA key...
done.
hwclock: can't open '/dev/misc/rtc': No such file or directory
creating NFS state directory: done
starting 8 nfsd kernel threads: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem
done
starting mountd: done
starting statd: done
Starting syslogd/klogd: done
Starting auto-serial-console: done
Stopping Bootlog daemon:
bootlogd.
INIT: no more processes left in this runlevel
root@genericarmv8:~#

will dig into that.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

OK, I reproduced broken build on my system.

Marcin Juszkiewicz (hrw)
Changed in linaro-oe:
status: Fix Committed → Fix Released
Fathi Boudra (fboudra)
Changed in linaro-linux-baseline:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.