From owner-linux-origin@oss.sgi.com Mon May 1 22:15:31 2000 Received: by oss.sgi.com id ; Mon, 1 May 2000 22:15:12 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:56093 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 1 May 2000 22:15:02 -0700 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id WAA01511; Mon, 1 May 2000 22:19:16 -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 WAA63608; Mon, 1 May 2000 22:14:31 -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 WAA64583; Mon, 1 May 2000 22:12:56 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id 11602A7875; Mon, 1 May 2000 22:12:02 -0700 (PDT) Date: Mon, 1 May 2000 22:12:02 -0700 (PDT) From: Ulf Carlsson To: Ralf Baechle , Joan Eslinger Cc: linux-origin@oss.sgi.com Subject: pwdb Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing Hi, Has anyone seen this message before: PAM_pwdb[92]: get passwd; pwdb: structure is no longer valid I get it when I try to login after I've typed in the root password when I'm using the RPM packages from Ralf. I don't know what it's trying to tell me. By the way, I had to use the old util-linux package because there was no util-linux in Ralf's collection. Any hints? Ulf From owner-linux-origin@oss.sgi.com Tue May 2 12:56:52 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 12:56:43 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:19655 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 12:56:38 -0700 Received: from cacc-30.uni-koblenz.de (cacc-30.uni-koblenz.de [141.26.131.30]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id VAA04229; Tue, 2 May 2000 21:56:33 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Tue, 2 May 2000 20:55:56 +0200 Date: Tue, 2 May 2000 20:55:56 +0200 From: Ralf Baechle To: Ulf Carlsson Cc: Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb Message-ID: <20000502205556.C1444@uni-koblenz.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from ulfc@calypso.engr.sgi.com on Mon, May 01, 2000 at 10:12:02PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Mon, May 01, 2000 at 10:12:02PM -0700, Ulf Carlsson wrote: > Has anyone seen this message before: > > PAM_pwdb[92]: get passwd; pwdb: structure is no longer valid > > I get it when I try to login after I've typed in the root password when I'm > using the RPM packages from Ralf. I don't know what it's trying to tell me. > By the way, I had to use the old util-linux package because there was no > util-linux in Ralf's collection. Any hints? I think I've seen those messages myself somewhen in the past. Afair it's some incompatibility between PAM versions, so upgrading / recompiling should help. I just tried to check some details on my Indy but as it looks my Indy's NVRAM just died ... Ralf From owner-linux-origin@oss.sgi.com Tue May 2 13:15:03 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 13:14:54 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:56869 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 13:14:45 -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 NAA09593; Tue, 2 May 2000 13:09:58 -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 NAA56066; Tue, 2 May 2000 13:12:59 -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 NAA45869; Tue, 2 May 2000 13:11:25 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id 357CCA7875; Tue, 2 May 2000 13:10:30 -0700 (PDT) Date: Tue, 2 May 2000 13:10:30 -0700 (PDT) From: Ulf Carlsson To: Ralf Baechle Cc: Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb In-Reply-To: <20000502205556.C1444@uni-koblenz.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Tue, 2 May 2000, Ralf Baechle wrote: > On Mon, May 01, 2000 at 10:12:02PM -0700, Ulf Carlsson wrote: > > > Has anyone seen this message before: > > > > PAM_pwdb[92]: get passwd; pwdb: structure is no longer valid > > > > I get it when I try to login after I've typed in the root password when I'm > > using the RPM packages from Ralf. I don't know what it's trying to tell me. > > By the way, I had to use the old util-linux package because there was no > > util-linux in Ralf's collection. Any hints? > > I think I've seen those messages myself somewhen in the past. Afair it's > some incompatibility between PAM versions, so upgrading / recompiling > should help. Maybe I can downgrade PAM or would that cause every other program to break? I think this is because login is from the old util-linux and thus compiled against an old version of PAM. Did the compile of that RPM package break? > I just tried to check some details on my Indy but as it looks my Indy's > NVRAM just died ... It seems like you have a fetish for killing RAM. Ulf From owner-linux-origin@oss.sgi.com Tue May 2 14:14:45 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 14:14:35 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:6122 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 14:14:22 -0700 Received: from cacc-30.uni-koblenz.de (cacc-30.uni-koblenz.de [141.26.131.30]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id XAA12525; Tue, 2 May 2000 23:14:17 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Tue, 2 May 2000 23:14:12 +0200 Date: Tue, 2 May 2000 23:14:12 +0200 From: Ralf Baechle To: Ulf Carlsson Cc: Ralf Baechle , Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb Message-ID: <20000502231412.E2473@uni-koblenz.de> References: <20000502205556.C1444@uni-koblenz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from ulfc@calypso.engr.sgi.com on Tue, May 02, 2000 at 01:10:30PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Tue, May 02, 2000 at 01:10:30PM -0700, Ulf Carlsson wrote: > Maybe I can downgrade PAM or would that cause every other program to break? I > think this is because login is from the old util-linux and thus compiled > against an old version of PAM. Did the compile of that RPM package break? > > > I just tried to check some details on my Indy but as it looks my Indy's > > NVRAM just died ... > > It seems like you have a fetish for killing RAM. Silly construction, I don't even know if the damn thing is actually broken or just the content got garbled. What's worse, PROM and IRIX refuse to set the eaddr in the NVRAM nor can I otherwise ifconfig the interface to it's right address. In any case the RTC is combined with the NVRAM and my Indy's RTC was basically useless due to `excessive precission' and the so replacing the damn thing was overdue anyway ... Ralf From owner-linux-origin@oss.sgi.com Tue May 2 14:21:24 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 14:21:15 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:31846 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 14:21:01 -0700 Received: from sprasad.engr.sgi.com (sprasad.engr.sgi.com [163.154.5.109]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id OAA07862; Tue, 2 May 2000 14:25:17 -0700 (PDT) mail_from (sprasad@sprasad.engr.sgi.com) Received: (from sprasad@localhost) by sprasad.engr.sgi.com (980427.SGI.8.8.8/960327.SGI.AUTOCF) id OAA65154; Tue, 2 May 2000 14:18:51 -0700 (PDT) From: sprasad@sprasad.engr.sgi.com (Srinivasa Prasad Thirumalachar) Message-Id: <200005022118.OAA65154@sprasad.engr.sgi.com> Subject: Re: pwdb To: ralf@oss.sgi.com (Ralf Baechle) Date: Tue, 2 May 2000 14:18:51 -0700 (PDT) Cc: ulfc@calypso.engr.sgi.com (Ulf Carlsson), ralf@oss.sgi.com (Ralf Baechle), wombat@calypso.engr.sgi.com (Joan Eslinger), linux-origin@oss.sgi.com In-Reply-To: <20000502231412.E2473@uni-koblenz.de> from "Ralf Baechle" at May 02, 2000 11:14:12 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing According to Ralf Baechle ... > > On Tue, May 02, 2000 at 01:10:30PM -0700, Ulf Carlsson wrote: > > > Maybe I can downgrade PAM or would that cause every other program to break? I > > think this is because login is from the old util-linux and thus compiled > > against an old version of PAM. Did the compile of that RPM package break? > > > > > I just tried to check some details on my Indy but as it looks my Indy's > > > NVRAM just died ... > > > > It seems like you have a fetish for killing RAM. > > Silly construction, I don't even know if the damn thing is actually > broken or just the content got garbled. What's worse, PROM and IRIX > refuse to set the eaddr in the NVRAM nor can I otherwise ifconfig the If the NVRAM is corrupted eaddr may not be set up. Try rebooting the Indy, if the nvram is corrupted it will set it up with a set of good defaults which can be changed. Thanks srinivasa > interface to it's right address. In any case the RTC is combined > with the NVRAM and my Indy's RTC was basically useless due to `excessive > precission' and the so replacing the damn thing was overdue anyway ... > > Ralf > From owner-linux-origin@oss.sgi.com Tue May 2 14:23:35 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 14:23:25 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:50790 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 14:23:17 -0700 Received: from ledzep.cray.com (ledzep.cray.com [137.38.226.97]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id OAA06175; Tue, 2 May 2000 14:27:32 -0700 (PDT) mail_from (bcasavan@sgi.com) Received: from ironwood-e185.americas.sgi.com (ironwood.cray.com [128.162.185.212]) by ledzep.cray.com (SGI-SGI-8.9.3/craymail-smart-nospam1.0) with ESMTP id QAA95557; Tue, 2 May 2000 16:22:00 -0500 (CDT) Received: from kzerza.americas.sgi.com (kzerza.americas.sgi.com [128.162.191.33]) by ironwood-e185.americas.sgi.com (8.8.4/SGI-ironwood-e1.4) with ESMTP id QAA20640; Tue, 2 May 2000 16:21:52 -0500 (CDT) Received: from localhost by kzerza.americas.sgi.com (980427.SGI.8.8.8/SGI-client.1.6) via ESMTP id QAA23538; Tue, 2 May 2000 16:21:59 -0500 (CDT) Date: Tue, 2 May 2000 16:21:58 -0500 From: Brent Casavant X-Sender: bcasavan@kzerza.americas.sgi.com Reply-To: Brent Casavant To: Ralf Baechle cc: Ulf Carlsson , Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb In-Reply-To: <20000502231412.E2473@uni-koblenz.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Tue, 2 May 2000, Ralf Baechle wrote: > Silly construction, I don't even know if the damn thing is actually > broken or just the content got garbled. What's worse, PROM and IRIX > refuse to set the eaddr in the NVRAM nor can I otherwise ifconfig the > interface to it's right address. In any case the RTC is combined > with the NVRAM and my Indy's RTC was basically useless due to `excessive > precission' and the so replacing the damn thing was overdue anyway ... A bit off-topic, but what exactly are you replacing? The NVRAM or the Indy. I have this sinking feeling my Indigo's NVRAM is nearing the end of its life, with the TOD clock getting reset to 1970 on recent reboots. Haven't lost the MAC address yet. *crosses fingers* Anyone know where I can get a new NVRAM battery for an IP20? Brent -- Brent Casavant | The opinions expressed herein are not necessarily Silicon Graphics, Inc. | those of Silicon Graphics. Come to think of it, bcasavan@sgi.com | they're probably not even those of the author. From owner-linux-origin@oss.sgi.com Tue May 2 14:26:25 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 14:26:16 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:26606 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 14:25:58 -0700 Received: from cacc-30.uni-koblenz.de (cacc-30.uni-koblenz.de [141.26.131.30]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id XAA13537; Tue, 2 May 2000 23:25:53 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Tue, 2 May 2000 23:25:15 +0200 Date: Tue, 2 May 2000 23:25:15 +0200 From: Ralf Baechle To: Srinivasa Prasad Thirumalachar Cc: Ulf Carlsson , Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb Message-ID: <20000502232515.F2473@uni-koblenz.de> References: <20000502231412.E2473@uni-koblenz.de> <200005022118.OAA65154@sprasad.engr.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200005022118.OAA65154@sprasad.engr.sgi.com>; from sprasad@sprasad.engr.sgi.com on Tue, May 02, 2000 at 02:18:51PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Tue, May 02, 2000 at 02:18:51PM -0700, Srinivasa Prasad Thirumalachar wrote: > > Silly construction, I don't even know if the damn thing is actually > > broken or just the content got garbled. What's worse, PROM and IRIX > > refuse to set the eaddr in the NVRAM nor can I otherwise ifconfig the > > If the NVRAM is corrupted eaddr may not be set up. Try rebooting the > Indy, if the nvram is corrupted it will set it up with a set of > good defaults which can be changed. Basically my Indy is all back to defaults with exception of the eaddr which is filled with garbage that isn't a legal Ethernet address. Ralf From owner-linux-origin@oss.sgi.com Tue May 2 14:29:45 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 14:29:27 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:53231 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 14:29:23 -0700 Received: from cacc-30.uni-koblenz.de (cacc-30.uni-koblenz.de [141.26.131.30]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id XAA13864; Tue, 2 May 2000 23:29:18 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Tue, 2 May 2000 23:29:08 +0200 Date: Tue, 2 May 2000 23:29:08 +0200 From: Ralf Baechle To: Brent Casavant Cc: Ulf Carlsson , Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb Message-ID: <20000502232907.G2473@uni-koblenz.de> References: <20000502231412.E2473@uni-koblenz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from bcasavan@sgi.com on Tue, May 02, 2000 at 04:21:58PM -0500 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Tue, May 02, 2000 at 04:21:58PM -0500, Brent Casavant wrote: > A bit off-topic, but what exactly are you replacing? The NVRAM or the > Indy. I have this sinking feeling my Indigo's NVRAM is nearing the end > of its life, with the TOD clock getting reset to 1970 on recent reboots. > Haven't lost the MAC address yet. *crosses fingers* Welcome to the club. > Anyone know where I can get a new NVRAM battery for an IP20? Afaik the IP20 (what is that in product name?) is using the same NVRAM chip as the Indy, a DS1386 or maybe also it's predecessor, the DS1286. The battery is integrated together with the NVRAM and RTC, so you can't exchange them separately. Ralf From owner-linux-origin@oss.sgi.com Tue May 2 14:38:35 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 14:38:15 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:35396 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 14:38:01 -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 OAA21616; Tue, 2 May 2000 14:33:14 -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 OAA54044; Tue, 2 May 2000 14:36:15 -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 OAA71245; Tue, 2 May 2000 14:34:41 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id 0B95FA7875; Tue, 2 May 2000 14:33:46 -0700 (PDT) Date: Tue, 2 May 2000 14:33:46 -0700 (PDT) From: Ulf Carlsson To: Ralf Baechle Cc: Srinivasa Prasad Thirumalachar , Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb In-Reply-To: <20000502232515.F2473@uni-koblenz.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Tue, 2 May 2000, Ralf Baechle wrote: > On Tue, May 02, 2000 at 02:18:51PM -0700, Srinivasa Prasad Thirumalachar wrote: > > > > Silly construction, I don't even know if the damn thing is actually > > > broken or just the content got garbled. What's worse, PROM and IRIX > > > refuse to set the eaddr in the NVRAM nor can I otherwise ifconfig the > > > > If the NVRAM is corrupted eaddr may not be set up. Try rebooting the > > Indy, if the nvram is corrupted it will set it up with a set of > > good defaults which can be changed. > > Basically my Indy is all back to defaults with exception of the eaddr > which is filled with garbage that isn't a legal Ethernet address. I have seen exactly the same behaviour on an Indy here. It seems like this is a common problem. Do you think it would help with a new PROM? Ulf From owner-linux-origin@oss.sgi.com Tue May 2 14:57:35 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 14:57:15 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:30970 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 14:56:59 -0700 Received: from cacc-30.uni-koblenz.de (cacc-30.uni-koblenz.de [141.26.131.30]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id XAA16379; Tue, 2 May 2000 23:56:51 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Tue, 2 May 2000 23:56:30 +0200 Date: Tue, 2 May 2000 23:56:30 +0200 From: Ralf Baechle To: Ulf Carlsson Cc: Srinivasa Prasad Thirumalachar , Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb Message-ID: <20000502235630.A3502@uni-koblenz.de> References: <20000502232515.F2473@uni-koblenz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from ulfc@calypso.engr.sgi.com on Tue, May 02, 2000 at 02:33:46PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Tue, May 02, 2000 at 02:33:46PM -0700, Ulf Carlsson wrote: > > Basically my Indy is all back to defaults with exception of the eaddr > > which is filled with garbage that isn't a legal Ethernet address. > > I have seen exactly the same behaviour on an Indy here. It seems like this is > a common problem. Do you think it would help with a new PROM? Well, the problem is that the PROMs and IRIX deliberately refuse to overwrite the value of eaddr. As I understand there is a special IRIX kernel used for manufacturing / testing the Indy that is compiled with MFG_EADDR defined. That one actually can set the eaddr variable. Such a kernel would of course be useless for me since I can no longer boot it nor easily copy it to the root disk ... Ralf From owner-linux-origin@oss.sgi.com Tue May 2 15:09:15 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 15:09:05 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:49741 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 15:08:55 -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 PAA25784; Tue, 2 May 2000 15:04:07 -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 PAA91162; Tue, 2 May 2000 15:07:09 -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 PAA76308; Tue, 2 May 2000 15:05:34 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id 3CF96A7875; Tue, 2 May 2000 15:04:39 -0700 (PDT) Date: Tue, 2 May 2000 15:04:39 -0700 (PDT) From: Ulf Carlsson To: Ralf Baechle Cc: Srinivasa Prasad Thirumalachar , Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb In-Reply-To: <20000502235630.A3502@uni-koblenz.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Tue, 2 May 2000, Ralf Baechle wrote: > On Tue, May 02, 2000 at 02:33:46PM -0700, Ulf Carlsson wrote: > > > > Basically my Indy is all back to defaults with exception of the eaddr > > > which is filled with garbage that isn't a legal Ethernet address. > > > > I have seen exactly the same behaviour on an Indy here. It seems like this is > > a common problem. Do you think it would help with a new PROM? > > Well, the problem is that the PROMs and IRIX deliberately refuse to > overwrite the value of eaddr. As I understand there is a special IRIX > kernel used for manufacturing / testing the Indy that is compiled with > MFG_EADDR defined. That one actually can set the eaddr variable. > > Such a kernel would of course be useless for me since I can no longer > boot it nor easily copy it to the root disk ... I think that you can actually bootp another sash, so if you get a sash that is compiled with MFG_EADDR or something it may be possible. Then again I don't know anything about this stuff. I'll look around.. Ulf From owner-linux-origin@oss.sgi.com Tue May 2 15:14:35 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 15:14:25 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:31567 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 15:14:07 -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 PAA26625; Tue, 2 May 2000 15:09:20 -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 PAA56790; Tue, 2 May 2000 15:13:48 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id 6A68BA7875; Tue, 2 May 2000 15:12:53 -0700 (PDT) Date: Tue, 2 May 2000 15:12:53 -0700 (PDT) From: Ulf Carlsson To: Ralf Baechle Cc: Srinivasa Prasad Thirumalachar , Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > I think that you can actually bootp another sash, so if you get a sash that > is compiled with MFG_EADDR or something it may be possible. Then again I > don't know anything about this stuff. I'll look around.. I should think before I write. Of course you can't bootp it if you don't have a correct eaddr... Ulf From owner-linux-origin@oss.sgi.com Tue May 2 16:10:20 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 16:10:01 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:54132 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 16:09:43 -0700 Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id QAA00827 for ; Tue, 2 May 2000 16:13:59 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id QAA01003 for linux-origin@oss.sgi.com; Tue, 2 May 2000 16:08:24 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005022308.QAA01003@google.engr.sgi.com> Subject: >2 cpu boots now To: linux-origin@oss.sgi.com Date: Tue, 2 May 2000 16:08:24 -0700 (PDT) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing I fixed some inter cpu intr handling stuff, changed the format of /proc/cpuinfo a little, so now, instead of seeing bash# cat /proc/cpuinfo cpu : MIPS BogoMIPS : 194.56 byteorder : big endian unaligned accesses : 0 wait instruction : no microsecond timers : no extra interrupt vector : no hardware watchpoint : yes VCED exceptions : not available VCEI exceptions : not available you can see bash# cat /proc/cpuinfo cpu : MIPS BogoMIPS : 194.56 Number of cpus : 8 byteorder : big endian unaligned accesses : 0 wait instruction : no microsecond timers : no extra interrupt vector : no hardware watchpoint : yes VCED exceptions : not available VCEI exceptions : not available Yes, this was on a 4 node machine with 8 cpus, but the memory on the slave nodes are still not being used. Kanoj From owner-linux-origin@oss.sgi.com Tue May 2 16:14:50 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 16:14:31 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:62564 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 16:14:16 -0700 Received: from ledzep.cray.com (ledzep.cray.com [137.38.226.97]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id QAA06649 for ; Tue, 2 May 2000 16:09:29 -0700 (PDT) mail_from (pfg@sgi.com) Received: from ironwood-e185.americas.sgi.com (ironwood.cray.com [128.162.185.212]) by ledzep.cray.com (SGI-SGI-8.9.3/craymail-smart-nospam1.0) with ESMTP id SAA85309 for ; Tue, 2 May 2000 18:11:45 -0500 (CDT) Received: from fsgi900.americas.sgi.com (fsgi900.americas.sgi.com [128.162.191.20]) by ironwood-e185.americas.sgi.com (8.8.4/SGI-ironwood-e1.4) with ESMTP id SAA24039 for ; Tue, 2 May 2000 18:11:35 -0500 (CDT) From: Pat Gefre Received: by fsgi900.americas.sgi.com (8.8.8/SGI-client.1.6) id SAA03292; Tue, 2 May 2000 18:11:04 -0500 (CDT) Message-Id: <200005022311.SAA03292@fsgi900.americas.sgi.com> Subject: oss tree To: linux-origin@oss.sgi.com Date: Tue, 2 May 2000 18:11:04 -0500 (CDT) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing Is the oss tree broken ?? I grabbed a new tree ..... mips64-linux-gcc -D__KERNEL__ -I/u6/pfg/Linux/New_cvs/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -mabi=64 -G 0 -mno-abicalls -fno-pic -pipe -mcpu=r8000 -mips4 -Wa,-32 -fno-strict-aliasing -c r4k_genex.S -o r4k_genex.o r4k_genex.S: Assembler messages: r4k_genex.S:168: Warning: Missing .end or .bend at end of file mips64-linux-gcc: Internal compiler error: program as got fatal signal 11 make[1]: *** [r4k_genex.o] Error 1 make[1]: Leaving directory `/u6/pfg/Linux/New_cvs/linux/arch/mips64/kernel' make: *** [_dir_arch/mips64/kernel] Error 2 -- Pat Patrick Gefre Silicon Graphics, Inc. (E-Mail) pfg@sgi.com 655F Lone Oak Drive (Voice) (651) 683-3127 Eagan, MN 55121-1560 From owner-linux-origin@oss.sgi.com Tue May 2 16:26:51 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 16:26:31 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:40810 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 16:26:16 -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 QAA08536 for ; Tue, 2 May 2000 16:21:29 -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 QAA51934 for ; Tue, 2 May 2000 16:24:30 -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 QAA91948; Tue, 2 May 2000 16:22:56 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id E908EA7875; Tue, 2 May 2000 16:22:00 -0700 (PDT) Date: Tue, 2 May 2000 16:22:00 -0700 (PDT) From: Ulf Carlsson To: Pat Gefre Cc: linux-origin@oss.sgi.com Subject: Re: oss tree In-Reply-To: <200005022311.SAA03292@fsgi900.americas.sgi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > mips64-linux-gcc -D__KERNEL__ -I/u6/pfg/Linux/New_cvs/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -mabi=64 -G 0 -mno-abicalls -fno-pic -pipe -mcpu=r8000 -mips4 -Wa,-32 -fno-strict-aliasing -c r4k_genex.S -o r4k_genex.o > r4k_genex.S: Assembler messages: > r4k_genex.S:168: Warning: Missing .end or .bend at end of file > mips64-linux-gcc: Internal compiler error: program as got fatal signal 11 > make[1]: *** [r4k_genex.o] Error 1 > make[1]: Leaving directory `/u6/pfg/Linux/New_cvs/linux/arch/mips64/kernel' > make: *** [_dir_arch/mips64/kernel] Error 2 Ralf said that he would book my flight home if I didn't fix binutils so I'd better fix it pretty quick! I began working on finding a solution for it this morning so you can expect something soon I hope. In the meantime you can just add a -P to the CFLAGS in your arch/mips64/Makefile. Ulf From owner-linux-origin@oss.sgi.com Tue May 2 22:43:36 2000 Received: by oss.sgi.com id ; Tue, 2 May 2000 22:43:26 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:63104 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Tue, 2 May 2000 22:43:18 -0700 Received: from cacc-26.uni-koblenz.de (cacc-26.uni-koblenz.de [141.26.131.26]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id HAA14616; Wed, 3 May 2000 07:43:13 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Wed, 3 May 2000 00:51:48 +0200 Date: Wed, 3 May 2000 00:51:48 +0200 From: Ralf Baechle To: Ulf Carlsson Cc: Srinivasa Prasad Thirumalachar , Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb Message-ID: <20000503005148.C3502@uni-koblenz.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from ulfc@calypso.engr.sgi.com on Tue, May 02, 2000 at 03:12:53PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Tue, May 02, 2000 at 03:12:53PM -0700, Ulf Carlsson wrote: > > I think that you can actually bootp another sash, so if you get a sash that > > is compiled with MFG_EADDR or something it may be possible. Then again I > > don't know anything about this stuff. I'll look around.. > > I should think before I write. Of course you can't bootp it if you don't have > a correct eaddr... Yeah, we all enjoy that sudden explosion of personal intelligence in the very second after hitting the return key ... Ralf From owner-linux-origin@oss.sgi.com Wed May 3 18:40:19 2000 Received: by oss.sgi.com id ; Wed, 3 May 2000 18:40:09 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:31587 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 3 May 2000 18:40:05 -0700 Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id SAA08351 for ; Wed, 3 May 2000 18:35:17 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id SAA74665; Wed, 3 May 2000 18:38:45 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005040138.SAA74665@google.engr.sgi.com> Subject: multinode/multicpu single user boot To: linux-origin@oss.sgi.com Date: Wed, 3 May 2000 18:38:45 -0700 (PDT) Cc: sp@google.engr.sgi.com X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On trillium, a 8 cpu, 4 node machine, with a UP kernel, we get: bash# cat /proc/cpuinfo cpu : MIPS BogoMIPS : 194.56 Number of cpus : 1 byteorder : big endian unaligned accesses : 0 wait instruction : no microsecond timers : no extra interrupt vector : no hardware watchpoint : yes VCED exceptions : not available VCEI exceptions : not available bash# cat /proc/meminfo total: used: free: shared: buffers: cached: Mem: 127672320 5750784 121921536 0 114688 2756608 Swap: 0 0 0 MemTotal: 124680 kB MemFree: 119064 kB MemShared: 0 kB Buffers: 112 kB Cached: 2692 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 124680 kB LowFree: 119064 kB SwapTotal: 0 kB SwapFree: 0 kB And with a kernel compiled CONFIG_SMP and CONFIG_DISCONTIGMEM, we get: bash# cat /proc/cpuinfo cpu : MIPS BogoMIPS : 194.56 Number of cpus : 8 byteorder : big endian unaligned accesses : 0 wait instruction : no microsecond timers : no extra interrupt vector : no hardware watchpoint : yes VCED exceptions : not available VCEI exceptions : not available bash# bash# cat /proc/meminfo total: used: free: shared: buffers: cached: Mem: 3282493440 16867328 3265626112 0 114688 2756608 Swap: 0 0 0 MemTotal: 3205560 kB MemFree: 3189088 kB MemShared: 0 kB Buffers: 112 kB Cached: 2692 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 3205560 kB LowFree: 3189088 kB SwapTotal: 0 kB SwapFree: 0 kB Here's the bootup messages on CONFIG_SMP+CONFIG_DISCONTIGMEM: >> bootp()sqlcon:kanoj/vmlinux.64 root=/dev/sdc1 Obtaining kanoj/vmlinux.64 from server sqlcon 1456708+365520+277988 entry: 0xa800000000184000 ARCH: SGI-IP27 PROMLIB: ARC firmware Version 64 Revision 0 Discovered 8 cpus on 4 nodes Ignoring slot 28 onwards on node 0 Ignoring slot 28 onwards on node 1 Ignoring slot 28 onwards on node 3 Total memory probed : 0xe0000 pages Linux version 2.3.99-pre6 (kanoj@dbear.engr.sgi.com) (gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)) #61 SMP Wed May 3 18:27:37 PDT 2000 Loading R10000 MMU routines. CPU revision is: 00000926 Primary instruction cache 32kb, linesize 64 bytes Primary data cache 32kb, linesize 32 bytes Secondary cache sized at 4096K, linesize 128 CPU 0 clock is 195MHz. IP27: Running on node 0. Node 0 has a primary CPU, CPU is running. Node 0 has a secondary CPU, CPU is running. Machine is in M mode. On node 0 totalpages: 819200 zone(0): 819200 pages. zone(1): 0 pages. zone(2): 0 pages. On node 1 totalpages: 819200 zone(0): 819200 pages. zone(1): 0 pages. zone(2): 0 pages. On node 2 totalpages: 819200 zone(0): 819200 pages. zone(1): 0 pages. zone(2): 0 pages. On node 3 totalpages: 819200 zone(0): 819200 pages. zone(1): 0 pages. zone(2): 0 pages. Entering 64-bit mode. Calibrating delay loop... 194.56 BogoMIPS Memory: 3205352k/3670016k available (1422k kernel code, 464664k reserved, 130k data, 208k init) VFS: DCACHE hash table configured to 131072 entries Buffer-cache hash table entries: 262144 (order: 9, 2097152 bytes) Page-cache hash table entries: 262144 (order: 9, 2097152 bytes) VFS: INODE hash table configured to 131072 entries Checking for 'wait' instruction... unavailable. POSIX conformance testing by UNIFIX CPU 1 clock is 195MHz. Holding 6 cpus slave Loading R10000 MMU routines. PCI: Probing PCI hardware on host bus 0, node 0. CPU revision is: 00000926 PCI: Fixing base addresses for device 00:02.0 Primary instruction cache 32kb, linesize 64 bytes PCI: Fixing base addresses for device 00:06.0 Primary data cache 32kb, linesize 32 bytes Linux NET4.0 for Linux 2.3 Secondary cache sized at 4096K, linesize 128 Based upon Swansea University Computer Society NET3.039 CPU 2 clock is 195MHz. NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. CPU 3 clock is 195MHz. NET4: Linux TCP/IP 1.0 for NET4.0 Loading R10000 MMU routines. IP Protocols: CPU revision is: 00000926 ICMP, Primary instruction cache 32kb, linesize 64 bytes UDP, Primary data cache 32kb, linesize 32 bytes TCP Loading R10000 MMU routines. IP: routing cache hash table of 16384 buckets, 256Kbytes CPU revision is: 00000926 Primary instruction cache 32kb, linesize 64 bytes Primary data cache 32kb, linesize 32 bytes TCP: Hash tables configured (established 131072 bind 65536) Secondary cache sized at 4096K, linesize 128 Starting kswapd v1.6 Secondary cache sized at 4096K, linesize 128 qlogicisp : new isp1020 revision ID (5) CPU 4 clock is 195MHz. CPU 5 clock is 195MHz. Loading R10000 MMU routines. Loading R10000 MMU routines. CPU revision is: 00000926 Primary instruction cache 32kb, linesize 64 bytes Primary data cache 32kb, linesize 32 bytes CPU revision is: 00000926 qlogicisp : new isp1020 revision ID (5) Secondary cache sized at 4096K, linesize 128 Primary instruction cache 32kb, linesize 64 bytes Primary data cache 32kb, linesize 32 bytes CPU 6 clock is 195MHz. Secondary cache sized at 4096K, linesize 128 Loading R10000 MMU routines. scsi0 : QLogic ISP1020 SCSI on PCI bus 00 device 00 irq 0 I/O base 0x8200000 CPU revision is: 00000926 scsi1 : QLogic ISP1020 SCSI on PCI bus 00 device 08 irq 1 I/O base 0x8400000 CPU 7 clock is 195MHz. scsi : 2 hosts. Primary instruction cache 32kb, linesize 64 bytes Primary data cache 32kb, linesize 32 bytes Loading R10000 MMU routines. Secondary cache sized at 4096K, linesize 128 Vendor: CPU revision is: 00000926 SPrimary instruction cache 32kb, linesize 64 bytes GPrimary data cache 32kb, linesize 32 bytes ISecondary cache sized at 4096K, linesize 128 Model: IBM DCHS04Y Rev: 5252 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 1, lun 0 Vendor: SGI Model: IBM DCHS04Y Rev: 3232 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sdb at scsi0, channel 0, id 2, lun 0 Vendor: SGI Model: IBM DCHS04Y Rev: 3131 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sdc at scsi0, channel 0, id 3, lun 0 scsi : detected 3 SCSI disks total. SCSI device sda: hdwr sector= 512 bytes. Sectors= 8888543 [4340 MB] [4.3 GB] Partition check: sda: sda1 sda2 sda3 sda4 SCSI device sdb: hdwr sector= 512 bytes. Sectors= 8888543 [4340 MB] [4.3 GB] sdb: sdb1 sdb2 sdb3 sdb4 SCSI device sdc: hdwr sector= 512 bytes. Sectors= 8888543 [4340 MB] [4.3 GB] sdc: sdc1 sdc2 sdc3 sdc4 Ok, using PHY 31, vendor 0x20005c0, model 0, rev 1. eth0: MII transceiver found at MDIO address 31, config 3100 status 786f. IOC3 SSRAM has 64 kbyte. Found DS1981U NIC, registration number 7c:7f:04:00:70:5e, CRC ca. Ethernet address is 08:00:69:0c:08:d3. Serial driver version 4.93 (2000-03-20) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x0000 (irq = 0) is a 16550A ttyS01 at 0x0000 (irq = 0) is a 16550A Sending BOOTP requests....... OK IP-Config: Got BOOTP answer from 163.154.18.85, my address is 163.154.18.57 kmem_create: Forcing size word alignment - nfs_fh VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 208k freed kmod: failed to exec /sbin/modprobe -s -k char-major-4, errno = 2 INIT: version 2.74 booting INIT: /etc/inittab[57]: id field too long (max 4 characters) Executing rc.sysinit script Activating swap partitions Done activating swap partitions Mounting procfs Remounting root filesystem in reEXT2-fs warning: mounting unchecked fs, running e2fsck is recommended ad-write mode. Clearing mtab Entring root into mtab Entering procfs into mtab Mounting local filesystems. Clean out /etc Delete UUCP lock files Delete stale subsystem files Delete stale pid files Delete Xlocks Setting clock: /etc/rc.d/rc.sysinit: /sbin/clock: No such file or directory Wed May 3 18:29:52 PDT 2000 Give root password for maintenance (or type Control-D for normal startup): bash# Kanoj From owner-linux-origin@oss.sgi.com Wed May 3 21:03:52 2000 Received: by oss.sgi.com id ; Wed, 3 May 2000 21:03:43 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:4768 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Wed, 3 May 2000 21:03:28 -0700 Received: from cacc-7.uni-koblenz.de (cacc-7.uni-koblenz.de [141.26.131.7]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id GAA14772; Thu, 4 May 2000 06:03:13 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Wed, 3 May 2000 21:48:51 +0200 Date: Wed, 3 May 2000 21:48:51 +0200 From: Ralf Baechle To: Ulf Carlsson Cc: Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb Message-ID: <20000503214851.A1448@uni-koblenz.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from ulfc@calypso.engr.sgi.com on Mon, May 01, 2000 at 10:12:02PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Mon, May 01, 2000 at 10:12:02PM -0700, Ulf Carlsson wrote: > Has anyone seen this message before: > > PAM_pwdb[92]: get passwd; pwdb: structure is no longer valid > > I get it when I try to login after I've typed in the root password when I'm > using the RPM packages from Ralf. I don't know what it's trying to tell me. > By the way, I had to use the old util-linux package because there was no > util-linux in Ralf's collection. Any hints? I managed to get my Indy partially working again, so was able to check my packages. There is a util-linux package, the name is RPMS/mips-binutils-2.8.1/util-linux-2.9o-13lm.mips.rpm, you should have that package among those that I've placed on rainy. Please drop me a note if for some reason this package is missing. Ralf From owner-linux-origin@oss.sgi.com Wed May 3 23:26:13 2000 Received: by oss.sgi.com id ; Wed, 3 May 2000 23:25:53 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:34831 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 3 May 2000 23:25:35 -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 XAA27400; Wed, 3 May 2000 23:20:47 -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 XAA91726; Wed, 3 May 2000 23:25:16 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id 363C9A7875; Wed, 3 May 2000 23:24:12 -0700 (PDT) Date: Wed, 3 May 2000 23:24:12 -0700 (PDT) From: Ulf Carlsson To: Ralf Baechle Cc: Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb In-Reply-To: <20000503214851.A1448@uni-koblenz.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > I managed to get my Indy partially working again, so was able to check > my packages. There is a util-linux package, the name is > RPMS/mips-binutils-2.8.1/util-linux-2.9o-13lm.mips.rpm, you should have > that package among those that I've placed on rainy. I found this package now. I didn't know about the mips-binutils-2.8.1 directory. I have installed the packages from the mips directory, do you think those are ok? Thanks, Ulf From owner-linux-origin@oss.sgi.com Thu May 4 12:43:33 2000 Received: by oss.sgi.com id ; Thu, 4 May 2000 12:43:13 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:2379 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 4 May 2000 12:42:45 -0700 Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id MAA00921 for ; Thu, 4 May 2000 12:47:02 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id MAA13665 for linux-origin@oss.sgi.com; Thu, 4 May 2000 12:41:25 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005041941.MAA13665@google.engr.sgi.com> Subject: multiuser To: linux-origin@oss.sgi.com Date: Thu, 4 May 2000 12:41:25 -0700 (PDT) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing The good news is that the regular (UP, non NUMA) kernel gets to multiuser, at least on trillium (I had to hack some startup scripts/devicefiles). Hard Hat Linux Hard Hat release 5.1 (Manhattan) Kernel 2.3.99-pre6 on a mips64 pengindy login: exit Password: @<33>May 4 12:24:16 PAM_pwdb[293]: check pass; user unknown <37>May 4 12:24:17 PAM_pwdb[293]: FAILED LOGIN 1 FROM (null) FOR exit, User not known to the underlying authentication module Login incorrect login: root Y<38>May 4 12:24:23 PAM_pwdb[293]: (login) session opened for user root by (uid=0) Last login: Thu May 4 12:16:02 on ttyS0 A<38>May 4 12:24:23 PAM_pwdb[293]: DIALUP AT ttyS0 BY root A<37>May 4 12:24:23 PAM_pwdb[293]: ROOT LOGIN ON ttyS0 [root@pengindy /root]# [root@pengindy /root]# [root@pengindy /root]# [root@pengindy /root]# [root@pengindy /root]# id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),5(sys),4(adm),6(disk),10(wheel) [root@pengindy /root]# date Thu May 4 12:24:37 PDT 2000 [root@pengindy /root]# exit logout 'linux': unknown terminal type. Q<38>May 4 12:24:39 PAM_pwdb[293]: (login) session closed for user root Hard Hat Linux Hard Hat release 5.1 (Manhattan) Kernel 2.3.99-pre6 on a mips64 The bad news is that networking stops working in multiuser mode. It works fine in single user mode (I had to rcp /bin/login from an Indy!), so there's something going on there. Also, at least the SMP/NUMA kernel is seeing a problem: Hard Hat Linux Hard Hat release 5.1 (Manhattan) Kernel 2.3.99-pre6 on a mips64 pengindy login: root X<38>May 4 12:30:35 PAM_pwdb[295]: (login) session opened for user root by (uid=0) Last login: Thu May 4 12:25:12 on ttyS0 A<38>May 4 12:30:35 PAM_pwdb[295]: DIALUP AT ttyS0 BY root A<37>May 4 12:30:35 PAM_pwdb[295]: ROOT LOGIN ON ttyS0 Q<38>May 4 12:30:35 PAM_pwdb[295]: (login) session closed for user root Hard Hat Linux Hard Hat release 5.1 (Manhattan) Kernel 2.3.99-pre6 on a mips64 pengindy login: meaning no one can login currently. Investigating ... Kanoj From owner-linux-origin@oss.sgi.com Thu May 4 14:37:25 2000 Received: by oss.sgi.com id ; Thu, 4 May 2000 14:37:06 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:60661 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Thu, 4 May 2000 14:36:54 -0700 Received: from cacc-3.uni-koblenz.de (cacc-3.uni-koblenz.de [141.26.131.3]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id XAA28803; Thu, 4 May 2000 23:36:49 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Thu, 4 May 2000 20:24:10 +0200 Date: Thu, 4 May 2000 20:24:10 +0200 From: Ralf Baechle To: Ulf Carlsson Cc: Srinivasa Prasad Thirumalachar , Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb Message-ID: <20000504202410.A3526@uni-koblenz.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from ulfc@calypso.engr.sgi.com on Tue, May 02, 2000 at 03:12:53PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Tue, May 02, 2000 at 03:12:53PM -0700, Ulf Carlsson wrote: > > I think that you can actually bootp another sash, so if you get a sash that > > is compiled with MFG_EADDR or something it may be possible. Then again I > > don't know anything about this stuff. I'll look around.. > > I should think before I write. Of course you can't bootp it if you don't have > a correct eaddr... But I was able to reboot the beast from a local disk, then wrote a kernel module that reprogrammed the NVRAM with the old Ethernet address. Back to usability. Anybody want to modify serial numbers? One service contract per site is good enough ... (Only SNI makes that easier, includes the necessary tool in the PROM ...) Ralf From owner-linux-origin@oss.sgi.com Thu May 4 15:16:26 2000 Received: by oss.sgi.com id ; Thu, 4 May 2000 15:16:16 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:55428 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Thu, 4 May 2000 15:16:03 -0700 Received: from cacc-3.uni-koblenz.de (cacc-3.uni-koblenz.de [141.26.131.3]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id AAA02343; Fri, 5 May 2000 00:15:59 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Fri, 5 May 2000 00:15:27 +0200 Date: Fri, 5 May 2000 00:15:27 +0200 From: Ralf Baechle To: Ulf Carlsson Cc: Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: pwdb Message-ID: <20000505001527.B3704@uni-koblenz.de> References: <20000503214851.A1448@uni-koblenz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from ulfc@calypso.engr.sgi.com on Wed, May 03, 2000 at 11:24:12PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Wed, May 03, 2000 at 11:24:12PM -0700, Ulf Carlsson wrote: > > I managed to get my Indy partially working again, so was able to check > > my packages. There is a util-linux package, the name is > > RPMS/mips-binutils-2.8.1/util-linux-2.9o-13lm.mips.rpm, you should have > > that package among those that I've placed on rainy. > > I found this package now. I didn't know about the mips-binutils-2.8.1 > directory. I have installed the packages from the mips directory, do you > think those are ok? The packages in mips-binutils-2.8.1 have been built with binutils 2.8.1. Those in the mips subdirectory have mostly been built with my private binutils 2.9.5 version which tagged it's binaries with the DT_MIPS_TIME_STAMP thing, not with got[1] = 0xc0000000 as later ones. That is all the DT_MIPS_TIME_STAMP binaries will stop working as soon as I remove the support for this old workaround from the dynamic linker. Ralf From owner-linux-origin@oss.sgi.com Mon May 8 14:43:24 2000 Received: by oss.sgi.com id ; Mon, 8 May 2000 14:43:04 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:55724 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Mon, 8 May 2000 14:42:35 -0700 Received: from cacc-19.uni-koblenz.de (cacc-19.uni-koblenz.de [141.26.131.19]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id XAA24938 for ; Mon, 8 May 2000 23:42:31 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Mon, 8 May 2000 17:48:35 +0200 Date: Mon, 8 May 2000 17:48:35 +0200 From: Ralf Baechle To: linux-origin@oss.sgi.com Subject: Patch 2.5 from Freeware CD Message-ID: <20000508174835.A17862@uni-koblenz.de> 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-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing patch 2.5 which I've installed from the Freeware CD for IRIX has repeatably damanged my working tree. Sympthom is that patch terminates processing of a patch after having interactivly asked a few questions. I'm not sure that this is actually limited to patch on IRIX but I thought I should warn people ... Ralf From owner-linux-origin@oss.sgi.com Mon May 8 23:31:30 2000 Received: by oss.sgi.com id ; Mon, 8 May 2000 23:31:11 +0000 Received: from deliverator.sgi.com ([204.94.214.10]:55312 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 8 May 2000 23:30:50 +0000 Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id QAA03836 for ; Mon, 8 May 2000 16:26:01 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id QAA20371; Mon, 8 May 2000 16:29:31 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005082329.QAA20371@google.engr.sgi.com> Subject: telnet working To: linux-origin@oss.sgi.com Date: Mon, 8 May 2000 16:29:30 -0700 (PDT) Cc: sp@google.engr.sgi.com X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On trillium, I can now login using multiple telnet windows. I had to create a few device files to get this going. Still debugging SMP kernel networking, but I think the biggest issue there is that the ethernet driver is not SMPized yet. Kanoj $ telnet trillium Trying 163.154.18.57... Connected to trillium.engr.sgi.com. Escape character is '^]'. Hard Hat Linux Hard Hat release 5.1 (Manhattan) Kernel 2.3.99-pre6 on a mips64 login: root Last login: Mon May 8 16:18:10 on ttyS0 WELCOME TO THE FIRST o2000 SYSTEM RUNNING LINUX 2.3!! [root@trillium /root]# $ telnet trillium Trying 163.154.18.57... Connected to trillium.engr.sgi.com. Escape character is '^]'. Hard Hat Linux Hard Hat release 5.1 (Manhattan) Kernel 2.3.99-pre6 on a mips64 login: guestr Password: Login incorrect login: guest Last login: Thu May 4 14:43:24 on ttyS0 WELCOME TO THE FIRST o2000 SYSTEM RUNNING LINUX 2.3!! csh: No entry for terminal type "iris-ansi-net" csh: using dumb terminal settings. From owner-linux-origin@oss.sgi.com Tue May 9 00:26:20 2000 Received: by oss.sgi.com id ; Tue, 9 May 2000 00:26:10 +0000 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:20854 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 9 May 2000 00:25:42 +0000 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 RAA04265 for ; Mon, 8 May 2000 17:30:04 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id RAA45598 for ; Mon, 8 May 2000 17:25:11 -0700 (PDT) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id RAA11266 for linux-origin@oss.sgi.com; Mon, 8 May 2000 17:22:36 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005090022.RAA11266@google.engr.sgi.com> Subject: SMP telnet : PAM issues To: linux-origin@oss.sgi.com Date: Mon, 8 May 2000 17:22:36 -0700 (PDT) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing So, SMP multiuser works somewhat. Basically, at the console, I can not log in as root. This is what the console says: trillium login: root X<38>May 8 17:14:51 PAM_pwdb[298]: (login) session opened for user root by (uid=0)Last login: Mon May 8 16:49:45 on ttyS0 A<38>May 8 17:14:51 PAM_pwdb[298]: DIALUP AT ttyS0 BY root A<37>May 8 17:14:51 PAM_pwdb[298]: ROOT LOGIN ON ttyS0 WELCOME TO THE FIRST o2000 SYSTEM RUNNING LINUX 2.3!! Q<38>May 8 17:14:51 PAM_pwdb[298]: (login) session closed for user root Hard Hat Linux Hard Hat release 5.1 (Manhattan) Kernel 2.3.99-pre6 on a mips64 I am mystified as to why "session closed for user root" is happening. Any PAM experts out there can point me to startup scripts etc that control PAM, so I can hack around and see what the problem is? Surprisingly, root/guest logins from telnet windows work fine on the SMP kernel. Kanoj kulten% telnet trillium.engr.sgi.com Trying 163.154.18.57... Connected to trillium.engr.sgi.com. Escape character is '^]'. Hard Hat Linux Hard Hat release 5.1 (Manhattan) Kernel 2.3.99-pre6 on a mips64 login: root Last login: Mon May 8 17:14:51 on ttyS0 WELCOME TO THE FIRST o2000 SYSTEM RUNNING LINUX 2.3!! [root@trillium /root]# [root@trillium /root]# [root@trillium /root]# [root@trillium /root]# [root@trillium /root]# cat /proc/cpuinfo cpu : MIPS BogoMIPS : 194.56 Number of cpus : 8 byteorder : big endian unaligned accesses : 32557 wait instruction : no microsecond timers : no extra interrupt vector : no hardware watchpoint : yes VCED exceptions : not available VCEI exceptions : not available [root@trillium /root]# From owner-linux-origin@oss.sgi.com Tue May 9 01:12:20 2000 Received: by oss.sgi.com id ; Tue, 9 May 2000 01:12:01 +0000 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:18672 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Tue, 9 May 2000 01:11:41 +0000 Received: from cacc-19.uni-koblenz.de (cacc-19.uni-koblenz.de [141.26.131.19]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id DAA09798; Tue, 9 May 2000 03:11:37 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Tue, 9 May 2000 03:11:07 +0200 Date: Tue, 9 May 2000 03:11:07 +0200 From: Ralf Baechle To: Kanoj Sarcar Cc: linux-origin@oss.sgi.com Subject: Re: SMP telnet : PAM issues Message-ID: <20000509031107.F18446@uni-koblenz.de> References: <200005090022.RAA11266@google.engr.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200005090022.RAA11266@google.engr.sgi.com>; from kanoj@google.engr.sgi.com on Mon, May 08, 2000 at 05:22:36PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Mon, May 08, 2000 at 05:22:36PM -0700, Kanoj Sarcar wrote: > So, SMP multiuser works somewhat. Basically, at the console, I can not > log in as root. This is what the console says: > > trillium login: root > X<38>May 8 17:14:51 PAM_pwdb[298]: (login) session opened for user root by (uid=0)Last login: Mon May 8 16:49:45 on ttyS0 > A<38>May 8 17:14:51 PAM_pwdb[298]: DIALUP AT ttyS0 BY root > A<37>May 8 17:14:51 PAM_pwdb[298]: ROOT LOGIN ON ttyS0 > > > WELCOME TO THE FIRST o2000 SYSTEM RUNNING LINUX 2.3!! > > > Q<38>May 8 17:14:51 PAM_pwdb[298]: (login) session closed for user root > > > Hard Hat Linux Hard Hat release 5.1 (Manhattan) > Kernel 2.3.99-pre6 on a mips64 > > > I am mystified as to why "session closed for user root" is happening. > Any PAM experts out there can point me to startup scripts etc that > control PAM, so I can hack around and see what the problem is? > Surprisingly, root/guest logins from telnet windows work fine > on the SMP kernel. I think that looks like the terminal which you're using to login which probably is /dev/ttyS0 isn't configured in /etc/securetty. Well, securetty is a stupid concept, so you can just delete the whole file or remove references to pam_securetty.so in /etc/pam.d/*. Pam is controlled by /etc/pam.d/* plus a number modulespecific files. Details are documented in /usr/doc/pam*/. Ralf From owner-linux-origin@oss.sgi.com Tue May 9 01:17:20 2000 Received: by oss.sgi.com id ; Tue, 9 May 2000 01:17:00 +0000 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:50813 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 9 May 2000 01:16:52 +0000 Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id SAA04170; Mon, 8 May 2000 18:21:14 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id SAA85748; Mon, 8 May 2000 18:15:32 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005090115.SAA85748@google.engr.sgi.com> Subject: Re: SMP telnet : PAM issues To: ralf@oss.sgi.com (Ralf Baechle) Date: Mon, 8 May 2000 18:15:32 -0700 (PDT) Cc: linux-origin@oss.sgi.com In-Reply-To: <20000509031107.F18446@uni-koblenz.de> from "Ralf Baechle" at May 09, 2000 03:11:07 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > > On Mon, May 08, 2000 at 05:22:36PM -0700, Kanoj Sarcar wrote: > > > So, SMP multiuser works somewhat. Basically, at the console, I can not > > log in as root. This is what the console says: > > > > trillium login: root > > X<38>May 8 17:14:51 PAM_pwdb[298]: (login) session opened for user root by (uid=0)Last login: Mon May 8 16:49:45 on ttyS0 > > A<38>May 8 17:14:51 PAM_pwdb[298]: DIALUP AT ttyS0 BY root > > A<37>May 8 17:14:51 PAM_pwdb[298]: ROOT LOGIN ON ttyS0 > > > > > > WELCOME TO THE FIRST o2000 SYSTEM RUNNING LINUX 2.3!! > > > > > > Q<38>May 8 17:14:51 PAM_pwdb[298]: (login) session closed for user root > > > > > > Hard Hat Linux Hard Hat release 5.1 (Manhattan) > > Kernel 2.3.99-pre6 on a mips64 > > > > > > I am mystified as to why "session closed for user root" is happening. > > Any PAM experts out there can point me to startup scripts etc that > > control PAM, so I can hack around and see what the problem is? > > > Surprisingly, root/guest logins from telnet windows work fine > > on the SMP kernel. > > I think that looks like the terminal which you're using to login which > probably is /dev/ttyS0 isn't configured in /etc/securetty. Well, That was my first thought, but it doesn't hold because UP kernels allow console logins for root. > securetty is a stupid concept, so you can just delete the whole file > or remove references to pam_securetty.so in /etc/pam.d/*. > > Pam is controlled by /etc/pam.d/* plus a number modulespecific files. > Details are documented in /usr/doc/pam*/. Okay, I will hack with this, maybe there's a timing issue with the SMP kernel. Kanoj > > Ralf > From owner-linux-origin@oss.sgi.com Tue May 9 18:31:25 2000 Received: by oss.sgi.com id ; Tue, 9 May 2000 18:31:06 +0000 Received: from deliverator.sgi.com ([204.94.214.10]:49501 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 9 May 2000 18:30:42 +0000 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 LAA14291 for ; Tue, 9 May 2000 11:25:53 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id LAA76569 for ; Tue, 9 May 2000 11:28:56 -0700 (PDT) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id LAA95490 for linux-origin@oss.sgi.com; Tue, 9 May 2000 11:26:21 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005091826.LAA95490@google.engr.sgi.com> Subject: SMP tot To: linux-origin@oss.sgi.com Date: Tue, 9 May 2000 11:26:21 -0700 (PDT) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing Top of trunk kernels will not get to multiuser in SMP any more. Please remember to (at the least) try out a multiuser boot on UP and SMP kernels before checking in changes into the kernel. For instructions on how to get a root disk that will boot up multiuser, please contact me. Kanoj From owner-linux-origin@oss.sgi.com Tue May 9 18:42:26 2000 Received: by oss.sgi.com id ; Tue, 9 May 2000 18:42:06 +0000 Received: from deliverator.sgi.com ([204.94.214.10]:8801 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 9 May 2000 18:41:41 +0000 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 LAA16263 for ; Tue, 9 May 2000 11:36:51 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id LAA74051 for ; Tue, 9 May 2000 11:39:55 -0700 (PDT) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id LAA36875; Tue, 9 May 2000 11:37:20 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005091837.LAA36875@google.engr.sgi.com> Subject: Re: SMP tot To: kanoj@google.engr.sgi.com (Kanoj Sarcar) Date: Tue, 9 May 2000 11:37:20 -0700 (PDT) Cc: linux-origin@oss.sgi.com In-Reply-To: <200005091826.LAA95490@google.engr.sgi.com> from "Kanoj Sarcar" at May 09, 2000 11:26:21 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > > Top of trunk kernels will not get to multiuser in SMP any more. > > Please remember to (at the least) try out a multiuser boot on > UP and SMP kernels before checking in changes into the kernel. > For instructions on how to get a root disk that will boot up > multiuser, please contact me. > > Kanoj > No, it seems more like a race in the SMP code. The first bootup hung, so I had to reset, which scratched my root disk, but the second boot actually came up fine and lets me telnet into the machine. Yet another restore of the root fs needed .... Kanoj From owner-linux-origin@oss.sgi.com Wed May 10 17:47:54 2000 Received: by oss.sgi.com id ; Wed, 10 May 2000 17:47:44 +0000 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:29937 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Wed, 10 May 2000 17:47:34 +0000 Received: from cacc-30.uni-koblenz.de (cacc-30.uni-koblenz.de [141.26.131.30]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id TAA27871 for ; Wed, 10 May 2000 19:47:31 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Wed, 10 May 2000 14:24:07 +0200 Date: Wed, 10 May 2000 14:24:07 +0200 From: Ralf Baechle To: linux-origin@oss.sgi.com Subject: Kernel hang ... Message-ID: <20000510142407.A7547@uni-koblenz.de> 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-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing I've verified that with just a single processor enabled the SMP kernel will hang even earlier, right after the ``POSIX conformance testing'' printout. Investigating ... Ralf From owner-linux-origin@oss.sgi.com Wed May 10 17:55:03 2000 Received: by oss.sgi.com id ; Wed, 10 May 2000 17:54:53 +0000 Received: from deliverator.sgi.com ([204.94.214.10]:53607 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 10 May 2000 17:54:48 +0000 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 KAA12644; Wed, 10 May 2000 10:49:58 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id KAA18659; Wed, 10 May 2000 10:54:16 -0700 (PDT) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id KAA05291; Wed, 10 May 2000 10:51:41 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005101751.KAA05291@google.engr.sgi.com> Subject: Re: Kernel hang ... To: ralf@oss.sgi.com (Ralf Baechle) Date: Wed, 10 May 2000 10:51:41 -0700 (PDT) Cc: linux-origin@oss.sgi.com In-Reply-To: <20000510142407.A7547@uni-koblenz.de> from "Ralf Baechle" at May 10, 2000 02:24:07 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > > I've verified that with just a single processor enabled the SMP kernel will > hang even earlier, right after the ``POSIX conformance testing'' printout. > > Investigating ... > > Ralf > Depends on how you "disable" the other processors. Prom level disabling has not been tested at all, and I would suggest leaving that for a little later (maybe next week), since it also ties in to processor virtual/physical numbering. If you want to come up on a CONFIG_SMP kernel with just 1 processor, hack do_cpumask(), specifically, #if 0 out the code block if (cpuid > *highest) *highest = cpuid; /* Only let it join in if it's marked enabled */ if (acpu->cpu_info.flags & KLINFO_ENABLE) { CPUMASK_SETB(*boot_cpumask, cpuid); cpus_found++; } Kanoj From owner-linux-origin@oss.sgi.com Wed May 10 18:14:04 2000 Received: by oss.sgi.com id ; Wed, 10 May 2000 18:13:54 +0000 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:509 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Wed, 10 May 2000 18:13:33 +0000 Received: from cacc-30.uni-koblenz.de (cacc-30.uni-koblenz.de [141.26.131.30]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id UAA00531; Wed, 10 May 2000 20:13:28 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Wed, 10 May 2000 20:12:36 +0200 Date: Wed, 10 May 2000 20:12:36 +0200 From: Ralf Baechle To: Kanoj Sarcar Cc: linux-origin@oss.sgi.com Subject: Re: Kernel hang ... Message-ID: <20000510201236.B8025@uni-koblenz.de> References: <20000510142407.A7547@uni-koblenz.de> <200005101751.KAA05291@google.engr.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200005101751.KAA05291@google.engr.sgi.com>; from kanoj@google.engr.sgi.com on Wed, May 10, 2000 at 10:51:41AM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Wed, May 10, 2000 at 10:51:41AM -0700, Kanoj Sarcar wrote: > Depends on how you "disable" the other processors. Prom level disabling > has not been tested at all, and I would suggest leaving that for a little > later (maybe next week), since it also ties in to processor virtual/physical > numbering. > > If you want to come up on a CONFIG_SMP kernel with just 1 processor, > hack do_cpumask(), specifically, #if 0 out the code block > > if (cpuid > *highest) > *highest = cpuid; > /* Only let it join in if it's marked enabled */ > if (acpu->cpu_info.flags & KLINFO_ENABLE) { > CPUMASK_SETB(*boot_cpumask, cpuid); > cpus_found++; > } The machine actually freezes is the line if (maxcpus > 1) while(atomic_read(&numstarted) == 0); In my case there is only a single enabled CPU, so the numstarted will stay 0 and the kernel freezes. With both CPUs enabled I get somewhat further, the kernel then freezes after probing the caches. Will take a look at this next. Ralf From owner-linux-origin@oss.sgi.com Wed May 10 18:16:33 2000 Received: by oss.sgi.com id ; Wed, 10 May 2000 18:16:15 +0000 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:51755 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 10 May 2000 18:16:07 +0000 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 LAA09821; Wed, 10 May 2000 11:20:31 -0700 (PDT) mail_from (sprasad@sprasad.engr.sgi.com) Received: from sprasad.engr.sgi.com (sprasad.engr.sgi.com [163.154.5.109]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id LAA37351; Wed, 10 May 2000 11:15:36 -0700 (PDT) Received: (from sprasad@localhost) by sprasad.engr.sgi.com (980427.SGI.8.8.8/960327.SGI.AUTOCF) id LAA96361; Wed, 10 May 2000 11:12:25 -0700 (PDT) From: sprasad@sprasad.engr.sgi.com (Srinivasa Prasad Thirumalachar) Message-Id: <200005101812.LAA96361@sprasad.engr.sgi.com> Subject: Re: Kernel hang ... To: kanoj@google.engr.sgi.com (Kanoj Sarcar) Date: Wed, 10 May 2000 11:12:24 -0700 (PDT) Cc: ralf@oss.sgi.com (Ralf Baechle), linux-origin@oss.sgi.com In-Reply-To: <200005101751.KAA05291@google.engr.sgi.com> from "Kanoj Sarcar" at May 10, 2000 10:51:41 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing According to Kanoj Sarcar ... > > > > > I've verified that with just a single processor enabled the SMP kernel will > > hang even earlier, right after the ``POSIX conformance testing'' printout. > > > > Investigating ... > > > > Ralf > > > > Depends on how you "disable" the other processors. Prom level disabling > has not been tested at all, and I would suggest leaving that for a little If you disable a cpu in the prom, the cpu is dead. It will not interfere with anything. There are certain datastructs etc in the prom that tell you this. vmlinux may want to read them and setup initial data structs. Look into irix/kern/ml/SN/*.c for how irix does this. > later (maybe next week), since it also ties in to processor virtual/physical > numbering. This is also very important given that linux uses data structs indexed on cpuid. Just like cnodeid and nasid, we have a compact cpu id and a calculated cpuid (nasid*NUMCPUSPERNODE) + CPUIDONNODE Thanks srinivasa > > If you want to come up on a CONFIG_SMP kernel with just 1 processor, > hack do_cpumask(), specifically, #if 0 out the code block > > if (cpuid > *highest) > *highest = cpuid; > /* Only let it join in if it's marked enabled */ > if (acpu->cpu_info.flags & KLINFO_ENABLE) { > CPUMASK_SETB(*boot_cpumask, cpuid); > cpus_found++; > } > > Kanoj > From owner-linux-origin@oss.sgi.com Wed May 10 18:21:24 2000 Received: by oss.sgi.com id ; Wed, 10 May 2000 18:21:14 +0000 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:17964 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 10 May 2000 18:21:05 +0000 Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id LAA06475; Wed, 10 May 2000 11:25:28 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id LAA72169; Wed, 10 May 2000 11:19:45 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005101819.LAA72169@google.engr.sgi.com> Subject: Re: Kernel hang ... To: ralf@oss.sgi.com (Ralf Baechle) Date: Wed, 10 May 2000 11:19:44 -0700 (PDT) Cc: linux-origin@oss.sgi.com In-Reply-To: <20000510201236.B8025@uni-koblenz.de> from "Ralf Baechle" at May 10, 2000 08:12:36 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > > On Wed, May 10, 2000 at 10:51:41AM -0700, Kanoj Sarcar wrote: > > > Depends on how you "disable" the other processors. Prom level disabling > > has not been tested at all, and I would suggest leaving that for a little > > later (maybe next week), since it also ties in to processor virtual/physical > > numbering. > > > > If you want to come up on a CONFIG_SMP kernel with just 1 processor, > > hack do_cpumask(), specifically, #if 0 out the code block > > > > if (cpuid > *highest) > > *highest = cpuid; > > /* Only let it join in if it's marked enabled */ > > if (acpu->cpu_info.flags & KLINFO_ENABLE) { > > CPUMASK_SETB(*boot_cpumask, cpuid); > > cpus_found++; > > } > > The machine actually freezes is the line > > if (maxcpus > 1) while(atomic_read(&numstarted) == 0); > > In my case there is only a single enabled CPU, so the numstarted will > stay 0 and the kernel freezes. Let me ask you again. How are you defining "enabled" and "disabled"? If you are using the PROM definition, things are not going to work. I would suggest PROM-enabling both cpus, and applying the above hack to get a SMP kernel with a single cpu. This will make sure maxcpus = 1, so you will not get stuck where you are now ... > > With both CPUs enabled I get somewhat further, the kernel then freezes > after probing the caches. Will take a look at this next. Leo had a similar problem. Try "make ARCH=mips64 config; make ARCH=mips64 dep; make ARCH=mips64 clean; make ARCH=mips64 vmlinux.64" to ensure a clean build. Kanoj > > Ralf > From owner-linux-origin@oss.sgi.com Wed May 10 18:52:44 2000 Received: by oss.sgi.com id ; Thu, 11 May 2000 01:52:24 +0000 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:5275 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Thu, 11 May 2000 01:51:59 +0000 Received: from cacc-27.uni-koblenz.de (cacc-27.uni-koblenz.de [141.26.131.27]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id DAA08814; Thu, 11 May 2000 03:51:20 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Wed, 10 May 2000 22:51:48 +0200 Date: Wed, 10 May 2000 22:51:48 +0200 From: Ralf Baechle To: Kanoj Sarcar Cc: linux-origin@oss.sgi.com Subject: Re: Kernel hang ... Message-ID: <20000510225148.A8583@uni-koblenz.de> References: <20000510201236.B8025@uni-koblenz.de> <200005101819.LAA72169@google.engr.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200005101819.LAA72169@google.engr.sgi.com>; from kanoj@google.engr.sgi.com on Wed, May 10, 2000 at 11:19:44AM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Wed, May 10, 2000 at 11:19:44AM -0700, Kanoj Sarcar wrote: > > With both CPUs enabled I get somewhat further, the kernel then freezes > > after probing the caches. Will take a look at this next. > > Leo had a similar problem. Try "make ARCH=mips64 config; make ARCH=mips64 > dep; make ARCH=mips64 clean; make ARCH=mips64 vmlinux.64" to ensure > a clean build. That's two Makefile bugs, offset.h is generated too late and dependencies of assembler files not working right. Ralf From owner-linux-origin@oss.sgi.com Fri May 12 11:19:27 2000 Received: by oss.sgi.com id ; Fri, 12 May 2000 18:19:08 +0000 Received: from deliverator.sgi.com ([204.94.214.10]:63273 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 12 May 2000 18:18:37 +0000 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 LAA26883 for ; Fri, 12 May 2000 11:13:46 -0700 (PDT) mail_from (hawkes@cthulhu.engr.sgi.com) Received: from ppphawkeswa ([169.238.112.29]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id LAA28002; Fri, 12 May 2000 11:10:11 -0700 (PDT) mail_from (hawkes@engr.sgi.com) Message-ID: <010f01bfbc3d$1df537a0$1d70eea9@seattle.sgi.com> From: "John Hawkes" To: "linux-origin" , "Nancy Bigham" , "Simon Patience" Subject: Fw: SMP MIPS Date: Fri, 12 May 2000 11:08:45 -0700 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.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing >From the linux-kernel mailing list: ----- Original Message ----- From: "George Anzinger" Newsgroups: mail.linux-kernel Sent: Friday, May 12, 2000 11:03 AM Subject: SMP MIPS > My boss wants me to bring up linux SMP on MIPS. Has anyone tried this? > Is there a BIG reason it is not in the standard distribution? > > Any help would be greatly appreciated. > > George > > By the way I work at MontaVista Software. > g. > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.rutgers.edu > Please read the FAQ at http://www.tux.org/lkml/ From owner-linux-origin@oss.sgi.com Fri May 12 12:07:21 2000 Received: by oss.sgi.com id ; Fri, 12 May 2000 19:07:11 +0000 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:63871 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 12 May 2000 19:07:03 +0000 Received: from albion.engr.sgi.com (albion.engr.sgi.com [163.154.5.55]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id MAA05443 for ; Fri, 12 May 2000 12:11:29 -0700 (PDT) mail_from (sp@albion.engr.sgi.com) Received: from albion.engr.sgi.com (localhost [127.0.0.1]) by albion.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id MAA42439; Fri, 12 May 2000 12:05:30 -0700 (PDT) Message-Id: <200005121905.MAA42439@albion.engr.sgi.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "John Hawkes" Cc: linux-origin@oss.sgi.com, bigham@albion.engr.sgi.com Subject: Re: Fw: SMP MIPS In-Reply-To: Your message of "Fri, 12 May 2000 11:08:45 PDT." <010f01bfbc3d$1df537a0$1d70eea9@seattle.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 12 May 2000 12:05:30 -0700 From: Simon Patience Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing I guess the question is, which MIPS SMP? Simon. > >From the linux-kernel mailing list: > > ----- Original Message ----- > From: "George Anzinger" > Newsgroups: mail.linux-kernel > Sent: Friday, May 12, 2000 11:03 AM > Subject: SMP MIPS > > > > My boss wants me to bring up linux SMP on MIPS. Has anyone tried > this? > > Is there a BIG reason it is not in the standard distribution? > > > > Any help would be greatly appreciated. > > > > George > > > > By the way I work at MontaVista Software. > > g. > > > > - > > To unsubscribe from this list: send the line "unsubscribe > linux-kernel" in > > the body of a message to majordomo@vger.rutgers.edu > > Please read the FAQ at http://www.tux.org/lkml/ From owner-linux-origin@oss.sgi.com Fri May 12 12:15:00 2000 Received: by oss.sgi.com id ; Fri, 12 May 2000 19:14:41 +0000 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:43268 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 12 May 2000 19:14:27 +0000 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 MAA09407 for ; Fri, 12 May 2000 12:18:53 -0700 (PDT) mail_from (hawkes@cthulhu.engr.sgi.com) Received: from ppphawkeswa ([169.238.112.29]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id MAA26604; Fri, 12 May 2000 12:14:05 -0700 (PDT) mail_from (hawkes@engr.sgi.com) Message-ID: <038301bfbc45$f8b77080$1d70eea9@seattle.sgi.com> From: "John Hawkes" To: "John Hawkes" , "Simon Patience" Cc: , References: <200005121905.MAA42439@albion.engr.sgi.com> Subject: Re: Fw: SMP MIPS Date: Fri, 12 May 2000 12:12:08 -0700 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.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > I guess the question is, which MIPS SMP? > > Simon. I asked him, without offering anything specific about what SGI might or might not be doing in that area. John H. From owner-linux-origin@oss.sgi.com Sat May 13 01:04:50 2000 Received: by oss.sgi.com id ; Sat, 13 May 2000 08:04:40 +0000 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:1578 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Sat, 13 May 2000 08:04:23 +0000 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 BAA09763 for ; Sat, 13 May 2000 01:08:50 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id BAA19009 for ; Sat, 13 May 2000 01:03:52 -0700 (PDT) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id BAA42606; Sat, 13 May 2000 01:01:17 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005130801.BAA42606@google.engr.sgi.com> Subject: SMP kernel completes kernel compile To: linux-origin@oss.sgi.com Date: Sat, 13 May 2000 01:01:17 -0700 (PDT) Cc: skunx@google.engr.sgi.com X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing The mips64 SMP kernel completed a mips kernel compile on a 8 cpu o2000, with approx 128 Mb memory. Here are some timings: make -j8: 46.34user 32.34system 6:25.91elapsed 20%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (497100major+1814481minor)pagefaults 0swaps make -j4 12.56user 16.34system 6:37.93elapsed 7%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (497100major+1807168minor)pagefaults 0swaps make -j32 44.00user 29.25system 6:35.93elapsed 18%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (497174major+1826803minor)pagefaults 0swaps Kanoj From owner-linux-origin@oss.sgi.com Sat May 13 09:48:08 2000 Received: by oss.sgi.com id ; Sat, 13 May 2000 16:47:58 +0000 Received: from deliverator.sgi.com ([204.94.214.10]:45432 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Sat, 13 May 2000 16:47:44 +0000 Received: from madurai.engr.sgi.com (madurai.engr.sgi.com [163.154.5.75]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id JAA10439 for ; Sat, 13 May 2000 09:42:54 -0700 (PDT) mail_from (ananth@sgi.com) Received: from sgi.com (sgigate.sgi.com [198.29.75.75]) by madurai.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id JAA07532; Sat, 13 May 2000 09:42:59 -0700 (PDT) Message-ID: <391D869F.DF668984@sgi.com> Date: Sat, 13 May 2000 09:45:19 -0700 From: Rajagopal Ananthanarayanan X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.10-1SGI_17 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-origin@oss.sgi.com CC: skunx@google.engr.sgi.com Subject: Re: SMP kernel completes kernel compile References: <200005130801.BAA42606@google.engr.sgi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing Kanoj Sarcar wrote: > > The mips64 SMP kernel completed a mips kernel compile on a 8 cpu > o2000, with approx 128 Mb memory. > > Here are some timings: > > make -j8: > 46.34user 32.34system 6:25.91elapsed 20%CPU (0avgtext+0avgdata 0maxresident)k > 0inputs+0outputs (497100major+1814481minor)pagefaults 0swaps > > make -j4 > 12.56user 16.34system 6:37.93elapsed 7%CPU (0avgtext+0avgdata 0maxresident)k > 0inputs+0outputs (497100major+1807168minor)pagefaults 0swaps > > make -j32 > 44.00user 29.25system 6:35.93elapsed 18%CPU (0avgtext+0avgdata 0maxresident)k > 0inputs+0outputs (497174major+1826803minor)pagefaults 0swaps Awesome! And the resultant kernel boots ok? ;-) I wonder if we can get base-line stats on a 4-CPU X86 system, say for -j4 & -j8 and compare that with the O2K system. What version of the kernel are you using, 2.3.99preX? -------------------------------------------------------------------------- Rajagopal Ananthanarayanan ("ananth") Member Technical Staff, SGI. -------------------------------------------------------------------------- From owner-linux-origin@oss.sgi.com Sun May 14 00:39:36 2000 Received: by oss.sgi.com id ; Sun, 14 May 2000 07:39:17 +0000 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:2889 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 14 May 2000 07:38:53 +0000 Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id AAA02874 for ; Sun, 14 May 2000 00:43:21 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id AAA17448; Sun, 14 May 2000 00:37:32 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005140737.AAA17448@google.engr.sgi.com> Subject: Re: SMP kernel completes kernel compile To: ananth@sgi.com (Rajagopal Ananthanarayanan) Date: Sun, 14 May 2000 00:37:32 -0700 (PDT) Cc: linux-origin@oss.sgi.com, skunx@sgi.com In-Reply-To: <391D869F.DF668984@sgi.com> from "Rajagopal Ananthanarayanan" at May 13, 2000 09:45:19 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > > Kanoj Sarcar wrote: > > > > The mips64 SMP kernel completed a mips kernel compile on a 8 cpu > > o2000, with approx 128 Mb memory. > > > > Here are some timings: > > > > make -j8: > > 46.34user 32.34system 6:25.91elapsed 20%CPU (0avgtext+0avgdata 0maxresident)k > > 0inputs+0outputs (497100major+1814481minor)pagefaults 0swaps > > > > make -j4 > > 12.56user 16.34system 6:37.93elapsed 7%CPU (0avgtext+0avgdata 0maxresident)k > > 0inputs+0outputs (497100major+1807168minor)pagefaults 0swaps > > > > make -j32 > > 44.00user 29.25system 6:35.93elapsed 18%CPU (0avgtext+0avgdata 0maxresident)k > > 0inputs+0outputs (497174major+1826803minor)pagefaults 0swaps > > > Awesome! And the resultant kernel boots ok? ;-) Didn't try ... basically, even a mips kernel built on a Indy probably has a big chance of not working right now. On top of that, the compiler used on the o2k is of unknown origin, I think Ralf/Ulf was using this compiler for the mips binutils work. The compilers from known rpms can't quite compile the kernel (on mips and mips64). > > I wonder if we can get base-line stats on a 4-CPU X86 system, > say for -j4 & -j8 and compare that with the O2K system. No, we are not at a stage we can do raw performance comparisions yet. Scalability studies are a little more acceptable, but we still need to make the arch code utilize the hardware better. > What version of the kernel are you using, 2.3.99preX? I tried 2.3.99pre6, but pre8 became tot yesterday or so. I haven't tried a kernel compile with that, but tot booted/telneted okay. Kanoj > > > -------------------------------------------------------------------------- > Rajagopal Ananthanarayanan ("ananth") > Member Technical Staff, SGI. > -------------------------------------------------------------------------- > From owner-linux-origin@oss.sgi.com Sun May 14 12:34:19 2000 Received: by oss.sgi.com id ; Sun, 14 May 2000 19:34:09 +0000 Received: from deliverator.sgi.com ([204.94.214.10]:37190 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 14 May 2000 19:34:06 +0000 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 MAA10067 for ; Sun, 14 May 2000 12:29:15 -0700 (PDT) mail_from (dimitris@darkside.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 MAA72817 for ; Sun, 14 May 2000 12:33:35 -0700 (PDT) Received: from darkside.engr.sgi.com (darkside.engr.sgi.com [163.154.5.83]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id MAA24158; Sun, 14 May 2000 12:31:59 -0700 (PDT) mail_from (dimitris@darkside.engr.sgi.com) Received: (from dimitris@localhost) by darkside.engr.sgi.com (8.9.3/8.8.7) id MAA15724; Sun, 14 May 2000 12:32:03 -0700 Message-ID: X-Mailer: XFMail 1.4.4 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <391D869F.DF668984@sgi.com> Date: Sun, 14 May 2000 12:32:03 -0700 (PDT) Organization: SGI From: Dimitris Michailidis To: skunx@google.engr.sgi.com Subject: Re: SMP kernel completes kernel compile Cc: linux-origin@oss.sgi.com Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On 13-May-2000 Rajagopal Ananthanarayanan wrote: > Kanoj Sarcar wrote: >> >> The mips64 SMP kernel completed a mips kernel compile on a 8 cpu >> o2000, with approx 128 Mb memory. >> >> Here are some timings: >> >> make -j8: >> 46.34user 32.34system 6:25.91elapsed 20%CPU (0avgtext+0avgdata >> 0maxresident)k >> 0inputs+0outputs (497100major+1814481minor)pagefaults 0swaps >> >> make -j4 >> 12.56user 16.34system 6:37.93elapsed 7%CPU (0avgtext+0avgdata >> 0maxresident)k >> 0inputs+0outputs (497100major+1807168minor)pagefaults 0swaps >> >> make -j32 >> 44.00user 29.25system 6:35.93elapsed 18%CPU (0avgtext+0avgdata >> 0maxresident)k >> 0inputs+0outputs (497174major+1826803minor)pagefaults 0swaps > > > Awesome! And the resultant kernel boots ok? ;-) > > I wonder if we can get base-line stats on a 4-CPU X86 system, > say for -j4 & -j8 and compare that with the O2K system. > What version of the kernel are you using, 2.3.99preX? First, we need to agree on what exactly we will be compiling. I have numbers from 4P x86 -j4 but for a different kernel configuration. I must say though that the CPU utilizations above are extremely low for parallel make. For 4P I get utilizations above 350%. On the other hand, the number of page faults is comparable (given the x86 box has more memory) so I'm curious what the CPUs on the o2k are doing. -- Dimitris Michailidis dimitris@engr.sgi.com From owner-linux-origin@oss.sgi.com Mon May 15 12:51:32 2000 Received: by oss.sgi.com id ; Mon, 15 May 2000 19:51:22 +0000 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:16631 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Mon, 15 May 2000 19:51:03 +0000 Received: from cacc-4.uni-koblenz.de (cacc-4.uni-koblenz.de [141.26.131.4]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id VAA09679; Mon, 15 May 2000 21:50:59 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Mon, 15 May 2000 21:50:33 +0200 Date: Mon, 15 May 2000 21:50:33 +0200 From: Ralf Baechle To: Dimitris Michailidis Cc: skunx@google.engr.sgi.com, linux-origin@oss.sgi.com Subject: Re: SMP kernel completes kernel compile Message-ID: <20000515215032.A1682@uni-koblenz.de> References: <391D869F.DF668984@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from dimitris@cthulhu.engr.sgi.com on Sun, May 14, 2000 at 12:32:03PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Sun, May 14, 2000 at 12:32:03PM -0700, Dimitris Michailidis wrote: > First, we need to agree on what exactly we will be compiling. I have > numbers from 4P x86 -j4 but for a different kernel configuration. I must > say though that the CPU utilizations above are extremely low for parallel > make. For 4P I get utilizations above 350%. On the other hand, the number > of page faults is comparable (given the x86 box has more memory) so I'm > curious what the CPUs on the o2k are doing. I'll have to check if the timekeeping of the kernel is working properly. The last test with a MP kernel showed very inaccurate timekeeping. Ralf From owner-linux-origin@oss.sgi.com Mon May 15 12:55:52 2000 Received: by oss.sgi.com id ; Mon, 15 May 2000 19:55:33 +0000 Received: from deliverator.sgi.com ([204.94.214.10]:60199 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 15 May 2000 19:55:15 +0000 Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id MAA17449; Mon, 15 May 2000 12:50:25 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id MAA10408; Mon, 15 May 2000 12:53:54 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005151953.MAA10408@google.engr.sgi.com> Subject: Re: SMP kernel completes kernel compile To: ralf@oss.sgi.com (Ralf Baechle) Date: Mon, 15 May 2000 12:53:54 -0700 (PDT) Cc: dimitris@cthulhu.engr.sgi.com (Dimitris Michailidis), skunx@oss.sgi.com, linux-origin@oss.sgi.com In-Reply-To: <20000515215032.A1682@uni-koblenz.de> from "Ralf Baechle" at May 15, 2000 09:50:33 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > > On Sun, May 14, 2000 at 12:32:03PM -0700, Dimitris Michailidis wrote: > > > First, we need to agree on what exactly we will be compiling. I have > > numbers from 4P x86 -j4 but for a different kernel configuration. I must > > say though that the CPU utilizations above are extremely low for parallel > > make. For 4P I get utilizations above 350%. On the other hand, the number > > of page faults is comparable (given the x86 box has more memory) so I'm > > curious what the CPUs on the o2k are doing. > > I'll have to check if the timekeeping of the kernel is working properly. > The last test with a MP kernel showed very inaccurate timekeeping. > > Ralf > One thing that definitely does not work is top ... Kanoj From owner-linux-origin@oss.sgi.com Mon May 15 13:58:22 2000 Received: by oss.sgi.com id ; Mon, 15 May 2000 20:58:03 +0000 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:2960 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Mon, 15 May 2000 20:58:00 +0000 Received: from cacc-4.uni-koblenz.de (cacc-4.uni-koblenz.de [141.26.131.4]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id WAA15752; Mon, 15 May 2000 22:57:55 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Mon, 15 May 2000 22:57:25 +0200 Date: Mon, 15 May 2000 22:57:25 +0200 From: Ralf Baechle To: Dimitris Michailidis Cc: skunx@google.engr.sgi.com, linux-origin@oss.sgi.com Subject: Re: SMP kernel completes kernel compile Message-ID: <20000515225725.C1682@uni-koblenz.de> References: <391D869F.DF668984@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from dimitris@cthulhu.engr.sgi.com on Sun, May 14, 2000 at 12:32:03PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Sun, May 14, 2000 at 12:32:03PM -0700, Dimitris Michailidis wrote: > First, we need to agree on what exactly we will be compiling. I have > numbers from 4P x86 -j4 but for a different kernel configuration. I must > say though that the CPU utilizations above are extremely low for parallel > make. For 4P I get utilizations above 350%. On the other hand, the number > of page faults is comparable (given the x86 box has more memory) so I'm > curious what the CPUs on the o2k are doing. Btw, on my 4 CPU Origin 200 running IRIX I made some experiments how to optimize the compilation of Linux kernels. I obtained the fastest compiles with the command ``make "MAKE=make -j3" -j3''. Ralf From owner-linux-origin@oss.sgi.com Fri May 19 07:58:24 2000 Received: by oss.sgi.com id ; Fri, 19 May 2000 14:58:14 +0000 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:18120 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Fri, 19 May 2000 14:57:55 +0000 Received: from cacc-21.uni-koblenz.de (cacc-21.uni-koblenz.de [141.26.131.21]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id QAA19848 for ; Fri, 19 May 2000 16:57:52 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Fri, 19 May 2000 16:57:24 +0200 Date: Fri, 19 May 2000 16:57:24 +0200 From: Ralf Baechle To: linux-origin@oss.sgi.com Subject: strace Message-ID: <20000519165723.B2924@uni-koblenz.de> 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-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing Before I waste any time on that - does anybody have a halfway recent strace package? In ten minutes I found more bugs in our strace than I'd like to list here ... Ralf From owner-linux-origin@oss.sgi.com Fri May 19 08:09:44 2000 Received: by oss.sgi.com id ; Fri, 19 May 2000 15:09:35 +0000 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:33834 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 19 May 2000 15:09:29 +0000 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 IAA08504 for ; Fri, 19 May 2000 08:14:03 -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 IAA69080 for ; Fri, 19 May 2000 08:08:58 -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 IAA56308; Fri, 19 May 2000 08:07:17 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id 63B52A78D7; Fri, 19 May 2000 08:06:30 -0700 (PDT) Date: Fri, 19 May 2000 08:06:30 -0700 (PDT) From: Ulf Carlsson To: Ralf Baechle Cc: linux-origin@oss.sgi.com Subject: Re: strace In-Reply-To: <20000519165723.B2924@uni-koblenz.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > Before I waste any time on that - does anybody have a halfway recent > strace package? In ten minutes I found more bugs in our strace than > I'd like to list here ... I'm using the strace from the CVS and it seems to work for me. It has some flaws of course, but I can live with those. Ulf From owner-linux-origin@oss.sgi.com Fri May 19 10:58:45 2000 Received: by oss.sgi.com id ; Fri, 19 May 2000 17:58:35 +0000 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:38814 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Fri, 19 May 2000 17:58:15 +0000 Received: from cacc-27.uni-koblenz.de (cacc-27.uni-koblenz.de [141.26.131.27]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id TAA10003; Fri, 19 May 2000 19:58:11 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Fri, 19 May 2000 19:57:39 +0200 Date: Fri, 19 May 2000 19:57:39 +0200 From: Ralf Baechle To: Ulf Carlsson Cc: linux-origin@oss.sgi.com Subject: Re: strace Message-ID: <20000519195739.A3348@uni-koblenz.de> References: <20000519165723.B2924@uni-koblenz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from ulfc@calypso.engr.sgi.com on Fri, May 19, 2000 at 08:06:30AM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Fri, May 19, 2000 at 08:06:30AM -0700, Ulf Carlsson wrote: > > Before I waste any time on that - does anybody have a halfway recent > > strace package? In ten minutes I found more bugs in our strace than > > I'd like to list here ... > > I'm using the strace from the CVS and it seems to work for me. It has some > flaws of course, but I can live with those. I keep seeing that strace and it's tracee just quite. Sometimes it seems to be related with signals, sometimes not. Similar for gdb. Ralf From owner-linux-origin@oss.sgi.com Fri May 19 23:21:54 2000 Received: (from majordomo@localhost) by oss.sgi.com (8.10.1/8.10.1) id e4K6LsM06528 for linux-origin-outgoing; Fri, 19 May 2000 23:21:54 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-linux-origin@oss.sgi.com using -f Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10]) by oss.sgi.com (8.10.1/8.10.1) with ESMTP id e4K6LsU06525 for ; Fri, 19 May 2000 23:21:54 -0700 Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id XAA24128 for ; Fri, 19 May 2000 23:17:03 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id XAA26961; Fri, 19 May 2000 23:20:33 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005200620.XAA26961@google.engr.sgi.com> Subject: mips64 To: linux-origin@oss.sgi.com, skunx@google.engr.sgi.com Date: Fri, 19 May 2000 23:20:33 -0700 (PDT) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk I think we are at a stage where we should move into some performance fixes. Both single processor, and scalability. Here's a list that I came up with within a few minutes. All of these items are mips or origin specific work. * kernel text replication (implemented as a CONFIG option, perceived as important for scalability). * improved tlbmiss handlers (single processor performance, will let us compare baseline results with irix for _simple_ apps). Improved locore handlers. * multithreaded and improved ethernet driver for networking apps (Ralf was looking into this?) * per node local memory (possibly for holding the locore handlers, like IRIX?, might help scalability) * distribute (per node) global arrays, most probably the io arrays (leave this for Leo), as well as the nasid-cpu-cnode translation arrays. Look into tlb wired entries per processor. Start having more per processor and per node information. Devise a method to access current node information in a quick way. * start running _simple_ benchmarks (Ulf indicates a problem with lmbench context switching). Hopefully, some of this can also be picked up for the snia port. Btw, the mips64 kernel has booted up multiuser the machine posix0. It can see 32 cpus, access all the memory on the 16 nodes, and understands there are 11 PCI busses with 24 scsi controllers and 13 disks. Kanoj From owner-linux-origin@oss.sgi.com Sat May 20 03:43:25 2000 Received: (from majordomo@localhost) by oss.sgi.com (8.10.1/8.10.1) id e4KAhPd08345 for linux-origin-outgoing; Sat, 20 May 2000 03:43:25 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-linux-origin@oss.sgi.com using -f Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) by oss.sgi.com (8.10.1/8.10.1) with ESMTP id e4KAhOU08342 for ; Sat, 20 May 2000 03:43:24 -0700 Received: from cacc-29.uni-koblenz.de (cacc-29.uni-koblenz.de [141.26.131.29]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id MAA07529; Sat, 20 May 2000 12:43:17 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Sat, 20 May 2000 12:42:54 +0200 Date: Sat, 20 May 2000 12:42:54 +0200 From: Ralf Baechle To: Kanoj Sarcar Cc: linux-origin@oss.sgi.com, skunx@google.engr.sgi.com Subject: Re: mips64 Message-ID: <20000520124254.A966@uni-koblenz.de> References: <200005200620.XAA26961@google.engr.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200005200620.XAA26961@google.engr.sgi.com>; from kanoj@google.engr.sgi.com on Fri, May 19, 2000 at 11:20:33PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk On Fri, May 19, 2000 at 11:20:33PM -0700, Kanoj Sarcar wrote: > * multithreaded and improved ethernet driver for networking apps > (Ralf was looking into this?) The missing spinlocks are already in, so the driver is MP safe now. What's still missing is cleanup, completion of some pending things and especially MII media negotiation. The latter I've got working but I'm trying to get rid of the extra spinlock which I still have for that and integrate the IRIX PHY bug workarounds. > Btw, the mips64 kernel has booted up multiuser the machine posix0. > It can see 32 cpus, access all the memory on the 16 nodes, and > understands there are 11 PCI busses with 24 scsi controllers and > 13 disks. Maybe it's time to show the world that we're serious about our big iron effort. Can you send me the bootup message on such a 32 CPU box Ralf From owner-linux-origin@oss.sgi.com Mon May 22 12:52:42 2000 Received: by oss.sgi.com id ; Mon, 22 May 2000 12:52:33 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:13526 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Mon, 22 May 2000 12:52:30 -0700 Received: from cacc-18.uni-koblenz.de (cacc-18.uni-koblenz.de [141.26.131.18]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id VAA16317; Mon, 22 May 2000 21:52:21 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Mon, 22 May 2000 20:19:28 +0200 Date: Mon, 22 May 2000 20:19:28 +0200 From: Ralf Baechle To: Kanoj Sarcar , linux-origin@oss.sgi.com Subject: IOC3 interrupts Message-ID: <20000522201928.A4744@uni-koblenz.de> 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-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing Kanoj, since I merged the oss-cvs changes back into my own code by the end of last week the IOC3 stopped generating interrupts on my machine. Got any idea what's wrong? I suspect one of the recent interrupt changes broke things. Ralf From owner-linux-origin@oss.sgi.com Mon May 22 12:52:43 2000 Received: by oss.sgi.com id ; Mon, 22 May 2000 12:52:33 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:16086 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Mon, 22 May 2000 12:52:32 -0700 Received: from cacc-18.uni-koblenz.de (cacc-18.uni-koblenz.de [141.26.131.18]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id VAA16342; Mon, 22 May 2000 21:52:27 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Mon, 22 May 2000 20:27:47 +0200 Date: Mon, 22 May 2000 20:27:47 +0200 From: Ralf Baechle To: Kanoj Sarcar , linux-origin@oss.sgi.com Subject: Re: IOC3 interrupts Message-ID: <20000522202747.A4776@uni-koblenz.de> References: <20000522201928.A4744@uni-koblenz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000522201928.A4744@uni-koblenz.de>; from ralf@oss.sgi.com on Mon, May 22, 2000 at 08:19:28PM +0200 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Mon, May 22, 2000 at 08:19:28PM +0200, Ralf Baechle wrote: > since I merged the oss-cvs changes back into my own code by the end of > last week the IOC3 stopped generating interrupts on my machine. Got > any idea what's wrong? I suspect one of the recent interrupt > changes broke things. As a sideeffect of trying to solve this I now also found why the IOC3 driver was performing less than great - it was always queueing at most a single packet for sending. Ralf From owner-linux-origin@oss.sgi.com Mon May 22 13:40:13 2000 Received: by oss.sgi.com id ; Mon, 22 May 2000 13:39:54 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:63003 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 22 May 2000 13:39:50 -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 NAA04841; Mon, 22 May 2000 13:44:23 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id NAA87079; Mon, 22 May 2000 13:39:15 -0700 (PDT) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id NAA26094; Mon, 22 May 2000 13:36:39 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005222036.NAA26094@google.engr.sgi.com> Subject: Re: IOC3 interrupts To: ralf@oss.sgi.com (Ralf Baechle) Date: Mon, 22 May 2000 13:36:39 -0700 (PDT) Cc: kanoj@cthulhu.engr.sgi.com (Kanoj Sarcar), linux-origin@oss.sgi.com In-Reply-To: <20000522202747.A4776@uni-koblenz.de> from "Ralf Baechle" at May 22, 2000 08:27:47 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > > On Mon, May 22, 2000 at 08:19:28PM +0200, Ralf Baechle wrote: > > > since I merged the oss-cvs changes back into my own code by the end of > > last week the IOC3 stopped generating interrupts on my machine. Got > > any idea what's wrong? I suspect one of the recent interrupt > > changes broke things. > > As a sideeffect of trying to solve this I now also found why the IOC3 > driver was performing less than great - it was always queueing at most > a single packet for sending. > > Ralf > If at all possible, I would suggest working with top of trunk as of now. Known problems: UP kernel does not do networking (but SMP kernels do!). My work hours next few days to couple of weeks will be choppy at best, but I will try to see what's up. Ralf, see if you can pitch in, I think it has something to do with the way we initialize stuff during bootup. John, init 0 panicing the machine is a known problem. Takes a few minutes to fix, I will try to see. Suggest you do a "reboot" in the meantime. Ralf, about sending results of our o2000 efforts outside - I was thinking of sending a message to linux-kernel and linux-mm soon, once we can get a kernel compile running "okay" on the 16 node, 32 p, 11 pci bus, 24 scsi controller, 13 disk, 3G memory machine. (Multiple network interfaces wouldn't hurt, but initially a single interface is fine, I guess). While most of this is tested piecemeal, the combined thing has not been tested. Todo before that: get clearance from Simon/Rich/Nancy about the (informal) announcement. Kanoj From owner-linux-origin@oss.sgi.com Mon May 22 13:48:43 2000 Received: by oss.sgi.com id ; Mon, 22 May 2000 13:48:23 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:13387 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 22 May 2000 13:48:08 -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 NAA14900 for ; Mon, 22 May 2000 13:43:16 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id NAA00295 for ; Mon, 22 May 2000 13:47:37 -0700 (PDT) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id NAA26201; Mon, 22 May 2000 13:44:59 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005222044.NAA26201@google.engr.sgi.com> Subject: Re: IOC3 interrupts To: kanoj@google.engr.sgi.com (Kanoj Sarcar) Date: Mon, 22 May 2000 13:44:59 -0700 (PDT) Cc: linux-origin@oss.sgi.com In-Reply-To: <200005222036.NAA26094@google.engr.sgi.com> from "Kanoj Sarcar" at May 22, 2000 01:36:39 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > > If at all possible, I would suggest working with top of trunk as > of now. Known problems: UP kernel does not do networking (but SMP > kernels do!). My work hours next few days to couple of weeks will Take this back. The state of the tree is unknown. If anyone is working actively on this, please try both UP and MP and report problems. Kanoj From owner-linux-origin@oss.sgi.com Mon May 22 13:58:43 2000 Received: by oss.sgi.com id ; Mon, 22 May 2000 13:58:23 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:36851 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Mon, 22 May 2000 13:58:04 -0700 Received: from cacc-18.uni-koblenz.de (cacc-18.uni-koblenz.de [141.26.131.18]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id WAA23162; Mon, 22 May 2000 22:57:59 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Mon, 22 May 2000 22:57:12 +0200 Date: Mon, 22 May 2000 22:57:12 +0200 From: Ralf Baechle To: Kanoj Sarcar Cc: linux-origin@oss.sgi.com Subject: Re: IOC3 interrupts Message-ID: <20000522225712.E4856@uni-koblenz.de> References: <20000522202747.A4776@uni-koblenz.de> <200005222036.NAA26094@google.engr.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200005222036.NAA26094@google.engr.sgi.com>; from kanoj@google.engr.sgi.com on Mon, May 22, 2000 at 01:36:39PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Mon, May 22, 2000 at 01:36:39PM -0700, Kanoj Sarcar wrote: > If at all possible, I would suggest working with top of trunk as > of now. Known problems: UP kernel does not do networking (but SMP > kernels do!). Indeed, I tried an UP kernel, will retry SMP. > My work hours next few days to couple of weeks will be choppy at best, > but I will try to see what's up. Does that mean you'll be moving back to the US? > Ralf, see if you can pitch in, I think it has something to do with > the way we initialize stuff during bootup. Ok. > John, init 0 panicing the machine is a known problem. Takes a few > minutes to fix, I will try to see. Suggest you do a "reboot" in > the meantime. > > Ralf, about sending results of our o2000 efforts outside - I was > thinking of sending a message to linux-kernel and linux-mm soon, > once we can get a kernel compile running "okay" on the 16 node, > 32 p, 11 pci bus, 24 scsi controller, 13 disk, 3G memory machine. > (Multiple network interfaces wouldn't hurt, but initially a single > interface is fine, I guess). While most of this is tested piecemeal, > the combined thing has not been tested. Todo before that: get clearance > from Simon/Rich/Nancy about the (informal) announcement. Ok, which big Origins are testing on btw? I only know the names of a few relativly small machines. Ralf From owner-linux-origin@oss.sgi.com Mon May 22 14:15:23 2000 Received: by oss.sgi.com id ; Mon, 22 May 2000 14:15:14 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:37969 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 22 May 2000 14:15:03 -0700 Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id OAA18005; Mon, 22 May 2000 14:10:11 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id OAA02390; Mon, 22 May 2000 14:13:42 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005222113.OAA02390@google.engr.sgi.com> Subject: Re: IOC3 interrupts To: ralf@oss.sgi.com (Ralf Baechle) Date: Mon, 22 May 2000 14:13:42 -0700 (PDT) Cc: linux-origin@oss.sgi.com In-Reply-To: <20000522225712.E4856@uni-koblenz.de> from "Ralf Baechle" at May 22, 2000 10:57:12 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > > On Mon, May 22, 2000 at 01:36:39PM -0700, Kanoj Sarcar wrote: > > > If at all possible, I would suggest working with top of trunk as > > of now. Known problems: UP kernel does not do networking (but SMP > > kernels do!). > > Indeed, I tried an UP kernel, will retry SMP. > IOC3 probably broke because of my last few checkins to ip27-pci.c and ip27-irq.c. If you can find the rev numbers for which things work, it should be pretty evident whats going on. > > My work hours next few days to couple of weeks will be choppy at best, > > but I will try to see what's up. > > Does that mean you'll be moving back to the US? Yes, end of this week. > Ok, which big Origins are testing on btw? I only know the names of a > few relativly small machines. > I use trillium, and would like to have priority on it. When its not held, its fair game (which should be quite often next few days). The bigger io configuration is on posix0. Kanoj From owner-linux-origin@oss.sgi.com Mon May 22 15:17:34 2000 Received: by oss.sgi.com id ; Mon, 22 May 2000 15:17:14 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:7974 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 22 May 2000 15:16:51 -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 PAA01078 for ; Mon, 22 May 2000 15:21:28 -0700 (PDT) mail_from (hawkes@cthulhu.engr.sgi.com) Received: from ppphawkeswa ([169.238.112.29]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id PAA66088 for ; Mon, 22 May 2000 15:16:30 -0700 (PDT) mail_from (hawkes@engr.sgi.com) Message-ID: <059901bfc43b$866bf5c0$1d70eea9@seattle.sgi.com> From: "John Hawkes" To: "linux-origin" Subject: unsigned long jiffies Date: Mon, 22 May 2000 15:17:31 -0700 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.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing Is there a reason, other than historical, why "jiffies" is "unsigned long"? Isn't that a 64-bit type in a 64-bit kernel? A more general question: I have an application that gets information from the kernel through a read of a /proc node, formatted via a struct that has fields that are typed in ways that change in size, depending upon whether it's dealing with a 32-bit kernel or a 64-bit kernel. I'd like to be able to have this 32-bit app work with a 64-bit kernel. Is there a general protocol to support this? John From owner-linux-origin@oss.sgi.com Mon May 22 15:30:03 2000 Received: by oss.sgi.com id ; Mon, 22 May 2000 15:29:44 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:295 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 22 May 2000 15:29:13 -0700 Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id PAA09055 for ; Mon, 22 May 2000 15:33:50 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id PAA55987; Mon, 22 May 2000 15:27:52 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200005222227.PAA55987@google.engr.sgi.com> Subject: Re: unsigned long jiffies To: hawkes@cthulhu.engr.sgi.com (John Hawkes) Date: Mon, 22 May 2000 15:27:52 -0700 (PDT) Cc: linux-origin@oss.sgi.com (linux-origin) In-Reply-To: <059901bfc43b$866bf5c0$1d70eea9@seattle.sgi.com> from "John Hawkes" at May 22, 2000 03:17:31 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > > Is there a reason, other than historical, why "jiffies" is "unsigned > long"? Isn't that a 64-bit type in a 64-bit kernel? > > A more general question: I have an application that gets information > from the kernel through a read of a /proc node, formatted via a struct > that has fields that are typed in ways that change in size, depending > upon whether it's dealing with a 32-bit kernel or a 64-bit kernel. I'd > like to be able to have this 32-bit app work with a 64-bit kernel. Is > there a general protocol to support this? > > John > You can either use if (sizeof(long) == sizeof(int)), or some variation of this, or #if BITS_PER_LONG == 64. Doesn't IRIX have the same problem? Kanoj From owner-linux-origin@oss.sgi.com Mon May 22 15:38:43 2000 Received: by oss.sgi.com id ; Mon, 22 May 2000 15:38:34 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:19867 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Mon, 22 May 2000 15:38:20 -0700 Received: from cacc-18.uni-koblenz.de (cacc-18.uni-koblenz.de [141.26.131.18]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id AAA02334; Tue, 23 May 2000 00:37:55 +0200 (MET DST) Received: by lappi.waldorf-gmbh.de id ; Tue, 23 May 2000 00:37:06 +0200 Date: Tue, 23 May 2000 00:37:06 +0200 From: Ralf Baechle To: John Hawkes Cc: linux-origin Subject: Re: unsigned long jiffies Message-ID: <20000523003706.B6425@uni-koblenz.de> References: <059901bfc43b$866bf5c0$1d70eea9@seattle.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <059901bfc43b$866bf5c0$1d70eea9@seattle.sgi.com>; from hawkes@cthulhu.engr.sgi.com on Mon, May 22, 2000 at 03:17:31PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Mon, May 22, 2000 at 03:17:31PM -0700, John Hawkes wrote: > Is there a reason, other than historical, why "jiffies" is "unsigned > long"? Isn't that a 64-bit type in a 64-bit kernel? At HZ = 100Hz a 32-bit variable would overflow after about 457 days. In real live this has been an actual problem :-) Some people run their systems at HZ 1024Hz or even 10kHz. > A more general question: I have an application that gets information > from the kernel through a read of a /proc node, formatted via a struct > that has fields that are typed in ways that change in size, depending > upon whether it's dealing with a 32-bit kernel or a 64-bit kernel. I'd > like to be able to have this 32-bit app work with a 64-bit kernel. Is > there a general protocol to support this? About which proc-file are we talking? In general you should probably just design the file's format such that it can be parsed unambiguously; generally there ASCII files are somewhat preffered. Ralf From owner-linux-origin@oss.sgi.com Mon May 22 15:42:43 2000 Received: by oss.sgi.com id ; Mon, 22 May 2000 15:42:33 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:11305 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 22 May 2000 15:42:12 -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 PAA06153; Mon, 22 May 2000 15:46:50 -0700 (PDT) mail_from (hawkes@cthulhu.engr.sgi.com) Received: from ppphawkeswa ([169.238.112.29]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id PAA14084; Mon, 22 May 2000 15:41:51 -0700 (PDT) mail_from (hawkes@engr.sgi.com) Message-ID: <05c801bfc43f$0f230400$1d70eea9@seattle.sgi.com> From: "John Hawkes" To: "Ralf Baechle" , "John Hawkes" Cc: "linux-origin" References: <059901bfc43b$866bf5c0$1d70eea9@seattle.sgi.com> <20000523003706.B6425@uni-koblenz.de> Subject: Re: unsigned long jiffies Date: Mon, 22 May 2000 15:42:49 -0700 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.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > About which proc-file are we talking? In general you should probably > just design the file's format such that it can be parsed unambiguously; > generally there ASCII files are somewhat preffered. /proc/lockmeter I'm reluctant to use an ASCII formatting, since the heavy-duty data transfers involve hundreds, if not thousands, of data values. The first problem I stumbled over was in a general information header. The Big Data arrays are more clearly typed as 32-bit data. John From owner-linux-origin@oss.sgi.com Fri May 26 09:57:56 2000 Received: by oss.sgi.com id ; Fri, 26 May 2000 09:57:28 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:50201 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 26 May 2000 09:06:52 -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 JAA20449; Fri, 26 May 2000 09:19:23 -0700 (PDT) mail_from (hawkes@cthulhu.engr.sgi.com) Received: from ppphawkeswa ([169.238.112.29]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id JAA45650; Fri, 26 May 2000 09:23:51 -0700 (PDT) mail_from (hawkes@engr.sgi.com) Message-ID: <008901bfc72e$3748bc80$1d70eea9@seattle.sgi.com> From: "John Hawkes" To: "Ulf Carlsson" , "Kanoj Sarcar" Cc: , , References: Subject: Re: compiler bug? Date: Fri, 26 May 2000 09:19:47 -0700 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.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > > If any of you guys have a chance to track down what's going on, let me > > know. Otherwise, just aply this workaround while compiling an UP kernel. > > Hm.. this is actually the code that makes it crash: > > .macro COMMENT > # 1 "comment" > .endm > > .ent foo, 0 > COMMENT > nop > .end foo > > .ent bar, 0 > COMMENT > nop > .end bar > > The preprocessor adds a source line comment when it finds the ifdef you've > added. The same source line comment is being used several times when you use > the macros. This nukes the assembler. It's the same for both the current CVS > and the version we're using for the kernel compiles. I'll see what I can do. I've just encountered this problem with Thursday's sources -- in r4k_genex.S -- after making a small change in another file. Any suggestions? John From owner-linux-origin@oss.sgi.com Fri May 26 09:57:56 2000 Received: by oss.sgi.com id ; Fri, 26 May 2000 09:57:28 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:45361 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 25 May 2000 15:09:53 -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 QAA16799 for ; Thu, 25 May 2000 16:04:31 -0700 (PDT) mail_from (hawkes@cthulhu.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 QAA88278 for ; Thu, 25 May 2000 16:07:37 -0700 (PDT) Received: from ppphawkeswa ([169.238.112.29]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id QAA52194 for ; Thu, 25 May 2000 16:06:00 -0700 (PDT) mail_from (hawkes@engr.sgi.com) Message-ID: <04e101bfc69d$9cf302c0$1d70eea9@seattle.sgi.com> From: "John Hawkes" To: "linux-origin" Subject: this morning's mips64 top-of-trunk seems SMP-functional Date: Thu, 25 May 2000 16:04:42 -0700 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.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing I snapped mips64 sources this morning and did a default build, and the kernel seems to run much more robustly. I haven't seen a crash yet (under light-to-moderate loads), although I have seen some unexplained hangs. John Hawkes From owner-linux-origin@oss.sgi.com Fri May 26 10:31:46 2000 Received: by oss.sgi.com id ; Fri, 26 May 2000 10:31:27 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:18295 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 26 May 2000 10:31:16 -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 LAA02589; Fri, 26 May 2000 11:35:58 -0700 (PDT) mail_from (hawkes@cthulhu.engr.sgi.com) Received: from wrlarun (wrlarun.seattle.sgi.com [169.238.112.27]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id LAA72671; Fri, 26 May 2000 11:30:54 -0700 (PDT) mail_from (hawkes@engr.sgi.com) Message-ID: <001301bfc740$4b7caec0$1b70eea9@seattle.sgi.com> Reply-To: "John Hawkes" From: "John Hawkes" To: "Ulf Carlsson" , "Kanoj Sarcar" Cc: , References: Subject: Re: compiler bug? Date: Fri, 26 May 2000 11:29:12 -0700 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.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > Hm.. this is actually the code that makes it crash: > > .macro COMMENT > # 1 "comment" > .endm > > .ent foo, 0 > COMMENT > nop > .end foo > > .ent bar, 0 > COMMENT > nop > .end bar > > The preprocessor adds a source line comment when it finds the ifdef you've > added. The same source line comment is being used several times when you use > the macros. This nukes the assembler. It's the same for both the current CVS > and the version we're using for the kernel compiles. I'll see what I can do. Can anyone please suggest a workaround? I'm stuck right now. John From owner-linux-origin@oss.sgi.com Fri May 26 10:33:56 2000 Received: by oss.sgi.com id ; Fri, 26 May 2000 10:33:46 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:49721 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 26 May 2000 10:33:33 -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 LAA10754; Fri, 26 May 2000 11:28:40 -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 LAA03968; Fri, 26 May 2000 11:33:12 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id BAAEAA78D7; Fri, 26 May 2000 11:32:06 -0700 (PDT) Date: Fri, 26 May 2000 11:32:06 -0700 (PDT) From: Ulf Carlsson To: John Hawkes Cc: Kanoj Sarcar , ralf@oss.sgi.com, linux-origin@oss.sgi.com Subject: Re: compiler bug? In-Reply-To: <001301bfc740$4b7caec0$1b70eea9@seattle.sgi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > Can anyone please suggest a workaround? I'm stuck right now. I think there should be a line that says CFLAGS_r4k_genex.o := -P in the Makefile for the kernel directory. If you do that cpp doesn't output line numbers. Ulf From owner-linux-origin@oss.sgi.com Fri May 26 14:37:49 2000 Received: by oss.sgi.com id ; Fri, 26 May 2000 14:37:40 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:20486 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 26 May 2000 14:37:21 -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 PAA11649; Fri, 26 May 2000 15:32:28 -0700 (PDT) mail_from (hawkes@cthulhu.engr.sgi.com) Received: from ppphawkeswa ([169.238.112.29]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id PAA52379; Fri, 26 May 2000 15:36:59 -0700 (PDT) mail_from (hawkes@engr.sgi.com) Message-ID: <02aa01bfc761$f9101880$1d70eea9@seattle.sgi.com> From: "John Hawkes" To: "Ulf Carlsson" , "linux-origin" Cc: "Ralf Baechle" , "Kanoj Sarcar" References: Subject: Re: mips64 'top' and 'vmstat' and cputimes Date: Fri, 26 May 2000 15:30:18 -0700 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.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing The problem with seeing cputime with 'vmstat', 'top', and 'ps' has to do with a misdeclaration of __kernel_clock_t (include/asm-mips64/posix_types.h), which is the base type of clock_t. When I change the declaration from "typedef int" to "typedef long", those commands produce apparently accurate reports for user, system, and idle time. The mistyping results in an error in proc_pid_stat() (fs/proc/array.c) where task->times.tms_utime (and other similar clock_t variables) are formatted as %lu in an sprintf(), i.e., expecting those fields to be 64-bit longs, not 32-bit ints. A 32-bit tms_utime formatted by %lu produces a huge ascii value in /proc//stat. If everyone is comfortable with this fix (i.e., if you don't think it breaks anything when various clock_t and __kernel_clock_t fields increase in size from 32 to 64 bits), then I'd be happy to do a CVS checkin. Except I've never done a CVS checkin, and I'll need a little guidance. I'm not even sure if I'm set up on oss.sgi.com with permission to do updates. John H. From owner-linux-origin@oss.sgi.com Fri May 26 14:53:09 2000 Received: by oss.sgi.com id ; Fri, 26 May 2000 14:52:49 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:62991 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 26 May 2000 14:52:20 -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 PAA01261; Fri, 26 May 2000 15:57:02 -0700 (PDT) mail_from (nobody@info.engr.sgi.com) Received: from info.engr.sgi.com (info.engr.sgi.com [192.26.80.216]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id PAA47662; Fri, 26 May 2000 15:51:50 -0700 (PDT) Received: (from nobody@localhost) by info.engr.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) id PAA03496; Fri, 26 May 2000 15:50:28 -0700 (PDT) Date: Fri, 26 May 2000 15:50:28 -0700 (PDT) Message-Id: <200005262250.PAA03496@info.engr.sgi.com> X-Pv-Incident: 792097 webPV: www-proxy.engr.sgi.com webExec: webpvsubmit,PvProjectIncident Reply-To: sgi.bugs.linux-origin@fido.engr.sgi.com From: pv@fddi-odin.corp.sgi.com (hawkes@engr.sgi.com) Subject: BUG 792097 - 'top', 'vmstat', 'ps' cputime all say zero To: hawkes@cthulhu.engr.sgi.com Cc: linux-origin@oss.sgi.com Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing View Incident: http://co-op.engr.sgi.com/BugWorks/code/bwxquery.cgi?search=Search&wlong=1&view_type=Bug&wi=792097 Submitter : hawkes Submitter Domain : engr Assigned Engineer : hawkes Assigned Domain : engr Assigned Group : linux-origin Category : software Customer Reported : F Priority : 2 Project : linux-origin Status : open Description : Various commands that report cputime -- 'top', 'vmstat', 'ps' (e.g., ps -S) -- report zero elapsed time. /proc//cpu is correct. /proc//stat shows bogus values for user/system times. The problem seems to be a mistyping of __kernel_clock_t in include/asm-mips64/posix_types.h. The mips64 type is "int", though in all the other architectures it is "long". Changing it to "long" seems to fix the problem (because proc_pid_stat() in fs/proc/array.c pushes these clock_t values through an sprintf() using a format of "%lu"). From owner-linux-origin@oss.sgi.com Fri May 26 14:58:38 2000 Received: by oss.sgi.com id ; Fri, 26 May 2000 14:58:29 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:33296 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 26 May 2000 14:58:10 -0700 Received: from info.engr.sgi.com (info.engr.sgi.com [192.26.80.216]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id QAA00731; Fri, 26 May 2000 16:02:52 -0700 (PDT) mail_from (nobody@info.engr.sgi.com) Received: (from nobody@localhost) by info.engr.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) id PAA11134; Fri, 26 May 2000 15:58:04 -0700 (PDT) Date: Fri, 26 May 2000 15:58:04 -0700 (PDT) Message-Id: <200005262258.PAA11134@info.engr.sgi.com> X-Pv-Incident: 792099 webPV: www-proxy.engr.sgi.com webExec: webpvsubmit,PvProjectIncident Reply-To: sgi.bugs.linux-origin@fido.engr.sgi.com From: pv@fddi-odin.corp.sgi.com (hawkes@engr.sgi.com) Subject: BUG 792099 - /sbin/init 0 gets to "System halted" then gets Oops To: hawkes@cthulhu.engr.sgi.com Cc: linux-origin@oss.sgi.com Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing View Incident: http://co-op.engr.sgi.com/BugWorks/code/bwxquery.cgi?search=Search&wlong=1&view_type=Bug&wi=792099 Submitter : hawkes Submitter Domain : engr Assigned Engineer : hawkes Assigned Domain : engr Assigned Group : linux-origin Category : software Customer Reported : F Priority : 3 Project : linux-origin Status : open Description : With the system at multiuser, do "/sbin/init 0" and the system comes down gracefully to "System halted." Then immediately we see: Cpu 0 Unable to handle kernel paging request at address c000000011c00390, epc == c000000011c00390, ra == ffffffff8011e418 Oops: 0000 Cpu 0 $0 : 0000000000000000 0000000010001ce0 c000000011c00390 a800000000002800 $4 : ffffffff801ad4f0 ffffffff801ad508 ffffffff801ad508 000000000000000a $8 : 0000000000001c00 ffffffffffff00ff ffffffff801ad0f0 ffffffff801a1000 $12 : 0000000000000012 000000002ab7c124 ffffffff800361f4 0000000000000003 $16 : 0000000000000000 0000000000000000 0000000000000000 0000000000000002 $20 : 0000000000000000 0000000000000000 0000000000000000 0000000000000001 $24 : 0000000000000000 000000002ab7c110 $28 : a800000007924000 a800000007927d70 0000000000000000 ffffffff8011e418 Hi : 0000000000000000 Lo : 0000000000000000 epc : c000000011c00390 badvaddr: c000000011c00390 Status : 10001ce2 Cause : 00008008 Process halt (pid: 354, stackpage=a800000007924000) Stack: ffffffff 8011cc20 ffffffff 801ad0f0 ffffffff 800363c4 ffffffff 801a1000 a8000000 07927e00 00000000 00000000 00000000 00000000 00000000 00000001 ffffffff 8002fdf4 00000000 00007000 00000000 00000018 00000000 00000001 00000000 00000000 00000000 00000002 00000000 00000000 00000000 00000000 ffffffff 800306e4 00000000 00000000 00000018 00000000 00000000 00000000 00000162 ... Call Trace: Code:<7>halt: Exception at [] (ffffffff80163574) (Bad address in epc) Note: "reboot" functions without an Oops From owner-linux-origin@oss.sgi.com Fri May 26 15:18:29 2000 Received: by oss.sgi.com id ; Fri, 26 May 2000 15:18:19 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:46050 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Fri, 26 May 2000 15:17:55 -0700 Received: from cacc-7.uni-koblenz.de (cacc-7.uni-koblenz.de [141.26.131.7]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id BAA18918; Sat, 27 May 2000 01:17:48 +0200 (MET DST) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Sat, 27 May 2000 01:17:37 +0200 Date: Sat, 27 May 2000 01:17:37 +0200 From: Ralf Baechle To: John Hawkes Cc: Ulf Carlsson , linux-origin , Ralf Baechle , Kanoj Sarcar Subject: Re: mips64 'top' and 'vmstat' and cputimes Message-ID: <20000527011737.D14929@uni-koblenz.de> References: <02aa01bfc761$f9101880$1d70eea9@seattle.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <02aa01bfc761$f9101880$1d70eea9@seattle.sgi.com>; from hawkes@cthulhu.engr.sgi.com on Fri, May 26, 2000 at 03:30:18PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Fri, May 26, 2000 at 03:30:18PM -0700, John Hawkes wrote: > The problem with seeing cputime with 'vmstat', 'top', and 'ps' has to do > with a misdeclaration of __kernel_clock_t > (include/asm-mips64/posix_types.h), which is the base type of clock_t. > When I change the declaration from "typedef int" to "typedef long", > those commands produce apparently accurate reports for user, system, and > idle time. > > The mistyping results in an error in proc_pid_stat() (fs/proc/array.c) > where task->times.tms_utime (and other similar clock_t variables) are > formatted as %lu in an sprintf(), i.e., expecting those fields to be > 64-bit longs, not 32-bit ints. A 32-bit tms_utime formatted by %lu > produces a huge ascii value in /proc//stat. > > If everyone is comfortable with this fix (i.e., if you don't think it > breaks anything when various clock_t and __kernel_clock_t fields > increase in size from 32 to 64 bits), then I'd be happy to do a CVS > checkin. Think the suggested change is good, will apply it. Thanks, Ralf From owner-linux-origin@oss.sgi.com Fri May 26 15:33:59 2000 Received: by oss.sgi.com id ; Fri, 26 May 2000 15:33:39 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:55824 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 26 May 2000 15:33: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 QAA17076 for ; Fri, 26 May 2000 16:28:19 -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 QAA52921 for ; Fri, 26 May 2000 16:31:26 -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 QAA70659; Fri, 26 May 2000 16:29:48 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id 7292CA78D7; Fri, 26 May 2000 16:28:42 -0700 (PDT) Date: Fri, 26 May 2000 16:28:42 -0700 (PDT) From: Ulf Carlsson To: sgi.bugs.linux-origin@fido.engr.sgi.com Cc: hawkes@cthulhu.engr.sgi.com, linux-origin@oss.sgi.com Subject: Re: BUG 792099 - /sbin/init 0 gets to "System halted" then gets Oops In-Reply-To: <200005262258.PAA11134@info.engr.sgi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > Cpu 0 Unable to handle kernel paging request at address c000000011c00390, epc == c000000011c00390, ra == ffffffff8011e418 Using the ARC after our TLB initialization is probably a bad idea. > Note: "reboot" functions without an Oops Reboot doesn't use the ARC. Ulf From owner-linux-origin@oss.sgi.com Mon May 29 18:06:25 2000 Received: by oss.sgi.com id ; Mon, 29 May 2000 18:06:07 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:27085 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Sat, 27 May 2000 12:37:05 -0700 Received: from cacc-22.uni-koblenz.de (cacc-22.uni-koblenz.de [141.26.131.22]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id WAA05068; Sat, 27 May 2000 22:36:30 +0200 (MET DST) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Sat, 27 May 2000 22:35:44 +0200 Date: Sat, 27 May 2000 22:35:44 +0200 From: Ralf Baechle To: Ulf Carlsson Cc: John Hawkes , Kanoj Sarcar , linux-origin@oss.sgi.com Subject: Re: compiler bug? Message-ID: <20000527223544.A19779@uni-koblenz.de> References: <001301bfc740$4b7caec0$1b70eea9@seattle.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from ulfc@calypso.engr.sgi.com on Fri, May 26, 2000 at 11:32:06AM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Fri, May 26, 2000 at 11:32:06AM -0700, Ulf Carlsson wrote: > > Can anyone please suggest a workaround? I'm stuck right now. > > I think there should be a line that says > > CFLAGS_r4k_genex.o := -P > > in the Makefile for the kernel directory. If you do that cpp doesn't output > line numbers. The workaround for the affected files is already in the CVS Makefile since a week. I hope Ulf soon comes with a fix for the problem in binutils ... Ralf From owner-linux-origin@oss.sgi.com Mon May 29 18:33:55 2000 Received: by oss.sgi.com id ; Mon, 29 May 2000 18:33:46 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:24007 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Mon, 29 May 2000 18:33:36 -0700 Received: from cacc-24.uni-koblenz.de (cacc-24.uni-koblenz.de [141.26.131.24]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id EAA12697 for ; Tue, 30 May 2000 04:33:33 +0200 (MET DST) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Tue, 30 May 2000 04:33:26 +0200 Date: Tue, 30 May 2000 04:33:26 +0200 From: Ralf Baechle To: linux-origin@oss.sgi.com Subject: DS1981U NIC driver Message-ID: <20000530043326.B6552@uni-koblenz.de> 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-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing Who is the author of IRIX io/nic.c? I've got some questions. Thanks, Ralf From owner-linux-origin@oss.sgi.com Mon May 29 19:25:16 2000 Received: by oss.sgi.com id ; Mon, 29 May 2000 19:24:56 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:22896 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 29 May 2000 19:24:29 -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 UAA10226 for ; Mon, 29 May 2000 20:09:10 -0700 (PDT) mail_from (wombat@kilimanjaro.engr.sgi.com) Received: from kilimanjaro.engr.sgi.com (kilimanjaro.engr.sgi.com [163.154.5.32]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id UAA91053 for ; Mon, 29 May 2000 20:12:18 -0700 (PDT) Received: from kilimanjaro.engr.sgi.com (localhost [127.0.0.1]) by kilimanjaro.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id UAA81527; Mon, 29 May 2000 20:09:41 -0700 (PDT) Message-Id: <200005300309.UAA81527@kilimanjaro.engr.sgi.com> To: Ralf Baechle cc: linux-origin@oss.sgi.com Subject: Re: DS1981U NIC driver In-reply-to: Your message of "Tue, 30 May 2000 04:33:26 +0200." <20000530043326.B6552@uni-koblenz.de> Date: Mon, 29 May 2000 20:09:40 -0700 From: Joan Eslinger Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing morbius == Bob Marinelli - original author Other common names in RCS log: csm = Curt McDowell limes = Greg Limes jeffs = Jeff Smith All are gone now. From owner-linux-origin@oss.sgi.com Mon May 29 20:07:05 2000 Received: by oss.sgi.com id ; Mon, 29 May 2000 20:06:46 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:54397 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 29 May 2000 20:06: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 VAA09768 for ; Mon, 29 May 2000 21:04:40 -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 UAA23025; Mon, 29 May 2000 20:59:33 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id 3A175A7875; Mon, 29 May 2000 20:58:19 -0700 (PDT) Date: Mon, 29 May 2000 20:58:19 -0700 (PDT) From: Ulf Carlsson To: Ralf Baechle Cc: linux-origin@oss.sgi.com Subject: Re: DS1981U NIC driver In-Reply-To: <20000530043326.B6552@uni-koblenz.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Tue, 30 May 2000, Ralf Baechle wrote: > Who is the author of IRIX io/nic.c? I've got some questions. You should have a RCS directory with all the RCS version history files. I looked at the authors and they all seem to be gone.. Ulf From owner-linux-origin@oss.sgi.com Tue May 30 02:12:29 2000 Received: by oss.sgi.com id ; Tue, 30 May 2000 02:12:18 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:51980 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 30 May 2000 02:12:07 -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 DAA06744; Tue, 30 May 2000 03:10:14 -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 DAA54541; Tue, 30 May 2000 03:05:07 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id 73BC9A7875; Tue, 30 May 2000 03:03:52 -0700 (PDT) Date: Tue, 30 May 2000 03:03:52 -0700 (PDT) From: Ulf Carlsson To: Ralf Baechle Cc: John Hawkes , Kanoj Sarcar , linux-origin@oss.sgi.com Subject: Re: compiler bug? In-Reply-To: <20000527223544.A19779@uni-koblenz.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Sat, 27 May 2000, Ralf Baechle wrote: > On Fri, May 26, 2000 at 11:32:06AM -0700, Ulf Carlsson wrote: > > > > Can anyone please suggest a workaround? I'm stuck right now. > > > > I think there should be a line that says > > > > CFLAGS_r4k_genex.o := -P > > > > in the Makefile for the kernel directory. If you do that cpp doesn't output > > line numbers. > > The workaround for the affected files is already in the CVS Makefile > since a week. I hope Ulf soon comes with a fix for the problem in > binutils ... I haven't found a nice solution directly in ecoff.c, but you can easily get around the problem by not generating line number debug information when you're expanding macros. I don't think this has any unpleasant side-effects for other architectures either. You basically don't care about the line number information cpp inserts into macros anyway. I could compile some new RPM if you really want to try this... It is a design problem with the ecoff code and not just a silly bug that I could fix without affecting anything else. Ulf Index: read.c =================================================================== RCS file: /cvs/src/src/gas/read.c,v retrieving revision 1.19 diff -u -p -r1.19 read.c --- read.c 2000/04/21 20:22:22 1.19 +++ read.c 2000/05/30 09:43:20 @@ -875,8 +875,6 @@ read_a_source_file (name) c = *input_line_pointer; *input_line_pointer = '\0'; - generate_lineno_debug (); - if (macro_defined) { sb out; @@ -899,6 +897,8 @@ read_a_source_file (name) continue; } } + + generate_lineno_debug (); if (mri_pending_align) { From owner-linux-origin@oss.sgi.com Tue May 30 10:09:28 2000 Received: by oss.sgi.com id ; Tue, 30 May 2000 10:09:08 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:4241 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Tue, 30 May 2000 09:20:49 -0700 Received: from cacc-21.uni-koblenz.de (cacc-21.uni-koblenz.de [141.26.131.21]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id TAA25020; Tue, 30 May 2000 19:20:11 +0200 (MET DST) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Tue, 30 May 2000 19:19:47 +0200 Date: Tue, 30 May 2000 19:19:47 +0200 From: Ralf Baechle To: Srinivasa Prasad Thirumalachar Cc: Joan Eslinger , linux-origin@oss.sgi.com Subject: Re: DS1981U NIC driver Message-ID: <20000530191947.A8621@uni-koblenz.de> References: <200005300309.UAA81527@kilimanjaro.engr.sgi.com> <200005301610.JAA16182@sprasad.engr.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200005301610.JAA16182@sprasad.engr.sgi.com>; from sprasad@sprasad.engr.sgi.com on Tue, May 30, 2000 at 09:10:20AM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Tue, May 30, 2000 at 09:10:20AM -0700, Srinivasa Prasad Thirumalachar wrote: > In reality, it is just Bob. All the others wrote wrappers around > the original stuff. Only Bob knew about the microLAN protocols. > > What are the questions you have? I think the best way to deal > with this file is to somehow clear it for open sourcing, write > the required wrappers, and use it. Debugging/rewriting is not > recommended imho. > > You can also look at the PROM version in stand/arcs/lib/libsk/ml/nic.c Will take a look at it. The problem that I have with the NIC chip is that my simple driver which is part of the IOC3 driver for Linux works fine for the builtin IOC3 on my Origin but fails for both my IOC3 PCI cards. By my reading of the spec everything should be just work, so I was searching for somebody who might bring some light into ``iButton undocumented''. I'm close to the point where I think I should hookup the NIC to a logic analyzer to see what's actually happenig on the bus. Ralf From owner-linux-origin@oss.sgi.com Tue May 30 10:09:38 2000 Received: by oss.sgi.com id ; Tue, 30 May 2000 10:09:09 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:55935 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 30 May 2000 08:36:19 -0700 Received: from sprasad.engr.sgi.com (sprasad.engr.sgi.com [163.154.5.109]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id JAA28811 for ; Tue, 30 May 2000 09:07:39 -0700 (PDT) mail_from (sprasad@sprasad.engr.sgi.com) Received: (from sprasad@localhost) by sprasad.engr.sgi.com (980427.SGI.8.8.8/960327.SGI.AUTOCF) id JAA16182; Tue, 30 May 2000 09:10:21 -0700 (PDT) From: sprasad@sprasad.engr.sgi.com (Srinivasa Prasad Thirumalachar) Message-Id: <200005301610.JAA16182@sprasad.engr.sgi.com> Subject: Re: DS1981U NIC driver To: wombat@kilimanjaro.engr.sgi.com (Joan Eslinger) Date: Tue, 30 May 2000 09:10:20 -0700 (PDT) Cc: ralf@uni-koblenz.de (Ralf Baechle), linux-origin@oss.sgi.com In-Reply-To: <200005300309.UAA81527@kilimanjaro.engr.sgi.com> from "Joan Eslinger" at May 29, 2000 08:09:40 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing According to Joan Eslinger ... > > morbius == Bob Marinelli - original author > > Other common names in RCS log: > > csm = Curt McDowell > limes = Greg Limes > jeffs = Jeff Smith > > All are gone now. In reality, it is just Bob. All the others wrote wrappers around the original stuff. Only Bob knew about the microLAN protocols. What are the questions you have? I think the best way to deal with this file is to somehow clear it for open sourcing, write the required wrappers, and use it. Debugging/rewriting is not recommended imho. You can also look at the PROM version in stand/arcs/lib/libsk/ml/nic.c This may have better usage examples. Thanks srinivasa > From owner-linux-origin@oss.sgi.com Tue May 30 20:34:48 2000 Received: by oss.sgi.com id ; Tue, 30 May 2000 20:34:38 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:31320 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 30 May 2000 20:34:16 -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 UAA26982 for ; Tue, 30 May 2000 20:21:13 -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 UAA83111 for ; Tue, 30 May 2000 20:25:46 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id 413B8A7875; Tue, 30 May 2000 20:24:29 -0700 (PDT) Date: Tue, 30 May 2000 20:24:29 -0700 (PDT) From: Ulf Carlsson To: tduffy@calypso.engr.sgi.com Cc: linux-origin@oss.sgi.com Subject: origin stuff Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing Hi Tom, So what we need is probably some way to create a new root.tar.gz from a bunch of RPM packages and other tar files. If we want to do modifications to our filesystem such as installing a new compiler, we can replace only that RPM package and generate a new tar file. We will also query the user for information such as IP address and hostname. Maybe some kind of small initial filesystem that we can boot over NFS that will have a script that you can create the filesystem with and extract the root.tar.gz file would be useful as well. This probably sounds like waste of time, but I think it would be worthwhile to do it. We don't need anything fancy right now, just something so that others can get it running relatively easy. The other thing someone has to do is to package the glibc 2.2 that Andreas Jaeger and I were working on. We also have to make sure that it works. It hasn't been well tested yet. I have bugs that I'm waiting for Andreas to take a look at, but he has still not received the Indy we shipped him. These bugs are not critical for normal usage though. A few persons outside SGI have tried to build glibc 2.2 but they failed, probably because they didn't know what compilers and kernel headers to use. I can help Tom with this if he runs into problems. We want to rebuild our redhat distribution for glibc 2.2 once we have glibc 2.2 working. To once again rebuild the distribution for RedHat 6.2 with glibc 2.0.6 is IMHO pointless. If we recompile the distribution we should use my version of binutils [1] that we used for compiling glibc 2.2. That way we will probably find a few bugs. To only use one set of compiler tools for both the kernel and the userland that is synced with the Cygnus CVS is the ultimate goal. Ralf has the RedHat 6.0 RPMS on rainy:/u9/ralf by the way. The path he gave you was probably not correct. There are some missing files among those binaries and also some obscure problems with PAM. I can't recommend using them, not in the current state at least. I wasted a couple of days trying to build a root filesystem and boot it. Ulf [1] I nowadays maintain binutils for MIPS so will be able to check in patches to the Cygnus CVS and the endless discussion of who's binutils we're using will finally end. From owner-linux-origin@oss.sgi.com Wed May 31 02:50:40 2000 Received: by oss.sgi.com id ; Wed, 31 May 2000 02:50:30 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:17783 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 31 May 2000 02:50:02 -0700 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id CAA07331 for ; Wed, 31 May 2000 02:42:47 -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 CAA99502 for ; Wed, 31 May 2000 02:37:29 -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 CAA58528 for ; Wed, 31 May 2000 02:35:53 -0700 (PDT) mail_from (ulfc@calypso.engr.sgi.com) Received: from localhost (localhost [127.0.0.1]) by calypso.engr.sgi.com (Postfix) with ESMTP id 93B6BA7875 for ; Wed, 31 May 2000 02:34:35 -0700 (PDT) Date: Wed, 31 May 2000 02:34:35 -0700 (PDT) From: Ulf Carlsson To: linux-origin@oss.sgi.com Subject: UP networking Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing It seems like someone/something/ralf is guilty for fixing the UP kernel on SMP machine networking problems. It works now! Ulf From owner-linux-origin@oss.sgi.com Wed May 31 11:22:37 2000 Received: by oss.sgi.com id ; Wed, 31 May 2000 11:22:17 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:4900 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 31 May 2000 11:21:53 -0700 Received: from sprasad.engr.sgi.com (sprasad.engr.sgi.com [163.154.5.109]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id MAA05430 for ; Wed, 31 May 2000 12:10:10 -0700 (PDT) mail_from (sprasad@sprasad.engr.sgi.com) Received: (from sprasad@localhost) by sprasad.engr.sgi.com (980427.SGI.8.8.8/960327.SGI.AUTOCF) id MAA22832 for linux-origin@oss.sgi.com; Wed, 31 May 2000 12:03:53 -0700 (PDT) From: sprasad@sprasad.engr.sgi.com (Srinivasa Prasad Thirumalachar) Message-Id: <200005311903.MAA22832@sprasad.engr.sgi.com> Subject: posix0 To: linux-origin@oss.sgi.com Date: Wed, 31 May 2000 12:03:53 -0700 (PDT) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > > Hi, > This is about the recent problem with posix0 not booting up. > I am sending this to linux-origin to remind people about the > procedure to reset a large origin which has a MMSC (a level 2 > system controller) > > If you have problems with disabled cpus or module ids with > msgs like > > BASEIO PROM Monitor SGI Version 6.57 built 09:08:12 AM Apr 12, 2000 (BE64) > 28 CPUs on 16 nodes found. > **************************************************************** > * PANIC: Boards in same module show different moduleids. * > * PANIC: Failed to automatically assign moduleid(s) * > * Please assign globally unique module id(s) at the MSC. * > **************************************************************** > nasid_slice_to_cpuinfo: Can't find any CPU structures for cpu 0 (nasid 13) > nasid_slice_to_cpuinfo: Can't find any CPU structures for cpu 1 (nasid 13) > > > > Initializing headless node at nasid 13 > ........update_klcfg_cpuinfo: Can't find any CPU structures > > > a power cycle may help. The procedure to power cycle a system with > MMSC is > > kcons posix0 1 > > MMSC> > > (NOte that this prompt tells you that you have a MMSC instead of a MSC) > > MMSC> pwr d > MMSC> pwr > > (This should show the status of all modules as power down) > > MMSC> pwr u > > Please do not try anything else, like using the power switches > on the hardware/modules. If the MMSC fails to do what we want > > Power down the entire system including the MMSC and power up the > system including MMSC. Which basically means pulling out the power > plug instead of using switches. > > > For now, posix0 boots clean with 32 cpus .... > BASEIO PROM Monitor SGI Version 6.57 built 09:08:12 AM Apr 12, 2000 (BE64) > 32 CPUs on 16 nodes found. > Installing PROM Device drivers ............ > > Walking SCSI Adapter 0 (/hw/module/1/slot/io1), (pci id 0) > 1+ 2+ 3+ 4+ 5- 6+ 7- 8- 9- 10- 11- 12- 13- 14- 15- = 5 device(s) > > > Walking SCSI Adapter 1 (/hw/module/1/slot/io1), (pci id 1) > 1- 2- 3- 4- 5- 6- 7- 8- 9- 10- 11- 12- 13- 14- 15- = 0 device(s) > > Initializing PROM Device drivers .......... DONE > Checking hardware inventory ............... DONE > > **** System Configuration and Diagnostics Summary **** > CONFIG: > No. of NODEs enabled = 16 > No. of NODEs disabled = 0 > No. of CPUs enabled = 32 > No. of CPUs disabled = 0 > Mem enabled = 3712 MB > Mem disabled = 0 MB > No. of RTRs enabled = 8 > No. of RTRs disabled = 0 > > DIAG RESULTS: > ALL DIAGS PASSED. > **** End System Configuration and Diagnostics Summary **** > > > System Maintenance Menu > > 1) Start System > 2) Install System Software > 3) Run Diagnostics > 4) Recover System > 5) Enter Command Monitor > > Option? > > > -- > Thanks, > > Srinivasa > > From owner-linux-origin@oss.sgi.com Wed May 31 12:21:37 2000 Received: by oss.sgi.com id ; Wed, 31 May 2000 12:21:27 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:48069 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Wed, 31 May 2000 12:21:12 -0700 Received: from cacc-8.uni-koblenz.de (cacc-8.uni-koblenz.de [141.26.131.8]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id WAA29407; Wed, 31 May 2000 22:21:08 +0200 (MET DST) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Wed, 31 May 2000 22:20:48 +0200 Date: Wed, 31 May 2000 22:20:48 +0200 From: Ralf Baechle To: Ulf Carlsson Cc: linux-origin@oss.sgi.com Subject: Re: UP networking Message-ID: <20000531222048.A18010@uni-koblenz.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from ulfc@calypso.engr.sgi.com on Wed, May 31, 2000 at 02:34:35AM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Wed, May 31, 2000 at 02:34:35AM -0700, Ulf Carlsson wrote: > It seems like someone/something/ralf is guilty for fixing the UP kernel on SMP > machine networking problems. It works now! I haven't fixed anything. In fact the bug is rather nasty and I think I haven't gotten much closer to understand what's wrong. Ralf From owner-linux-origin@oss.sgi.com Wed May 31 15:24:37 2000 Received: by oss.sgi.com id ; Wed, 31 May 2000 15:24:26 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:53599 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 31 May 2000 15:24:10 -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 QAA09106 for ; Wed, 31 May 2000 16:19:16 -0700 (PDT) mail_from (tduffy@dbear.engr.sgi.com) Received: from dbear.engr.sgi.com (dbear.engr.sgi.com [163.154.18.85]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id QAA88218 for ; Wed, 31 May 2000 16:23:49 -0700 (PDT) mail_from (tduffy@dbear.engr.sgi.com) Received: from localhost (tduffy@localhost) by dbear.engr.sgi.com (8.9.3/8.8.7) with ESMTP id QAA31336 for ; Wed, 31 May 2000 16:21:46 -0700 Date: Wed, 31 May 2000 16:21:46 -0700 (PDT) From: Thomas Duffy To: linux-origin@oss.sgi.com Subject: indy fucked Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing I seem to have fucked my indy. everytime i try to run bash, ldd, and some other important things I get the following error: [root@slacker RPMS]# ldd sh: error in loading shared libraries : undefined symbol: __register_frame_info [root@slacker RPMS]# bash bash: error in loading shared libraries : undefined symbol: __register_frame_info i got here by trying to update bash from hard hat 5.1 to mips 6.0 rpms. is there a quick fix or do i need to wipe the harddrive? btw, if I ftp bash from another system, it still has this problem. -tduffy From owner-linux-origin@oss.sgi.com Wed May 31 16:21:56 2000 Received: by oss.sgi.com id ; Wed, 31 May 2000 16:21:37 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:40256 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 31 May 2000 16:21:11 -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 RAA01316 for ; Wed, 31 May 2000 17:25:57 -0700 (PDT) mail_from (tduffy@dbear.engr.sgi.com) Received: from dbear.engr.sgi.com (dbear.engr.sgi.com [163.154.18.85]) by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id RAA69717; Wed, 31 May 2000 17:20:49 -0700 (PDT) mail_from (tduffy@dbear.engr.sgi.com) Received: from localhost (tduffy@localhost) by dbear.engr.sgi.com (8.9.3/8.8.7) with ESMTP id RAA02571; Wed, 31 May 2000 17:18:46 -0700 Date: Wed, 31 May 2000 17:18:46 -0700 (PDT) From: Thomas Duffy To: Ralf Baechle cc: linux-origin@oss.sgi.com Subject: Re: indy fucked In-Reply-To: <20000601014227.A19867@uni-koblenz.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing Ralf wrote: > Try to upgrade libc as well. > > This problem is FAQ on the other architecture, I just never ran into it > so I don't now offhand where __register_frame_info should get defined ... > > Ralf Well, if I downgrade bash to 1.14.7-7, it works. I also tried to put your glibc packaging (with 3lm version) on and that did not fix it. I think we need to get glibc 2.2 going. -tduffy From owner-linux-origin@oss.sgi.com Wed May 31 16:27:16 2000 Received: by oss.sgi.com id ; Wed, 31 May 2000 16:27:06 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:64484 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Wed, 31 May 2000 16:26:57 -0700 Received: from cacc-8.uni-koblenz.de (cacc-8.uni-koblenz.de [141.26.131.8]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id CAA13267; Thu, 1 Jun 2000 02:26:53 +0200 (MET DST) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Thu, 1 Jun 2000 02:26:38 +0200 Date: Thu, 1 Jun 2000 02:26:38 +0200 From: Ralf Baechle To: Thomas Duffy Cc: linux-origin@oss.sgi.com Subject: Re: indy fucked Message-ID: <20000601022638.A20148@uni-koblenz.de> References: <20000601014227.A19867@uni-koblenz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from tduffy@dbear.engr.sgi.com on Wed, May 31, 2000 at 05:18:46PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Wed, May 31, 2000 at 05:18:46PM -0700, Thomas Duffy wrote: > > Try to upgrade libc as well. > > > > This problem is FAQ on the other architecture, I just never ran into it > > so I don't now offhand where __register_frame_info should get defined ... > > > > Ralf > > Well, if I downgrade bash to 1.14.7-7, it works. I also tried to put your > glibc packaging (with 3lm version) on and that did not fix it. I think we > need to get glibc 2.2 going. No, first of all I am using these bash binaries, so they definately work. Second this is a libgcc symbol, not libc. Ralf From owner-linux-origin@oss.sgi.com Wed May 31 16:42:57 2000 Received: by oss.sgi.com id ; Wed, 31 May 2000 16:42:47 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:62582 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 31 May 2000 16:42:29 -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 RAA18123 for ; Wed, 31 May 2000 17:37:35 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id RAA93883 for ; Wed, 31 May 2000 17:41:58 -0700 (PDT) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id RAA19754 for linux-origin@oss.sgi.com; Wed, 31 May 2000 17:39:29 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200006010039.RAA19754@google.engr.sgi.com> Subject: networking changes To: linux-origin@oss.sgi.com Date: Wed, 31 May 2000 17:39:29 -0700 (PDT) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing FWIW, I tried ioc3-eth.c rev 1.16, and UP networking works with that. So does tot rev 1.18. I don't think Ralf (or anyone else) yet understands what the problem with UP networking is/was, but temporarily it seems to be getting masked. Just fyi, and please let me know if you observe the same behavior. Kanoj From owner-linux-origin@oss.sgi.com Wed May 31 16:48:07 2000 Received: by oss.sgi.com id ; Wed, 31 May 2000 16:47:57 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:53222 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Wed, 31 May 2000 16:47:53 -0700 Received: from cacc-8.uni-koblenz.de (cacc-8.uni-koblenz.de [141.26.131.8]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id CAA14042; Thu, 1 Jun 2000 02:47:49 +0200 (MET DST) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Thu, 1 Jun 2000 02:47:37 +0200 Date: Thu, 1 Jun 2000 02:47:37 +0200 From: Ralf Baechle To: Thomas Duffy Cc: linux-origin@oss.sgi.com Subject: Re: indy fucked Message-ID: <20000601024737.B20148@uni-koblenz.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from tduffy@dbear.engr.sgi.com on Wed, May 31, 2000 at 04:21:46PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Wed, May 31, 2000 at 04:21:46PM -0700, Thomas Duffy wrote: > I seem to have fucked my indy. everytime i try to run bash, ldd, and some > other important things I get the following error: > > [root@slacker RPMS]# ldd > sh: error in loading shared libraries > : undefined symbol: __register_frame_info > [root@slacker RPMS]# bash > bash: error in loading shared libraries > : undefined symbol: __register_frame_info > > i got here by trying to update bash from hard hat 5.1 to mips 6.0 rpms. > > is there a quick fix or do i need to wipe the harddrive? > > btw, if I ftp bash from another system, it still has this problem. Duh... The source of this symbol is unobvious, on my RM200 which has a slightly older distribution installed it's imported via libtermcap. That wasn't intentional ... Ralf From owner-linux-origin@oss.sgi.com Wed May 31 16:50:07 2000 Received: by oss.sgi.com id ; Wed, 31 May 2000 16:49:57 -0700 Received: from mailhost.uni-koblenz.de ([141.26.64.1]:64742 "EHLO mailhost.uni-koblenz.de") by oss.sgi.com with ESMTP id ; Wed, 31 May 2000 16:49:47 -0700 Received: from cacc-8.uni-koblenz.de (cacc-8.uni-koblenz.de [141.26.131.8]) by mailhost.uni-koblenz.de (8.9.3/8.9.3) with ESMTP id CAA14110; Thu, 1 Jun 2000 02:49:43 +0200 (MET DST) Received: (ralf@lappi) by lappi.waldorf-gmbh.de id ; Thu, 1 Jun 2000 02:49:30 +0200 Date: Thu, 1 Jun 2000 02:49:30 +0200 From: Ralf Baechle To: Kanoj Sarcar Cc: linux-origin@oss.sgi.com Subject: Re: networking changes Message-ID: <20000601024930.C20148@uni-koblenz.de> References: <200006010039.RAA19754@google.engr.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200006010039.RAA19754@google.engr.sgi.com>; from kanoj@google.engr.sgi.com on Wed, May 31, 2000 at 05:39:29PM -0700 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing On Wed, May 31, 2000 at 05:39:29PM -0700, Kanoj Sarcar wrote: > FWIW, I tried ioc3-eth.c rev 1.16, and UP networking works with that. > So does tot rev 1.18. I don't think Ralf (or anyone else) yet understands > what the problem with UP networking is/was, but temporarily it seems > to be getting masked. > > Just fyi, and please let me know if you observe the same behavior. I still have the UP networking problem on my machine. Ralf From owner-linux-origin@oss.sgi.com Wed May 31 18:45:38 2000 Received: by oss.sgi.com id ; Wed, 31 May 2000 18:45:18 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:15687 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 31 May 2000 18:44:53 -0700 Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id TAA08498 for ; Wed, 31 May 2000 19:49:40 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id TAA78270; Wed, 31 May 2000 19:43:38 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200006010243.TAA78270@google.engr.sgi.com> Subject: kernel compile time To: linux-origin@oss.sgi.com Date: Wed, 31 May 2000 19:43:38 -0700 (PDT) Cc: skunx@google.engr.sgi.com X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing Okay, after John tracked down the __kernel_clock_t size issue, and we implemented a sys32_times to translate from the kernel's view of 64 bit sized clock_t to the user's 32 bit view, here is the output of time make ARCH=mips vmlinux on an SMP kernel: 742.60user 98.79system 13:28.03elapsed 104%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (497099major+616071minor)pagefaults 0swaps The wall time looks really bad ... Kanoj From owner-linux-origin@oss.sgi.com Wed May 31 19:48:08 2000 Received: by oss.sgi.com id ; Wed, 31 May 2000 19:47:59 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:8994 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 31 May 2000 19:47:38 -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 UAA03513 for ; Wed, 31 May 2000 20:42:44 -0700 (PDT) mail_from (kanoj@google.engr.sgi.com) Received: from google.engr.sgi.com (google.engr.sgi.com [163.154.10.145]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id UAA22376 for ; Wed, 31 May 2000 20:45:52 -0700 (PDT) Received: (from kanoj@localhost) by google.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id UAA93168; Wed, 31 May 2000 20:43:22 -0700 (PDT) From: kanoj@google.engr.sgi.com (Kanoj Sarcar) Message-Id: <200006010343.UAA93168@google.engr.sgi.com> Subject: Re: kernel compile time To: kanoj@google.engr.sgi.com (Kanoj Sarcar) Date: Wed, 31 May 2000 20:43:22 -0700 (PDT) Cc: linux-origin@oss.sgi.com, skunx@google.engr.sgi.com In-Reply-To: <200006010243.TAA78270@google.engr.sgi.com> from "Kanoj Sarcar" at May 31, 2000 07:43:38 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing > > Okay, after John tracked down the __kernel_clock_t size issue, and we > implemented a sys32_times to translate from the kernel's view of 64 bit > sized clock_t to the user's 32 bit view, here is the output of > > time make ARCH=mips vmlinux > > on an SMP kernel: > > 742.60user 98.79system 13:28.03elapsed 104%CPU (0avgtext+0avgdata 0maxresident)k > 0inputs+0outputs (497099major+616071minor)pagefaults 0swaps > > The wall time looks really bad ... > > Kanoj > Here's some more "time" results: make 742.60user 98.79system 13:28.03elapsed 104%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (497099major+616071minor)pagefaults 0swaps make -j4 741.31user 127.30system 4:14.02elapsed 341%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (497100major+616061minor)pagefaults 0swaps make -j6 751.95user 127.98system 4:00.42elapsed 365%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (497100major+616009minor)pagefaults 0swaps make -j8 754.64user 129.48system 4:07.33elapsed 357%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (497100major+615999minor)pagefaults 0swaps Kanoj