Subject: Re: port-mips/15965: NEW_PIPE broken on port-mips
To: None <taya@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 03/19/2002 21:47:00
On Wed, Mar 20, 2002 at 12:34:07AM +0900, taya@netbsd.org wrote:
> System: NetBSD cobalt1.m2g.org 1.5ZC NetBSD 1.5ZC (COBALT1) #1: Tue Mar 19 16:56:31 JST 2002 taya@mmgserv.m2g.org:/export/NetBSD/NetBSD-current/src/sys/arch/cobalt/compile/COBALT1 cobalt
> Architecture: mipsel
> Machine: cobalt
> >Description:
> 	NEW_PIPE broken on mips port.
> 	Following example fails.
> 	And also make depend produces broken .depend and this cause
> 	compiling source tree fails.
> 	There are no problem with kernel compiled with 'options PIPE_SOCKETPAIR'.
> 	enami-san said this also occures on L-ROUTER(hpcmips).

I also just saw something strange on my (just installed) sgi indy with LFS:
I usually build kernels with:
(make depend && make -j2) >& make.log
in background and from time to time do a
tail make.log

on the SGI I something get corrupted bits in the tail output, although looking
at the file with less shows all is fine. The corrupted bits are always small
(a few bytes only, much less than a page) and can be anywhere in the
output.

I do the same thing on other machines (i386, sparc64, also with LFS) and never
noticed this.

I don't know what's wrong, this is just to give another datapoint.
Maybe a missing cache flush ?

Here's what the kernel says about this CPU:
NetBSD 1.5ZB (TEAL) #1: Tue Mar 19 19:19:40 MET 2002
    bouyer@armandeche:/home/cvs.netbsd.org/src/sys/arch/sgimips/compile/TEAL
49152 KB memory, 42684 KB free, 768 KB for ARCS, 2560 KB in 640 buffers
mainbus0 (root): SGI-IP22 [SGI, 6906de17], 1 processor
cpu0 at mainbus0: MIPS R4000 CPU (0x430) Rev. 3.0 with MIPS R4010 FPC Rev. 0.0
cpu0: 8KB/16B direct-mapped L1 Instruction cache, 48 TLB entries
cpu0: 8KB/16B direct-mapped write-back L1 Data cache
cpu0: disabling IP22 SysAD L2 cache

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--