Internal Error Oops - Undefined Instruction 0 #1 Smp
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: 60000013 Jun 3 16:24:2
message: linux-3.11-rc1: Internal error: Oops - undefined instruction: 0 [#1] SMP ARM on OMAP3/AM335x Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi, I observe the following problem on booting v3.11-rc1 on OMAP3 beagle board. [ 5.888946] Internal error: Oops - undefined instruction: 0 [#1] SMP ARM [ 5.896057] Modules linked in: [ 5.899322] CPU: 0 PID: 9 Comm: rcu_sched Not tainted 3.11.0-rc2-00001-g1ea701a #876 [ 5.907501] task: ce0720c0 ti: ce07a000 task.ti: ce07a000 [ 5.913208] PC is at check_and_switch_context+0x130/0x4dc [ 5.918914] LR is at check_and_switch_context+0xd8/0x4dc [ 5.924530] pc : [
0 [#1] PREEMPT SMP ARM" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hello, I hope someone can have a hint on the following. http://xenomai.org/pipermail/xenomai/2016-May/036338.html 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 https://bugs.launchpad.net/bugs/1313751 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 internal error 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 internal error oops 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 : [
Status Importance Assigned to Milestone Linaro Stable Kernel (LSK) Edit New Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: Linaro Stable Kernel (LSK) Filed here by: Naresh Kamboju When: 2014-04-28 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance New Undecided Assigned to Nobody Me Remote Watch None, the status of the bug is updated manually. None, the status of the bug is updated manually. URL: The information about this bug in Launchpad is automatically pulled daily from the remote bug. Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description This bug found on linux-stable kernel on panda board. Target board: Panda board Linux kernel version: 3.10.37 kernel git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y Kernel config attached to this bug. [ 5.695892] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 5.695892] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 5.715972] devtmpfs: mounted [ 5.719573] Freeing unused kernel memory: 440K (c07be000 - c082c000) [ 8.580871] Unable to handle kernel NULL pointer dereference at virtual address 00000000 [ 8.585388] Internal error: Oops - undefined instruction: 0 [#1] SMP THUMB2 [ 8.585388] Modules linked in: [ 8.586181] CPU: 0 PID: 871 Comm: swapon Not tainted 3.10.37 #133 [ 8.586181] task: edaee040 ti: edfc6000 task.ti: edfc6000 [ 8.586212] PC is at __might_sleep+0x0/0x1bc [ 8.586212] LR is at down_read+0x1f/0x44 [ 8.586212] pc : [