* sys_mips problems
@ 2001-07-31 20:59 James Simmons
2001-07-31 21:07 ` Jun Sun
0 siblings, 1 reply; 6+ messages in thread
From: James Simmons @ 2001-07-31 20:59 UTC (permalink / raw)
To: linux-mips; +Cc: linux-mips-kernel
Since I was having problems with everything sefaulting due to the sys_mips
bug I tried the patch floating around. It fixed the segfault problem but
instead I get this error. Anyone knows why?
: error while loading shared libraries: libc.so.6: cannot stat shared
object: Error 14
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sys_mips problems
2001-07-31 20:59 sys_mips problems James Simmons
@ 2001-07-31 21:07 ` Jun Sun
2001-07-31 21:43 ` James Simmons
0 siblings, 1 reply; 6+ messages in thread
From: Jun Sun @ 2001-07-31 21:07 UTC (permalink / raw)
To: James Simmons; +Cc: linux-mips, linux-mips-kernel
James Simmons wrote:
>
> Since I was having problems with everything sefaulting due to the sys_mips
> bug I tried the patch floating around. It fixed the segfault problem but
> instead I get this error. Anyone knows why?
>
> : error while loading shared libraries: libc.so.6: cannot stat shared
> object: Error 14
Which patch did you use? Does your CPU have ll/sc instructions?
Jun
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sys_mips problems
2001-07-31 21:07 ` Jun Sun
@ 2001-07-31 21:43 ` James Simmons
2001-08-01 12:24 ` Paul Kasper
0 siblings, 1 reply; 6+ messages in thread
From: James Simmons @ 2001-07-31 21:43 UTC (permalink / raw)
To: Jun Sun; +Cc: linux-mips, linux-mips-kernel
> > Since I was having problems with everything sefaulting due to the sys_mips
> > bug I tried the patch floating around. It fixed the segfault problem but
> > instead I get this error. Anyone knows why?
> >
> > : error while loading shared libraries: libc.so.6: cannot stat shared
> > object: Error 14
>
> Which patch did you use?
The fast_sysmips one.
> Does your CPU have ll/sc instructions?
I have a cobalt cube which has a MIPS Nevada chip which is a R52xx chip. I
don't know if it does. By default I have ll/sc and lld/scd instructions
enabled.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sys_mips problems
2001-07-31 21:43 ` James Simmons
@ 2001-08-01 12:24 ` Paul Kasper
2001-08-01 13:37 ` Kevin D. Kissell
0 siblings, 1 reply; 6+ messages in thread
From: Paul Kasper @ 2001-08-01 12:24 UTC (permalink / raw)
To: James Simmons; +Cc: Jun Sun, linux-mips, linux-mips-kernel
[-- Attachment #1: Type: text/plain, Size: 947 bytes --]
James Simmons wrote:
>
> > > Since I was having problems with everything sefaulting due to the sys_mips
> > > bug I tried the patch floating around. It fixed the segfault problem but
> > > instead I get this error. Anyone knows why?
> > >
> > > : error while loading shared libraries: libc.so.6: cannot stat shared
> > > object: Error 14
> >
> > Which patch did you use?
>
> The fast_sysmips one.
>
> > Does your CPU have ll/sc instructions?
>
> I have a cobalt cube which has a MIPS Nevada chip which is a R52xx chip. I
> don't know if it does. By default I have ll/sc and lld/scd instructions
> enabled.
I don't know which R52xx chip you have, but my QED RM5261 has ll/sc but
no mention of lld/scd instructions.
--
/"\ . . . . . . . . . . . . . . . /"\
\ / ASCII Ribbon Campaign \ / Paul R. Kasper
X - NO HTML/RTF in e-mail X Patton Electronics Co.
/ \ - NO MSWord docs in e-mail / \ 301-975-1000 x173
[-- Attachment #2: Card for Paul Kasper --]
[-- Type: text/x-vcard, Size: 311 bytes --]
begin:vcard
n:Kasper;Paul
tel;fax:301-869-9293
tel;work:301-975-1000 x173
x-mozilla-html:FALSE
url:www.patton.com
org:Patton Electronics Co.;Central Office Products
adr:;;7622 Rickenbacker Drive;Gaithersburg;MD;20879;USA
version:2.1
email;internet:paul@patton.com
x-mozilla-cpt:;10912
fn:Paul Kasper
end:vcard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sys_mips problems
@ 2001-08-01 13:37 ` Kevin D. Kissell
0 siblings, 0 replies; 6+ messages in thread
From: Kevin D. Kissell @ 2001-08-01 13:37 UTC (permalink / raw)
To: paul, James Simmons; +Cc: Jun Sun, linux-mips, linux-mips-kernel
> > > > Since I was having problems with everything sefaulting due to the
sys_mips
> > > > bug I tried the patch floating around. It fixed the segfault problem
but
> > > > instead I get this error. Anyone knows why?
> > > >
> > > > : error while loading shared libraries: libc.so.6: cannot stat
shared
> > > > object: Error 14
> > >
> > > Which patch did you use?
> >
> > The fast_sysmips one.
> >
> > > Does your CPU have ll/sc instructions?
> >
> > I have a cobalt cube which has a MIPS Nevada chip which is a R52xx chip.
I
> > don't know if it does. By default I have ll/sc and lld/scd instructions
> > enabled.
>
> I don't know which R52xx chip you have, but my QED RM5261 has ll/sc but
> no mention of lld/scd instructions.
The RM52xx families are MIPS IV ISA devices, and lld/scd are
MIPS III (and therefore MIPS IV) instructions. You've got 'em.
But you won't be able to use them in User mode unless the UX
bit of the CP0.Status register is set, which also turns on 64-bit
addressing, for which I rather doubt that your kernel is prepared.
User mode code should use only the 32-bit ll/sc's. Not that it
sounds like that has anything to do with the problem reported
here, mind you...
Kevin K.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sys_mips problems
@ 2001-08-01 13:37 ` Kevin D. Kissell
0 siblings, 0 replies; 6+ messages in thread
From: Kevin D. Kissell @ 2001-08-01 13:37 UTC (permalink / raw)
To: paul, James Simmons; +Cc: Jun Sun, linux-mips, linux-mips-kernel
> > > > Since I was having problems with everything sefaulting due to the
sys_mips
> > > > bug I tried the patch floating around. It fixed the segfault problem
but
> > > > instead I get this error. Anyone knows why?
> > > >
> > > > : error while loading shared libraries: libc.so.6: cannot stat
shared
> > > > object: Error 14
> > >
> > > Which patch did you use?
> >
> > The fast_sysmips one.
> >
> > > Does your CPU have ll/sc instructions?
> >
> > I have a cobalt cube which has a MIPS Nevada chip which is a R52xx chip.
I
> > don't know if it does. By default I have ll/sc and lld/scd instructions
> > enabled.
>
> I don't know which R52xx chip you have, but my QED RM5261 has ll/sc but
> no mention of lld/scd instructions.
The RM52xx families are MIPS IV ISA devices, and lld/scd are
MIPS III (and therefore MIPS IV) instructions. You've got 'em.
But you won't be able to use them in User mode unless the UX
bit of the CP0.Status register is set, which also turns on 64-bit
addressing, for which I rather doubt that your kernel is prepared.
User mode code should use only the 32-bit ll/sc's. Not that it
sounds like that has anything to do with the problem reported
here, mind you...
Kevin K.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-08-01 13:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-31 20:59 sys_mips problems James Simmons
2001-07-31 21:07 ` Jun Sun
2001-07-31 21:43 ` James Simmons
2001-08-01 12:24 ` Paul Kasper
2001-08-01 13:37 ` Kevin D. Kissell
2001-08-01 13:37 ` Kevin D. Kissell
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.