Re: Adding QDIO guest lan to server

2004-04-05 Thread Kern, Thomas
The real source of my problem was an incorrect port number on the lcs device
specification.

chandev=noauto allows it to work even with an incorrect port number, but
then screws up the qeth initialization erroneously giving the IDX TERMINATE
code 0x22 message.

Removing the chandev= allows the qeth to initialize properly but then the
LCS driver complains about no LCS compatible cards.

Fixing both the lcs port number and the chandev= is the solution.
Many thanks to Aria Bamdad for getting me to walk through all the port
numbers to find the inconsistancy.

/Thomas Kern
/301-903-2211

 -Original Message-
 From: Alan Altmark [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 02, 2004 13:58
 To: [EMAIL PROTECTED]
 Subject: Re: Adding QDIO guest lan to server

 Everyone has access to the source code.  One of my favorite URLs is
 http://lxr.linux.no/source/drivers/s390/?a=s390.  Navigate
 into the net
 subdirectory and there you go.

 IDX TERMINATE code 0x22 means that the portname specified
 conflicts with a
 portname already set in the adapter by another active
 subchannel on the
 same chpid.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Changing timezome

2004-04-05 Thread Mike Lovins
 Can someone help me. I am farely new to Linux and I noticed that we have the 
wrong timezone on one of our linux test lpars. Can someone tell me to process to 
change the timezone from PDT to CDT.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Changing timezome

2004-04-05 Thread Post, Mark K
That depends on what distribution you're running.  Which one do you have?


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 10:59 AM
To: [EMAIL PROTECTED]
Subject: Changing timezome


 Can someone help me. I am farely new to Linux and I noticed that we
have the wrong timezone on one of our linux test lpars. Can someone tell me
to process to change the timezone from PDT to CDT.

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Changing timezome

2004-04-05 Thread Mike Lovins
SUSE 8.0 on a IBM z800 mainframe.

 [EMAIL PROTECTED] 04/05/04 10:12AM 
That depends on what distribution you're running.  Which one do you have?


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 10:59 AM
To: [EMAIL PROTECTED] 
Subject: Changing timezome


 Can someone help me. I am farely new to Linux and I noticed that we
have the wrong timezone on one of our linux test lpars. Can someone tell me
to process to change the timezone from PDT to CDT.

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


ifl

2004-04-05 Thread Zoran Trifunovic
HI!
Can I run Linux and Z/VM in an IFL at the same time?

Best regards

Zoran Trifunovic
PTT,Serbia

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ifl

2004-04-05 Thread Adam Thornton
On Mon, 2004-04-05 at 10:53, Zoran Trifunovic wrote:
 HI!
 Can I run Linux and Z/VM in an IFL at the same time?

Yes, if you're running Linux under z/VM.

Adam

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ifl

2004-04-05 Thread Mike Lovins
yes!  but the z/VM is not a full blown VM version.

 [EMAIL PROTECTED] 04/05/04 10:53AM 
HI!
Can I run Linux and Z/VM in an IFL at the same time?

Best regards

Zoran Trifunovic
PTT,Serbia

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


IFL

2004-04-05 Thread Zoran Trifunovic
HI!
Can I run Linux native and Z/VM in an IFL at the same time?

Best regards

Zoran Trifunovic
PTT,Serbia

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ifl

2004-04-05 Thread Alan Altmark
On Monday, 04/05/2004 at 10:55 EST, Adam Thornton
[EMAIL PROTECTED] wrote:
 On Mon, 2004-04-05 at 10:53, Zoran Trifunovic wrote:
  HI!
  Can I run Linux and Z/VM in an IFL at the same time?

 Yes, if you're running Linux under z/VM.

Or if you run Linux in an LPAR on an IFL.

Alan Altmark
Sr. Software Engineer
IBM z/VM Development

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ifl

2004-04-05 Thread Post, Mark K
Or if you're running two LPARs with the IFL shared between them, you could
run Linux in one LPAR and z/VM in the other.  But that would be masochistic.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Adam
Thornton
Sent: Monday, April 05, 2004 11:55 AM
To: [EMAIL PROTECTED]
Subject: Re: ifl


On Mon, 2004-04-05 at 10:53, Zoran Trifunovic wrote:
 HI!
 Can I run Linux and Z/VM in an IFL at the same time?

Yes, if you're running Linux under z/VM.

Adam

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ifl

2004-04-05 Thread Post, Mark K
That's not true.  There may not be as many program products that can be
licensed on an IFL as a standard processor (assuming no attempt is made to
obtain a special bid license from IBM), but the z/VM piece is the exact
same.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 11:57 AM
To: [EMAIL PROTECTED]
Subject: Re: ifl


yes!  but the z/VM is not a full blown VM version.

 [EMAIL PROTECTED] 04/05/04 10:53AM 
HI!
Can I run Linux and Z/VM in an IFL at the same time?

Best regards

Zoran Trifunovic
PTT,Serbia

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Changing timezome

2004-04-05 Thread Post, Mark K
YaST - System - Select time zone


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 11:41 AM
To: [EMAIL PROTECTED]
Subject: Re: Changing timezome


SUSE 8.0 on a IBM z800 mainframe.

 [EMAIL PROTECTED] 04/05/04 10:12AM 
That depends on what distribution you're running.  Which one do you have?


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 10:59 AM
To: [EMAIL PROTECTED]
Subject: Changing timezome


 Can someone help me. I am farely new to Linux and I noticed that we
have the wrong timezone on one of our linux test lpars. Can someone tell me
to process to change the timezone from PDT to CDT.

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Changing timezome

2004-04-05 Thread Mike Lovins
thanks,
But when I run YaST - Sysyem I get a seletion of (Restore system, Back up your 
system, Profile manager, Powertweak configuration, Editor for /etc/sysconfig, and 
LVM).  I do not have a Select time zone. 

 [EMAIL PROTECTED] 04/05/04 11:06AM 
YaST - System - Select time zone


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 11:41 AM
To: [EMAIL PROTECTED] 
Subject: Re: Changing timezome


SUSE 8.0 on a IBM z800 mainframe.

 [EMAIL PROTECTED] 04/05/04 10:12AM 
That depends on what distribution you're running.  Which one do you have?


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 10:59 AM
To: [EMAIL PROTECTED] 
Subject: Changing timezome


 Can someone help me. I am farely new to Linux and I noticed that we
have the wrong timezone on one of our linux test lpars. Can someone tell me
to process to change the timezone from PDT to CDT.

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390 

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390 

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ifl

2004-04-05 Thread Michael Short
It's a full blown z/VM, it's just the list of licensed programs that is
limited. You can run CMS, all the features, and RSCS for LPx functions.
There may be more but those I can remember right off.





   To:   [EMAIL PROTECTED]
   cc:   (bcc: Michael Short/Towers 
Perrin)
Mike LovinsSubject:  Re: ifl
[EMAIL PROTECTED]
sa.ok.us
Sent by: Linux
on 390 Port
[EMAIL PROTECTED]
ARIST.EDU


04/05/2004
11:57 AM
Please respond
to Linux on 390
Port





yes!  but the z/VM is not a full blown VM version.

 [EMAIL PROTECTED] 04/05/04 10:53AM 
HI!
Can I run Linux and Z/VM in an IFL at the same time?

Best regards

Zoran Trifunovic
PTT,Serbia

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


ssh and telnet not working after rhel3 u1 install.

2004-04-05 Thread Jim Sibley
A colleague tried to build a new system using the
RHEL3 U1 cds. After the install, he cannot login
remotely from either ssh or telnet. He can login to
the local console. Ping works successfully from
outside hosts and he can ping out.

However, when he does a telnet he gets a No route to
host and ssh gets a port 22: No route to host.

What would be stopping both telnet and ssh logins?

=
Jim Sibley
RHCT, Implementor of Linux on zSeries

Computer are useless.They can only give answers. Pablo Picasso

__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ssh and telnet not working after rhel3 u1 install.

2004-04-05 Thread Post, Mark K
He probably selected medium security which disables network access.
Try iptables -F and see if that improves things.

Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Jim
Sibley
Sent: Monday, April 05, 2004 12:34 PM
To: [EMAIL PROTECTED]
Subject: ssh and telnet not working after rhel3 u1 install.


A colleague tried to build a new system using the
RHEL3 U1 cds. After the install, he cannot login
remotely from either ssh or telnet. He can login to
the local console. Ping works successfully from
outside hosts and he can ping out.

However, when he does a telnet he gets a No route to
host and ssh gets a port 22: No route to host.

What would be stopping both telnet and ssh logins?

=
Jim Sibley
RHCT, Implementor of Linux on zSeries

Computer are useless.They can only give answers. Pablo Picasso

__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Changing timezome

2004-04-05 Thread Post, Mark K
Are you running the GUI, or actually issuing the yast command?  I did the
latter.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 12:17 PM
To: [EMAIL PROTECTED]
Subject: Re: Changing timezome


thanks,
But when I run YaST - Sysyem I get a seletion of (Restore system, Back
up your system, Profile manager, Powertweak configuration, Editor for
/etc/sysconfig, and LVM).  I do not have a Select time zone.

 [EMAIL PROTECTED] 04/05/04 11:06AM 
YaST - System - Select time zone


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 11:41 AM
To: [EMAIL PROTECTED]
Subject: Re: Changing timezome


SUSE 8.0 on a IBM z800 mainframe.

 [EMAIL PROTECTED] 04/05/04 10:12AM 
That depends on what distribution you're running.  Which one do you have?


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 10:59 AM
To: [EMAIL PROTECTED]
Subject: Changing timezome


 Can someone help me. I am farely new to Linux and I noticed that we
have the wrong timezone on one of our linux test lpars. Can someone tell me
to process to change the timezone from PDT to CDT.

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Changing timezome

2004-04-05 Thread Post, Mark K
If that still doesn't work for you, try this:
/bin/bash /sbin/yast timezone


Mark Post

-Original Message-
From: Post, Mark K
Sent: Monday, April 05, 2004 12:40 PM
To: 'Linux on 390 Port'
Subject: RE: Changing timezome


Are you running the GUI, or actually issuing the yast command?  I did the
latter.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 12:17 PM
To: [EMAIL PROTECTED]
Subject: Re: Changing timezome


thanks,
But when I run YaST - Sysyem I get a seletion of (Restore system, Back
up your system, Profile manager, Powertweak configuration, Editor for
/etc/sysconfig, and LVM).  I do not have a Select time zone.

 [EMAIL PROTECTED] 04/05/04 11:06AM 
YaST - System - Select time zone


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 11:41 AM
To: [EMAIL PROTECTED]
Subject: Re: Changing timezome


SUSE 8.0 on a IBM z800 mainframe.

 [EMAIL PROTECTED] 04/05/04 10:12AM 
That depends on what distribution you're running.  Which one do you have?


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 10:59 AM
To: [EMAIL PROTECTED]
Subject: Changing timezome


 Can someone help me. I am farely new to Linux and I noticed that we
have the wrong timezone on one of our linux test lpars. Can someone tell me
to process to change the timezone from PDT to CDT.

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: s390 storage key inconsistency? [was Re: msync() behaviour broken for MS_ASY

2004-04-05 Thread Jan Jaeger
The reference bit is not 100% accurate anyway:

The reference bit may be set
to one by fetching data or instructions that are
neither designated nor used by the program, and,
under certain conditions, a reference may be
made without the reference bit being set to one.
Under certain unusual circumstances, a reference
bit may be set to zero by other than explicit
program action.
Jan.

From: Martin Schwidefsky [EMAIL PROTECTED]
Reply-To: Linux on 390 Port [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: s390 storage key inconsistency?  [was Re: msync() behaviour
broken for MS_ASYNC, revert patch?]
Date: Thu, 1 Apr 2004 20:13:40 +0200
Hi Stephen,

 I just happened to follow the function and noticed that on s390,
 page_test_and_clear_dirty() has the comment:

 * Test and clear dirty bit in storage key.
 * We can't clear the changed bit atomically. This is a potential
 * race against modification of the referenced bit. This function
 * should therefore only be called if it is not mapped in any
 * address space.

 but in this case the page is clearly mapped in the caller's address
 space, else we wouldn't have reached this.

 Is this a problem?
The clearing of the dirty bit while the page is still mapped somewhere
races against the setting of the referenced bit. The worst that can
happen is that the setting of a referenced bit gets lost. This can lead
to a bad swapping decision because a page is considered to be old but
in reality someone accessed it recently. This is not nice but it doesn't
happen often. This isn't a problem as long as no dirty bit gets lost.
blue skies,
   Martin
Linux/390 Design  Development, IBM Deutschland Entwicklung GmbH
Schvnaicherstr. 220, D-71032 Bvblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: [EMAIL PROTECTED]
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
_
MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Changing timezome

2004-04-05 Thread Mike Lovins
Hay Mark,
  
T H A N K S, that did it! 

 [EMAIL PROTECTED] 04/05/04 11:44AM 
If that still doesn't work for you, try this:
/bin/bash /sbin/yast timezone


Mark Post

-Original Message-
From: Post, Mark K
Sent: Monday, April 05, 2004 12:40 PM
To: 'Linux on 390 Port'
Subject: RE: Changing timezome


Are you running the GUI, or actually issuing the yast command?  I did the
latter.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 12:17 PM
To: [EMAIL PROTECTED] 
Subject: Re: Changing timezome


thanks,
But when I run YaST - Sysyem I get a seletion of (Restore system, Back
up your system, Profile manager, Powertweak configuration, Editor for
/etc/sysconfig, and LVM).  I do not have a Select time zone.

 [EMAIL PROTECTED] 04/05/04 11:06AM 
YaST - System - Select time zone


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 11:41 AM
To: [EMAIL PROTECTED] 
Subject: Re: Changing timezome


SUSE 8.0 on a IBM z800 mainframe.

 [EMAIL PROTECTED] 04/05/04 10:12AM 
That depends on what distribution you're running.  Which one do you have?


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Lovins
Sent: Monday, April 05, 2004 10:59 AM
To: [EMAIL PROTECTED] 
Subject: Changing timezome


 Can someone help me. I am farely new to Linux and I noticed that we
have the wrong timezone on one of our linux test lpars. Can someone tell me
to process to change the timezone from PDT to CDT.

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390 

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390 

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390 

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390 

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


logout script from vm

2004-04-05 Thread Scorch Burnet
on occassion, we need to do a poweron/reset of our z800.  I would like a
way to issue a 'shutdown -h 5' command to each linux guest from a vm
exec.  Can this be done?  If someone has done this, would they be
willing to share the code?
tia, Scorch
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: logout script from vm

2004-04-05 Thread Adam Thornton
On Mon, 2004-04-05 at 18:00, Scorch Burnet wrote:
 on occassion, we need to do a poweron/reset of our z800.  I would like a
 way to issue a 'shutdown -h 5' command to each linux guest from a vm
 exec.  Can this be done?  If someone has done this, would they be
 willing to share the code?

You basically have two options here.  One is to build the kernel with
the shutdown-on-interrupt feature enabled, which is the best; then you
just CP SIGNAL SHUTDOWN LINUX.  If you have your guests set up so that
they come up with the console already logged in as root, or if you don't
mind storing their passwords in cleartext in the OPERATOR userid, you
can do a CP SEND (from a pipe, so it doesn't uppercase everything) to
the guest to execute the appropriate commands (shutdown or login and
shutdown).

Adam

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: logout script from vm

2004-04-05 Thread Richard Troth
So many ways to skin this cat.

 on occassion, we need to do a poweron/reset of our z800.  I would like a
 way to issue a 'shutdown -h 5' command to each linux guest from a vm
 exec.  Can this be done?  If someone has done this, would they be
 willing to share the code?

Neale and Adam both just (simultaneously! in stereo!) recommended
'CP SIGNAL SHUTDOWN',  which is probably the best way.

We use a script I call 'suloginv' on most of our VM-based Linuxs.
(File is attached.)   You get perpetual shell on the virtual console.
Operators therefore do not need the root password,  and yet have
full control by way of SECUSER,  a VM facility.   And there are
at least two other shell on the console methods known in
this community.   You would then have to

/* REXX */
vmid = /* the linux guest you want to shut down */
'CP SET SECUSER' vmid '*'
Call Diag 08, 'CP SEND' user shutdown -h 5

... from a CMS account like OPERATOR.
Save the above four lines as KILLIT EXEC then enter

killit

You get the idea.

-- R;

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
#!/bin/sh 
# 
# 
# Date: 2000-Sep-16 (Sun) 
# 
# 
 
# 
# argument #1 can be a console filespec: 
CONSOLE=$1 
if [ -z $CONSOLE ] ; then CONSOLE=/dev/console ; fi 
if [ ! -c $CONSOLE -a -c /dev/$CONSOLE ] ; then 
CONSOLE=/dev/$CONSOLE ; fi 
 
# 
# set the prompt string: 
PS1=`hostname`
#PS1=$PS1 #  
PS1=$PS1 \\\$  
export PS1 
 
# 
# set the shell to something safe: 
SHELL=/bin/sh 
if [ -x /sbin/sh ] ; then SHELL=/sbin/sh ; fi 
 
# 
# add a couple important things to command search PATH var: 
if [ -d /usr/bin/X11 ] ; then PATH=$PATH:/usr/bin/X11 ; fi 
if [ -d /usr/local/bin ] ; then PATH=$PATH:/usr/local/bin ; fi 
export PATH 
 
# 
# now run that shell: 
exec $SHELL -i 0$CONSOLE 1$CONSOLE 2$CONSOLE 
 



Re: logout script from vm

2004-04-05 Thread Scorch Burnet
z/VM is 4.4 with SLES8
What constitutes the right  stuff in  the /etc/inittab?
Ferguson, Neale wrote:

What level of z/VM and Linux are you using? If you are at the right level
then a #CP SIGNAL SHUTDOWN user WITHIN nn will get your guests to
shutdown (if the /etc/inittab has the right stuff in it).
Otherwise, assuming root is logged on to the console:

'CP SET SECUSER linuxguy'
CPRc = DIAG(8,'CP SEND linuxguy shutdown -h 5')
'CP SET SECUSER linuxguy RESET'
else

'CP SET SECUSER linuxguy'
CPRc = DIAG(8,'root')
'CP SL 1 SEC'
CPRc = DIAG(8,'password')
'CP SL 1 SEC'
CPRc = DIAG(8,'CP SEND linuxguy shutdown -h 5')
'CP SET SECUSER linuxguy RESET'
-Original Message-
on occassion, we need to do a poweron/reset of our z800.  I would like a
way to issue a 'shutdown -h 5' command to each linux guest from a vm
exec.  Can this be done?  If someone has done this, would they be
willing to share the code?
tia, Scorch
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: logout script from vm

2004-04-05 Thread Scorch Burnet
Thanks everyone

Ferguson, Neale wrote:

# z/VM or LPAR is shutting down
ca:12345:ctrlaltdel:/sbin/shutdown -h now
When you've updated this, issue telinit -q to get init to re-read the table.

-Original Message-
z/VM is 4.4 with SLES8
What constitutes the right  stuff in  the /etc/inittab?
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: logout script from vm

2004-04-05 Thread Marcy Cortes
Neale and Adam both just (simultaneously! in stereo!) recommended
'CP SIGNAL SHUTDOWN',  which is probably the best way.

It can be actually even easier than that if you enable the signals in the
SYSTEM CONFIG something like this:

Set shutdowntime 30  /* system default - this is for VM   */
Set Signal SHutdowntime 300  /* for guests to shutdown - deflt 0  */


Then you don't have to do a thing!  Just shutdown VM - or even deativate the
LPAR!

Marcy (who still thinks the SYSTEM CONFIG ought to have that in there by
default :)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: logout script from vm

2004-04-05 Thread Minasian, [EMAIL PROTECTED]
What's the difference between the force command and cp signal shutdown?
We've been using the force, since that's the command that I found first.
Should we change our procedures?

Thanks

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: logout script from vm

2004-04-05 Thread Ferguson, Neale
Shutdown combined with the signal service will result in an orderly shutdown
with no need for fsck at boot. Force just gets rid of the virtual machine
without it being able to cleanly exit this life.

-Original Message-
What's the difference between the force command and cp signal shutdown?
We've been using the force, since that's the command that I found first.
Should we change our procedures?

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: logout script from vm

2004-04-05 Thread David Boyes
 What's the difference between the force command and cp signal
 shutdown?

It's like the difference between hitting someone over the head with an axe
and asking them politely to leave and clean up their mess before they go.

 We've been using the force, since that's the command that I
 found first.
 Should we change our procedures?

Yes.

SIGNAL SHUTDOWN (if the Linux support is enabled) is a graceful shutdown
with proper unmounts of the filesystems and clean termination. FORCE is die
now, no chance for redemption.

-- db

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Nagios plug-in nrpep

2004-04-05 Thread Ranga Nathan
Has anyone got nrpep working successfully?
I am having a hard time and unable to easily describe the problem. I need
to monitor disk usage, load, and other metrics for which I can code a
plug-in.
Thanks for any guidance.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390