Re: s390 hardware config

2006-03-26 Thread Bastian Blank
On Fri, Mar 24, 2006 at 07:35:24PM -0600, Stephen Frazier wrote: It would seem that for a hot plug CTC device. You would set it up to test for the presence of the other one of the pair. If they are not both present then dont do anything. Thus in your example when 0A00 became available

Re: s390 hardware config

2006-03-24 Thread Frans Pop
On Friday 27 January 2006 14:24, Bastian Blank wrote: I finaly finished a rudimentary hardware configuration. It have some similarities with the redhat and suse sysconfig. (This was the simplest schema I found.) - A config for ccwgroup contains a CCWGROUP_CHANS array:

Re: s390 hardware config

2006-03-24 Thread Bastian Blank
On Fri, Mar 24, 2006 at 02:38:05PM +0100, Frans Pop wrote: I've not been able get udev to set up the hardware though. I've created a file '/etc/sysconfig/hardware/config-ccw-0.0.0a00' with: CCWGROUP_CHANS=(0.0.0a00 0.0.0a01) but that does not seem to do anything. Hmm, I think I know the

Re: s390 hardware config

2006-03-24 Thread Frans Pop
On Friday 24 March 2006 15:05, Bastian Blank wrote: After loading the ctc module, a hwup ccw 0.0.0a00 works fine. The ctc module is loaded. I have it in /etc/modules. A manual 'hwup ccw 0.0.0a00' does indeed do the trick. The problem seems to be that loading the ctc module does not trigger the

Re: s390 hardware config

2006-03-24 Thread Bastian Blank
On Fri, Mar 24, 2006 at 03:40:46PM +0100, Frans Pop wrote: I guess you mean that ctc will be loaded as part of the processing of /sys/bus/ccw/devices/0.0.0a00 so loading it manually in /etc/modules is no longer needed? Exactly. But there is another problem left: A race condition happens if

Re: s390 hardware config

2006-03-24 Thread Bastian Blank
On Fri, Mar 24, 2006 at 04:23:46PM +0100, Bastian Blank wrote: # echo /sys/bus/ccw/devices/0.0.0a00/uevent Should be # echo /sys/bus/ccw/devices/0.0.0a00/uevent Bastian -- It would be illogical to kill without reason. -- Spock, Journey to Babel, stardate 3842.4

Re: s390 hardware config

2006-03-24 Thread Adam Thornton
On Mar 24, 2006, at 9:10 AM, Bastian Blank wrote: On Fri, Mar 24, 2006 at 03:40:46PM +0100, Frans Pop wrote: I guess you mean that ctc will be loaded as part of the processing of /sys/bus/ccw/devices/0.0.0a00 so loading it manually in /etc/ modules is no longer needed? Exactly. But there

Re: s390 hardware config

2006-03-24 Thread Ivan Warren
Have we seen this in practice? Because of the way the CTC driver is structured, one address is input and one is output if you're speaking IP over it. It's not like using CTC for RSCS where each address is bidirectional. So if only one of the pair is there, I'd say that it's broken and you

Re: s390 hardware config

2006-03-24 Thread Ivan Warren
Adam Thornton wrote: I'm going to be devil's advocate here: *I* always use the even address as the bottom one of the pair. Is there anything mandating that that has to be the case? Adam Oh.. You're lacking imagination ! You could push that one just a tad further ! 1) Use non consecutive

Re: s390 hardware config

2006-03-24 Thread Adam Thornton
On Mar 24, 2006, at 7:35 PM, Stephen Frazier wrote: It would seem that for a hot plug CTC device. You would set it up to test for the presence of the other one of the pair. If they are not both present then dont do anything. Thus in your example when 0A00 became available nothing would

Re: s390 hardware config

2006-03-24 Thread Adam Thornton
On Mar 24, 2006, at 8:39 PM, Ivan Warren wrote: Adam Thornton wrote: I'm going to be devil's advocate here: Oh.. You're lacking imagination ! You could push that one just a tad further ! I blame the total lack of cough syrup tonight for my failure of imagination. Adam -- To

Re: s390 hardware config

2006-03-24 Thread Stephen Frazier
When using a real CTC, that is a wire cable between two separate computers, (I haven't seen one of those in years either but they do really exist) it is necessary to reverse the order on one. One machine read=0A00 write=0A01 the other read=0A01 write=0A00. One machine has to read what the

s390 hardware config

2006-01-27 Thread Bastian Blank
Hi folks I finaly finished a rudimentary hardware configuration. It have some similarities with the redhat and suse sysconfig. (This was the simplest schema I found.) You can find the sources via https://lophos.multibuild.org/svn/sysconfig/trunk. It currently lacks documentation, but the