linux-linaro 3.7 build doesn't boot on Snowball

Bug #1081904 reported by Fathi Boudra
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IglooCommunity
Fix Released
High
Lee Jones
Linaro Linux
Fix Released
High
Andrey Konovalov
Linaro Linux Baseline
Fix Released
High
Andrey Konovalov
Linaro Ubuntu
Fix Released
High
Fathi Boudra
Fathi Boudra (fboudra)
Changed in linux-linaro:
status: New → Triaged
Fathi Boudra (fboudra)
Changed in linux-linaro:
milestone: none → 12.12
Fathi Boudra (fboudra)
Changed in linaro-linux-baseline:
milestone: none → 12.12
status: New → Triaged
Revision history for this message
Fathi Boudra (fboudra) wrote :
Changed in linaro-linux-baseline:
importance: Undecided → High
Changed in linux-linaro:
importance: Undecided → High
Revision history for this message
Fathi Boudra (fboudra) wrote :

I removed earlyprintk as suggested by Lee: https://pastebin.linaro.org/1188/
it goes further but still hang later on.

Rajanikanth suggested to use DT. That's my next attempt.

Changed in linaro-linux-baseline:
assignee: nobody → Fathi Boudra (fboudra)
Revision history for this message
Fathi Boudra (fboudra) wrote :

log with DT: https://pastebin.linaro.org/1201/

[ 0.000000] Machine: ST-Ericsson U8500 platform (Device Tree Support), model: Calao Systems Snowball platform with device tree

still hangs at

[ 2.456390] md: ... autorun DONE.

even if I reduce smsc911x timeout to 10 (instead of 1000).

Revision history for this message
Lee Jones (lag) wrote :

You're tracking two different things here.

The first log is pertaining to the fact that you have earlyprintk enabled. The second is an Ethernet issue which Raj is currently working on.

Revision history for this message
Anmar Oueja (anmar) wrote :

Lee: Is the ethernet issue captured in a separate bug? if so, can you add the link here please.

Revision history for this message
Fathi Boudra (fboudra) wrote :
Changed in linaro-linux-baseline:
assignee: Fathi Boudra (fboudra) → nobody
Changed in linaro-ubuntu:
assignee: nobody → Fathi Boudra (fboudra)
status: New → Fix Committed
importance: Undecided → High
milestone: none → 12.12
Fathi Boudra (fboudra)
Changed in linux-linaro:
assignee: nobody → Andrey Konovalov (andrey-konovalov)
Changed in linaro-linux-baseline:
assignee: nobody → Andrey Konovalov (andrey-konovalov)
Changed in igloocommunity:
assignee: nobody → Lee Jones (lag)
Revision history for this message
Botao (botao-sun) wrote :

It still boots failed on build 9:

http://snapshots.linaro.org/quantal/pre-built/snowball/9/snowball-quantal_developer_20121209-9.img.gz

Please refer to attachment to get detailed boot log.

Revision history for this message
Anmar Oueja (anmar) wrote :

Lee Jones will review and fix for the 12.12 freeze date (Dec 13th)

Revision history for this message
Andrey Konovalov (andrey-konovalov) wrote :

Couple logs for the current linux-linaro tree.
Using config fragments:
http://validation.linaro.org/lava-server/scheduler/job/41601/log_file
Using u8500_defconfig:
http://validation.linaro.org/lava-server/scheduler/job/41611/log_file

Basically the same failure (below are the 41601/log_file snippets):
[ 1.367889] EN-3V3: Failed to request enable GPIO337: -517
[ 1.374542] reg-fixed-voltage reg-fixed-voltage.1: Failed to register regulator: -517
[ 1.382385] platform reg-fixed-voltage.1: Driver reg-fixed-voltage requests probe deferral
...
[ 1.880035] smsc911x: Driver version 2008-10-21
[ 1.884704] smsc911x smsc911x.0: Failed to get supply 'vdd33a': -517
[ 1.891143] smsc911x smsc911x.0 (unregistered net_device): couldn't get regulators -517
[ 1.899993] platform smsc911x.0: Driver smsc911x requests probe deferral
...
etc. No networking in the end. And the root cause seems to be "EN-3V3: Failed to request enable GPIO337"

This is different from the log in Comment #3 : v3.7-rc5 kernel, smsc911x.0 probed ok.

(both Comment #8 and Comment #3 boot attempts seem to have problems with recognizing the mmcblk0 partitions though)

Will continue the experiments tomorrow.

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

I've got similar results on my test yesterday:
- linux-linaro 3.7-rc8 + u8500_defconfig, hang
- mainline + u8500_defconfig, hang

Lee has reported successful boot with mainline and u8500_defconfig. I'm not able to reproduce.

wrt mmcblk0 partitions recognition, note that u8500_defconfig doesn't enable ext4 and l-i-t produce ext4 image by default.

Revision history for this message
Rajanikanth H V (rajanikanth-hv) wrote :

Andrey
build and the image with FDT support, the log you have posted is expected when booted without DT support

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

With Lee's help, I've managed to boot with linux-linaro 3.7.
The issue is related to an incorrect kernel config.
It works out of the box once the kernel config is correct (that's the only change made).

Note: DT isn't used, ethernet is broken but that's a separate issue.

Changed in igloocommunity:
milestone: none → 2012.12
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Anmar Oueja (anmar) wrote :

Thanks for all the work. This is great news.

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

Latest test results:
* u8500_defconfig + ubuntu-minimal config fragment allows to boot
* u8500_defconfig + linaro-base config fragment hangs
* the timeout observed before getting the prompt is caused by dhcpd not found as network interface is missing

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

"u8500_defconfig + linaro-base config fragment hangs"
in fact, it doesn't hangs. It boots after ~10min ...

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

u8500_defconfig + linaro-base config fragment + ubuntu-minimal config fragment + CONFIG_LBDAF fixed the boot issue (~18s).
Attached the config file.

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

Attached a patch to apply to u8500.conf

Revision history for this message
Fathi Boudra (fboudra) wrote :
Changed in igloocommunity:
status: Fix Committed → Fix Released
Changed in linaro-ubuntu:
status: Fix Committed → Fix Released
Changed in linux-linaro:
status: Triaged → Fix Committed
Changed in linaro-linux-baseline:
status: Triaged → Fix Committed
Revision history for this message
Botao (botao-sun) wrote :
Fathi Boudra (fboudra)
Changed in linux-linaro:
status: Fix Committed → Fix Released
Changed in linaro-linux-baseline:
status: Fix Committed → Fix Released
Revision history for this message
Botao (botao-sun) wrote :

@Fathi, Is it "Fix Released"? The board still boot failed with build 41:

http://snapshots.linaro.org/quantal/pre-built/snowball/41/snowball-quantal_developer_20130107-41.img.gz

Please refer to attachment to get boot log.

Revision history for this message
Botao (botao-sun) wrote :

@Fathi, I tried more times but got different result. The second time boot seems succeeded, although no display on my monitor, but the command line prompt shows in console. After that, around 1 minute, the board is freezing, the console is no response to the keyboard event. Please refer to attachment to get boot log - "Snowball_Freezing_During_Boot_On_Linux_Linaro_Build_41.txt"

Then I tried to boot it again, but I got a different error with the first boot, the board couldn't enter the console command line prompt, Please refer to attachment to get boot log - "Snowball_Boot_Failed_Again_Linux_Linaro_Build_41.txt".

In any of above condition, there is no display on my monitor.

Revision history for this message
Botao (botao-sun) wrote :

Attachment for comment #21.

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

Hi Botao,

the boot issue is fix-released (even if it's unreliable). The hdmi display output could be another issue. Please, report as a separate issue. We still need to enable DT and get the ethernet fix in (reported in a separate bug).
If you want, we can chat about snowball current status but it's out of the scope of the bug report :)

Revision history for this message
Anmar Oueja (anmar) wrote :

Guys, we won't provide HDMI support against the upstream kernel. The effort was attempted previously and proved to be very large and unsustainable. At the moment, the expected enablement from mainline is USB, Ethernet, and UART

Revision history for this message
Botao (botao-sun) wrote :

@Fathi, Anmar, Snowball board just booted failed again on build 44:

http://snapshots.linaro.org/quantal/pre-built/snowball/44/snowball-quantal_developer_20130114-44.img.gz

Kernel panic shows in serial console after I press "Enter" key. If I don't click "Enter" key, the serial console would freeze at:

[ 4.882385] mmc1: error -110 whilst initialising SD card

For full boot log, please refer to attachment.

Revision history for this message
Botao (botao-sun) wrote :

Now on Snowball board with Linux Linaro image:

http://snapshots.linaro.org/quantal/pre-built/snowball/51/snowball-quantal_developer_20130121-51.img.gz

The board can boot into system with serial console.

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.