Re: Linux console
At 16:22 24-05-02, Peter Rothman wrote: >Is there a way (maybe some kind of web access) to give someone access to >the linux console without telling them to logon to the userid running >Linux? I'm not sure what you try to avoid and achieve. There is LOGONBY to control access to a managed list of users who authenticate with their own userid and password instead of the server password. SCIF (Secondary Console Interface Facility) that allows a program to send commands and get the output back. That program could be a CGI in a VM web server, but it's not trivial to write. What's wrong with an ssh session to root? Rob
Re: Animosity from the press
Lionel, Yes, he is still subscribed, but he might have his account set to nomail. I myself find it interesting that he tries to portray all of us as wild-eyed members of a cult, but doesn't acknowledge that at least one of us (me!) told him that we _already know_ S/390 processors are slow compared to Intel, AMD, etc. when it comes to raw CPU-intensive work. As I've said before, that particular dead horse has been flogged enough. Also, does anyone have any idea where he might have gotten the idea that someone on the mailing list claimed 99,000 instances on one processor? I don't remember seeing that particular bit of nonsense before, but if anyone else does, I'd appreciate a pointer. On to making this beast work, now. Mark Post -Original Message- From: Lionel Dyck [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 5:43 PM To: [EMAIL PROTECTED] Subject: Animosity from the press Seems that the linuxworld author of the mainframe articles is none too happy with those on this listserv. http://www.linuxworld.com/site-stories/2002/0522.mainframelinux.sidebar2.htm l All I can say is I am disappointed that the editors would publish his rant and as I assume he is still subscribed to this listserv I'm sure he will see this. The referenced article (see above url) is highly unprofessional and shows someone who can not accept critism or correction. In this business we all need to know how to say "I don't know" and "you taught me something" as things change too fast to have our feet in concrete. Lionel B. Dyck, Systems Software Lead Kaiser Permanente Information Technology 25 N. Via Monte Ave Walnut Creek, Ca 94598 Phone: (925) 926-5332 (tie line 8/473-5332) E-Mail:[EMAIL PROTECTED] Sametime: (use Lotus Notes address) AIM:lbdyck
Re: Linux console
Peter, yes there is. I use a product called Webmin (checkout http://www.webmin.com/). This will give you web access to your linux system. Even though there is the capability to telnet/SSH to login it is not necessary as there is a command shell interface where you can execute commands, however you will need to logon to Webmin itself. You can define users to webmin without a corresponding user account on Linux itself. You can define the webmin users with as much or as little access to webmin's capabilities as you want. This is a web based system management tool - there are others around but I use this one. It is very easy to install and only requires PERL. It comes in tar files or RPM files. I had trouble last time installing through RPM so I gave up and downloaded the tar files but there is a new version at the moment and perhaps that will work fine. fiat lex, fiat justitia, fiat lux, fiat Linux! Regards, Craig +61-2-9354-7283 tel +61-2-9354-7797 fax Craig Vernon B.App.Sc. LL.B. IBM Support Centre FB41 55 Coonara Ave West Pennant Hills 2125 Sydney NSW Australia Visit us at http://www.ibm.com/services/au/its "You can not find a solution using the same thinking that created the problem." - Albert Einstein If received in error please delete and notify the sender immediately. No other use permitted. Neither confidentiality, privilege nor copyright waived. Peter Rothman cc: Sent by: Linux on Subject: Linux console 390 Port <[EMAIL PROTECTED] ST.EDU> 25/05/2002 12:22 AM Please respond to Linux on 390 Port Is there a way (maybe some kind of web access) to give someone access to the linux console without telling them to logon to the userid running Linux? Peter.
Animosity from the press
Seems that the linuxworld author of the mainframe articles is none too happy with those on this listserv. http://www.linuxworld.com/site-stories/2002/0522.mainframelinux.sidebar2.html All I can say is I am disappointed that the editors would publish his rant and as I assume he is still subscribed to this listserv I'm sure he will see this. The referenced article (see above url) is highly unprofessional and shows someone who can not accept critism or correction. In this business we all need to know how to say "I don't know" and "you taught me something" as things change too fast to have our feet in concrete. Lionel B. Dyck, Systems Software Lead Kaiser Permanente Information Technology 25 N. Via Monte Ave Walnut Creek, Ca 94598 Phone: (925) 926-5332 (tie line 8/473-5332) E-Mail:[EMAIL PROTECTED] Sametime: (use Lotus Notes address) AIM:lbdyck
Re: RPM question
> On Fri, May 24, 2002 at 11:39:21AM -0400, Dave Myers wrote: > > In a message dated 5/24/2002 12:50:49 AM Mountain Daylight Time, > > [EMAIL PROTECTED] writes: > > > > > > > For updating only glibc, you can do "rpm -Fvh glibc*.rpm nscd*.rpm" and i > t > > > should also work fine. > > > > > > > Florian, > > > > Why the nscd*.rpm > > I updated glibc yesterday and it did not call out this requisite?? > > :-) > > Then it seems to be fine without it. I thought there has been a requirement > within nscd to specify the exact glibc version. If that has changed or if > you didn't have nscd installed in the first place, everything is fine. > He may not have had it installed. It caused me grief on 7.1 (just the one box) and my quick fix was to disable it. I had a real DNS on the same 100 Mbits wire so it wasn't really doing anything useful. -- Cheers John Summerfield Microsoft's most solid OS: http://www.geocities.com/rcwoolley/ Note: mail delivered to me is deemed to be intended for me, for my disposition. == If you don't like being told you're wrong, be right!
Re: RPM question
> In a message dated 5/24/2002 9:48:08 AM Mountain Daylight Time, > [EMAIL PROTECTED] writes: > > > > Hi Dave. > > > > nscd is part of the glibc and provides a name service cache. Here the head > > output of a simple man nscd: > > > > > > Phil, > Thanks for the reply! > So...does that mean I don't install the nscd-2.2.4-20.s390.rpm, > because it's "part of the glibc" RPM. > > Or...do I have to install it in addition to the glibc RPMs > If the latter, why didn't the RPM install of glibc call out nscd as a > requisite ?? It's one of the glibc rpms and you're looking right at it. If you want the servers, install it. Try this command: rpm -qip nscd-2.2.4-20.s390.rpm and see what its source rpm is;-) You will find quite a few examples where more than one binaries rpm have a common source rpm. -- Cheers John Summerfield Microsoft's most solid OS: http://www.geocities.com/rcwoolley/ Note: mail delivered to me is deemed to be intended for me, for my disposition. == If you don't like being told you're wrong, be right!
Re: RH72 telnet
> > I hold you in high esteem, also, but if I were to do something to cause > you NOT to like me ... THEN would you tell me :) ? (Remember ... this > is only a 'temporary' thing, right?). BTW, ARE you saying I could > create user accounts that could telnet in? > You could create user accounts, yes, They can telnet in, yes. And then you can use su to get root access and fix up ssh. -- Cheers John Summerfield Microsoft's most solid OS: http://www.geocities.com/rcwoolley/ Note: mail delivered to me is deemed to be intended for me, for my disposition. == If you don't like being told you're wrong, be right!
Re: sysinfo.o: No such file or directory
> I found the problem. Patch linux-2.4.7-s390-3.diff was applied with=20 > ?dry-run, which means it was not actually applied. This patch is the one=20 > that creates the sysinfo.c. > > I apologize for jumping the gun. The scary part is this stuff is starting=20 > to make sense! Time you got your cap with a propeller on it! -- Cheers John Summerfield Microsoft's most solid OS: http://www.geocities.com/rcwoolley/ Note: mail delivered to me is deemed to be intended for me, for my disposition. == If you don't like being told you're wrong, be right!
Re: Successfully installed kernel 2.4.9-37 and LCS worked ok...BU T I get dep...
Dave, I would bet that it is the one in /lib/modules/2.4.9-37tape/kernel/net/ One way to find out for sure is do an "nm" command on each of them, and see which one has symbols that match what's in /proc/ksyms. Mark Post -Original Message- From: Dave Myers [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 3:10 PM To: [EMAIL PROTECTED] Subject: Re: Successfully installed kernel 2.4.9-37 and LCS worked ok...BU T I get dep... Mark, I took the lcs.o qeth.o and qdio.o modules out of /lib/modules/ibm and those msgs went away. The RH init must look in that dir for additional loadables ?? The 2.4.9-37 lcs mod is being loaded out of /lib/modules/2.4.9-37tape/kernel/net/lcs.o I guess. The /lib/modules/2.4.9-37tape/modules.dep has two entries in it for lcs: /lib/modules/2.4.9-37tape/kernel/drivers/s390/net/lcs.o: /lib/modules/2.4.9-37tape/kernel/net/lcs.o: ...so which one is really being used?? Dave
Re: Successfully installed kernel 2.4.9-37 and LCS worked ok...BU T I get dep...
Mark, I took the lcs.o qeth.o and qdio.o modules out of /lib/modules/ibm and those msgs went away. The RH init must look in that dir for additional loadables ?? The 2.4.9-37 lcs mod is being loaded out of /lib/modules/2.4.9-37tape/kernel/net/lcs.o I guess. The /lib/modules/2.4.9-37tape/modules.dep has two entries in it for lcs: /lib/modules/2.4.9-37tape/kernel/drivers/s390/net/lcs.o: /lib/modules/2.4.9-37tape/kernel/net/lcs.o: ...so which one is really being used?? Dave
Re: Automatically Logging On root After IPL
Ken, Send it to me so I can put it on the patches page on linuxvm.org. Mark Post -Original Message- From: Hall, Ken (ECSS) [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 1:14 PM To: [EMAIL PROTECTED] Subject: Re: Automatically Logging On root After IPL SuSE SLES7 came with a highly modified version of mingetty that wouldn't accept the patch as it was. (It looks like someone added several features without changing the version number.) I've refitted the changes and created a new patch that seems to work properly with the version of mingetty shipped with that version. If anyone is interested, I can either send it privately or post on the list. You have to install the Source RPM for sysvinit, and then apply the patch to the mingetty-0.9.4b directory. It's 222 lines, not terribly long. > -Original Message- > From: Coffin Michael C [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 09, 2002 9:46 AM > To: [EMAIL PROTECTED] > Subject: [LINUX-390] FW: Automatically Logging On root After IPL > > > Aaaah, found it. Here's the original note in case anybody > else is looking > for it: > > > Ah - so that begs the question - how do you have a root > shell running > > on the console without signing on first? > > Its best to have a sign in process run just to set up the > environment but > running a straight /bin/sh as root from /etc/inittab is quite > possible if > you want to do it that way. You may want to run it via "su - > root" just to > force a sane environment > > For a simple patch to mingetty (the normal console set up) see > http://users.jagunet.com/~kodis/autologin/autologin.html. > > > Michael Coffin, VM Systems Programmer > Internal Revenue Service - Room 6527 > Constitution Avenue, N.W. > Washington, D.C. 20224 > Voice: (202) 927-4188 FAX: (202) 622-3123 > [EMAIL PROTECTED] > -Original Message- > From: Coffin Michael C [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 09, 2002 8:33 AM > To: [EMAIL PROTECTED] > Subject: Automatically Logging On root After IPL > > > Hi Folks, > > A while back there was a thread that explained how to > automatically have > root logged on to the HMC after an Linux/390 IPL. I thought > I saved that > thread, but (of course!) cannot find it now. I tried > searching using the > search engine at Marrist - but it limits you to ONE keyword > (what a pain!) > so I'm getting a trillion hits! :( > > Does anybody have a pointer to this thread handy? I'd like > to give it a > try. Since all of our Linux/390's are autologged anyhow, having root > automatically logged into the HMC makes things a lot easier > and our SCIF > monitors will automatically have access to the Linux system > (instead of > first having to log on to root). > > -TIA > Michael Coffin, VM Systems Programmer > Internal Revenue Service - Room 6527 > Constitution Avenue, N.W. > Washington, D.C. 20224 > Voice: (202) 927-4188 FAX: (202) 622-3123 > [EMAIL PROTECTED] >
Re: Automatically Logging On root After IPL
There are a dozen ways to slice this apple. Mike Kershaw did one as a compiled executable. I have one that is a simple shell script called frin /etc/inittab. (See attached.) Add the following line to /etc/inittab: ~~:01236:respawn:/sbin/suloginv /dev/console If there is a 'getty' set to run on your console, turn it off, perhaps like this: #1:01236:respawn:/sbin/mingetty console #!/bin/sh # # # Date: 2000-Sep-16 (Sun) # # CONSOLE="$1" if [ -z "$CONSOLE" ] ; then CONSOLE=/dev/console ; fi PS1=`hostname` #PS1="$PS1 # " PS1="$PS1 \\\$ " export PS1 SHELL=/bin/sh if [ -x /sbin/sh ] ; then SHELL=/sbin/sh ; fi exec $SHELL -i 0<$CONSOLE 1>$CONSOLE 2>$CONSOLE
Article on Migrating to Linux
I just found this site and they include an interesting article on the benefits of migrating: Site: http://www.cioview.com Article: http://www.cioview.com/news/index_White_Papers.htm This site appears to offer an interesting roi calculator (for a fee) as well. A free preview is at //apnews1.iwon.com/article/20020522/D7JLLB100.html looks interesting Lionel B. Dyck, Systems Software Lead Kaiser Permanente Information Technology 25 N. Via Monte Ave Walnut Creek, Ca 94598 Phone: (925) 926-5332 (tie line 8/473-5332) E-Mail:[EMAIL PROTECTED] Sametime: (use Lotus Notes address) AIM:lbdyck
Re: linux images hang or loop by turns
Hi Jan! Your problem reads indeed a little bit strange. Could you please discribe your setup in more detail? I'd like to know which Linux distribution you run, what network devices the images use and whether they share dasds. Please CC: me directly to ensure that I do not skip over your mail by accident when reading the list. mit freundlichem Gruß / with kind regards Carsten Otte IBM Deutschland Entwicklung GmbH Linux for eServer development - device driver team Phone: +49/07031/16-4076 IBM internal phone: *120-4076 -- We are Linux. Resistance indicates that you're missing the point! |-+> | | Jan As | | | <[EMAIL PROTECTED]| | | OM> | | | Sent by: Linux on| | | 390 Port | | | <[EMAIL PROTECTED]| | | IST.EDU> | | || | || | | 05/24/02 01:43 PM| | | Please respond to| | | Linux on 390 Port| | || |-+> >--| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: linux images hang or loop by turns | | | | | >--| HI! We start to run Linux under z/VM4.2. Two images has been running without any troubles for weeks. But we have very silly problem since yesterday. The 1st. image hangs sudennly. After few minutes (sometimes 1/2 hour) the Linux image continues to run. BUT the 2nd image hangs now! IT'S CRYZY. After among of time this image runs, but the 1st hangs again. Sometimes the time in linux changes caused by hang too. (eg. from 10:10 to 7:43) Using "CP Q T" the time is OK! Unfortunately there are no mesages in /var/log/mesaages, dmesg or whenever. :-( Some ideas maybe? PLEASE HELP! Best regards Jan As -- ___ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup
Re: Successfully installed kernel 2.4.9-37 and LCS worked ok...BU T I get dep...
Ok, You're definitely using the lcs.o module, and it's been compiled for a different version of the kernel than you're running. I don't know why it's working. Perhaps there's a _second_ lcs.o somewhere in /lib/modules that is loading instead? Mark Post -Original Message- From: Dave Myers [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 11:21 AM To: [EMAIL PROTECTED] Subject: Re: Successfully installed kernel 2.4.9-37 and LCS worked ok...BUT I get dep... Mark, Thanks for feedback!! Here's the results of suggested commands. LCS Used count is "1"so does that mean the LCS driver is still a loadable module? If so, why is my LCS working, even though I'm getting Unresolved symbols?? Thanks, Dave lsmod Size Used lcs29520 1 rmmod lcs lcs: Device or resource busy depmod -ae depmod: *** Unresolved symbols in /lib/modules/2.4.9-37tape/kernel/net/lcs.o depmod: debug_unregister_Rsmp_0e92db0d depmod: __kfree_skb_Rsmp_e9971ea1 depmod: debug_sprintf_exception_Rsmp_3485b572 depmod: debug_set_level_Rsmp_25d0b381 depmod: debug_register_view_Rsmp_266ed7c2 depmod: netif_rx_Rsmp_5e694389 depmod: skb_over_panic_Rsmp_cd23369e depmod: eth_type_trans_Rsmp_fa230cbc depmod: debug_unregister_view_Rsmp_9732819b depmod: tr_type_trans_Rsmp_5f37f755 depmod: fddi_type_trans_Rsmp_d6581cba depmod: in_dev_finish_destroy_Rsmp_8fc97e4f depmod: softnet_data_Rsmp_d7f336b2 depmod: debug_register_Rsmp_f35379f3 depmod: alloc_skb_Rsmp_8d96b1be depmod: debug_sprintf_event_Rsmp_71b4c81e depmod: debug_sprintf_view_Rsmp_c558969a grep debug_unregister /proc/ksyms 000192d4 debug_unregister_Rsmp_9add2f93 00019dc8 debug_unregister_view_Rsmp_65a44b74
Re: RPM question
On Fri, May 24, 2002 at 11:39:21AM -0400, Dave Myers wrote: > In a message dated 5/24/2002 12:50:49 AM Mountain Daylight Time, > [EMAIL PROTECTED] writes: > > > > For updating only glibc, you can do "rpm -Fvh glibc*.rpm nscd*.rpm" and it > > should also work fine. > > > > Florian, > > Why the nscd*.rpm > I updated glibc yesterday and it did not call out this requisite?? :-) Then it seems to be fine without it. I thought there has been a requirement within nscd to specify the exact glibc version. If that has changed or if you didn't have nscd installed in the first place, everything is fine. My intention was to satisfy rpm requirements. If they don't exist, that is fine. Also these things don't make any real difference if you haven't enabled it (/etc/init.d/nscd and /etc/nscd.conf) cu, Florian La Roche
Re: linux images hang or loop by turns
> We start to run Linux under z/VM4.2. Two images has been running > without any troubles for weeks. But we have very silly problem since > yesterday. The 1st. image hangs sudennly. After few minutes (sometimes > 1/2 hour) the Linux image continues to run. BUT the 2nd image hangs > now! IT'S CRYZY. After among of time this image runs, but the 1st > hangs again. It sounds like your Linux images are going into the Eligible list instead of the Dispatch list in z/VM. You may have over-committed real storage. Try issuing CP IND Q when this happens to see if any of your Linux images are in the eligible list. If so, you may want to either reduce the size of the Linux images (VM memory on the USER statement in the directory) or use CP SET SRM STORBUF to overcommit storage. Regards, Jim
Re: has anyone seen this?
> According to the info I have found the VAX 11/780 was > released in 1977. That would make this the 25th anniversary. > A typo perhaps? I think it makes the joke five years old 8) > >(BTW, last friday was the 20th anniversary of the introduction of the Vax. > >20 years later, and if you're using a Vax, you're not playing with a full > >DEC...8-)).
Re: RPM question
In a message dated 5/24/2002 12:50:49 AM Mountain Daylight Time, [EMAIL PROTECTED] writes: > For updating only glibc, you can do "rpm -Fvh glibc*.rpm nscd*.rpm" and it > should also work fine. > Florian, Why the nscd*.rpm I updated glibc yesterday and it did not call out this requisite?? Thanks, Dave
Re: Automatically Logging On root After IPL
SuSE SLES7 came with a highly modified version of mingetty that wouldn't accept the patch as it was. (It looks like someone added several features without changing the version number.) I've refitted the changes and created a new patch that seems to work properly with the version of mingetty shipped with that version. If anyone is interested, I can either send it privately or post on the list. You have to install the Source RPM for sysvinit, and then apply the patch to the mingetty-0.9.4b directory. It's 222 lines, not terribly long. > -Original Message- > From: Coffin Michael C [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 09, 2002 9:46 AM > To: [EMAIL PROTECTED] > Subject: [LINUX-390] FW: Automatically Logging On root After IPL > > > Aaaah, found it. Here's the original note in case anybody > else is looking > for it: > > > Ah - so that begs the question - how do you have a root > shell running > > on the console without signing on first? > > Its best to have a sign in process run just to set up the > environment but > running a straight /bin/sh as root from /etc/inittab is quite > possible if > you want to do it that way. You may want to run it via "su - > root" just to > force a sane environment > > For a simple patch to mingetty (the normal console set up) see > http://users.jagunet.com/~kodis/autologin/autologin.html. > > > Michael Coffin, VM Systems Programmer > Internal Revenue Service - Room 6527 > Constitution Avenue, N.W. > Washington, D.C. 20224 > Voice: (202) 927-4188 FAX: (202) 622-3123 > [EMAIL PROTECTED] > -Original Message- > From: Coffin Michael C [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 09, 2002 8:33 AM > To: [EMAIL PROTECTED] > Subject: Automatically Logging On root After IPL > > > Hi Folks, > > A while back there was a thread that explained how to > automatically have > root logged on to the HMC after an Linux/390 IPL. I thought > I saved that > thread, but (of course!) cannot find it now. I tried > searching using the > search engine at Marrist - but it limits you to ONE keyword > (what a pain!) > so I'm getting a trillion hits! :( > > Does anybody have a pointer to this thread handy? I'd like > to give it a > try. Since all of our Linux/390's are autologged anyhow, having root > automatically logged into the HMC makes things a lot easier > and our SCIF > monitors will automatically have access to the Linux system > (instead of > first having to log on to root). > > -TIA > Michael Coffin, VM Systems Programmer > Internal Revenue Service - Room 6527 > Constitution Avenue, N.W. > Washington, D.C. 20224 > Voice: (202) 927-4188 FAX: (202) 622-3123 > [EMAIL PROTECTED] >
Re: has anyone seen this?
David Boyes writes: > ... >(BTW, last friday was the 20th anniversary of the introduction of the Vax. >20 years later, and if you're using a Vax, you're not playing with a full >DEC...8-)). Isn't it more like 23-24 years? I think we got our first around 1978. -- --henry schaffer
Re: What PTF level am I at?
My apologies... >From Robert Reuscher : >What if it doesn't show the maintenance level? I received, >applied and built a new nucleus today, and after I ipled >it still did not give me a maintenance level when I issued >the query vmlan command. I'm pretty sure that is applied, >I was able to find the symbol HCPLANML and display storage, >it showed VM62938, but the query command does not. You are correct... It was too late to change the command response for 4.2.0 when we thought of that... I issued the command on a 4.3.0 system. So on a 4.2.0 system you need to display the HOST storage at symbol HCPLANML: CP LOCATE HCPLANML HCPLANML = RESIDENT (to get the host storage address of HCPLANML) CP DISPLAY H H 00062938 (where the low-order 5 digits represent the APAR number). Regards, Dennis Musselwhite ([EMAIL PROTECTED]) IBM Corporation -- z/VM Development -- CP Network Simulation Robert Reuscher <[EMAIL PROTECTED]>@VM.MARIST.EDU> on 05/24/2002 12:07:57 AM Please respond to Linux on 390 Port <[EMAIL PROTECTED]> Sent by:Linux on 390 Port <[EMAIL PROTECTED]> To:[EMAIL PROTECTED] cc: Subject:Re: [LINUX-390] What PTF level am I at? What if it doesn't show the maintenance level? I received, applied and built a new nucleus today, and after I ipled it still did not give me a maintenance level when I issued the query vmlan command. I'm pretty sure that is applied, I was able to find the symbol HCPLANML and display storage, it showed VM62938, but the query command does not. -Original Message- From: musselwh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 9:56 AM To: LINUX-390 Subject: Re: What PTF level am I at? Matt, You can get some idea of the system level using the CP command: CP QUERY CPLEVEL That should (at least) reassure you that you are using z/VM Version 4 Release 2.0 and it will list a service level that indicates which service tape has been installed. CP Guest LAN support on VM 4.2.0 was enabled by CP APAR VM62938 (and TCPIP APAR PQ51738). Use the following CP command to find out if VM62938 is installed: CP QUERY VMLAN If the response starts out with something like this: VMLAN maintenance level: Latest Service: VM62938 you have the necessary CP support to define virtual HiperSockets networks and adapters. Regards, Dennis Musselwhite ([EMAIL PROTECTED]) IBM Corporation -- z/VM Development -- CP Network Simulation
Re: RPM question
Dave Myers wrote: > In a message dated 5/24/2002 12:50:49 AM Mountain Daylight Time, > [EMAIL PROTECTED] writes: > > > >>For updating only glibc, you can do "rpm -Fvh glibc*.rpm nscd*.rpm" and it >>should also work fine. >> > > > Florian, > > Why the nscd*.rpm > I updated glibc yesterday and it did not call out this requisite?? > Hi Dave. nscd is part of the glibc and provides a name service cache. Here the head output of a simple man nscd: nscd(8) nscd(8) NAME /usr/sbin/nscd - name service cache daemon DESCRIPTION Nscd is a daemon that provides a cache for the most common name service requests. The default configuration file, /etc/nscd.conf, determines the behavior of the cache dae- mon. See nscd.conf(5). Read ya, Phil -- Philipp Knirsch | Tel.: +49-711-96437-470 Development | Fax.: +49-711-96437-111 Red Hat GmbH | Email: [EMAIL PROTECTED] Hauptstaetterstr. 58 | Web: http://www.redhat.de/ D-70178 Stuttgart| Fear can hold you prisoner, hope can set you free.
Re: has anyone seen this?
> According to the info I have found the VAX 11/780 was > released in 1977. That would make this the 25th anniversary. > A typo perhaps? Duh. 25 is right...guess I'm sitting too close to the MicroVAX in the corner. The orbiting mind control lasers are getting to me. Or old age. Or something. I seem to recall that the "Hacker's Dictionary" included the term "VAXectomy"... John R. Campbell, Speaker to Machines (GNUrd) {813-356|697}-5322 Adsumo ergo raptus sum IBM Certified: IBM AIX 4.3 System Administration, System Support
Re: has anyone seen this?
Hello from Gregg C Levine In that case David, then we are both to blame, because I missed that one. However for a good read, on another company's response to those guys, try "Soul of a new machine". It describes in extreme detail the company's efforts to upstage that system. And they darn near succeded. --- Gregg C Levine [EMAIL PROTECTED] "The Force will be with you...Always." Obi-Wan Kenobi "Use the Force, Luke." Obi-Wan Kenobi (This company dedicates this E-Mail to General Obi-Wan Kenobi ) (This company dedicates this E-Mail to Master Yoda ) > -Original Message- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED]] On Behalf Of > David Boyes > Sent: Friday, May 24, 2002 12:10 PM > To: [EMAIL PROTECTED] > Subject: Re: [LINUX-390] has anyone seen this? > > > According to the info I have found the VAX 11/780 was > > released in 1977. That would make this the 25th anniversary. > > A typo perhaps? > > Duh. 25 is right...guess I'm sitting too close to the MicroVAX in the > corner. The orbiting mind control lasers are getting to me. Or old age. Or > something.
Re: Limiting Linux cache storage?
Jeff, Linux won't swap out recently used pages in order to cache DASD. Best Regards Holger Smolinski -- Dr. Holger Smolinski, Tech. Planning (Storage I/O) for Linux on zSeries IBM Deutschland Entwicklung GmbH,Schönaicher Str. 220, 71032 Böblingen FAX: +49-7031-16-3456, Tel. +49-7031-16-4652 |-+> | | Jeffrey C Barnard| | || | | Sent by: Linux on| | | 390 Port | | | <[EMAIL PROTECTED]| | | IST.EDU> | | || | || | | 24.05.02 16:48 | | | Please respond to| | | bsiopti | | || |-+> >--| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Limiting Linux cache storage? | | | | | >--| Is there a way to limit the amount of storage that Linux can use for caching DASD (or block devices)? I do not want to force Linux not to swap but I want to ensure Linux does not swap my application and/or data areas out just to cache DASD ... Regards, Jeff -- Jeffrey C Barnard Barnard Software, Inc. http://www.bsiopti.com Phone 407-323-4773 Fax 407-323-4775
Re: RH72 telnet
> >Use OpenSSH instead, and use either TeratermPro with the ttssh SSH > add-on, > >or PuTTY to access your system. > > Life should be so easy that I had these choices to chose from. I have > Reflections, and none of the connection methods you listed are available > (nor could I install add-ons if I could get them). If you grab a copy of weirdmind it provides an in browser ssh and X server without anything being needed but the java in the web browser. X11 connections are encrypted via the encrypted ssh session. http://tam.cornell.edu/Computer/remoteaccess/weirdmind/ Alan
Re: From the "dont bother me with facts" department....
On Fri, 24 May 2002, David Boyes wrote: > Note also that the original LinuxWorld article has been heavily modified to > remove the more inflammatory comments, particularly the claims against the > IBMers. I have a copy of the original article; it's much different than the > one that is publically posted. I would expect so. IMO you were grossly slandered in the original, and I said so in the LinuxToday talkbacks. Nobody but the lawyers win lawsuits but I suspect the original would have been actionable. I would bet their lawyers told them to tone it down. -- TWZ
Re: has anyone seen this?
On Fri, May 24, 2002 at 10:05:49AM -0400, David Boyes wrote: > (BTW, last friday was the 20th anniversary of the introduction of the Vax. > 20 years later, and if you're using a Vax, you're not playing with a full > DEC...8-)). Interestingly enough, DEC recognized this when coming up with the Alpha. They designed it to not have any constraintys that would keep it from keeping up with the latest in computing trends for 20 years after introduction. They succeeded: not only did it outlast the company, but the company's successor...
Re: has anyone seen this?
> According to the info I have found the VAX 11/780 was > released in 1977. That would make this the 25th anniversary. > A typo perhaps? Duh. 25 is right...guess I'm sitting too close to the MicroVAX in the corner. The orbiting mind control lasers are getting to me. Or old age. Or something.
Re: Successfully installed kernel 2.4.9-37 and LCS worked ok...BUT I get dep...
Mark, Thanks for feedback!! Here's the results of suggested commands. LCS Used count is "1"so does that mean the LCS driver is still a loadable module? If so, why is my LCS working, even though I'm getting Unresolved symbols?? Thanks, Dave lsmod Size Used lcs29520 1 rmmod lcs lcs: Device or resource busy depmod -ae depmod: *** Unresolved symbols in /lib/modules/2.4.9-37tape/kernel/net/lcs.o depmod: debug_unregister_Rsmp_0e92db0d depmod: __kfree_skb_Rsmp_e9971ea1 depmod: debug_sprintf_exception_Rsmp_3485b572 depmod: debug_set_level_Rsmp_25d0b381 depmod: debug_register_view_Rsmp_266ed7c2 depmod: netif_rx_Rsmp_5e694389 depmod: skb_over_panic_Rsmp_cd23369e depmod: eth_type_trans_Rsmp_fa230cbc depmod: debug_unregister_view_Rsmp_9732819b depmod: tr_type_trans_Rsmp_5f37f755 depmod: fddi_type_trans_Rsmp_d6581cba depmod: in_dev_finish_destroy_Rsmp_8fc97e4f depmod: softnet_data_Rsmp_d7f336b2 depmod: debug_register_Rsmp_f35379f3 depmod: alloc_skb_Rsmp_8d96b1be depmod: debug_sprintf_event_Rsmp_71b4c81e depmod: debug_sprintf_view_Rsmp_c558969a grep debug_unregister /proc/ksyms 000192d4 debug_unregister_Rsmp_9add2f93 00019dc8 debug_unregister_view_Rsmp_65a44b74
Re: RH72 telnet
> Hey, thanks for this link! Looks like the easiest way for windows boxes > to run an X-server. Its certainly one the cheapest, and since its encrypted and java its also a godsend when faced with a hotel "business internet facility" or similar horror and wanting to get some -actual- work done. Alan
Re: RH72 telnet
Hey, thanks for this link! Looks like the easiest way for windows boxes to run an X-server. [EMAIL PROTECTED] wrote: >>>Use OpenSSH instead, and use either TeratermPro with the ttssh SSH >>> >>add-on, >> >>>or PuTTY to access your system. >>> >>Life should be so easy that I had these choices to chose from. I have >>Reflections, and none of the connection methods you listed are available >>(nor could I install add-ons if I could get them). >> > >If you grab a copy of weirdmind it provides an in browser ssh and X server >without anything being needed but the java in the web browser. X11 >connections are encrypted via the encrypted ssh session. > >http://tam.cornell.edu/Computer/remoteaccess/weirdmind/ > > >Alan >
Re: has anyone seen this?
Greetings; According to the info I have found the VAX 11/780 was released in 1977. That would make this the 25th anniversary. A typo perhaps? Dennis Henry Schaffer <[EMAIL PROTECTED] To: [EMAIL PROTECTED] .edu> cc: Sent by: LinuxSubject: Re: has anyone seen this? on 390 Port <[EMAIL PROTECTED] ARIST.EDU> 05/24/02 10:21 AM Please respond to Linux on 390 Port David Boyes writes: > ... >(BTW, last friday was the 20th anniversary of the introduction of the Vax. >20 years later, and if you're using a Vax, you're not playing with a full >DEC...8-)). Isn't it more like 23-24 years? I think we got our first around 1978. -- --henry schaffer
Re: RPM question
In a message dated 5/24/2002 9:48:08 AM Mountain Daylight Time, [EMAIL PROTECTED] writes: > Hi Dave. > > nscd is part of the glibc and provides a name service cache. Here the head > output of a simple man nscd: > > Phil, Thanks for the reply! So...does that mean I don't install the nscd-2.2.4-20.s390.rpm, because it's "part of the glibc" RPM. Or...do I have to install it in addition to the glibc RPMs If the latter, why didn't the RPM install of glibc call out nscd as a requisite ?? Thanks, Dave(SMPE) Myers ;o)
Re: More than 3 partitions on CDL disks ...
Don, The main reason is, we don't want to waste device numbers in order to keep the number of supported devices high. Linux in General can access a maximum of 64k block devices (partitions). If we would (like Intel) allocate 16 device numbers per volume in order to allow for 15 partitions per volume, we would restrict Linux to 4k volumes per system (assumed, that you don't have any other block device!) Best Regards Holger Smolinski -- Dr. Holger Smolinski, Tech. Planning (Storage I/O) for Linux on zSeries IBM Deutschland Entwicklung GmbH,Schönaicher Str. 220, 71032 Böblingen FAX: +49-7031-16-3456, Tel. +49-7031-16-4652 |-+> | | Don | | | Mulvey/Austin/IBM| | | @IBMUS | | | Sent by: Linux on| | | 390 Port | | | <[EMAIL PROTECTED]| | | IST.EDU> | | || | || | | 24.05.02 14:58 | | | Please respond to| | | Linux on 390 Port| | || |-+> >--| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: More than 3 partitions on CDL disks ... | | | | | >--| FDASD only allows 3 partitions on a compatibility disk. However, in every case I have looked at there is room in the vtoc for more partitions. Does anyone know if there is some reason for not allowing more partitions on a cdl disk? Thanks, Don
Re: Kernel messages
> kernel: dasd_erp(3990): > /dev/dasdi(94:32),0617@0x1c4:Environmental data present > kernel: dasd_erp(3990): /dev/dasdi(94:32),0617@0x1c4:FORMAT 6 > - Overrun on channel C > kernel: dasd:/dev/dasdi(94:32),0617@0x1c4:ERP successful > kernel: dasd_erp(3990): > /dev/dasdj(94:36),0625@0x1d2:Environmental data present > kernel: dasd_erp(3990): /dev/dasdj(94:36),0625@0x1d2:FORMAT 6 > - Overrun on channel D > kernel: dasd:/dev/dasdj(94:36),0625@0x1d2:ERP successful > > Could anyone explain to me what these messages mean and > whether should I be worried or no ? Check your IOCP and make sure that the channel and control unit definitions for the 3990 disk controller these 3380s are attached to has PROTOCL=S4 specified if the control unit supports 4.5Mb/sec streaming. The messages are indicating that I/O is trying to go too fast to the controller and the channel subsystem is rejecting the request and performing recovery. > The same happens with 4 other dasds. All 6 dasds are a > logical volume - probably this is important... > I don't see anything unusual happening to the logical volume > from the user's point of view - everything seems to be in > perfect order. > And what's strange is that I am using old 3380 dasds, yet in > these messages a number 3390 occurs. I think you have a typo here; the number in the message is 3990, not 3390. This is a command reject from the control unit, not the disk. > > Any help will be much appreciated. > > Maciek > > > > -- > Maciej Ksiezycki > Systems Programmer > Unizeto - Computing Centre > http://www.unizeto.pl >
Limiting Linux cache storage?
Is there a way to limit the amount of storage that Linux can use for caching DASD (or block devices)? I do not want to force Linux not to swap but I want to ensure Linux does not swap my application and/or data areas out just to cache DASD ... Regards, Jeff -- Jeffrey C Barnard Barnard Software, Inc. http://www.bsiopti.com Phone 407-323-4773 Fax 407-323-4775
From the "dont bother me with facts" department....
To share the fun, here's his response to my call to address his issues from the first article. Note that: 1) He is not confident enough of his results to post them under his own name. 2) He is not interested in obtaining correct information when offered. It's curious that his "repeated attempts" to contact me consisted of a single email on March 8 which did not identify the purpose of his request, nor his intent to publish the information. Note also that the original LinuxWorld article has been heavily modified to remove the more inflammatory comments, particularly the claims against the IBMers. I have a copy of the original article; it's much different than the one that is publically posted. I have to conclude that the gentleman is pursuing a consulting project for these articles. I have contacted his organization again to determine a method to contact him directly. We'll see if it produces results. -- db -Original Message- From: rudy [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 12:59 PM To: [EMAIL PROTECTED] Subject: Thanks for returning the call However, that was about six-eight weeks ago and the issue has been pretty much resolved since. Rudy de Haas http://www.edpstaff.com/ Author: The Unix Guide to Defenestration - see http://www.winface.com/ The Linuxworld.com TCO series - see http://www.winface.com/linux.html 519-896-2560 EDT
Linux console
Is there a way (maybe some kind of web access) to give someone access to the linux console without telling them to logon to the userid running Linux? Peter.
Re: More than 3 partitions on CDL disks ...
Yes, it's the major/minor node numbers assigned to the devices. When the /dev/dasd range was first defined, the minor numbers started at 0, then 4, 8, 12, etc. When the /dev/dasd?1,2,3 got defined, the minor numbers were 1, 2, 3, 5, 6, 7, etc. Mark Post -Original Message- From: Don Mulvey [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 8:58 AM To: [EMAIL PROTECTED] Subject: More than 3 partitions on CDL disks ... FDASD only allows 3 partitions on a compatibility disk. However, in every case I have looked at there is room in the vtoc for more partitions. Does anyone know if there is some reason for not allowing more partitions on a cdl disk? Thanks, Don
Re: Linux backup software
> I'm not sure if this will work, but Arkeia is pretty good, and is > very good at managing tape libraries and such. It is pretty > involved, but once you get the hang of it, you'll really like > it (IMHO). > > http://www.arkeia.com/ It's a great tool, but looks like it's Intel Linux-only for now. I've sent them a note about whether they'll be adding 390 support anytime soon. -- db
Re: has anyone seen this?
> Now if we could just get them to mass-produce the sticker > that says, "Never > trust a computer you can lift." *grin* They also used to make a sticker that said: "If it doesn't dim ALL your neighbors lights when you IML, it isn't a real computer." (BTW, last friday was the 20th anniversary of the introduction of the Vax. 20 years later, and if you're using a Vax, you're not playing with a full DEC...8-)). -- db
Re: Linux backup software
Use Amanda. Works like a champ, and if you need it to talk nice to VMTAPE or tape libraries, contact me offline for the changer widget scripts and VM DVM to implment that. -- db David Boyes Sine Nomine Associates
Re: Successfully installed kernel 2.4.9-37 and LCS worked ok...BU T I get depmod errs
Dave, 1. When you upgraded to 2.4.9-37, _was_ the lcs support compiled in, or as a module? One way to tell is to do an lsmod and see if the use count of lcs.o is non-zero. If you can rmmod it, and it goes away, the support is in the kernel. If that is the case, that's the reason for the unresolved symbols for that module. If support for any function is compiled into the kernel (not just lcs), then when depmod is run, you'll get unresolved symbol errors. All you need to do is delete the module out of the /lib/modules tree to eliminate that error. 2. Do a "depmod -ae" command. This will actually list out the symbols that are not being found. Do they have "versioning information" at the end of them? I.e., things that look like "_Rsmp_b8fd00fe". Take one symbol name (I just grabbed this one at random), e.g., debug_exception_common_Rsmp_b8fd00fe, and do a grep debug_exception_common /proc/ksyms and see if it shows up or not, and whether the kernel symbol has the versioning turned on or not. Most frequently, this happens when there is: 1. A kernel built with versioning and the modules not 2. The opposite case of #1 3. A module built for a different version of the kernel 4. A module built for an SMP kernel and the kernel not built for SMP 5. The opposite case of #4 Mark Post -Original Message- From: Dave Myers [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 5:37 PM To: [EMAIL PROTECTED] Subject: Successfully installed kernel 2.4.9-37 and LCS worked ok...BUT I get depmod errs I successfully upgraded to kernel 2.4.9-37 today, ran the zipl, then rebooted. Wow...I actually have a system with lcs working!!! But...why do I get these errors and how do I eliminate them from the log?? I'm assuming that the lcs is now part of the 2.4.9-37 kernel? and that's why it is working despite these msgs?? I don't use qdio or qeth denmaint depmod: depmod: *** Unresolved symbols in /lib/modules/2.4.9-37tape/kernel/net/lcs.o14:54:59 denmaint depmod: depmod: *** Unresolved symbols in /lib/modules/2.4.9-37tape/kernel/net/qdio.o denmaint rc.sysinit: Finding module dependencies: failed denmaint depmod: depmod: *** Unresolved symbols in /lib/modules/2.4.9-37tape/kernel/net/qeth.o TIA Dave
linux images hang or loop by turns
HI! We start to run Linux under z/VM4.2. Two images has been running without any troubles for weeks. But we have very silly problem since yesterday. The 1st. image hangs sudennly. After few minutes (sometimes 1/2 hour) the Linux image continues to run. BUT the 2nd image hangs now! IT'S CRYZY. After among of time this image runs, but the 1st hangs again. Sometimes the time in linux changes caused by hang too. (eg. from 10:10 to 7:43) Using "CP Q T" the time is OK! Unfortunately there are no mesages in /var/log/mesaages, dmesg or whenever. :-( Some ideas maybe? PLEASE HELP! Best regards Jan As -- ___ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup
Re: linux images hang or loop by turns
At 13:43 24-05-02, Jan As wrote: >Two images has been running without any troubles for weeks. >But we have very silly problem since yesterday. >The 1st. image hangs sudennly. And let me guess, you did not have problems with just one running and not short after booting them either? Most likely the systems take turns waiting in the e-List. A userid with sufficient CP authorisation can see with an #CP IND QUEUE that one of them is E3 rather than Q3. You should either make your Linux images smaller (reduce the virtual memory) or encourage your z/VM to overcommit storage using the SRM parameters. Rob
Kernel messages
Hello everyone, I keep receiving these messages from the kernel (SuSE 2.4.7): kernel: dasd_erp(3990): /dev/dasdi(94:32),0617@0x1c4:Environmental data present kernel: dasd_erp(3990): /dev/dasdi(94:32),0617@0x1c4:FORMAT 6 - Overrun on channel C kernel: dasd:/dev/dasdi(94:32),0617@0x1c4:ERP successful kernel: dasd_erp(3990): /dev/dasdj(94:36),0625@0x1d2:Environmental data present kernel: dasd_erp(3990): /dev/dasdj(94:36),0625@0x1d2:FORMAT 6 - Overrun on channel D kernel: dasd:/dev/dasdj(94:36),0625@0x1d2:ERP successful Could anyone explain to me what these messages mean and whether should I be worried or no ? The same happens with 4 other dasds. All 6 dasds are a logical volume - probably this is important... I don't see anything unusual happening to the logical volume from the user's point of view - everything seems to be in perfect order. And what's strange is that I am using old 3380 dasds, yet in these messages a number 3390 occurs. Any help will be much appreciated. Maciek -- Maciej Ksiezycki Systems Programmer Unizeto - Computing Centre http://www.unizeto.pl
Re: Antwort: Re: patch problem
Tim, You got me, then. Try doing strace patch -p1 < linux-2.4.17-s390.diff and see what comes out. Mark Post -Original Message- From: Tim-Chr. Hanschen [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 1:58 AM To: [EMAIL PROTECTED] Subject: Antwort: Re: patch problem Yes, I am logged in as root... the permissions: drwxrwxrwt 3 root root 4096 May 24 07:50 tmp - Tim - "Post, Mark K" <[EMAIL PROTECTED]>@VM.MARIST.EDU> on 23.05.2002 15:35:51 Bitte antworten an Linux on 390 Port <[EMAIL PROTECTED]> Gesendet von: Linux on 390 Port <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] Kopie: Thema:Re: patch problem Tim, Are you doing this as root? What are the permissions on the /tmp directory? ls -la /tmp Mark Post -Original Message- From: Tim-Chr. Hanschen [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 12:37 AM To: [EMAIL PROTECTED] Subject: patch problem Hi, I tried to patch kernel 2.4.17 with linux-2.4.17-s390.diff and got the following: patching file Documentation/Configure.help patch: Can't create file /tmp/pooFPYtf : File exists I used: patch -p1 < linux-2.4.17-s390.diff. The file does not exist! The directory tmp is completetly empty. - Tim -
Dirty pages in mappings are dropped under page pressure
/* Hi again, one of our developers found YET ANOTHER hideous kernel bug in 2.4.17-2-timer - From: Christopher Neufeld <[EMAIL PROTECTED]> Hello, We have located another serious kernel bug in s390, this one apparently involving the treatment of the dirty attribute of memory-mapped pages. The particular test case I have written is designed deliberately to mimic the behaviour of a dynamically-linked library, whose text segment has to be rewritten in order to resolve external and internal links. The linker performs the following set of operations: open(O_RDONLY) the file, and determine the size of the mapping mmap(..., PROT_READ|PROT_EXEC, MAP_PRIVATE, ...) the file ...(perform some setup relating to other segments in the .so)... close() the file mprotect(..., PROT_READ|PROT_WRITE); ...(do some writes to the mapped pages)... mprotect(..., PROT_READ|PROT_EXEC); at this point, we're ready to run. Note that the process has mapped in the shared object with copy-on-write, and has modified some parts of it. These modified pages should have been tagged dirty, so that if the system has to page them out, it will send them to Linux' page (swap) space. The following program reproduces this step, omitting the setup of other segments in the fictitious shared object file. It creates a 512 kilobyte file in /tmp and maps it, modifies every fourth page, then waits for the user to hit . After the user has pressed ENTER, it scans all of the pages it modified, and confirms that they retain their modified values. Compile this program, and run it on a normally-loaded system. It should complete without complaining. Repeat this, but on a system with memory pressure. I have done this by running the program, and then, while it is waiting for me to press ENTER, I enter the command (as root): dd if=/dev/dasda1 of=/dev/null bs=160M count=1 which requires the kernel to load the first 160 megabytes of the primary DASD volume into Linux' virtual memory. If the virtual machine's physical memory is not vastly larger than 160 MB, this will generate page pressure, and the kernel will drop pages, preferably clean pages. When the "dd" operation completes, something which takes a couple of minutes on our machine, I press ENTER. Essentially every dirty page in the mapping is revealed to have been discarded, with the kernel going back to the disk image to refresh the mapping, even for those pages which ought to have been tagged dirty and paged out. Note that this behaviour isn't manifested on programs which link only against libc, because the library is compiled as position-independent code with internal links resolved at compile-time, so the linker is not required to modify any pages, and libc is not corrupted internally under the same circumstances. Here, now, is the test program */ #include #include #include #include #include #include #include #include #include #define MAPFILE "/tmp/mapped" #define PAGESIZE 4096 #define PAGES 128 #define PAGE_SKIP 4 int main(void) { int fd; unsigned char *buffer; pid_t mypid; int i; char pdata[PAGESIZE]; char keybuff[10]; for (i = 0; i < PAGESIZE; i++) pdata[i] = 0xff; fd = open(MAPFILE, O_CREAT | O_WRONLY); for (i = 0; i < PAGES; i++) write(fd, pdata, PAGESIZE); close(fd); fd = open(MAPFILE, O_RDONLY); buffer = mmap(NULL, PAGESIZE * PAGES, PROT_READ | PROT_EXEC, MAP_PRIVATE, fd, 0); close(fd); for (i = 0; i < PAGESIZE; i++) pdata[i] = 0; mprotect(buffer, PAGESIZE * PAGES, PROT_READ | PROT_WRITE); for (i = 0; i < PAGES; i += PAGE_SKIP) memcpy(buffer + i * PAGESIZE, pdata, PAGESIZE); mprotect(buffer, PAGESIZE * PAGES, PROT_READ | PROT_EXEC); printf("Setup complete. Please generate page pressure on the machine.\n"); printf("Once that is done, press ENTER\n"); fgets(keybuff, 9, stdin); for (i = 0; i < PAGES; i += PAGE_SKIP) if (memcmp(buffer + i * PAGESIZE, pdata, PAGESIZE) != 0) printf("Mapping reverted on page starting at 0x%p\n", buffer + i * PAGESIZE); return 0; } /* -- Christopher Neufeld, Senior Linux Consultant, Linuxcare, Inc. 613.562.9854 tel, 613.562.9304 fax [EMAIL PROTECTED], http://www.linuxcare.com/ - End forwarded message - -- Jason McMullan, Senior Linux Consultant Linuxcare, Inc. 412.432.6457 tel, 412.656.3519 cell [EMAIL PROTECTED], http://www.linuxcare.com/ Linuxcare. Putting open source to work. */
Re: linux images hang or loop by turns
-Jan wrote --- We start to run Linux under z/VM4.2. Two images has been running without any troubles for weeks. But we have very silly problem since yesterday. The 1st. image hangs sudennly. After few minutes (sometimes 1/2 hour) the Linux image continues to run. BUT the 2nd image hangs now! IT'S CRYZY. After among of time this image runs, but the 1st hangs again. Sometimes the time in linux changes caused by hang too. (eg. from 10:10 to 7:43) Using "CP Q T" the time is OK! Unfortunately there are no mesages in /var/log/mesaages, dmesg or whenever. :-( --- What resources or files are being shared between the linuxes(? linuxs lini ?)? What is the plural form of linux ?? Larry ** Privileged and/or confidential information may be contained in this message. If you are not the addressee indicated in this message (or are not responsible for delivery of this message to that person) , you may not copy or deliver this message to anyone. In such case, you should destroy this message and notify the sender by reply e-mail. If you or your employer do not consent to Internet e-mail for messages of this kind, please advise the sender. Shaw Industries, Inc. does not provide or endorse any opinions, conclusions or other information in this message that do not relate to the official business of the company. **
More than 3 partitions on CDL disks ...
FDASD only allows 3 partitions on a compatibility disk. However, in every case I have looked at there is room in the vtoc for more partitions. Does anyone know if there is some reason for not allowing more partitions on a cdl disk? Thanks, Don
Re: SuSE 7.0 Installation Telnet Problem
Maybe log messages on system console of Linux (under VM 3270 screen) can explain your problem. If no, check MTU size of TCP/IP under Linux and VM, and decrease it. WBR, Sergey Massimiliano BelardiTo: [EMAIL PROTECTED] Subject: SuSE 7.0 Installation Telnet Problem Sent by: Linux on 390 Port <[EMAIL PROTECTED] ARIST.EDU> 24.05.02 13:17 Please respond to Linux on 390 Port Hello, I'm experienced a new "strange" problem. I'm just running the first istance on a VM/ESA 2.3, after run LIN EXEC file, I set up network and root password for the installation. After complete the initial configuration, I try to telnet with PuTTY to Linux but after send password I receive NO response. Netstat command show the connection between Linux and PC where I'm trying to login is established. Somebody experienced this problem? Thank's Max PS.. If I send a wrong password system send me a message with invalid Login
Re: What PTF level am I at?
Have you tried running VMFINFO from MAINT? You should be able to determine what PTFs are applied on VM similar to what OS/390 or z/OS would show you with SMP/E. Lonny -Original Message- From: Robert Reuscher [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 12:08 AM To: [EMAIL PROTECTED] Subject: Re: What PTF level am I at? What if it doesn't show the maintenance level? I received, applied and built a new nucleus today, and after I ipled it still did not give me a maintenance level when I issued the query vmlan command. I'm pretty sure that is applied, I was able to find the symbol HCPLANML and display storage, it showed VM62938, but the query command does not. -Original Message- From: musselwh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 9:56 AM To: LINUX-390 Subject: Re: What PTF level am I at? Matt, You can get some idea of the system level using the CP command: CP QUERY CPLEVEL That should (at least) reassure you that you are using z/VM Version 4 Release 2.0 and it will list a service level that indicates which service tape has been installed. CP Guest LAN support on VM 4.2.0 was enabled by CP APAR VM62938 (and TCPIP APAR PQ51738). Use the following CP command to find out if VM62938 is installed: CP QUERY VMLAN If the response starts out with something like this: VMLAN maintenance level: Latest Service: VM62938 you have the necessary CP support to define virtual HiperSockets networks and adapters. Regards, Dennis Musselwhite ([EMAIL PROTECTED]) IBM Corporation -- z/VM Development -- CP Network Simulation
SuSE 7.0 Installation Telnet Problem
Hello, I'm experienced a new "strange" problem. I'm just running the first istance on a VM/ESA 2.3, after run LIN EXEC file, I set up network and root password for the installation. After complete the initial configuration, I try to telnet with PuTTY to Linux but after send password I receive NO response. Netstat command show the connection between Linux and PC where I'm trying to login is established. Somebody experienced this problem? Thank's Max PS.. If I send a wrong password system send me a message with invalid Login
Re: Successfully installed kernel 2.4.9-37 and LCS worked ok...BUT I get depmod errs
Maybe, try depmod -a ? WBR, Sergey Dave Myers cc: Sent by: Linux Subject: Successfully installed kernel on 390 Port2.4.9-37 and LCS worked ok...BUT I <[EMAIL PROTECTED]get depmod errs ARIST.EDU> 24.05.02 00:36 Please respond to Linux on 390 Port I successfully upgraded to kernel 2.4.9-37 today, ran the zipl, then rebooted. Wow...I actually have a system with lcs working!!! But...why do I get these errors and how do I eliminate them from the log?? I'm assuming that the lcs is now part of the 2.4.9-37 kernel? and that's why it is working despite these msgs?? I don't use qdio or qeth denmaint depmod: depmod: *** Unresolved symbols in /lib/modules/2.4.9-37tape/kernel/net/lcs.o14:54:59 denmaint depmod: depmod: *** Unresolved symbols in /lib/modules/2.4.9-37tape/kernel/net/qdio.o denmaint rc.sysinit: Finding module dependencies: failed denmaint depmod: depmod: *** Unresolved symbols in /lib/modules/2.4.9-37tape/kernel/net/qeth.o TIA Dave