Linux MIPS Architecture development
 help / color / mirror / Atom feed
* 24K malta
@ 2005-08-10 13:40 Greg Weeks
  2005-08-10 14:02 ` Ralf Baechle
  2005-08-10 18:00 ` Greg Weeks
  0 siblings, 2 replies; 15+ messages in thread
From: Greg Weeks @ 2005-08-10 13:40 UTC (permalink / raw)
  To: linux-mips

I'm seeing something strange on a 24K malta and I'm wondering if anyone 
else has ran into something like it.

This is a 2.6.12 based kernel. I've not had a chance to try the current 
CVS yet. The last time I checked the current CVS didn't boot as is on a 
4Kc malta so I've not been keeping current with CVS.

When I try a simple

strace ls

I either hang or seg fault on a 24Kc or 24Kec processor, but a 4Kc or 
4Kec works. If I turn off the cache on the 24K it works as well. Without 
cache it's unbearably slow of course. This is the same exact build of 
the kernel and root file system for all boards.

Greg Weeks

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-10 13:40 24K malta Greg Weeks
@ 2005-08-10 14:02 ` Ralf Baechle
  2005-08-10 14:13   ` Greg Weeks
  2005-08-24 12:25   ` Greg Weeks
  2005-08-10 18:00 ` Greg Weeks
  1 sibling, 2 replies; 15+ messages in thread
From: Ralf Baechle @ 2005-08-10 14:02 UTC (permalink / raw)
  To: Greg Weeks; +Cc: linux-mips

On Wed, Aug 10, 2005 at 09:40:36AM -0400, Greg Weeks wrote:

> I'm seeing something strange on a 24K malta and I'm wondering if anyone 
> else has ran into something like it.
> 
> This is a 2.6.12 based kernel. I've not had a chance to try the current 
> CVS yet. The last time I checked the current CVS didn't boot as is on a 
> 4Kc malta so I've not been keeping current with CVS.
> 
> When I try a simple
> 
> strace ls
> 
> I either hang or seg fault on a 24Kc or 24Kec processor, but a 4Kc or 
> 4Kec works. If I turn off the cache on the 24K it works as well. Without 
> cache it's unbearably slow of course. This is the same exact build of 
> the kernel and root file system for all boards.

I cannot reproduce this problem on 24KEc Malta, sorry.

  Ralf

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-10 14:02 ` Ralf Baechle
@ 2005-08-10 14:13   ` Greg Weeks
  2005-08-10 14:45     ` Greg Weeks
  2005-08-24 12:25   ` Greg Weeks
  1 sibling, 1 reply; 15+ messages in thread
From: Greg Weeks @ 2005-08-10 14:13 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips

Ralf Baechle wrote:

>On Wed, Aug 10, 2005 at 09:40:36AM -0400, Greg Weeks wrote:
>
>  
>
>>I'm seeing something strange on a 24K malta and I'm wondering if anyone 
>>else has ran into something like it.
>>
>>This is a 2.6.12 based kernel. I've not had a chance to try the current 
>>CVS yet. The last time I checked the current CVS didn't boot as is on a 
>>4Kc malta so I've not been keeping current with CVS.
>>
>>When I try a simple
>>
>>strace ls
>>
>>I either hang or seg fault on a 24Kc or 24Kec processor, but a 4Kc or 
>>4Kec works. If I turn off the cache on the 24K it works as well. Without 
>>cache it's unbearably slow of course. This is the same exact build of 
>>the kernel and root file system for all boards.
>>    
>>
>
>I cannot reproduce this problem on 24KEc Malta, sorry.
>  
>
Good. That means it's something in my old tree.

Thanks.

Greg Weeks

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-10 14:13   ` Greg Weeks
@ 2005-08-10 14:45     ` Greg Weeks
  2005-08-10 14:49       ` Ralf Baechle
  0 siblings, 1 reply; 15+ messages in thread
From: Greg Weeks @ 2005-08-10 14:45 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips

Current CVS fails to build the malta_defconfig with:


scripts/kconfig/mconf arch/mips/Kconfig
arch/mips/Kconfig:690: can't open file "arch/mips/tx4938/Kconfig"
make[1]: *** [menuconfig] Error 1
make: *** [menuconfig] Error 2


Greg Weeks

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-10 14:45     ` Greg Weeks
@ 2005-08-10 14:49       ` Ralf Baechle
  2005-08-10 15:00         ` Greg Weeks
  2005-08-10 15:02         ` Thiemo Seufer
  0 siblings, 2 replies; 15+ messages in thread
From: Ralf Baechle @ 2005-08-10 14:49 UTC (permalink / raw)
  To: Greg Weeks; +Cc: linux-mips

On Wed, Aug 10, 2005 at 10:45:37AM -0400, Greg Weeks wrote:

> Current CVS fails to build the malta_defconfig with:
> 
> 
> scripts/kconfig/mconf arch/mips/Kconfig
> arch/mips/Kconfig:690: can't open file "arch/mips/tx4938/Kconfig"
> make[1]: *** [menuconfig] Error 1
> make: *** [menuconfig] Error 2

CVS pilot error.  cvs -q update -d -P and don't forget to bitch about it ;)

  Ralf

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-10 14:49       ` Ralf Baechle
@ 2005-08-10 15:00         ` Greg Weeks
  2005-08-10 15:09           ` Ralf Baechle
  2005-08-10 19:14           ` Ralf Baechle
  2005-08-10 15:02         ` Thiemo Seufer
  1 sibling, 2 replies; 15+ messages in thread
From: Greg Weeks @ 2005-08-10 15:00 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips

Ralf Baechle wrote:

>On Wed, Aug 10, 2005 at 10:45:37AM -0400, Greg Weeks wrote:
>
>  
>
>>Current CVS fails to build the malta_defconfig with:
>>
>>
>>scripts/kconfig/mconf arch/mips/Kconfig
>>arch/mips/Kconfig:690: can't open file "arch/mips/tx4938/Kconfig"
>>make[1]: *** [menuconfig] Error 1
>>make: *** [menuconfig] Error 2
>>    
>>
>
>CVS pilot error.  cvs -q update -d -P and don't forget to bitch about it ;)
>
>  
>
Would bitching about it do any good? I expect I'd just get told to stick 
it in my .cvsrc which is what I just did.

Now I get this:

  AS      arch/mips/kernel/r4k_switch.o
  CC      arch/mips/kernel/vpe.o
{standard input}: Assembler messages:
{standard input}:1329: Error: unrecognized opcode `mftc0 $7,$2,4'
{standard input}:1333: Error: unrecognized opcode `mftc0 $6,$2,1'

Greg Weeks

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-10 14:49       ` Ralf Baechle
  2005-08-10 15:00         ` Greg Weeks
@ 2005-08-10 15:02         ` Thiemo Seufer
  1 sibling, 0 replies; 15+ messages in thread
From: Thiemo Seufer @ 2005-08-10 15:02 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Greg Weeks, linux-mips

Ralf Baechle wrote:
> On Wed, Aug 10, 2005 at 10:45:37AM -0400, Greg Weeks wrote:
> 
> > Current CVS fails to build the malta_defconfig with:
> > 
> > 
> > scripts/kconfig/mconf arch/mips/Kconfig
> > arch/mips/Kconfig:690: can't open file "arch/mips/tx4938/Kconfig"
> > make[1]: *** [menuconfig] Error 1
> > make: *** [menuconfig] Error 2
> 
> CVS pilot error.  cvs -q update -d -P and don't forget to bitch about it ;)

The CVS authors should have made some sane global defaults. I use this
~/.cvsrc to make it less annoying:

hattusa:~$ cat .cvsrc
cvs -qz9
diff -upNR
rdiff -uR
update -dPR
checkout -P


Thiemo

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-10 15:00         ` Greg Weeks
@ 2005-08-10 15:09           ` Ralf Baechle
  2005-08-10 15:14             ` Greg Weeks
  2005-08-10 19:14           ` Ralf Baechle
  1 sibling, 1 reply; 15+ messages in thread
From: Ralf Baechle @ 2005-08-10 15:09 UTC (permalink / raw)
  To: Greg Weeks; +Cc: linux-mips

On Wed, Aug 10, 2005 at 11:00:40AM -0400, Greg Weeks wrote:

> Now I get this:
> 
>  AS      arch/mips/kernel/r4k_switch.o
>  CC      arch/mips/kernel/vpe.o
> {standard input}: Assembler messages:
> {standard input}:1329: Error: unrecognized opcode `mftc0 $7,$2,4'
> {standard input}:1333: Error: unrecognized opcode `mftc0 $6,$2,1'

You have CONFIG_MT enabled but your binutils don't support these new
instructions yet.  Since you're using 4K and 24K CPUs only ATM I think
you should simply disable CONFIG_MT for now.

  Ralf

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-10 15:09           ` Ralf Baechle
@ 2005-08-10 15:14             ` Greg Weeks
  2005-08-10 15:15               ` Ralf Baechle
  0 siblings, 1 reply; 15+ messages in thread
From: Greg Weeks @ 2005-08-10 15:14 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips

Ralf Baechle wrote:

>On Wed, Aug 10, 2005 at 11:00:40AM -0400, Greg Weeks wrote:
>
>  
>
>>Now I get this:
>>
>> AS      arch/mips/kernel/r4k_switch.o
>> CC      arch/mips/kernel/vpe.o
>>{standard input}: Assembler messages:
>>{standard input}:1329: Error: unrecognized opcode `mftc0 $7,$2,4'
>>{standard input}:1333: Error: unrecognized opcode `mftc0 $6,$2,1'
>>    
>>
>
>You have CONFIG_MT enabled but your binutils don't support these new
>instructions yet.  Since you're using 4K and 24K CPUs only ATM I think
>you should simply disable CONFIG_MT for now.
>
>  
>
Just turning off the vpe loading support got me past this one. I don't 
think I have CONFIG_MT set.

[gweeks@tanith linux-8-10-05]$ grep CONFIG_MT .config
# CONFIG_MTD is not set
[gweeks@tanith linux-8-10-05]$ cd arch/mips/configs/
[gweeks@tanith configs]$ grep CONFIG_MT malta_defconfig
# CONFIG_MTD is not set
[gweeks@tanith configs]$

Greg Weeks

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-10 15:14             ` Greg Weeks
@ 2005-08-10 15:15               ` Ralf Baechle
  0 siblings, 0 replies; 15+ messages in thread
From: Ralf Baechle @ 2005-08-10 15:15 UTC (permalink / raw)
  To: Greg Weeks; +Cc: linux-mips

On Wed, Aug 10, 2005 at 11:14:07AM -0400, Greg Weeks wrote:

> >You have CONFIG_MT enabled but your binutils don't support these new
> >instructions yet.  Since you're using 4K and 24K CPUs only ATM I think
> >you should simply disable CONFIG_MT for now.
> >
> > 
> >
> Just turning off the vpe loading support got me past this one. I don't 
> think I have CONFIG_MT set.

Sorry, I meant CONFIG_MIPS_MT.

  Ralf

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-10 13:40 24K malta Greg Weeks
  2005-08-10 14:02 ` Ralf Baechle
@ 2005-08-10 18:00 ` Greg Weeks
  2005-08-10 18:00   ` Greg Weeks
  1 sibling, 1 reply; 15+ messages in thread
From: Greg Weeks @ 2005-08-10 18:00 UTC (permalink / raw)
  Cc: linux-mips

Greg Weeks wrote:

> I'm seeing something strange on a 24K malta and I'm wondering if 
> anyone else has ran into something like it.
>
> This is a 2.6.12 based kernel. I've not had a chance to try the 
> current CVS yet. The last time I checked the current CVS didn't boot 
> as is on a 4Kc malta so I've not been keeping current with CVS.
>
> When I try a simple
>
> strace ls
>
> I either hang or seg fault on a 24Kc or 24Kec processor, but a 4Kc or 
> 4Kec works. If I turn off the cache on the 24K it works as well. 
> Without cache it's unbearably slow of course. This is the same exact 
> build of the kernel and root file system for all boards.

The memcpy prefetch bug is still there for malta, so I had to build 
another kernel. This is with a CVS sync from this morning.

The first strace ls works now, but the second time I do it it hangs. 
Kill -9 frees it up and the board isn't hanging.

Greg Weeks

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-10 18:00 ` Greg Weeks
@ 2005-08-10 18:00   ` Greg Weeks
  0 siblings, 0 replies; 15+ messages in thread
From: Greg Weeks @ 2005-08-10 18:00 UTC (permalink / raw)
  Cc: linux-mips

Greg Weeks wrote:

> I'm seeing something strange on a 24K malta and I'm wondering if 
> anyone else has ran into something like it.
>
> This is a 2.6.12 based kernel. I've not had a chance to try the 
> current CVS yet. The last time I checked the current CVS didn't boot 
> as is on a 4Kc malta so I've not been keeping current with CVS.
>
> When I try a simple
>
> strace ls
>
> I either hang or seg fault on a 24Kc or 24Kec processor, but a 4Kc or 
> 4Kec works. If I turn off the cache on the 24K it works as well. 
> Without cache it's unbearably slow of course. This is the same exact 
> build of the kernel and root file system for all boards.

The memcpy prefetch bug is still there for malta, so I had to build 
another kernel. This is with a CVS sync from this morning.

The first strace ls works now, but the second time I do it it hangs. 
Kill -9 frees it up and the board isn't hanging.

Greg Weeks

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-10 15:00         ` Greg Weeks
  2005-08-10 15:09           ` Ralf Baechle
@ 2005-08-10 19:14           ` Ralf Baechle
  1 sibling, 0 replies; 15+ messages in thread
From: Ralf Baechle @ 2005-08-10 19:14 UTC (permalink / raw)
  To: Greg Weeks; +Cc: linux-mips

On Wed, Aug 10, 2005 at 11:00:40AM -0400, Greg Weeks wrote:

> >CVS pilot error.  cvs -q update -d -P and don't forget to bitch about it ;)
> >
> > 
> >
> Would bitching about it do any good? I expect I'd just get told to stick 
> it in my .cvsrc which is what I just did.

Well, cvs's defaults seem to have been choosen following the principle
of maximum surprise and you're by far not the first to get traped by
that ...

  Ralf

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-10 14:02 ` Ralf Baechle
  2005-08-10 14:13   ` Greg Weeks
@ 2005-08-24 12:25   ` Greg Weeks
  2005-08-24 13:35     ` Ralf Baechle
  1 sibling, 1 reply; 15+ messages in thread
From: Greg Weeks @ 2005-08-24 12:25 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips

Ralf Baechle wrote:

>On Wed, Aug 10, 2005 at 09:40:36AM -0400, Greg Weeks wrote:
>
>  
>
>>I'm seeing something strange on a 24K malta and I'm wondering if anyone 
>>else has ran into something like it.
>>
>>This is a 2.6.12 based kernel. I've not had a chance to try the current 
>>CVS yet. The last time I checked the current CVS didn't boot as is on a 
>>4Kc malta so I've not been keeping current with CVS.
>>
>>When I try a simple
>>
>>strace ls
>>
>>I either hang or seg fault on a 24Kc or 24Kec processor, but a 4Kc or 
>>4Kec works. If I turn off the cache on the 24K it works as well. Without 
>>cache it's unbearably slow of course. This is the same exact build of 
>>the kernel and root file system for all boards.
>>    
>>
>
>I cannot reproduce this problem on 24KEc Malta, sorry.
>  
>
What patch are you using to get current CVS to boot on a malta? I've 
been disabling prefetch in memcpy, but if you're doing something else I 
want to try that. About 1 out of 3 "strace ls" either hangs or seg 
faults on me still.

Greg Weeks

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: 24K malta
  2005-08-24 12:25   ` Greg Weeks
@ 2005-08-24 13:35     ` Ralf Baechle
  0 siblings, 0 replies; 15+ messages in thread
From: Ralf Baechle @ 2005-08-24 13:35 UTC (permalink / raw)
  To: Greg Weeks; +Cc: linux-mips

On Wed, Aug 24, 2005 at 08:25:34AM -0400, Greg Weeks wrote:

> >I cannot reproduce this problem on 24KEc Malta, sorry.
> > 
> >
> What patch are you using to get current CVS to boot on a malta? I've 
> been disabling prefetch in memcpy, but if you're doing something else I 
> want to try that. About 1 out of 3 "strace ls" either hangs or seg 
> faults on me still.

I've disabled prefetching entirely in arch/mips/Kconfig and I'm using a
24Kc, not a 24KEc, stock gcc 3.4 & binutils 2.16 and it's running quite
nicely for me.

  Ralf

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-08-24 13:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-10 13:40 24K malta Greg Weeks
2005-08-10 14:02 ` Ralf Baechle
2005-08-10 14:13   ` Greg Weeks
2005-08-10 14:45     ` Greg Weeks
2005-08-10 14:49       ` Ralf Baechle
2005-08-10 15:00         ` Greg Weeks
2005-08-10 15:09           ` Ralf Baechle
2005-08-10 15:14             ` Greg Weeks
2005-08-10 15:15               ` Ralf Baechle
2005-08-10 19:14           ` Ralf Baechle
2005-08-10 15:02         ` Thiemo Seufer
2005-08-24 12:25   ` Greg Weeks
2005-08-24 13:35     ` Ralf Baechle
2005-08-10 18:00 ` Greg Weeks
2005-08-10 18:00   ` Greg Weeks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox