kernel panic loading firmware from SD-card

68 views
Skip to first unread message

Dennis Kerrisk

unread,
May 19, 2015, 11:00:48 AM5/19/15
to beagl...@googlegroups.com
I am getting a kernel panic when I try to load firmware from an SD-card. I have tried several different images. Any suggestions what else I can try?
Here is the console output:
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
[  120.521745] INFO: task mmcqd/0:71 blocked for more than 60 seconds.
[  120.530919] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  120.541666] mmcqd/0         D c04d04a5     0    71      2 0x00000000
[  120.550934] Kernel panic - not syncing: hung_task: blocked tasks
[  120.559813] [<c00114f1>] (unwind_backtrace+0x1/0x9c) from [<c04cb2fd>] (panic+0x59/0x15c)
[  120.571000] [<c04cb2fd>] (panic+0x59/0x15c) from [<c0073955>] (watchdog+0x19d/0x1c0)
[  120.581792] [<c0073955>] (watchdog+0x19d/0x1c0) from [<c00454eb>] (kthread+0x6b/0x78)
[  120.592698] [<c00454eb>] (kthread+0x6b/0x78) from [<c000c8fd>] (ret_from_fork+0x11/0x34)
[  120.603876] drm_kms_helper: panic occurred, switching back to text console

Robert Nelson

unread,
May 19, 2015, 11:03:05 AM5/19/15
to Beagle Board
This is an issue with 3.8.x..

Try "any" other manufacture's microSD card and a good known 5volt dc
power supply.

Later kernels (such as 3.14.x) handle this much better..

Regards,

--
Robert Nelson
https://rcn-ee.com/

Dennis Kerrisk

unread,
May 19, 2015, 11:32:27 AM5/19/15
to beagl...@googlegroups.com
I have tried both Kingston and sandisk SD-cards. And i Am using a 1 amp 5 volt wall wart.

Dennis

evilwulfie

unread,
May 19, 2015, 11:35:01 AM5/19/15
to beagl...@googlegroups.com
i had this issue and used
3.14.x


with no issues since


On 5/19/2015 8:32 AM, Dennis Kerrisk wrote:
I have tried both Kingston and sandisk SD-cards. And i Am using a 1 amp 5 volt wall wart.

Dennis
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dennis Kerrisk

unread,
May 19, 2015, 11:40:28 AM5/19/15
to beagl...@googlegroups.com
The problem I can't load any code at all onto it.  So how di I get 3.14.x onto it>

William Hermans

unread,
May 19, 2015, 11:43:16 AM5/19/15
to beagl...@googlegroups.com
@Dennis

I think we should start over. Tell us the exact details, starting from where you began. Which image, how you got it to which flash media, board version. etc.

On Tue, May 19, 2015 at 8:40 AM, Dennis Kerrisk <denni...@gmail.com> wrote:
The problem I can't load any code at all onto it.  So how di I get 3.14.x onto it>

Dennis Kerrisk

unread,
May 19, 2015, 11:55:51 AM5/19/15
to beagl...@googlegroups.com
I have tried the latest debian and a special audio image from computer audio. I load the images onto an SD-card. I insert my sd-card into my neagle board. I then hold down S2 while powering up my board. It starts to boot and and then it panics.



Dennis Kerrisk

unread,
May 19, 2015, 12:03:50 PM5/19/15
to beagl...@googlegroups.com
This is on the console:

Starting eMMC Flasher
-----------------------------
Checking for Valid BBB EEPROM header
Valid BBB EEPROM header found
-----------------------------
copying: [/dev/mmcblk0] -> [/dev/mmcblk1]
lsblk:
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
mmcblk1boot0 179:16   0     2M  1 disk
mmcblk1boot1 179:24   0     2M  1 disk
mmcblk0      179:0    0  14.6G  0 disk
|-mmcblk0p1  179:1    0    96M  0 part /boot/uboot
`-mmcblk0p2  179:2    0   3.6G  0 part /
mmcblk1      179:8    0   3.6G  0 disk
|-mmcblk1p1  179:9    0    96M  0 part
`-mmcblk1p2  179:10   0   3.5G  0 part
-----------------------------
df -h | grep rootfs:
rootfs                                                  3.5G  2.0G  1.4G  60% /
-----------------------------
Erasing: /dev/mmcblk1
[  120.520785] INFO: task mmcqd/0:71 blocked for more than 60 seconds.
[  120.527355] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  120.535527] mmcqd/0         D c04d04a5     0    71      2 0x00000000
[  120.542195] Kernel panic - not syncing: hung_task: blocked tasks
[  120.548484] [<c00114f1>] (unwind_backtrace+0x1/0x9c) from [<c04cb2fd>] (panic+0x59/0x15c)
[  120.557012] [<c04cb2fd>] (panic+0x59/0x15c) from [<c0073955>] (watchdog+0x19d/0x1c0)
[  120.565103] [<c0073955>] (watchdog+0x19d/0x1c0) from [<c00454eb>] (kthread+0x6b/0x78)
[  120.573273] [<c00454eb>] (kthread+0x6b/0x78) from [<c000c8fd>] (ret_from_fork+0x11/0x34)
[  120.581714] drm_kms_helper: panic occurred, switching back to text console


Robert Nelson

unread,
May 19, 2015, 12:08:06 PM5/19/15
to Beagle Board
Just use one of the jessie images here:

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2015-05-17

which default to 3.14.x, then if you need 3.8.x just downgrade thru apt-get:

sudo apt-get update
sudo apt-get install linux-image-3.8.13-bone71
sudo reboot

Dennis Kerrisk

unread,
May 19, 2015, 12:12:17 PM5/19/15
to beagl...@googlegroups.com
That is one of the images I have tried to load. It panics when I try to load any image.


evilwulfie

unread,
May 19, 2015, 12:16:56 PM5/19/15
to beagl...@googlegroups.com
from that you are trying to flash the Emmc not boot off of the SD card
so you are using the flasher image
if you desire to just boot off the SD card try a non flasher image
https://rcn-ee.com/rootfs/bb.org/testing/2015-05-17/lxqt-4gb/bb-debian-8.0-lxqt-4gb-armhf-2015-05-17-4gb.img.xz
load to SD card and it should boot

evilwulfie

unread,
May 19, 2015, 12:19:10 PM5/19/15
to beagl...@googlegroups.com

William Hermans

unread,
May 19, 2015, 12:29:37 PM5/19/15
to beagl...@googlegroups.com
@Dennis

Have you tried just using a standalone image on an sdcard to see if that works. Based on your console output above you're trying to flash the eMMC. Your board also seems to be a RevC



--

Dennis Kerrisk

unread,
May 19, 2015, 12:30:00 PM5/19/15
to beagl...@googlegroups.com
I'll try it next and see where is gets me. Thanks.

Dennis

William Hermans

unread,
May 19, 2015, 12:32:27 PM5/19/15
to beagl...@googlegroups.com
@Robert

Does your latest flasher image still use a two partition layout ? He's showing two partitions on both mmc devices . . .

On Tue, May 19, 2015 at 9:29 AM, Dennis Kerrisk <denni...@gmail.com> wrote:
I'll try it next and see where is gets me. Thanks.

Dennis

Dennis Kerrisk

unread,
May 19, 2015, 12:39:14 PM5/19/15
to beagl...@googlegroups.com
Yes it does. This is the one from computer-audio

evilwulfie

unread,
May 19, 2015, 1:02:14 PM5/19/15
to beagl...@googlegroups.com
when replying to these mails please don't erase all the previous reply's
makes it very hard to follow



On 5/19/2015 9:39 AM, Dennis Kerrisk wrote:
Yes it does. This is the one from computer-audio

William Hermans

unread,
May 19, 2015, 1:13:17 PM5/19/15
to beagl...@googlegroups.com
Yes it does. This is the one from computer-audio

This image you're trying to use from computer-audio, whoever that is. You should be contacting them, asking for help.

Here, we know the official images, and try to support them the best we can. In my case, I'm not involved with building the actual official images for beagleboard.org. But I do build my own images, and have a couple years experience with my own, and the official images. In short, I know many things, and try to help.

However, without being involved in the process of building these other images. There is no way we can tell what they've done, and by extension what is wrong with those images. It may be possible if you provided us with very detailed information we ight be able to help. But I've yet to see this . . .

Dennis Kerrisk

unread,
May 19, 2015, 4:56:24 PM5/19/15
to beagl...@googlegroups.com
It is not an image issue. It load fine on another board. I guess this board is broken

Reply all
Reply to author
Forward
0 new messages