From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Marc Le Douarain <marc.le-douarain@laposte.net>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] "illegal instruction", then "rt_task_start()" error -38 (on a 486/no fpu)
Date: Sun, 17 Jun 2012 21:19:56 +0200 [thread overview]
Message-ID: <4FDE2DDC.1080508@xenomai.org> (raw)
In-Reply-To: <4FDE2A66.8000904@laposte.net>
On 06/17/2012 09:05 PM, Marc Le Douarain wrote:
> Le 11/06/2012 19:09, Gilles Chanteperdrix a écrit :
>> I think vortex86sx has a tsc, so, you should try and modify the linux
>> kernel configuration to select CONFIG_X86_TSC, or simply select a
>> processor which has a tsc. You will get better latencies.
>>
> I've made two more tests:
> - compiling for Pentium-Classic (M586-TSC)
> => Kernel doesn't boot at all
> (I've seen invalid opcode, and after I-pipe stack call-trace
> ftrace_make_nop)
>
> - modifying arch/x86/Kconfig.cpu (there isn't any M486-TSC ! and X86-TSC
> can't be acceded directly!?)
> in config X86_TSC, adding for depends on M486
> => But also kernel not working.
>
> I'm finally not sure if there is a TSC available in the Vortex86sx,
> perhaps only on the Vortex86dx (fpu difference only normally),
> or none !?
Someone on this list claimed that vortex86sx may have a tsc:
http://www.xenomai.org/pipermail/xenomai-help/2010-01/msg00153.html
I do not know for sure however.
>
> Here with my previous 486 kernel, what gives /proc/cpuinfo:
> processor : 0
> vendor_id : CyrixInstead
> cpu family : 4
> model : 1
> model name : Cx486SLC
> stepping : unknown
> fdiv_bug : yes
> hlt_bug : no
> f00f_bug : no
> coma_bug : no
> fpu : no
> fpu_exception : no
> cpuid level : -1
> wp : yes
> flags :
> bogomips : 96.51
> clflush size : 32
> cache_alignment : 32
> address sizes : 32 bits physical, 32 bits virtual
> power management:
You would have "tsc" in the flags if that cpu had a tsc. So, I guess you
are right, this cpu does not have a tsc.
--
Gilles.
next prev parent reply other threads:[~2012-06-17 19:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-04 19:26 [Xenomai] "illegal instruction", then "rt_task_start()" error -38 (on a 486/no fpu) Marc Le Douarain
2012-06-04 19:28 ` Gilles Chanteperdrix
2012-06-04 21:13 ` xenophile
2012-06-10 18:44 ` Marc Le Douarain
2012-06-10 20:09 ` Gilles Chanteperdrix
2012-06-10 20:19 ` xenophile
[not found] ` <4FD61BF8.9090901@laposte.net>
2012-06-11 17:09 ` Gilles Chanteperdrix
2012-06-17 19:05 ` Marc Le Douarain
2012-06-17 19:19 ` Gilles Chanteperdrix [this message]
2012-07-14 12:51 ` Marc Le Douarain
2012-06-10 21:00 ` Gilles Chanteperdrix
2012-06-04 19:49 ` Gilles Chanteperdrix
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=4FDE2DDC.1080508@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=marc.le-douarain@laposte.net \
--cc=xenomai@xenomai.org \
/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.