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