Re: NFS messages
On Thursday 16 December 2010, you wrote: Is there a log were an NFS server would write errors? When i migrated from SLES 10 to SLES 11 I forgot to transfer my /etc/exports file. I'm now trying to create one to allow my z/OS USS system to connect and it keeps failing. I can't seem to find any messages on the linux side to tell me what's going on. Quickly checking my Gentoo AMD64 system NFS writes to the syslog with facility daemon so check your syslog config. HTH -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: Linux boot image for s390
On Sunday 09 May 2010, Błażej Ślusarek wrote: Hello, First of all, thanks for quick reply and explanation of some basics. Well, the distribution I'm trying to install (gentoo) doesn't provide the installation image, however the s390 architecture is supported. So I'm forced to create the image by myself. I'll try to cross-compile the kernel and see if it will work. Gentoo already supplied a complete s390 distro in 2007. I fixed it up a bit and documented a boot-strap technique using Red Hat images. You can find the results in http://www.binro.org/gentoo-2008.6-s390x-unofficial.tar.bz2. It's a long time since I played with this though, so good luck! Incidentally I did it on Hercules but I guess it's much the same with real iron, you just have to burn a CD? HTH -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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
Re: zLinux entropy
On Monday 03 May 2010, Rodger Donaldson wrote: On Sun, May 02, 2010 at 11:20:04AM -0700, Alan Ackerman wrote: OK, I will display my ignorance and ask. What is Entropy in Linux? I know a little bit about entropy in the second and third laws of thermodynamics. But I don't see what that has to do with Linux. Wikipedia actually has a a decent overview (and a horribly in-depth discussion): http://en.wikipedia.org/wiki/Information_entropy In layman's terms, information entropy is the same as randomness. A string of random letters along the lines of fHJZXpVVbuqKbaazaaw can be said to have high information entropy, in other words large amounts of entropy: And this gem: The inspiration for adopting the word entropy in information theory came from the close resemblance between Shannon's formula and very similar known formulae from thermodynamics. http://www.merrymeet.com/jon/usingrandom.html is quite an interesting read, too. And for how Shannon's work can lead to a Theory of Everything see an interesting review in The Economist: http://www.economist.com/culture/displaystory.cfm?story_id=15949137 HTH -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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
Re: Linux appliance
On Monday 02 Feb 2009, Rick Troth wrote: On Sat, 31 Jan 2009, Mark Post wrote: Are you talking about Hercules? If so, contact me off list, and we'll set up some time to take a look at things together. Thanks much, Mark. The particular present pain is purely networking and not specific to Hercules. See: Linux on System z Device Drivers, Features, and Commands May, 2008 SC33-8411-00 Part 3, chapters 9 - 13 have all the gory details (basically a lot of echo commands). HTH -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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
Re: z/VM CTCA won't start
On Monday 19 Jan 2009, David Boyes wrote: Umm, not to damp the fun here, but I don't think this is a permitted use of the Eval Edition code. Has anyone checked with IBM? Actually I had a very nice personal email from the manager, zServer platform (S.E. Asia) asking how I was getting on, was I using the EE for personal education or did I need a team of engineers to come round and sort out my server farm. He did not seem concerned when I said I was trying it out on Herc and indeed tried to be helpful when I asked him if he could get me a job in the region! BTW, I solved the CTC problem. -- -- Robin Atwood, Bangkok, Thailand. -- -- 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
Re: z/VM CTCA won't start
On Tuesday 20 Jan 2009, Mark Perry wrote: Robin Atwood wrote: I asked him if he could get me a job in the region! BTW, I solved the CTC problem. -- -- Robin Atwood, Bangkok, Thailand. -- Get to the back of the queue(line)! Mark Perry, Uttaradit, Thailand. Even if he had had one, it would have meant moving to Malaysia. :( -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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
z/VM CTCA won't start
I am playing around with z/VM V5R3 Eval Edition which now IPLs under Hercules 3.06. It's intended to demonstrate running Linux under z/VM but before I can do that I have to get the networking for VM going. I have altered PROFILE TCPIP to use a CTC but when I logon TCPIP I get messages: DTCCTC080I CTCA initializing: DTCPRI385I Device CTCA0: DTCPRI386I Type: CTC, Status: Not started and CTCA shuts down. The CTCs are defined and attached OK: q ctca CTCA 0E22 ATTACHED TO DTCVSW2 0E22 CTCA 0E23 ATTACHED TO DTCVSW2 0E23 This almost certainly something totally obvious but I am a VM n00b; what have I missed out? TIA -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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
Re: 3270 console confusion
On Tuesday 26 Aug 2008, Mark Post wrote: This is the critical point. I made this change (and nothing else) and then then it all 'Just Worked (TM). That should not be necessary on a kernel with all the 3270 support compiled in. It may simply be that you need to add conmode=3270 to your parameters in /etc/zipl.conf and re-run zipl. Since I can't get the CVS version of hercules to build, I cannot verify that. I have also got it to work on my Gentoo system with a 2.6.26 kernel. However, passing any of the console/conmode parameters to the kernel results in a disabled wait state, although these do not seem to be necessary. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Tuesday 26 Aug 2008, Mark Post wrote: Ok, I got things working on my hercules system, but I'm not sure it's going to satisfy you. From what I can tell, you can't get a 3270 effect on the actual hercules console. You have to use a TN3270 connection to the TCP/IP port specified by CNSLPORT. Obviously, that's what I have been doing. The kernel that comes pre-SP1 does _not_ compile the 3270 support into the kernel, but as modules. This gets fixed later on, as I indicated previously. There's a bug in hercules that prevents me from booting up a SP1 kernel or later, so I'm not entirely sure just what level fixed it. The kernel started using a Diagnose instruction not supported by Hercules. The problem is fixed in the CVS code. If you're forced into running a pre-SP1 kernel as well, then there are a couple of things you'll want/need to do: - Update /etc/zipl.conf so that you have insmod=tty3270 on the kernel parm line. - Update /etc/sysconfig/kernel to add tty3270 to the list of modules to be built into the initrd. - Re-run mkinitrd. - Re-run zipl. I am now using the same kernel as you: 2.6.16.54-0.2.8-default. I now see # zgrep 3270 /proc/config.gz CONFIG_TN3270=y CONFIG_TN3270_TTY=y CONFIG_TN3270_FS=y CONFIG_TN3270_CONSOLE=y which shows all the modules are built-in. - Update /etc/init.d/boot.local to add this command: /sbin/chccwdev -e 0.0. where is the device number assigned to your console. In your particular case, that would be /sbin/chccwdev -e 0.0.001f This is the critical point. I made this change (and nothing else) and then then it all 'Just Worked (TM). Dave Jones sent me a copy of ned which installs without problems. However, it seems you must code; ned -T /dev/tub0.0.001f filename This has been a magnificent effort on your part, Mark. Hopefully it has helped people with more funds at their disposal than me. I guess that we are all a bit more enlightened about a not very well documented feature. Now to graft the technique onto Gentoo... Cheers -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Tuesday 26 Aug 2008, Mark Post wrote: - Update /etc/init.d/boot.local to add this command: /sbin/chccwdev -e 0.0. where is the device number assigned to your console. In your particular case, that would be /sbin/chccwdev -e 0.0.001f This is the critical point. I made this change (and nothing else) and then then it all 'Just Worked (TM). That should not be necessary on a kernel with all the 3270 support compiled in. It may simply be that you need to add conmode=3270 to your parameters in /etc/zipl.conf and re-run zipl. Since I can't get the CVS version of hercules to build, I cannot verify that. Well, before it didn't work, now, after adding the chccwdev command, it does. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Sunday 24 Aug 2008, Mark Post wrote: On 8/23/2008 at 12:26 PM, in message So, what does ls -l /dev/tty* show you? Also, what does your hercules configuration file look like? # ls /dev/tty* /dev/tty /dev/tty10 /dev/ttyS1 /dev/ttyS3 /dev/ttyS5 /dev/ttyS7 /dev/tty1 /dev/ttyS0 /dev/ttyS2 /dev/ttyS4 /dev/ttyS6 /dev/ttysclp0 hercules.cnf: # local non-SNA 3270 TN3270 client connection 001F 3270 # CKD direct access storage device # initialize with: dasdinit -z linux.120 3390-3 lin000 0120 3390 LIN000.3390 0121 3390 LIN001.3390 0122 3390 SWAP00.3390 0123 3390 LIN002.3390 HTH -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Friday 22 Aug 2008, Mark Post wrote: On 8/21/2008 at 4:11 PM, in message The first part of my article at http://www.zjournal.com/index.cfm?section=articleaid=992 talks about how you register your system. If you follow those directions, the setup is done for you by the tools. Ok, I give up, the yup thing is complete overkill, it downloaded 3GB of rpms I have no interest in before it filled up the file-system. All I want is *one* rpm file, maybe plus a dependency. It seems impossible to find anything on the Novell website. If I go to the Patch finder and select s390x, nothing is found. If I enter kernel-default into the search field, no kernels are found. I am logged in, so please tell me, what is the secret? TIA -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Saturday 23 Aug 2008, Marcy Cortes wrote: With the defaults, your going to get all the patches from GA, SP1, and SP2 plus the ones to take you from each of the levels to the other. That'll be like 12G of stuff. If you're already SP2 (either installed from that media or upgraded with the DVD image), just pull the ones for SP2+. Change YUP_SP_SUBCHANNELS to -Updates and YUP_SUBVERSIONS to SP2. I finally managed to workout how to download individual rpms. You ignore any pages mentioning patches - that's a trick. Go to the main download page and it will work as long as you are logged in, unfortunately it logs you out after a very short period of inactivity without any warning. So the s390x entries kept on disappearing! Anyway, I installed the new kernel which does have 3270 support build in but the behavior was exactly the same as with the previous kernel. I think we need a better manual... -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: Distribution ages, was: Linux version
On Thursday 21 Aug 2008, John Summerfield wrote: Evans, Kevin R wrote: Kinda makes one realize how long z/OS (or its ancestors) has been around, doesn't it? MFT? There was something called PCP that predated MFT but I am happy to say I never worked on it! :D See: http://en.wikipedia.org/wiki/IBM_mainframe -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Friday 22 Aug 2008, Mark Post wrote: The first part of my article at http://www.zjournal.com/index.cfm?section=articleaid=992 talks about how you register your system. If you follow those directions, the setup is done for you by the tools. Thanks for the pointer. I have activated the product and configured yup as documented but when I run it I get a lot of messages: * Server auth using Basic with user '6e9da102cb3f4b489faf7f361133b342' GET /repo/$RCE/SLES10-SP1-Updates/sles-10-s390x/repodata/repomd.xml.asc HTTP/1.1 Authorization: Basic NmU5ZGExMDJjYjNmNGI0ODlmYWY3ZjM2MTEzM2IzNDI6MjM1YTZlZTFhYzA2NDdmMGEyNWQwNzg0MmIzZTEzZmM= User-Agent: curl/7.15.1 (s390x-ibm-linux) libcurl/7.15.1 OpenSSL/0.9.8a zlib/1.2.3 libidn/0.6.0 Host: nu.novell.com Accept: */* % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 0 00 00 0 0 0 --:--:-- 0:00:02 --:--:-- 0 HTTP/1.1 401 Unauthorized X-Error-Info: Access to this page is restricted because of access control policies I have set YUP_ID and YUP_PASS to the values in /etc/zmd, so what have I missed? TIA -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Friday 22 Aug 2008, Mark Post wrote: On 8/22/2008 at 8:52 AM, in message I have set YUP_ID and YUP_PASS to the values in /etc/zmd, so what have I missed? That looks like the registration failed for some reason. What does rug sl and rug ca show you? # rug sl Waking up ZMD...Done # | Status | Type | Name| URI --++--+-+--- 1 | Active | ZYPP | SUSE Linux Enterprise Server 10 SP1 | http://192.168.1.2/... # rug ca Sub'd? | Name| Service ---+-+ Yes| SUSE Linux Enterprise Server 10 SP1 | SUSE Linux Enterprise Server 10 SP1 -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Friday 22 Aug 2008, Marcy Cortes wrote: From /etc/sysconfig/yup # There are two options, to get the ID: # # 1. use the Machine ID: this value is in #/etc/zmd/deviceid #on the machine you registered with. # # 2. go to the Novell Customer Center and request #mirror credentials to get updates to all your #systems with one yup run #http://www.novell.com/center/ The 1st way did not work for me either. The second did. Yup (as it were), that worked for me too. A lot of data is currently being downloaded. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Friday 22 Aug 2008, Mark Post wrote: On 8/20/2008 at 3:36 PM, in message [EMAIL PROTECTED], Robin Atwood [EMAIL PROTECTED] wrote: -snip- 2.6.16.46-0.12-default. I am currently trying to workout how to do an upgrade but I am using the SP1 starter system and documentation seems sparse. You're entitled to 180 days of maintenance. Register your system and use YaST Online Update or rug to install it. Thanks, I will check this out. But I am having trouble locating good doco as to how to set up the online maintenance. Possibly a problem there. I am currently unemployed and this is a home-based self-improvement project, all running on Hercules. (Watch support magically vanish into the distance...) Why would that happen? The non-IBMers on the list don't get the hives when someone mentions Hercules. Even though I have access to various real mainframes, I still have Hercules installed on one of my workstations. Seeing as how my involvement with Linux in general started out as self-improvement, I'm certainly not going to shun someone else doing the same. Apologies. I had just got home from the pub and was feeling rather bitter. Getting a new contract is not easy in the current economic climate. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Tuesday 19 Aug 2008, Mark Post wrote: What does zgrep 3270 /proc/config.gz and vmcp q term show you? zlinux:~ # zgrep 3270 /proc/config.gz CONFIG_TN3270=m CONFIG_TN3270_TTY=m CONFIG_TN3270_FS=m I am fairly sure I have read that console support must be built into the kernel. zlinux:~ # vmcp q term Error: Could not open device /dev/vmcp: No such file or directory I am not using VM. :) -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Thursday 21 Aug 2008, Mark Post wrote: zlinux:~ # zgrep 3270 /proc/config.gz CONFIG_TN3270=m CONFIG_TN3270_TTY=m CONFIG_TN3270_FS=m I am fairly sure I have read that console support must be built into the kernel. Yes. What version of the kernel are you running? I tested with 2.6.16.54-0.2.8-default. 2.6.16.46-0.12-default. I am currently trying to workout how to do an upgrade but I am using the SP1 starter system and documentation seems sparse. zlinux:~ # vmcp q term Error: Could not open device /dev/vmcp: No such file or directory I am not using VM. :) Bummer. You should so something about that, i.e., contact your IBM rep. Possibly a problem there. I am currently unemployed and this is a home-based self-improvement project, all running on Hercules. (Watch support magically vanish into the distance...) I will wait for the improved Device Driver manual since I really want to get this going under Gentoo. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Monday 18 Aug 2008, Mark Post wrote: Just for the sake of completeness, I'm going to document what is needed with SLES10 SP1 and SP2 (not sure about GA) to get this to work. Thanks to Martin Schwidefsky for helping me to figure it out while at SHARE. Thanks even more for Martin not getting ticked off when I told him that 3270 support stank after not figuring it out on my own. :) In /etc/inittab, make this change: # Default HMC/3215/3270 console: -1:2345:respawn:/sbin/mingetty --noclear /dev/ttyS0 dumb +1:2345:respawn:/sbin/mingetty --noclear /dev/tty0.0.01c0 dumb Where 0.0.01c0 is the device number of my virtual console. Substitute your own console address. In /etc/securetty, add: tty0.0.01c0 and substitute your own console address for 0.0.01c0 Shutdown your system. When it enters a disabled wait: term conmode 3270 IPL ipldeviceno Well, I don't understand how this is supposed to work. I usually use my Gentoo system for experiments but I IPLed a SLES-10 SP1 system and there is no (in my case) device /dev/tty0.0.001f. I updated /etc/inittab as recommended and added conmode=3270 to the parameter statement in /etc/zipl.conf since I am IPLing directly without VM. I was not very surprised to see: INIT: Id 1 respawning too fast: disabled for 5 minutes In fact the SLES system does not have 3270 devices: zlinux:~ # ll /sys/bus/ccw/drivers/3270 /bin/ls: /sys/bus/ccw/drivers/3270: No such file or directory So I am still confused. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Tuesday 19 Aug 2008, Richard Young wrote: Robin, If you were running under z/VM, your guest would need to have your CONMODE set to 3270 . For SLES, as I understand it, you need to have SLES 9, or one of the latest patch levels of the SLES 10 SP1 or SP2 kernel. Something was not correct in the earlier levels of SLES 10, but is resolved in the latest patch level. That sounds likely, I don't think the original kernel had 3270 support compiled in. I will try to upgrade. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: IND$FILE? (was: RE: 3270 console confusion)
On Saturday 09 Aug 2008, McKown, John wrote: I just had one of my flashes of insight (or is that insanity?). Anyway, this whole thing about using the 3270 interface is for when TCPIP access is not possible for some reason. Many want to use the various full screen editors to fix some files. So, my insight is this: how difficult would it be to implement an IND$FILE file transfer program in z/Linux? I know that there are clients which run on Windows and MS-DOS. IND$FILE allows for file upload/download via the 3270 data stream. So, if we could write a server that would run on z/Linux and a client to run on our desktop, we could then download the file(s) that we need to edit; edit them on our desktop; then upload them back to z/Linux. If you use Linux on your work-station withe KDE, the Konqueror browser supports the fish:// protocol (and FTP for that matter). fish is file transfer over an SSH tunnel. That enables you to browse the zLinux file system and drag files into a local editor and save them back again. But the network must be up; what I want is a solution that uses the zLinux console session. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Friday 08 Aug 2008, Dave Jones wrote: Hi, Robin Robin Atwood wrote: On Friday 08 Aug 2008, Dave Jones wrote: The only such application I know of is (was?) NED, and nobody can seem to find it anymore. That was the plan! Very interesting; please keep us posted as to what you discover. Where did you get your copy of NED? Err, that was the plan before I discovered that NED seems to have disappeared. I had read a lot of old threads where people refer to downloading it. Still, since this thread was hijacked, has anyone out there got a 3270 console working with Linux? -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: IND$FILE? (was: RE: 3270 console confusion)
On Saturday 09 Aug 2008, McKown, John wrote: I just had one of my flashes of insight (or is that insanity?). Anyway, this whole thing about using the 3270 interface is for when TCPIP access is not possible for some reason. Many want to use the various full screen editors to fix some files. So, my insight is this: how difficult would it be to implement an IND$FILE file transfer program in z/Linux? I know that there are clients which run on Windows and MS-DOS. IND$FILE allows for file upload/download via the 3270 data stream. So, if we could write a server that would run on z/Linux and a client to run on our desktop, we could then download the file(s) that we need to edit; edit them on our desktop; then upload them back to z/Linux. What say? -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. -- 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 -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: IND$FILE? (was: RE: 3270 console confusion)
On Saturday 09 Aug 2008, Mark Post wrote: Right. That is what IND$FILE does. It transfers files via a 3270 data stream and is therefore usable over a 3270 zLinux console. The problem being, that there needs to be a program on the Linux side that will perform the host side of the transaction. If that's what is being talked about being developed, then fine. Otherwise, it's a no-go. I thought there was this NED editor but it seems to have disappeared. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: IND$FILE? (was: RE: 3270 console confusion)
On Saturday 09 Aug 2008, McKown, John wrote: Right. That is what IND$FILE does. It transfers files via a 3270 data stream and is therefore usable over a 3270 zLinux console. No. IND$FILE transfers data over the network connection to your 3270 emulator, PC/3270 or whatever. The HMC or VM does not have that capability. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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
3270 console confusion
I have found various threads about using NED on a 3270 console to zLinux and I thought this was a good idea. I read the 3270 HOWTO on linuxvm.org but it seemed no longer relevant to recent kernels; I am running 2.6.26. I have no tub3270 module so there is nothing under /proc/tty/drivers and so config3270.sh just exits. I had a read of the device drivers manual but am not sure what I need. I have a 3270 defined at 001f which gives me: # ll /sys/bus/ccw/drivers/3270 total 0 lrwxrwxrwx 1 root root0 Aug 8 13:37 0.0.001f - ../../../../devices/css0/0.0./0.0.001f --w--- 1 root root 4096 Aug 8 13:37 bind --w--- 1 root root 4096 Aug 8 13:21 uevent --w--- 1 root root 4096 Aug 8 13:37 unbind but there are no tty devices. What do I do next? TIA -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Friday 08 Aug 2008, Dave Jones wrote: Hi, Robin. I've taken a quick look at the 3270 documentation available here: http://lxr.linux.no/linux/Documentation/s390/ and it too appears out of date. It mentions rebuilding the kernel with both CONFIG_3270 and CONFIG_3270_CONSOLE options set to y. However, the latest defconfig file does not list CONFIG_3270 and CONFIG_3270_CONSOLE as valid configuration options. Support for 3270 devices as a Linux console may not have been carried forward to the newer kernels. I think it has but the configuration options have different names. From my .config file: # # S/390 character device drivers # CONFIG_TN3270=y CONFIG_TN3270_TTY=y # CONFIG_TN3270_FS is not set CONFIG_TN3270_CONSOLE=y CONFIG_TN3215=y CONFIG_TN3215_CONSOLE=y CONFIG_CCW_CONSOLE=y CONFIG_SCLP_TTY=y CONFIG_SCLP_CONSOLE=y CONFIG_SCLP_VT220_TTY=y CONFIG_SCLP_VT220_CONSOLE=y Chapter 19 in the Linux Device Driver manual (SC33-8289-02) has information but is not clear on 3270 consoles. I am going to experiment. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: 3270 console confusion
On Friday 08 Aug 2008, Dave Jones wrote: The only such application I know of is (was?) NED, and nobody can seem to find it anymore. That was the plan! BTW, is anyone else having problems reaching www.linuxvm.org today? My browser reports back Not found when I attempt to go there.. Same here. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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
Boot partition mirror-raid possible?
I am following a HOWTO I found to move my DASD to use LVM on top of RAID1. The instructions assume Intel arch but all goes well until it says to use Grub to write the MBR onto the two partitions with the boot directory on them. Naturally I tried to use zipl but it fails with: # zipl Using config file '/etc/zipl.conf' Building bootmap in '/boot' Building menu 'menu1' Adding #1: IPL section 'linux' (default) Preparing boot device: 09:00. Error: Could not read master boot record: Reached unexpected end of file where /boot is mounted thus: /dev/md1 ext3 97M 14M 79M 15% /mnt/tmp/boot Should I try to mount the actual partitions under boot sequentially? I am new to RAID and am not sure how to proceed. TIA -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: Boot partition mirror-raid possible?
On Wednesday 16 Jul 2008, Rob van der Heij wrote: On Wed, Jul 16, 2008 at 11:53 AM, Robin Atwood [EMAIL PROTECTED] wrote: Should I try to mount the actual partitions under boot sequentially? I am new to RAID and am not sure how to proceed. If you want to make another disk bootable you must specify the right directory (and that must be on the target device). The reason is that zipl creates a bootmap in that directory. We used to put the zipl.conf in the /boot directory and point to that one in the command. Don't know whether the scheme with RAID and LVM maps well to Linux on z/VM. If you're just looking for an extra boot device, then you might want to share that with all the other Linux guests. I think the problem is that my target device is /dev/md1 which is not a real disk, it's a pseudo-device manufactured by the mdadm command from two real partitions. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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: Boot partition mirror-raid possible?
On Wednesday 16 Jul 2008, Rob van der Heij wrote: On Wed, Jul 16, 2008 at 12:32 PM, Robin Atwood [EMAIL PROTECTED] wrote: I think the problem is that my target device is /dev/md1 which is not a real disk, it's a pseudo-device manufactured by the mdadm command from two real partitions. That sure is a problem. But since you don't write to the boot partition a lot, could you not just maintain the two identical copies yourself? That's what I am beginning to think. :( I was hoping someone on the list has tried this and has a definitive answer. -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling -- -- 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