Request: kernel subforum.


9 posts
by rew » Sat Jun 02, 2012 6:33 am
Wouldn't it be nice to have a kernel-development subforum here?

I just got a kernel-oops, and I would like to post it somewhere the kernel developers can see it...
Check out our raspberry pi addons: http://www.bitwizard.nl/catalog/
User avatar
Posts: 396
Joined: Fri Aug 26, 2011 3:25 pm
by dom » Sat Jun 02, 2012 9:07 am
The issues list on GitHub is usually used for posting bug reports.
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4011
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by rew » Sat Jun 02, 2012 8:09 pm
I think that "discussions" are better handled here, and that when we determine that it's a "issue" that we make it an issue on the github issue list.
Check out our raspberry pi addons: http://www.bitwizard.nl/catalog/
User avatar
Posts: 396
Joined: Fri Aug 26, 2011 3:25 pm
by jojopi » Sun Jun 03, 2012 12:35 am
rew wrote:I just got a kernel-oops, and I would like to post it somewhere the kernel developers can see it...
If you are using the official binary kernel the oops will be a useless pile of hex anyway.
User avatar
Posts: 2036
Joined: Tue Oct 11, 2011 8:38 pm
by rew » Sun Jun 03, 2012 6:33 am
Well, if the hex cannot be translated to something useful, then we should have a forum where I could suggest to change that. The RPI kernel is NOT stable. Not for production use.

This means that we should enable debugging by including the debugging symbols.

I went and checked on my 'pi yesterday at 22:00 (10PM) and it was still running (since 8:30 in the morning). It crashed again around 03:26.
Check out our raspberry pi addons: http://www.bitwizard.nl/catalog/
User avatar
Posts: 396
Joined: Fri Aug 26, 2011 3:25 pm
by dom » Sun Jun 03, 2012 9:04 am
GitHub contains:
https://github.com/raspberrypi/firmware ... System.map
which allows you to look up the addresses.

You can also boot kernel_debug.img instead, then you get proper backtraces (and other debug features).
(you may need to install the debug/lib/modules too, if you require modules).
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4011
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by rew » Mon Jun 04, 2012 10:02 am
I compile my own kernel. What do I enable to get a more readable kernel oops?
Check out our raspberry pi addons: http://www.bitwizard.nl/catalog/
User avatar
Posts: 396
Joined: Fri Aug 26, 2011 3:25 pm
by dom » Mon Jun 04, 2012 10:10 am
rew wrote:I compile my own kernel. What do I enable to get a more readable kernel oops?


Look at the diffs between bcmrpi_cutdown_defconf and bcmrpi_defconfig.
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4011
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by rew » Tue Jun 05, 2012 8:17 am
Is my English deficient or is the naming weird?

With "cutdown" I understand that this is a config that has less drivers enabled for a smaller memory footprint (or something like that).

update: I compared them. You mean the cutdown config is what "debian" uses, and the normal config has the debugging symbols enabled?

My .config is completely different from the bcm_defconfig files. IIRC, I started out with a raspberry pi default config and enabled small things like "spi" which I was working on.
Check out our raspberry pi addons: http://www.bitwizard.nl/catalog/
User avatar
Posts: 396
Joined: Fri Aug 26, 2011 3:25 pm