From: Kumar Gala <kumar.gala@freescale.com>
To: "Pawel Sikora" <pluto@agmk.net>
Cc: linuxppc-dev list <linuxppc-dev@ozlabs.org>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [2.6.8] OOPS and SIGSEGV on altivec instruction on PowerPC 7540.
Date: Fri, 13 May 2005 11:03:35 -0500 [thread overview]
Message-ID: <54f0f21514487ab2492daa91cc630a58@freescale.com> (raw)
In-Reply-To: <200505131749.20752.pluto@agmk.net>
This is odd. the 2.6.8 kernel should have the code that causes a SIGILL=20=
if !CONFIG_ALTIVEC. Can you enable CONFIG_KALLSYMS.
- kumar
On May 13, 2005, at 10:49 AM, Pawel Sikora wrote:
> Hi,
>
> simple runtime altivec detection from userspace causes an oops
> on the `vand` instruction. kernel was built *without* CONFIG_ALTIVEC.
> i think kernel should return a SIGILL instead of an oops ;-)
>
> Oops: kernel access of bad area, sig: 11 [#65]
> NIP: C0008B84 LR: C0007F2C SP: CF373F20 REGS: cf373e70 TRAP: 0300 Not=20=
> tainted
> MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
> DAR: 00000088, DSISR: 40000000
> TASK =3D c81e04f0[12983] 'altivec' THREAD: cf372000Last syscall: 174
> GPR00: C0007F2C CF373F20 C81E04F0 00000004 00000004 00030001 00000000=20=
> 0FEE08D0
> GPR08: 0000F932 C0007F2C 00009032 C0350000 081E0788 00000000 00000000=20=
> 100A37D8
> GPR16: 100A0000 00000000 100A0000 00000000 10070000 100A37C8 100AEF08=20=
> 00000000
> GPR24: 100A1108 00000000 100A59A8 3002AEF8 3002BB80 3002AE60 0FFEA6FC=20=
> 00000004
> Call trace: [c0007f2c]
>
>
>
> processor =A0 =A0 =A0 : 0
> cpu =A0 =A0 =A0 =A0 =A0 =A0 : 7450
> clock =A0 =A0 =A0 =A0 =A0 : 700MHz
> revision =A0 =A0 =A0 =A0: 2.1 (pvr 8000 0201)
> bogomips =A0 =A0 =A0 =A0: 696.32
> machine =A0 =A0 =A0 =A0 : PowerMac4,4
> motherboard =A0 =A0 : PowerMac4,4 MacRISC2 MacRISC Power Macintosh
> detected as =A0 =A0 : 80 (eMac)
> pmac flags =A0 =A0 =A0: 00000001
> L2 cache =A0 =A0 =A0 =A0: 256K unified
> memory =A0 =A0 =A0 =A0 =A0: 384MB
> pmac-generation : NewWorld
>
> --=20
> The only thing necessary for the triumph of evil
> =A0 is for good men to do nothing.
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 - Edmund Burke
> <altivec.c>=
WARNING: multiple messages have this Message-ID (diff)
From: Kumar Gala <kumar.gala@freescale.com>
To: "Pawel Sikora" <pluto@agmk.net>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>,
linuxppc-dev list <linuxppc-dev@ozlabs.org>
Subject: Re: [2.6.8] OOPS and SIGSEGV on altivec instruction on PowerPC 7540.
Date: Fri, 13 May 2005 11:03:35 -0500 [thread overview]
Message-ID: <54f0f21514487ab2492daa91cc630a58@freescale.com> (raw)
In-Reply-To: <200505131749.20752.pluto@agmk.net>
This is odd. the 2.6.8 kernel should have the code that causes a SIGILL
if !CONFIG_ALTIVEC. Can you enable CONFIG_KALLSYMS.
- kumar
On May 13, 2005, at 10:49 AM, Pawel Sikora wrote:
> Hi,
>
> simple runtime altivec detection from userspace causes an oops
> on the `vand` instruction. kernel was built *without* CONFIG_ALTIVEC.
> i think kernel should return a SIGILL instead of an oops ;-)
>
> Oops: kernel access of bad area, sig: 11 [#65]
> NIP: C0008B84 LR: C0007F2C SP: CF373F20 REGS: cf373e70 TRAP: 0300 Not
> tainted
> MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
> DAR: 00000088, DSISR: 40000000
> TASK = c81e04f0[12983] 'altivec' THREAD: cf372000Last syscall: 174
> GPR00: C0007F2C CF373F20 C81E04F0 00000004 00000004 00030001 00000000
> 0FEE08D0
> GPR08: 0000F932 C0007F2C 00009032 C0350000 081E0788 00000000 00000000
> 100A37D8
> GPR16: 100A0000 00000000 100A0000 00000000 10070000 100A37C8 100AEF08
> 00000000
> GPR24: 100A1108 00000000 100A59A8 3002AEF8 3002BB80 3002AE60 0FFEA6FC
> 00000004
> Call trace: [c0007f2c]
>
>
>
> processor : 0
> cpu : 7450
> clock : 700MHz
> revision : 2.1 (pvr 8000 0201)
> bogomips : 696.32
> machine : PowerMac4,4
> motherboard : PowerMac4,4 MacRISC2 MacRISC Power Macintosh
> detected as : 80 (eMac)
> pmac flags : 00000001
> L2 cache : 256K unified
> memory : 384MB
> pmac-generation : NewWorld
>
> --
> The only thing necessary for the triumph of evil
> is for good men to do nothing.
> - Edmund Burke
> <altivec.c>
next prev parent reply other threads:[~2005-05-13 16:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-13 15:49 [2.6.8] OOPS and SIGSEGV on altivec instruction on PowerPC 7540 Pawel Sikora
2005-05-13 16:03 ` Kumar Gala [this message]
2005-05-13 16:03 ` Kumar Gala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54f0f21514487ab2492daa91cc630a58@freescale.com \
--to=kumar.gala@freescale.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=pluto@agmk.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.