Page 2 of 3

Re: Linux kernel is now 3.12

Posted: Tue May 06, 2014 12:48 am
by Richard-TX
The issue was a conflict with a loaded module, not ethernet.

Re: Linux kernel is now 3.12

Posted: Thu May 08, 2014 7:58 pm
by suicidal_orange
Richard-TX wrote:I had to blacklist the wolfson module due to multiple system issues.

Code: Select all

blacklist snd_soc_wm8804
I recommend that the snd_soc_wm8804 module NOT be included in the standard distribution.
What issues did you have please? I have a Wolfson and was considering upgrading to this kernel.

Re: Linux kernel is now 3.12

Posted: Thu May 08, 2014 10:17 pm
by Claggy
I have an Issue with Kernel 3.12.18+ (and .17+) on Raspbian Jessie/Sid and the repository Setiathome_v7 app,
a variable time after starting my Pi it locks up, either at the desktop or command line,
I can get updates done on it, sometimes it takes a few attempts to get it completed,
If I manage to get to the desktop, get Boinc Manager started,then shut the Boinc client down, then it is stable,
and it was fine running the Setiathome repository app on kernel 3.10.37+

The actual error it reports is [ 88.196140] BUG: unsupported FP instruction in kernel mode
[ 88.207656] Internal error : Oops - undefined instruction: 0 [#1] PREEMPT ARM

Image Image

Claggy

Re: Linux kernel is now 3.12

Posted: Fri May 09, 2014 2:16 pm
by dom
suicidal_orange wrote:What issues did you have please? I have a Wolfson and was considering upgrading to this kernel.
My main objection to these modules is 99% of users don't use them, they load by default which takes time and memory, and they mess with gpio lines and i2c which may affect users who are using the pins for other uses.
Ideally they would be "opt-in", perhaps with a raspi-config menu setting saying "Support I2S audio cards".

Re: Linux kernel is now 3.12

Posted: Fri May 09, 2014 2:19 pm
by dom
Claggy wrote: The actual error it reports is [ 88.196140] BUG: unsupported FP instruction in kernel mode
[ 88.207656] Internal error : Oops - undefined instruction: 0 [#1] PREEMPT ARM
Can you press enter so it shows the rest of the backtrace?
Do you have any usb devices connected?
Can you run lsmod after running setiathome but before the crash?

Re: Linux kernel is now 3.12

Posted: Fri May 09, 2014 5:14 pm
by suicidal_orange
dom wrote:My main objection to these modules is 99% of users don't use them, they load by default which takes time and memory, and they mess with gpio lines and i2c which may affect users who are using the pins for other uses.
Ideally they would be "opt-in", perhaps with a raspi-config menu setting saying "Support I2S audio cards".
Can't argue with that, should be the same for anything not built in to the Pi board and needed to boot, except perhaps wifi (else model A owners might not be impressed :lol:) I suppose there are too many categories of optional modules to have them as apt-get'able packages when the stripped out version of Raspbian is released for the compute module?

I really should get a cross compiler set up so I can see for myself but I can't find a guide for Fedora so will need to switch distro on my desktop first. Maybe this weekend...

Re: Linux kernel is now 3.12

Posted: Fri May 09, 2014 7:11 pm
by qcyzews
I have problem with lirc. Maybe mentioned earlier module interferes somehow.

What happens is that irw shows perfect reception of IR commands on kernel 3.10 all the time and on 3.12 until kdvb (part of tvheadend) starts. This is the same software, so it must be something what works in different way with USB or GPIO. I use ir receiver connected to pin 18 of GPIO. and I clearly see that somethin interferes with it since mode2 shows transmission, but it is somehow distorted, so it is not recognized as what is defined in lirc config file. Or actually it is recognized only from time to time whe there is a happy "GPIO attention timeslot" and then burst of decoded representatives of actually pressed buton comes.

Any idea if there shall something be unloaded (and how) from the kernel? Or maybe something defined in another way, so GPIO pin 18 receives without interference or with stabile timing?

BR
/Rafal

Re: Linux kernel is now 3.12

Posted: Fri May 09, 2014 9:03 pm
by Claggy
dom wrote:
Claggy wrote: The actual error it reports is [ 88.196140] BUG: unsupported FP instruction in kernel mode
[ 88.207656] Internal error : Oops - undefined instruction: 0 [#1] PREEMPT ARM
Can you press enter so it shows the rest of the backtrace?
Do you have any usb devices connected?
Can you run lsmod after running setiathome but before the crash?
Doesn't do anything when you hit Enter,
It's from a Maplin Advanced kit, with only those USB devices supplied with it,
ie a USB Hub, Mini keyboard and dongle, and N150 nano Wi-Fi dongle,
I've tried removing the Wi-Fi dongle, still the same, then the USB Hub, still the same,
unplugging the dongle for the mini keyboard means I can't logon, and didn't see a crash in the short time I waited.

lsmod gives me (from the desktop with Boinc and the setiathome app still running, but with the N150 dongle disconnected):

[email protected] ~ $ lsmod
Module Size Used by
snd_bcm2835 18169 1
fuse 76472 2
joydev 9096 0
evdev 10497 4
snd_soc_bcm2708_i2s 5486 0
regmap_mmio 2818 1 snd_soc_bcm2708_i2s
snd_soc_core 128174 1 snd_soc_bcm2708_i2s
snd_compress 8136 1 snd_soc_core
regmap_i2c 1657 1 snd_soc_core
snd_pcm_dmaengine 5481 1 snd_soc_core
regmap_spi 1913 1 snd_soc_core
snd_pcm 81582 3 snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
snd_page_alloc 5168 1 snd_pcm
snd_seq 54657 0
snd_seq_device 6485 1 snd_seq
snd_timer 20353 2 snd_pcm,snd_seq
leds_gpio 2055 0
led_class 4119 1 leds_gpio
snd 61518 9 snd_bcm2835,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress

Claggy

Re: Linux kernel is now 3.12

Posted: Sat May 10, 2014 5:20 pm
by Claggy
Another report of the kernel error:

http://boinc.berkeley.edu/dev/forum_thr ... 4050#54050

Claggy

Re: Linux kernel is now 3.12

Posted: Sun May 11, 2014 12:58 am
by hartacus
dom wrote:
Claggy wrote: The actual error it reports is [ 88.196140] BUG: unsupported FP instruction in kernel mode
[ 88.207656] Internal error : Oops - undefined instruction: 0 [#1] PREEMPT ARM
Can you press enter so it shows the rest of the backtrace?
Do you have any usb devices connected?
Can you run lsmod after running setiathome but before the crash?
Posting here to second this error and follow along (I created other post linked above by Claggy on the BOINC forums). Likewise, showing the rest of the backtrace not possible. Have observed this error with an idle printer connected and with the printer & a USB HDD connected (with and without a powered hub). Connecting to network via ethernet.

I get the error with the [email protected] as well as [email protected], fyi, so it doesn't appear project-specific.

My lsmod output:

Code: Select all

[email protected] ~ $ lsmod
Module                  Size  Used by
snd_bcm2835            18169  0 
usblp                  10998  0 
snd_soc_bcm2708_i2s     5486  0 
regmap_mmio             2818  1 snd_soc_bcm2708_i2s
snd_soc_core          128174  1 snd_soc_bcm2708_i2s
snd_compress            8136  1 snd_soc_core
regmap_i2c              1657  1 snd_soc_core
snd_pcm_dmaengine       5481  1 snd_soc_core
regmap_spi              1913  1 snd_soc_core
snd_pcm                81582  3 snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
snd_page_alloc          5168  1 snd_pcm
snd_seq                54657  0 
snd_seq_device          6485  1 snd_seq
snd_timer              20353  2 snd_pcm,snd_seq
leds_gpio               2055  0 
led_class               4119  1 leds_gpio
snd                    61518  7 snd_bcm2835,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress

Re: Linux kernel is now 3.12

Posted: Sun May 11, 2014 5:12 pm
by evilkitty
i have been using the new 3.12.18+ kernel for about a week and my nic is no longer going down every 1 to 2 days
running a headless server with apt-cache-ng, apache2 (owncloud & core temp php script), openssh-server, and mpd running
mpd is being used for local analog playback. the crashes i had only happened while mpd was left playing for around 12 hours.
I have 16:21:39 hours of mp3 files totaling ~906MB

Re: Linux kernel is now 3.12

Posted: Tue May 13, 2014 5:50 pm
by Claggy
Updated my Pi on Raspbian Jessie/Sid to 3.12.19+, still has the kernel error on this version.

Claggy

Re: Linux kernel is now 3.12

Posted: Tue May 13, 2014 7:13 pm
by PeterO
I just updated and now I can record at 96kHz from my USB soundcard :-) Previously it just disconnected when I tried :-)
PeterO

Re: Linux kernel is now 3.12

Posted: Tue May 13, 2014 11:32 pm
by hartacus
Claggy wrote:The actual error it reports is [ 88.196140] BUG: unsupported FP instruction in kernel mode
[ 88.207656] Internal error : Oops - undefined instruction: 0 [#1] PREEMPT ARM

...

Updated my Pi on Raspbian Jessie/Sid to 3.12.19+, still has the kernel error on this version.

Claggy
Noticed this in the 3.11 changelog:
RCU: Remove TINY_PREEMPT_RCU (commit)
Could this have something to do with it?

Re: Linux kernel is now 3.12

Posted: Sun May 18, 2014 4:41 am
by MarkJ62
I have been testing the BOINC apps under 3.12.19+ after reports of crashes on the BOINC forums. I am running the [email protected] app at the moment on it which worked fine on the 3.10 kernel that the rest of my fleet of Pi's are running.

I started off by doing the kernel upgrade while still running Wheezy. This seemed to work for about 100 hours before I upgraded to Jessie. About 8 hours later the Pi has crashed and I had to power cycle it to get going again. It runs headless, the only thing plugged into it is LAN, power and of course an SD card. I will try and leave a SSH session running to see if I can trap any messages.

Code: Select all

Linux *** 3.12.19+ #682 PREEMPT Mon May 12 23:27:36 BST 2014 armv6l

$ lsmod
Module                  Size  Used by
fuse                   76472  1
snd_bcm2835            18169  0
snd_soc_bcm2708_i2s     5486  0
regmap_mmio             2818  1 snd_soc_bcm2708_i2s
snd_soc_core          128174  1 snd_soc_bcm2708_i2s
snd_compress            8136  1 snd_soc_core
regmap_i2c              1657  1 snd_soc_core
snd_pcm_dmaengine       5481  1 snd_soc_core
regmap_spi              1913  1 snd_soc_core
snd_pcm                81582  3 snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
snd_page_alloc          5168  1 snd_pcm
snd_seq                54657  0
snd_seq_device          6485  1 snd_seq
snd_timer              20353  2 snd_pcm,snd_seq
leds_gpio               2055  0
led_class               4119  1 leds_gpio
snd                    61518  7 snd_bcm2835,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress

Re: Linux kernel is now 3.12

Posted: Sun May 18, 2014 1:39 pm
by evilkitty
MarkJ62 wrote:I have been testing the BOINC apps under 3.12.19+ after reports of crashes on the BOINC forums. I am running the [email protected] app at the moment on it which worked fine on the 3.10 kernel that the rest of my fleet of Pi's are running.

I started off by doing the kernel upgrade while still running Wheezy. This seemed to work for about 100 hours before I upgraded to Jessie. About 8 hours later the Pi has crashed and I had to power cycle it to get going again. It runs headless, the only thing plugged into it is LAN, power and of course an SD card. I will try and leave a SSH session running to see if I can trap any messages.

Code: Select all

Linux *** 3.12.19+ #682 PREEMPT Mon May 12 23:27:36 BST 2014 armv6l

$ lsmod
Module                  Size  Used by
fuse                   76472  1
snd_bcm2835            18169  0
snd_soc_bcm2708_i2s     5486  0
regmap_mmio             2818  1 snd_soc_bcm2708_i2s
snd_soc_core          128174  1 snd_soc_bcm2708_i2s
snd_compress            8136  1 snd_soc_core
regmap_i2c              1657  1 snd_soc_core
snd_pcm_dmaengine       5481  1 snd_soc_core
regmap_spi              1913  1 snd_soc_core
snd_pcm                81582  3 snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
snd_page_alloc          5168  1 snd_pcm
snd_seq                54657  0
snd_seq_device          6485  1 snd_seq
snd_timer              20353  2 snd_pcm,snd_seq
leds_gpio               2055  0
led_class               4119  1 leds_gpio
snd                    61518  7 snd_bcm2835,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress
try running this script to workaround it
http://ubuntuforums.org/showthread.php?t=2218295&page=2
that might be able to get the lan working allowing you to check and see what happened

Re: Linux kernel is now 3.12

Posted: Mon May 19, 2014 12:59 am
by hartacus
evilkitty wrote: try running this script to workaround it
http://ubuntuforums.org/showthread.php?t=2218295&page=2
that might be able to get the lan working allowing you to check and see what happened
I don't think this will help, as the issue isn't isolated to headless units. Plugging a monitor and keyboard into the Pi lets you see the dump that's in Claggy's post above, from which the Pi can't recover without a power cycle. There's no output to an SSH session, you only get that dump from a local session.

Re: Linux kernel is now 3.12

Posted: Tue May 20, 2014 11:37 am
by MarkJ62
Crashed again, of course nothing on the screen so can't provide any more info.

Re: Linux kernel is now 3.12

Posted: Thu May 22, 2014 9:02 pm
by PeterO
I just noticed lots of these in /var/log/messages

Code: Select all

May 22 20:51:38 pi1 kernel: [15182.005314] retire_capture_urb: 2 callbacks suppressed
May 22 20:52:04 pi1 kernel: [15207.603374] retire_capture_urb: 1 callbacks suppressed
May 22 20:52:11 pi1 kernel: [15214.984398] retire_capture_urb: 2 callbacks suppressed
May 22 20:53:55 pi1 kernel: [15319.256701] retire_capture_urb: 1 callbacks suppressed
May 22 20:54:35 pi1 kernel: [15359.403753] retire_capture_urb: 2 callbacks suppressed
May 22 20:54:45 pi1 kernel: [15369.130828] retire_capture_urb: 1 callbacks suppressed
This is while running a USB sound card at 16bit/96kHz stereo capture.
Is it anything to worry about ?

uname -a
Linux pi1 3.12.19+ #682 PREEMPT Mon May 12 23:27:36 BST 2014 armv6l GNU/Linux

vcgencmd version
May 12 2014 23:44:42
Copyright (c) 2012 Broadcom
version ce12e2f2879f47298fb1ea434386c2e29787ebec (clean) (release)


PeterO

Re: Linux kernel is now 3.12

Posted: Wed May 28, 2014 1:00 am
by hartacus
evilkitty wrote:
MarkJ62 wrote:I have been testing the BOINC apps under 3.12.19+ after reports of crashes on the BOINC forums. I am running the [email protected] app at the moment on it which worked fine on the 3.10 kernel that the rest of my fleet of Pi's are running.

I started off by doing the kernel upgrade while still running Wheezy. This seemed to work for about 100 hours before I upgraded to Jessie. About 8 hours later the Pi has crashed and I had to power cycle it to get going again. It runs headless, the only thing plugged into it is LAN, power and of course an SD card. I will try and leave a SSH session running to see if I can trap any messages.

Code: Select all

Linux *** 3.12.19+ #682 PREEMPT Mon May 12 23:27:36 BST 2014 armv6l

$ lsmod
Module                  Size  Used by
fuse                   76472  1
snd_bcm2835            18169  0
snd_soc_bcm2708_i2s     5486  0
regmap_mmio             2818  1 snd_soc_bcm2708_i2s
snd_soc_core          128174  1 snd_soc_bcm2708_i2s
snd_compress            8136  1 snd_soc_core
regmap_i2c              1657  1 snd_soc_core
snd_pcm_dmaengine       5481  1 snd_soc_core
regmap_spi              1913  1 snd_soc_core
snd_pcm                81582  3 snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
snd_page_alloc          5168  1 snd_pcm
snd_seq                54657  0
snd_seq_device          6485  1 snd_seq
snd_timer              20353  2 snd_pcm,snd_seq
leds_gpio               2055  0
led_class               4119  1 leds_gpio
snd                    61518  7 snd_bcm2835,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress
try running this script to workaround it
http://ubuntuforums.org/showthread.php?t=2218295&page=2
that might be able to get the lan working allowing you to check and see what happened
Update on this issue: GitHub kernel gurus helped me extract the full traceback for the kernel bug, which can be viewed here: https://github.com/raspberrypi/linux/issues/600

Any help decyphering this, or any ideas about what may have changed between kernels 3.10 and 3.12 to start this happening, would be awesome.

Re: Linux kernel is now 3.12

Posted: Sun Jul 20, 2014 12:28 pm
by birdman
I'm seeing the same thing (kernel oops with "unsupported FP instruction in kernel mode") while running BOINC projects.
3.10.x was OK, but 3.12.22+ started the rot, and 3.12.24+ (I've just updated to that with rpi-update to see the effect) is just the same.

Is there any way to go back to a 3.10.x kernel?

Re: Linux kernel is now 3.12

Posted: Sun Jul 20, 2014 12:40 pm
by dom
birdman wrote:Is there any way to go back to a 3.10.x kernel?

Code: Select all

sudo rpi-update f6eef32dd6388c3b04dbf462bd324d93281bf397
Should get you the latest 3.10 kernel. (See here for commit history https://github.com/Hexxeh/rpi-firmware/commits/master)

Re: Linux kernel is now 3.12

Posted: Tue Jul 22, 2014 1:33 am
by birdman
sudo rpi-update f6eef32dd6388c3b04dbf462bd324d93281bf397

Should get you the latest 3.10 kernel.
Thanks.

It looks like the issue is "caused" by this change:

http://lists.infradead.org/pipermail/li ... 82402.html

although that is only adding a test to check something which shouldn't occur.

Why would the kernel be generating FP code at all, and why would any it did generate be unsupported?

Re: Linux kernel is now 3.12

Posted: Tue Jul 22, 2014 1:56 am
by birdman
That command got me "back" to 3.10.38+ OK.
So I'll see how things go.

As for the actual 3.12.x bug, could it be related to this:
http://www.emdebian.org/~zumbi/efika.OL ... try-armv.S
which mentions:
However, we have to watch out
* for the ARM6/ARM7 SWI bug.
and it is in the vicinity of code to call the VFP handler.

Re: Linux kernel is now 3.12

Posted: Tue Jul 22, 2014 1:05 pm
by dom
[quote="birdman"]It looks like the issue is "caused" by this change:

http://lists.infradead.org/pipermail/li ... 82402.html
/quote]

Why do you believe it is that commit? Have you built a kernel with that commit reverted?