Re: vdisk
Very true, and swapgen is what we use here. I didn't want to muddy the water he was looking through though with additional tools, until he understood what he had at the moment. If you don't understand where you are, it isn't really important that you might want to be 10 feet over there. -- Robert P. Nix Mayo Foundation.~. RO-OC-1-18 200 First Street SW/V\ 507-284-0844 Rochester, MN 55905 /( )\ -^^-^^ "In theory, theory and practice are the same, but in practice, theory and practice are different." On 4/20/11 10:42 AM, "David Boyes" wrote: >> Since it's a fresh disk every time, you'd have to do the mkswap every >> time >> you log in, so my guess is that's why you'd need the mkswap and >> subsequent >> swapon in the boot.local. The vdisk wouldn't be formatted when you get >> it at >> each fresh logon. > > I'll point out that running SWAPGEN before Linux IPL is intended to solve this > problem. IPL CMS in the Linux guest at boot, and run SWAPGEN in the PROFILE > EXEC. The swap disk is formatted and marked as a swap disk, and Linux "just > works" from release to release, without having to do local mods inside the > Linux system. > > --d b > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Adding a new 3390 disk
Yes you can, Jim. See the "Working with DASD device driver" section in Chapter 4 of the Device Drivers, Features and Commands" document found on IBM's zLinux web site. To bring a newly attach DASD device online to Linux, you basically just need to issue the chccwdev command: chccwdev -e 0.0.b100 where "b100" is the virtual address of the new DASD volume. DJ On 04/21/2011 12:04 PM, Hughes, Jim wrote: > I've created a new dasd volume for my linux system. It is attached to > the virtual machine running Red Hat Linux. > > Can I bring this new dasd online to the Linux image without rebooting > the Linux system? > > > Jim Hughes > Consulting Systems Programmer > Mainframe Technical Support Group > Department of Information Technology > State of New Hampshire > 27 Hazen Drive > Concord, NH 03301 > 603-271-5586Fax 603.271.1516 > > Statement of Confidentiality: The contents of this message are > confidential. Any unauthorized disclosure, reproduction, use or > dissemination (either whole or in part) is prohibited. If you are not > the intended recipient of this message, please notify the sender > immediately and delete the message from your system. > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > -- Dave Jones V/Soft Software www.vsoft-software.com Houston, TX 281.578.7544 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Adding a new 3390 disk
Yes. chccwdev -e [the new disk's virtual device address] lsdasd ...the first will bring the disk online, the second will show you the device address it is attached to (in case you're using the /dev/dasd[a-z]* paths instead of something like /dev/disk/by-path/ccw-0.0.[vdev]) On Thu, Apr 21, 2011 at 1:04 PM, Hughes, Jim wrote: > I've created a new dasd volume for my linux system. It is attached to > the virtual machine running Red Hat Linux. > > Can I bring this new dasd online to the Linux image without rebooting > the Linux system? > > > Jim Hughes > Consulting Systems Programmer > Mainframe Technical Support Group > Department of Information Technology > State of New Hampshire > 27 Hazen Drive > Concord, NH 03301 > 603-271-5586Fax 603.271.1516 > > Statement of Confidentiality: The contents of this message are > confidential. Any unauthorized disclosure, reproduction, use or > dissemination (either whole or in part) is prohibited. If you are not > the intended recipient of this message, please notify the sender > immediately and delete the message from your system. > > -- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Adding a new 3390 disk
Yes. Use the chccwdev command. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Hughes, Jim Sent: Thursday, April 21, 2011 1:04 PM To: LINUX-390@VM.MARIST.EDU Subject: Adding a new 3390 disk I've created a new dasd volume for my linux system. It is attached to the virtual machine running Red Hat Linux. Can I bring this new dasd online to the Linux image without rebooting the Linux system? Jim Hughes Consulting Systems Programmer Mainframe Technical Support Group Department of Information Technology State of New Hampshire 27 Hazen Drive Concord, NH 03301 603-271-5586Fax 603.271.1516 Statement of Confidentiality: The contents of this message are confidential. Any unauthorized disclosure, reproduction, use or dissemination (either whole or in part) is prohibited. If you are not the intended recipient of this message, please notify the sender immediately and delete the message from your system. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Adding a new 3390 disk
>>> On 4/21/2011 at 01:04 PM, "Hughes, Jim" wrote: > I've created a new dasd volume for my linux system. It is attached to > the virtual machine running Red Hat Linux. > > Can I bring this new dasd online to the Linux image without rebooting > the Linux system? Sure. chccwdev -e will bring it online. Follow whatever Red Hat processes are necessary to harden it. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Adding a new 3390 disk
I've created a new dasd volume for my linux system. It is attached to the virtual machine running Red Hat Linux. Can I bring this new dasd online to the Linux image without rebooting the Linux system? Jim Hughes Consulting Systems Programmer Mainframe Technical Support Group Department of Information Technology State of New Hampshire 27 Hazen Drive Concord, NH 03301 603-271-5586Fax 603.271.1516 Statement of Confidentiality: The contents of this message are confidential. Any unauthorized disclosure, reproduction, use or dissemination (either whole or in part) is prohibited. If you are not the intended recipient of this message, please notify the sender immediately and delete the message from your system. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Problems using channel-attached 3270 terminal
On Thursday, April 21, 2011, Peter Oberparleiter wrote: > On 20.04.2011 20:21, Patrick Finnegan wrote: > > I have a couple of 3270-mode terminals locally attached via a > > 3174-21L on my z890 running Debian/Squeeze in an LPAR. > > > > According to the 3270 terminal driver documentation, I should be > > able to enter ctrl-C, ctrl-D, etc, using ^C or ^D. I can > > successfully do this from the SE/HMC console window. > > Looking at drivers/s390/char/defkeymap.map, I see the following > definitions: > > control keycode 107 = Control_z # PA3 > control keycode 108 = Control_c # PA1 > control keycode 110 = Control_d # PA2 > > The comments suggest that pressing the PA1 key will generate > Control-C, PA2 Control-D and PA3 Control-Z. Have you tried using > these keys instead of the ^C sequence? I've used PA2 to generate ^D. I'll try the others. Of course the one thing I'm most interested in, is that the documentation [Documentation/s390/3270.txt) says that I can enter ^n at the end of the line (though from the defkeymap.map file it looks like that should really be just a lone ^ at the end of the line) to send input without a newline at the end. It would make stuff like vim much easier to use from a 3270. Of course, the 3270.txt also refers to non-existant things in /proc which have probably moved to /sys somewhere, to configure the 3270 driver. Hopefully at some point i'll have time to contribute some updates to that documentation, once I sort out what is going on. Thanks. -- Patrick Finnegan -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Problems using channel-attached 3270 terminal
On 20.04.2011 20:21, Patrick Finnegan wrote: I have a couple of 3270-mode terminals locally attached via a 3174-21L on my z890 running Debian/Squeeze in an LPAR. According to the 3270 terminal driver documentation, I should be able to enter ctrl-C, ctrl-D, etc, using ^C or ^D. I can successfully do this from the SE/HMC console window. Looking at drivers/s390/char/defkeymap.map, I see the following definitions: control keycode 107 = Control_z # PA3 control keycode 108 = Control_c # PA1 control keycode 110 = Control_d # PA2 The comments suggest that pressing the PA1 key will generate Control-C, PA2 Control-D and PA3 Control-Z. Have you tried using these keys instead of the ^C sequence? Regards, Peter Oberparleiter -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: z/VM RedHat Virtual Machine Memory abend
This is a kernel bug. If this is a GA kernel, open a service request against RH/IBM to get it fixed. with kind regards Carsten Otte IBM Linux Technology Center / Boeblingen lab -- omnis enim res, quae dando non deficit, dum habetur et non datur, nondum habetur, quomodo habenda est -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: z/VM RedHat Virtual Machine Memory abend
On 21.04.2011 00:19, Carlos Bodra - Pessoal wrote: If linux virtual machine is defined with 64G in directory we got an abend during startup (see below). Doing some tests I found that I can define it until 59G in directory (60794036k from TOP linux command) and it will startup correctly. My questions are: 1 - Is this a limitation of linux s390x or Red Hat distribution? 2 - Is this a linux s390x bug or Red Hat distribution? 3 - How can I circunvent this so we can continue with POC (Proof Of Concept)? There is a chance that the initial ramdisk of your system is being overwritten by the "memory map" that Linux creates at boot time. Try increasing the ramdisk load address in your zipl.conf file (see chapter 37 in * for instructions). Regards, Peter Oberparleiter [*] http://public.dhe.ibm.com/software/dw/linux390/docu/lk37dd09.pdf -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: vdisk
David, Please be aware that if you do not have an external security manager in your z/VM system, CP will provide access to other minidisks based on the minidisk passwords in the CP directory. When you define all for instance all your Linux swap disks as: MDISK 203 FB-512 V-DISK 409600 MR READ WRITE MULTIPLE That means that anyone who knows the passwords (and that is now the whole community), can, when they have access to your system, do a "CP LINK other_userid 0203 MW PASS=MULTIPLE" and get the ability to read/write the swap disk of "other_userid". So I would advise to only add minidisk passwords where and when you need them. For instance the "ALL" as read password allows any user-id to link the disk in read mode. A second word of caution, Linux does not like to get a disk in read/only mode when it does not expect so. The linkmode "MR" gives you the disk in read/write mode, unless someone has the disk already linked in write mode, you get the disk then linked in read/only mode. The linkmode you want for Linux guests is "M". That links you the disk in read/write mode, unless someone already has the disk linked read/write, in that case the link fails, something that even Linux user-land tools notice. Ronald van der Laan -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/