From owner-linux-mips@oss.sgi.com Sat Jul 1 16:23:23 2000 Received: by oss.sgi.com id ; Sat, 1 Jul 2000 16:23:04 -0700 Received: from chmls05.mediaone.net ([24.147.1.143]:30145 "EHLO chmls05.mediaone.net") by oss.sgi.com with ESMTP id ; Sat, 1 Jul 2000 16:22:44 -0700 Received: from decoy (h00a0cc39f081.ne.mediaone.net [24.218.252.183]) by chmls05.mediaone.net (8.8.7/8.8.7) with SMTP id TAA23300; Sat, 1 Jul 2000 19:22:11 -0400 (EDT) Message-ID: <0c0801bfe3b3$62fde200$0a00000a@decoy> From: "Jay Carlson" To: "Ian Chilton" , "Linux-Mips Mailing List \(Old\)" , "Linux-MIPS Mailing List" , , , "Jay Carlson" , "Ralf" References: Subject: Re: Status reports? Date: Sat, 1 Jul 2000 19:23:18 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing "Ian Chilton" writes: > * Not everything that happens on IRC is appropriate for the mailing list, > otherwise it would be a very high volume list. Yeah. > * The problem is, most of the people on the port and in #mipslinux are > developers, who are working on the ports, but have no time for > documentation. Which is best, a port that is dead with loads of > documentation, or an active / up-to-date / working port with little > documentation. There's a need for high quality documentation, but I think there's a greater need for just little status reports. Writing good documents is *hard*, but just little one-paragraph summaries, like a project diary, would be a wonderful service to the community. OTOH, although the current situation annoys me a little, it would annoy me a lot more if upstream work on mipslinux stopped. :-) So please don't take anything this list says about this as a demand. > I agree that the documentation is sparce, and see the above issues. That is > why, I am *thinking* of and suggesting to some of the guys that I, at least > for now, maintain a site with > * News from #mipslinux > * Links to current resources > * Possibly some documentation Doesn't have to be very heavyweight to be successful. > If you have any chance at all, I suggest you stop by #mipslinux at > times....all you need is an internet connection and one of the many IRC > clients... > > Details are: > /server irc.openprojects.net (port 6667) > /join #mipslinux I'll drop by soon. Jay From owner-linux-mips@oss.sgi.com Sun Jul 2 16:13:01 2000 Received: by oss.sgi.com id ; Sun, 2 Jul 2000 16:12:41 -0700 Received: from u-102.karlsruhe.ipdial.viaginterkom.de ([62.180.10.102]:15876 "EHLO u-102.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Sun, 2 Jul 2000 16:12:28 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Mon, 3 Jul 2000 01:12:27 +0200 Date: Mon, 3 Jul 2000 01:12:27 +0200 From: Ralf Baechle To: Marc Esipovich Cc: linux-mips@oss.sgi.com Subject: Re: NetBSD on O2 ;) Message-ID: <20000703011227.A1849@bacchus.dhis.org> References: <20000630145251.A9590@darkstar.netvision> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000630145251.A9590@darkstar.netvision>; from marc@mucom.co.il on Fri, Jun 30, 2000 at 02:52:51PM -0200 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Fri, Jun 30, 2000 at 02:52:51PM -0200, Marc Esipovich wrote: > I just noticed this on Slashdot: > > NetBSD have added another platform to their supported hardware > list. As the NetBSD/sgimips and announcement pages say, > NetBSD/sgimips is now stable enough to run multi-user, making > NetBSD the first OpenSource OS to run on the SGI O2. Currently it's > known to work on the R5000 CPU, R10K and R12K are untested due to > lack of hardware. > > http://www.netbsd.org/Ports/sgimips/ > > From my understanding R1[02]K do have their issues with cache coherency, > this is a big step forward, it wouldn't be long before we see NetBSD and > probably soon-to-follow Linux on O2 with all CPU configurations. Cache coherency is the trivial part; it's already been solved for other MIPS ports. The big problem is the interaction of speculative stores with cache coherency. It's not a CPU bug but more the R10000 being used in an environment it was not intended to be used in. The workaround is rather complex and requires compiler modifications. The R12000 is better on this, it has the option to disable speculative stores which makes a port of an OS easy. Ralf From owner-linux-mips@oss.sgi.com Mon Jul 3 06:50:55 2000 Received: by oss.sgi.com id ; Mon, 3 Jul 2000 06:50:45 -0700 Received: from lightning.swansea.uk.linux.org ([194.168.151.1]:38182 "EHLO the-village.bc.nu") by oss.sgi.com with ESMTP id ; Mon, 3 Jul 2000 06:50:21 -0700 Received: from alan by the-village.bc.nu with local (Exim 2.12 #1) id 1396Xy-0004hz-00; Mon, 3 Jul 2000 14:46:02 +0100 Subject: Re: errno assignment in _syscall macros and glibc To: nop@nop.com (Jay Carlson) Date: Mon, 3 Jul 2000 14:45:58 +0100 (BST) Cc: ralf@oss.sgi.com (Ralf Baechle), alan@lxorguk.ukuu.org.uk (Alan Cox), aj@suse.de (Andreas Jaeger), mfklar@ponymail.com (Mike Klar), linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu In-Reply-To: <073a01bfe29c$00995e90$0a00000a@decoy> from "Jay Carlson" at Jun 30, 2000 10:03:41 AM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing > Does newlib work under Linux? I thought it was missing (for example) t= > he > syscalls, and generally needed work to be ported to Linux. I'm interes= You would need to add the syscalls yes. Also the Cygnus^WRed Hat folks tell me that the eCos libc is built from and replaces newlib. > *BSD libc has been suggested by a few people. Good idea - how does it compare ? > Jay > > From owner-linux-mips@oss.sgi.com Mon Jul 3 10:33:47 2000 Received: by oss.sgi.com id ; Mon, 3 Jul 2000 10:33:27 -0700 Received: from Cantor.suse.de ([194.112.123.193]:15622 "HELO Cantor.suse.de") by oss.sgi.com with SMTP id ; Mon, 3 Jul 2000 10:33:00 -0700 Received: from Hermes.suse.de (Hermes.suse.de [194.112.123.136]) by Cantor.suse.de (Postfix) with ESMTP id 958921E34C; Mon, 3 Jul 2000 19:33:06 +0200 (MEST) Received: from arthur.inka.de (Galois.suse.de [10.0.0.1]) by Hermes.suse.de (Postfix) with ESMTP id 0E85910A026; Mon, 3 Jul 2000 19:33:01 +0200 (MEST) Received: from gromit.rhein-neckar.de ([192.168.27.3] ident=postfix) by arthur.inka.de with esmtp (Exim 3.14 #1) id 139A3P-00030d-00; Mon, 03 Jul 2000 19:30:43 +0200 Received: by gromit.rhein-neckar.de (Postfix, from userid 207) id 061DC1822; Mon, 3 Jul 2000 19:30:42 +0200 (CEST) Mail-Copies-To: never To: linux-mips@fnet.fr Cc: linux-mips@oss.sgi.com Subject: FPU Control Word: Initial Value looks wrong From: Andreas Jaeger Date: 03 Jul 2000 19:30:42 +0200 Message-ID: Lines: 39 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Porting glibc to MIPS I noticed that the initial contents of the fpu control word doesn't seem to be right (at least on the machines I've tried - one with a normal MIPS 2.2.13 and one with 2.2.15 and the MIPS/Algorithmics patches (including FPU emulator). The appended small test program should return a 0 (that's the desired value by glibc for full ISO C99 support) - but it seems to be set to 0x600. Could the kernel folks fix this, please? I grepped through the sources and didn't find a place where the FPU gets initialised.:-( Thanks, Andreas P.S. Here's the test program: #include #define _FPU_GETCW(cw) __asm__ ("cfc1 %0,$31" : "=r" (cw) : ) #define _FPU_SETCW(cw) __asm__ ("ctc1 %0,$31" : : "r" (cw)) int main (void) { int fpucw; _FPU_GETCW (fpucw); printf ("%x %d\n", fpucw, fpucw); return 0; } -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de From owner-linux-mips@oss.sgi.com Mon Jul 3 15:32:50 2000 Received: by oss.sgi.com id ; Mon, 3 Jul 2000 15:32:40 -0700 Received: from u-154.karlsruhe.ipdial.viaginterkom.de ([62.180.10.154]:2311 "EHLO u-154.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Mon, 3 Jul 2000 15:32:36 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Tue, 4 Jul 2000 00:32:32 +0200 Date: Tue, 4 Jul 2000 00:32:32 +0200 From: Ralf Baechle To: Andreas Jaeger Cc: linux-mips@fnet.fr, linux-mips@oss.sgi.com Subject: Re: FPU Control Word: Initial Value looks wrong Message-ID: <20000704003232.A2112@bacchus.dhis.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from aj@suse.de on Mon, Jul 03, 2000 at 07:30:42PM +0200 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Mon, Jul 03, 2000 at 07:30:42PM +0200, Andreas Jaeger wrote: > Porting glibc to MIPS I noticed that the initial contents of the fpu > control word doesn't seem to be right (at least on the machines I've > tried - one with a normal MIPS 2.2.13 and one with 2.2.15 and the > MIPS/Algorithmics patches (including FPU emulator). > The appended small test program should return a 0 (that's the desired > value by glibc for full ISO C99 support) - but it seems to be set to > 0x600. > > Could the kernel folks fix this, please? I grepped through the sources > and didn't find a place where the FPU gets initialised.:-( Surprise - the kernel initializes this to zero and the libc should do the same afair. Did this change? I tried your program on a Indy running 2.4.0-test2 + glibc 2.2 and it was printing ``0 0''. Could you check the source of your kernel for the value it's writing to fcr31? That's the constant FPU_DEFAULT defined in arch/mips/kernel/ r4k_switch.S. Some quite old kernel were using a different value but I was actually assuming those versions have already died out. Ralf From owner-linux-mips@oss.sgi.com Tue Jul 4 04:52:53 2000 Received: by oss.sgi.com id ; Tue, 4 Jul 2000 04:52:44 -0700 Received: from Cantor.suse.de ([194.112.123.193]:29958 "HELO Cantor.suse.de") by oss.sgi.com with SMTP id ; Tue, 4 Jul 2000 04:52:22 -0700 Received: from Hermes.suse.de (Hermes.suse.de [194.112.123.136]) by Cantor.suse.de (Postfix) with ESMTP id 6A0EA1E0C2; Tue, 4 Jul 2000 13:52:21 +0200 (MEST) Received: from arthur.inka.de (Maclaurin.suse.de [10.10.1.130]) by Hermes.suse.de (Postfix) with ESMTP id E259E10A028; Tue, 4 Jul 2000 13:52:17 +0200 (MEST) Received: from gromit.rhein-neckar.de ([192.168.27.3] ident=postfix) by arthur.inka.de with esmtp (Exim 3.14 #1) id 139R2g-0006FH-00; Tue, 04 Jul 2000 13:39:06 +0200 Received: by gromit.rhein-neckar.de (Postfix, from userid 207) id 2461A1822; Tue, 4 Jul 2000 13:39:04 +0200 (CEST) Mail-Copies-To: never To: Ralf Baechle Cc: linux-mips@fnet.fr, linux-mips@oss.sgi.com Subject: Re: FPU Control Word: Initial Value looks wrong References: <20000704003232.A2112@bacchus.dhis.org> From: Andreas Jaeger Date: 04 Jul 2000 13:39:04 +0200 In-Reply-To: Ralf Baechle's message of "Tue, 4 Jul 2000 00:32:32 +0200" Message-ID: Lines: 39 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing >>>>> Ralf Baechle writes: Ralf> On Mon, Jul 03, 2000 at 07:30:42PM +0200, Andreas Jaeger wrote: >> Porting glibc to MIPS I noticed that the initial contents of the fpu >> control word doesn't seem to be right (at least on the machines I've >> tried - one with a normal MIPS 2.2.13 and one with 2.2.15 and the >> MIPS/Algorithmics patches (including FPU emulator). >> The appended small test program should return a 0 (that's the desired >> value by glibc for full ISO C99 support) - but it seems to be set to >> 0x600. >> >> Could the kernel folks fix this, please? I grepped through the sources >> and didn't find a place where the FPU gets initialised.:-( Ralf> Surprise - the kernel initializes this to zero and the libc should do Ralf> the same afair. Did this change? No, that's correct - but I don't get a zero. Ralf> I tried your program on a Indy running 2.4.0-test2 + glibc 2.2 and it was Ralf> printing ``0 0''. Did you try it with a shared program? Static programs always initialize the FPU. Could you run the program on other machines also? Ralf> Could you check the source of your kernel for the value it's writing to Ralf> fcr31? That's the constant FPU_DEFAULT defined in arch/mips/kernel/ Ralf> r4k_switch.S. Some quite old kernel were using a different value but I Ralf> was actually assuming those versions have already died out. The kernels I used have 0 as FPU_DEFAULT - but nevertheless the returned value is wrong. When is FPU_DEFAULT written to the FPU? Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de From owner-linux-mips@oss.sgi.com Tue Jul 4 11:23:14 2000 Received: by oss.sgi.com id ; Tue, 4 Jul 2000 11:22:55 -0700 Received: from mx1.hcvlny.cv.net ([167.206.112.76]:45777 "EHLO mx1.hcvlny.cv.net") by oss.sgi.com with ESMTP id ; Tue, 4 Jul 2000 11:22:30 -0700 Received: from s1.optonline.net (s1.optonline.net [167.206.112.6]) by mx1.hcvlny.cv.net (8.9.3/8.9.3) with ESMTP id OAA09010; Tue, 4 Jul 2000 14:22:00 -0400 (EDT) Received: from hel-inc.com (d150-198.hmtmnj.optonline.net [24.189.150.198]) by s1.optonline.net (8.9.1/8.9.3) with ESMTP id OAA27633; Tue, 4 Jul 2000 14:21:38 -0400 (EDT) Message-ID: <39622B31.23124622@hel-inc.com> Date: Tue, 04 Jul 2000 14:21:37 -0400 From: Robert Current X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.16-9mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: Jay Carlson CC: Ian Chilton , "Linux-Mips Mailing List (Old)" , Linux-MIPS Mailing List , richardh@penguin.nl, watkinse@attens.com, Jay Carlson , Ralf Subject: Re: Status reports? References: <0c0801bfe3b3$62fde200$0a00000a@decoy> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing http://www.acheron-design.com/windowmaker.org-new/ <--that's the kind of thing I was thinking largo could do for ya, just set it up, and let you guys update it via web/php admin... So you have a good idea what he can do... http://www.acheron-design.com/leninmaker/ <--joke windowmaker one. http://wm.current.nu/ his site. If you want him to do a layout for the linux-mips page, just let me or him (largo@current.nu) know, and we can get it set up (layout and graphics), and all you will have to do is provide some content and update the news and such through web interface. Jay Carlson wrote: > > "Ian Chilton" writes: > > > * Not everything that happens on IRC is appropriate for the mailing list, > > otherwise it would be a very high volume list. > > Yeah. > > > * The problem is, most of the people on the port and in #mipslinux are > > developers, who are working on the ports, but have no time for > > documentation. Which is best, a port that is dead with loads of > > documentation, or an active / up-to-date / working port with little > > documentation. > > There's a need for high quality documentation, but I think there's a greater > need for just little status reports. Writing good documents is *hard*, but > just little one-paragraph summaries, like a project diary, would be a > wonderful service to the community. > > OTOH, although the current situation annoys me a little, it would annoy me a > lot more if upstream work on mipslinux stopped. :-) So please don't take > anything this list says about this as a demand. > > > I agree that the documentation is sparce, and see the above issues. That > is > > why, I am *thinking* of and suggesting to some of the guys that I, at > least > > for now, maintain a site with > > * News from #mipslinux > > * Links to current resources > > * Possibly some documentation > > Doesn't have to be very heavyweight to be successful. > > > If you have any chance at all, I suggest you stop by #mipslinux at > > times....all you need is an internet connection and one of the many IRC > > clients... > > > > Details are: > > /server irc.openprojects.net (port 6667) > > /join #mipslinux > > I'll drop by soon. > > Jay From owner-linux-mips@oss.sgi.com Tue Jul 4 14:22:56 2000 Received: by oss.sgi.com id ; Tue, 4 Jul 2000 14:22:46 -0700 Received: from u-179.karlsruhe.ipdial.viaginterkom.de ([62.180.18.179]:19463 "EHLO u-179.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Tue, 4 Jul 2000 14:22:27 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Tue, 4 Jul 2000 23:22:16 +0200 Date: Tue, 4 Jul 2000 23:22:16 +0200 From: Ralf Baechle To: Harald Koerfgen Cc: Ulf Carlsson , linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu Subject: Re: CVS Update@oss.sgi.com: linux Message-ID: <20000704232215.B4977@bacchus.dhis.org> References: <20000702193011Z42202-29274+369@oss.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from Harald.Koerfgen@home.ivm.de on Tue, Jul 04, 2000 at 07:27:53PM +0200 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Tue, Jul 04, 2000 at 07:27:53PM +0200, Harald Koerfgen wrote: > > Log message: > > We have to clobber ``hi'' and ``lo'' in __udelay. Nasty bug. > > Unfortunately my compilers don't like it. > > mipsel-linux-gcc: egcs-2.90.29 980515 (egcs-1.0.3 release) (rpm from oss): > > timer.c: In function `sys_nanosleep': > timer.c:848: fixed or forbidden register was spilled. > This may be due to a compiler bug or to impossible asm > statements or clauses. I've commited a fix for this. It only tackles the __udelay() functions for mips and mips64 but not the other multu instruction in the DECstation HZ_TO_STD function. Can you take a look at this one? Ralf From owner-linux-mips@oss.sgi.com Tue Jul 4 15:53:56 2000 Received: by oss.sgi.com id ; Tue, 4 Jul 2000 15:53:46 -0700 Received: from u-179.karlsruhe.ipdial.viaginterkom.de ([62.180.18.179]:45575 "EHLO u-179.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Tue, 4 Jul 2000 15:53:33 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Wed, 5 Jul 2000 00:53:25 +0200 Date: Wed, 5 Jul 2000 00:53:25 +0200 From: Ralf Baechle To: Andreas Jaeger Cc: linux-mips@fnet.fr, linux-mips@oss.sgi.com Subject: Re: FPU Control Word: Initial Value looks wrong Message-ID: <20000705005325.A5913@bacchus.dhis.org> References: <20000704003232.A2112@bacchus.dhis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from aj@suse.de on Tue, Jul 04, 2000 at 01:39:04PM +0200 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Tue, Jul 04, 2000 at 01:39:04PM +0200, Andreas Jaeger wrote: > Ralf> I tried your program on a Indy running 2.4.0-test2 + glibc 2.2 and it was > Ralf> printing ``0 0''. > > Did you try it with a shared program? Yes. > Static programs always initialize the FPU. Could you run the program on > other machines also? Will do. > Ralf> Could you check the source of your kernel for the value it's writing to > Ralf> fcr31? That's the constant FPU_DEFAULT defined in arch/mips/kernel/ > Ralf> r4k_switch.S. Some quite old kernel were using a different value but I > Ralf> was actually assuming those versions have already died out. > > The kernels I used have 0 as FPU_DEFAULT - but nevertheless the > returned value is wrong. When is FPU_DEFAULT written to the FPU? We do lazy fp context switching. So the kernel initializes the FPU for a process at the moment when it attempts to use it for the first time. It does so by enabling the FPU in the status register, clearing all flags in $fcr31 and setting all fp registers to a SNAN. Ralf From owner-linux-mips@oss.sgi.com Tue Jul 4 18:13:47 2000 Received: by oss.sgi.com id ; Tue, 4 Jul 2000 18:13:37 -0700 Received: from u-179.karlsruhe.ipdial.viaginterkom.de ([62.180.18.179]:47367 "EHLO u-179.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Tue, 4 Jul 2000 18:13:21 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Wed, 5 Jul 2000 03:13:18 +0200 Date: Wed, 5 Jul 2000 03:13:18 +0200 From: Ralf Baechle To: Andreas Jaeger Cc: Ralf Baechle , linux-mips@fnet.fr, linux-mips@oss.sgi.com Subject: Re: FPU Control Word: Initial Value looks wrong Message-ID: <20000705031318.A7627@bacchus.dhis.org> References: <20000704003232.A2112@bacchus.dhis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from aj@suse.de on Tue, Jul 04, 2000 at 01:39:04PM +0200 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Looking at the fcr31 bug I found some other bug which probably isn't causing what you observe but is a bug anyway - fpu_control_t was a 16-bit type but should be a 32-bit type. Patch below. Is _FPU_IEEE used at all and is it's definition right? I asked more people to run your test program. The result is that glibc 2.0.6 (both shared and static tried) and 2.2 print ``0 0'' while glibc 2.0.7 prints a non-zero value. Can you check if the variable __fpu_control, is it's value non-zero? Ralf 2000-07-05 Ralf Baechle * sysdeps/mips/fpu_control.h: Make fpu_control_t a 32-bit type. --- libc/sysdeps/mips/fpu_control.h.orig Wed Jul 5 02:51:54 2000 +++ libc/sysdeps/mips/fpu_control.h Wed Jul 5 02:52:58 2000 @@ -1,5 +1,5 @@ /* FPU control word bits. Mips version. - Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Olaf Flebbe and Ralf Baechle. @@ -86,10 +86,10 @@ #define _FPU_IEEE 0x00000F80 /* Type of the control word. */ -typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__HI__))); +typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__SI__))); /* Macros for accessing the hardware control word. */ -#define _FPU_GETCW(cw) __asm__ ("cfc1 %0,$31" : "=r" (cw) : ) +#define _FPU_GETCW(cw) __asm__ ("cfc1 %0,$31" : "=r" (cw)) #define _FPU_SETCW(cw) __asm__ ("ctc1 %0,$31" : : "r" (cw)) /* Default control word set at startup. */ From owner-linux-mips@oss.sgi.com Tue Jul 4 19:26:47 2000 Received: by oss.sgi.com id ; Tue, 4 Jul 2000 19:26:37 -0700 Received: from u-179.karlsruhe.ipdial.viaginterkom.de ([62.180.18.179]:49415 "EHLO u-179.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Tue, 4 Jul 2000 19:26:30 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Wed, 5 Jul 2000 04:26:18 +0200 Date: Wed, 5 Jul 2000 04:26:18 +0200 From: Ralf Baechle To: linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu Subject: New egcs 1.0.3a crosscompilers Message-ID: <20000705042617.A11557@bacchus.dhis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing I've uploaded new egcs 1.0.3a crosscompiler source and binary packages for i386-linux hosts to oss.sgi.com. This release fix a bug which was preventing __attribute__((aligned(x))) from working for values of x larger than 8. Older releases of egcs 1.0.3a will no longer compile the current CVS kernel; they'll abort when compiling kernel/sched.c. The native compilers are affected by the same bug but I don't have updated packages yet. Ralf From owner-linux-mips@oss.sgi.com Wed Jul 5 07:10:30 2000 Received: by oss.sgi.com id ; Wed, 5 Jul 2000 07:10:20 -0700 Received: from mta01-svc.ntlworld.com ([62.253.162.41]:3315 "EHLO mta01-svc.ntlworld.com") by oss.sgi.com with ESMTP id ; Wed, 5 Jul 2000 07:09:59 -0700 Received: from icserver.ichilton.co.uk ([62.252.240.230]) by mta01-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000705141006.BCJO14024.mta01-svc.ntlworld.com@icserver.ichilton.co.uk>; Wed, 5 Jul 2000 15:10:06 +0100 Received: from ian (ian.ichilton.local [192.168.0.8]) by icserver.ichilton.co.uk (8.10.2/8.10.1) with SMTP id e65E9kH25023; Wed, 5 Jul 2000 15:09:50 +0100 From: "Ian Chilton" To: "Linux-Mips Mailing List \(Old\)" , "Linux-MIPS Mailing List" Subject: New Linux/MIPS Site Online! Date: Wed, 5 Jul 2000 15:09:47 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hello, The new "Unofficial Linux/MIPS Site" is now available. Go to: http://www.linux-mips.org More to come, but it's there, and there's plenty of links! :-) Thanks to: Klaus Naumann --> Some of the content + counter Richard Hartensveld --> Hosting / domain Bye for Now, Ian \|||/ (o o) /---------------------------ooO-(_)-Ooo---------------------------\ | Ian Chilton (IRC Nick - GadgetMan) ian@ichilton.co.uk | |-----------------------------------------------------------------| | Backup E-Mail --> ian@ichilton.dhis.org ICQ #: 16007717 | | Mobile Phone (MAX 150 Chars!) --> ianchilton@sms.genie.co.uk | |-----------------------------------------------------------------| | http://www.ianchilton.co.uk --> Main Page | | http://www.ichilton.co.uk --> Own Web Server (When Online) | |-----------------------------------------------------------------| | "Unix is user friendly - it's just picky about it's friends." | \-----------------------------------------------------------------/ From owner-linux-mips@oss.sgi.com Wed Jul 5 08:46:31 2000 Received: by oss.sgi.com id ; Wed, 5 Jul 2000 08:46:21 -0700 Received: from Cantor.suse.de ([194.112.123.193]:35598 "HELO Cantor.suse.de") by oss.sgi.com with SMTP id ; Wed, 5 Jul 2000 08:46:04 -0700 Received: from Hermes.suse.de (Hermes.suse.de [194.112.123.136]) by Cantor.suse.de (Postfix) with ESMTP id 094F61E245; Wed, 5 Jul 2000 17:46:05 +0200 (MEST) Received: from arthur.inka.de (Galois.suse.de [10.0.0.1]) by Hermes.suse.de (Postfix) with ESMTP id 8E62F10A028; Wed, 5 Jul 2000 17:46:01 +0200 (MEST) Received: from gromit.rhein-neckar.de ([192.168.27.3] ident=postfix) by arthur.inka.de with esmtp (Exim 3.14 #1) id 139rHI-0003cM-00; Wed, 05 Jul 2000 17:39:56 +0200 Received: by gromit.rhein-neckar.de (Postfix, from userid 207) id 234021822; Wed, 5 Jul 2000 17:39:55 +0200 (CEST) Mail-Copies-To: never To: Ralf Baechle Cc: linux-mips@fnet.fr, linux-mips@oss.sgi.com Subject: Re: FPU Control Word: Initial Value looks wrong References: <20000704003232.A2112@bacchus.dhis.org> <20000705031318.A7627@bacchus.dhis.org> From: Andreas Jaeger Date: 05 Jul 2000 17:39:55 +0200 In-Reply-To: Ralf Baechle's message of "Wed, 5 Jul 2000 03:13:18 +0200" Message-ID: Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing >>>>> Ralf Baechle writes: Ralf> Looking at the fcr31 bug I found some other bug which probably isn't causing Ralf> what you observe but is a bug anyway - fpu_control_t was a 16-bit type Ralf> but should be a 32-bit type. Patch below. Thanks, I've commited it. Ralf> Is _FPU_IEEE used at all and is it's definition right? It's nowhere used - but each architecture has it. The value looks fine. Ralf> I asked more people to run your test program. The result is that glibc Ralf> 2.0.6 (both shared and static tried) and 2.2 print ``0 0'' while glibc Ralf> 2.0.7 prints a non-zero value. OK, I'll investigate the kernels and glibc I'm running a bit more. Thanks, Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de From owner-linux-mips@oss.sgi.com Wed Jul 5 11:24:51 2000 Received: by oss.sgi.com id ; Wed, 5 Jul 2000 11:24:32 -0700 Received: from mail.ivm.net ([62.204.1.4]:26905 "EHLO mail.ivm.net") by oss.sgi.com with ESMTP id ; Wed, 5 Jul 2000 11:24:13 -0700 Received: from franz.no.dom (port94.duesseldorf.ivm.de [195.247.65.94]) by mail.ivm.net (8.8.8/8.8.8) with ESMTP id UAA00684; Wed, 5 Jul 2000 20:24:11 +0200 X-To: ulfc@oss.sgi.com Message-ID: X-Mailer: XFMail 1.4.0 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000704232215.B4977@bacchus.dhis.org> Date: Wed, 05 Jul 2000 20:24:20 +0200 (CEST) Reply-To: Harald Koerfgen Organization: none From: Harald Koerfgen To: Ralf Baechle Subject: Re: CVS Update@oss.sgi.com: linux Cc: linux-mips@vger.rutgers.edu, linux-mips@fnet.fr, linux-mips@oss.sgi.com, Ulf Carlsson Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On 04-Jul-00 Ralf Baechle wrote: > I've commited a fix for this. It only tackles the __udelay() functions > for mips and mips64 but not the other multu instruction in the > DECstation HZ_TO_STD function. Can you take a look at this one? Done. -- Regards, Harald From owner-linux-mips@oss.sgi.com Wed Jul 5 17:28:54 2000 Received: by oss.sgi.com id ; Wed, 5 Jul 2000 17:28:44 -0700 Received: from f260.law9.hotmail.com ([64.4.8.135]:47114 "HELO hotmail.com") by oss.sgi.com with SMTP id ; Wed, 5 Jul 2000 17:28:20 -0700 Received: (qmail 64368 invoked by uid 0); 6 Jul 2000 00:28:24 -0000 Message-ID: <20000706002824.64367.qmail@hotmail.com> Received: from 208.198.161.2 by www.hotmail.com with HTTP; Wed, 05 Jul 2000 17:28:24 PDT X-Originating-IP: [208.198.161.2] From: "Erik Niessen" To: linux-mips@oss.sgi.com Subject: Doing DMA with the ide-driver Date: Thu, 06 Jul 2000 02:28:24 CEST Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hello, I am trying to get an external ide-pci controller (CMD 646) working on an embedded mips board. The kernel-source is based on a 2.2.12 source tree. The problem is doing DMA. I receive address (0x80ff0000) for my dmatable in the function ide_setup_dma (__get_free_pages). Then in ide_buildtable it sets up the dmatable. Address 0x80376000 and a count of 0x400 (check_partition reads 2 sectors from the harddrive). These are all virtual addresses. For setting up the dmatable I use physical addresses. On the embedded board there is a 1:1 map of i/o bus to main memory so platform_mem_iobus_base is 0. So after doing the DMA read, I read only zero's at address 0x80376000 and the kernel hangs. But the harddrive is ready and I can't find any errors. It seems that it writes the data to a different memory location. After searching the memory the data is written at address 0x80000000?? Is the memory manager somewhere in between??? The next thing I did was reserving a piece of physical memory for DMA and fill in the dmatable myself. So that it uses my piece of reserved memory. After I did this, the data was at the correct address and the kernel didn't crash. Is this the solution??? Anyone a clue? Thanks, Erik ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com From owner-linux-mips@oss.sgi.com Wed Jul 5 18:25:54 2000 Received: by oss.sgi.com id ; Wed, 5 Jul 2000 18:25:35 -0700 Received: from u-69.karlsruhe.ipdial.viaginterkom.de ([62.180.21.69]:28932 "EHLO u-69.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Wed, 5 Jul 2000 18:25:33 -0700 Received: by lappi.waldorf-gmbh.de id ; Wed, 5 Jul 2000 18:25:10 -0700 Date: Thu, 6 Jul 2000 03:25:10 +0200 From: Ralf Baechle To: Erik Niessen Cc: linux-mips@oss.sgi.com Subject: Re: Doing DMA with the ide-driver Message-ID: <20000706032510.A5122@bacchus.dhis.org> References: <20000706002824.64367.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000706002824.64367.qmail@hotmail.com>; from erik_niessen@hotmail.com on Thu, Jul 06, 2000 at 02:28:24AM +0200 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, Jul 06, 2000 at 02:28:24AM +0200, Erik Niessen wrote: > I am trying to get an external ide-pci controller (CMD 646) working on an > embedded mips board. The kernel-source is based on a 2.2.12 source tree. > > The problem is doing DMA. I receive address (0x80ff0000) for my dmatable in > the function ide_setup_dma (__get_free_pages). Then in ide_buildtable it > sets up the dmatable. Address 0x80376000 and a count of 0x400 > (check_partition reads 2 sectors from the harddrive). These are all virtual > addresses. For setting up the dmatable I use physical addresses. On the > embedded board there is a 1:1 map of i/o bus to main memory so > platform_mem_iobus_base is 0. > > So after doing the DMA read, I read only zero's at address 0x80376000 and > the kernel hangs. But the harddrive is ready and I can't find any errors. It > seems that it writes the data to a different memory location. After > searching the memory the data is written at address 0x80000000?? Is the > memory manager somewhere in between??? > > The next thing I did was reserving a piece of physical memory for DMA and > fill in the dmatable myself. So that it uses my piece of reserved memory. > After I did this, the data was at the correct address and the kernel didn't > crash. Is this the solution??? What you're observing can be explained by caches not being flushed properly. What kernel versions are you using? Ralf From owner-linux-mips@oss.sgi.com Thu Jul 6 05:37:58 2000 Received: by oss.sgi.com id ; Thu, 6 Jul 2000 05:37:48 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:22048 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 6 Jul 2000 05:37:26 -0700 Received: from cthulhu.engr.sgi.com (gate3-relay.engr.sgi.com [130.62.1.234]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id FAA07373 for ; Thu, 6 Jul 2000 05:43:01 -0700 (PDT) mail_from (Fredrik.Rovik@sas.no) From: Fredrik.Rovik@sas.no Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id FAA12223 for ; Thu, 6 Jul 2000 05:36:51 -0700 (PDT) mail_from (Fredrik.Rovik@sas.no) Received: from mailgw.sas.no (mailgw.sas.no [193.215.242.134]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id FAA07044 for ; Thu, 6 Jul 2000 05:36:44 -0700 (PDT) mail_from (Fredrik.Rovik@sas.no) Received: from oslmsg0101.net.sas.no (unverified) by mailgw.sas.no (Content Technologies SMTPRS 4.1.5) with ESMTP id for ; Thu, 6 Jul 2000 14:38:53 +0200 Received: by oslmsg0101.net.sas.no with Internet Mail Service (5.5.2650.21) id <3M1APBXD>; Thu, 6 Jul 2000 14:37:00 +0200 Message-ID: <72FEABC40CA6D311B2E40008C78AB8AA1DD532@oslmsg0111.net.sas.no> To: linux@cthulhu.engr.sgi.com Subject: Alive/indigo2 status Date: Thu, 6 Jul 2000 14:36:58 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hi, first of all I wanted to know if this mailinglist is alive at all.. and, if anyone have some status information on the port to indigo2. I've got an Extreme which i'd love running linux with X and GL (wishing) Fredrik Rovik From owner-linux-mips@oss.sgi.com Thu Jul 6 06:30:28 2000 Received: by oss.sgi.com id ; Thu, 6 Jul 2000 06:30:18 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:45694 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 6 Jul 2000 06:29:59 -0700 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id GAA25384 for ; Thu, 6 Jul 2000 06:25:07 -0700 (PDT) mail_from (roald@stavanger.sgi.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id GAA73189 for ; Thu, 6 Jul 2000 06:29:36 -0700 (PDT) Received: from sgstv.stavanger.sgi.com (sgstv.stavanger.sgi.com [144.253.219.2]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id GAA27623 for ; Thu, 6 Jul 2000 06:27:32 -0700 (PDT) mail_from (roald@stavanger.sgi.com) Received: by sgstv.stavanger.sgi.com (980427.SGI.8.8.8/940406.SGI) id PAA66516; Thu, 6 Jul 2000 15:27:41 +0200 (MEST) From: "Roald Lygre" Message-Id: <10007061527.ZM166216@sgstv.stavanger.sgi.com> Date: Thu, 6 Jul 2000 15:27:41 +0200 In-Reply-To: Fredrik.Rovik@sas.no "Alive/indigo2 status" (Jul 6, 2:36pm) References: <72FEABC40CA6D311B2E40008C78AB8AA1DD532@oslmsg0111.net.sas.no> Reply_To: roald@stavanger.sgi.com X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail) To: Fredrik.Rovik@sas.no, linux@cthulhu.engr.sgi.com Subject: Re: Alive/indigo2 status Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Jul 6, 2:36pm, Fredrik.Rovik@sas.no wrote: > Subject: Alive/indigo2 status > Hi, > > first of all I wanted to know if this mailinglist is > alive at all.. Regarding the mailing list: You can find an updated archive on: http://oss.sgi.com/mips/archive/ -Roald -- --------------------------------------------------------------- | Company: SGI Norge A/S | | Email: roald@sgi.com Tlf: +47 5163 4183 | | Addr: Luramyrveien 79 Mobil: +47 909 33 903| | N-4313 Sandnes VMail (SGI): 870-4679 | | NORWAY VMail(ext): +47 6711 4679 | --------------------------------------------------------------- Essential SGI Websites: http://www.sgi.com/ SGI http://www.sgi.no/ SGI Norge http://support-europe.sgi.com/ Log calls, patches+overlays, ++ http://freeware.sgi.com/ Freeware - "ready-to-eat" http://oss.sgi.com/mips/ Linux for SGI (Mips/Intel) http://www.sgi.com/developers/ Developer Central http://www.sgi.com/Products/Evaluation/ Evaluation Software From owner-linux-mips@oss.sgi.com Thu Jul 6 09:12:18 2000 Received: by oss.sgi.com id ; Thu, 6 Jul 2000 09:12:08 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:46902 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 6 Jul 2000 09:11:48 -0700 Received: from cthulhu.engr.sgi.com (gate3-relay.engr.sgi.com [130.62.1.234]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id JAA06945 for ; Thu, 6 Jul 2000 09:17:23 -0700 (PDT) mail_from (flo@rfc822.org) Received: from deliverator.sgi.com (deliverator.sgi.com [150.166.91.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id JAA92958 for ; Thu, 6 Jul 2000 09:11:13 -0700 (PDT) mail_from (flo@rfc822.org) Received: from noose.gt.owl.de (noose.gt.owl.de [62.52.19.4]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id JAA19359 for ; Thu, 6 Jul 2000 09:06:38 -0700 (PDT) mail_from (flo@rfc822.org) Received: by noose.gt.owl.de (Postfix, from userid 10) id E95DE7F5; Thu, 6 Jul 2000 18:11:32 +0200 (CEST) Received: by paradigm.rfc822.org (Postfix, from userid 1000) id 45DAA8F73; Thu, 6 Jul 2000 18:11:19 +0200 (CEST) Date: Thu, 6 Jul 2000 18:11:19 +0200 From: Florian Lohoff To: Fredrik.Rovik@sas.no Cc: linux@cthulhu.engr.sgi.com Subject: Re: Alive/indigo2 status Message-ID: <20000706181119.A3241@paradigm.rfc822.org> References: <72FEABC40CA6D311B2E40008C78AB8AA1DD532@oslmsg0111.net.sas.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <72FEABC40CA6D311B2E40008C78AB8AA1DD532@oslmsg0111.net.sas.no>; from Fredrik.Rovik@sas.no on Thu, Jul 06, 2000 at 02:36:58PM +0200 Organization: rfc822 - pure communication Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, Jul 06, 2000 at 02:36:58PM +0200, Fredrik.Rovik@sas.no wrote: > Hi, > > first of all I wanted to know if this mailinglist is > alive at all.. and, if anyone have some status information > on the port to indigo2. I've got an Extreme which i'd love > running linux with X and GL (wishing) Indigo2 Yes Extreme No Flo -- Florian Lohoff flo@rfc822.org +49-5201-669912 "If you're not having fun right now, you're wasting your time." From owner-linux-mips@oss.sgi.com Thu Jul 6 10:13:08 2000 Received: by oss.sgi.com id ; Thu, 6 Jul 2000 10:12:49 -0700 Received: from tower.ti.com ([192.94.94.5]:22004 "EHLO tower.ti.com") by oss.sgi.com with ESMTP id ; Thu, 6 Jul 2000 10:12:39 -0700 Received: from dlep7.itg.ti.com ([157.170.134.103]) by tower.ti.com (8.10.1/8.10.1) with ESMTP id e66HChH12412 for ; Thu, 6 Jul 2000 12:12:43 -0500 (CDT) Received: from dlep7.itg.ti.com (localhost [127.0.0.1]) by dlep7.itg.ti.com (8.9.3/8.9.3) with ESMTP id MAA27964 for ; Thu, 6 Jul 2000 12:12:36 -0500 (CDT) Received: from dlep4.itg.ti.com (dlep4.itg.ti.com [157.170.188.63]) by dlep7.itg.ti.com (8.9.3/8.9.3) with ESMTP id MAA27958 for ; Thu, 6 Jul 2000 12:12:35 -0500 (CDT) Received: from ti.com (jharrell.sc.ti.com [158.218.100.143]) by dlep4.itg.ti.com (8.9.3/8.9.3) with ESMTP id MAA13460; Thu, 6 Jul 2000 12:12:42 -0500 (CDT) Message-ID: <3964C025.623F7F5@ti.com> Date: Thu, 06 Jul 2000 11:21:41 -0600 From: Jeff Harrell X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-mips@oss.sgi.com CC: bbrown@ti.com Subject: Question concerning necessary libraries for 2.4.x kernel upgrade Content-Type: multipart/mixed; boundary="------------8CD11C396949D39314900462" Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing This is a multi-part message in MIME format. --------------8CD11C396949D39314900462 Content-Type: multipart/alternative; boundary="------------0909E811D85527F63F2E0482" --------------0909E811D85527F63F2E0482 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am currently upgrading my MIPS development board (Atlas) that contains a R4Kc (jade core) and version 2.2.12 of the Linux kernel to a 2.4.x series kernel. I believe the libraries and applications were built off of the hardhat distribution. We are able to run the 2.4.x version of the kernel on the Atlas board but are seeing problems with some of the executables. I examined the Changes file and am in the process of upgrading the following binaries/libraries.. GNU C 2.7.2.3 binutils 2.9.1.0.22 util-linux 2.10g modutils 2.3.0 e2fsprogs 1.18 pcmcia-cs 3.1.13 ppp 2.4.0b1 I am seeing problems with executables such as awk, groff, troff, etc. Will I need to rebuild each of these applications against the new libraries to run or should they still function after I have upgraded the previously mentioned packages? Are there mipsel version of these packages (either source or binaries) available somewhere? Any information would be greatly appreciated. Jeff -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jeff Harrell Work: (801) 619-6104 Broadband Access group/TI jharrell@ti.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --------------0909E811D85527F63F2E0482 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I am currently upgrading my MIPS development board (Atlas) that contains a R4Kc (jade core)
and version 2.2.12 of the Linux kernel to a 2.4.x series kernel.   I believe the  libraries and applications
were built off of the hardhat distribution.  We are able to run the 2.4.x version of the kernel on the Atlas
board but are seeing problems with some of the executables.  I examined the Changes file and am in the
process of upgrading the following binaries/libraries..

GNU C  2.7.2.3
binutils 2.9.1.0.22
util-linux 2.10g
modutils 2.3.0
e2fsprogs 1.18
pcmcia-cs 3.1.13
ppp 2.4.0b1

I am seeing problems with executables such as awk, groff, troff, etc.   Will I need to rebuild each of these
applications  against the new libraries to run or should they still function after I have upgraded the previously
mentioned packages?  Are there mipsel version of these packages (either source or binaries) available somewhere?
Any information would be greatly appreciated.

Jeff
 
 

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Harrell                    Work:  (801) 619-6104 
Broadband Access group/TI      
jharrell@ti.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--------------0909E811D85527F63F2E0482-- --------------8CD11C396949D39314900462 Content-Type: text/x-vcard; charset=us-ascii; name="jharrell.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Jeff Harrell Content-Disposition: attachment; filename="jharrell.vcf" begin:vcard n:Harrell;Jeff tel;cell:(801) 597-6268 tel;fax:(801) 619-6150 tel;work:(801) 619-6104 x-mozilla-html:TRUE url:http://www.ti.com org:Broadband Access Group version:2.1 email;internet:jharrell@ti.com title:Texas Instruments adr;quoted-printable:;;170 West Election Rd. Suite 100 =0D=0AMS 4106 ;Draper;Utah;84020-6410;USA x-mozilla-cpt:;0 fn:Jeff Harrell end:vcard --------------8CD11C396949D39314900462-- From owner-linux-mips@oss.sgi.com Thu Jul 6 17:47:02 2000 Received: by oss.sgi.com id ; Thu, 6 Jul 2000 17:46:42 -0700 Received: from u-145.karlsruhe.ipdial.viaginterkom.de ([62.180.10.145]:14596 "EHLO u-145.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Thu, 6 Jul 2000 17:46:13 -0700 Received: by lappi.waldorf-gmbh.de id ; Fri, 7 Jul 2000 02:46:08 +0200 Date: Fri, 7 Jul 2000 02:46:08 +0200 From: Ralf Baechle To: Jeff Harrell Cc: linux-mips@oss.sgi.com, bbrown@ti.com Subject: Re: Question concerning necessary libraries for 2.4.x kernel upgrade Message-ID: <20000707024608.D2303@bacchus.dhis.org> References: <3964C025.623F7F5@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3964C025.623F7F5@ti.com>; from jharrell@ti.com on Thu, Jul 06, 2000 at 11:21:41AM -0600 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, Jul 06, 2000 at 11:21:41AM -0600, Jeff Harrell wrote: > I am currently upgrading my MIPS development board (Atlas) that contains > a R4Kc (jade core) > and version 2.2.12 of the Linux kernel to a 2.4.x series kernel. I > believe the libraries and applications > were built off of the hardhat distribution. We are able to run the > 2.4.x version of the kernel on the Atlas > board but are seeing problems with some of the executables. I examined > the Changes file and am in the > process of upgrading the following binaries/libraries.. > > GNU C 2.7.2.3 2.7.2.3 may work or not. Most people are using egcs 1.0.3a, so I recommend using that one. > binutils 2.9.1.0.22 DON'T touch, stick with 2.8.1. > util-linux 2.10g > modutils 2.3.0 I have no reports about modutils 2.3.0. > e2fsprogs 1.18 > pcmcia-cs 3.1.13 > ppp 2.4.0b1 > > I am seeing problems with executables such as awk, groff, troff, etc. > Will I need to rebuild each of these > applications against the new libraries to run or should they still > function after I have upgraded the previously > mentioned packages? Are there mipsel version of these packages (either > source or binaries) available somewhere? You can try the DECstation package (see howto) or get the src.rpm packages from oss.sgi.com which has a preliminary RH 6.0 port. The packages should build for little endian also. Ralf From owner-linux-mips@oss.sgi.com Fri Jul 7 05:31:41 2000 Received: by oss.sgi.com id ; Fri, 7 Jul 2000 05:31:31 -0700 Received: from mail.rpi.alumlink.com ([207.92.136.80]:58886 "EHLO mail.alum.rpi.edu") by oss.sgi.com with ESMTP id ; Fri, 7 Jul 2000 05:31:08 -0700 Date: Fri, 7 Jul 2000 08:31:17 -0400 Message-Id: <200007070831.AA21955154@mail.alum.rpi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "clemej" Reply-To: To: Subject: compilers... X-Mailer: Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing whats the word on using CVS binutils and CVS gcc (2.96?) for compiling mips64? john.c From owner-linux-mips@oss.sgi.com Fri Jul 7 06:59:50 2000 Received: by oss.sgi.com id ; Fri, 7 Jul 2000 06:59:40 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:30494 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 7 Jul 2000 06:59:22 -0700 Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id GAA22791 for ; Fri, 7 Jul 2000 06:54:29 -0700 (PDT) mail_from (jsk@tetracon-eng.net) Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id JAA06677 for ; Fri, 7 Jul 2000 09:52:10 -0300 Date: Fri, 7 Jul 2000 09:52:09 -0300 From: "J. Scott Kasten" To: linux-mips@oss.sgi.com Subject: GDB question. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing I've noticed in the Hard Hat 5.1 and the Simple Linux distros that GDB is lacking. Is there a reason for that? This is not a complaint, but more an iquiry to find out if there's known problems before I go banging my head against the wall trying to build something that won't for some reason or the other. I'm presently using egcs-1.1.2, binutils 2.9.5, BFD 000425, and glibc-2.0.6 from Simple Linux 0.1 on an Indy. Would appreciate any tips/tricks/caveats beforehand. Thanks! -- J. Scott Kasten Email: jsk AT tetracon-eng DOT net "The only future you have is the one you choose to make for yourself..." From owner-linux-mips@oss.sgi.com Fri Jul 7 07:17:50 2000 Received: by oss.sgi.com id ; Fri, 7 Jul 2000 07:17:41 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:53542 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 7 Jul 2000 07:17:27 -0700 Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id HAA26110 for ; Fri, 7 Jul 2000 07:12:35 -0700 (PDT) mail_from (jsk@tetracon-eng.net) Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id KAA06711 for ; Fri, 7 Jul 2000 10:10:59 -0300 Date: Fri, 7 Jul 2000 10:10:59 -0300 From: "J. Scott Kasten" To: linux-mips@oss.sgi.com Subject: Kernel boot tips. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing I learned 3 slick booting tips for booting an Indy from disk without a regular Linux boot loader that might be useful to some of the newbies. First off, there are two ways to trick the prom into booting the kernel image like the normal Irix kerenel from disk. If you have an EFS or XFS bootable file system on the drive, and have Irix up at some point, you can put the linux kernel in the file system as /unix in place of an Irix kernel. When booting, sash will look for that particular file and bootstrap it. Another way to accomplish this trick if you don't want any Irix partitions on your drive at all is to use the volume header itself. Sash is located there, and the boot prom will load and execute sash as part of the boot process. Under Irix, you can use dvhtool to replace sash with the linux kernel itself. Then when the system tries to boot, the prom will load "sash" like normal, but will end up boot straping the linux kernel for you. (I think this will require a coff image though.) The third trick I learned will help those that cannot afford the spare change to keep around extra SCSI drives so that they have a bootable Irix image to use for accomplishing these feats. If you use fx to initially prepare your linux disk, use the expert option and resize the volume header partition. Make it big, like 25 Meg or so. Shrink the efs/xfs root partition down very small, but don't delete it. Keep the swap partition as well, but again, rather small. On the Irix CD, you'll find the directory /dist/miniroot, and inside there, the Irix kernel miniroot images. Pick the one named for your machine arch, such as unix.IP22. When I set up my volume header, I put sash in there like normal, but also put the miniroot image in there as well, and put the linux kernel as /unix in the vestigal efs/xfs root partition. Now from the prom, I can enter the command "miniroot" and get the Irix kernel up with a handful of utilities to manage the disk. It has fx, dvhtool, and others. On top of that, you can ifconfig your ethernet device and use rcp to pull over your linux kernel from the network to install it on the efx/xfs root or in the volume header as you choose. You can even mount cdroms and so forth. Basicly, this is the next best thing to having a full blown Irix install somewhere. Hope these tips are usefull for someone! -- J. Scott Kasten Email: jsk AT tetracon-eng DOT net "The only future you have is the one you choose to make for yourself..." From owner-linux-mips@oss.sgi.com Fri Jul 7 08:35:41 2000 Received: by oss.sgi.com id ; Fri, 7 Jul 2000 08:35:21 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:9480 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Fri, 7 Jul 2000 08:34:55 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id IAA10087; Fri, 7 Jul 2000 08:34:52 -0700 Date: Fri, 7 Jul 2000 08:34:52 -0700 From: Keith M Wesolowski To: "J. Scott Kasten" Cc: linux-mips@oss.sgi.com Subject: Re: GDB question. Message-ID: <20000707083452.A9987@chem.unr.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from jsk@tetracon-eng.net on Fri, Jul 07, 2000 at 09:52:09AM -0300 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Fri, Jul 07, 2000 at 09:52:09AM -0300, J. Scott Kasten wrote: > I've noticed in the Hard Hat 5.1 and the Simple Linux distros that GDB is > lacking. Is there a reason for that? This is not a complaint, but more > an iquiry to find out if there's known problems before I go banging my > head against the wall trying to build something that won't for some > reason or the other. > > I'm presently using egcs-1.1.2, binutils 2.9.5, BFD 000425, and > glibc-2.0.6 from Simple Linux 0.1 on an Indy. > > Would appreciate any tips/tricks/caveats beforehand. There is gdb 5.0 in the experimental Simple 0.2a set. You can try it at ftp://oss.sgi.com/pub/linux/mips/mips-linux/simple/userland-0.2a/. Note that this is glibc 2.2 based and may be highly unstable. Nevertheless, it's what I'm currently using and I can verify that gdb works. You may also be able to build gdb 4.17 or so from CVS on your glibc 2.0 system; I don't know. -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Fri Jul 7 17:17:53 2000 Received: by oss.sgi.com id ; Fri, 7 Jul 2000 17:17:44 -0700 Received: from u-131.karlsruhe.ipdial.viaginterkom.de ([62.180.10.131]:19972 "EHLO u-131.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Fri, 7 Jul 2000 17:17:30 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Sat, 8 Jul 2000 02:17:15 +0200 Date: Sat, 8 Jul 2000 02:17:15 +0200 From: Ralf Baechle To: linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu Subject: Patches Message-ID: <20000708021714.B3669@bacchus.dhis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Those of you who have recently mailed patches to me may want to resend them. I had a disk crash and lost a part of my unprocessed email. Ralf From owner-linux-mips@oss.sgi.com Sat Jul 8 20:14:35 2000 Received: by oss.sgi.com id ; Sat, 8 Jul 2000 20:14:25 -0700 Received: from u-55.karlsruhe.ipdial.viaginterkom.de ([62.180.20.55]:49668 "EHLO u-55.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Sat, 8 Jul 2000 20:14:04 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Sun, 9 Jul 2000 05:13:49 +0200 Date: Sun, 9 Jul 2000 05:13:49 +0200 From: Ralf Baechle To: clemej Cc: linux-mips@oss.sgi.com Subject: Re: compilers... Message-ID: <20000709051349.A4950@bacchus.dhis.org> References: <200007070831.AA21955154@mail.alum.rpi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200007070831.AA21955154@mail.alum.rpi.edu>; from clemej@mail.alum.rpi.edu on Fri, Jul 07, 2000 at 08:31:17AM -0400 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Fri, Jul 07, 2000 at 08:31:17AM -0400, clemej wrote: > whats the word on using CVS binutils and CVS gcc (2.96?) for > compiling mips64? You need special patches for cvs-gcc and cvs-binutils. We're working on getting them in but the gcc people don't seem to listen. Ralf From owner-linux-mips@oss.sgi.com Sun Jul 9 13:57:52 2000 Received: by oss.sgi.com id ; Sun, 9 Jul 2000 13:57:41 -0700 Received: from u-73.karlsruhe.ipdial.viaginterkom.de ([62.180.21.73]:63492 "EHLO u-73.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Sun, 9 Jul 2000 13:57:18 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Sun, 9 Jul 2000 06:29:28 +0200 Date: Sun, 9 Jul 2000 06:29:28 +0200 From: Ralf Baechle To: "J. Scott Kasten" Cc: linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu Subject: Re: Kernel boot tips. Message-ID: <20000709062927.A5609@bacchus.dhis.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from jsk@tetracon-eng.net on Fri, Jul 07, 2000 at 10:10:59AM -0300 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Fri, Jul 07, 2000 at 10:10:59AM -0300, J. Scott Kasten wrote: > I learned 3 slick booting tips for booting an Indy from disk without a > regular Linux boot loader that might be useful to some of the newbies. > > First off, there are two ways to trick the prom into booting the kernel > image like the normal Irix kerenel from disk. If you have an EFS or XFS > bootable file system on the drive, and have Irix up at some point, you can > put the linux kernel in the file system as /unix in place of an Irix > kernel. When booting, sash will look for that particular file and > bootstrap it. Another way to accomplish this trick if you don't want any > Irix partitions on your drive at all is to use the volume header itself. > Sash is located there, and the boot prom will load and execute sash as > part of the boot process. Under Irix, you can use dvhtool to replace sash > with the linux kernel itself. Then when the system tries to boot, the > prom will load "sash" like normal, but will end up boot straping the linux > kernel for you. (I think this will require a coff image though.) > > The third trick I learned will help those that cannot afford the spare > change to keep around extra SCSI drives so that they have a bootable Irix > image to use for accomplishing these feats. If you use fx to initially > prepare your linux disk, use the expert option and resize the volume > header partition. Make it big, like 25 Meg or so. Shrink the efs/xfs > root partition down very small, but don't delete it. Keep the swap > partition as well, but again, rather small. On the Irix CD, you'll find > the directory /dist/miniroot, and inside there, the Irix kernel miniroot > images. Pick the one named for your machine arch, such as unix.IP22. > When I set up my volume header, I put sash in there like normal, but also > put the miniroot image in there as well, and put the linux kernel as /unix > in the vestigal efs/xfs root partition. Now from the prom, I can enter > the command "miniroot" and get the Irix kernel up with a handful of > utilities to manage the disk. It has fx, dvhtool, and others. On top of > that, you can ifconfig your ethernet device and use rcp to pull over your > linux kernel from the network to install it on the efx/xfs root or in the > volume header as you choose. You can even mount cdroms and so forth. > Basicly, this is the next best thing to having a full blown Irix install > somewhere. I've finally commited my rewrite of dvhtool into the CVS archive on oss. It's not yet complete but hackers may be interested in taking a look at it. One of my next projects will be a standalone libc which can be used to write reasonably portable standalone tools like a sash equivalent. Ralf From owner-linux-mips@oss.sgi.com Sun Jul 9 15:07:12 2000 Received: by oss.sgi.com id ; Sun, 9 Jul 2000 15:07:02 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:17201 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 9 Jul 2000 15:06:37 -0700 Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id PAA22498; Sun, 9 Jul 2000 15:01:41 -0700 (PDT) mail_from (jsk@tetracon-eng.net) Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id RAA11739; Sun, 9 Jul 2000 17:59:37 -0300 Date: Sun, 9 Jul 2000 17:59:37 -0300 From: "J. Scott Kasten" To: Ralf Baechle cc: linux-mips@oss.sgi.com Subject: Re: Kernel boot tips. In-Reply-To: <20000709062927.A5609@bacchus.dhis.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Sun, 9 Jul 2000, Ralf Baechle wrote: > I've finally commited my rewrite of dvhtool into the CVS archive on > oss. It's not yet complete but hackers may be interested in taking a > look at it. > > One of my next projects will be a standalone libc which can be used to > write reasonably portable standalone tools like a sash equivalent. Cool. We need those things. The tips I gave are only a work around until we have a regular boot loader/miniroot. The one thing that does not work well with my methods is getting command line args to the booting kernel such as "root=/dev/sda3" etc... You can do that, but have to stop the auto boot and enter the prom command tool to do it. From owner-linux-mips@oss.sgi.com Sun Jul 9 15:18:13 2000 Received: by oss.sgi.com id ; Sun, 9 Jul 2000 15:17:53 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:63551 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 9 Jul 2000 15:17:31 -0700 Received: from cthulhu.engr.sgi.com (gate3-relay.engr.sgi.com [130.62.1.234]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id PAA07444; Sun, 9 Jul 2000 15:23:08 -0700 (PDT) mail_from (smash@sgi.com) Received: from greywolf.engr.sgi.com (greywolf.engr.sgi.com [198.29.76.67]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id PAA43260; Sun, 9 Jul 2000 15:17:20 -0700 (PDT) mail_from (smash@sgi.com) Received: from sgi.com (localhost [127.0.0.1]) by greywolf.engr.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id PAA26575; Sun, 9 Jul 2000 15:34:17 -0700 (PDT) Message-ID: <3968FDE8.3443ED5@sgi.com> Date: Sun, 09 Jul 2000 15:34:17 -0700 From: Bryan Manternach X-Mailer: Mozilla 4.7C-SGI [en] (X11; I; IRIX 6.5 IP32) X-Accept-Language: en MIME-Version: 1.0 To: Ralf Baechle CC: "J. Scott Kasten" , linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu Subject: Re: Kernel boot tips. References: <20000709062927.A5609@bacchus.dhis.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Ralf Baechle wrote: > On Fri, Jul 07, 2000 at 10:10:59AM -0300, J. Scott Kasten wrote: > > > I learned 3 slick booting tips for booting an Indy from disk without a > > regular Linux boot loader that might be useful to some of the newbies. A fourth means is to change the nvram to boot the file you want. Leave /unix there,and call your linux kernel something like /linux2.2.0 and change the "kernname" nvram. kernname=pci(0)scsi(0)disk(2)rdisk(0)partition(0)/unix becomes kernname=pci(0)scsi(0)disk(2)rdisk(0)partition(0)/linux2.2.0 This should work on the IRIX efs/xfs filesystem on the IRIX partition. Then you can create a script that resets the NVRAM variable before reboot. All we would need to make back and forth boots of IRIX/LINUX is an "nvram" tool that runs under LInux. (Which would be handy for other porposes as well. > > >-- > THE USE OF EMAIL FOR THE TRANSMISSION OF UNSOLICITED COMMERICAL > MATERIAL IS PROHIBITED UNDER FEDERAL LAW (47 USC 227). Violations may > result in civil penalties and claims of $500.00 PER OCCURRENCE > (47 USC 227[c]). Commercial spam WILL be forwarded to postmasters. From owner-linux-mips@oss.sgi.com Sun Jul 9 15:43:43 2000 Received: by oss.sgi.com id ; Sun, 9 Jul 2000 15:43:33 -0700 Received: from iglou4.iglou.com ([192.107.41.39]:17068 "EHLO iglou.com") by oss.sgi.com with ESMTP id ; Sun, 9 Jul 2000 15:43:12 -0700 Received: from [204.255.238.187] (helo=tool.net) by iglou.com with esmtp (8.9.3/8.9.3) id 13BPnC-000765-00; Sun, 09 Jul 2000 18:43:19 -0400 Message-ID: <396971C3.6EB63B13@tool.net> Date: Mon, 10 Jul 2000 02:48:35 -0400 From: Jason Mesker Reply-To: jasonm@tool.net X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.2.15 i586) X-Accept-Language: en MIME-Version: 1.0 To: "debian-mips@lists.debian.org" , linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu Subject: R5000 oops Content-Type: multipart/mixed; boundary="------------B68A2EC6A0529B815E206118" Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing This is a multi-part message in MIME format. --------------B68A2EC6A0529B815E206118 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am trying to compile vim and during the configure script exec I get an oops. --------------B68A2EC6A0529B815E206118 Content-Type: text/plain; charset=us-ascii; name="ksys.oops" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ksys.oops" ksymoops 2.3.4 on sparc64 2.2.16. Options used -v ./vmlinux-0704b (specified) -K (specified) -L (specified) -O (specified) -m ./System.map-0704b.foo (specified) -t elf32-bigmips -a mips:4600 checking for opendir... Unable to handle kernel paging request at virtual address 0040dca0, epc == 88043190, ra == 88065748 Warning (Oops_read): Code line not seen, dumping what data is available Oops in fault.c:do_page_fault, line 158: init : 00000000 1000fc00 00000000 8fdc0010 : 8ac22f80 8ac22f80 0040dca0 8aaf9ee0 : 886867c4 00000000 ffffffe0 88686720 2: 00000003 84000000 00000000 00000021 6: 8853e868 8853e860 1000fc01 00000007 0: 8aaf9ee0 8aaf9ee8 00000000 00000006 4: 00000000 2abd4640 8: 8aaf8000 8aaf9e18 00000180 88065748 >>RA; 88065748 epc : 88043190 Status: 1000fc02 Cause : 00000004 Process gcc (pid: 1266, stackpage=8aaf8000) Stack: 8aaf9ee0 8805a804 00000000 00000000 fffffff4 8be0dd80 8be0dd80 8aaf9ee8 88065748 00000006 8805a7d8 8ac2d004 8aaf9ef8 8805a804 fffffff4 8be0dd80 8be067c0 8aaf9ee8 8805b950 8be0dd80 8ac2d000 00000000 00000180 00000503 8be06818 ffffffeb 8be0dd80 00000503 8805be3c 8805bd74 88195488 00000008 00000000 88195484 00000001 88195144 00000502 00000502 00000180 8ac2d000 00413f00 ... Call Trace: [<8805a804>] [<88065748>] [<8805a7d8>] [<8805a804>] [<8805b950>] [<8805be3c>] [<8805bd74>] [<8804a4d4>] [<8804a94c>] [<88010f68>] [<88010f68>] Code: 8ca20004 54400025 8e240008 8e220008 00c28023 40086000 3409ff00 01094024 >>PC; 0000000088043190 <===== Trace; 000000008805a804 Trace; 0000000088065748 Trace; 000000008805a7d8 Trace; 000000008805a804 Trace; 000000008805b950 Trace; 000000008805be3c Trace; 000000008805bd74 Trace; 000000008804a4d4 Trace; 000000008804a94c Trace; 0000000088010f68 Trace; 0000000088010f68 Code; 0000000088043184 0000000000000000 <_PC>: Code; 0000000088043184 0: 8ca20004 lw $v0,4($a1) Code; 0000000088043188 4: 54400025 0x54400025 Code; 000000008804318c 8: 8e240008 lw $a0,8($s1) Code; 0000000088043190 <===== c: acc50000 sw $a1,0($a2) <===== Code; 0000000088043194 10: 8e220008 lw $v0,8($s1) Code; 0000000088043198 14: 00c28023 subu $s0,$a2,$v0 Code; 000000008804319c 18: 40086000 mfc0 $t0,$12 Code; 00000000880431a0 1c: 3409ff00 li $t1,0xff00 Code; 00000000880431a4 20: 01094024 and $t0,$t0,$t1 1 warning issued. Results may not be reliable. --------------B68A2EC6A0529B815E206118-- From owner-linux-mips@oss.sgi.com Sun Jul 9 16:00:42 2000 Received: by oss.sgi.com id ; Sun, 9 Jul 2000 16:00:22 -0700 Received: from noose.gt.owl.de ([62.52.19.4]:40199 "HELO noose.gt.owl.de") by oss.sgi.com with SMTP id ; Sun, 9 Jul 2000 15:59:58 -0700 Received: by noose.gt.owl.de (Postfix, from userid 10) id C31DA938; Mon, 10 Jul 2000 01:00:05 +0200 (CEST) Received: by paradigm.rfc822.org (Postfix, from userid 1000) id BE36D8F73; Mon, 10 Jul 2000 00:59:54 +0200 (CEST) Date: Mon, 10 Jul 2000 00:59:54 +0200 From: Florian Lohoff To: Bryan Manternach Cc: Ralf Baechle , "J. Scott Kasten" , linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu Subject: Re: Kernel boot tips. Message-ID: <20000710005954.D968@paradigm.rfc822.org> References: <20000709062927.A5609@bacchus.dhis.org> <3968FDE8.3443ED5@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <3968FDE8.3443ED5@sgi.com>; from smash@sgi.com on Sun, Jul 09, 2000 at 03:34:17PM -0700 Organization: rfc822 - pure communication Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Sun, Jul 09, 2000 at 03:34:17PM -0700, Bryan Manternach wrote: > A fourth means is to change the nvram to boot the file you want. > Leave /unix there,and call your linux kernel something like /linux2.2.0 > and change the "kernname" nvram. > > kernname=pci(0)scsi(0)disk(2)rdisk(0)partition(0)/unix > becomes The problem with the nvram vars is the non-availability on the Indigo2 which is not capable of storing arbitrary vars or arbitrary content in existing vars. I would prefer a "SILO" the Sparc Linux LOader which is capable of reading an ext2 filesystem, getting its config from there and loading the kernel from an ext2. Flo -- Florian Lohoff flo@rfc822.org +49-5201-669912 "If you're not having fun right now, you're wasting your time." From owner-linux-mips@oss.sgi.com Sun Jul 9 16:14:42 2000 Received: by oss.sgi.com id ; Sun, 9 Jul 2000 16:14:23 -0700 Received: from iglou2.iglou.com ([192.107.41.8]:15019 "EHLO iglou.com") by oss.sgi.com with ESMTP id ; Sun, 9 Jul 2000 16:14:02 -0700 Received: from [204.255.238.187] (helo=tool.net) by iglou.com with esmtp (8.9.3/8.9.3) id 13BQGv-0005e8-00; Sun, 09 Jul 2000 19:14:01 -0400 Message-ID: <396978F7.A309E715@tool.net> Date: Mon, 10 Jul 2000 03:19:19 -0400 From: Jason Mesker Reply-To: jasonm@tool.net X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.2.15 i586) X-Accept-Language: en MIME-Version: 1.0 To: Ralf Baechle , "debian-mips@lists.debian.org" , "linux-mips@fnet.fr" , "linux-mips@oss.sgi.com" , "linux-mips@vger.rutgers.edu" Subject: Re: R5000 oops References: <396971C3.6EB63B13@tool.net> <20000710005215.A24764@bacchus.dhis.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing I am running kernel version: 2.4.0 test 3 pre 2. I am useing wesolows vmlinux-0704b kernel. I think I have found the problem though. I was running the system without swap and with 64Megs of RAM. I added around 20 megs of swap space and did the configure again and it worked fine. I am actually compiling now and will let the status be known if it completes or not. As of right now everything looks like it is working fine with the swap enabled. Ralf Baechle wrote: > What kernel version have you been running? > > Ralf > > On Mon, Jul 10, 2000 at 02:48:35AM -0400, Jason Mesker wrote: > > > I am trying to compile vim and during the configure script exec I get an > > oops. > > > > > > > > > ksymoops 2.3.4 on sparc64 2.2.16. Options used > > -v ./vmlinux-0704b (specified) > > -K (specified) > > -L (specified) > > -O (specified) > > -m ./System.map-0704b.foo (specified) > > -t elf32-bigmips -a mips:4600 > > > > checking for opendir... Unable to handle kernel paging request at virtual address 0040dca0, epc == 88043190, ra == 88065748 > > Warning (Oops_read): Code line not seen, dumping what data is available > > > > Oops in fault.c:do_page_fault, line 158: > > init: 00000000 1000fc00 00000000 8fdc0010 > > : 8ac22f80 8ac22f80 0040dca0 8aaf9ee0 > > : 886867c4 00000000 ffffffe0 88686720 > > 2: 00000003 84000000 00000000 00000021 > > 6: 8853e868 8853e860 1000fc01 00000007 > > 0: 8aaf9ee0 8aaf9ee8 00000000 00000006 > > 4: 00000000 2abd4640 > > 8: 8aaf8000 8aaf9e18 00000180 88065748 > > > > >>RA; 88065748 > > > > epc: 88043190 > > Status: 1000fc02 > > Cause: 00000004 > > Process gcc (pid: 1266, stackpage=8aaf8000) > > Stack: 8aaf9ee0 8805a804 00000000 00000000 fffffff4 8be0dd80 8be0dd80 8aaf9ee8 > > 88065748 00000006 8805a7d8 8ac2d004 8aaf9ef8 8805a804 fffffff4 8be0dd80 > > 8be067c0 8aaf9ee8 8805b950 8be0dd80 8ac2d000 00000000 00000180 00000503 > > 8be06818 ffffffeb 8be0dd80 00000503 8805be3c 8805bd74 88195488 00000008 > > 00000000 88195484 00000001 88195144 00000502 00000502 00000180 8ac2d000 > > 00413f00 ... > > Call Trace: [<8805a804>] [<88065748>] [<8805a7d8>] [<8805a804>] [<8805b950>] [<8805be3c>] [<8805bd74>] [<8804a4d4>] [<8804a94c>] [<88010f68>] [<88010f68>] > > Code: 8ca20004 54400025 8e240008 8e220008 00c28023 40086000 3409ff00 01094024 > > > > >>PC; 0000000088043190 <===== > > Trace; 000000008805a804 > > Trace; 0000000088065748 > > Trace; 000000008805a7d8 > > Trace; 000000008805a804 > > Trace; 000000008805b950 > > Trace; 000000008805be3c > > Trace; 000000008805bd74 > > Trace; 000000008804a4d4 > > Trace; 000000008804a94c > > Trace; 0000000088010f68 > > Trace; 0000000088010f68 > > Code; 0000000088043184 > > 0000000000000000 <_PC>: > > Code; 0000000088043184 > > 0: 8ca20004 lw $v0,4($a1) > > Code; 0000000088043188 > > 4: 54400025 0x54400025 > > Code; 000000008804318c > > 8: 8e240008 lw $a0,8($s1) > > Code; 0000000088043190 <===== > > c: acc50000 sw $a1,0($a2) <===== > > Code; 0000000088043194 > > 10: 8e220008 lw $v0,8($s1) > > Code; 0000000088043198 > > 14: 00c28023 subu $s0,$a2,$v0 > > Code; 000000008804319c > > 18: 40086000 mfc0 $t0,$12 > > Code; 00000000880431a0 > > 1c: 3409ff00 li $t1,0xff00 > > Code; 00000000880431a4 > > 20: 01094024 and $t0,$t0,$t1 > > > > > > 1 warning issued. Results may not be reliable. > > Ralf From owner-linux-mips@oss.sgi.com Sun Jul 9 16:49:33 2000 Received: by oss.sgi.com id ; Sun, 9 Jul 2000 16:49:23 -0700 Received: from noose.gt.owl.de ([62.52.19.4]:3848 "HELO noose.gt.owl.de") by oss.sgi.com with SMTP id ; Sun, 9 Jul 2000 16:48:55 -0700 Received: by noose.gt.owl.de (Postfix, from userid 10) id 12D0A959; Mon, 10 Jul 2000 01:49:02 +0200 (CEST) Received: by paradigm.rfc822.org (Postfix, from userid 1000) id 900C08F73; Mon, 10 Jul 2000 01:18:46 +0200 (CEST) Date: Mon, 10 Jul 2000 01:18:46 +0200 From: Florian Lohoff To: linux-mips@oss.sgi.com Subject: current cvs binutils and mipsel-linux kernel Message-ID: <20000710011846.A1275@paradigm.rfc822.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i Organization: rfc822 - pure communication Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hi, it seems there is a problem in the binutils from current cvs ... mipsel-linux-gcc -D__KERNEL__ -I/home/flo/mips/dec/src/linux-2.4.0-test3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -mcpu=r4600 -mips2 -pipe -fno-strict-aliasing -c softfp.S -o softfp.o softfp.S: Assembler messages: softfp.S:225: Error: illegal operands `la' softfp.S:225: Error: unrecognized opcode `cvt' softfp.S:225: Error: Rest of line ignored. First ignored character is `.'. make[1]: *** [softfp.o] Error 1 make[1]: Leaving directory `/home/flo/mips/dec/src/linux-2.4.0-test3/arch/mips/kernel' make: *** [_dir_arch/mips/kernel] Error 2 (flo@ping)~/mips/dec/src/linux-2.4.0-test3# mipsel-linux-as --version GNU assembler 2.10.90 Copyright 2000 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `mipsel-linux'. This is cvs checkout as of 20000708 Flo -- Florian Lohoff flo@rfc822.org +49-5201-669912 "If you're not having fun right now, you're wasting your time." From owner-linux-mips@oss.sgi.com Sun Jul 9 20:46:13 2000 Received: by oss.sgi.com id ; Sun, 9 Jul 2000 20:46:04 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:17938 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Sun, 9 Jul 2000 20:45:49 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id UAA10775; Sun, 9 Jul 2000 20:45:46 -0700 Date: Sun, 9 Jul 2000 20:45:45 -0700 From: Keith M Wesolowski To: Florian Lohoff Cc: linux-mips@oss.sgi.com Subject: Re: current cvs binutils and mipsel-linux kernel Message-ID: <20000709204545.A10621@chem.unr.edu> References: <20000710011846.A1275@paradigm.rfc822.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000710011846.A1275@paradigm.rfc822.org>; from flo@rfc822.org on Mon, Jul 10, 2000 at 01:18:46AM +0200 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Mon, Jul 10, 2000 at 01:18:46AM +0200, Florian Lohoff wrote: > mipsel-linux-gcc -D__KERNEL__ -I/home/flo/mips/dec/src/linux-2.4.0-test3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -mcpu=r4600 -mips2 -pipe -fno-strict-aliasing -c softfp.S -o softfp.o > softfp.S: Assembler messages: > softfp.S:225: Error: illegal operands `la' > softfp.S:225: Error: unrecognized opcode `cvt' > softfp.S:225: Error: Rest of line ignored. First ignored character is `.'. > make[1]: *** [softfp.o] Error 1 > make[1]: Leaving directory `/home/flo/mips/dec/src/linux-2.4.0-test3/arch/mips/kernel' > make: *** [_dir_arch/mips/kernel] Error 2 This is not a binutils problem. It is caused by a behaviour change in the C preprocessor in gcc 2.96 >= 000703. This has been fixed in the CVS kernel; there are other changes required to build with such compilers available in my patch at ftp://oss.sgi.com/pub/linux/mips/mips-linux/simple/kernel-patches/kernel-newcpp-000707.diff. -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Mon Jul 10 03:00:47 2000 Received: by oss.sgi.com id ; Mon, 10 Jul 2000 03:00:27 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:20492 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 10 Jul 2000 03:00:06 -0700 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id CAA09781 for ; Mon, 10 Jul 2000 02:55:12 -0700 (PDT) mail_from (mortgage1@IPMailBag.com) From: mortgage1@IPMailBag.com Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id CAA73312 for ; Mon, 10 Jul 2000 02:58:28 -0700 (PDT) Received: from deliverator.sgi.com (deliverator.sgi.com [150.166.91.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id CAA84255; Mon, 10 Jul 2000 02:56:57 -0700 (PDT) mail_from (mortgage1@IPMailBag.com) Received: from www.IPMailBag.com (sdn-ar-006mnminnP266.dialsprint.net [168.191.108.196]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id CAA09606; Mon, 10 Jul 2000 02:51:52 -0700 (PDT) mail_from (mortgage1@IPMailBag.com) Subject: ADV: Great Mortgage Rates! Date: Mon, 10 Jul 2000 01:22:42 Message-Id: <249.286792.51324@www.IPMailBag.com> To: unlisted-recipients:; (no To-header on input) Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hello, to be removed from our mailing list, please visit http://www.mysites2000.com/finance/remove.html Dear Homeowner, We are a referral agency and our goal is to provide homeowners with lenders that fit your specific situation. We have hundreds of lenders throughout the U.S. that offer the lowest possible interest rates which means... One Super Low Monthly Payment! For more information and to find out about our FREE, NO OBLIGATION loan evaluation visit http://www.mysites2000.com/finance And YES... We Even Have Lenders That Will Loan You up to 125% of The Value of Your Home With Absolutely no Equity Needed. Best of all, there are NEVER any upfront fees or advances on your part. In other words... not one penny will ever come out of your pocket - so you've got nothing to lose! Utilize the loan for whatever you want: ---> A New Car ---> New Business ---> College Tuition ---> Taxes ---> Credit Cards ---> Vacation ---> Home Improvements ---> Or Anything Else You Want... The Choice is YOURS! For more information and to find out about our FREE, NO OBLIGATION loan evaluation visit http://www.mysites2000.com/finance From owner-linux-mips@oss.sgi.com Mon Jul 10 06:32:19 2000 Received: by oss.sgi.com id ; Mon, 10 Jul 2000 06:32:09 -0700 Received: from home135.liacs.nl ([132.229.210.135]:2308 "EHLO fog.mors.wiggy.net") by oss.sgi.com with ESMTP id ; Mon, 10 Jul 2000 06:31:56 -0700 Received: (from wichert@localhost) by fog.mors.wiggy.net (8.11.0.Beta1/8.10.1/Debian 8.10.1-1) id e67F3au00671 for linux-mips@oss.sgi.com; Fri, 7 Jul 2000 17:03:36 +0200 Date: Fri, 7 Jul 2000 17:03:36 +0200 From: Wichert Akkerman To: linux-mips@oss.sgi.com Subject: Re: Question concerning necessary libraries for 2.4.x kernel upgrade Message-ID: <20000707170336.G565@cistron.nl> Mail-Followup-To: linux-mips@oss.sgi.com References: <3964C025.623F7F5@ti.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Cgrdyab2wu3Akvjd" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3964C025.623F7F5@ti.com>; from jharrell@ti.com on Thu, Jul 06, 2000 at 11:21:41AM -0600 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing --Cgrdyab2wu3Akvjd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Previously Jeff Harrell wrote: > modutils 2.3.0 There is (and was) no such thing as modutils 2.3.0. Perhaps you mean modutils 2.3.10? Wichert. --=20 _________________________________________________________________ / Generally uninteresting signature - ignore at your convenience \ | wichert@wiggy.net http://www.liacs.nl/~wichert/ | | 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D | --Cgrdyab2wu3Akvjd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjll8UgACgkQPLiSUC+jvC1vLQCdHApmMKCF2zBVtbDh/L15+Yh/ ux8AoI/HoqMtlyho18PwIiL0Q40EucKR =vH9u -----END PGP SIGNATURE----- --Cgrdyab2wu3Akvjd-- From owner-linux-mips@oss.sgi.com Mon Jul 10 06:55:58 2000 Received: by oss.sgi.com id ; Mon, 10 Jul 2000 06:55:39 -0700 Received: from firewall.spacetec.no ([192.51.5.5]:20724 "EHLO pallas.spacetec.no") by oss.sgi.com with ESMTP id ; Mon, 10 Jul 2000 06:55:29 -0700 Received: (from tor@localhost) by pallas.spacetec.no (8.9.1a/8.9.1) id PAA04630; Mon, 10 Jul 2000 15:55:35 +0200 Message-Id: <200007101355.PAA04630@pallas.spacetec.no> From: tor@spacetec.no (Tor Arntsen) Date: Mon, 10 Jul 2000 15:55:34 +0200 In-Reply-To: Ralf Baechle "Re: Kernel boot tips." (Jul 9, 21:59) X-Mailer: Mail User's Shell (7.2.6 beta(4) 03/19/98) To: ralf@oss.sgi.com Subject: Re: Kernel boot tips. Cc: linux-mips@oss.sgi.com, linux-mips@vger.rutgers.edu, linux-mips@fnet.fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Jul 9, 21:59, Ralf Baechle wrote: >I've finally commited my rewrite of dvhtool into the CVS archive on >oss. It's not yet complete but hackers may be interested in taking a >look at it. [..] This looks great. Just for fun I did a quick compile under irix 6.5.8 on an SGI Octane, dvhtool --print-all and dvhtool --print-all /dev/rdsk/dksXXXvh worked fine. --vh-to-unix failed with 'Short read: Error 0', I assume this simply isn't finished yet (or maybe it doesn't work under irix). BTW it compiled fine with gcc as well as with the MIPSPro compiler (after replacing this little gcc'ism:) --- dvhlib.c.orig Fri Jul 7 04:24:53 2000 +++ dvhlib.c Mon Jul 10 15:43:51 2000 @@ -40,7 +40,7 @@ case PTYPE_XFS: return "XFS"; case PTYPE_XFSLOG: return "XFS Log"; case PTYPE_XLV: return "XLV Volume"; - case 13 ... 15: return "Unknown Partition Type"; + default: return "Unknown Partition Type"; } return "Invalid Type"; From owner-linux-mips@oss.sgi.com Mon Jul 10 07:41:28 2000 Received: by oss.sgi.com id ; Mon, 10 Jul 2000 07:41:18 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:46340 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Mon, 10 Jul 2000 07:41:04 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id HAA21365; Mon, 10 Jul 2000 07:41:01 -0700 Date: Mon, 10 Jul 2000 07:41:01 -0700 From: Keith M Wesolowski To: "J. Scott Kasten" Cc: linux-mips@oss.sgi.com Subject: Re: GDB question. Message-ID: <20000710074101.A21121@chem.unr.edu> References: <20000707083452.A9987@chem.unr.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from jsk@tetracon-eng.net on Mon, Jul 10, 2000 at 10:00:13AM -0300 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Mon, Jul 10, 2000 at 10:00:13AM -0300, J. Scott Kasten wrote: > Was not able to native compile any GDB from 4.16 to 5.0. The ./configure > script always complains "arch not supported". It looks like I'll have to > try the version at the URL you mention above. > > Note: detected arch was "mips-unknown-linux-gnu" which would seem correct. For 4.1x you should get it from CVS on oss.sgi.com. For 5.0 you will need the Maciej patches (see mailing list archives); you can get them at ftp://oss.sgi.com/pub/linux/mips/mips-linux/simple/userland-0.2a/src/gdb*, or originals at http://www.ds2.pg.gda.pl/~macro/. -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Mon Jul 10 07:59:29 2000 Received: by oss.sgi.com id ; Mon, 10 Jul 2000 07:59:19 -0700 Received: from noose.gt.owl.de ([62.52.19.4]:43012 "HELO noose.gt.owl.de") by oss.sgi.com with SMTP id ; Mon, 10 Jul 2000 07:58:54 -0700 Received: by noose.gt.owl.de (Postfix, from userid 10) id D55CEBC8; Mon, 10 Jul 2000 16:58:55 +0200 (CEST) Received: by paradigm.rfc822.org (Postfix, from userid 1000) id 231D08F73; Mon, 10 Jul 2000 16:42:14 +0200 (CEST) Date: Mon, 10 Jul 2000 16:42:14 +0200 From: Florian Lohoff To: linux-mips@oss.sgi.com Subject: Decstation R4000 Kernel 2.4.0-test3-pre7 available Message-ID: <20000710164214.C2503@paradigm.rfc822.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i Organization: rfc822 - pure communication Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hi, after i figured out how to build the current kernel with current binutils/cvs - There is now a binary image for R4k decstations available at ftp://ftp.rfc822.org/pub/local/debian-mips/kernel Flo -- Florian Lohoff flo@rfc822.org +49-5201-669912 "If you're not having fun right now, you're wasting your time." From owner-linux-mips@oss.sgi.com Mon Jul 10 13:31:00 2000 Received: by oss.sgi.com id ; Mon, 10 Jul 2000 13:30:41 -0700 Received: from u-113.karlsruhe.ipdial.viaginterkom.de ([62.180.18.113]:46598 "EHLO u-113.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Mon, 10 Jul 2000 13:30:26 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Mon, 10 Jul 2000 19:29:19 +0200 Date: Mon, 10 Jul 2000 19:29:18 +0200 From: Ralf Baechle To: Florian Lohoff Cc: linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu Subject: Re: current cvs binutils and mipsel-linux kernel Message-ID: <20000710192918.A5900@bacchus.dhis.org> References: <20000710011846.A1275@paradigm.rfc822.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000710011846.A1275@paradigm.rfc822.org>; from flo@rfc822.org on Mon, Jul 10, 2000 at 01:18:46AM +0200 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Mon, Jul 10, 2000 at 01:18:46AM +0200, Florian Lohoff wrote: > it seems there is a problem in the binutils from current cvs ... > > mipsel-linux-gcc -D__KERNEL__ -I/home/flo/mips/dec/src/linux-2.4.0-test3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -mcpu=r4600 -mips2 -pipe -fno-strict-aliasing -c softfp.S -o softfp.o > softfp.S: Assembler messages: > softfp.S:225: Error: illegal operands `la' > softfp.S:225: Error: unrecognized opcode `cvt' > softfp.S:225: Error: Rest of line ignored. First ignored character is `.'. > make[1]: *** [softfp.o] Error 1 > make[1]: Leaving directory `/home/flo/mips/dec/src/linux-2.4.0-test3/arch/mips/kernel' > make: *** [_dir_arch/mips/kernel] Error 2 You're probably also using a very recent gcc. Recent gcc had preprocessor changes to make it more stricly comply to ISO. This breaks a number of files in the Linux kernel which for readability have extra space around the ## C preprocessor paste. I've already commited the necessary fixes for softfp.S which is the only affected MIPS file to CVS. There is still a large number of other files which aren't ISO C89 compliant. Keith Wesolowski has made a patch for those which I'll send to Linus. Ralf From owner-linux-mips@oss.sgi.com Mon Jul 10 13:44:51 2000 Received: by oss.sgi.com id ; Mon, 10 Jul 2000 13:44:31 -0700 Received: from styx.cs.kuleuven.ac.be ([134.58.40.3]:44182 "EHLO styx.cs.kuleuven.ac.be") by oss.sgi.com with ESMTP id ; Mon, 10 Jul 2000 13:44:16 -0700 Received: from cassiopeia.home (root@dialup006.cs.kuleuven.ac.be [134.58.47.135]) by styx.cs.kuleuven.ac.be (8.10.1/8.10.1) with ESMTP id e6AKhrA08806; Mon, 10 Jul 2000 22:43:54 +0200 (MET DST) Received: from localhost (geert@localhost) by cassiopeia.home (8.9.3/8.9.3/Debian/GNU) with ESMTP id NAA00567; Mon, 10 Jul 2000 13:46:17 +0200 X-Authentication-Warning: cassiopeia.home: geert owned process doing -bs Date: Mon, 10 Jul 2000 13:46:17 +0200 (CEST) From: Geert Uytterhoeven To: Jason Mesker cc: Ralf Baechle , "debian-mips@lists.debian.org" , "linux-mips@fnet.fr" , "linux-mips@oss.sgi.com" , "linux-mips@vger.rutgers.edu" Subject: Re: R5000 oops In-Reply-To: <396978F7.A309E715@tool.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Mon, 10 Jul 2000, Jason Mesker wrote: > I am running kernel version: 2.4.0 test 3 pre 2. I am useing wesolows vmlinux-0704b kernel. > > I think I have found the problem though. I was running the system without swap and with 64Megs of RAM. I added around 20 megs of swap space and did the > configure again and it worked fine. I am actually compiling now and will let the status be known if it completes or not. As of right now everything looks > like it is working fine with the swap enabled. I suspect that's not the problem, though. 64 MB of RAM should not be exhausted that fast. I saw lots of similar oopses on the NEC DDB Vrc-5074 with various 2.3.x kernels. Other people reported similar oopses with other machines. And the common factor is the R5000. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- Linux/{m68k~Amiga,PPC~CHRP} -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds From owner-linux-mips@oss.sgi.com Mon Jul 10 13:49:51 2000 Received: by oss.sgi.com id ; Mon, 10 Jul 2000 13:49:31 -0700 Received: from ns.snowman.net ([63.80.4.34]:18707 "EHLO ns.snowman.net") by oss.sgi.com with ESMTP id ; Mon, 10 Jul 2000 13:49:17 -0700 Received: from localhost (nick@localhost) by ns.snowman.net (8.9.1a/8.9.0) with ESMTP id RAA23762; Mon, 10 Jul 2000 17:52:58 -0400 Date: Mon, 10 Jul 2000 17:52:57 -0400 (EDT) From: To: Geert Uytterhoeven cc: Jason Mesker , Ralf Baechle , "debian-mips@lists.debian.org" , "linux-mips@fnet.fr" , "linux-mips@oss.sgi.com" , "linux-mips@vger.rutgers.edu" Subject: Re: R5000 oops In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing I have a R5k indy with 128meg and 2x2gig disks that I can test on. It's currently running irix, but i've been meaning to install linux on it. If one of you can tell me what I should test/test for I'd be willing to try. Nick On Mon, 10 Jul 2000, Geert Uytterhoeven wrote: > On Mon, 10 Jul 2000, Jason Mesker wrote: > > I am running kernel version: 2.4.0 test 3 pre 2. I am useing wesolows vmlinux-0704b kernel. > > > > I think I have found the problem though. I was running the system without swap and with 64Megs of RAM. I added around 20 megs of swap space and did the > > configure again and it worked fine. I am actually compiling now and will let the status be known if it completes or not. As of right now everything looks > > like it is working fine with the swap enabled. > > I suspect that's not the problem, though. 64 MB of RAM should not be exhausted > that fast. > > I saw lots of similar oopses on the NEC DDB Vrc-5074 with various 2.3.x > kernels. Other people reported similar oopses with other machines. And the > common factor is the R5000. > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- Linux/{m68k~Amiga,PPC~CHRP} -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds > From owner-linux-mips@oss.sgi.com Mon Jul 10 15:53:51 2000 Received: by oss.sgi.com id ; Mon, 10 Jul 2000 15:53:42 -0700 Received: from u-113.karlsruhe.ipdial.viaginterkom.de ([62.180.18.113]:62982 "EHLO u-113.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Mon, 10 Jul 2000 15:53:23 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Tue, 11 Jul 2000 00:53:16 +0200 Date: Tue, 11 Jul 2000 00:53:15 +0200 From: Ralf Baechle To: Tor Arntsen Cc: linux-mips@oss.sgi.com, linux-mips@vger.rutgers.edu, linux-mips@fnet.fr Subject: Re: Kernel boot tips. Message-ID: <20000711005315.A24256@bacchus.dhis.org> References: <200007101355.PAA04630@pallas.spacetec.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200007101355.PAA04630@pallas.spacetec.no>; from tor@spacetec.no on Mon, Jul 10, 2000 at 03:55:34PM +0200 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Mon, Jul 10, 2000 at 03:55:34PM +0200, Tor Arntsen wrote: > This looks great. Just for fun I did a quick compile under irix 6.5.8 on > an SGI Octane, dvhtool --print-all and dvhtool --print-all /dev/rdsk/dksXXXvh > worked fine. --vh-to-unix failed with 'Short read: Error 0', I assume this > simply isn't finished yet (or maybe it doesn't work under irix). It was actually developed under with gcc under IRIX and I can't even remember having tested it under anything else. It's a while that I last worked on it but as I remember --vh-to-unix was actually working while the other direction was work in progress. Maybe some nroff fan also wants to provide a manpage? > BTW it compiled fine with gcc as well as with the MIPSPro compiler (after > replacing this little gcc'ism:) Patch applied. Ralf From owner-linux-mips@oss.sgi.com Tue Jul 11 15:27:13 2000 Received: by oss.sgi.com id ; Tue, 11 Jul 2000 15:27:04 -0700 Received: from firewall.spacetec.no ([192.51.5.5]:10736 "EHLO pallas.spacetec.no") by oss.sgi.com with ESMTP id ; Tue, 11 Jul 2000 15:26:50 -0700 Received: (from tor@localhost) by pallas.spacetec.no (8.9.1a/8.9.1) id QAA08466; Tue, 11 Jul 2000 16:19:18 +0200 Message-Id: <200007111419.QAA08466@pallas.spacetec.no> From: tor@spacetec.no (Tor Arntsen) Date: Tue, 11 Jul 2000 16:19:18 +0200 In-Reply-To: Ralf Baechle "Re: Kernel boot tips." (Jul 10, 23:53) X-Mailer: Mail User's Shell (7.2.6 beta(4) 03/19/98) To: Ralf Baechle Subject: Re: Kernel boot tips. Cc: linux-mips@oss.sgi.com, linux-mips@vger.rutgers.edu, linux-mips@fnet.fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Jul 10, 23:53, Ralf Baechle wrote: [...] >It's a while that I last worked on it but as I remember --vh-to-unix was >actually working while the other direction was work in progress. It is indeed working, I was merely using it incorrectly (I had specified the device as I do with the SGI dvhtool instead of using -d). >Maybe some nroff fan also wants to provide a manpage? I can do it if nobody else beats me to it. -Tor From owner-linux-mips@oss.sgi.com Tue Jul 11 15:28:13 2000 Received: by oss.sgi.com id ; Tue, 11 Jul 2000 15:28:04 -0700 Received: from styx.cs.kuleuven.ac.be ([134.58.40.3]:167 "EHLO styx.cs.kuleuven.ac.be") by oss.sgi.com with ESMTP id ; Tue, 11 Jul 2000 15:27:46 -0700 Received: from cassiopeia.home (root@dialup005.cs.kuleuven.ac.be [134.58.47.134]) by styx.cs.kuleuven.ac.be (8.10.1/8.10.1) with ESMTP id e6BCneA12233; Tue, 11 Jul 2000 14:49:40 +0200 (MET DST) Received: from localhost (geert@localhost) by cassiopeia.home (8.9.3/8.9.3/Debian/GNU) with ESMTP id OAA00581; Tue, 11 Jul 2000 14:35:00 +0200 X-Authentication-Warning: cassiopeia.home: geert owned process doing -bs Date: Tue, 11 Jul 2000 14:34:59 +0200 (CEST) From: Geert Uytterhoeven To: nick@ns.snowman.net cc: Jason Mesker , Ralf Baechle , "debian-mips@lists.debian.org" , "linux-mips@fnet.fr" , "linux-mips@oss.sgi.com" , "linux-mips@vger.rutgers.edu" Subject: Re: R5000 oops In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Mon, 10 Jul 2000 nick@ns.snowman.net wrote: > I have a R5k indy with 128meg and 2x2gig disks that I can test on. It's > currently running irix, but i've been meaning to install linux on it. If > one of you can tell me what I should test/test for I'd be willing to try. Just stress test the box and you'll see. > On Mon, 10 Jul 2000, Geert Uytterhoeven wrote: > > On Mon, 10 Jul 2000, Jason Mesker wrote: > > > I am running kernel version: 2.4.0 test 3 pre 2. I am useing wesolows vmlinux-0704b kernel. > > > > > > I think I have found the problem though. I was running the system without swap and with 64Megs of RAM. I added around 20 megs of swap space and did the > > > configure again and it worked fine. I am actually compiling now and will let the status be known if it completes or not. As of right now everything looks > > > like it is working fine with the swap enabled. > > > > I suspect that's not the problem, though. 64 MB of RAM should not be exhausted > > that fast. > > > > I saw lots of similar oopses on the NEC DDB Vrc-5074 with various 2.3.x > > kernels. Other people reported similar oopses with other machines. And the > > common factor is the R5000. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds From owner-linux-mips@oss.sgi.com Tue Jul 11 15:44:14 2000 Received: by oss.sgi.com id ; Tue, 11 Jul 2000 15:44:04 -0700 Received: from inet-tsb.toshiba.co.jp ([202.33.96.40]:57254 "EHLO inet-tsb.toshiba.co.jp") by oss.sgi.com with ESMTP id ; Tue, 11 Jul 2000 15:43:43 -0700 Received: from tis2.tis.toshiba.co.jp (tis2 [133.199.160.66]) by inet-tsb.toshiba.co.jp (3.7W:TOSHIBA-ISC-2000030918) with ESMTP id VAA00445; Tue, 11 Jul 2000 21:58:54 +0900 (JST) Received: from mx.toshiba.co.jp by tis2.tis.toshiba.co.jp (8.8.4+2.7Wbeta4/3.3W9-95082317) id VAA09717; Tue, 11 Jul 2000 21:58:53 +0900 (JST) Received: by toshiba.co.jp (8.7.1+2.6Wbeta4/3.3W9-TOSHIBA-GLOBAL SERVER) id VAA23473; Tue, 11 Jul 2000 21:58:52 +0900 (JST) To: linux-mips@oss.sgi.com, linux-mips@vger.rutgers.edu, linux-mips@fnet.fr Subject: div overflow X-Mailer: Mew version 1.94.2 on Emacs 20.6 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <200007111258.VAA23473@toshiba.co.jp> Date: Tue, 11 Jul 2000 21:58:47 +0900 From: Hiroo HAYASHI X-Dispatcher: imput version 20000228(IM140) Lines: 33 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing In MIPS architecture, is the result of 0x80000000/-1 undefined? The operands of DIV instruction 32bit signed int. 0x7fff_ffff = 2,147,483,647 (INT_MAX) 0x8000_0000 = -2,147,483,648 (INT_MIN) limits.h defines them as; > /* Minimum and maximum values a `signed int' can hold. */ > # define INT_MIN (- INT_MAX - 1) > # define INT_MAX 2147483647 0x8000_0000 / 0xffff_ffff = -2,147,483,648 / -1 = 2,147,483,648 > INT_MAX But the description of the DIV instruction of MIPS RISC Architecture (Kane and Heinrich) says; No overflow exception occurs under any circumstances, and the result of this operation is undefined when the divisor is zero. According to 'See MIPS Run', P.186, MIPS assembler expands a div instruction to an instruction sequence in which these condition are checked. Do all MIPS assemblers do this? Any information is welcome. Thank you. ------------- Hiroo Hayashi System LSI Architecture Dept. Computer on Silicon Development Center TOSHIBA Corporation From owner-linux-mips@oss.sgi.com Tue Jul 11 16:57:54 2000 Received: by oss.sgi.com id ; Tue, 11 Jul 2000 16:57:34 -0700 Received: from u-215.karlsruhe.ipdial.viaginterkom.de ([62.180.10.215]:31751 "EHLO u-215.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Tue, 11 Jul 2000 16:57:18 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Wed, 12 Jul 2000 01:57:16 +0200 Date: Wed, 12 Jul 2000 01:57:16 +0200 From: Ralf Baechle To: Tor Arntsen Cc: linux-mips@oss.sgi.com, linux-mips@vger.rutgers.edu, linux-mips@fnet.fr Subject: Re: Kernel boot tips. Message-ID: <20000712015716.C4606@bacchus.dhis.org> References: <200007111419.QAA08466@pallas.spacetec.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200007111419.QAA08466@pallas.spacetec.no>; from tor@spacetec.no on Tue, Jul 11, 2000 at 04:19:18PM +0200 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Tue, Jul 11, 2000 at 04:19:18PM +0200, Tor Arntsen wrote: > On Jul 10, 23:53, Ralf Baechle wrote: > [...] > >It's a while that I last worked on it but as I remember --vh-to-unix was > >actually working while the other direction was work in progress. > > It is indeed working, I was merely using it incorrectly (I had specified > the device as I do with the SGI dvhtool instead of using -d). > > >Maybe some nroff fan also wants to provide a manpage? > > I can do it if nobody else beats me to it. While still somewhat inaccurate the manpage is still a big improvment over the current Read-The-Fucking-Source state of things, so I've applied it. Ralf From owner-linux-mips@oss.sgi.com Wed Jul 12 07:32:37 2000 Received: by oss.sgi.com id ; Wed, 12 Jul 2000 07:32:28 -0700 Received: from noose.gt.owl.de ([62.52.19.4]:46088 "HELO noose.gt.owl.de") by oss.sgi.com with SMTP id ; Wed, 12 Jul 2000 07:32:10 -0700 Received: by noose.gt.owl.de (Postfix, from userid 10) id 8F944894; Wed, 12 Jul 2000 16:32:13 +0200 (CEST) Received: by paradigm.rfc822.org (Postfix, from userid 1000) id AA03A8F73; Wed, 12 Jul 2000 16:31:39 +0200 (CEST) Date: Wed, 12 Jul 2000 16:31:39 +0200 From: Florian Lohoff To: debian-mips@lists.debian.org, linux-mips@oss.sgi.com Subject: mips glibc 2.1.91 debian packages available Message-ID: <20000712163139.A1813@paradigm.rfc822.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i Organization: rfc822 - pure communication Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hi, i have successfully build the debian source packages for glibc 2.1.91 (2.2. alpha) They are available from ftp://ftp.rfc822.org/pub/local/debian-mips/experimental I havent tried to use them right now ... YMMV Flo -- Florian Lohoff flo@rfc822.org +49-5201-669912 "If you're not having fun right now, you're wasting your time." From owner-linux-mips@oss.sgi.com Wed Jul 12 09:27:58 2000 Received: by oss.sgi.com id ; Wed, 12 Jul 2000 09:27:48 -0700 Received: from u-132.karlsruhe.ipdial.viaginterkom.de ([62.180.10.132]:47367 "EHLO u-132.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Wed, 12 Jul 2000 09:27:37 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Wed, 12 Jul 2000 18:08:00 +0200 Date: Wed, 12 Jul 2000 18:08:00 +0200 From: Ralf Baechle To: Hiroo HAYASHI Cc: linux-mips@oss.sgi.com, linux-mips@vger.rutgers.edu, linux-mips@fnet.fr Subject: Re: div overflow Message-ID: <20000712180800.C32169@bacchus.dhis.org> References: <200007111258.VAA23473@toshiba.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200007111258.VAA23473@toshiba.co.jp>; from hiroo.hayashi@toshiba.co.jp on Tue, Jul 11, 2000 at 09:58:47PM +0900 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Tue, Jul 11, 2000 at 09:58:47PM +0900, Hiroo HAYASHI wrote: > In MIPS architecture, is the result of 0x80000000/-1 undefined? > > The operands of DIV instruction 32bit signed int. > > 0x7fff_ffff = 2,147,483,647 (INT_MAX) > 0x8000_0000 = -2,147,483,648 (INT_MIN) > > limits.h defines them as; > > > /* Minimum and maximum values a `signed int' can hold. */ > > # define INT_MIN (- INT_MAX - 1) > > # define INT_MAX 2147483647 > > 0x8000_0000 / 0xffff_ffff = -2,147,483,648 / -1 = 2,147,483,648 > INT_MAX Worse - you're using signed numbers, so 2,147,483,648 is actually -2,147,483,648 which is smaller than INT_MAX. The death trap in two's complement arithmetic. > But the description of the DIV instruction of MIPS RISC Architecture > (Kane and Heinrich) says; > > No overflow exception occurs under any circumstances, and the > result of this operation is undefined when the divisor is zero. Correct. Note that sometimes it's somewhat confusing which instructions are macro instructions and which the pure machine instruction on MIPS. In this particular case > According to 'See MIPS Run', P.186, MIPS assembler expands a div > instruction to an instruction sequence in which these condition are > checked. Do all MIPS assemblers do this? At least I don't know any exceptions. This is how the GNU assembler expands div $2, $3, $4 when assembled with -O3 -mips4 --trap: 0: 0064001a div $zero,$v1,$a0 4: 00800034 teq $a0,$zero 8: 2401ffff li $at,-1 c: 14810002 bne $a0,$at,18 10: 3c018000 lui $at,0x8000 14: 00610034 teq $v1,$at 18: 00001012 mflo $v0 1c: 00000000 nop As you see the code tries to handle the special cases division by zero and division of 0x80000000 / -1. Also fairly bulky macro expansion - and the MIPS I macro is even heavier. If you want to disable this you have to use the div / divu / ddiv / ddivu instructions with $0 as the first argument and do the mflo yourself. Which reminds me that I intend to use --trap as an optimization since a long time. Compiling the default Origin kernel with and without --trap text data bss dec hex filename 1276100 321624 204396 1802120 1b7f88 vmlinux 1274404 321624 204396 1800424 1b78e8 vmlinux.trap Quite impressive difference for all most zero effort to implement ... Ralf From owner-linux-mips@oss.sgi.com Wed Jul 12 13:20:08 2000 Received: by oss.sgi.com id ; Wed, 12 Jul 2000 13:19:58 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:49184 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 12 Jul 2000 13:19:36 -0700 Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id NAA29979 for ; Wed, 12 Jul 2000 13:12:14 -0700 (PDT) mail_from (jsk@tetracon-eng.net) Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id QAA18374; Wed, 12 Jul 2000 16:12:59 -0300 Date: Wed, 12 Jul 2000 16:12:59 -0300 From: "J. Scott Kasten" To: Guido Guenther cc: linux-mips@oss.sgi.com Subject: Re: XFree 4.0.1 on mips, mipsel In-Reply-To: <20000623181736.A13410@bert.physik.uni-konstanz.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Fri, 23 Jun 2000, Guido Guenther wrote: > I've submitted several patches to the XFree-Project to include at least > basic support for mips/mipsel architecture. These are based on previous > work done by Ralf Baechle, Ulf Carlson, Gleb O. Reiko & Nina A. > Podolskaya. I hope I didn't break anything. > The patches are known to work on the Indy but are AFAIK untested on other > mips machines and appear in the alpha version of xfree which can be checked > out of the repository at sourceforge, see: http://www.xfree86.org/cvs/ > Regards, > -- Guido Question. What did you use for your site.def/host.def? I added this: #define LinuxDistribution LinuxUnknown Got this after the Imake boot straped itself: Building on Linux 2.2.14 mips [ELF] (2.2.14). Linux Distribution: Unknown libc version: 6.0.6 binutils version: 2.9 It more or less ran through to completion. After installing the libs and some aps, updating the ld.so.conf path, ldconfig, etc... I cannot run any of the /usr/X11R6/bin utilities. They all bus error, which sounds like a data alignment issue or library problem. (I really don't care about the X server build, I just want the LIBRARIES.) ldd shows apparently successful library resolution and the magic numbers on the files show proper endianness, CPU target type, etc... I'm using the Simple Linux 0.1 distro as the base. My questions are: #1 Is there more to the configuration than this? #2 I downloaded the 4.0.1 src tarballs (3 of them), should those include your patches already, or do I need to get and add those before I can build successfully? Thanks. -S- From owner-linux-mips@oss.sgi.com Wed Jul 12 16:38:48 2000 Received: by oss.sgi.com id ; Wed, 12 Jul 2000 16:38:29 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:55603 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 12 Jul 2000 16:38:06 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id QAA04212 for ; Wed, 12 Jul 2000 16:43:48 -0700 (PDT) mail_from (mtcm@bolt.com) Received: from deliverator.sgi.com (deliverator.sgi.com [150.166.91.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id QAA15031 for ; Wed, 12 Jul 2000 16:37:59 -0700 (PDT) mail_from (mtcm@bolt.com) Received: from ns.tomos.co.jp (ns.tomos.co.jp [210.170.78.162]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id QAA12226 for ; Wed, 12 Jul 2000 16:30:28 -0700 (PDT) mail_from (mtcm@bolt.com) Received: from host by ns.tomos.co.jp (2.5 Build 2630 (Berkeley 8.8.6)/8.8.4) with ESMTP id IAA09569; Thu, 13 Jul 2000 08:39:57 +0900 Message-Id: <200007122339.IAA09569@ns.tomos.co.jp> From: "Dawn Bradley" Subject: Invite... #2853 To: club39d@ns.tomos.co.jp X-Mailer: DiffondiCool V3,1,6,0 (W95/NT) (Build: Oct 18 1999) Mime-Version: 1.0 Date: Wed, 12 Jul 2000 19:18:11 -0500 Content-Type: multipart/mixed; boundary="----=_NextPart_000_007F_01BDF6C7.FABAC1B0" Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing This is a MIME Message ------=_NextPart_000_007F_01BDF6C7.FABAC1B0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0080_01BDF6C7.FABAC1B0" ------=_NextPart_001_0080_01BDF6C7.FABAC1B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ***** This is an HTML Message ! ***** ------=_NextPart_001_0080_01BDF6C7.FABAC1B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Executive Guild Membership ApplicationResponse-O-Matic Form Dear Candidate,

You were recently selected by The Office of the Managing
Director for a free listing on The International Executive
Who's Who=2E

Our Researchers gather information from many recognized
sources, including professional associations and societies,
trade organizations, newspaper and magazine articles,
professional reference publications, web presence, and
referrals from existing members=2E

As a highly respected professional in your field of
expertise, we believe your contributions merit very
serious consideration for inclusion on The International
Executive Who's Who=2E  To maintain the highest
level of accuracy, we ask you fill out the brief bit of
information below required for inclusion=2E

There is no cost or obligation to be listed on The
International Executive Who's Who=2E
 

My Sincere Thanks,

Lorraine A=2E Michaels
Office Of Managing Director



The International Executive Who's Who is not affiliated or associated with Marquis Who's Who=2E


If you wish to be removed from our list, please submit your request
at the bottom of this email=2E

International Executive Who's Who
Registration Form
(US and Canada Only)

Please fill out this form if you would like to be included on The International Executive Who's Who=2E For accuracy and publication purposes, please complete and send this form at the earliest opportunity=2E There is no charge or obligation to be listed on The International Executive Who's Who=2E

Your Name
Your Company
Title
Address
City
State or Province
Country
ZIP/Postal Code
Day Time Telephone
Home Phone
(Not To Be Published)
Email


TO HELP US IN CONSIDERING YOUR APPLICATION, PLEASE TELL US A LITTLE ABOUT YOURSELF=2E=2E=2E

Your Business
(Financial Svcs, Banking, Computer Hardware, Software, Professional Svcs, Chemicals, Apparel, Aerospace, Food, Government, Utility, etc=2E)
Type of Organization
(M= fg, Dist/Wholesaler, Retailer, Law Firm,
Investment Bank, Commercial Bank, University,
Financial Consultants, Ad Agency, Contractor, Broker, etc=2E)
Your Business Expertise
(Corp=2EMgmt, Marketing, Civil Engineering,
Tax Law, Nuclear Physics, Database Development, Operations, Pathologist, Mortgage Banking, etc=2E)
Major Product Line
(Integrated Circuits, Commercial Aircraft, Adhesives, Cosmetics, Plastic Components, Snack Foods, etc=2E)


Note: Submitting this form= will be made by email, not by use of www=2E  Confirmation of its delivery= is made by browsing your outgoing mail=2E


Thank you for filling in this form, we will contact you with more information=2E


The International Executive is not affiliated or associated with Marquis Who's Who=2E


List Removal
Click Here
------=_NextPart_001_0080_01BDF6C7.FABAC1B0-- ------=_NextPart_000_007F_01BDF6C7.FABAC1B0-- From owner-linux-mips@oss.sgi.com Thu Jul 13 00:16:41 2000 Received: by oss.sgi.com id ; Thu, 13 Jul 2000 00:16:22 -0700 Received: from rno-dsl0b-218.gbis.net ([216.82.145.218]:40202 "EHLO ozymandias.foobazco.org") by oss.sgi.com with ESMTP id ; Thu, 13 Jul 2000 00:15:53 -0700 Received: (from wesolows@localhost) by ozymandias.foobazco.org (8.9.3/8.9.3) id AAA27586 for linux-mips@oss.sgi.com; Thu, 13 Jul 2000 00:16:01 -0700 Date: Thu, 13 Jul 2000 00:16:01 -0700 From: Keith M Wesolowski To: linux-mips@oss.sgi.com Subject: Simple Linux/MIPS 0.2b Message-ID: <20000713001601.A27565@foobazco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Simple Linux/MIPS 0.2b ``Death on a Stick'' has been released. *** This is not a production release *** This version runs on big-endian MIPS systems and has been tested on R4400 SGI IP22. You can obtain the distribution from the following location: MANDATORY Release Notes: ftp://oss.sgi.com/pub/linux/mips/mips-linux/simple/userland-0.2b/RELEASE_NOTES-0.2b Binaries: ftp://oss.sgi.com/pub/linux/mips/mips-linux/simple/userland-0.2b/bin There are also some patches in the src/ directory. I have lost some of my patches but will be recreating them and making them available at that location as well. Also included is a summary of the commands used to build the distribution. Highlights: - glibc 2.1.90 (000622) based - with empty symbol fix from Maciej - gcc 2.96 (000707) - binutils 2.10.90 (000707) - linux 2.4.0-test3-pre5 (000708) - support for profiling - full netkit and net-tools - gdb 5.0 - ncurses 5.1 - kernel debugging tools - numerous bugs fixed - numerous new bugs Please read the release notes before using. Installation instructions for 0.1, which should still work in general, can be found at http://foobazco.org/~wesolows/Install-HOWTO.html. Thanks to everyone who has been submitting patches, fixing bugs, writing the software, and in general making this distribution possible. This will be the last release for at least 6 weeks. Happy hacking! -- Keith M Wesolowski http://foobazco.org/~wesolows/ (( Project Foobazco Coordinator and Network Administrator )) aiieeeeeeee! "The list of people so amazingly stupid they can't even tie their shoes?" "Yeah, you know, /etc/passwd." From owner-linux-mips@oss.sgi.com Thu Jul 13 08:07:36 2000 Received: by oss.sgi.com id ; Thu, 13 Jul 2000 08:07:26 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:58892 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 13 Jul 2000 08:07:01 -0700 Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id HAA28484 for ; Thu, 13 Jul 2000 07:59:40 -0700 (PDT) mail_from (jsk@tetracon-eng.net) Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id KAA20284; Thu, 13 Jul 2000 10:58:48 -0300 Date: Thu, 13 Jul 2000 10:58:48 -0300 From: "J. Scott Kasten" To: Keith M Wesolowski cc: linux-mips@oss.sgi.com Subject: Re: Simple Linux/MIPS 0.2b In-Reply-To: <20000713001601.A27565@foobazco.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, 13 Jul 2000, Keith M Wesolowski wrote: > Simple Linux/MIPS 0.2b ``Death on a Stick'' has been released. Fantastic! I've had great success with release 0.1 on an Indy. Perhaps it's almost too stable for my blood. Need to go play with fire! ;-) Actually, I do have a question for any of you that have been doing builds. I seem to be having some interesting problems with shared object libraries. I'm using S-L-M 0.1 on an Indy as a development/test bed for code that will eventually end up in an embedded vrXXXX system. (I've already verified that the binaries are portable.) However, I am having difficulty on the Indy itself. NONE of the shared objects that I build on that box can be used by programs on that box. Yes, I either placed them in /lib or /usr/lib or built a proper ld.so.cache file for them. The ldd utility can resolve the libraries, etc... However, every program built on that box against libraries that I built on that box exits with an immediate bus error. It appears to be an issue with the libraries themselves. If I scavenge the equivalent libraries from the Hard Hat 5.1 distro and drop them in place, everything seems happy and works fine. Thus, there's something funky about the so's I'm building myself. I've tried building the XFree 4.0.1 libraries, Lesstiff libraries, and libraries from our own code base. All breaks the same way. #1 What form of black magic are you guys using to do this? #2 Are there specific compiler flags/phases that should/shouldn't be used with MIPS arch so's that are different than what I'd normally do under Linux? #3 Should I be trying to cross compile the so's them selves instead of native builds? #4 Are you using different flavors of gcc/binutils to do different jobs because of known breakages? Any tips appreciated here. In the mean, I'm going to start playing with flags. Sincerely, -JSK- From owner-linux-mips@oss.sgi.com Thu Jul 13 10:58:57 2000 Received: by oss.sgi.com id ; Thu, 13 Jul 2000 10:58:47 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:61201 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 13 Jul 2000 10:58:32 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id LAA09606 for ; Thu, 13 Jul 2000 11:04:13 -0700 (PDT) mail_from (thecenter@outgun.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id KAA68529 for ; Thu, 13 Jul 2000 10:58:08 -0700 (PDT) Received: from deliverator.sgi.com (deliverator.sgi.com [150.166.91.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id KAA84391 for ; Thu, 13 Jul 2000 10:56:30 -0700 (PDT) mail_from (thecenter@outgun.com) Received: from gob_nt.nl.gob.mx ([200.23.40.9]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id KAA03458 for ; Thu, 13 Jul 2000 10:48:59 -0700 (PDT) mail_from (thecenter@outgun.com) Received: from localhost ([216.8.14.36]) by gob_nt.nl.gob.mx (Lotus SMTP MTA v4.6.6 (890.1 7-16-1999)) with SMTP id 8625691B.00622A7C; Thu, 13 Jul 2000 12:52:18 -0500 Date: Thu, 13 Jul 2000 10:54:11 -0800 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7BIT To: camelback@zeeks.com From: WhiskersToo@ratt-n-roll.com Message-Id: X-Mailer: Microsoft Outlook Express 4.72.3110.1 Subject: Sweet Sensations from Increased Sexual Satisfaction! Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing SWEET SENSATIONS ! (tm)
The #1 BEST SELLING 100% ALL NATURAL APHRODISIAC IN AMERICA!

Gives You Great Bone-Jarring, Earth-moving, Climb the Ceiling, Technicolor Orgasms!

- HARDCOPY EPISODE-
The Story you have been waiting for that's making men and women go wild!
Women who are taking this powerful little pill are loving what it▓s doing to their libido!

- EYEWITNESS NEWS -
"Americas Number 1 Natural Love Pill and It▓s Selling Like Hot Cakes!"

CLICK HERE THE INCREDIBLE DETAILS




Please click here to DELETE YOUR NAME from our mailing list!








From owner-linux-mips@oss.sgi.com Thu Jul 13 15:01:08 2000 Received: by oss.sgi.com id ; Thu, 13 Jul 2000 15:00:58 -0700 Received: from gw-nl4.philips.com ([192.68.44.36]:21508 "EHLO convert rfc822-to-8bit gw-nl4.philips.com") by oss.sgi.com with ESMTP id ; Thu, 13 Jul 2000 15:00:36 -0700 Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1]) by gw-nl4.philips.com with ESMTP id AAA10079 for ; Fri, 14 Jul 2000 00:00:43 +0200 (MEST) (envelope-from erik.niessen@philips.com) From: erik.niessen@philips.com Received: from smtprelay-eur1.philips.com(130.139.36.3) by gw-nl4.philips.com via mwrap (4.0a) id xma010077; Fri, 14 Jul 00 00:00:43 +0200 Received: from notessmtp-nl1.philips.com (notessmtp-nl1.philips.com [130.139.36.10]) by smtprelay-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id AAA19819 for ; Fri, 14 Jul 2000 00:00:43 +0200 (MET DST) Received: from EHLMS01.DIAMOND.PHILIPS.COM (ehlms01sv1.diamond.philips.com [130.139.54.212]) by notessmtp-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id AAA03813 for ; Fri, 14 Jul 2000 00:00:42 +0200 (MET DST) Received: by EHLMS01.DIAMOND.PHILIPS.COM (Soft-Switch LMS 4.0) with snapi via EMEA3 id 0056890012369098; Fri, 14 Jul 2000 00:00:37 +0200 To: Subject: Graphics on a mips-board Message-ID: <0056890012369098000002L982*@MHS> Date: Fri, 14 Jul 2000 00:00:37 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="MEMO 07/13/00 23:59:24" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hello, I have the ide-controller running on my mips-board. My next step will be to get some graphics out of this box. On the board is an onboard graphics chip and according to the specs it is VGA compatible. I am using the serial-console for debugging and for sending characters to the box. My source tree is based on kernel 2.2.12. Because the chip is VGA compatible I try to get the VGA16 framebuffer running on the box. After enabling the VGA16 framebuffer I receive the following output: Jumping to image at 800605DCh... Detected 16MB of memory. Loading R4000/MIPS32 MMU routines. CPU revision is: 000028a0 Primary instruction cache 32kb, linesize 32 bytes Primary data cache 32kb, linesize 32 bytes Linux version 2.2.12 (eniessen@psvcas16) (gcc version egcs-2.90.29 980515 (egcs- 1.0.3 release)) #10 Thu Jul 13 13:45:19 PDT 2000 calculating r4koff... 000f4240(1000000) CPU frequency 200.00 MHz Console: colour VGA+ 80x50 Calibrating delay loop... 199.88 BogoMIPS Memory: 12652k/16380k available (616k kernel code, 2724k data) Checking for 'wait' instruction... available. POSIX conformance testing by UNIFIX PCI: Probing PCI hardware Found SAA9730 at b2800000 Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 Starting kswapd v 1.1.1.1 vga16fb: initializing vga16fb: mapped to 0xa00a0000 Console: switching to colour frame buffer device 80x30 It is doing the take_over_console but when I check the output of my VGA-connector there is no signal. Someone an idea how I can debug this??? Has somebody any experience with framebuffers on a mips? Any hints/links/tips would be welcome, Thanks for your time, Erik From owner-linux-mips@oss.sgi.com Thu Jul 13 15:52:18 2000 Received: by oss.sgi.com id ; Thu, 13 Jul 2000 15:52:08 -0700 Received: from u-212.karlsruhe.ipdial.viaginterkom.de ([62.180.21.212]:58628 "EHLO u-212.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Thu, 13 Jul 2000 15:52:00 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Fri, 14 Jul 2000 00:51:55 +0200 Date: Fri, 14 Jul 2000 00:51:55 +0200 From: Ralf Baechle To: "J. Scott Kasten" Cc: Keith M Wesolowski , linux-mips@oss.sgi.com Subject: Re: Simple Linux/MIPS 0.2b Message-ID: <20000714005155.C8972@bacchus.dhis.org> References: <20000713001601.A27565@foobazco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from jsk@tetracon-eng.net on Thu, Jul 13, 2000 at 10:58:48AM -0300 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, Jul 13, 2000 at 10:58:48AM -0300, J. Scott Kasten wrote: > distro and drop them in place, everything seems happy and works fine. > Thus, there's something funky about the so's I'm building myself. > > I've tried building the XFree 4.0.1 libraries, Lesstiff libraries, and > libraries from our own code base. All breaks the same way. > > #1 What form of black magic are you guys using to do this? Holy Penguin Pee (TM). Available at www.antarctica.com.br ;-) > #2 Are there specific compiler flags/phases that should/shouldn't be used > with MIPS arch so's that are different than what I'd normally do under > Linux? No compiler flags needed. > #3 Should I be trying to cross compile the so's them selves instead of > native builds? That should make no difference in the resulting binaries if you use the same versions of everything. > #4 Are you using different flavors of gcc/binutils to do different jobs > because of known breakages? We have various known problems with the various binutils version around. We're working on getting a current snapshot of binutils working properly but right now we still have various problems, therefore egcs 1.0.3a + binutils 2.8.1 is still the recommended version. Ralf From owner-linux-mips@oss.sgi.com Thu Jul 13 16:31:19 2000 Received: by oss.sgi.com id ; Thu, 13 Jul 2000 16:31:09 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:3344 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Thu, 13 Jul 2000 16:30:52 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id QAA21486; Thu, 13 Jul 2000 16:30:40 -0700 Date: Thu, 13 Jul 2000 16:30:40 -0700 From: Keith M Wesolowski To: "J. Scott Kasten" Cc: Keith M Wesolowski , linux-mips@oss.sgi.com Subject: Re: Simple Linux/MIPS 0.2b Message-ID: <20000713163040.A20683@chem.unr.edu> References: <20000713001601.A27565@foobazco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from jsk@tetracon-eng.net on Thu, Jul 13, 2000 at 10:58:48AM -0300 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, Jul 13, 2000 at 10:58:48AM -0300, J. Scott Kasten wrote: > already verified that the binaries are portable.) However, I am having > difficulty on the Indy itself. NONE of the shared objects that I build on > that box can be used by programs on that box. Yes, I either placed them It's not clear why that is. For example, ncurses is a shared library, and bash is linked against it. That works fine. > I've tried building the XFree 4.0.1 libraries, Lesstiff libraries, and > libraries from our own code base. All breaks the same way. I have successfully built XFree on 0.1. It even worked. > #2 Are there specific compiler flags/phases that should/shouldn't be used > with MIPS arch so's that are different than what I'd normally do under > Linux? No. > #3 Should I be trying to cross compile the so's them selves instead of > native builds? If anything that would be worse. It might be faster, though. :) > #4 Are you using different flavors of gcc/binutils to do different jobs > because of known breakages? I'm not because I feel that's a cop-out. If it doesn't work, we need to fix it, not just keep using old stuff forever as a band-aid. I don't mean offense to anyone; obviously many people need stability rather than currency so their take on this will differ from mine; I just don't believe that using the old toolchain is the right approach in the long run. It's important to get the -current stuff working and the only way that will happen is if people find and fix bugs. There are already a few waiting for some intrepid volunteer to fix; see the 0.2b release notes and various mailing lists. There are known breakages with binutils, for all versions I am aware of, and for most if not all gcc versions. However, for shared libraries and dynamic linking, the versions included in 0.2b seem to work fine. Ideally the new toolchain will have _better_ quality than the old one very soon; when that does, everyone can switch and the ancient stuff can finally die. In the meantime, consider everything I announce to be of experimental quality, in case I haven't been adequately clear thus far. In the meantime, Ralf and a number of others are using egcs 1.0.3a and binutils 2.8.1, both with patches. These may be more reliable for you. > Any tips appreciated here. In the mean, I'm going to start playing with > flags. Please don't use 0.1 any more. If you want a glibc 2.0 system, use Hard Hat or some other "officially sanctioned" distribution. Use 0.2b if you want to play with the current stuff. Sorry for any confusion. -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Thu Jul 13 16:46:49 2000 Received: by oss.sgi.com id ; Thu, 13 Jul 2000 16:46:29 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:53055 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 13 Jul 2000 16:46:26 -0700 Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id QAA23831; Thu, 13 Jul 2000 16:39:04 -0700 (PDT) mail_from (jsk@tetracon-eng.net) Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id TAA21555; Thu, 13 Jul 2000 19:39:50 -0300 Date: Thu, 13 Jul 2000 19:39:50 -0300 From: "J. Scott Kasten" To: Ralf Baechle cc: Keith M Wesolowski , linux-mips@oss.sgi.com Subject: Re: Simple Linux/MIPS 0.2b In-Reply-To: <20000714005155.C8972@bacchus.dhis.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Fri, 14 Jul 2000, Ralf Baechle wrote: > We have various known problems with the various binutils version around. > We're working on getting a current snapshot of binutils working > properly but right now we still have various problems, therefore > egcs 1.0.3a + binutils 2.8.1 is still the recommended version. OK, I'll give that a shot along with the binutils-000707, gcc-000707 on the Simple Linux site. I've disovered that SOME of the shared objects I build work, some do not at this point using the egcs-1.1.2 and binutils-2.9.5 from the first Simple release. I'll keep hammering at this until I find a combo that does the job. Thanks. From owner-linux-mips@oss.sgi.com Thu Jul 13 17:11:49 2000 Received: by oss.sgi.com id ; Thu, 13 Jul 2000 17:11:39 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:31301 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 13 Jul 2000 17:11:26 -0700 Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id RAA26370 for ; Thu, 13 Jul 2000 17:04:05 -0700 (PDT) mail_from (jsk@tetracon-eng.net) Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id TAA21585; Thu, 13 Jul 2000 19:59:03 -0300 Date: Thu, 13 Jul 2000 19:59:03 -0300 From: "J. Scott Kasten" To: Keith M Wesolowski cc: linux-mips@oss.sgi.com Subject: Re: Simple Linux/MIPS 0.2b In-Reply-To: <20000713163040.A20683@chem.unr.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, 13 Jul 2000, Keith M Wesolowski wrote: > > However, I am having > > difficulty on the Indy itself. NONE of the shared objects that I build on > > that box can be used by programs on that box. Yes, I either placed them > > It's not clear why that is. For example, ncurses is a shared library, > and bash is linked against it. That works fine. I know, all the other SO's work too, it only seems to affect the ones that I build, however, I have discovered that some of them do work, but many don't. > > I've tried building the XFree 4.0.1 libraries, Lesstiff libraries, and > > libraries from our own code base. All breaks the same way. > > I have successfully built XFree on 0.1. It even worked. Well, that's the status that I'm aiming for! > > #3 Should I be trying to cross compile the so's them selves instead of > > native builds? > > If anything that would be worse. It might be faster, though. :) Agreed, however I'm just looking for a solution. > > #4 Are you using different flavors of gcc/binutils to do different jobs > > because of known breakages? > > I'm not because I feel that's a cop-out. If it doesn't work, we need > to fix it, not just keep using old stuff forever as a band-aid. I > don't mean offense to anyone; obviously many people need stability > rather than currency so their take on this will differ from mine; I > just don't believe that using the old toolchain is the right approach > in the long run. It's important to get the -current stuff working and > the only way that will happen is if people find and fix bugs. There > are already a few waiting for some intrepid volunteer to fix; see the > 0.2b release notes and various mailing lists. There are known > breakages with binutils, for all versions I am aware of, and for most > if not all gcc versions. However, for shared libraries and dynamic > linking, the versions included in 0.2b seem to work fine. Ideally the > new toolchain will have _better_ quality than the old one very soon; > when that does, everyone can switch and the ancient stuff can finally > die. In the meantime, consider everything I announce to be of > experimental quality, in case I haven't been adequately clear thus > far. Again, I agree that is the aproach to take in the long run. However, my need is very urgent so I need to find something that works however I have to do it as I'm attempting to meet a corporate deadline for some development. > In the meantime, Ralf and a number of others are using egcs 1.0.3a and > binutils 2.8.1, both with patches. These may be more reliable for you. I will evaluate these as I evaluate the tools from the SLM 0.2b release as well. The catch I have with gcc-2.96 is that I must have the C++ compiler as well. But again, I'll figure out what works for me and what doesn't. Mainly, I needed to clarify that you guys were not doing anything special with compiler flags, etc... > Please don't use 0.1 any more. If you want a glibc 2.0 system, use > Hard Hat or some other "officially sanctioned" distribution. Use 0.2b > if you want to play with the current stuff. Well, other than the SO problem, I've had really good luck with that, and it's really jumpstarted my work quite far. I've stolen bits and pieces of what wasn't in there from Hard Hat as needed. ;-) I'll be setting up an 0.2b partition soon to evaluate the 2.4.0 kernel and updated glibc as well at some point. From owner-linux-mips@oss.sgi.com Fri Jul 14 07:06:32 2000 Received: by oss.sgi.com id ; Fri, 14 Jul 2000 07:06:12 -0700 Received: from [207.81.221.34] ([207.81.221.34]:11628 "EHLO mail.vcubed.com") by oss.sgi.com with ESMTP id ; Fri, 14 Jul 2000 07:06:07 -0700 Received: from vcubed.com ([207.81.96.153]) by mail.vcubed.com (8.8.7/8.8.7) with ESMTP id KAA31764; Fri, 14 Jul 2000 10:24:16 -0400 Message-ID: <396F2300.62BA77B@vcubed.com> Date: Fri, 14 Jul 2000 10:26:08 -0400 From: Dan Aizenstros Organization: V3 Semiconductor X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: erik.niessen@philips.com CC: linux-mips@oss.sgi.com Subject: Re: Graphics on a mips-board References: <0056890012369098000002L982*@MHS> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hello Erik, I have used the VGA16 framebuffer with several PCI VGA adapters. The mapped address of 0xa00a0000 is very likely wrong. The driver is trying to access the framebuffer at the physical address of 0x000a0000. If you are using a PCI based VGA chip and the linux kernel from the SGI sources then the mapping will be wrong because the kernel assumes a 1 to 1 mapping of PCI memory space and it doesn't map the first megabyte of PCI memory space. The problem is in the ioremap function and the way that PCI memory space is mapped. If you use the sources from the ftp.mips.com then you can get a mapping that will allow access to the first megabyte of PCI memory. The ioremap function in those sources is in my opinion is much better. Dan Aizenstros Software Engineer V3 Semiconductor Corp. erik.niessen@philips.com wrote: > > Hello, > > I have the ide-controller running on my mips-board. My next step will be to get some graphics out of this box. On the board is an onboard graphics chip and according to the specs it is VGA compatible. > > I am using the serial-console for debugging and for sending characters to the box. My source tree is based on kernel 2.2.12. > > Because the chip is VGA compatible I try to get the VGA16 framebuffer running on the box. After enabling the VGA16 framebuffer I receive the following output: > > Jumping to image at 800605DCh... > Detected 16MB of memory. > Loading R4000/MIPS32 MMU routines. > CPU revision is: 000028a0 > Primary instruction cache 32kb, linesize 32 bytes > Primary data cache 32kb, linesize 32 bytes > Linux version 2.2.12 (eniessen@psvcas16) (gcc version egcs-2.90.29 980515 (egcs- > 1.0.3 release)) #10 Thu Jul 13 13:45:19 PDT 2000 > calculating r4koff... 000f4240(1000000) > CPU frequency 200.00 MHz > Console: colour VGA+ 80x50 > Calibrating delay loop... 199.88 BogoMIPS > Memory: 12652k/16380k available (616k kernel code, 2724k data) > Checking for 'wait' instruction... available. > POSIX conformance testing by UNIFIX > PCI: Probing PCI hardware > Found SAA9730 at b2800000 > Linux NET4.0 for Linux 2.2 > Based upon Swansea University Computer Society NET3.039 > Starting kswapd v 1.1.1.1 > vga16fb: initializing > vga16fb: mapped to 0xa00a0000 > Console: switching to colour frame buffer device 80x30 > > It is doing the take_over_console but when I check the output of my VGA-connector there is no signal. Someone an idea how I can debug this??? > > Has somebody any experience with framebuffers on a mips? > > Any hints/links/tips would be welcome, > > Thanks for your time, > > Erik From owner-linux-mips@oss.sgi.com Sat Jul 15 01:57:59 2000 Received: by oss.sgi.com id ; Sat, 15 Jul 2000 01:57:50 -0700 Received: from smtp-1.worldonline.cz ([195.146.100.76]:24465 "EHLO smtp.worldonline.cz") by oss.sgi.com with ESMTP id ; Sat, 15 Jul 2000 01:57:34 -0700 Received: from pingu (IDENT:indy@ppp204.plzen.worldonline.cz [212.11.110.208]) by smtp.worldonline.cz (8.9.3 (WOL 1.2)/8.9.3) with SMTP id KAA22443 for ; Sat, 15 Jul 2000 10:56:13 +0200 (MET DST) From: "Jiri Kastner jr." To: Linux-MIPS Mailing List Subject: mknod /dev/graphics + /dev/gfx Date: Sat, 15 Jul 2000 10:52:18 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00071510590700.00833@pingu> Content-Transfer-Encoding: 8bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing How to make /dev/graphics + /dev/gfx, I did not found anywhere described major/minor etc for this devices... I am trying to start X on Indy, here is log: XFree86 Version 4.0 / X Window System (protocol Version 11, revision 0, vendor release 6400) Release Date: 8 March 2000 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (see http://www.XFree86.Org/FAQ) Operating System: Linux 2.2.13 mips [ELF] (==) Log file: "/var/log/XFree86.0.log", Time: Sat Jul 15 09:51:01 2000 (==) Using config file: "/etc/X11/XF86Config" Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (??) unknown. (==) ServerLayout "Simple Layout" (**) |-->Screen "Screen 1" (0) (**) | |-->Monitor "sgi" (**) | |-->Device "My Video Card" (**) |-->Input Device "Mouse1" (**) |-->Input Device "Keyboard1" (**) Option "AutoRepeat" "500 30" (**) Option "XkbRules" "xfree86" (**) XKB: rules: "xfree86" (**) Option "XkbModel" "pc101" (**) XKB: model: "pc101" (**) Option "XkbLayout" "en_US" (**) XKB: layout: "en_US" (**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/" (**) RgbPath set to "/usr/X11R6/lib/X11/rgb" (--) using VT number 7 (II) Addressable bus resource ranges are [0] -1 0x00000000 - 0xffffffff (0x0) MXB [1] -1 0x00000000 - 0x0000ffff (0x10000) IXB (II) OS-reported resource ranges: (II) OS-reported resource ranges after removing overlaps with PCI: (II) All system resource ranges: (II) NewPort: driver for Newport Graphics Card: XL (EE) No devices detected. Fatal server error: no screens found Regards Jiri Kastner. From owner-linux-mips@oss.sgi.com Sun Jul 16 18:25:30 2000 Received: by oss.sgi.com id ; Sun, 16 Jul 2000 18:25:21 -0700 Received: from rno-dsl0b-218.gbis.net ([216.82.145.218]:63499 "EHLO ozymandias.foobazco.org") by oss.sgi.com with ESMTP id ; Sun, 16 Jul 2000 18:24:52 -0700 Received: (from wesolows@localhost) by ozymandias.foobazco.org (8.9.3/8.9.3) id SAA00988 for linux-mips@oss.sgi.com; Sun, 16 Jul 2000 18:24:28 -0700 Date: Sun, 16 Jul 2000 18:24:28 -0700 From: Keith M Wesolowski To: linux-mips@oss.sgi.com Subject: Analysis of Samba configure oops Message-ID: <20000716182428.A972@foobazco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hi all, I've been analysing the infamous Samba configure oops and I think I've taken it as far as I can. Hopefully someone here will know what's wrong. The configuration: sgi indy 4400sc/200 (R4000SC V6.0), current CVS. The trigger (from samba configuration, tests/shared_mmap.c): #include #include #include #include #include #include #define DATA "conftest.mmap" #ifndef MAP_FILE #define MAP_FILE 0 #endif int main() { int *buf; int i; int fd = open(DATA,O_RDWR|O_CREAT|O_TRUNC,0666); int count=7; if (fd == -1) exit(1); for (i=0;i<10000;i++) { write(fd,&i,sizeof(i)); } close(fd); if (fork() == 0) { fd = open(DATA,O_RDWR); if (fd == -1) exit(1); buf = (int *)mmap(NULL, 10000*sizeof(int), (PROT_READ | PROT_WRITE), MAP_FILE | MAP_SHARED, fd, 0); while (count-- && buf[9124] != 55732) sleep(1); if (count <= 0) exit(1); buf[1763] = 7268; exit(0); } fd = open(DATA,O_RDWR); if (fd == -1) exit(1); buf = (int *)mmap(NULL, 10000*sizeof(int), (PROT_READ | PROT_WRITE), MAP_FILE | MAP_SHARED, fd, 0); if (buf == (int *)-1) exit(1); buf[9124] = 55732; while (count-- && buf[1763] != 7268) sleep(1); unlink(DATA); if (count > 0) exit(0); exit(1); } The oops: Unable to handle kernel paging request at virtual address 0000003c, epc == 8801eb20, ra == 8803a108 $0 : 00000000 1000fc00 000003f8 00000000 $4 : 000000fb 00005eda 2acfe000 8816c8a0 $8 : 8d6d8360 ffff00ff 1000fc01 00000001 $12: 00000001 7ffffa10 00000003 00400c0c $16: 00346e80 0d1ba79f 00000001 2acfe000 $20: 000fe000 8da1c3f8 000fd000 8d6d8360 $24: 00000014 2ac26590 $28: 8d776000 8d777e18 8d9372ac 8803a108 epc : 8801eb20 Status: 1000fc02 Cause : 00000008 Process conftest (pid: 5154, stackpage=8d776000) Stack: 88502c80 8d9372ac 00000001 2acf9000 000fd000 003fffff 8d9372ac 2ad07000 00000000 2acfd000 2ac00000 00107000 00000000 00107000 00000000 003fffff 2ac00000 00000000 8d6d8360 00000001 2acfd000 8816c8a0 0000a000 8d6d86a0 00000000 1002e510 00000000 8803a39c 00004000 2acfd000 00000000 00000001 88036828 880368b0 8816c8a0 8fcc9b60 000478e5 00000065 00000001 8816c8a0 8d776000 ... Call Trace: [<8803a39c>] [<88036828>] [<880368b0>] [<880296b0>] [<88025208>] [<8 802c914>] [<88013ef8>] [<8802cb8c>] [<88010c28>] [<88010c28>] Code: 8f83002c 8d040014 8ce5003c <8c62003c> 10a2007d 30840004 3c028819 8c42 >>RA; 8803a108 >>PC; 8801eb20 <===== Trace; 8803a39c Trace; 88036828 Trace; 880368b0 Trace; 880296b0 Trace; 88025208 Code; 8801eb14 0000000000000000 <_PC>: Code; 8801eb14 0: 8f83002c lw $v1,44($gp) Code; 8801eb18 4: 8d040014 lw $a0,20($t0) Code; 8801eb1c 8: 8ce5003c lw $a1,60($a3) Code; 8801eb20 <===== c: 8c62003c lw $v0,60($v1) <===== Code; 8801eb24 10: 10a2007d beq $a1,$v0,208 <_PC+0x208> 8801ed1c Code; 8801eb28 14: 30840004 andi $a0,$a0,0x4 Code; 8801eb2c 18: 3c028819 lui $v0,0x8819 Code; 8801eb30 1c: 8c420000 lw $v0,0($v0) The matching code (arch/mips/mm/r4xx0.c:1600): if(mm->context != current->mm->context) { The analysis: The fault address is 0x3c. The offset of mm in current is 0x2c. Thus the immediate cause appears to be that current->mm is 0x10, obviously nonsense. Further investigation yields this call sequence: exit_mmap => filemap_unmap => filemap_sync => filemap_sync_pmd_range => filemap_sync_pte_range => filemap_sync_pte => flush_cache_page Anybody? -- Keith M Wesolowski http://foobazco.org/~wesolows/ (( Project Foobazco Coordinator and Network Administrator )) aiieeeeeeee! "The list of people so amazingly stupid they can't even tie their shoes?" "Yeah, you know, /etc/passwd." From owner-linux-mips@oss.sgi.com Mon Jul 17 10:06:51 2000 Received: by oss.sgi.com id ; Mon, 17 Jul 2000 10:06:41 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:40198 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Mon, 17 Jul 2000 10:06:08 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id KAA07383; Mon, 17 Jul 2000 10:05:34 -0700 Date: Mon, 17 Jul 2000 10:05:34 -0700 From: Keith M Wesolowski To: Keith M Wesolowski Cc: linux-mips@oss.sgi.com Subject: Re: Analysis of Samba configure oops Message-ID: <20000717100534.D6424@chem.unr.edu> References: <20000716182428.A972@foobazco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000716182428.A972@foobazco.org>; from wesolows@foobazco.org on Sun, Jul 16, 2000 at 06:24:28PM -0700 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Sun, Jul 16, 2000 at 06:24:28PM -0700, Keith M Wesolowski wrote: Responding to my own mail, yeesh. I was obviously suffering a dumbass attack when I wrote this. > Code; 8801eb1c > 8: 8ce5003c lw $a1,60($a3) > Code; 8801eb20 <===== > c: 8c62003c lw $v0,60($v1) <===== > > The fault address is 0x3c. The offset of mm in current is 0x2c. Thus > the immediate cause appears to be that current->mm is 0x10, obviously > nonsense. The interesting bit is not current->mm, but current->mm->context. The offset of context is 60 as shown above in the disassembly. 60 = 3c, so it's clear that current->mm is in fact NULL. Hope this makes things a bit clearer. -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Mon Jul 17 18:54:04 2000 Received: by oss.sgi.com id ; Mon, 17 Jul 2000 18:53:53 -0700 Received: from m3bhNs1n20.midsouth.rr.com ([24.24.110.20]:17414 "EHLO GroundZero.enchanted.net") by oss.sgi.com with ESMTP id ; Mon, 17 Jul 2000 18:53:39 -0700 Received: from talisman.enchanted.net (root@talisman.enchanted.net [10.20.30.50]) by GroundZero.enchanted.net (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id UAA21506 for ; Mon, 17 Jul 2000 20:53:06 -0500 Received: (from awrasman@localhost) by talisman.enchanted.net (8.11.0.Beta1/8.11.0.Beta1/Debian 8.11.0-1) id e6I1r5s14234 for linux-mips@oss.sgi.com; Mon, 17 Jul 2000 20:53:05 -0500 From: "A. Wrasman" Date: Mon, 17 Jul 2000 20:53:03 -0500 To: linux-mips@oss.sgi.com Subject: Okay, lost Message-ID: <20000717205303.A14220@enchanted.net> Reply-To: wrasman@cs.utk.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i X-Url: http://www.cs.utk.edu/~wrasman Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Okay, I can't seem to get any of the pre-compiled linux kernels after the 2.2.14 one on oss.sgi.com to boot on my Indy. I get this type of error: Exception: Status register: 0x10044803 Cause register: 0x8034 Exception PC: 0x88240004, Exception RA: 0x8816d610 Processor Trap exception at address 0xffffffff Local I/O interrupt register 1: 0x80 Saved user regs in hex (&gpda 0xa8740e48, &_regs 0xa8741048): arg: a8740000 28 8847ff80 a tmp: a8740000 8480 88002000 8480 881932a0 1 fffffffc 47dfa8 sve: a8740000 0 0 0 0 0 0 0 t8 a8740000 t9 0 at 0 v0 0 v1 0 k1 88002000 gp a8740000 fp 0 sp 0 ra 0 PANIC: unexpected exception Or something similar. From owner-linux-mips@oss.sgi.com Mon Jul 17 21:02:24 2000 Received: by oss.sgi.com id ; Mon, 17 Jul 2000 21:02:14 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:62471 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Mon, 17 Jul 2000 21:01:35 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id VAA25385; Mon, 17 Jul 2000 21:00:35 -0700 Date: Mon, 17 Jul 2000 21:00:35 -0700 From: Keith M Wesolowski To: wrasman@cs.utk.edu Cc: linux-mips@oss.sgi.com Subject: Re: Okay, lost Message-ID: <20000717210035.B25185@chem.unr.edu> References: <20000717205303.A14220@enchanted.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000717205303.A14220@enchanted.net>; from awrasman@enchanted.net on Mon, Jul 17, 2000 at 08:53:03PM -0500 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Mon, Jul 17, 2000 at 08:53:03PM -0500, A. Wrasman wrote: > Okay, I can't seem to get any of the pre-compiled linux kernels after the 2.2.14 one on oss.sgi.com to boot on my Indy. > I get this type of error: > Exception: I've no idea what kernels you're using. Try /pub/linux/mips/mips-linux/simple/kernels/vmlinux-000717-38400 if you want to try a post-2.2 kernel. It really should work. -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Tue Jul 18 14:48:58 2000 Received: by oss.sgi.com id ; Tue, 18 Jul 2000 14:48:37 -0700 Received: from u-87.karlsruhe.ipdial.viaginterkom.de ([62.180.21.87]:50949 "EHLO u-87.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Tue, 18 Jul 2000 14:48:20 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Tue, 18 Jul 2000 05:23:09 +0200 Date: Tue, 18 Jul 2000 05:23:09 +0200 From: Ralf Baechle To: wrasman@cs.utk.edu Cc: linux-mips@oss.sgi.com Subject: Re: Okay, lost Message-ID: <20000718052309.B12440@bacchus.dhis.org> References: <20000717205303.A14220@enchanted.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000717205303.A14220@enchanted.net>; from awrasman@enchanted.net on Mon, Jul 17, 2000 at 08:53:03PM -0500 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Mon, Jul 17, 2000 at 08:53:03PM -0500, A. Wrasman wrote: > Okay, I can't seem to get any of the pre-compiled linux kernels after the 2.2.14 one on oss.sgi.com to boot on my Indy. > > I get this type of error: > Exception: > Status register: 0x10044803 > Cause register: 0x8034 > Exception PC: 0x88240004, Exception RA: 0x8816d610 > Processor Trap exception at address 0xffffffff > Local I/O interrupt register 1: 0x80 > Saved user regs in hex (&gpda 0xa8740e48, &_regs 0xa8741048): > arg: a8740000 28 8847ff80 a > tmp: a8740000 8480 88002000 8480 881932a0 1 fffffffc 47dfa8 > sve: a8740000 0 0 0 0 0 0 0 > t8 a8740000 t9 0 at 0 v0 0 v1 0 k1 88002000 > gp a8740000 fp 0 sp 0 ra 0 > > PANIC: unexpected exception Now that looks like a kernel compiled by somebody who doesn't read documentation, see http://oss.sgi.com/mips/mips-howto.html. In short: remove the -N linker flag from arch/mips/Makefile. Ralf From owner-linux-mips@oss.sgi.com Tue Jul 18 14:49:07 2000 Received: by oss.sgi.com id ; Tue, 18 Jul 2000 14:48:58 -0700 Received: from u-87.karlsruhe.ipdial.viaginterkom.de ([62.180.21.87]:50949 "EHLO u-87.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Tue, 18 Jul 2000 14:48:18 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Tue, 18 Jul 2000 05:18:28 +0200 Date: Tue, 18 Jul 2000 05:18:28 +0200 From: Ralf Baechle To: Keith M Wesolowski Cc: linux-mips@oss.sgi.com Subject: Re: Analysis of Samba configure oops Message-ID: <20000718051828.A12440@bacchus.dhis.org> References: <20000716182428.A972@foobazco.org> <20000717100534.D6424@chem.unr.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000717100534.D6424@chem.unr.edu>; from wesolows@chem.unr.edu on Mon, Jul 17, 2000 at 10:05:34AM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Mon, Jul 17, 2000 at 10:05:34AM -0700, Keith M Wesolowski wrote: > Responding to my own mail, yeesh. I was obviously suffering a dumbass > attack when I wrote this. > > > Code; 8801eb1c > > 8: 8ce5003c lw $a1,60($a3) > > Code; 8801eb20 <===== > > c: 8c62003c lw $v0,60($v1) <===== > > > > The fault address is 0x3c. The offset of mm in current is 0x2c. Thus > > the immediate cause appears to be that current->mm is 0x10, obviously > > nonsense. > > The interesting bit is not current->mm, but current->mm->context. The > offset of context is 60 as shown above in the disassembly. 60 = 3c, so > it's clear that current->mm is in fact NULL. > > Hope this makes things a bit clearer. Indeed, it does. I've commited a patch for this bug to cvs and would like to hear reports. Ralf From owner-linux-mips@oss.sgi.com Tue Jul 18 15:30:08 2000 Received: by oss.sgi.com id ; Tue, 18 Jul 2000 15:29:58 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:11566 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 18 Jul 2000 15:29:25 -0700 Received: from cthulhu.engr.sgi.com (gate3-relay.engr.sgi.com [130.62.1.234]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id PAA08309; Tue, 18 Jul 2000 15:34:42 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from calypso.engr.sgi.com (calypso.engr.sgi.com [163.154.5.113]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id PAA61923; Tue, 18 Jul 2000 15:28:44 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: by calypso.engr.sgi.com (Postfix, from userid 37984) id B71C1A7875; Tue, 18 Jul 2000 15:27:23 -0700 (PDT) From: Ulf Carlsson MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14708.55755.682163.57386@calypso.engr.sgi.com> Date: Tue, 18 Jul 2000 15:27:23 -0700 (PDT) To: Ralf Baechle Cc: wrasman@cs.utk.edu, linux-mips@oss.sgi.com Subject: Re: Okay, lost In-Reply-To: <20000718052309.B12440@bacchus.dhis.org> References: <20000717205303.A14220@enchanted.net> <20000718052309.B12440@bacchus.dhis.org> X-Mailer: VM 6.75 under Emacs 20.5.1 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing > > Okay, I can't seem to get any of the pre-compiled linux kernels after the 2.2.14 one on oss.sgi.com to boot on my Indy. > > > > I get this type of error: > > Exception: > > Status register: 0x10044803 > > Cause register: 0x8034 > > Exception PC: 0x88240004, Exception RA: 0x8816d610 > > Processor Trap exception at address 0xffffffff > > Local I/O interrupt register 1: 0x80 > > Saved user regs in hex (&gpda 0xa8740e48, &_regs 0xa8741048): > > arg: a8740000 28 8847ff80 a > > tmp: a8740000 8480 88002000 8480 881932a0 1 fffffffc 47dfa8 > > sve: a8740000 0 0 0 0 0 0 0 > > t8 a8740000 t9 0 at 0 v0 0 v1 0 k1 88002000 > > gp a8740000 fp 0 sp 0 ra 0 > > > > PANIC: unexpected exception > > Now that looks like a kernel compiled by somebody who doesn't read > documentation, see http://oss.sgi.com/mips/mips-howto.html. In short: > remove the -N linker flag from arch/mips/Makefile. I had the same problem on one of my machines. The -N linker flag was not the solution. Note that the kernels ran on other machines. I only got this for the 2.4, not 2.2. Ulf From owner-linux-mips@oss.sgi.com Tue Jul 18 20:24:28 2000 Received: by oss.sgi.com id ; Tue, 18 Jul 2000 20:24:18 -0700 Received: from mail.rpi.alumlink.com ([207.92.136.80]:30227 "EHLO mail.alum.rpi.edu") by oss.sgi.com with ESMTP id ; Tue, 18 Jul 2000 20:23:42 -0700 Date: Tue, 18 Jul 2000 23:23:22 -0400 Message-Id: <200007182323.AA145031220@mail.alum.rpi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "clemej" Reply-To: To: Subject: Re: Okay, lost X-Mailer: Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing When I was bitten by the infamous '-N' bug, it seems to me the exception I got said "UTLB" in it somewhere. This one doesn't. So maybe that's not the problem. And I think I might be being bitten by the same thing. All 2.4 kernels I've tried die with what seems to be a similar error on my Indigo2 (R4400 200Mhz). I thought I read somewhere something about XZ graphics causing problems and boards should be removed... why? Could this be the cause? I have XZ in my machine.... I want to try a few more things before sounding too many alarms though... john.c - -- John Clemens clemens@alum.rpi.edu ---------- Original Message ---------------------------------- From: Ralf Baechle Date: Tue, 18 Jul 2000 05:23:09 +0200 >On Mon, Jul 17, 2000 at 08:53:03PM -0500, A. Wrasman wrote: > >> Okay, I can't seem to get any of the pre-compiled linux kernels after the 2.2.14 one on oss.sgi.com to boot on my Indy. >> >> I get this type of error: >> Exception: >> Status register: 0x10044803 >> Cause register: 0x8034 >> Exception PC: 0x88240004, Exception RA: 0x8816d610 >> Processor Trap exception at address 0xffffffff >> Local I/O interrupt register 1: 0x80 >> Saved user regs in hex (&gpda 0xa8740e48, &_regs 0xa8741048): >> arg: a8740000 28 8847ff80 a >> tmp: a8740000 8480 88002000 8480 881932a0 1 fffffffc 47dfa8 >> sve: a8740000 0 0 0 0 0 0 0 >> t8 a8740000 t9 0 at 0 v0 0 v1 0 k1 88002000 >> gp a8740000 fp 0 sp 0 ra 0 >> >> PANIC: unexpected exception > >Now that looks like a kernel compiled by somebody who doesn't read >documentation, see http://oss.sgi.com/mips/mips-howto.html. In short: >remove the -N linker flag from arch/mips/Makefile. > > Ralf > From owner-linux-mips@oss.sgi.com Tue Jul 18 21:34:30 2000 Received: by oss.sgi.com id ; Tue, 18 Jul 2000 21:34:19 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:34570 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Tue, 18 Jul 2000 21:33:54 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id VAA27188; Tue, 18 Jul 2000 21:33:16 -0700 Date: Tue, 18 Jul 2000 21:33:15 -0700 From: Keith M Wesolowski To: Ralf Baechle Cc: linux-mips@oss.sgi.com Subject: Re: Analysis of Samba configure oops Message-ID: <20000718213310.A27016@chem.unr.edu> References: <20000716182428.A972@foobazco.org> <20000717100534.D6424@chem.unr.edu> <20000718051828.A12440@bacchus.dhis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000718051828.A12440@bacchus.dhis.org>; from ralf@oss.sgi.com on Tue, Jul 18, 2000 at 05:18:28AM +0200 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Tue, Jul 18, 2000 at 05:18:28AM +0200, Ralf Baechle wrote: > Indeed, it does. I've commited a patch for this bug to cvs and would like > to hear reports. I am pleased to report that without this fix I observe the oft-reported problem when using two disks simultaneously on IP22: SCSI disk error : host 0 channel 0 id 2 lun 0 return code = 27010000 I/O error: dev 08:11, sector 1885720 but with this fix I no longer see this. How many more bugs will this fix I wonder... -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Wed Jul 19 07:07:12 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 07:07:02 -0700 Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:53935 "EHLO delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 07:06:32 -0700 Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id QAA23335; Wed, 19 Jul 2000 16:04:58 +0200 (MET DST) Date: Wed, 19 Jul 2000 16:04:58 +0200 (MET DST) From: "Maciej W. Rozycki" To: Ralf Baechle cc: "J. Scott Kasten" , Keith M Wesolowski , linux-mips@oss.sgi.com Subject: Re: Simple Linux/MIPS 0.2b In-Reply-To: <20000714005155.C8972@bacchus.dhis.org> Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Fri, 14 Jul 2000, Ralf Baechle wrote: > We have various known problems with the various binutils version around. > We're working on getting a current snapshot of binutils working > properly but right now we still have various problems, therefore > egcs 1.0.3a + binutils 2.8.1 is still the recommended version. I have binutils 2.10 and gcc 2.95.2 which appear to be stable, i.e. I haven't observed any problems recently. I may publish patches if anyone is interested. I may see if I can arrange to publish RPM packages as well. -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + From owner-linux-mips@oss.sgi.com Wed Jul 19 07:20:22 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 07:20:15 -0700 Received: from ns4.Sony.CO.JP ([202.238.80.4]:10506 "EHLO ns4.sony.co.jp") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 07:19:42 -0700 Received: from mail3.sony.co.jp (gatekeeper7.Sony.CO.JP [202.238.80.21]) by ns4.sony.co.jp (R8) with ESMTP id XAA77654; Wed, 19 Jul 2000 23:19:11 +0900 (JST) Received: from smail1.sm.sony.co.jp (smail1.sm.sony.co.jp [43.11.253.1]) by mail3.sony.co.jp (R8) with ESMTP id XAA01045; Wed, 19 Jul 2000 23:19:04 +0900 (JST) Received: from email.sm.sony.co.jp (email.sm.sony.co.jp [43.11.253.2]) by smail1.sm.sony.co.jp (8.8.8/3.6W) with ESMTP id XAA00589; Wed, 19 Jul 2000 23:18:27 +0900 (JST) Received: from sm.sony.co.jp (kei@gaia.sm.sony.co.jp [43.11.132.48]) by email.sm.sony.co.jp (8.8.8/3.6W) with ESMTP id XAA09801; Wed, 19 Jul 2000 23:14:23 +0900 (JST) Message-Id: <200007191414.XAA09801@email.sm.sony.co.jp> To: "Maciej W. Rozycki" cc: Ralf Baechle , "J. Scott Kasten" , Keith M Wesolowski , linux-mips@oss.sgi.com Subject: Re: Simple Linux/MIPS 0.2b In-reply-to: Your message of Wed, 19 Jul 2000 16:04:58 +0200. Date: Wed, 19 Jul 2000 23:19:09 +0900 From: Hiroshi Kawashima Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hi. In message you w rite: > On Fri, 14 Jul 2000, Ralf Baechle wrote: > > > We have various known problems with the various binutils version around. > > We're working on getting a current snapshot of binutils working > > properly but right now we still have various problems, therefore > > egcs 1.0.3a + binutils 2.8.1 is still the recommended version. > > I have binutils 2.10 and gcc 2.95.2 which appear to be stable, i.e. I > haven't observed any problems recently. I may publish patches if anyone > is interested. I may see if I can arrange to publish RPM packages as > well. Great! Yes, I'm very interested in it. (Although I'm mipsel (linux-vr) guy, but it will be very helpful.) ---- Kawashima From owner-linux-mips@oss.sgi.com Wed Jul 19 09:05:23 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 09:05:13 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:59480 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 09:04:53 -0700 Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id IAA03561 for ; Wed, 19 Jul 2000 08:56:57 -0700 (PDT) mail_from (jsk@tetracon-eng.net) Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id LAA06447; Wed, 19 Jul 2000 11:54:59 -0300 Date: Wed, 19 Jul 2000 11:54:59 -0300 From: "J. Scott Kasten" To: "Maciej W. Rozycki" cc: linux-mips@oss.sgi.com, linuxce-devel@linuxce.org Subject: Re: Simple Linux/MIPS 0.2b In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, 19 Jul 2000, Maciej W. Rozycki wrote: > I have binutils 2.10 and gcc 2.95.2 which appear to be stable, i.e. I > haven't observed any problems recently. I may publish patches if anyone > is interested. I may see if I can arrange to publish RPM packages as > well. Please do. There's many of us that would be interested. I for one am having zero success. I'm cross posting this from the SGI list to the linuxce list because even though one is big endian and the other is little endian, we all still use the same tools, and I simply need help or suggestions here regardless of the source. The short explination of what I'm doing is that I work for a company that wishes to use NEC vr or QED mips processors in some products using linux as the "embedded OS". I put quoates on that because our product environment is much fuller than the traditional embedded environment, to the point that we actually need a full blown *nix running under the hood. We plan to run the embedded processors big endian. We are using some SGI Indy boxes as development/eval stations at the moment as we evaluate porting our code base. The nice thing about the Indy is that the linux port and user land stuff is still all compiled 32 bit R3000 style, meaning that its binary compatible with our embedded systems, but a hell of a lot nicer to work on. We already know that user space binaries that run on the Indy work identically within our embeded environment. That much is cool. However, the problem is that I am having only limited success compiling user space stuff myself on the Indy, be it our own code, or any of the common distribution libs/apps. I cannot compile shared objects of good size and expect apps built from them to work. Xlibs, lesstif, etc and apps built against them just bus error. However if I go to one of the sites and tear open a prebuilt rpm for xlibs, or what ever, I can build against that and get an app to work just fine, but I cannot build the libraries themselves. I've tried every version of gcc/egcs/binutils that's supposed to work, and in every combination. However, I'm just not able to duplicate the kind of success that others appear to be having. Smaller things usually work. I've gotten sources from CVS, applied patches, even tried cross compiling, all to no avail. Unfortunately, it's critical that I be able to build things like that. Anyone that's having good success, please give me some info on what your build system/process looks like. I'm completely clueless why I'm not having the level of success that others appear to be having. Started with Simple Linux 0.1, glibc-2.0.6, kernel 2.2.14, egcs-1.1.2, binutils 2.9.5, on Indy 128M ram, R4400SC 200MHz, XL-24. Have tried the "manhattan" or "hard hat 5.1" SGI distro, but have never been able to get that to install. The 2.1.100 kernel included panics on the Indy due to page faults in an interupt handler (says so on the screen dump). Tried swapping that out for the 2.2.14 kernel from Simle Linux which runs very stable on that box, but there appears to be a kernel/glibc mismatch at that point because things don't work right after the boot. Would like to try the debian distro, but cannot find a big endian root image to install with, the site with the eb pacakages seems to be down, and cannot find the userland utility to unpack the .deb files, so this one is out completely at the moment. Have tried native compiles with binutils 2.8.1, egcs-1.0.2, gcc-2.7.2. The gcc-2.7.2/bin-2.8.1 combo was the closest that I've come. Was able to comple lesstif against Xlibs stolen from Hard Hat 5.1 distro and the programs in the test directory all seemed to work. However, could not get libs built from XFree86 4.0.1 or CVS to work. Builds, but everything bus errors. Unfortunately, our c++ apps will not compile with g++-2.7.2 even if that did work. To clarify, I have no interest in the XServer, just the xlibs so I can throw output out over the network. Have also tried cross compiling using binutils 2.8.1 and egcs-1.0.3a on an x86 box, but still same results. Little things work, big things just bus error. Thanks for any sugestions. I'm certainly stumped at this point. From owner-linux-mips@oss.sgi.com Wed Jul 19 09:29:32 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 09:29:13 -0700 Received: from brainguy.tc.mtu.edu ([141.219.5.85]:43474 "HELO brainguy.tc.mtu.edu") by oss.sgi.com with SMTP id ; Wed, 19 Jul 2000 09:28:46 -0700 Received: from crow.mr-happy.com (crow.mr-happy.com [172.19.3.81]) by brainguy.tc.mtu.edu (Postfix) with ESMTP id C5D231A196; Wed, 19 Jul 2000 12:28:21 -0400 (EDT) Received: by crow.mr-happy.com (Postfix, from userid 22448) id 61A328D58; Wed, 19 Jul 2000 12:28:11 -0400 (EDT) Date: Wed, 19 Jul 2000 11:28:11 -0500 From: Andy Isaacson To: "J. Scott Kasten" Cc: "Maciej W. Rozycki" , linux-mips@oss.sgi.com, linuxce-devel@linuxce.org Subject: Re: Simple Linux/MIPS 0.2b Message-ID: <20000719112811.A23225@mr-happy.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from jsk@tetracon-eng.net on Wed, Jul 19, 2000 at 11:54:59AM -0300 X-PGP-Fingerprint: 48 01 21 E2 D4 E4 68 D1 B8 DF 39 B2 AF A3 16 B9 X-PGP-Key-URL: http://web.mr-happy.com/~adi/pgp.txt Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, Jul 19, 2000 at 11:54:59AM -0300, J. Scott Kasten wrote: > try the debian distro, but cannot find a big endian root image to install > with, the site with the eb pacakages seems to be down, and cannot find the > userland utility to unpack the .deb files, so this one is out completely > at the moment. A .deb file is just an ar(1) archive. Use "ar xv foo.deb" to unpack. -andy -- Andy Isaacson http://web.mr-happy.com/~adi/ From owner-linux-mips@oss.sgi.com Wed Jul 19 10:20:54 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 10:20:33 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:21771 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 10:20:07 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id KAA09913; Wed, 19 Jul 2000 10:13:50 -0700 Date: Wed, 19 Jul 2000 10:13:50 -0700 From: Keith M Wesolowski To: "J. Scott Kasten" Cc: "Maciej W. Rozycki" , linux-mips@oss.sgi.com, linuxce-devel@linuxce.org Subject: Re: Simple Linux/MIPS 0.2b Message-ID: <20000719101346.B7480@chem.unr.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from jsk@tetracon-eng.net on Wed, Jul 19, 2000 at 11:54:59AM -0300 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, Jul 19, 2000 at 11:54:59AM -0300, J. Scott Kasten wrote: > However, the problem is that I am having only limited success compiling > user space stuff myself on the Indy, be it our own code, or any of the > common distribution libs/apps. I cannot compile shared objects of good > size and expect apps built from them to work. Xlibs, lesstif, etc and > apps built against them just bus error. However if I go to one of the This is interesting. I have seen plenty of problems (with several toolchains) building pic objects and then using -static to link. But linking against shared objects seems to work fine. I have successfully built the X libs (4.0 + Guido's newport patch) with the toolchain included in Simple 0.2b, and have run applications linked against them. The entire system was built from the same toolchain. > swapping that out for the 2.2.14 kernel from Simle Linux which runs very > stable on that box, but there appears to be a kernel/glibc mismatch at > that point because things don't work right after the boot. Would like to Could you explain in greater detail? For example, the userland in Simple 0.2b will not work with kernel < 2.3.51, and will give an error to that effect if you try to boot it with 2.2.14. This is intentional; it seems for some reason that glibc 2.2 userland on a 2.2 kernel will have, actually, the kind of behaviour you are observing. > errors. Unfortunately, our c++ apps will not compile with g++-2.7.2 even > if that did work. And unfortunately we still don't have a working c++ compiler for 2.96. Hopefully we're close though. I almost wonder if your hardware is broken somehow, as the system you describe is identical in every way to the one I am using to develop Simple. -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Wed Jul 19 11:52:23 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 11:52:04 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:19782 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 11:51:39 -0700 Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id LAA26366 for ; Wed, 19 Jul 2000 11:43:43 -0700 (PDT) mail_from (jsk@tetracon-eng.net) Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id OAA06751; Wed, 19 Jul 2000 14:42:15 -0300 Date: Wed, 19 Jul 2000 14:42:15 -0300 From: "J. Scott Kasten" To: Keith M Wesolowski cc: linux-mips@oss.sgi.com, linuxce-devel@linuxce.org Subject: Re: Simple Linux/MIPS 0.2b In-Reply-To: <20000719101346.B7480@chem.unr.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, 19 Jul 2000, Keith M Wesolowski wrote: > On Wed, Jul 19, 2000 at 11:54:59AM -0300, J. Scott Kasten wrote: > > However, the problem is that I am having only limited success compiling > > user space stuff myself on the Indy, be it our own code, or any of the > > common distribution libs/apps. I cannot compile shared objects of good > > size and expect apps built from them to work. Xlibs, lesstif, etc and > > apps built against them just bus error. However if I go to one of the > > This is interesting. I have seen plenty of problems (with several > toolchains) building pic objects and then using -static to link. But > linking against shared objects seems to work fine. I have successfully > built the X libs (4.0 + Guido's newport patch) with the toolchain > included in Simple 0.2b, and have run applications linked against > them. The entire system was built from the same toolchain. I pulled down 0.2b yesterday an will be giving that a whirl today of course. However, yes, this problem is interesting. I've used GDB just enough on small apps compiled against xlibs/lesstif (things in the lesstif test directory) to gather limited info on the problem. Some calls into the libraries work, however some fail. I've not isolated the point of failure, but when it does, the program counter is way off in impossible memory, and gdb has lost the program call stack so it cannot tell me where I am, or how I got there. This behavior is not random, it appears that it's exactly reproduceable, so with sufficient effort could presumably be tracked down. However, my pressing need is simply to get a tool chain that works within reason. Although I'm interested in doing some general sluthing to do my part to improve the quality of publicly available tools, unfortunately that's a luxury that must wait a little while when you have corporate deadlines to meet. > > swapping that out for the 2.2.14 kernel from Simle Linux which runs very > > stable on that box, but there appears to be a kernel/glibc mismatch at > > that point because things don't work right after the boot. Would like to > > Could you explain in greater detail? For example, the userland in > Simple 0.2b will not work with kernel < 2.3.51, and will give an > error to that effect if you try to boot it with 2.2.14. This is > intentional; it seems for some reason that glibc 2.2 userland on a 2.2 > kernel will have, actually, the kind of behaviour you are observing. Simple 0.1 has run very stable for me (meaning no crashes, lockups, etc...) using the 2.2.14 kernel. The only problem I have is building my own shared objects. I've beat that system for days on end with large compiles, heavy NFS traffic, etc. and not had it mis-behave. I tried booting the 5.1 install image using the included kernel (2.1.100 I beleive), but it either hangs after initializing eth0, or panics sometime there after with a "page fault in irq handler" message. On a whim, I just plunked down 2.2.14 which I know runs smooth and tried booting the 5.1 install. I then get a message "Cannot open initial console." Yes, the dev nodes are in place and so forth. Some time ago, I had gotten past that, but don't remember how. Anyway, the result was that things like fdisk could not write the disk and on and on. This sounds like a glibc missmatch. I could try slipping that in too and see what happens. In order to move quickly, I had pulled a few libraries from the 5.1 and plunked them down under Simple to try some things, having checked dependencies and so forth of course. I fully admit that such a move could indeed be part of my problem. However it's the libraries that I've stolen in this fashion that work! Anyway, point is, I've tried moving to a more complete distro where things have been uniformly compiled with the same tool chain to see if the shared object problem goes away. However, I've not been successfull in that endeavor either. > > errors. Unfortunately, our c++ apps will not compile with g++-2.7.2 even > > if that did work. > > And unfortunately we still don't have a working c++ compiler for > 2.96. Hopefully we're close though. I'd be happy to use different c and c++ compilers, if it worked well. However, it is of course preferable to remain consistent. There would even be an interest in modifying our own C++ code so that templates would get through g++ 2.7.2 if we had too. However, it's got to work before we can make that effort. > I almost wonder if your hardware is broken somehow, as the system you > describe is identical in every way to the one I am using to develop > Simple. Beleive me, the thought has crossed my mind. We have 3 identical boxes that were distributed through our different project teams. I will be trying this on one of those minimum as well. Thanks again for your assistance. -JSK- From owner-linux-mips@oss.sgi.com Wed Jul 19 14:12:25 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 14:12:15 -0700 Received: from gatekeep.ti.com ([192.94.94.61]:970 "EHLO gatekeep.ti.com") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 14:11:42 -0700 Received: from dlep8.itg.ti.com ([157.170.134.88]) by gatekeep.ti.com (8.10.2/8.10.1) with ESMTP id e6JLBBH08527 for ; Wed, 19 Jul 2000 16:11:15 -0500 (CDT) Received: from dlep8.itg.ti.com (localhost [127.0.0.1]) by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id QAA18433 for ; Wed, 19 Jul 2000 16:10:47 -0500 (CDT) Received: from dlep3.itg.ti.com (dlep3.itg.ti.com [157.170.188.62]) by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id QAA18428 for ; Wed, 19 Jul 2000 16:10:47 -0500 (CDT) Received: from ti.com (IDENT:bbrown@bbrown.sc.ti.com [158.218.100.128]) by dlep3.itg.ti.com (8.9.3/8.9.3) with ESMTP id QAA04675 for ; Wed, 19 Jul 2000 16:11:09 -0500 (CDT) Message-ID: <39761989.D37E89FE@ti.com> Date: Wed, 19 Jul 2000 15:11:37 -0600 From: Brady Brown Organization: Texas Instruments X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: SGI news group Subject: egcs 1.0.3a-2 crosscompiler behavior Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing I have several steps in my build process where I use the linker to link a pure binary file (usually a zipped image) into a relocatable elf file, which is then linked with other elf files to create a final image. I am running the mipsel-linux cross compiler tool chain on an i386. After upgrading the tools to egcs 1.0.3a-2 the linking of this binary file fails. Example: mipsel-linux-ld -T link.script -r -b binary image.gz -o image.o link.script file contents are: OUTPUT_FORMAT("elf32-littlemips") OUTPUT_ARCH(mips) SECTIONS { .data : { image_start = .; *(.data) image_end = .; } } The normal output from the old linker was: mipsel-linux-ld: image.gz: compiled for a little endian system and target is little endian The new linker gives: mipsel-linux-ld: image.gz: compiled for a little endian system and target is big endian File in wrong format: failed to merge target specific data of file image.gz? make[1]: *** [image.o] Error 1 I have been unable to figure out why the linker thinks the target is big endian and have yet to find a way to get this to work. Any ideas? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brady Brown (bbrown@ti.com) Work:(801)619-6103 Texas Instruments: Broadband Access Group ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From owner-linux-mips@oss.sgi.com Wed Jul 19 14:45:25 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 14:45:15 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:1096 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 14:44:45 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id OAA24531 for ; Wed, 19 Jul 2000 14:36:52 -0700 (PDT) mail_from (jsun@mvista.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id OAA34455 for ; Wed, 19 Jul 2000 14:43:51 -0700 (PDT) Received: from deliverator.sgi.com (deliverator.sgi.com [150.166.91.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id OAA77256 for ; Wed, 19 Jul 2000 14:42:14 -0700 (PDT) mail_from (jsun@mvista.com) Received: from hermes.mvista.com (gateway-490.mvista.com [63.192.220.206]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id OAA24087 for ; Wed, 19 Jul 2000 14:34:42 -0700 (PDT) mail_from (jsun@mvista.com) Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75]) by hermes.mvista.com (8.9.3/8.9.3) with ESMTP id OAA10688; Wed, 19 Jul 2000 14:41:41 -0700 Message-ID: <39762094.9F59676D@mvista.com> Date: Wed, 19 Jul 2000 14:41:40 -0700 From: Jun Sun X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20b i586) X-Accept-Language: en MIME-Version: 1.0 To: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr CC: Geert.Uytterhoeven@sonycom.com Subject: How does PCI device get its interrupt vector? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing I am trying to get DDB5476 working and got puzzled by the interrupt vector thing. The on-board ether chip, a PCI device, apparently indicates it generates interrupts and has an interrupt vector of 123. Later on, when tulip_open tries to call request_irq(123, ...), it returns with an error because the vector is greater than 32. Here are my questions : 1. Who wrote 123 to the ether chip? That does not sound right to me at first place. 2. Assuming the ether chip returns 0xFF (an invalid interrupt vector, which I believe is the correct behavior), which part of Linux is responsible to figure out the correct interrupt vector? Here we do have the interrupt pin information and interrupt routing information. So we should be able to tell what is the right interrupt vector number. Any hints? Thanks. Jun From owner-linux-mips@oss.sgi.com Wed Jul 19 15:47:37 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 15:47:27 -0700 Received: from u-185.karlsruhe.ipdial.viaginterkom.de ([62.180.21.185]:61702 "EHLO u-185.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 15:46:59 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Wed, 19 Jul 2000 16:08:13 +0200 Date: Wed, 19 Jul 2000 16:08:13 +0200 From: Ralf Baechle To: clemej Cc: linux-mips@oss.sgi.com Subject: Re: Okay, lost Message-ID: <20000719160813.A13006@bacchus.dhis.org> References: <200007182323.AA145031220@mail.alum.rpi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200007182323.AA145031220@mail.alum.rpi.edu>; from clemej@mail.alum.rpi.edu on Tue, Jul 18, 2000 at 11:23:22PM -0400 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Tue, Jul 18, 2000 at 11:23:22PM -0400, clemej wrote: > When I was bitten by the infamous '-N' bug, it seems to me the > exception I got said "UTLB" in it somewhere. This one doesn't. > So maybe that's not the problem. > > And I think I might be being bitten by the same thing. All 2.4 > kernels I've tried die with what seems to be a similar error on > my Indigo2 (R4400 200Mhz). I thought I read somewhere something > about XZ graphics causing problems and boards should be > removed... why? Could this be the cause? I have XZ in my > machine.... I want to try a few more things before sounding too > many alarms though... The XZ graphics isn't supported nor do we properly detect and avoid it which is why the kernel blows up on XZ. Now, Ulf had the same problem and as he knows about this issue I guess there is a real problem hidden behind that ... Ralf From owner-linux-mips@oss.sgi.com Wed Jul 19 15:47:57 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 15:47:47 -0700 Received: from u-185.karlsruhe.ipdial.viaginterkom.de ([62.180.21.185]:61702 "EHLO u-185.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 15:47:01 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Wed, 19 Jul 2000 16:10:12 +0200 Date: Wed, 19 Jul 2000 16:10:12 +0200 From: Ralf Baechle To: Keith M Wesolowski Cc: linux-mips@oss.sgi.com Subject: Re: Analysis of Samba configure oops Message-ID: <20000719161012.B13006@bacchus.dhis.org> References: <20000716182428.A972@foobazco.org> <20000717100534.D6424@chem.unr.edu> <20000718051828.A12440@bacchus.dhis.org> <20000718213310.A27016@chem.unr.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000718213310.A27016@chem.unr.edu>; from wesolows@chem.unr.edu on Tue, Jul 18, 2000 at 09:33:15PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Tue, Jul 18, 2000 at 09:33:15PM -0700, Keith M Wesolowski wrote: > > Indeed, it does. I've commited a patch for this bug to cvs and would like > > to hear reports. > > I am pleased to report that without this fix I observe the > oft-reported problem when using two disks simultaneously on IP22: > > SCSI disk error : host 0 channel 0 id 2 lun 0 return code = 27010000 > I/O error: dev 08:11, sector 1885720 > > but with this fix I no longer see this. How many more bugs will this > fix I wonder... Funny. It's unobvious why this happend but I gratefully accept this bug being fixed as well. Now that this cure was so successful I'll have to research if mips64 is also affected. Ralf From owner-linux-mips@oss.sgi.com Wed Jul 19 16:01:17 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 16:01:07 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:56627 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 16:00:39 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id QAA05542 for ; Wed, 19 Jul 2000 16:05:57 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from calypso.engr.sgi.com (calypso.engr.sgi.com [163.154.5.113]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id QAA35891; Wed, 19 Jul 2000 16:00:01 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: by calypso.engr.sgi.com (Postfix, from userid 37984) id 03893A7875; Wed, 19 Jul 2000 15:58:37 -0700 (PDT) From: Ulf Carlsson MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14710.12957.944464.88872@calypso.engr.sgi.com> Date: Wed, 19 Jul 2000 15:58:37 -0700 (PDT) To: Brady Brown Cc: SGI news group Subject: Re: egcs 1.0.3a-2 crosscompiler behavior In-Reply-To: <39761989.D37E89FE@ti.com> References: <39761989.D37E89FE@ti.com> X-Mailer: VM 6.75 under Emacs 20.5.1 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hi Brady, This is fixed in the current CVS version of binutils. I have no idea what version of ld you are running, but if you look at the function _bfd_mips_elf_merge_private_bfd_data in elf32-mips.c you'll see that the check ibfd->xvec->byteorder != BFD_ENDIAN_UNKOWN is forgotten in the if statement. Ulf Brady Brown writes: > I have several steps in my build process where I use the linker to link > a pure binary file (usually a zipped image) into a relocatable elf file, > which is then linked with other elf files to create a final image. I am > running the mipsel-linux cross compiler tool chain on an i386. After > upgrading the tools to egcs 1.0.3a-2 the linking of this binary file > fails. > > Example: > mipsel-linux-ld -T link.script -r -b binary image.gz -o image.o > > link.script file contents are: > OUTPUT_FORMAT("elf32-littlemips") > OUTPUT_ARCH(mips) > SECTIONS > { > .data : > { > image_start = .; > *(.data) > image_end = .; > } > } > > The normal output from the old linker was: > mipsel-linux-ld: image.gz: compiled for a little endian system and > target is little endian > > The new linker gives: > mipsel-linux-ld: image.gz: compiled for a little endian system and > target is big endian > File in wrong format: failed to merge target specific data of file > image.gz? > make[1]: *** [image.o] Error 1 > > I have been unable to figure out why the linker thinks the target is big > endian and have yet to find a way to get this to work. Any ideas? > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Brady Brown (bbrown@ti.com) Work:(801)619-6103 > Texas Instruments: Broadband Access Group > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > From owner-linux-mips@oss.sgi.com Wed Jul 19 16:41:37 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 16:41:18 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:12 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 16:40:48 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id QAA22325; Wed, 19 Jul 2000 16:40:15 -0700 Date: Wed, 19 Jul 2000 16:40:15 -0700 From: Keith M Wesolowski To: Ralf Baechle Cc: linux-mips@oss.sgi.com Subject: Re: Analysis of Samba configure oops Message-ID: <20000719164012.B21310@chem.unr.edu> References: <20000716182428.A972@foobazco.org> <20000717100534.D6424@chem.unr.edu> <20000718051828.A12440@bacchus.dhis.org> <20000718213310.A27016@chem.unr.edu> <20000719161012.B13006@bacchus.dhis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000719161012.B13006@bacchus.dhis.org>; from ralf@oss.sgi.com on Wed, Jul 19, 2000 at 04:10:12PM +0200 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, Jul 19, 2000 at 04:10:12PM +0200, Ralf Baechle wrote: > Funny. It's unobvious why this happend but I gratefully accept this > bug being fixed as well. Now that this cure was so successful I'll have > to research if mips64 is also affected. Klaus and I have investiagated further. Apparently the problem does not manifest itself with cp -rd or similar, but using tar cf - | tar xf - does trigger it. It's not clear why this is. -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Wed Jul 19 17:05:38 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 17:05:17 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:6408 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 17:04:52 -0700 Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id QAA24365 for ; Wed, 19 Jul 2000 16:56:58 -0700 (PDT) mail_from (jsk@tetracon-eng.net) Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id TAA07339; Wed, 19 Jul 2000 19:56:25 -0300 Date: Wed, 19 Jul 2000 19:56:25 -0300 From: "J. Scott Kasten" To: Keith M Wesolowski cc: linux-mips@oss.sgi.com Subject: Re: Simple Linux/MIPS 0.2b In-Reply-To: <20000719101346.B7480@chem.unr.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, 19 Jul 2000, Keith M Wesolowski wrote: > I have successfully > built the X libs (4.0 + Guido's newport patch) with the toolchain > included in Simple 0.2b, and have run applications linked against > them. The entire system was built from the same toolchain. There is one thing at this point that would really really help. I need to establish a reference point and follow someone elses procedures exactly to determine what the source of my problem is and why some of you are not seeing this to the extent that I am. In this way, we can verify whether or not there is a bonified problem, and if it is with the tools, maybe get it fixed. I think the x libs are a good place to start, because I can guarantee that I'm breaking those, yet you claim to have them working. I also know that I can grab someone else's prebuilt and compile against those and get working apps. Thus the x libs demonstrate all the "features" of the problem that I'm encountering. If you can answer some questions, I can try to parallel what you have done: #1 You say you built X using the tool chain for Simple 0.2b. Does that mean you compiled it natively on an Indy with what was effectively Simple 0.2b installed? Or was it cross compiled using the same releases of the tools? #2 You say X 4.0. Can you be more specific? Was it an official 4.0 tarball on the xfree ftp site? Pulled from CVS? Or was it really a 4.0.1? Basicly, I want the exact same starting sources that you used. #3 Where can I get Guido's X patch? #4 What if anything did you add to the host.def or other config files before doing "make World"? From owner-linux-mips@oss.sgi.com Wed Jul 19 18:14:07 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 18:13:58 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:39491 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 18:13:24 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id SAA07993 for ; Wed, 19 Jul 2000 18:18:33 -0700 (PDT) mail_from (jsun@mvista.com) Received: from deliverator.sgi.com (deliverator.sgi.com [150.166.91.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id SAA79995 for ; Wed, 19 Jul 2000 18:12:32 -0700 (PDT) mail_from (jsun@mvista.com) Received: from hermes.mvista.com (gateway-490.mvista.com [63.192.220.206]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id SAA04346 for ; Wed, 19 Jul 2000 18:05:00 -0700 (PDT) mail_from (jsun@mvista.com) Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75]) by hermes.mvista.com (8.9.3/8.9.3) with ESMTP id SAA15079; Wed, 19 Jul 2000 18:12:14 -0700 Message-ID: <397651ED.80F1A4D4@mvista.com> Date: Wed, 19 Jul 2000 18:12:13 -0700 From: Jun Sun X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20b i586) X-Accept-Language: en MIME-Version: 1.0 To: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr, Geert.Uytterhoeven@sonycom.com Subject: Re: How does PCI device get its interrupt vector? References: <39762094.9F59676D@mvista.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Jun Sun wrote: > > 2. Assuming the ether chip returns 0xFF (an invalid interrupt vector, > which I believe is the correct behavior), which part of Linux is > responsible to figure out the correct interrupt vector? Never mind. I found the place. It is in pcibios_fixup_irqs(). Jun From owner-linux-mips@oss.sgi.com Wed Jul 19 18:40:28 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 18:40:18 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:11788 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 18:39:36 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id SAA25410; Wed, 19 Jul 2000 18:39:02 -0700 Date: Wed, 19 Jul 2000 18:39:02 -0700 From: Keith M Wesolowski To: "J. Scott Kasten" Cc: linux-mips@oss.sgi.com Subject: Re: Simple Linux/MIPS 0.2b Message-ID: <20000719183901.A24731@chem.unr.edu> References: <20000719101346.B7480@chem.unr.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from jsk@tetracon-eng.net on Wed, Jul 19, 2000 at 07:56:25PM -0300 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, Jul 19, 2000 at 07:56:25PM -0300, J. Scott Kasten wrote: > I think the x libs are a good place to start, because I can guarantee that > I'm breaking those, yet you claim to have them working. I also know that > I can grab someone else's prebuilt and compile against those and get > working apps. Thus the x libs demonstrate all the "features" of the > problem that I'm encountering. Sure. > #1 You say you built X using the tool chain for Simple 0.2b. Does that > mean you compiled it natively on an Indy with what was effectively Simple > 0.2b installed? Or was it cross compiled using the same releases of the > tools? It was built natively. You will need to obtain cpp from egcs 1.1.2 and place it into /lib in order to accomplish this. You can get this at ftp://oss.sgi.com/pub/linux/mips/mips-linux/simple/userland-0.2b/bin/cpp > #2 You say X 4.0. Can you be more specific? Was it an official 4.0 > tarball on the xfree ftp site? Pulled from CVS? Or was it really a > 4.0.1? Basicly, I want the exact same starting sources that you used. It is XFree86 4.0 official + the 000531 version of Guido's patch. > #3 Where can I get Guido's X patch? ftp://oss.sgi.com/pub/linux/mips/X/source/newport_000531.diff.gz > #4 What if anything did you add to the host.def or other config files > before doing "make World"? I changed nothing. -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Wed Jul 19 18:52:58 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 18:52:48 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:14092 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 18:52:31 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id SAA25769; Wed, 19 Jul 2000 18:51:56 -0700 Date: Wed, 19 Jul 2000 18:51:56 -0700 From: Keith M Wesolowski To: "J. Scott Kasten" Cc: linux-mips@oss.sgi.com Subject: Re: Simple Linux/MIPS 0.2b Message-ID: <20000719185153.B24731@chem.unr.edu> References: <20000719101346.B7480@chem.unr.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from jsk@tetracon-eng.net on Wed, Jul 19, 2000 at 07:56:25PM -0300 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, Jul 19, 2000 at 07:56:25PM -0300, J. Scott Kasten wrote: > There is one thing at this point that would really really help. I need to > establish a reference point and follow someone elses procedures exactly to > determine what the source of my problem is and why some of you are not > seeing this to the extent that I am. In this way, we can verify whether > or not there is a bonified problem, and if it is with the tools, maybe get > it fixed. Before you get carried away with this, I should point out that I've been looking at this problem in more detail. Many of my X programs don't work either; they get SEGV, never bus errors. I suspect this is a glibc bug. I can run a few programs, such as xhost and the server itself. I did have a full X setup, including a working server, under 0.1. That was built exactly the same way I've done it under 0.2b. You may wish to try both and see which works better. If you like, I will return to 0.1 and duplicate my previous efforts. I can then describe the exact procedure to you. -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Wed Jul 19 19:29:47 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 19:29:38 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:41011 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 19:28:58 -0700 Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id TAA16926 for ; Wed, 19 Jul 2000 19:21:05 -0700 (PDT) mail_from (jsk@tetracon-eng.net) Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id WAA07550; Wed, 19 Jul 2000 22:19:51 -0300 Date: Wed, 19 Jul 2000 22:19:51 -0300 From: "J. Scott Kasten" To: Keith M Wesolowski cc: linux-mips@oss.sgi.com Subject: Re: Simple Linux/MIPS 0.2b In-Reply-To: <20000719183901.A24731@chem.unr.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Great. I'll get in sync with that and see where it takes me. I did try recompiling our own C++ code on one of the other Indy boxes to check out the possibility of a hardware problem. That one was also running Simple 0.1. It exhibeted the same bus error. This alone is not conclusive one way or another. That code was developed on x86 and I don't know if that group ever tested it on Sparc or other risc for endian/alignment issues in the data structures. Thus any combination of the code, compiler, machine could be broken. Further analysis will tell. My company seems comitted to using mips, as opposed to moving to any other arch as I was told to "make it work regardless" this afternoon, even if it meant changeing their time line a little. They seem interested in throwing some people at this if it comes down to fixing the tools to get the job done. For arguments sake, if that were the case, what should we be working with and what people on the mailing lists should I start getting in touch with? Thanks again for your input Keith! From owner-linux-mips@oss.sgi.com Wed Jul 19 19:52:48 2000 Received: by oss.sgi.com id ; Wed, 19 Jul 2000 19:52:39 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:43834 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 19 Jul 2000 19:51:59 -0700 Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id TAA20224 for ; Wed, 19 Jul 2000 19:44:05 -0700 (PDT) mail_from (jsk@tetracon-eng.net) Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id WAA07573; Wed, 19 Jul 2000 22:43:35 -0300 Date: Wed, 19 Jul 2000 22:43:35 -0300 From: "J. Scott Kasten" To: Keith M Wesolowski cc: linux-mips@oss.sgi.com Subject: Re: Simple Linux/MIPS 0.2b In-Reply-To: <20000719185153.B24731@chem.unr.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, 19 Jul 2000, Keith M Wesolowski wrote: > On Wed, Jul 19, 2000 at 07:56:25PM -0300, J. Scott Kasten wrote: > > > There is one thing at this point that would really really help. I need to > > establish a reference point and follow someone elses procedures exactly to > > determine what the source of my problem is and why some of you are not > > seeing this to the extent that I am. In this way, we can verify whether > > or not there is a bonified problem, and if it is with the tools, maybe get > > it fixed. > > Before you get carried away with this, I should point out that I've > been looking at this problem in more detail. Many of my X programs > don't work either; they get SEGV, never bus errors. I suspect this is > a glibc bug. I can run a few programs, such as xhost and the server > itself. I did have a full X setup, including a working server, under > 0.1. That was built exactly the same way I've done it under 0.2b. You > may wish to try both and see which works better. Alright, that's starting to sound more like what I'm seeing. Some things work, some don't. Some SEGV, some bus error. The bugs float from one place to another depending on what tools I used to build. My litimus test has been to launch an xterm over the network, xeyes, and xwininfo. If those work, then I proceed to building lesstif against that set. Unfortunately, only libraries that others have built have gotten me to the lesstif stage. In fact, I've even had difficulty trying to build the compiler itself natively. With egcs-1.03a (patched) it would not natively build using the egcs-1.1.2, or gcc-2.7.2. Basicly at the point where the build starts launching those "genXXXXX" functions, they start segv or bus erroring. The ones that break depend on which compiler was used. Thus I was forced to try that one as a cross compiler, although I just found an rpm for it so I can finally give it a whirl natively. > If you like, I will return to 0.1 and duplicate my previous efforts. I > can then describe the exact procedure to you. Thanks, but not necessary just yet. I'll try using the X sources and patch you mentioned on both Simple 0.1 and Simple 0.2b and see what happens. We can then compare notes to see what workes, what doesn't. At that point I'm confident that we can rule out a lot of the variables and get down to demonstrating specific problems with the tools themselves. Also at that point, I can start stuffing the broken binaries into one of our eval boards and have our hardware people run it against a logic analyser so we can get to the bottom of some of these things quickly if they'll let me have the resources. We're having a staff meeting in the morning about exactly that. ;-) From owner-linux-mips@oss.sgi.com Thu Jul 20 06:34:04 2000 Received: by oss.sgi.com id ; Thu, 20 Jul 2000 06:33:54 -0700 Received: from u-51.karlsruhe.ipdial.viaginterkom.de ([62.180.18.51]:32775 "EHLO u-51.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Thu, 20 Jul 2000 06:33:33 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Thu, 20 Jul 2000 14:19:03 +0200 Date: Thu, 20 Jul 2000 14:19:03 +0200 From: Ralf Baechle To: Keith M Wesolowski Cc: linux-mips@oss.sgi.com Subject: Re: Analysis of Samba configure oops Message-ID: <20000720141903.B26191@bacchus.dhis.org> References: <20000716182428.A972@foobazco.org> <20000717100534.D6424@chem.unr.edu> <20000718051828.A12440@bacchus.dhis.org> <20000718213310.A27016@chem.unr.edu> <20000719161012.B13006@bacchus.dhis.org> <20000719164012.B21310@chem.unr.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000719164012.B21310@chem.unr.edu>; from wesolows@chem.unr.edu on Wed, Jul 19, 2000 at 04:40:15PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, Jul 19, 2000 at 04:40:15PM -0700, Keith M Wesolowski wrote: > > Funny. It's unobvious why this happend but I gratefully accept this > > bug being fixed as well. Now that this cure was so successful I'll have > > to research if mips64 is also affected. > > Klaus and I have investiagated further. Apparently the problem does > not manifest itself with cp -rd or similar, but using tar cf - | tar > xf - does trigger it. It's not clear why this is. I don't see why this should make a difference to SCSI. But the tar variant that's two processes and lots of context switching between them. Ralf From owner-linux-mips@oss.sgi.com Thu Jul 20 06:34:33 2000 Received: by oss.sgi.com id ; Thu, 20 Jul 2000 06:34:14 -0700 Received: from u-51.karlsruhe.ipdial.viaginterkom.de ([62.180.18.51]:32775 "EHLO u-51.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Thu, 20 Jul 2000 06:33:34 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Thu, 20 Jul 2000 14:27:47 +0200 Date: Thu, 20 Jul 2000 14:27:47 +0200 From: Ralf Baechle To: "Maciej W. Rozycki" Cc: "J. Scott Kasten" , Keith M Wesolowski , linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu Subject: Re: Simple Linux/MIPS 0.2b Message-ID: <20000720142747.C26191@bacchus.dhis.org> References: <20000714005155.C8972@bacchus.dhis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from macro@ds2.pg.gda.pl on Wed, Jul 19, 2000 at 04:04:58PM +0200 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, Jul 19, 2000 at 04:04:58PM +0200, Maciej W. Rozycki wrote: > > We have various known problems with the various binutils version around. > > We're working on getting a current snapshot of binutils working > > properly but right now we still have various problems, therefore > > egcs 1.0.3a + binutils 2.8.1 is still the recommended version. > > I have binutils 2.10 and gcc 2.95.2 which appear to be stable, i.e. I > haven't observed any problems recently. I may publish patches if anyone > is interested. I may see if I can arrange to publish RPM packages as > well. Anyway, have you tried to rebuild an entire Linux distribution with your toolset, including kernel, static (Like rpm or ldconfig) and dynamic PIC code? If that was successful I'd really like to recommend your toolset as the new standard - especially binutils 2.8.1 are just too rotten. Example: [ralf@indy /tmp]$ echo 'main(){}' > c.c;gcc -o c c.c -lm -lieee collect2: ld terminated with signal 11 [Segmentation fault], core dumped This nukes binutils 2.8.1 reliably ... The problem is extracted from the INN build but also affects a few more packages. Ralf From owner-linux-mips@oss.sgi.com Thu Jul 20 11:11:14 2000 Received: by oss.sgi.com id ; Thu, 20 Jul 2000 11:10:55 -0700 Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:39609 "EHLO delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id ; Thu, 20 Jul 2000 11:10:34 -0700 Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id UAA19885; Thu, 20 Jul 2000 20:09:42 +0200 (MET DST) Date: Thu, 20 Jul 2000 20:09:41 +0200 (MET DST) From: "Maciej W. Rozycki" To: Hiroshi Kawashima cc: Ralf Baechle , "J. Scott Kasten" , Keith M Wesolowski , linux-mips@oss.sgi.com Subject: Re: Simple Linux/MIPS 0.2b In-Reply-To: <200007191414.XAA09801@email.sm.sony.co.jp> Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, 19 Jul 2000, Hiroshi Kawashima wrote: > Yes, I'm very interested in it. OK, they are at 'http://www.ds2.pg.gda.pl/~macro/'. > (Although I'm mipsel (linux-vr) guy, but it will be very helpful.) Well, I'm working on a DECstation which is mipsel-linux, so results should be comparable. I suppose these fixes work for mips-linux equally well. I'll see if I can arrange space for RPMs, yet. -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + From owner-linux-mips@oss.sgi.com Thu Jul 20 11:58:46 2000 Received: by oss.sgi.com id ; Thu, 20 Jul 2000 11:58:36 -0700 Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:2746 "EHLO delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id ; Thu, 20 Jul 2000 11:58:11 -0700 Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id UAA20694; Thu, 20 Jul 2000 20:57:46 +0200 (MET DST) Date: Thu, 20 Jul 2000 20:57:45 +0200 (MET DST) From: "Maciej W. Rozycki" To: Ralf Baechle cc: "J. Scott Kasten" , Keith M Wesolowski , linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu Subject: Re: Simple Linux/MIPS 0.2b In-Reply-To: <20000720142747.C26191@bacchus.dhis.org> Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, 20 Jul 2000, Ralf Baechle wrote: > Anyway, have you tried to rebuild an entire Linux distribution with your No I didn't and I don't expect anytime soon. Basically due to the lack of disk space and time to tweak broken RPMs. I've effectively build 68 of different binary RPMs so far (not counting different releases of the same packages) and these include tools important to run a minimal system as well as have a reasonable development environment. These include SysVinit 2.78, bash 2.04, binutils 2.10, db 3.0.55, gcc 2.95.2, gdb 5.0, glibc 2.1.91, pam 0.72, rpm 3.0.4, and others. > toolset, including kernel, static (Like rpm or ldconfig) and dynamic PIC > code? If that was successful I'd really like to recommend your toolset As far as I can see both statically (bash.static, rpm, ldconfig) and dynamically linked code (almost everything else) works. Dlopening seems to work as NSS and PAM modules appear to work but it needs further investigation. Every recent failure I observed was a result of a bug in glibc or the kernel. > as the new standard - especially binutils 2.8.1 are just too rotten. Agreed. > Example: > > [ralf@indy /tmp]$ echo 'main(){}' > c.c;gcc -o c c.c -lm -lieee > collect2: ld terminated with signal 11 [Segmentation fault], core dumped This works for me with a cross-compiler from an i386 host. I'll try it natively at home tonight. I don't expect a failure, though. Gcc is rock-solid for me for quite some time, and the last failure of binutils I've seen was the problem of relocations in .data section in an executable I've discussed with Ulf at the end of May. Gcc 2.96 is just to unstable to be used unless developing it and there is no point in using binutils 2.10.90 for most people. > This nukes binutils 2.8.1 reliably ... The problem is extracted from the > INN build but also affects a few more packages. I will build packages progressively but bugfixes and improvements are higher on my TODO list than a working distribution -- I can work with init starting bash on the console. ;-) I hope to have working libpthreads tonight (fixes are in yesterday's changes and I have a patch to support R3K) -- this is the last remaining obstacle that prevents me from being able to build .mipsel.rpm packages natively (not all software cross-builds well; glibc included). I'll be able to test various software more thoroughly then (though building glibc over NFS would certainly not be running at a stunning speed, sigh...). I will definitely work for getting some FTP space for RPMs. Maciej -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + From owner-linux-mips@oss.sgi.com Fri Jul 21 03:24:01 2000 Received: by oss.sgi.com id ; Fri, 21 Jul 2000 03:23:51 -0700 Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:26049 "EHLO delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id ; Fri, 21 Jul 2000 03:23:22 -0700 Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id MAA06976; Fri, 21 Jul 2000 12:21:57 +0200 (MET DST) Date: Fri, 21 Jul 2000 12:21:57 +0200 (MET DST) From: "Maciej W. Rozycki" Reply-To: "Maciej W. Rozycki" To: Ralf Baechle cc: "J. Scott Kasten" , Keith M Wesolowski , linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu Subject: Re: Simple Linux/MIPS 0.2b In-Reply-To: <20000720142747.C26191@bacchus.dhis.org> Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, 20 Jul 2000, Ralf Baechle wrote: > [ralf@indy /tmp]$ echo 'main(){}' > c.c;gcc -o c c.c -lm -lieee > collect2: ld terminated with signal 11 [Segmentation fault], core dumped The above example compiles fine for me natively and the resulting binary works (i.e. it doesn't crash; what else would anyone expect from it? ;-) ). Also I built a CVS snapshot of glibc 2.1.91 taken Jul 20th, 2000 at 2:25 UTC and it solves the libpthreads showstopper as I expected. Maciej -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + From owner-linux-mips@oss.sgi.com Fri Jul 21 19:41:05 2000 Received: by oss.sgi.com id ; Fri, 21 Jul 2000 19:40:56 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:64614 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 21 Jul 2000 19:40:26 -0700 Received: from cthulhu.engr.sgi.com (gate3-relay.engr.sgi.com [130.62.1.234]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id TAA03982 for ; Fri, 21 Jul 2000 19:32:31 -0700 (PDT) mail_from (jsun@mvista.com) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id TAA43338 for ; Fri, 21 Jul 2000 19:39:45 -0700 (PDT) mail_from (jsun@mvista.com) Received: from hermes.mvista.com (gateway-490.mvista.com [63.192.220.206]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id TAA06058 for ; Fri, 21 Jul 2000 19:39:45 -0700 (PDT) mail_from (jsun@mvista.com) Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75]) by hermes.mvista.com (8.9.3/8.9.3) with ESMTP id TAA29846; Fri, 21 Jul 2000 19:39:44 -0700 Message-ID: <3979096E.2E11AFA6@mvista.com> Date: Fri, 21 Jul 2000 19:39:42 -0700 From: Jun Sun X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20b i586) X-Accept-Language: en MIME-Version: 1.0 To: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr Subject: kmem_alloc: NULL ptr (name=unknown) - is it a serious problem? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing I found a couple of these annoying messages at the beginning of kernel startup. It seems that some subsystems are requesting regions (request_region()) before kernel even initialize its memory. It appears to me this reservation is just for mutual exclusive access to some memory region. Since I have a static system (no PnP and hot swap etc), so I can safely ignore them. Does that make sense? What is the right to avoid these warnings? Jun From owner-linux-mips@oss.sgi.com Sat Jul 22 15:16:35 2000 Received: by oss.sgi.com id ; Sat, 22 Jul 2000 15:16:25 -0700 Received: from smtp-1.worldonline.cz ([195.146.100.76]:31375 "EHLO smtp.worldonline.cz") by oss.sgi.com with ESMTP id ; Sat, 22 Jul 2000 15:15:51 -0700 Received: from pingu (IDENT:indy@ppp226.plzen.worldonline.cz [212.11.110.230]) by smtp.worldonline.cz (8.9.3 (WOL 1.2)/8.9.3) with SMTP id AAA09273 for ; Sun, 23 Jul 2000 00:14:01 +0200 (MET DST) From: "Jiri Kastner jr." To: Linux-MIPS Mailing List Subject: X: No devices detected Date: Sun, 23 Jul 2000 00:09:03 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: Multipart/Mixed; boundary="Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD" MIME-Version: 1.0 Message-Id: <00072300170100.00879@pingu> Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD Content-Type: text/plain Content-Transfer-Encoding: 8bit In /dev I have graphics, opengl and gfx, but still: No devices detected (I have SGI Indy IP22). could anybody send me XF86Config file for X on mips-linux directly to my private mail-box, out of this mailing-list. Thanks Jiri Kastner. --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD Content-Type: text/english; name="XFree86.0.log" Content-Transfer-Encoding: base64 Content-Description: xfree-log Content-Disposition: attachment; filename="XFree86.0.log" ClhGcmVlODYgVmVyc2lvbiA0LjAgLyBYIFdpbmRvdyBTeXN0ZW0KKHByb3RvY29sIFZlcnNpb24g MTEsIHJldmlzaW9uIDAsIHZlbmRvciByZWxlYXNlIDY0MDApClJlbGVhc2UgRGF0ZTogOCBNYXJj aCAyMDAwCglJZiB0aGUgc2VydmVyIGlzIG9sZGVyIHRoYW4gNi0xMiBtb250aHMsIG9yIGlmIHlv dXIgY2FyZCBpcyBuZXdlcgoJdGhhbiB0aGUgYWJvdmUgZGF0ZSwgbG9vayBmb3IgYSBuZXdlciB2 ZXJzaW9uIGJlZm9yZSByZXBvcnRpbmcKCXByb2JsZW1zLiAgKHNlZSBodHRwOi8vd3d3LlhGcmVl ODYuT3JnL0ZBUSkKT3BlcmF0aW5nIFN5c3RlbTogTGludXggMi4yLjEzIG1pcHMgW0VMRl0gCig9 PSkgTG9nIGZpbGU6ICIvdmFyL2xvZy9YRnJlZTg2LjAubG9nIiwgVGltZTogU3VuIEp1bCAyMyAw MjowMTowNCAyMDAwCig9PSkgVXNpbmcgY29uZmlnIGZpbGU6ICIvZXRjL1gxMS9YRjg2Q29uZmln IgpNYXJrZXJzOiAoLS0pIHByb2JlZCwgKCoqKSBmcm9tIGNvbmZpZyBmaWxlLCAoPT0pIGRlZmF1 bHQgc2V0dGluZywKICAgICAgICAgKCsrKSBmcm9tIGNvbW1hbmQgbGluZSwgKCEhKSBub3RpY2Us IChJSSkgaW5mb3JtYXRpb25hbCwKICAgICAgICAgKFdXKSB3YXJuaW5nLCAoRUUpIGVycm9yLCAo Pz8pIHVua25vd24uCig9PSkgU2VydmVyTGF5b3V0ICJTaW1wbGUgTGF5b3V0IgooKiopIHwtLT5T Y3JlZW4gIlNjcmVlbiAxIiAoMCkKKCoqKSB8ICAgfC0tPk1vbml0b3IgInNnaSIKKCoqKSB8ICAg fC0tPkRldmljZSAiTXkgVmlkZW8gQ2FyZCIKKCoqKSB8LS0+SW5wdXQgRGV2aWNlICJNb3VzZTEi CigqKikgfC0tPklucHV0IERldmljZSAiS2V5Ym9hcmQxIgooKiopIE9wdGlvbiAiQXV0b1JlcGVh dCIgIjUwMCAzMCIKKCoqKSBPcHRpb24gIlhrYlJ1bGVzIiAieGZyZWU4NiIKKCoqKSBYS0I6IHJ1 bGVzOiAieGZyZWU4NiIKKCoqKSBPcHRpb24gIlhrYk1vZGVsIiAicGMxMDEiCigqKikgWEtCOiBt b2RlbDogInBjMTAxIgooKiopIE9wdGlvbiAiWGtiTGF5b3V0IiAiZW5fVVMiCigqKikgWEtCOiBs YXlvdXQ6ICJlbl9VUyIKKCoqKSBGb250UGF0aCBzZXQgdG8gIi91c3IvWDExUjYvbGliL1gxMS9m b250cy9sb2NhbC8sL3Vzci9YMTFSNi9saWIvWDExL2ZvbnRzL21pc2MvLC91c3IvWDExUjYvbGli L1gxMS9mb250cy83NWRwaS86dW5zY2FsZWQsL3Vzci9YMTFSNi9saWIvWDExL2ZvbnRzLzEwMGRw aS86dW5zY2FsZWQsL3Vzci9YMTFSNi9saWIvWDExL2ZvbnRzL1R5cGUxLywvdXNyL1gxMVI2L2xp Yi9YMTEvZm9udHMvU3BlZWRvLywvdXNyL1gxMVI2L2xpYi9YMTEvZm9udHMvNzVkcGkvLC91c3Iv WDExUjYvbGliL1gxMS9mb250cy8xMDBkcGkvIgooKiopIFJnYlBhdGggc2V0IHRvICIvdXNyL1gx MVI2L2xpYi9YMTEvcmdiIgooLS0pIHVzaW5nIFZUIG51bWJlciA3CgooSUkpIEFkZHJlc3NhYmxl IGJ1cyByZXNvdXJjZSByYW5nZXMgYXJlCglbMF0gLTEJMHgwMDAwMDAwMCAtIDB4ZmZmZmZmZmYg KDB4MCkgTVhCCglbMV0gLTEJMHgwMDAwMDAwMCAtIDB4MDAwMGZmZmYgKDB4MTAwMDApIElYQgoo SUkpIE9TLXJlcG9ydGVkIHJlc291cmNlIHJhbmdlczoKKElJKSBPUy1yZXBvcnRlZCByZXNvdXJj ZSByYW5nZXMgYWZ0ZXIgcmVtb3Zpbmcgb3ZlcmxhcHMgd2l0aCBQQ0k6CihJSSkgQWxsIHN5c3Rl bSByZXNvdXJjZSByYW5nZXM6CihJSSkgTmV3UG9ydDogZHJpdmVyIGZvciBOZXdwb3J0IEdyYXBo aWNzIENhcmQ6IFhMCihFRSkgTm8gZGV2aWNlcyBkZXRlY3RlZC4KCkZhdGFsIHNlcnZlciBlcnJv cjoKbm8gc2NyZWVucyBmb3VuZAoKV2hlbiByZXBvcnRpbmcgYSBwcm9ibGVtIHJlbGF0ZWQgdG8g YSBzZXJ2ZXIgY3Jhc2gsIHBsZWFzZSBzZW5kCnRoZSBmdWxsIHNlcnZlciBvdXRwdXQsIG5vdCBq dXN0IHRoZSBsYXN0IG1lc3NhZ2VzLgpUaGlzIGNhbiBiZSBmb3VuZCBpbiB0aGUgbG9nIGZpbGUg Ii92YXIvbG9nL1hGcmVlODYuMC5sb2ciLgoK --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD-- From owner-linux-mips@oss.sgi.com Sun Jul 23 12:59:04 2000 Received: by oss.sgi.com id ; Sun, 23 Jul 2000 12:58:59 -0700 Received: from m3bhNs1n20.midsouth.rr.com ([24.24.110.20]:44814 "EHLO GroundZero.enchanted.net") by oss.sgi.com with ESMTP id ; Sun, 23 Jul 2000 12:57:58 -0700 Received: from talisman.enchanted.net (root@talisman.enchanted.net [10.20.30.50]) by GroundZero.enchanted.net (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id OAA20677; Sun, 23 Jul 2000 14:56:15 -0500 Received: (from awrasman@localhost) by talisman.enchanted.net (8.11.0.Beta1/8.11.0.Beta1/Debian 8.11.0-1) id e6NJuE617866; Sun, 23 Jul 2000 14:56:14 -0500 From: "A. Wrasman" Date: Sun, 23 Jul 2000 14:56:14 -0500 To: Ralf Baechle Cc: linux-mips@oss.sgi.com Subject: Re: Okay, lost Message-ID: <20000723145613.A17858@enchanted.net> Reply-To: wrasman@cs.utk.edu References: <20000717205303.A14220@enchanted.net> <20000718052309.B12440@bacchus.dhis.org> <14708.55755.682163.57386@calypso.engr.sgi.com> <20000719140505.A12322@bacchus.dhis.org> <20000719210555.A15023@enchanted.net> <20000720141319.A26191@bacchus.dhis.org> <20000722123548.A785@enchanted.net> <20000723030324.A2710@bacchus.dhis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000723030324.A2710@bacchus.dhis.org>; from ralf@uni-koblenz.de on Sun, Jul 23, 2000 at 03:03:24AM +0200 X-Url: http://www.cs.utk.edu/~wrasman Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Sun, Jul 23, 2000 at 03:03:24AM +0200, Ralf Baechle wrote: > On Sat, Jul 22, 2000 at 12:35:49PM -0500, A. Wrasman wrote: > > > Well removed the 2 extra cards from the box. Still no go. > > Thanks. > > I suspect that there is some magic configuration which crashes. Since > hardware doesn't make the difference it might also be the PROM version. > Basically I believe that under certain circumstances the kernel overwrites > PROM data structures or vice versa or there is (yet another ...) ARC > firmware bug which results in a crash. I've got version 5.3 of the prom for IP22. Of course SGI is doing some update of the support section of their site this weekend so I can't even poke around to see what updates have come out, since I have't patched IRIX 6.2 in over 2 years on this box. How can I go about troubleshooting the kernel at this point? The odd thing is a 2.2.14 (and an older 2.2.1) kernel all work fine. Since most of the work is now being done on the 2.4 kernel it would be nice to get nearer to what the development is being done on. > > Ralf From owner-linux-mips@oss.sgi.com Sun Jul 23 16:29:55 2000 Received: by oss.sgi.com id ; Sun, 23 Jul 2000 16:29:46 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:25692 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 23 Jul 2000 16:29:19 -0700 Received: from cthulhu.engr.sgi.com (gate3-relay.engr.sgi.com [130.62.1.234]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id QAA04238 for ; Sun, 23 Jul 2000 16:34:40 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id QAA48814 for ; Sun, 23 Jul 2000 16:28:36 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: from u-46.karlsruhe.ipdial.viaginterkom.de (u-46.karlsruhe.ipdial.viaginterkom.de [62.180.18.46]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id QAA03390 for ; Sun, 23 Jul 2000 16:28:34 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Mon, 24 Jul 2000 01:28:22 +0200 Date: Mon, 24 Jul 2000 01:28:22 +0200 From: Ralf Baechle To: Jun Sun Cc: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr Subject: Re: kmem_alloc: NULL ptr (name=unknown) - is it a serious problem? Message-ID: <20000724012822.C2678@bacchus.dhis.org> References: <3979096E.2E11AFA6@mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3979096E.2E11AFA6@mvista.com>; from jsun@mvista.com on Fri, Jul 21, 2000 at 07:39:42PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Fri, Jul 21, 2000 at 07:39:42PM -0700, Jun Sun wrote: > I found a couple of these annoying messages at the beginning of kernel > startup. It seems that some subsystems are requesting regions > (request_region()) before kernel even initialize its memory. > > It appears to me this reservation is just for mutual exclusive access to > some memory region. Since I have a static system (no PnP and hot swap > etc), so I can safely ignore them. > > Does that make sense? Not really. The kernel initializes all devices long after memory managment, see init/main.c:start_kernel(). So the simple suggestion would be to delay initialization. Ralf From owner-linux-mips@oss.sgi.com Sun Jul 23 21:56:26 2000 Received: by oss.sgi.com id ; Sun, 23 Jul 2000 21:56:16 -0700 Received: from chmls05.mediaone.net ([24.147.1.143]:52872 "EHLO chmls05.mediaone.net") by oss.sgi.com with ESMTP id ; Sun, 23 Jul 2000 21:55:53 -0700 Received: from pianoman.cluster.toy (h00001c600ed5.ne.mediaone.net [24.147.29.131]) by chmls05.mediaone.net (8.8.7/8.8.7) with ESMTP id AAA24064 for ; Mon, 24 Jul 2000 00:55:29 -0400 (EDT) Message-Id: <200007240455.AAA24064@chmls05.mediaone.net> Date: Mon, 24 Jul 2000 00:55:49 EDT From: John Clemens To: linux-mips@oss.sgi.com Subject: Indigo2 bootinfo problems (2.2.14 OK, anything after=NOT) Reply-To: clemej@alum.rpi.edu X-Mailer: Spruce 0.7.1 for X11 w/smtpio 0.7.9 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hello.. I'm being bitten by the post-2.2.14-including-2.4.0-does-not-boot syndrome. Everything I've triend, even the pre-compiled kernels from Simple Linux don't work, except for th 2.2.14 kernels. (and the earlier 2.2 kernels I compiled around christmastime last year, when I had time to work on this before.) It's in indigo2, R4400 - 200Mhz, XZ graphics (but tried with the cards pulled to no avail). Most kernels just print the numbers right after you type boot and the nothing else. But if you boot with 2.2.14, then it boots just fine. I'm enclosing a boot log of the 2.2.14 boot to show what prom and arcs version I'm running.. maybe they're provide some clues? john.c >> boot vml-2214 boot=/bin/bash console=ttyS0 nfsroot=192.168.8.1:/sl 130768+22320+3184+341792+48560d+4604+6816 entry: 0x8ffa60d0 ARCH: SGI-IP22 PROMLIB: SGI ARCS firmware Version 1 Revision 10 PROMLIB: Total free ram 132923392 bytes (129808K,126MB) CPU: MIPS-R4400 FPU ICACHE DCACHE SCACHE Loading R4000 MMU routines. CPU revision is: 00000460 Primary instruction cache 16kb, linesize 16 bytes) Primary data cache 16kb, linesize 16 bytes) Secondary cache sized at 2048K linesize 128 Linux version 2.2.14 (wesolows@fallout) (gcc version egcs-2.91.66 19990314 (egc0 MC: SGI memory controller Revision 3 Vino: ID:00 Rev:00 0x00 0x00 0x088134c34 0x00 0x00 0x00 0x00 0x00 calculating r4koff... 000f43d0(1000400) zs0: console input Console: ttyS0 (Zilog8530) Calibrating delay loop... 99.94 BogoMIPS Memory: 125788k/261652k available (1140k kernel code, 2844k data) Dentry hash table entries: 16384 (order 5, 128k) Buffer cache hash table entries: 131072 (order 7, 512k) Page cache hash table entries: 32768 (order 5, 128k) Checking for 'wait' instruction... unavailable. POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0 for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP TCP: Hash tables configured (ehash 131072 bhash 65536) Starting kswapd v 1.5 initialize_kbd: Keyboard failed self test Detected PS/2 Mouse Port. SGI Zilog8530 serial driver version 1.00 Keyboard timeout[2] Keyboard timeout[2] tty00 at 0xbfbd9830 (irq = 37) is a Zilog8530 tty01 at 0xbfbd9838 (irq = 37) is a Zilog8530 DS1286 Real Time Clock Driver v1.0 streamable misc devices registered (keyb:150, gfx:148) Linux video capture interface: v1.00 loop: registered device at major 7 wd33c93-0: chip=WD33c93B/13 no_sync=0xff no_dma=0 debug_flags=0x00 setup_args=,,,,,,,,, Version 1.25 - 09/Jul/1997, Compiled May 18 2000 at 16:33:06 wd33c93-1: chip=WD33c93B/13 no_sync=0xff no_dma=0 debug_flags=0x00 setup_args=,,,,,,,,, Version 1.25 - 09/Jul/1997, Compiled May 18 2000 at 16:33:06 scsi0 : SGI WD93 scsi1 : SGI WD93 scsi : 2 hosts. sending SDTR 0103013f0csync_xfer=2c Vendor: SGI Model: QUANTUM XP32150 C Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 1, lun 0 scsi : detected 1 SCSI disk total. SCSI device sda: hdwr sector= 512 bytes. Sectors= 4404489 [2150 MB] [2.2 GB] sgiseeq.c: David S. Miller (dm@engr.sgi.com) eth0: SGI Seeq8003 08:00:69:09:07:b3 Sending BOOTP requests.... OK IP-Config: Got BOOTP answer from 192.168.8.1, my address is 192.168.8.5 Partition check: sda: sda1 sda2 sda3 sda4 Looking up port of RPC 100003/2 on 192.168.8.1 Looking up port of RPC 100005/1 on 192.168.8.1 VFS: Mounted root (NFS filesystem) readonly. Freeing prom memory: 768k freed Freeing unused kernel memory: 60k freed Running /etc/rc. . . Performing file system check sgiseeq.c: David S. Miller (dm@engr.sgi.com) eth0: SGI Seeq8003 08:00:69:09:07:b3 Sending BOOTP requests.... OK IP-Config: Got BOOTP answer from 192.168.8.1, my address is 192.168.8.5 Partition check: sda: sda1 sda2 sda3 sda4 Looking up port of RPC 100003/2 on 192.168.8.1 Looking up port of RPC 100005/1 on 192.168.8.1 VFS: Mounted root (NFS filesystem) readonly. Freeing prom memory: 768k freed Freeing unused kernel memory: 60k freed Running /etc/rc. . . Performing file system check -- - -- /* John Clemens http://www.rpi.edu/~clemej _/ "I Hate Quotes" */ /* ICQ: 7175925 clemej@rpi.edu _/ -- Samuel L. Clemens */ /* RPI Comp. Eng. 2000, Linux Parallel/Network/OS/Driver Specialist */ From owner-linux-mips@oss.sgi.com Mon Jul 24 05:35:39 2000 Received: by oss.sgi.com id ; Mon, 24 Jul 2000 05:35:29 -0700 Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:10710 "EHLO delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id ; Mon, 24 Jul 2000 05:35:00 -0700 Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id OAA04269; Mon, 24 Jul 2000 14:34:09 +0200 (MET DST) Date: Mon, 24 Jul 2000 14:34:08 +0200 (MET DST) From: "Maciej W. Rozycki" To: linux-mips@fnet.fr, linux-mips@oss.sgi.com Subject: Gdb 5.0 patches for MIPS/Linux -- next iteration Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hi, After a bit of work a next release of gdb patches is ready. It provides a few bugfixes as well as handling of branches on coprocessor 1 conditions. It's available at 'http://www.ds2.pg.gda.pl/~macro/gdb-5.0/'. Maciej -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + From owner-linux-mips@oss.sgi.com Mon Jul 24 06:30:49 2000 Received: by oss.sgi.com id ; Mon, 24 Jul 2000 06:30:40 -0700 Received: from stimpy.multiweb.net ([195.114.226.251]:42757 "EHLO stimpy.multiweb.nl") by oss.sgi.com with ESMTP id ; Mon, 24 Jul 2000 06:30:05 -0700 Received: from auto-nb1.xs4all.nl ([192.168.13.9]) by stimpy.multiweb.nl (8.9.3/8.9.3) with ESMTP id PAA16730 for ; Mon, 24 Jul 2000 15:29:41 +0200 Message-Id: <4.3.1.2.20000724151007.00badc40@mail.coltex.nl> X-Sender: knuffie@pop.xs4all.nl (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 24 Jul 2000 15:28:25 +0200 To: linux-mips@oss.sgi.com From: Seth Mos Subject: Linux on an O2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hi, I found some other discussions on the 1998 mailling list archives about the possibility of Linux on O2. My question is would it be easier to achieve these days with the experience of using Indy's. Could someone give advise in what would be nicer to work on. Is an O2 a "no go" for porting linux to it or is there interrest. I am in the process of buying an O2 although 2nd hand Indy's and Indigo2 are also come to mind. I am also willing to give shell access to people wanting to develop on a O2 if I do buy one. Bye Seth From owner-linux-mips@oss.sgi.com Mon Jul 24 14:57:52 2000 Received: by oss.sgi.com id ; Mon, 24 Jul 2000 14:57:42 -0700 Received: from hermes.epita.fr ([194.98.116.10]:25612 "EHLO hermes.epita.fr") by oss.sgi.com with ESMTP id ; Mon, 24 Jul 2000 14:57:19 -0700 Received: from purple42.epx.epita.fr (purple42.epx.epita.fr [10.225.7.1]) by hermes.epita.fr id XAA17902 for EPITA Paris France Mon, 24 Jul 2000 23:57:26 GMT Received: by purple42.epx.epita.fr (Postfix, from userid 501) id 6DFE1277; Tue, 25 Jul 2000 00:01:09 +0200 (CEST) Date: Tue, 25 Jul 2000 00:01:08 +0200 From: Diablero To: linux-mips@oss.sgi.com Subject: I can't cross compile kernel Message-ID: <20000725000108.A12611@purple42.epx.epita.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing I have recompiled binutils and gcc lik it's explained in http://foobazco.org/~wesolows/mips-cross.html. I have tried to cross-compile kernel but I always had the same errors. (last kernel from cvs - oss.sgi.com) make menuconfig ARCH=mips make dep MAKE="make -j3" CROSS_COMPILE=mips-linux- make boot MAKE="make -j3" CROSS_COMPILE=mips-linux- mips-linux-gcc -D__KERNEL__ -I/goinfre/mips/kernel/linux-cvs/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -mcpu=r4600 -mips2 -Wa,--trap -pipe -fno-strict-aliasing -c -o init/main.o init/main.c in file included from /goinfre/mips/kernel/linux-cvs/include/linux/coda_fs_i.h:14, from /goinfre/mips/kernel/linux-cvs/include/linux/fs.h:281, [...] from /goinfre/mips/kernel/linux-cvs/include/linux/proc_fs.h:5, from init/main.c:15: /goinfre/mips/kernel/linux-cvs/include/linux/coda.h:259: parse error before `u_quad_t' /goinfre/mips/kernel/linux-cvs/include/linux/coda.h:259: warning: no semicolon at end of struct or union [...] /goinfre/mips/kernel/linux-cvs/include/linux/udf_fs_sb.h:21: warning: ignoring pragma: 1 /goinfre/mips/kernel/linux-cvs/include/linux/udf_fs_sb.h:76: warning: ignoring pragma: ; {standard input}: Assembler messages: {standard input}:50: Warning: No .cprestore pseudo-op used in PIC code {standard input}:98: Warning: No .cprestore pseudo-op used in PIC code {standard input}:108: Warning: No .cprestore pseudo-op used in PIC code {standard input}:167: Warning: Macro instruction expanded into multiple instructions {standard input}:167: Warning: No .cprestore pseudo-op used in PIC code [...] -- Thomas Poindessous EpX asso GNU/Linux de l'Epita epx@epita.fr && http://www.epita.fr/~epx From owner-linux-mips@oss.sgi.com Mon Jul 24 15:48:41 2000 Received: by oss.sgi.com id ; Mon, 24 Jul 2000 15:48:31 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:28933 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Mon, 24 Jul 2000 15:48:02 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id PAA16128; Mon, 24 Jul 2000 15:47:24 -0700 Date: Mon, 24 Jul 2000 15:47:24 -0700 From: Keith M Wesolowski To: Diablero Cc: linux-mips@oss.sgi.com Subject: Re: I can't cross compile kernel Message-ID: <20000724154724.C14657@chem.unr.edu> References: <20000725000108.A12611@purple42.epx.epita.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000725000108.A12611@purple42.epx.epita.fr>; from poinde_t@epita.fr on Tue, Jul 25, 2000 at 12:01:08AM +0200 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Tue, Jul 25, 2000 at 12:01:08AM +0200, Diablero wrote: > I have tried to cross-compile kernel but I always had the same errors. > (last kernel from cvs - oss.sgi.com) A few questions: what compiler version? What binutils version? Could you please send me your .config? This doesn't happen for me with gcc, binutils, and linux current CVS. If you are compiling with current CVS gcc, you will need some of my patches as well, though they don't address this problem. Also, I now recommend that people wanting to build a cross-compiler by a recipe use my make-cross script instead of typing everything manually. It's available on oss.sgi.com. It's hackerware, but so are cross-compilers. -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Mon Jul 24 16:12:52 2000 Received: by oss.sgi.com id ; Mon, 24 Jul 2000 16:12:42 -0700 Received: from hermes.epita.fr ([194.98.116.10]:51470 "EHLO hermes.epita.fr") by oss.sgi.com with ESMTP id ; Mon, 24 Jul 2000 16:12:12 -0700 Received: from purple42.epx.epita.fr (purple42.epx.epita.fr [10.225.7.1]) by hermes.epita.fr id BAA20249 for EPITA Paris France Tue, 25 Jul 2000 01:12:21 GMT Received: by purple42.epx.epita.fr (Postfix, from userid 501) id 904D2275; Tue, 25 Jul 2000 01:16:04 +0200 (CEST) Date: Tue, 25 Jul 2000 01:16:04 +0200 From: Diablero To: linux-mips@oss.sgi.com Subject: Re: I can't cross compile kernel Message-ID: <20000725011604.A13576@purple42.epx.epita.fr> References: <20000725000108.A12611@purple42.epx.epita.fr> <20000724154724.C14657@chem.unr.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="YiEDa0DAkWCtVeE4" X-Mailer: Mutt 1.0.1i In-Reply-To: <20000724154724.C14657@chem.unr.edu>; from wesolows@chem.unr.edu on Mon, Jul 24, 2000 at 03:47:24PM -0700 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii On Mon, Jul 24, 2000 at 03:47:24PM -0700, Keith M Wesolowski wrote: > On Tue, Jul 25, 2000 at 12:01:08AM +0200, Diablero wrote: > > > I have tried to cross-compile kernel but I always had the same errors. > > (last kernel from cvs - oss.sgi.com) > > A few questions: what compiler version? What binutils version? Could > you please send me your .config? This doesn't happen for me with gcc, > binutils, and linux current CVS. If you are compiling with current CVS > gcc, you will need some of my patches as well, though they don't > address this problem. I use binutils 2.10 and gcc 2.95.2 I attach my .config > -- > Keith M Wesolowski wesolows@chem.unr.edu > University of Nevada http://www.chem.unr.edu > Chemistry Department Systems and Network Administrator > -- Thomas Poindessous EpX asso GNU/Linux de l'Epita epx@epita.fr && http://www.epita.fr/~epx --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=".config" # # Automatically generated by make menuconfig: don't edit # # # Code maturity level options # CONFIG_EXPERIMENTAL=y # # Machine selection # # CONFIG_ACER_PICA_61 is not set # CONFIG_ALGOR_P4032 is not set # CONFIG_BAGET_MIPS is not set # CONFIG_COBALT_MICRO_SERVER is not set # CONFIG_DECSTATION is not set # CONFIG_DDB5074 is not set # CONFIG_ORION is not set CONFIG_MIPS_MAGNUM_4000=y # CONFIG_OLIVETTI_M700 is not set # CONFIG_SGI_IP22 is not set # CONFIG_SNI_RM200_PCI is not set # CONFIG_SBUS is not set CONFIG_ARC32=y CONFIG_ISA=y CONFIG_FB=y CONFIG_FB_G364=y CONFIG_MIPS_JAZZ=y CONFIG_PC_KEYB=y # CONFIG_PCI is not set # # Loadable module support # CONFIG_MODULES=y # CONFIG_MODVERSIONS is not set CONFIG_KMOD=y # # CPU selection # # CONFIG_CPU_R3000 is not set # CONFIG_CPU_R6000 is not set # CONFIG_CPU_R4300 is not set CONFIG_CPU_R4X00=y # CONFIG_CPU_R5000 is not set # CONFIG_CPU_NEVADA is not set # CONFIG_CPU_R8000 is not set # CONFIG_CPU_R10000 is not set # CONFIG_CPU_ADVANCED is not set CONFIG_CPU_HAS_LLSC=y # CONFIG_CPU_HAS_WB is not set # # General setup # # CONFIG_CPU_LITTLE_ENDIAN is not set CONFIG_KCORE_ELF=y CONFIG_ELF_KERNEL=y CONFIG_BINFMT_IRIX=y CONFIG_FORWARD_KEYBOARD=y # CONFIG_BINFMT_AOUT is not set CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_MISC is not set CONFIG_NET=y CONFIG_SYSVIPC=y # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_SYSCTL=y # # Parallel port support # # CONFIG_PARPORT is not set # # Plug and Play configuration # # CONFIG_PNP is not set # CONFIG_ISAPNP is not set # CONFIG_PCMCIA is not set # # Memory Technology Devices (MTD) # # CONFIG_MTD is not set # # Block devices # # CONFIG_BLK_DEV_FD is not set # CONFIG_BLK_DEV_XD is not set # CONFIG_PARIDE is not set # CONFIG_BLK_CPQ_DA is not set # CONFIG_BLK_DEV_DAC960 is not set # CONFIG_BLK_DEV_LOOP is not set # CONFIG_BLK_DEV_NBD is not set # CONFIG_BLK_DEV_LVM is not set # CONFIG_BLK_DEV_MD is not set # CONFIG_MD_LINEAR is not set # CONFIG_MD_RAID0 is not set # CONFIG_MD_RAID1 is not set # CONFIG_MD_RAID5 is not set # CONFIG_BLK_DEV_RAM is not set # CONFIG_BLK_DEV_INITRD is not set # # Networking options # CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set # CONFIG_NETLINK is not set # CONFIG_NETFILTER is not set # CONFIG_FILTER is not set CONFIG_UNIX=y CONFIG_INET=y # CONFIG_IP_MULTICAST is not set # CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_PNP=y CONFIG_IP_PNP_BOOTP=y # CONFIG_IP_PNP_RARP is not set # CONFIG_IP_ROUTER is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_IP_ALIAS is not set # CONFIG_INET_ECN is not set # CONFIG_SYN_COOKIES is not set # CONFIG_IPV6 is not set # CONFIG_KHTTPD is not set # CONFIG_ATM is not set # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_DECNET is not set # CONFIG_BRIDGE is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set # CONFIG_LLC is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set # CONFIG_NET_FASTROUTE is not set # CONFIG_NET_HW_FLOWCONTROL is not set # # QoS and/or fair queueing # # CONFIG_NET_SCHED is not set # # Telephony Support # # CONFIG_PHONE is not set # CONFIG_PHONE_IXJ is not set # # ATA/IDE/MFM/RLL support # # CONFIG_IDE is not set # CONFIG_BLK_DEV_IDE_MODES is not set # CONFIG_BLK_DEV_HD is not set # # SCSI support # CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_SD_EXTRA_DEVS=40 CONFIG_CHR_DEV_ST=y CONFIG_BLK_DEV_SR=y # CONFIG_BLK_DEV_SR_VENDOR is not set CONFIG_SR_EXTRA_DEVS=2 # CONFIG_CHR_DEV_SG is not set # CONFIG_SCSI_DEBUG_QUEUES is not set # CONFIG_SCSI_MULTI_LUN is not set CONFIG_SCSI_CONSTANTS=y # CONFIG_SCSI_LOGGING is not set # # SCSI low-level drivers # # CONFIG_SCSI_7000FASST is not set # CONFIG_SCSI_ACARD is not set # CONFIG_SCSI_AHA152X is not set # CONFIG_SCSI_AHA1542 is not set # CONFIG_SCSI_AHA1740 is not set # CONFIG_SCSI_AIC7XXX is not set # CONFIG_SCSI_ADVANSYS is not set # CONFIG_SCSI_IN2000 is not set # CONFIG_SCSI_AM53C974 is not set # CONFIG_SCSI_MEGARAID is not set # CONFIG_SCSI_BUSLOGIC is not set # CONFIG_SCSI_DMX3191D is not set # CONFIG_SCSI_DTC3280 is not set # CONFIG_SCSI_EATA is not set # CONFIG_SCSI_EATA_DMA is not set # CONFIG_SCSI_EATA_PIO is not set # CONFIG_SCSI_FUTURE_DOMAIN is not set # CONFIG_SCSI_GDTH is not set # CONFIG_SCSI_GENERIC_NCR5380 is not set # CONFIG_SCSI_INITIO is not set # CONFIG_SCSI_INIA100 is not set # CONFIG_SCSI_NCR53C406A is not set # CONFIG_SCSI_SYM53C416 is not set # CONFIG_SCSI_SIM710 is not set # CONFIG_SCSI_NCR53C7xx is not set # CONFIG_SCSI_PAS16 is not set # CONFIG_SCSI_PCI2000 is not set # CONFIG_SCSI_PCI2220I is not set # CONFIG_SCSI_PSI240I is not set # CONFIG_SCSI_QLOGIC_FAS is not set # CONFIG_SCSI_T128 is not set # CONFIG_SCSI_U14_34F is not set # CONFIG_SCSI_DEBUG is not set # CONFIG_JAZZ_ESP is not set # # I2O device support # # CONFIG_I2O is not set # CONFIG_I2O_BLOCK is not set # CONFIG_I2O_LAN is not set # CONFIG_I2O_SCSI is not set # CONFIG_I2O_PROC is not set # # Network device support # CONFIG_NETDEVICES=y # # ARCnet devices # # CONFIG_ARCNET is not set # CONFIG_DUMMY is not set # CONFIG_BONDING is not set # CONFIG_EQUALIZER is not set # CONFIG_NET_SB1000 is not set # # Ethernet (10 or 100Mbit) # CONFIG_NET_ETHERNET=y CONFIG_MIPS_JAZZ_SONIC=y # CONFIG_NET_VENDOR_3COM is not set # CONFIG_LANCE is not set # CONFIG_NET_VENDOR_SMC is not set # CONFIG_NET_VENDOR_RACAL is not set # CONFIG_AT1700 is not set # CONFIG_DEPCA is not set # CONFIG_NET_ISA is not set # CONFIG_NET_PCI is not set # CONFIG_NET_POCKET is not set # # Ethernet (1000 Mbit) # # CONFIG_YELLOWFIN is not set # CONFIG_ACENIC is not set # CONFIG_SK98LIN is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set # CONFIG_PPP is not set # CONFIG_SLIP is not set # # Wireless LAN (non-hamradio) # # CONFIG_NET_RADIO is not set # # Token Ring devices # # CONFIG_TR is not set # CONFIG_NET_FC is not set # CONFIG_RCPCI is not set # CONFIG_SHAPER is not set # # Wan interfaces # # CONFIG_WAN is not set # # ISDN subsystem # # CONFIG_ISDN is not set # # Old CD-ROM drivers (not SCSI, not IDE) # # CONFIG_CD_NO_IDESCSI is not set # # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y # CONFIG_SERIAL is not set # CONFIG_SERIAL_EXTENDED is not set # CONFIG_SERIAL_NONSTANDARD is not set # CONFIG_UNIX98_PTYS is not set # # I2C support # # CONFIG_I2C is not set # # Mice # # CONFIG_BUSMOUSE is not set # CONFIG_MOUSE is not set # # Joysticks # # CONFIG_JOYSTICK is not set # CONFIG_QIC02_TAPE is not set # # Watchdog Cards # # CONFIG_WATCHDOG is not set # CONFIG_INTEL_RNG is not set # CONFIG_NVRAM is not set # CONFIG_RTC is not set # # Video For Linux # # CONFIG_VIDEO_DEV is not set # CONFIG_DTLK is not set # CONFIG_R3964 is not set # CONFIG_APPLICOM is not set # # Ftape, the floppy tape device driver # # CONFIG_FTAPE is not set # CONFIG_DRM is not set # CONFIG_AGP is not set # # File systems # # CONFIG_QUOTA is not set CONFIG_AUTOFS_FS=y CONFIG_AUTOFS4_FS=y # CONFIG_ADFS_FS is not set # CONFIG_ADFS_FS_RW is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_FAT_FS is not set # CONFIG_MSDOS_FS is not set # CONFIG_UMSDOS_FS is not set # CONFIG_VFAT_FS is not set # CONFIG_EFS_FS is not set # CONFIG_JFFS_FS is not set # CONFIG_CRAMFS is not set # CONFIG_RAMFS is not set # CONFIG_ISO9660_FS is not set # CONFIG_JOLIET is not set # CONFIG_MINIX_FS is not set # CONFIG_NTFS_FS is not set # CONFIG_NTFS_RW is not set # CONFIG_HPFS_FS is not set CONFIG_PROC_FS=y # CONFIG_DEVFS_FS is not set # CONFIG_DEVFS_MOUNT is not set # CONFIG_DEVFS_DEBUG is not set # CONFIG_DEVPTS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_QNX4FS_RW is not set # CONFIG_ROMFS_FS is not set CONFIG_EXT2_FS=y CONFIG_SYSV_FS=y # CONFIG_SYSV_FS_WRITE is not set # CONFIG_UDF_FS is not set # CONFIG_UDF_RW is not set # CONFIG_UFS_FS is not set # CONFIG_UFS_FS_WRITE is not set # # Network File Systems # # CONFIG_CODA_FS is not set CONFIG_NFS_FS=y # CONFIG_NFS_V3 is not set CONFIG_ROOT_NFS=y CONFIG_NFSD=y # CONFIG_NFSD_V3 is not set CONFIG_SUNRPC=y CONFIG_LOCKD=y # CONFIG_SMB_FS is not set # CONFIG_NCP_FS is not set # CONFIG_NCPFS_PACKET_SIGNING is not set # CONFIG_NCPFS_IOCTL_LOCKING is not set # CONFIG_NCPFS_STRONG is not set # CONFIG_NCPFS_NFS_NS is not set # CONFIG_NCPFS_OS2_NS is not set # CONFIG_NCPFS_SMALLDOS is not set # CONFIG_NCPFS_MOUNT_SUBDIR is not set # CONFIG_NCPFS_NDS_DOMAINS is not set # CONFIG_NCPFS_NLS is not set # CONFIG_NCPFS_EXTRAS is not set # # Partition Types # CONFIG_PARTITION_ADVANCED=y # CONFIG_ACORN_PARTITION is not set # CONFIG_OSF_PARTITION is not set # CONFIG_AMIGA_PARTITION is not set # CONFIG_ATARI_PARTITION is not set # CONFIG_MAC_PARTITION is not set CONFIG_MSDOS_PARTITION=y # CONFIG_BSD_DISKLABEL is not set # CONFIG_SOLARIS_X86_PARTITION is not set # CONFIG_UNIXWARE_DISKLABEL is not set CONFIG_SGI_PARTITION=y # CONFIG_ULTRIX_PARTITION is not set # CONFIG_SUN_PARTITION is not set # CONFIG_NLS is not set # # Console drivers # # CONFIG_VGA_CONSOLE is not set CONFIG_FB=y # # Frame-buffer support # CONFIG_FB=y CONFIG_DUMMY_CONSOLE=y # CONFIG_FB_VIRTUAL is not set # CONFIG_FBCON_ADVANCED is not set CONFIG_FBCON_CFB8=y # CONFIG_FBCON_FONTWIDTH8_ONLY is not set # CONFIG_FBCON_FONTS is not set CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y # # Sound # # CONFIG_SOUND is not set # # USB support # # CONFIG_USB is not set # # Kernel hacking # CONFIG_CROSSCOMPILE=y # CONFIG_MIPS_FPE_MODULE is not set # CONFIG_MAGIC_SYSRQ is not set --YiEDa0DAkWCtVeE4-- From owner-linux-mips@oss.sgi.com Mon Jul 24 17:19:52 2000 Received: by oss.sgi.com id ; Mon, 24 Jul 2000 17:19:42 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:32323 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 24 Jul 2000 17:19:18 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id RAA04900 for ; Mon, 24 Jul 2000 17:24:40 -0700 (PDT) mail_from (kwkitson@home.com) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id RAA77541 for ; Mon, 24 Jul 2000 17:18:37 -0700 (PDT) mail_from (kwkitson@home.com) Received: from ve4kwk.bone1.localnet (24.66.80.194.mb.wave.home.com [24.66.80.194]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id RAA09571 for ; Mon, 24 Jul 2000 17:18:35 -0700 (PDT) mail_from (kwkitson@home.com) Received: from home.com (IDENT:kwkitson@localhost [127.0.0.1]) by ve4kwk.bone1.localnet (8.9.3/8.8.7) with ESMTP id TAA00940 for ; Mon, 24 Jul 2000 19:37:49 -0500 Message-ID: <397CE15C.6F052671@home.com> Date: Mon, 24 Jul 2000 19:37:48 -0500 From: Kelly Kitson Reply-To: kwkitson@home.com Organization: (NIL) X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12-20 i586) X-Accept-Language: ja MIME-Version: 1.0 To: linux@cthulhu.engr.sgi.com Subject: Personal IRIS 4D series, again, still... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing I have had a 4D/35 for a year now, and still nothing about getting Linux running on it. If I could get Iris 6.X, I would. As most of us know, this puppy will only run 5.3 or less. How much work has been done on the Linux kernel? I can help if some hardware docs were more readily available... -- E Pluribus Linux pgp key available ... http://www.members.home.com/kwkitson From owner-linux-mips@oss.sgi.com Tue Jul 25 06:11:57 2000 Received: by oss.sgi.com id ; Tue, 25 Jul 2000 06:11:47 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:47893 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 25 Jul 2000 06:11:14 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id GAA11730 for ; Tue, 25 Jul 2000 06:03:21 -0700 (PDT) mail_from (michael.j.lewis@db.com) From: michael.j.lewis@db.com Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id GAA77688 for ; Tue, 25 Jul 2000 06:10:36 -0700 (PDT) mail_from (michael.j.lewis@db.com) Received: from NYGATE2.bankerstrust.com (nygate2.bankerstrust.com [206.231.84.9]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id GAA02138 for ; Tue, 25 Jul 2000 06:10:31 -0700 (PDT) mail_from (michael.j.lewis@db.com) Received: (from mailer@localhost) by NYGATE2.bankerstrust.com (8.8.8/1.9) id JAA10392 for ; Tue, 25 Jul 2000 09:10:30 -0400 (EDT) Received: from nybtmxp2.btco.com (nybtmxp2.btco.com [138.93.137.8]) by NYGATE2.bankerstrust.com (smap V2.0) with SMTP id xmail7157; Tue, 25 Jul 00 09:09:53 -0400 Received: from nysmtp4001.svc.btco.com by nybtmxp2.btco.com for linux@cthulhu.engr.sgi.com; Tue, 25 Jul 2000 09:09:16 -0400 Received: by nysmtp4001.svc.btco.com(Lotus SMTP MTA Internal build v4.6.2 (651.2 6-10-1998)) id 85256927.00483B3D ; Tue, 25 Jul 2000 09:08:57 -0400 X-Lotus-FromDomain: BANKERS_TRUST@HUB To: linux@cthulhu.engr.sgi.com Message-Id: <85256927.0048395E.00@nysmtp4001.svc.btco.com> Date: Tue, 25 Jul 2000 14:08:52 +0100 Subject: SGI-Linux VisualWorkstations Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Has anyone managed to get Linux (any distribution) onto the Visual Workstation? Personally, had a no. of problems with the Visual Workstation and my last gasp effort to use the machine (apart from as a dust magnet) is to run Linux on them .... any info. pls. let me know. (linux.sgi.com ... used to have a couple of pages as I recall, but dont think they are there now....) rgds & thnks, Michael L From owner-linux-mips@oss.sgi.com Tue Jul 25 08:17:28 2000 Received: by oss.sgi.com id ; Tue, 25 Jul 2000 08:17:19 -0700 Received: from jester.ti.com ([192.94.94.1]:2792 "EHLO jester.ti.com") by oss.sgi.com with ESMTP id ; Tue, 25 Jul 2000 08:16:43 -0700 Received: from dlep8.itg.ti.com ([157.170.134.88]) by jester.ti.com (8.10.1/8.10.1) with ESMTP id e6PFFGX28832 for ; Tue, 25 Jul 2000 10:15:16 -0500 (CDT) Received: from dlep8.itg.ti.com (localhost [127.0.0.1]) by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id KAA11655 for ; Tue, 25 Jul 2000 10:15:51 -0500 (CDT) Received: from dlep3.itg.ti.com (dlep3.itg.ti.com [157.170.188.62]) by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id KAA11650 for ; Tue, 25 Jul 2000 10:15:51 -0500 (CDT) Received: from ti.com (IDENT:bbrown@bbrown.sc.ti.com [158.218.100.128]) by dlep3.itg.ti.com (8.9.3/8.9.3) with ESMTP id KAA10011 for ; Tue, 25 Jul 2000 10:16:14 -0500 (CDT) Message-ID: <397DAF60.13B16812@ti.com> Date: Tue, 25 Jul 2000 09:16:48 -0600 From: Brady Brown Organization: Texas Instruments X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: SGI news group Subject: IP Masquerading with 2.4 kernel Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Has anybody setup IP masquerading with the 2.4 kernel (using netfilter and iptables) on a little endian R4Kc MIPS 32 architecture? I'm looking for either compiled iptables binaries (or MIPS patched source) and information about which kernel options need to be enabled. I could also possibly use ipchains with the 2.4 kernel if anybody has information/success with that. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brady Brown (bbrown@ti.com) Work:(801)619-6103 Texas Instruments: Broadband Access Group ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From owner-linux-mips@oss.sgi.com Tue Jul 25 09:12:18 2000 Received: by oss.sgi.com id ; Tue, 25 Jul 2000 09:12:08 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:12551 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Tue, 25 Jul 2000 09:11:45 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id JAA04293; Tue, 25 Jul 2000 09:11:08 -0700 Date: Tue, 25 Jul 2000 09:11:08 -0700 From: Keith M Wesolowski To: Diablero Cc: linux-mips@oss.sgi.com Subject: Re: I can't cross compile kernel Message-ID: <20000725091108.A3455@chem.unr.edu> References: <20000725000108.A12611@purple42.epx.epita.fr> <20000724154724.C14657@chem.unr.edu> <20000725011604.A13576@purple42.epx.epita.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000725011604.A13576@purple42.epx.epita.fr>; from poinde_t@epita.fr on Tue, Jul 25, 2000 at 01:16:04AM +0200 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Tue, Jul 25, 2000 at 01:16:04AM +0200, Diablero wrote: > I use binutils 2.10 and gcc 2.95.2 > I attach my .config With a current toolchain, I can't duplicate your problem. There is a bug in the sonic.c driver that causes compilation to abort (it's not been softnetted) but I don't see the error you do. At a glance, it looks like the problem is with the definition of u_quad_t. You might try running the file in question through the preprocessor to see what's going on. -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Tue Jul 25 09:20:08 2000 Received: by oss.sgi.com id ; Tue, 25 Jul 2000 09:19:58 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:12094 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 25 Jul 2000 09:19:45 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id JAA01008 for ; Tue, 25 Jul 2000 09:11:50 -0700 (PDT) mail_from (adi@mr-happy.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id JAA67380 for ; Tue, 25 Jul 2000 09:17:35 -0700 (PDT) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id JAA82244 for ; Tue, 25 Jul 2000 09:16:03 -0700 (PDT) mail_from (adi@mr-happy.com) Received: from brainguy.tc.mtu.edu (brainguy.tc.mtu.edu [141.219.5.85]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id JAA09237 for ; Tue, 25 Jul 2000 09:15:54 -0700 (PDT) mail_from (adi@mr-happy.com) Received: from crow.mr-happy.com (crow.mr-happy.com [172.19.3.81]) by brainguy.tc.mtu.edu (Postfix) with ESMTP id CF54A1A196; Tue, 25 Jul 2000 12:15:37 -0400 (EDT) Received: by crow.mr-happy.com (Postfix, from userid 22448) id 93A5F8D58; Tue, 25 Jul 2000 12:15:35 -0400 (EDT) Date: Tue, 25 Jul 2000 11:15:35 -0500 From: Andy Isaacson To: michael.j.lewis@db.com Cc: linux@cthulhu.engr.sgi.com Subject: Re: SGI-Linux VisualWorkstations Message-ID: <20000725111535.A13121@mr-happy.com> References: <85256927.0048395E.00@nysmtp4001.svc.btco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <85256927.0048395E.00@nysmtp4001.svc.btco.com>; from michael.j.lewis@db.com on Tue, Jul 25, 2000 at 02:08:52PM +0100 X-PGP-Fingerprint: 48 01 21 E2 D4 E4 68 D1 B8 DF 39 B2 AF A3 16 B9 X-PGP-Key-URL: http://web.mr-happy.com/~adi/pgp.txt Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Tue, Jul 25, 2000 at 02:08:52PM +0100, michael.j.lewis@db.com wrote: > Has anyone managed to get Linux (any distribution) onto the Visual > Workstation? Personally, had a no. of problems > with the Visual Workstation and my last gasp effort to use the machine > (apart from as a dust magnet) is to run Linux on > them .... any info. pls. let me know. (linux.sgi.com ... used to have a > couple of pages as I recall, but dont think they are there now....) I have the instructions I used up at http://www.lcse.umn.edu/~adi/visws/ The detailed (but only correct for the LCSE setup) instructions are at http://www.lcse.umn.edu/~adi/visws/lcse-setup.html It's not terribly useful, though... we had a lot of problems with our setup and the systems are back to running NT full time. Off the top of my head - XFree86 4.0 fbdev driver had color problems - only the first bank of memory was usable (256 of our 1024 MB) - accessing the floppy or CD-ROM was likely to hang the machine - 2.2.10 was the only kernel I could get running -andy -- Andy Isaacson http://web.mr-happy.com/~adi/ From owner-linux-mips@oss.sgi.com Tue Jul 25 11:47:27 2000 Received: by oss.sgi.com id ; Tue, 25 Jul 2000 11:47:17 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:12391 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 25 Jul 2000 11:47:03 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id LAA22287 for ; Tue, 25 Jul 2000 11:39:07 -0700 (PDT) mail_from (ehab@aia067.aia.RWTH-Aachen.DE) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id LAA48949 for ; Tue, 25 Jul 2000 11:46:16 -0700 (PDT) mail_from (ehab@aia067.aia.RWTH-Aachen.DE) Received: from aia067.aia.RWTH-Aachen.DE (aia067.aia.RWTH-Aachen.DE [134.130.140.67]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id LAA01102 for ; Tue, 25 Jul 2000 11:46:13 -0700 (PDT) mail_from (ehab@aia067.aia.RWTH-Aachen.DE) Received: from localhost (localhost [[UNIX: localhost]]) by aia067.aia.RWTH-Aachen.DE (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id UAA04975; Tue, 25 Jul 2000 20:46:07 +0200 From: Ehab Fares To: michael.j.lewis@db.com Subject: Re: SGI-Linux VisualWorkstations Date: Tue, 25 Jul 2000 20:31:56 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <85256927.0048395E.00@nysmtp4001.svc.btco.com> In-Reply-To: <85256927.0048395E.00@nysmtp4001.svc.btco.com> Cc: linux@cthulhu.engr.sgi.com, adi@mr-happy.com MIME-Version: 1.0 Message-Id: <00072520460700.04813@aia067> Content-Transfer-Encoding: 8bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Tue, 25 Jul 2000, you wrote: > Has anyone managed to get Linux (any distribution) onto the Visual > Workstation? Personally, had a no. of problems > with the Visual Workstation and my last gasp effort to use the machine > (apart from as a dust magnet) is to run Linux on > them .... any info. pls. let me know. (linux.sgi.com ... used to have a > couple of pages as I recall, but dont think they are there now....) > > > rgds & thnks, > > > Michael L -- We've been runnung Linux on a Visual Workstation 540 for some time now.. We used a SuSE 6.3 Distribution and there was a lot to do to get the mahine booting for first installation. The Information we used was on the www.linux.sgi.com... For some reasons (perhaps the new Visual workastation from SGI) only the mips architecture is now present there! Unfortunatley I don't have these Information anymore... I also have only been able to boot the 2.2.10 Kernel. The system is integrated into a Linux cluster. We are not using the CD-ROM or the floppy much, so I don't know of any problems there. The machine hangs every now and then (sometimes once per 2 weeks and sometimes one per day). The hanging seem to stop if the X server is not activated. Our biggest problem is the Memory, we are only using 960MB of the 2GB. I believe this is only a problem of the arc loader. It is even mentioned in the sources of that loader. I haven't figured out a way to get around that yet... I personally find it discouraging that there is no further development for these machines. They would make a great linux visualization machines (as SGI apparently noticed already and giving a linux option for the newer Visual Workstation)... What is needed is a better support for the hardware including the graphics... regards, Ehab. From owner-linux-mips@oss.sgi.com Tue Jul 25 16:40:19 2000 Received: by oss.sgi.com id ; Tue, 25 Jul 2000 16:40:10 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:42029 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 25 Jul 2000 16:39:30 -0700 Received: from cthulhu.engr.sgi.com (gate3-relay.engr.sgi.com [130.62.1.234]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id QAA25012 for ; Tue, 25 Jul 2000 16:31:31 -0700 (PDT) mail_from (markp@nmrf.org.au) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id QAA38907 for ; Tue, 25 Jul 2000 16:38:39 -0700 (PDT) mail_from (markp@nmrf.org.au) Received: from gw.cs.nsw.gov.au (gw1.cs.nsw.gov.au [152.76.0.130]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id QAA03746 for ; Tue, 25 Jul 2000 16:38:37 -0700 (PDT) mail_from (markp@nmrf.org.au) Received: from funnelweb.cs.nsw.gov.au ([152.76.2.177]) by gw1.gw.cs.nsw.gov.au with ESMTP id <115227>; Wed, 26 Jul 2000 09:43:28 +1000 Received: from nuc130.crg.cs.nsw.gov.au ([152.76.224.253]) by funnelweb.cs.nsw.gov.au (Post.Office MTA v3.5.1 release 219 ID# 0-0U10L2S100) with ESMTP id au; Wed, 26 Jul 2000 09:38:18 +1000 Received: from nmrf.org.au (really [152.76.85.139]) by nucmed.crg.cs.nsw.gov.au via smail with esmtp (ident markp using rfc1413) id (Debian Smail3.2.0.101) for ; Wed, 26 Jul 2000 11:03:49 +1000 (EST) Message-ID: <397E28D8.37D77A9A@nmrf.org.au> From: Mark Pearson Organization: Nuclear Medicine Research Foundation X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.10 i686) X-Accept-Language: en MIME-Version: 1.0 To: michael.j.lewis@db.com, linux@cthulhu.engr.sgi.com Subject: Re: SGI-Linux VisualWorkstations References: <85256927.0048395E.00@nysmtp4001.svc.btco.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 26 Jul 2000 09:43:28 +1000 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing The howto page on the sgi site has moved to http://oss.sgi.com/www.linux.sgi.com/intel/visws I use a debian distribution with kernel 2.2.10 on a 320 with 256Mb ram and the flat panel display. Xfree 3.3.6 seems to work best and will provide 8 or 16 bit depth. The main problem I have found (at least under kde and xfree 3.x and 4.x) is that the mouse focus will not always pass to the window under the cursor, and some processes have to be killed to release the focus. The other problem is that every few days the ethernet controller stops transmitting and must be restarted. michael.j.lewis@db.com wrote: > Has anyone managed to get Linux (any distribution) onto the Visual > Workstation? Personally, had a no. of problems > with the Visual Workstation and my last gasp effort to use the machine > (apart from as a dust magnet) is to run Linux on > them .... any info. pls. let me know. (linux.sgi.com ... used to have a > couple of pages as I recall, but dont think they are there now....) > > rgds & thnks, > > Michael L -- Mark Pearson BSc (Computing) -- Technical and Computer Support Department of Nuclear Medicine, Concord Hospital Hospital Road, Concord, NSW 2137, Australia PH: 61-2-9767 7450 or 61-2-9767 6339 FAX: 61-2-9767 7451 From owner-linux-mips@oss.sgi.com Wed Jul 26 05:32:23 2000 Received: by oss.sgi.com id ; Wed, 26 Jul 2000 05:32:13 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:49930 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 26 Jul 2000 05:31:38 -0700 Received: from cthulhu.engr.sgi.com (gate3-relay.engr.sgi.com [130.62.1.234]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id FAA12346 for ; Wed, 26 Jul 2000 05:23:38 -0700 (PDT) mail_from (khs@digital-digital.com) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id FAA13235 for ; Wed, 26 Jul 2000 05:30:47 -0700 (PDT) mail_from (khs@digital-digital.com) Received: from digital-digital.com (ns.digitalndigital.co.kr [203.235.25.201] (may be forged)) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id FAA09743 for ; Wed, 26 Jul 2000 05:30:39 -0700 (PDT) mail_from (khs@digital-digital.com) Received: from khs ([203.235.25.141]) by digital-digital.com (8.9.3/8.9.3) with SMTP id VAA01327; Wed, 26 Jul 2000 21:36:36 +0900 Reply-To: From: =?ks_c_5601-1987?B?sejH0by6?= To: , Subject: IGS5050 Driver Date: Wed, 26 Jul 2000 21:37:02 +0900 Message-ID: <000001bff6fe$34021120$8d19ebcb@khs> MIME-Version: 1.0 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: base64 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing SGVsbG8gdGhlcmUNCg0KSSB3YW50IHRvIGtub3cgdGhhdCB0aGVyZSBpcyBhIElHUzUwNTAgR3Jw YWhpYyBjaGlwIGRyaXZlciBmb3IgbGludXgtbWlwcy4NCklmIHllcywgd2hlcmUgaXMgdGhlIGRy aXZlciBmaWxlcz8NCg0KLUhhbi1TZW9uZw== From owner-linux-mips@oss.sgi.com Wed Jul 26 08:54:15 2000 Received: by oss.sgi.com id ; Wed, 26 Jul 2000 08:54:06 -0700 Received: from mailout1-0.nyroc.rr.com ([24.92.226.81]:39364 "EHLO mailout1-1.nyroc.rr.com") by oss.sgi.com with ESMTP id ; Wed, 26 Jul 2000 08:53:40 -0700 Received: from hork (d185d0f81.rochester.rr.com [24.93.15.129]) by mailout1-1.nyroc.rr.com (8.9.3/8.9.3) with ESMTP id LAA02639; Wed, 26 Jul 2000 11:51:02 -0400 (EDT) Received: from molotov (helo=localhost) by hork with local-esmtp (Exim 3.12 #1 (Debian)) id 13HTUX-0000HD-00; Wed, 26 Jul 2000 11:53:05 -0400 Date: Wed, 26 Jul 2000 11:53:04 -0400 (EDT) From: Chris Ruvolo X-Sender: molotov@hork To: "J. Scott Kasten" cc: linux-mips@oss.sgi.com Subject: big endian Debian root image In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, 19 Jul 2000, J. Scott Kasten wrote: > Would like to >try the debian distro, but cannot find a big endian root image to install >with, I've put one together. Its rather limited and a bit outdated now (doesn't have perl 5.005 nor debconf), but you might want to take a look at it. It has a working dpkg & apt. I plan on updating this within the next week or two. http://ftp.rfc822.org/pub/local/debian-mips/experimental/debian-mips-base-test_0.3.tar -Chris From owner-linux-mips@oss.sgi.com Wed Jul 26 10:13:16 2000 Received: by oss.sgi.com id ; Wed, 26 Jul 2000 10:13:06 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:43326 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 26 Jul 2000 10:12:50 -0700 Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id KAA08914 for ; Wed, 26 Jul 2000 10:04:55 -0700 (PDT) mail_from (jsk@tetracon-eng.net) Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id OAA22788; Wed, 26 Jul 2000 14:10:09 -0300 Date: Wed, 26 Jul 2000 14:10:09 -0300 From: "J. Scott Kasten" To: Chris Ruvolo cc: linux-mips@oss.sgi.com Subject: Re: big endian Debian root image In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Thanks. I'll give it a shot in the next few days. On Wed, 26 Jul 2000, Chris Ruvolo wrote: > On Wed, 19 Jul 2000, J. Scott Kasten wrote: > > > Would like to > >try the debian distro, but cannot find a big endian root image to install > >with, > > I've put one together. Its rather limited and a bit outdated now (doesn't > have perl 5.005 nor debconf), but you might want to take a look at it. > It has a working dpkg & apt. I plan on updating this within the next week > or two. > > http://ftp.rfc822.org/pub/local/debian-mips/experimental/debian-mips-base-test_0.3.tar > > -Chris > > > > From owner-linux-mips@oss.sgi.com Wed Jul 26 21:55:17 2000 Received: by oss.sgi.com id ; Wed, 26 Jul 2000 21:55:08 -0700 Received: from rno-dsl0b-218.gbis.net ([216.82.145.218]:51472 "EHLO ozymandias.foobazco.org") by oss.sgi.com with ESMTP id ; Wed, 26 Jul 2000 21:54:41 -0700 Received: (from wesolows@localhost) by ozymandias.foobazco.org (8.9.3/8.9.3) id VAA18408 for linux-mips@oss.sgi.com; Wed, 26 Jul 2000 21:54:16 -0700 Date: Wed, 26 Jul 2000 21:54:16 -0700 From: Keith M Wesolowski To: linux-mips@oss.sgi.com Subject: sgi prom console Message-ID: <20000726215416.A18398@foobazco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hi, This patch gets the sgi prom console outputting again, and eliminates the "cannot open initial console" error. Unfortunately, all output from userland goes to the serial port, not the the prom console. Looking at the code, this isn't at all surprising; the prom console pretends to be 4,64, ttyS0. It's quite beyond me how the prom console could ever have worked for userland. Index: drivers/char/mem.c =================================================================== RCS file: /cvs/linux/drivers/char/mem.c,v retrieving revision 1.35 diff -u -r1.35 mem.c --- drivers/char/mem.c 2000/06/25 01:20:03 1.35 +++ drivers/char/mem.c 2000/07/27 04:48:33 @@ -49,6 +49,9 @@ #ifdef CONFIG_PROM_CONSOLE extern void prom_con_init(void); #endif +#ifdef CONFIG_SGI_PROM_CONSOLE +extern void sgi_prom_console_init(void); +#endif #ifdef CONFIG_MDA_CONSOLE extern void mda_console_init(void); #endif @@ -632,6 +635,9 @@ #endif #if defined (CONFIG_PROM_CONSOLE) prom_con_init(); +#endif +#if defined (CONFIG_SGI_PROM_CONSOLE) + sgi_prom_console_init(); #endif #if defined (CONFIG_MDA_CONSOLE) mda_console_init(); -- Keith M Wesolowski http://foobazco.org/~wesolows/ (( Project Foobazco Coordinator and Network Administrator )) aiieeeeeeee! "The list of people so amazingly stupid they can't even tie their shoes?" "Yeah, you know, /etc/passwd." From owner-linux-mips@oss.sgi.com Thu Jul 27 06:18:39 2000 Received: by oss.sgi.com id ; Thu, 27 Jul 2000 06:18:29 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:14386 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 27 Jul 2000 06:18:04 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id GAA09127 for ; Thu, 27 Jul 2000 06:23:15 -0700 (PDT) mail_from (geert@linux-m68k.org) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id GAA73348 for ; Thu, 27 Jul 2000 06:17:01 -0700 (PDT) mail_from (geert@linux-m68k.org) Received: from styx.cs.kuleuven.ac.be (styx.cs.kuleuven.ac.be [134.58.40.3]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id GAA06890 for ; Thu, 27 Jul 2000 06:16:55 -0700 (PDT) mail_from (geert@linux-m68k.org) Received: from cassiopeia.home (root@dialup001.cs.kuleuven.ac.be [134.58.47.130]) by styx.cs.kuleuven.ac.be (8.10.1/8.10.1) with ESMTP id e6RDGhJ18637; Thu, 27 Jul 2000 15:16:43 +0200 (MET DST) Received: from localhost (geert@localhost) by cassiopeia.home (8.9.3/8.9.3/Debian/GNU) with ESMTP id OAA00471; Thu, 27 Jul 2000 14:26:02 +0200 X-Authentication-Warning: cassiopeia.home: geert owned process doing -bs Date: Thu, 27 Jul 2000 14:26:02 +0200 (CEST) From: Geert Uytterhoeven To: =?ks_c_5601-1987?B?sejH0by6?= cc: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr Subject: Re: IGS5050 Driver In-Reply-To: <000001bff6fe$34021120$8d19ebcb@khs> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, 26 Jul 2000, [ks_c_5601-1987] ╠Хгя╪╨ wrote: > I want to know that there is a IGS5050 Grpahic chip driver for linux-mips. > If yes, where is the driver files? linux/drivers/video/cyber2000fb.c is a driver for the IGS CyberPro 2000, 2010 and 5000 in the NetWinder, which has an ARM CPU. If the 5050 is sufficient compatible with the 5000 it should not be too difficult to get cyber2000fb to work on the 5050 on the MIPS. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds From owner-linux-mips@oss.sgi.com Thu Jul 27 16:08:20 2000 Received: by oss.sgi.com id ; Thu, 27 Jul 2000 16:08:11 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:55318 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 27 Jul 2000 16:07:57 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id QAA24039 for ; Thu, 27 Jul 2000 16:00:33 -0700 (PDT) mail_from (jsun@mvista.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id QAA68576 for ; Thu, 27 Jul 2000 16:07:31 -0700 (PDT) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id QAA31725 for ; Thu, 27 Jul 2000 16:05:55 -0700 (PDT) mail_from (jsun@mvista.com) Received: from hermes.mvista.com (gateway-490.mvista.com [63.192.220.206]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id QAA00101 for ; Thu, 27 Jul 2000 16:05:54 -0700 (PDT) mail_from (jsun@mvista.com) Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75]) by hermes.mvista.com (8.9.3/8.9.3) with ESMTP id QAA22234; Thu, 27 Jul 2000 16:05:08 -0700 Message-ID: <3980C024.8DCCA084@mvista.com> Date: Thu, 27 Jul 2000 16:05:08 -0700 From: Jun Sun X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20b i586) X-Accept-Language: en MIME-Version: 1.0 To: linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com Subject: strace on Linux/MIPS? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Has anybody been successful in trying to get strace running on Linux/MIPS? I managed to get 4.2, with a little from CVS tree, compiled and run. However, it does not quite right. It only prints the first system. See below. Verified that this is the same behavior on both 2.3.99-pre3 and 2.4.0-test2. sh-2.03# strace ls execve("/bin/ls", ["ls"], [/* 14 vars */]) = 0 bin boot dev etc lib mnt opt proc sbin share tmp var Any idea? Jun From owner-linux-mips@oss.sgi.com Thu Jul 27 16:13:30 2000 Received: by oss.sgi.com id ; Thu, 27 Jul 2000 16:13:20 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:3432 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 27 Jul 2000 16:13:04 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id QAA02791 for ; Thu, 27 Jul 2000 16:19:00 -0700 (PDT) mail_from (wesolows@rotor.chem.unr.edu) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id QAA36180 for ; Thu, 27 Jul 2000 16:12:47 -0700 (PDT) mail_from (wesolows@rotor.chem.unr.edu) Received: from rotor.chem.unr.edu (rotor.chem.unr.edu [134.197.32.176]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id QAA00982 for ; Thu, 27 Jul 2000 16:12:30 -0700 (PDT) mail_from (wesolows@rotor.chem.unr.edu) Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id QAA15919; Thu, 27 Jul 2000 16:12:17 -0700 Date: Thu, 27 Jul 2000 16:12:17 -0700 From: Keith M Wesolowski To: Jun Sun Cc: linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com Subject: Re: strace on Linux/MIPS? Message-ID: <20000727161212.B12897@chem.unr.edu> References: <3980C024.8DCCA084@mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3980C024.8DCCA084@mvista.com>; from jsun@mvista.com on Thu, Jul 27, 2000 at 04:05:08PM -0700 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, Jul 27, 2000 at 04:05:08PM -0700, Jun Sun wrote: > Has anybody been successful in trying to get strace running on > Linux/MIPS? I managed to get 4.2, with a little from CVS tree, compiled > and run. However, it does not quite right. It only prints the first > system. See below. Verified that this is the same behavior on both > 2.3.99-pre3 and 2.4.0-test2. Your kernel is too old. Ralf fixed some things in ptrace a few days ago. Also, I would be interested in hearing if you can get 4.2 to work. I found that, even after adjusting several places for __NR_Linux, it segfaulted. I do have 3.1 from oss.sgi.com CVS (with a couple minor glibc 2.2 patches) working properly with a current kernel. -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Thu Jul 27 16:50:31 2000 Received: by oss.sgi.com id ; Thu, 27 Jul 2000 16:50:21 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:39967 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 27 Jul 2000 16:50:07 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id QAA28726 for ; Thu, 27 Jul 2000 16:42:42 -0700 (PDT) mail_from (jsun@mvista.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id QAA06538 for ; Thu, 27 Jul 2000 16:49:41 -0700 (PDT) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id QAA45191 for ; Thu, 27 Jul 2000 16:48:09 -0700 (PDT) mail_from (jsun@mvista.com) Received: from hermes.mvista.com (gateway-490.mvista.com [63.192.220.206]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id QAA04688 for ; Thu, 27 Jul 2000 16:48:09 -0700 (PDT) mail_from (jsun@mvista.com) Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75]) by hermes.mvista.com (8.9.3/8.9.3) with ESMTP id QAA24193; Thu, 27 Jul 2000 16:46:58 -0700 Message-ID: <3980C9F0.96B48253@mvista.com> Date: Thu, 27 Jul 2000 16:46:56 -0700 From: Jun Sun X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20b i586) X-Accept-Language: en MIME-Version: 1.0 To: Keith M Wesolowski CC: linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com Subject: Re: strace on Linux/MIPS? References: <3980C024.8DCCA084@mvista.com> <20000727161212.B12897@chem.unr.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Keith M Wesolowski wrote: > > On Thu, Jul 27, 2000 at 04:05:08PM -0700, Jun Sun wrote: > > > Has anybody been successful in trying to get strace running on > > Linux/MIPS? I managed to get 4.2, with a little from CVS tree, compiled > > and run. However, it does not quite right. It only prints the first > > system. See below. Verified that this is the same behavior on both > > 2.3.99-pre3 and 2.4.0-test2. > > Your kernel is too old. Wow, a couple days is "too old". I guest that is Linux speed. > Ralf fixed some things in ptrace a few days > ago. Great! Can you pinpoint the related files? I took a snapshot of CVS on 6/27 and hacked heavily to get it work on my NEC board. It would be very difficult for me to move to the new kernel. It would be better if I can just reverse-merge with the related changes. Jun From owner-linux-mips@oss.sgi.com Thu Jul 27 17:00:00 2000 Received: by oss.sgi.com id ; Thu, 27 Jul 2000 16:59:51 -0700 Received: from u-151.karlsruhe.ipdial.viaginterkom.de ([62.180.19.151]:49924 "EHLO u-151.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Thu, 27 Jul 2000 16:59:42 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Fri, 28 Jul 2000 01:59:30 +0200 Date: Fri, 28 Jul 2000 01:59:30 +0200 From: Ralf Baechle To: Keith M Wesolowski Cc: linux-mips@oss.sgi.com Subject: Re: sgi prom console Message-ID: <20000728015930.A1328@bacchus.dhis.org> References: <20000726215416.A18398@foobazco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000726215416.A18398@foobazco.org>; from wesolows@foobazco.org on Wed, Jul 26, 2000 at 09:54:16PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Wed, Jul 26, 2000 at 09:54:16PM -0700, Keith M Wesolowski wrote: > This patch gets the sgi prom console outputting again, and eliminates > the "cannot open initial console" error. Unfortunately, all output > from userland goes to the serial port, not the the prom console. > Looking at the code, this isn't at all surprising; the prom console > pretends to be 4,64, ttyS0. It's quite beyond me how the prom console > could ever have worked for userland. Ok, patch applied. Ralf From owner-linux-mips@oss.sgi.com Thu Jul 27 17:14:50 2000 Received: by oss.sgi.com id ; Thu, 27 Jul 2000 17:14:40 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:59244 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 27 Jul 2000 17:14:23 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id RAA01709 for ; Thu, 27 Jul 2000 17:20:15 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id RAA15363 for ; Thu, 27 Jul 2000 17:13:51 -0700 (PDT) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id RAA52799 for ; Thu, 27 Jul 2000 17:12:19 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: from u-151.karlsruhe.ipdial.viaginterkom.de (u-151.karlsruhe.ipdial.viaginterkom.de [62.180.19.151]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id RAA03025 for ; Thu, 27 Jul 2000 17:12:15 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Fri, 28 Jul 2000 02:11:37 +0200 Date: Fri, 28 Jul 2000 02:11:37 +0200 From: Ralf Baechle To: Jun Sun Cc: Keith M Wesolowski , linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com Subject: Re: strace on Linux/MIPS? Message-ID: <20000728021137.B1328@bacchus.dhis.org> References: <3980C024.8DCCA084@mvista.com> <20000727161212.B12897@chem.unr.edu> <3980C9F0.96B48253@mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3980C9F0.96B48253@mvista.com>; from jsun@mvista.com on Thu, Jul 27, 2000 at 04:46:56PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, Jul 27, 2000 at 04:46:56PM -0700, Jun Sun wrote: > > > Has anybody been successful in trying to get strace running on > > > Linux/MIPS? I managed to get 4.2, with a little from CVS tree, compiled > > > and run. However, it does not quite right. It only prints the first > > > system. See below. Verified that this is the same behavior on both > > > 2.3.99-pre3 and 2.4.0-test2. > > > > Your kernel is too old. > > Wow, a couple days is "too old". I guest that is Linux speed. Software is like fish, it starts to smell soon :-) > > Ralf fixed some things in ptrace a few days > > ago. > > Great! Can you pinpoint the related files? I took a snapshot of CVS on > 6/27 and hacked heavily to get it work on my NEC board. It would be > very difficult for me to move to the new kernel. It would be better if > I can just reverse-merge with the related changes. arch/mips/kernel/scall_o32.S arch/mips/tools/offset.c arch/mips64/kernel/scall_64.S arch/mips64/kernel/scall_o32.S arch/mips64/tools/offset.c Ralf From owner-linux-mips@oss.sgi.com Thu Jul 27 17:55:51 2000 Received: by oss.sgi.com id ; Thu, 27 Jul 2000 17:55:42 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:56174 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 27 Jul 2000 17:55:36 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id SAA06655 for ; Thu, 27 Jul 2000 18:01:31 -0700 (PDT) mail_from (jsun@mvista.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id RAA73086 for ; Thu, 27 Jul 2000 17:55:09 -0700 (PDT) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id RAA63068 for ; Thu, 27 Jul 2000 17:53:37 -0700 (PDT) mail_from (jsun@mvista.com) Received: from hermes.mvista.com (gateway-490.mvista.com [63.192.220.206]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id RAA06905 for ; Thu, 27 Jul 2000 17:53:36 -0700 (PDT) mail_from (jsun@mvista.com) Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75]) by hermes.mvista.com (8.9.3/8.9.3) with ESMTP id RAA27043; Thu, 27 Jul 2000 17:52:45 -0700 Message-ID: <3980D95A.5949E980@mvista.com> Date: Thu, 27 Jul 2000 17:52:42 -0700 From: Jun Sun X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20b i586) X-Accept-Language: en MIME-Version: 1.0 To: linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com CC: ralf@oss.sgi.com Subject: Turning off cache ... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Ralf, Is there is easy way to turn off caching entirely? I understand I need to set k0 bits in config register. What about those C bits in TLB entries? My CPU only has primary cache. I am running into some weired crashing problems, which makes me suspect about the cache code that I modified ... Thanks. (BTW, thanks for the info on strace files.) Jun From owner-linux-mips@oss.sgi.com Thu Jul 27 18:10:01 2000 Received: by oss.sgi.com id ; Thu, 27 Jul 2000 18:09:51 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:29551 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 27 Jul 2000 18:09:24 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id SAA01350 for ; Thu, 27 Jul 2000 18:15:14 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id SAA67356 for ; Thu, 27 Jul 2000 18:09:10 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: from u-151.karlsruhe.ipdial.viaginterkom.de (u-151.karlsruhe.ipdial.viaginterkom.de [62.180.19.151]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id SAA01375 for ; Thu, 27 Jul 2000 18:09:07 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Fri, 28 Jul 2000 03:08:36 +0200 Date: Fri, 28 Jul 2000 03:08:36 +0200 From: Ralf Baechle To: Jun Sun Cc: linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com, ralf@oss.sgi.com Subject: Re: Turning off cache ... Message-ID: <20000728030836.A1906@bacchus.dhis.org> References: <3980D95A.5949E980@mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3980D95A.5949E980@mvista.com>; from jsun@mvista.com on Thu, Jul 27, 2000 at 05:52:42PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, Jul 27, 2000 at 05:52:42PM -0700, Jun Sun wrote: > Is there is easy way to turn off caching entirely? I understand I need > to set k0 bits in config register. What about those C bits in TLB > entries? My CPU only has primary cache. The C bits are per page, the k0 bits are for KSEG0. If you want to turn of caching, then you need to: - change the k0 bits to uncached on startup, then flush the caches or a writeback might corrupt your data. - change the caching mode of the usermode pages by modifying the definitions for PAGE_NONE etc. in pgtable.h. - comment out the cache Create_Dirty_Exclusive instructions in r4xx0.c, using them on uncached pages would corrupt data. Which will make the kernel crawl awfully ... Ralf From owner-linux-mips@oss.sgi.com Thu Jul 27 19:17:32 2000 Received: by oss.sgi.com id ; Thu, 27 Jul 2000 19:17:22 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:37686 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 27 Jul 2000 19:17:18 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id TAA10773 for ; Thu, 27 Jul 2000 19:09:47 -0700 (PDT) mail_from (jsun@mvista.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id TAA49864 for ; Thu, 27 Jul 2000 19:15:32 -0700 (PDT) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id TAA82025 for ; Thu, 27 Jul 2000 19:13:59 -0700 (PDT) mail_from (jsun@mvista.com) Received: from hermes.mvista.com (gateway-490.mvista.com [63.192.220.206]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id TAA08105 for ; Thu, 27 Jul 2000 19:13:59 -0700 (PDT) mail_from (jsun@mvista.com) Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75]) by hermes.mvista.com (8.9.3/8.9.3) with ESMTP id TAA30244; Thu, 27 Jul 2000 19:12:47 -0700 Message-ID: <3980EC1C.AEF173D2@mvista.com> Date: Thu, 27 Jul 2000 19:12:44 -0700 From: Jun Sun X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20b i586) X-Accept-Language: en MIME-Version: 1.0 To: Ralf Baechle CC: Keith M Wesolowski , linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com Subject: Re: strace on Linux/MIPS? References: <3980C024.8DCCA084@mvista.com> <20000727161212.B12897@chem.unr.edu> <3980C9F0.96B48253@mvista.com> <20000728021137.B1328@bacchus.dhis.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Ralf Baechle wrote: > > > > Ralf fixed some things in ptrace a few days > > > ago. > > > > Great! Can you pinpoint the related files? I took a snapshot of CVS on > > 6/27 and hacked heavily to get it work on my NEC board. It would be > > very difficult for me to move to the new kernel. It would be better if > > I can just reverse-merge with the related changes. > > arch/mips/kernel/scall_o32.S > arch/mips/tools/offset.c > arch/mips64/kernel/scall_64.S > arch/mips64/kernel/scall_o32.S > arch/mips64/tools/offset.c > > Ralf I just updated offset.c and scall_o32.S. After a trial change ("nice" -> "priority") in offset.c, strace seems to work fine now. However, I did notice an error message for mmap(...). mmap(ptrace: umoven: Input/output error ptrace: umoven: Input/output error ) = 717291520 Keith, if you want the patch for strace 4.2, I can send it to you. Jun From owner-linux-mips@oss.sgi.com Thu Jul 27 19:24:02 2000 Received: by oss.sgi.com id ; Thu, 27 Jul 2000 19:23:53 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:12855 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 27 Jul 2000 19:23:47 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id TAA11095 for ; Thu, 27 Jul 2000 19:16:22 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id TAA49800 for ; Thu, 27 Jul 2000 19:23:23 -0700 (PDT) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id TAA83888 for ; Thu, 27 Jul 2000 19:21:51 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: from u-151.karlsruhe.ipdial.viaginterkom.de (u-151.karlsruhe.ipdial.viaginterkom.de [62.180.19.151]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id TAA05564 for ; Thu, 27 Jul 2000 19:21:49 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Fri, 28 Jul 2000 04:21:09 +0200 Date: Fri, 28 Jul 2000 04:21:09 +0200 From: Ralf Baechle To: Jun Sun Cc: Keith M Wesolowski , linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com Subject: Re: strace on Linux/MIPS? Message-ID: <20000728042109.C1981@bacchus.dhis.org> References: <3980C024.8DCCA084@mvista.com> <20000727161212.B12897@chem.unr.edu> <3980C9F0.96B48253@mvista.com> <20000728021137.B1328@bacchus.dhis.org> <3980EC1C.AEF173D2@mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3980EC1C.AEF173D2@mvista.com>; from jsun@mvista.com on Thu, Jul 27, 2000 at 07:12:44PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, Jul 27, 2000 at 07:12:44PM -0700, Jun Sun wrote: > I just updated offset.c and scall_o32.S. After a trial change ("nice" > -> "priority") in offset.c, strace seems to work fine now. > > However, I did notice an error message for mmap(...). > > mmap(ptrace: umoven: Input/output error > ptrace: umoven: Input/output error > ) = 717291520 Looks like strace is still tryping to copy mmap_arg_struct like on Intel but on MIPS we don't use that? > Keith, if you want the patch for strace 4.2, I can send it to you. Ralf From owner-linux-mips@oss.sgi.com Fri Jul 28 03:28:06 2000 Received: by oss.sgi.com id ; Fri, 28 Jul 2000 03:27:57 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:17005 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 28 Jul 2000 03:27:40 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id DAA11437 for ; Fri, 28 Jul 2000 03:19:49 -0700 (PDT) mail_from (macro@ds2.pg.gda.pl) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id DAA23086 for ; Fri, 28 Jul 2000 03:26:46 -0700 (PDT) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id DAA80721 for ; Fri, 28 Jul 2000 03:25:14 -0700 (PDT) mail_from (macro@ds2.pg.gda.pl) Received: from delta.ds2.pg.gda.pl (delta.ds2.pg.gda.pl [153.19.144.1]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id DAA04279 for ; Fri, 28 Jul 2000 03:25:11 -0700 (PDT) mail_from (macro@ds2.pg.gda.pl) Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id MAA27423; Fri, 28 Jul 2000 12:22:20 +0200 (MET DST) Date: Fri, 28 Jul 2000 12:22:19 +0200 (MET DST) From: "Maciej W. Rozycki" To: Jun Sun cc: Keith M Wesolowski , linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com Subject: Re: strace on Linux/MIPS? In-Reply-To: <3980C9F0.96B48253@mvista.com> Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Thu, 27 Jul 2000, Jun Sun wrote: > Great! Can you pinpoint the related files? I took a snapshot of CVS on > 6/27 and hacked heavily to get it work on my NEC board. It would be > very difficult for me to move to the new kernel. It would be better if > I can just reverse-merge with the related changes. Well, you can always take a unified diff of your own changes and try to apply it to a new snapshot. Depending on the amount of changes you might need to apply certain hunks manually but the overall process is usually quite easy. -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + From owner-linux-mips@oss.sgi.com Fri Jul 28 04:58:47 2000 Received: by oss.sgi.com id ; Fri, 28 Jul 2000 04:58:37 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:52598 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 28 Jul 2000 04:58:15 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id EAA16252 for ; Fri, 28 Jul 2000 04:50:50 -0700 (PDT) mail_from (wichert@cistron.nl) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id EAA26324 for ; Fri, 28 Jul 2000 04:56:36 -0700 (PDT) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id EAA95643 for ; Fri, 28 Jul 2000 04:55:03 -0700 (PDT) mail_from (wichert@cistron.nl) Received: from fog.mors.wiggy.net (dhcp137.hw.cistron-internet.nl [195.64.65.137]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id EAA02395 for ; Fri, 28 Jul 2000 04:54:59 -0700 (PDT) mail_from (wichert@cistron.nl) Received: (from wichert@localhost) by fog.mors.wiggy.net (8.11.0.Beta1/8.10.1/Debian 8.10.1-1) id e6SBpe504923; Fri, 28 Jul 2000 13:51:40 +0200 Date: Fri, 28 Jul 2000 13:51:39 +0200 From: Wichert Akkerman To: Ralf Baechle Cc: Jun Sun , Keith M Wesolowski , linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com Subject: Re: strace on Linux/MIPS? Message-ID: <20000728135139.A4903@cistron.nl> Mail-Followup-To: Ralf Baechle , Jun Sun , Keith M Wesolowski , linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com References: <3980C024.8DCCA084@mvista.com> <20000727161212.B12897@chem.unr.edu> <3980C9F0.96B48253@mvista.com> <20000728021137.B1328@bacchus.dhis.org> <3980EC1C.AEF173D2@mvista.com> <20000728042109.C1981@bacchus.dhis.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000728042109.C1981@bacchus.dhis.org>; from ralf@oss.sgi.com on Fri, Jul 28, 2000 at 04:21:09AM +0200 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Previously Ralf Baechle wrote: > Looks like strace is still tryping to copy mmap_arg_struct like on Intel > but on MIPS we don't use that? Could be, I think MIPS and i386 use the same codepath there. Patches are appreciated so I can include them in strace 4.3 (eta 3 weeks from now) Wichert. --=20 _________________________________________________________________ / Generally uninteresting signature - ignore at your convenience \ | wichert@wiggy.net http://www.liacs.nl/~wichert/ | | 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D | --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.2 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjmBc8sACgkQPLiSUC+jvC3GqgCdHqxyqwjxx7x8Hg3WLMmbE5nl XrMAoJD8GA1rPcnpFhbhN+gvDXZqAVK9 =axEH -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft-- From owner-linux-mips@oss.sgi.com Fri Jul 28 19:46:58 2000 Received: by oss.sgi.com id ; Fri, 28 Jul 2000 19:46:39 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:39759 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 28 Jul 2000 19:46:21 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id TAA04939 for ; Fri, 28 Jul 2000 19:52:10 -0700 (PDT) mail_from (jsun@mvista.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id TAA47245 for ; Fri, 28 Jul 2000 19:45:47 -0700 (PDT) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id TAA23370 for ; Fri, 28 Jul 2000 19:44:10 -0700 (PDT) mail_from (jsun@mvista.com) Received: from hermes.mvista.com (gateway-490.mvista.com [63.192.220.206]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id TAA01641 for ; Fri, 28 Jul 2000 19:44:09 -0700 (PDT) mail_from (jsun@mvista.com) Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75]) by hermes.mvista.com (8.9.3/8.9.3) with ESMTP id TAA17349; Fri, 28 Jul 2000 19:43:34 -0700 Message-ID: <398244D5.F86DE02C@mvista.com> Date: Fri, 28 Jul 2000 19:43:33 -0700 From: Jun Sun X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20b i586) X-Accept-Language: en MIME-Version: 1.0 CC: linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com Subject: Re: Turning off cache ... References: <3980D95A.5949E980@mvista.com> <20000728030836.A1906@bacchus.dhis.org> Content-Type: multipart/mixed; boundary="------------07B833AB41C1174A1529D62C" To: unlisted-recipients:; (no To-header on input) Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing This is a multi-part message in MIME format. --------------07B833AB41C1174A1529D62C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ralf Baechle wrote: > > On Thu, Jul 27, 2000 at 05:52:42PM -0700, Jun Sun wrote: > > > Is there is easy way to turn off caching entirely? I understand I need > > to set k0 bits in config register. What about those C bits in TLB > > entries? My CPU only has primary cache. > > The C bits are per page, the k0 bits are for KSEG0. If you want to > turn of caching, then you need to: > > - change the k0 bits to uncached on startup, then flush the caches or a > writeback might corrupt your data. > - change the caching mode of the usermode pages by modifying the > definitions for PAGE_NONE etc. in pgtable.h. > - comment out the cache Create_Dirty_Exclusive instructions in r4xx0.c, > using them on uncached pages would corrupt data. > > Which will make the kernel crawl awfully ... > > Ralf I have successfully turned of cache. And of course my cache code is not the source for the problem :-) - which means I need to probe further. :-( For those who are interested, here is the patch that gives how I did it. Specifically, ld_mmu_r4k() has a line of code to turn on cache, which needs to be commented out. I explicitly turned off cache in ld_mmu_r4k(), right after a flush_all_cache() call, instead of at the beginnig of kernel_entry. Jun --------------07B833AB41C1174A1529D62C Content-Type: text/plain; charset=us-ascii; name="linux-mips-v2.4.0-test2-r4k-cache-off.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="linux-mips-v2.4.0-test2-r4k-cache-off.patch" --- include/asm/pgtable.h.orig Fri Jul 28 15:22:09 2000 +++ include/asm/pgtable.h Fri Jul 28 15:22:54 2000 @@ -132,7 +132,7 @@ #define _CACHE_CACHABLE_NO_WA (0<<9) /* R4600 only */ #define _CACHE_CACHABLE_WA (1<<9) /* R4600 only */ #define _CACHE_UNCACHED (2<<9) /* R4[0246]00 */ -#define _CACHE_CACHABLE_NONCOHERENT (3<<9) /* R4[0246]00 */ +#define _CACHE_CACHABLE_NONCOHERENT (2<<9) /* R4[0246]00 */ #define _CACHE_CACHABLE_CE (4<<9) /* R4[04]00 only */ #define _CACHE_CACHABLE_COW (5<<9) /* R4[04]00 only */ #define _CACHE_CACHABLE_CUW (6<<9) /* R4[04]00 only */ --- arch/mips/mm/r4xx0.c.cache-off Fri Jul 28 14:49:23 2000 +++ arch/mips/mm/r4xx0.c Fri Jul 28 19:38:17 2000 @@ -105,7 +105,7 @@ :"=r" (page) :"0" (page), "I" (PAGE_SIZE), - "i" (Create_Dirty_Excl_D) + "i" (Hit_Writeback_Inv_D) :"$1","memory"); } @@ -134,7 +134,7 @@ :"=r" (page) :"0" (page), "I" (PAGE_SIZE), - "i" (Create_Dirty_Excl_D) + "i" (Hit_Writeback_Inv_D) :"$1","memory"); } @@ -143,8 +143,8 @@ * This flavour of r4k_clear_page is for the R4600 V1.x. Cite from the * IDT R4600 V1.7 errata: * - * 18. The CACHE instructions Hit_Writeback_Invalidate_D, Hit_Writeback_D, - * Hit_Invalidate_D and Create_Dirty_Excl_D should only be + * 18. The CACHE instructions Hit_Writeback_Inv_D, Hit_Writeback_D, + * Hit_Invalidate_D and Hit_Writeback_Inv_D should only be * executed if there is no other dcache activity. If the dcache is * accessed for another instruction immeidately preceding when these * cache instructions are executing, it is possible that the dcache @@ -157,14 +157,14 @@ * nop * nop * nop - * cache Hit_Writeback_Invalidate_D + * cache Hit_Writeback_Inv_D * * This is allowed: lw * nop * nop * nop * nop - * cache Hit_Writeback_Invalidate_D + * cache Hit_Writeback_Inv_D */ static void r4k_clear_page_r4600_v1(void * page) { @@ -198,7 +198,7 @@ :"=r" (page) :"0" (page), "I" (PAGE_SIZE), - "i" (Create_Dirty_Excl_D) + "i" (Hit_Writeback_Inv_D) :"$1","memory"); } @@ -234,7 +234,7 @@ :"=r" (page) :"0" (page), "I" (PAGE_SIZE), - "i" (Create_Dirty_Excl_D) + "i" (Hit_Writeback_Inv_D) :"$1","memory"); restore_flags(flags); } @@ -434,7 +434,7 @@ "=&r" (reg1), "=&r" (reg2), "=&r" (reg3), "=&r" (reg4) :"0" (to), "1" (from), "I" (PAGE_SIZE), - "i" (Create_Dirty_Excl_D)); + "i" (Hit_Writeback_Inv_D)); } static void r4k_copy_page_d32(void * to, void * from) @@ -491,7 +491,7 @@ "=&r" (reg1), "=&r" (reg2), "=&r" (reg3), "=&r" (reg4) :"0" (to), "1" (from), "I" (PAGE_SIZE), - "i" (Create_Dirty_Excl_D)); + "i" (Hit_Writeback_Inv_D)); } /* @@ -559,7 +559,7 @@ "=&r" (reg1), "=&r" (reg2), "=&r" (reg3), "=&r" (reg4) :"0" (to), "1" (from), "I" (PAGE_SIZE), - "i" (Create_Dirty_Excl_D)); + "i" (Hit_Writeback_Inv_D)); } static void r4k_copy_page_r4600_v2(void * to, void * from) @@ -626,7 +626,7 @@ "=&r" (reg1), "=&r" (reg2), "=&r" (reg3), "=&r" (reg4) :"0" (to), "1" (from), "I" (PAGE_SIZE), - "i" (Create_Dirty_Excl_D)); + "i" (Hit_Writeback_Inv_D)); restore_flags(flags); } @@ -2783,7 +2783,9 @@ printk("CPU revision is: %08x\n", read_32bit_cp0_register(CP0_PRID)); + /* [jsun] set_cp0_config(CONF_CM_CMASK, CONF_CM_CACHABLE_NONCOHERENT); + */ probe_icache(config); probe_dcache(config); @@ -2803,6 +2805,7 @@ } flush_cache_all(); + set_cp0_config(CONF_CM_CMASK, CONF_CM_UNCACHED); write_32bit_cp0_register(CP0_WIRED, 0); /* --------------07B833AB41C1174A1529D62C-- From owner-linux-mips@oss.sgi.com Sat Jul 29 09:07:33 2000 Received: by oss.sgi.com id ; Sat, 29 Jul 2000 09:07:14 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:60797 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Sat, 29 Jul 2000 09:06:53 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id IAA26941 for ; Sat, 29 Jul 2000 08:59:19 -0700 (PDT) mail_from (jsun@mvista.com) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id JAA69465 for ; Sat, 29 Jul 2000 09:06:35 -0700 (PDT) mail_from (jsun@mvista.com) Received: from hermes.mvista.com (gateway-490.mvista.com [63.192.220.206]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id JAA03615 for ; Sat, 29 Jul 2000 09:06:34 -0700 (PDT) mail_from (jsun@mvista.com) Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75]) by hermes.mvista.com (8.9.3/8.9.3) with ESMTP id JAA09178; Sat, 29 Jul 2000 09:05:57 -0700 Message-ID: <398300E5.143F5370@mvista.com> Date: Sat, 29 Jul 2000 09:05:57 -0700 From: Jun Sun X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20b i586) X-Accept-Language: en MIME-Version: 1.0 To: linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com CC: jpuhlman@mvista.com Subject: Bus error of gdb 5.0 with MIPS patch Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hi, I started to play with gdb 5.0 + the MIPS patch at http://www.ds2.pg.gda.pl/~macro/gdb-5.0/, but I am having a bus error if I want to do 'next step'. Setting breakpoints and continuing running seem to be fine. The gdb 4.17 rpm from oss.sgi.com does not have this problem. Any idea? Jun --------------- sh-2.03# ./gdb hello GNU gdb 5.0 (UI_OUT) Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "mipsel-hardhat-linux"... (gdb) n The program is not being run. (gdb) b main Breakpoint 1 at 0x400c24: file hello.c, line 5. (gdb) r Starting program: /tmp/hello [tcsetpgrp failed in terminal_inferior: Not a typewriter] [tcsetpgrp failed in terminal_inferior: Not a typewriter] [tcsetpgrp failed in terminal_inferior: Not a typewriter] Breakpoint 1, main () at hello.c:5 5 printf("hello, world\n"); (gdb) n [tcsetpgrp failed in terminal_inferior: Not a typewriter] Bus error ----------- P.S., Does anybody know how to fix "tcsetpgrp ..." error? From owner-linux-mips@oss.sgi.com Sun Jul 30 16:18:39 2000 Received: by oss.sgi.com id ; Sun, 30 Jul 2000 16:18:19 -0700 Received: from smtp.bellnexxia.net ([209.226.175.26]:20635 "EHLO tomts6-srv.bellnexxia.net") by oss.sgi.com with ESMTP id ; Sun, 30 Jul 2000 16:17:55 -0700 Received: from free.fr ([206.172.200.122]) by tomts6-srv.bellnexxia.net (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20000730231744.OBBV5823.tomts6-srv.bellnexxia.net@free.fr> for ; Sun, 30 Jul 2000 19:17:44 -0400 Message-ID: <39847F16.543AA232@free.fr> Date: Sun, 30 Jul 2000 19:16:38 +0000 From: Famille Chauvat X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.9-27mdk i686) X-Accept-Language: fr-FR, en MIME-Version: 1.0 To: linux-mips@oss.sgi.com Subject: [Install trouble] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hello, I'm working with an Indy station and the corresponding kernel. On the bootp() step, i got a message: >>>>>>> creating 100k of ramdisk space... done mounting /tmp from ramdisk... failed I can't recover from this. <<<<<<< Thanks a lot for your help. Philippe From owner-linux-mips@oss.sgi.com Sun Jul 30 17:03:40 2000 Received: by oss.sgi.com id ; Sun, 30 Jul 2000 17:03:30 -0700 Received: from rotor.chem.unr.edu ([134.197.32.176]:22532 "EHLO rotor.chem.unr.edu") by oss.sgi.com with ESMTP id ; Sun, 30 Jul 2000 17:03:15 -0700 Received: (from wesolows@localhost) by rotor.chem.unr.edu (8.9.3/8.9.3) id RAA04981; Sun, 30 Jul 2000 17:03:03 -0700 Date: Sun, 30 Jul 2000 17:03:03 -0700 From: Keith M Wesolowski To: Famille Chauvat Cc: linux-mips@oss.sgi.com Subject: Re: [Install trouble] Message-ID: <20000730170303.A4920@chem.unr.edu> References: <39847F16.543AA232@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <39847F16.543AA232@free.fr>; from famille.chauvat@free.fr on Sun, Jul 30, 2000 at 07:16:38PM +0000 X-Complaints-To: postmaster@chem.unr.edu Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Sun, Jul 30, 2000 at 07:16:38PM +0000, Famille Chauvat wrote: > I'm working with an Indy station and the corresponding kernel. There are a lot of Indy kernels out there. Could you be more specific? -- Keith M Wesolowski wesolows@chem.unr.edu University of Nevada http://www.chem.unr.edu Chemistry Department Systems and Network Administrator From owner-linux-mips@oss.sgi.com Sun Jul 30 17:38:00 2000 Received: by oss.sgi.com id ; Sun, 30 Jul 2000 17:37:41 -0700 Received: from u-101.karlsruhe.ipdial.viaginterkom.de ([62.180.19.101]:22024 "EHLO u-101.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Sun, 30 Jul 2000 17:37:23 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Fri, 28 Jul 2000 19:52:07 +0200 Date: Fri, 28 Jul 2000 19:52:07 +0200 From: Ralf Baechle To: Jun Sun , Keith M Wesolowski , linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu Subject: Re: strace on Linux/MIPS? Message-ID: <20000728195207.C8450@bacchus.dhis.org> References: <3980C024.8DCCA084@mvista.com> <20000727161212.B12897@chem.unr.edu> <3980C9F0.96B48253@mvista.com> <20000728021137.B1328@bacchus.dhis.org> <3980EC1C.AEF173D2@mvista.com> <20000728042109.C1981@bacchus.dhis.org> <20000728135139.A4903@cistron.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000728135139.A4903@cistron.nl>; from wichert@cistron.nl on Fri, Jul 28, 2000 at 01:51:39PM +0200 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Fri, Jul 28, 2000 at 01:51:39PM +0200, Wichert Akkerman wrote: > Previously Ralf Baechle wrote: > > Looks like strace is still tryping to copy mmap_arg_struct like on Intel > > but on MIPS we don't use that? > > Could be, I think MIPS and i386 use the same codepath there. Patches > are appreciated so I can include them in strace 4.3 (eta 3 weeks from > now) Well, they shouldn't use the same code ... Bananaware patch below. Ralf --- strace/linux/mips/syscallent.orig Mon May 1 03:09:31 2000 +++ strace/linux/mips/syscallent.h Fri Jul 28 19:50:13 2000 @@ -4088,7 +4088,7 @@ { 1, TF, sys_swapon, "swapon" }, /* 4087 */ { 3, 0, sys_reboot, "reboot" }, /* 4088 */ { 3, 0, sys_readdir, "readdir" }, /* 4089 */ - { 6, 0, sys_old_mmap, "mmap" }, /* 4090 */ + { 6, 0, sys_mmap, "mmap" }, /* 4090 */ { 2, 0, sys_munmap, "munmap" }, /* 4091 */ { 2, TF, sys_truncate, "truncate" }, /* 4092 */ { 2, 0, sys_ftruncate, "ftruncate" }, /* 4093 */ From owner-linux-mips@oss.sgi.com Sun Jul 30 17:38:40 2000 Received: by oss.sgi.com id ; Sun, 30 Jul 2000 17:38:30 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:39295 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 30 Jul 2000 17:38:18 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id RAA09957 for ; Sun, 30 Jul 2000 17:44:09 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id RAA26055 for ; Sun, 30 Jul 2000 17:38:01 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: from u-101.karlsruhe.ipdial.viaginterkom.de (u-101.karlsruhe.ipdial.viaginterkom.de [62.180.19.101]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id RAA02770 for ; Sun, 30 Jul 2000 17:37:57 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Fri, 28 Jul 2000 23:46:04 +0200 Date: Fri, 28 Jul 2000 23:46:04 +0200 From: Ralf Baechle To: Jun Sun , Keith M Wesolowski , linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com Subject: Re: strace on Linux/MIPS? Message-ID: <20000728234604.A8874@bacchus.dhis.org> References: <3980C024.8DCCA084@mvista.com> <20000727161212.B12897@chem.unr.edu> <3980C9F0.96B48253@mvista.com> <20000728021137.B1328@bacchus.dhis.org> <3980EC1C.AEF173D2@mvista.com> <20000728042109.C1981@bacchus.dhis.org> <20000728135139.A4903@cistron.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000728135139.A4903@cistron.nl>; from wichert@cistron.nl on Fri, Jul 28, 2000 at 01:51:39PM +0200 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Fri, Jul 28, 2000 at 01:51:39PM +0200, Wichert Akkerman wrote: > Previously Ralf Baechle wrote: > > Looks like strace is still tryping to copy mmap_arg_struct like on Intel > > but on MIPS we don't use that? > > Could be, I think MIPS and i386 use the same codepath there. Patches > are appreciated so I can include them in strace 4.3 (eta 3 weeks from > now) Here's the second strace patch, please apply. I noticed that process.c:change_syscall() can't work as is - the all kernels would change the v0 register - and happily use the old value that is take the wrong syscall. A kernel buglet which also hits the usermode kernel and which I'll fix asap. Ralf --- strace/process.c.orig Fri Jul 28 23:37:14 2000 +++ strace/process.c Fri Jul 28 23:33:43 2000 @@ -502,6 +502,24 @@ if (errno) return -1; } +#elif defined(MIPS) + { + errno = 0; + if (argnum < 4) + ptrace(PTRACE_POKEUSER, tcp->pid, + (char*)(REG_A0 + argnum), tcp->u_arg[argnum]); + else { + unsigned long *sp; + + if (upeek(tcp->pid, REG_SP, (long *) &sp) , 0) + return -1; + + ptrace(PTRACE_POKEDATA, tcp->pid, + (char*)(sp + argnum - 4), tcp->u_arg[argnum]); + } + if (errno) + return -1; + } #else # warning Sorry, setargs not implemented for this architecture. #endif From owner-linux-mips@oss.sgi.com Sun Jul 30 17:39:30 2000 Received: by oss.sgi.com id ; Sun, 30 Jul 2000 17:39:10 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:40831 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 30 Jul 2000 17:39:00 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id RAA00777 for ; Sun, 30 Jul 2000 17:44:49 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id RAA28350 for ; Sun, 30 Jul 2000 17:38:37 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: from u-101.karlsruhe.ipdial.viaginterkom.de (u-101.karlsruhe.ipdial.viaginterkom.de [62.180.19.101]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id RAA00745 for ; Sun, 30 Jul 2000 17:38:35 -0700 (PDT) mail_from (ralf@oss.sgi.com) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Sun, 30 Jul 2000 13:29:27 +0200 Date: Sun, 30 Jul 2000 13:29:27 +0200 From: Ralf Baechle To: Jun Sun Cc: linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com, jpuhlman@mvista.com Subject: Re: Bus error of gdb 5.0 with MIPS patch Message-ID: <20000730132927.C6603@bacchus.dhis.org> References: <398300E5.143F5370@mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <398300E5.143F5370@mvista.com>; from jsun@mvista.com on Sat, Jul 29, 2000 at 09:05:57AM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Sat, Jul 29, 2000 at 09:05:57AM -0700, Jun Sun wrote: > I started to play with gdb 5.0 + the MIPS patch at > http://www.ds2.pg.gda.pl/~macro/gdb-5.0/, but I am having a bus error if > I want to do 'next step'. Setting breakpoints and continuing running > seem to be fine. > > The gdb 4.17 rpm from oss.sgi.com does not have this problem. > > Any idea? Possibly this was one of the cacheflush bugs I recently fixed. > (gdb) n > [tcsetpgrp failed in terminal_inferior: Not a typewriter] > Bus error > > ----------- > > P.S., Does anybody know how to fix "tcsetpgrp ..." error? No idea, never seen / heared about this problem. Ralf From owner-linux-mips@oss.sgi.com Sun Jul 30 18:08:01 2000 Received: by oss.sgi.com id ; Sun, 30 Jul 2000 18:07:51 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:45328 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 30 Jul 2000 18:07:25 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id RAA21035 for ; Sun, 30 Jul 2000 17:59:53 -0700 (PDT) mail_from (webber@sb-studio.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id SAA60680 for ; Sun, 30 Jul 2000 18:06:54 -0700 (PDT) Received: from deliverator.sgi.com (deliverator.sgi.com [150.166.91.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id SAA33170 for ; Sun, 30 Jul 2000 18:05:23 -0700 (PDT) mail_from (webber@sb-studio.com) Received: from TmpStr (p4117.mega.ru [195.161.139.117]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id RAA20909 for ; Sun, 30 Jul 2000 17:57:47 -0700 (PDT) mail_from (webber@sb-studio.com) Message-Id: <200007310057.RAA20909@deliverator.sgi.com> From: SB WebStudio To: linux@cthulhu.engr.sgi.com Subject: =?ISO-8859-1?Q?=E5=D3=CC=C9?= =?ISO-8859-1?Q?=C9=CE=D4=C5=D2=C5=D3=CE=CF...?= Mime-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Date: Mon, 31 Jul 2000 05:04:46 +0400 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Здравствуйте, Мы подумали, что информация о нашей студии "SB WebStudio" http://www.sb-studio.com будет для Вас полезной и интересной. Если нет - тогда просто не читайте это письмо, а мы просим у Вас прощения за причиненное беспокойство. Представляем вашему вниманию Официальный сайт SB WebStudio - www.sb-studio.com SB WebStudio предлагает компаниям, работающим в различных отраслях, свои услуги по созданию собственного представительства в сети интернет (ВебСайты - любой сложности). Профессионализм в сочетании с творческим подходом позволяет использовать самые передовые технологии для решения любых задач. Наши цены являются одиними из самых низких на территории Москвы, при этом качество выполняемых работ остается на высшем уровне! В этом вы можете убедиться сами, посетив наш сайт...! С уважением, SB WebStudio - www.sb-studio.com P.S. Приносим свои извинения, если это письмо попало к Вам по ошибке From owner-linux-mips@oss.sgi.com Mon Jul 31 02:56:54 2000 Received: by oss.sgi.com id ; Mon, 31 Jul 2000 02:56:44 -0700 Received: from u-38.karlsruhe.ipdial.viaginterkom.de ([62.180.19.38]:13833 "EHLO u-38.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Mon, 31 Jul 2000 02:56:27 -0700 Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Mon, 31 Jul 2000 11:29:16 +0200 Date: Mon, 31 Jul 2000 11:29:16 +0200 From: Ralf Baechle To: linux-mips@oss.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu Subject: Cache changes Message-ID: <20000731112916.A19263@bacchus.dhis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing I've cleaned some of the r4xx0.c cache functions yesterday. Aside of shaving off almost 50% of lat_mmap benchmark results we now also properly assymetric cache line sizes as seen on the R4300 or used by certain configurations of the M700 and Mips Magnum. One of the next things I'll kill is support for split data and instruction second level caches on R4000 and R4400; I haven't ever heared of such a configuration actually being used in practice and anyway, it's a runtime configurable feature so we could get rid of it if we ever run into it. Ralf From owner-linux-mips@oss.sgi.com Mon Jul 31 07:24:35 2000 Received: by oss.sgi.com id ; Mon, 31 Jul 2000 07:24:25 -0700 Received: from [207.81.221.34] ([207.81.221.34]:24384 "EHLO relay") by oss.sgi.com with ESMTP id ; Mon, 31 Jul 2000 07:24:12 -0700 Received: from vcubed.com ([207.81.96.153]) by relay (8.8.7/8.8.7) with ESMTP id KAA20901 for ; Mon, 31 Jul 2000 10:42:54 -0400 Message-ID: <39859107.195824A0@vcubed.com> Date: Mon, 31 Jul 2000 10:45:27 -0400 From: Dan Aizenstros Organization: V3 Semiconductor X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-mips@oss.sgi.com Subject: Binutils-2.10 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hello, I have tried to compile binutils-2.10 with the patches from http://www.ds2.pg.gda.pl/~macro/ but it fails because BFD_RELOC_MIPS_HIGHER and BFD_RELOC_MIPS_HIGHEST are not defined. I believe that they should be defined in bfd-in2.h but they are not there. At the top of the file it says that it is a generated file so how do I generate it? I am also wondering if changes to this file are missing from the patch file. Dan Aizenstros Software Engineer V3 Semiconductor Corp. From owner-linux-mips@oss.sgi.com Mon Jul 31 09:26:45 2000 Received: by oss.sgi.com id ; Mon, 31 Jul 2000 09:26:26 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:47379 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 31 Jul 2000 09:26:13 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id JAA29920 for ; Mon, 31 Jul 2000 09:18:39 -0700 (PDT) mail_from (macro@ds2.pg.gda.pl) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id JAA78473 for ; Mon, 31 Jul 2000 09:24:25 -0700 (PDT) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id JAA26111 for ; Mon, 31 Jul 2000 09:22:52 -0700 (PDT) mail_from (macro@ds2.pg.gda.pl) Received: from delta.ds2.pg.gda.pl (delta.ds2.pg.gda.pl [153.19.144.1]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id JAA09536 for ; Mon, 31 Jul 2000 09:22:46 -0700 (PDT) mail_from (macro@ds2.pg.gda.pl) Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id SAA23850; Mon, 31 Jul 2000 18:22:36 +0200 (MET DST) Date: Mon, 31 Jul 2000 18:22:36 +0200 (MET DST) From: "Maciej W. Rozycki" Reply-To: "Maciej W. Rozycki" To: Jun Sun cc: linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com, jpuhlman@mvista.com Subject: Re: Bus error of gdb 5.0 with MIPS patch In-Reply-To: <398300E5.143F5370@mvista.com> Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Sat, 29 Jul 2000, Jun Sun wrote: > (gdb) n > [tcsetpgrp failed in terminal_inferior: Not a typewriter] > Bus error > > ----------- > > P.S., Does anybody know how to fix "tcsetpgrp ..." error? Hmm, I believe it indicates a problem with the shell. I used to observe it when my glibc disagreed with my kernel about struct stat64. Try to disable large file support for the shell until struct stat64 gets fixed. About the bus error -- try to compile gdb with debugging support and make it dump core on the bus error (you might need to tweak ulimit). Then try to locate the crash address with gdb (`info stack' might be particularly useful). It's most likely gdb cannot figure an address of the next instruction properly. What version of libc? -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + From owner-linux-mips@oss.sgi.com Mon Jul 31 09:32:36 2000 Received: by oss.sgi.com id ; Mon, 31 Jul 2000 09:32:16 -0700 Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:51338 "EHLO delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id ; Mon, 31 Jul 2000 09:32:05 -0700 Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id SAA24403; Mon, 31 Jul 2000 18:31:57 +0200 (MET DST) Date: Mon, 31 Jul 2000 18:31:56 +0200 (MET DST) From: "Maciej W. Rozycki" Reply-To: "Maciej W. Rozycki" To: Dan Aizenstros cc: linux-mips@oss.sgi.com Subject: Re: Binutils-2.10 In-Reply-To: <39859107.195824A0@vcubed.com> Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Mon, 31 Jul 2000, Dan Aizenstros wrote: > it is a generated file so how do I generate it? I am also make -C bfd headers > wondering if changes to this file are missing from the patch > file. It's intentional. Why would generated files be included in a patch? It only makes life more difficult when applying to modified sources. -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + From owner-linux-mips@oss.sgi.com Mon Jul 31 09:39:06 2000 Received: by oss.sgi.com id ; Mon, 31 Jul 2000 09:38:56 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:59949 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 31 Jul 2000 09:38:42 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id JAA07161 for ; Mon, 31 Jul 2000 09:44:34 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id JAA77204 for ; Mon, 31 Jul 2000 09:38:11 -0700 (PDT) Received: from calypso.engr.sgi.com (calypso.engr.sgi.com [163.154.5.113]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id JAA29719; Mon, 31 Jul 2000 09:36:39 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: by calypso.engr.sgi.com (Postfix, from userid 37984) id B99C8A7875; Mon, 31 Jul 2000 09:34:44 -0700 (PDT) To: Dan Aizenstros Cc: linux-mips@oss.sgi.com Subject: Re: Binutils-2.10 References: <39859107.195824A0@vcubed.com> From: Ulf Carlsson Date: 31 Jul 2000 09:34:44 -0700 In-Reply-To: Dan Aizenstros's message of "Mon, 31 Jul 2000 10:45:27 -0400" Message-ID: <6ov1z0afecb.fsf@calypso.engr.sgi.com> Lines: 33 X-Mailer: Gnus v5.7/Emacs 20.5 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Hi Dan, binutils-2.10 is known to work [or at least compile], but the patches you use are broken in some way. You could try to generate new files as you suggested. To generate new files you have to give the --enable-maintainer-mode option to configure, and you need special versions of some build tools. The files will be generated when you run make. Here is the README-maintainer-mode that pretty much explains it: Notes on enabling maintainer mode Note that if you configure with --enable-maintainer-mode, you will need special versions of automake, autoconf, libtool and gettext. You will find the sources for these in ftp://sourceware.cygnus.com/pub/binutils. Ulf > Hello, > > I have tried to compile binutils-2.10 with the patches from > http://www.ds2.pg.gda.pl/~macro/ but it fails because > BFD_RELOC_MIPS_HIGHER and BFD_RELOC_MIPS_HIGHEST are not > defined. I believe that they should be defined in bfd-in2.h > but they are not there. At the top of the file it says that > it is a generated file so how do I generate it? I am also > wondering if changes to this file are missing from the patch > file. > > Dan Aizenstros > Software Engineer > V3 Semiconductor Corp. From owner-linux-mips@oss.sgi.com Mon Jul 31 10:23:36 2000 Received: by oss.sgi.com id ; Mon, 31 Jul 2000 10:23:26 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:54307 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 31 Jul 2000 10:23:11 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id KAA07510 for ; Mon, 31 Jul 2000 10:15:38 -0700 (PDT) mail_from (jsun@mvista.com) Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id KAA00766 for ; Mon, 31 Jul 2000 10:21:21 -0700 (PDT) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id KAA41521 for ; Mon, 31 Jul 2000 10:19:07 -0700 (PDT) mail_from (jsun@mvista.com) Received: from hermes.mvista.com (gateway-490.mvista.com [63.192.220.206]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id KAA00873 for ; Mon, 31 Jul 2000 10:19:04 -0700 (PDT) mail_from (jsun@mvista.com) Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75]) by hermes.mvista.com (8.9.3/8.9.3) with ESMTP id KAA04541; Mon, 31 Jul 2000 10:17:22 -0700 Message-ID: <3985B49E.58DAA36F@mvista.com> Date: Mon, 31 Jul 2000 10:17:18 -0700 From: Jun Sun X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20b i586) X-Accept-Language: en MIME-Version: 1.0 To: "Maciej W. Rozycki" CC: linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com, jpuhlman@mvista.com Subject: Re: Bus error of gdb 5.0 with MIPS patch References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing "Maciej W. Rozycki" wrote: > About the bus error -- try to compile gdb with debugging support and make > it dump core on the bus error (you might need to tweak ulimit). Then try > to locate the crash address with gdb (`info stack' might be particularly > useful). It's most likely gdb cannot figure an address of the next > instruction properly. > > What version of libc? > It is glibc 2.0.7. Pretty old, but I don't think there is a newer one working stably with MIPS. Jun From owner-linux-mips@oss.sgi.com Mon Jul 31 10:51:07 2000 Received: by oss.sgi.com id ; Mon, 31 Jul 2000 10:50:57 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:52780 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 31 Jul 2000 10:50:41 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id KAA11524 for ; Mon, 31 Jul 2000 10:43:06 -0700 (PDT) mail_from (macro@ds2.pg.gda.pl) Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id KAA53374 for ; Mon, 31 Jul 2000 10:50:16 -0700 (PDT) mail_from (macro@ds2.pg.gda.pl) Received: from delta.ds2.pg.gda.pl (delta.ds2.pg.gda.pl [153.19.144.1]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id KAA00125 for ; Mon, 31 Jul 2000 10:50:11 -0700 (PDT) mail_from (macro@ds2.pg.gda.pl) Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id TAA25878; Mon, 31 Jul 2000 19:42:16 +0200 (MET DST) Date: Mon, 31 Jul 2000 19:42:16 +0200 (MET DST) From: "Maciej W. Rozycki" To: Jun Sun cc: linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com, jpuhlman@mvista.com Subject: Re: Bus error of gdb 5.0 with MIPS patch In-Reply-To: <3985B49E.58DAA36F@mvista.com> Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Mon, 31 Jul 2000, Jun Sun wrote: > > What version of libc? > > It is glibc 2.0.7. Pretty old, but I don't think there is a newer one > working stably with MIPS. Well, I can't test that, I am afraid. I am only using glibc 2.2 (which is 2.1.91 at the moment). It works quite well, but I wouldn't name it stable yet, I admit. -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + From owner-linux-mips@oss.sgi.com Mon Jul 31 15:03:31 2000 Received: by oss.sgi.com id ; Mon, 31 Jul 2000 15:03:22 -0700 Received: from [207.81.221.34] ([207.81.221.34]:30546 "EHLO relay") by oss.sgi.com with ESMTP id ; Mon, 31 Jul 2000 15:03:04 -0700 Received: from vcubed.com ([207.81.96.153]) by relay (8.8.7/8.8.7) with ESMTP id SAA27664; Mon, 31 Jul 2000 18:21:36 -0400 Message-ID: <3985FC8A.70E449C6@vcubed.com> Date: Mon, 31 Jul 2000 18:24:10 -0400 From: Dan Aizenstros Organization: V3 Semiconductor X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: "Maciej W. Rozycki" CC: linux-mips@oss.sgi.com Subject: Re: Binutils-2.10 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Thanks for the help. I was able to build binutils-2.10 after generating the headers as you described. The reason I expect the patch to change generated files is because the normal make does not generate them and the files are included in the binutils-2.10.tar.bz2 file. They are also in CVS. Why are generated files in CVS or the binary distribution if you have to generate them? I thought all I would have to do is a ./configure; make; make install after I applied the patches. Maybe you could add the need to generate files on your binutils-2.10 web page. Dan Aizenstros Software Engineer V3 Semiconductor Corp. "Maciej W. Rozycki" wrote: > > On Mon, 31 Jul 2000, Dan Aizenstros wrote: > > > it is a generated file so how do I generate it? I am also > > make -C bfd headers > > > wondering if changes to this file are missing from the patch > > file. > > It's intentional. Why would generated files be included in a patch? It > only makes life more difficult when applying to modified sources. > > -- > + Maciej W. Rozycki, Technical University of Gdansk, Poland + > +--------------------------------------------------------------+ > + e-mail: macro@ds2.pg.gda.pl, PGP key available + .