Internal Error Oops - Undefined Instruction 0
Sign in Pricing Blog Support Search GitHub This repository Watch 547 Star 3,214 Fork 1,778 raspberrypi/linux Code Issues 193 Pull requests 23 Projects 0 Wiki Pulse Graphs New issue kernel oops: undefined instruction #32 Closed emmanueltouzery opened this Issue Jun 3, 2012 · 13 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 3 participants emmanueltouzery commented Jun 3, 2012 This in on a self-compiled kernel, but on your source with just a minor patch which was already accepted on kernel.org. the kernel i built is 94fbbc4, i just added this tiny patch from the upstream kernel: torvalds/linux@9ab2393 i also use the latest firmware, 87a04c0. I'm using the 192Mb configuration. I compiled the kernel on ubuntu 12.04. Here is the kernel.img i'm booting on: http://dl.dropbox.com/u/22600720/rpi/kernel.img and the .config file I used: http://dl.dropbox.com/u/22600720/rpi/.config Compared to the default .config i have added I2C and pvrusb2 and such drivers. I'm plugging a Hauppage HVR-1900 on the pi for TV recording. The problem occured after about 1h 10 minutes of recording from the device. Concretely it means streaming ~1Mb/s from the USB to the SD card. The CPU is relatively OK when doing that, like at 15%. Because I have seen frame drops doing that, I am using two processes for the recording, one of which runs at realtime scheduling priority, using that flywheel program described there: http://www.isely.net/pipermail/pvrusb2/2011-March/003037.html So after about 1h I get that kernel error. I have had that same problem several times now, the previous time with the same kernel but the original firmware that came with the debian image, but then I didn't get a log in the kern.log, unlike this time. and here is the full stack trace: Jun 3 16:24:22 raspberrypi kernel: Internal error: Oops - undefined instruction: 0 [#1] PREEMPT Jun 3 16:24:22 raspberrypi kernel: Modules linked in: ipv6 fuse tda10048 tda18271 tda8290 tuner cx25840 pvrusb2 dvb_core cx2341x tveeprom v4l2_common videodev i2c_core Jun 3 16:24:22 raspberrypi kernel: CPU: 0 Not tainted (3.1.9 #2) Jun 3 16:24:22 raspberrypi kernel: pc : [] lr : [] psr: 6000
undefined instruction: 0" Starred by 6 users Project Member Reported by royans@chromium.org, Jun 26 2015 Back to list Status: Assigned Owner: royans@chromium.org Cc: gedis@chromium.org, chromeos-partner-nvidia@chromium.org, vwang@chromium.org, abrestic@chromium.org, royans@chromium.org NextAction: ---- OS: Chrome Pri: 2 Type: Bug Hotlist-Recharge merge-merged-chromeos-3.10 Hotlist-Enterprise Sign in to add a comment Customer noticed this issue on different devices. There are about 300 reports of this. Is this a real crash or just a silent https://github.com/raspberrypi/linux/issues/32 warning ? Can we explain the root cause and does this need a fix. Jun 22 8:01:20 PM crashid = 77125e34a84e05d4 Jun 23 7:49:45 AM crashid = e8b24549033aa573 Jun 24 7:13:49 AM crashid = 8e61d726fe7c57cd <4>[25799.979187] gk20a 57000000.gk20a: state restore latency exceeded, new value 1219923249 ns <0>[26912.519650] Internal error: Oops - undefined instruction: https://bugs.chromium.org/p/chromium/issues/detail?id=504649 0 [#1] SMP ARM <5>[26912.519662] Modules linked in: i2c_dev uinput snd_hda_codec_hdmi snd_soc_tegra30_i2s snd_soc_tegra_pcm snd_hda_tegra snd_soc_tegra_max98090 snd_soc_tegra_utils snd_hda_controller snd_soc_tegra30_ahub snd_hda_codec ip6t_REJECT rfcomm snd_soc_max98090 zram(C) fuse nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core mwifiex_sdio mwifiex btmrvl_sdio btmrvl bluetooth cfg80211 ax88179_178a usbnet joydev ppp_async ppp_generic slhc tun <5>[26912.519795] CPU: 0 PID: 3059 Comm: chrome Tainted: G C 3.10.18 #1 <5>[26912.519803] task: ec1c6900 ti: ec0f6000 task.ti: ec0f6000 <5>[26912.519813] PC is at vfp_reload_hw+0x30/0x44 <5>[26912.519823] LR is at __und_usr_fault_32+0x0/0x8 <5>[26912.519830] pc : [
Post a reply 11 posts by Ghostbird » Sat Jan 05, 2013 8:14 pm EDIT: I've no idea whether power users is the right place to ask this. I'm definitely not a https://www.raspberrypi.org/forums/viewtopic.php?t=28479 power user, but various threads urge us to keep the 'scary' things like kernel http://xenomai.org/pipermail/xenomai/2016-May/036338.html compilation away from the first time linux users. The troubleshooting forum seems to be for actual problems with the Pi. Mine runs fine. I've just done something wrong with my kernel compilation. There doesn't seem to be a forum for 'average-level' questions.I've recompiled the raspberry pi kernel according to the instructions here: http://elinux.org/RPi_Kernel_CompilationI've used the internal error config file that was on the Pi and defaulted to NO on the one question asked by make oldconfig, which was about the DMA helper.The I've copied the kernel to the pi, updated firmware and installed the modules.The Pi runs fine with the old kernel, after all updatesThe new kernel panics with:Code: Select allKernel BUG at mm/slab.c:2878!
Internal error: Oops - undefined instruction: 0 [#1] PREEMTThe system then internal error oops goes into kdb (kernel debug?) due to:Code: Select alloops @ 0x0c037dc00Any idea what can cause this? Posts: 14Joined: Thu Aug 16, 2012 1:06 pm by Licaon_Kter » Sun Jan 06, 2013 10:05 pm why did you compile your own kernel? what did you modify from the main Pi .config ? BFQ+BFS or RT on a RPi? 4'real: https://github.com/licaon-kter/ (source and compiled!) Posts: 240Joined: Wed Sep 05, 2012 10:12 amLocation: Between the keyboard and the chair. by efflandt » Mon Jan 07, 2013 7:07 am Which kernel were you running when you snatched /proc/config.gz? If you had not done rpi-update, the kernel in Raspbian images was 3.2.27, and since the new year I think the current default kernel source is 3.6.11. So it is possible that you used a .config for the wrong kernel version.Try using arch/arm/configs/bcmrpi_defconfig in the kernel source tree as .config. Or simply do rpi-update unless you need something built-in or as modules not included in that. https://github.com/Hexxeh/rpi-update Posts: 359Joined: Mon Dec 03, 2012 2:47 amLocation: Elgin, IL USA by Ghostbird » Mon Jan 07, 2013 1:10 pm @Licaon_Kter: I need the module that adds USB printing (usblp) it is not included in the normal kernel.@efflandt: Prior to compilation I had upd
0 [#1] PREEMPT SMP ARM" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hello, I hope someone can have a hint on the following. I use xenomai 2.6.3 patched with kernel 3.8.0 on zynq. I wrote rtdm driver which coomunicated with fpga: the driver listens to irq line, and print something on each time it recieve an interrupt. If I do the rtdm_request_irq already at module init, I see that interrupt are given and there is no issue. But on trying to do the rtdm_irq_request from userspace application on ioctl, then I recive oops. Another thing I see is that even when the rtdm_request_irq is done on driver init (not in ioctl), and in ioctl I just do simple printk then it will also get the oops : it is as if the irq interrups in rtdm driver interfere somehow with the ioctl call from userspace). I tried to debug this, but I have no clue so far. This is the Oops I get: zynq> zynq> zynq> cd /usr/xenomai/bin/ zynq> ./rtdm Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP ARM Modules linked in: xeno_rtdmtest CPU: 0 Not tainted (3.8.0-xilinx #17) PC is at 0xc0e8fae8 LR is at xnintr_irq_handler+0x118/0x3e0 pc : [