'Debug'? colored screen on start, no boot [Solved]


10 posts
by Spider.007 » Mon Jun 04, 2012 7:08 pm
I was upgrading my Archlinux system on RPi, while watching a movie, while running atop to monitor progress. At the last package (xorg-server), the RPi hang. After rebooting it, I get some sort of debug-screen on my monitor, but the RPi doesn't boot any further. Obviously I can re-install the sd-card, but is this fixable? During the upgrade I also updated to the latest firmware, and the reboot might have caused some corruption, but I didn't find any topics about anyone experiencing this specific problem...

cmdline.txt:
Code: Select all
dwc_otg.dma_enable=1 dwc_otg.dma_burst_size=256 dwc_otg.lpm_enable=0 dwc_otg.dma_enable=1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 loglevel=2 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait


config.txt:
Code: Select all
hdmi_mode=16
arm_freq=900
disable_overscan=1


A quick photo to illustrate the problem:
Image
Posts: 34
Joined: Sat May 19, 2012 11:24 am
by dom » Tue Jun 05, 2012 9:31 am
That test pattern is displayed by start.elf before it loads the kernel.
If it remains on screen for longer than a second it suggests the kernel.img is not found or is bad.
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3994
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by Spider.007 » Wed Jun 06, 2012 10:55 am
Yep, you are absolutely correct! The kernel.img is indeed corrupt, I will replace it with an old version, so I can boot again, and upgrade to the latest img

Thanks!
Posts: 34
Joined: Sat May 19, 2012 11:24 am
by ianjcraven » Wed Jun 06, 2012 11:59 am
You've overclocked the frequency of your Pi to 900mhz if I read your config.txt correctly.

I'm surprised it boots at all :)
Posts: 16
Joined: Mon May 14, 2012 8:19 am
by Spider.007 » Wed Jun 06, 2012 4:03 pm
ianjcraven wrote:You've overclocked the frequency of your Pi to 900mhz if I read your config.txt correctly.

I'm surprised it boots at all :)

You shouldn't, it works fine!
Posts: 34
Joined: Sat May 19, 2012 11:24 am
by dom » Wed Jun 06, 2012 4:38 pm
@Spider.007
I added your photo to:
http://elinux.org/R-Pi_Troubleshooting# ... ash_screen
Hope you don't mind!
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 3994
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by Spider.007 » Wed Jun 06, 2012 8:19 pm
I don't mind, I was thinking of asking for it since it might help other people being in a FAQ!
Posts: 34
Joined: Sat May 19, 2012 11:24 am
by ethzero » Wed Jun 06, 2012 11:05 pm
Hmm. That's very interesting mentioning about the "kernel.img" being "bad".

I've got exactly the same problem and behaviour when setting up a clean ArchLinux the other day:
a) Burnt initial image to SD card, works fine, rebooted
b) resized partition, rebooted fine, expanded filesystem, rebooted fine.
c) Did a "pacman -Syu" to bring base OS up to date (along with linux-raspberry images & firmware), rebooted ***hung at "rainbow" screen***

On my other SD card updating it up to 3.??.17 it was fine.

Wondering if this isn't a problem with ArchLinux or indeed further upstream with the RPi kernel itself affecting any OS you on it?

Many others appear to be getting similar sounding issues:
viewtopic.php?f=28&t=7601
viewtopic.php?f=28&t=7359
From age 8: Atari 800 XL > Spectrum ZX81 > Amiga 500+ > ESCOM 486+OS/2 warp (!), Few Dell Towers and Laptops (1 Alienware)

Currently in use: Dell XPS 630 > 2G iPod touch > 1G iPad 3G > 15" MacBook Pro > Raspberry Pi, Model-B :)
User avatar
Posts: 6
Joined: Fri May 18, 2012 1:18 pm
by Spider.007 » Thu Jun 07, 2012 8:15 am
well, actually my kernel.img was just gone, so I had to find another one (the _debug version worked, but somehow didn't give me a working console long enough to fix the problem).
Posts: 34
Joined: Sat May 19, 2012 11:24 am
by ethzero » Sun Jun 10, 2012 10:50 am
As suspected, all issues went away with 3.1.9-19 kernel and associated updates
From age 8: Atari 800 XL > Spectrum ZX81 > Amiga 500+ > ESCOM 486+OS/2 warp (!), Few Dell Towers and Laptops (1 Alienware)

Currently in use: Dell XPS 630 > 2G iPod touch > 1G iPad 3G > 15" MacBook Pro > Raspberry Pi, Model-B :)
User avatar
Posts: 6
Joined: Fri May 18, 2012 1:18 pm