Re: z/Linux and VM RDR files

2021-05-21 Thread van Sleeuwen, Berry
vriendelijke groet/With kind regards/Mit freundlichen Grüßen, Berry van Sleeuwen Flight Forum 3000 5657 EW Eindhoven -Original Message- From: Linux on 390 Port On Behalf Of Dave Jones Sent: Thursday, 20 May 2021 21:38 To: LINUX-390@VM.MARIST.EDU Subject: z/Linux and VM RDR files Caution

Re: z/Linux and VM RDR files

2021-05-21 Thread Dave Jones
This begs the questioncould a WAKEUP type function be written for zLinux when it is running as a guest of z/VM? DJ --- DAVID JONES | MANAGING DIRECTOR FOR ZSYSTEMS SERVICES | z/VM, Linux, and Cloud 703.237.7370 (Office) | 281.578.7544 (CELL) INFORMATION TECHNOLOGY COMPANY On 05.21.2021 8:58

Re: z/Linux and VM RDR files

2021-05-21 Thread Alan Altmark
On Friday, 05/21/2021 at 12:44 GMT, Ingo Adlung wrote: > I don't recall how an unsolicited DE is processed today, but I don't feel a > udev event would be the adequate action. Perhaps it could become an > informational log entry that could be filtered ... There's already code in vmur to handle un

Re: z/Linux and VM RDR files

2021-05-21 Thread Ingo Adlung
> To: LINUX-390@VM.MARIST.EDU > Date: 21/05/2021 14:12 > Subject: [EXTERNAL] Re: [LINUX-390] z/Linux and VM RDR files > Sent by: Linux on 390 Port > > > But I don't know if the Linux device drivers will generate UDEV events > > based on it. It would be nice i

Re: z/Linux and VM RDR files

2021-05-21 Thread Dave Jones
But I don't know if the Linux device drivers will generate UDEV events based on it. It would be nice if they did. They don't, unfortunately. DJ --- DAVID JONES | MANAGING DIRECTOR FOR ZSYSTEMS SERVICES | z/VM, Linux, and Cloud 703.237.7370 (Office) | 281.578.7544 (CELL) INFORMATION TECHNOLOGY

Re: z/Linux and VM RDR files

2021-05-20 Thread Mark Post
On 5/20/21 5:32 PM, Alan Altmark wrote: > But I don't know if the Linux device drivers will generate UDEV events > based on it. It would be nice if they did. I just ran a test, and it doesn't seem to do so. Mark Post -- For LI

Re: z/Linux and VM RDR files

2021-05-20 Thread Mark Post
On 5/20/21 4:06 PM, Mark Post wrote: > If the message you get from CP is an SMSG, then you can have udev rules > that would get triggered to check to see what was in the SMSG, and act > on it as appropriate. > > I don't know if those *are* SMSGs or not, but if they are, this is the > approach I wou

Re: z/Linux and VM RDR files

2021-05-20 Thread Mark Post
On 5/20/21 3:37 PM, Dave Jones wrote: > Hello, all. > How can I get automatically notified in a z/Linux guest (in this case > Ubuntu 20.04) when a rdr file arrives for it? > Many thanks. > DJ If the message you get from CP is an SMSG, then you can have udev rules that would get triggered to check

Re: z/Linux and VM RDR files

2021-05-20 Thread Alan Altmark
On Thursday, 05/20/2021 at 07:37 GMT, Dave Jones wrote: > How can I get automatically notified in a z/Linux guest (in this case > Ubuntu 20.04) when a rdr file arrives for it? (Didn't we have a conversation about this here a few weeks/months ago?) Aside from an IMSG, the reader will get an unsol

Re: z/Linux and VM RDR files

2021-05-20 Thread Rick Troth
[sigh] Now that you ask, I'll have to dig to remember it. It's one of the neatest things about z/VM virtual machines, but not universally applicable to Linux (or even Linux on Z). All the DuckDuck hits are for the terminal server, and that's completely different. It's *not* the smsgiucv_app driver

Re: z/Linux and VM RDR files

2021-05-20 Thread Neale Ferguson
If you use the fsiucv driver I wrote you can use it to field stuff from *MSG. Neale Ferguson On 5/21/21, 06:29, "Linux on 390 Port on behalf of Dave Jones" wrote: Rick, I can? Pray tell, how? If I was doing this on CMS I would just use WAKEUP (or something like it) to run something wh

Re: z/Linux and VM RDR files

2021-05-20 Thread Dave Jones
Rick, I can? Pray tell, how? If I was doing this on CMS I would just use WAKEUP (or something like it) to run something when a RDR arrived. Many thanks. DJ --- DAVID JONES | MANAGING DIRECTOR FOR ZSYSTEMS SERVICES | z/VM, Linux, and Cloud 703.237.7370 (Office) | 281.578.7544 (CELL) INFORMATION T

Re: z/Linux and VM RDR files

2021-05-20 Thread Rick Troth
IMSGs But you can trap those too. On Thu, May 20, 2021, 16:11 Mark Post wrote: > On 5/20/21 4:06 PM, Mark Post wrote: > > If the message you get from CP is an SMSG, then you can have udev rules > > that would get triggered to check to see what was in the SMSG, and act > > on it as appropriate. >

Re: z/Linux and VM RDR files

2021-05-20 Thread Frank Heimes
Hi Dave, the principle is the same for all Linux on Z distros (well, the sudo piece is typical for Ubuntu ;-) Enable the corresponding ccw devices: sudo chzdev -e 0.0.000c-0.0.000e and you'll get these devices: ls -l /dev/vm* crw--- 1 root root 10, 122 Apr 22 08:06 /dev/vmcp crw--- 1 root

z/Linux and VM RDR files

2021-05-20 Thread Dave Jones
Hello, all. How can I get automatically notified in a z/Linux guest (in this case Ubuntu 20.04) when a rdr file arrives for it? Many thanks. DJ -- DAVID JONES | MANAGING DIRECTOR FOR ZSYSTEMS SERVICES | z/VM, Linux, and Cloud 703.237.7370 (Office) | 281.578.7544 (CELL) INFORMATION TECHNOLOGY COM