* userland hotplug tools
@ 2004-08-24 17:15 Linas Vepstas
2004-08-24 20:07 ` Linda Xie
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Linas Vepstas @ 2004-08-24 17:15 UTC (permalink / raw)
To: linux-hotplug
Hi,
On Tue, Aug 24, 2004 at 01:16:17PM -0500, Linda Xie was heard to remark:
>
> GregKH wrote:
> >They exist:
> >www.kroah.com/linux/hotplug
>
> >It's just the dumb ppc64 driver that breaks this tool, the last time I
> >tried it...
>
>
> Hi Greg,
>
> This tool won't work on pSeries platforms that support DLPAR. One of the
> reasons is that rpadlpar_io module creates "control" directory in
> /sys/bus/pci/slots.
> "control" is for adding/removing DLPAR I/O slots. It is not a PHP slot
> directory, so it doesn't have atribute files "power", "adapter",... the
> tool is looking for.
Either the 'control' subdirectory is in the wrong spot, or the tool
should be changed to ignore it. Greg?
> BTW, I downloaded 0.5 version src of the tool, modified man.c to use
> /sys/bus/pci/slots instead of /sys/bus/pci/hotplug_slots, modified
Maybe the ppc64 code uses the wrong name here? All the arches should use
the same name, and if 'hotplug_slots' is the 'official' name, then the
ppc64 code should change to use that name.
> slot.c to skip "control" dirctory and made other miscelaneous additions.
(yes, e.g. it won't build with newer versions of automake, etc.)
> Now I can use it to list all php slots and identify a php slots. I like
> the GUI environment this tool creates. I wanted to say thank you for
> creating a great tool.
Greg, should your tool be upgraded and maintained, or would you rather
deflect focus onto HAL? My biggest complaint is that most of my servers
are not graphical, so a graphical tool won't help, unless it can operate
distributed. By contrast, HAL, with hald looks like it might be able to
(???) run distributed.
> I am thinking about creating a GUI (based on your tool) that can be used
> on pSeries to do PHP add/remove/replace a PCI adapter. One thing I'd
> like to do is to integrate our php tool (drslot_chrp_pci) into the GUI.
Ugh. My gut reaction is to obsolete the drslot_chrp_pci tools, and
replace them by generic tools that would work on all arches.
--linas
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: userland hotplug tools
2004-08-24 17:15 userland hotplug tools Linas Vepstas
@ 2004-08-24 20:07 ` Linda Xie
2004-08-24 22:38 ` Greg KH
2004-08-26 6:24 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Linda Xie @ 2004-08-24 20:07 UTC (permalink / raw)
To: linux-hotplug
Linas Vepstas wrote:
>
>Either the 'control' subdirectory is in the wrong spot, or the tool
>should be changed to ignore it. Greg?
>
>
>
>>BTW, I downloaded 0.5 version src of the tool, modified man.c to use
>>/sys/bus/pci/slots instead of /sys/bus/pci/hotplug_slots, modified
>>
>>
>
>Maybe the ppc64 code uses the wrong name here? All the arches should use
>the same name, and if 'hotplug_slots' is the 'official' name, then the
>ppc64 code should change to use that name.
>
>
/sys/bus/pci/slots is the official directory name of PHP slots (0.5
might not
be the latest version).
Greg, do you have a later version of the tool ?
>>I am thinking about creating a GUI (based on your tool) that can be used
>>on pSeries to do PHP add/remove/replace a PCI adapter. One thing I'd
>>like to do is to integrate our php tool (drslot_chrp_pci) into the GUI.
>>
>>
>
>Ugh. My gut reaction is to obsolete the drslot_chrp_pci tools, and
>replace them by generic tools that would work on all arches.
>
>--linas
>
>
I think you misunderstood what I meant by saying "integrate". What I
was trying to say is to create a gui that supports the same
functionalities that drslot_chrp_pci provides. It doesn't necessarily
mean that the gui needs to do "isolate", "config-connector" ... platfom
specific stuff. If we can move some functions of drslot_chrp_pci into
the kernel, It would be possible to create a generic php tool that
would work on pSeries and all other arches. At this point, I don't think
that is the case, because the src of drslot_chrp_pci isn't open src yet.
Thanks,
Linda
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: userland hotplug tools
2004-08-24 17:15 userland hotplug tools Linas Vepstas
2004-08-24 20:07 ` Linda Xie
@ 2004-08-24 22:38 ` Greg KH
2004-08-26 6:24 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2004-08-24 22:38 UTC (permalink / raw)
To: linux-hotplug
On Tue, Aug 24, 2004 at 04:22:59PM -0500, Linda Xie wrote:
> /sys/bus/pci/slots is the official directory name of PHP slots (0.5
> might not be the latest version).
>
> Greg, do you have a later version of the tool ?
I do. See the bk tree for the latest version, I need to make a new
release one of these days...
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: userland hotplug tools
2004-08-24 17:15 userland hotplug tools Linas Vepstas
2004-08-24 20:07 ` Linda Xie
2004-08-24 22:38 ` Greg KH
@ 2004-08-26 6:24 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2004-08-26 6:24 UTC (permalink / raw)
To: linux-hotplug
On Tue, Aug 24, 2004 at 12:15:30PM -0500, Linas Vepstas wrote:
> >
> > This tool won't work on pSeries platforms that support DLPAR. One of the
> > reasons is that rpadlpar_io module creates "control" directory in
> > /sys/bus/pci/slots.
> > "control" is for adding/removing DLPAR I/O slots. It is not a PHP slot
> > directory, so it doesn't have atribute files "power", "adapter",... the
> > tool is looking for.
>
> Either the 'control' subdirectory is in the wrong spot, or the tool
> should be changed to ignore it. Greg?
Probably changed to ignore it.
> > BTW, I downloaded 0.5 version src of the tool, modified man.c to use
> > /sys/bus/pci/slots instead of /sys/bus/pci/hotplug_slots, modified
>
> Maybe the ppc64 code uses the wrong name here? All the arches should use
> the same name, and if 'hotplug_slots' is the 'official' name, then the
> ppc64 code should change to use that name.
The latest version of the tool in the bk tree handles this properly.
ppc64 doesn't do this wrong.
> > slot.c to skip "control" dirctory and made other miscelaneous additions.
>
> (yes, e.g. it won't build with newer versions of automake, etc.)
It will not? Hm, haven't tried in a very long time. I hate automake...
Anyway, please send patches.
> > Now I can use it to list all php slots and identify a php slots. I like
> > the GUI environment this tool creates. I wanted to say thank you for
> > creating a great tool.
>
> Greg, should your tool be upgraded and maintained, or would you rather
> deflect focus onto HAL? My biggest complaint is that most of my servers
> are not graphical, so a graphical tool won't help, unless it can operate
> distributed. By contrast, HAL, with hald looks like it might be able to
> (???) run distributed.
Feel free to send me patches if you want to.
But realize that a certian big company makes a big, expensive tool that
works accross networks and handles large numbers of machines,
controlling all of their pci hotplug slots, so you might run into some
problems when asking to spend work time on this tool :(
> > I am thinking about creating a GUI (based on your tool) that can be used
> > on pSeries to do PHP add/remove/replace a PCI adapter. One thing I'd
> > like to do is to integrate our php tool (drslot_chrp_pci) into the GUI.
>
> Ugh. My gut reaction is to obsolete the drslot_chrp_pci tools, and
> replace them by generic tools that would work on all arches.
Please! That would be wonderful. And the proper thing to do.
thanks,
greg k-h
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-08-26 6:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-24 17:15 userland hotplug tools Linas Vepstas
2004-08-24 20:07 ` Linda Xie
2004-08-24 22:38 ` Greg KH
2004-08-26 6:24 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).