User avatar
Richard-TX
Posts: 1549
Joined: Tue May 28, 2013 3:24 pm
Location: North Texas

Re: Linux kernel is now 3.12

Tue May 06, 2014 12:48 am

The issue was a conflict with a loaded module, not ethernet.
Richard
Doing Unix since 1985.
The 9-25-2013 image of Wheezy can be found at:
http://downloads.raspberrypi.org/raspbian/images/raspbian-2013-09-27/2013-09-25-wheezy-raspbian.zip

suicidal_orange
Posts: 217
Joined: Sun Mar 16, 2014 10:56 am

Re: Linux kernel is now 3.12

Thu May 08, 2014 7:58 pm

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.

Claggy
Posts: 16
Joined: Sun Jan 26, 2014 3:15 pm

Re: Linux kernel is now 3.12

Thu May 08, 2014 10:17 pm

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
Last edited by Claggy on Fri May 09, 2014 10:21 pm, edited 1 time in total.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5309
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Linux kernel is now 3.12

Fri May 09, 2014 2:16 pm

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".

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5309
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Linux kernel is now 3.12

Fri May 09, 2014 2:19 pm

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?

suicidal_orange
Posts: 217
Joined: Sun Mar 16, 2014 10:56 am

Re: Linux kernel is now 3.12

Fri May 09, 2014 5:14 pm

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...

qcyzews
Posts: 3
Joined: Fri May 09, 2014 7:01 pm

Re: Linux kernel is now 3.12

Fri May 09, 2014 7:11 pm

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

Claggy
Posts: 16
Joined: Sun Jan 26, 2014 3:15 pm

Re: Linux kernel is now 3.12

Fri May 09, 2014 9:03 pm

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

Claggy
Posts: 16
Joined: Sun Jan 26, 2014 3:15 pm

Re: Linux kernel is now 3.12

Sat May 10, 2014 5:20 pm

Another report of the kernel error:

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

Claggy

hartacus
Posts: 5
Joined: Sun May 11, 2014 12:48 am

Re: Linux kernel is now 3.12

Sun May 11, 2014 12:58 am

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

evilkitty
Posts: 370
Joined: Tue Apr 15, 2014 11:39 pm

Re: Linux kernel is now 3.12

Sun May 11, 2014 5:12 pm

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
My Pi Server: http://imgur.com/a/6xIUI | Thermostat: http://imgur.com/a/4LVnT

Claggy
Posts: 16
Joined: Sun Jan 26, 2014 3:15 pm

Re: Linux kernel is now 3.12

Tue May 13, 2014 5:50 pm

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

Claggy

User avatar
PeterO
Posts: 4940
Joined: Sun Jul 22, 2012 4:14 pm

Re: Linux kernel is now 3.12

Tue May 13, 2014 7:13 pm

I just updated and now I can record at 96kHz from my USB soundcard :-) Previously it just disconnected when I tried :-)
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

hartacus
Posts: 5
Joined: Sun May 11, 2014 12:48 am

Re: Linux kernel is now 3.12

Tue May 13, 2014 11:32 pm

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?

MarkJ62
Posts: 28
Joined: Mon Dec 17, 2012 11:55 am
Location: Sydney, Australia
Contact: Website

Re: Linux kernel is now 3.12

Sun May 18, 2014 4:41 am

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

evilkitty
Posts: 370
Joined: Tue Apr 15, 2014 11:39 pm

Re: Linux kernel is now 3.12

Sun May 18, 2014 1:39 pm

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
My Pi Server: http://imgur.com/a/6xIUI | Thermostat: http://imgur.com/a/4LVnT

hartacus
Posts: 5
Joined: Sun May 11, 2014 12:48 am

Re: Linux kernel is now 3.12

Mon May 19, 2014 12:59 am

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.

MarkJ62
Posts: 28
Joined: Mon Dec 17, 2012 11:55 am
Location: Sydney, Australia
Contact: Website

Re: Linux kernel is now 3.12

Tue May 20, 2014 11:37 am

Crashed again, of course nothing on the screen so can't provide any more info.

User avatar
PeterO
Posts: 4940
Joined: Sun Jul 22, 2012 4:14 pm

Re: Linux kernel is now 3.12

Thu May 22, 2014 9:02 pm

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
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

hartacus
Posts: 5
Joined: Sun May 11, 2014 12:48 am

Re: Linux kernel is now 3.12

Wed May 28, 2014 1:00 am

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.

birdman
Posts: 21
Joined: Fri Nov 04, 2011 1:11 am
Contact: Website

Re: Linux kernel is now 3.12

Sun Jul 20, 2014 12:28 pm

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?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5309
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Linux kernel is now 3.12

Sun Jul 20, 2014 12:40 pm

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)

birdman
Posts: 21
Joined: Fri Nov 04, 2011 1:11 am
Contact: Website

Re: Linux kernel is now 3.12

Tue Jul 22, 2014 1:33 am

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?

birdman
Posts: 21
Joined: Fri Nov 04, 2011 1:11 am
Contact: Website

Re: Linux kernel is now 3.12

Tue Jul 22, 2014 1:56 am

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.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5309
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Linux kernel is now 3.12

Tue Jul 22, 2014 1:05 pm

[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?

Return to “Advanced users”