* netdev-dev.d? + udevsend-wait-for-udev?
@ 2004-03-27 0:59 Kay Sievers
2004-03-27 1:05 ` Greg KH
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Kay Sievers @ 2004-03-27 0:59 UTC (permalink / raw)
To: linux-hotplug
I need the net device names in the udev database, for managing the rules
with the gui. Before I send the patch, do we want to raise the dev.d/
events for net devices too?
I have a patch pending for udevsend which waits for the real udev to
come back and let udevsend exit with the return code of the real udev.
It is possible with it, to resubmit the event if we receive a recoverable
error from udev. Don't know if it's useful.
If we want this I will resend a actual version. I want to know it, before
we implement the control socket for the udevd signal handling hole.
thanks,
Kay
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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] 8+ messages in thread
* Re: netdev-dev.d? + udevsend-wait-for-udev?
2004-03-27 0:59 netdev-dev.d? + udevsend-wait-for-udev? Kay Sievers
@ 2004-03-27 1:05 ` Greg KH
2004-03-27 1:26 ` Kay Sievers
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2004-03-27 1:05 UTC (permalink / raw)
To: linux-hotplug
On Sat, Mar 27, 2004 at 01:59:28AM +0100, Kay Sievers wrote:
> I need the net device names in the udev database, for managing the rules
> with the gui. Before I send the patch, do we want to raise the dev.d/
> events for net devices too?
Sure, it makes sense to.
> I have a patch pending for udevsend which waits for the real udev to
> come back and let udevsend exit with the return code of the real udev.
> It is possible with it, to resubmit the event if we receive a recoverable
> error from udev. Don't know if it's useful.
I think I lost the last version you sent me of this. I still don't feel
it's necessary, and possibly dangerous if we have a heavy system load,
right?
But feel free to convince me that we really need this patch :)
thanks,
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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] 8+ messages in thread
* Re: netdev-dev.d? + udevsend-wait-for-udev?
2004-03-27 0:59 netdev-dev.d? + udevsend-wait-for-udev? Kay Sievers
2004-03-27 1:05 ` Greg KH
@ 2004-03-27 1:26 ` Kay Sievers
2004-03-27 1:33 ` Greg KH
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Kay Sievers @ 2004-03-27 1:26 UTC (permalink / raw)
To: linux-hotplug
On Fri, Mar 26, 2004 at 05:05:33PM -0800, Greg KH wrote:
> On Sat, Mar 27, 2004 at 01:59:28AM +0100, Kay Sievers wrote:
> > I need the net device names in the udev database, for managing the rules
> > with the gui. Before I send the patch, do we want to raise the dev.d/
> > events for net devices too?
>
> Sure, it makes sense to.
Fine, then we will have the netdev's in the selection list soon :)
> > I have a patch pending for udevsend which waits for the real udev to
> > come back and let udevsend exit with the return code of the real udev.
> > It is possible with it, to resubmit the event if we receive a recoverable
> > error from udev. Don't know if it's useful.
>
> I think I lost the last version you sent me of this. I still don't feel
> it's necessary, and possibly dangerous if we have a heavy system load,
> right?
It's not really dangerous and it doesn't take longer for hundreds of
debug disks.
udevsend will just wait a bit longer than udevs timout for a event and
then quit, also without the "ack message".
Hmm, it's nice style to let the caller know what happened, but are
there any cases you can think of, where we have a error and want to
retry? Hmm, ... :)
thanks,
Kay
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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] 8+ messages in thread
* Re: netdev-dev.d? + udevsend-wait-for-udev?
2004-03-27 0:59 netdev-dev.d? + udevsend-wait-for-udev? Kay Sievers
2004-03-27 1:05 ` Greg KH
2004-03-27 1:26 ` Kay Sievers
@ 2004-03-27 1:33 ` Greg KH
2004-03-27 1:42 ` Kay Sievers
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2004-03-27 1:33 UTC (permalink / raw)
To: linux-hotplug
On Sat, Mar 27, 2004 at 02:26:15AM +0100, Kay Sievers wrote:
> > > I have a patch pending for udevsend which waits for the real udev to
> > > come back and let udevsend exit with the return code of the real udev.
> > > It is possible with it, to resubmit the event if we receive a recoverable
> > > error from udev. Don't know if it's useful.
> >
> > I think I lost the last version you sent me of this. I still don't feel
> > it's necessary, and possibly dangerous if we have a heavy system load,
> > right?
>
> It's not really dangerous and it doesn't take longer for hundreds of
> debug disks.
I was thinking the problem where we don't get around to servicing the
event in time, and it gets resent. Wasn't that part of this patch?
If not, nevermind, can you resend it to me?
I'm going to be away this weekend, so you don't have to hurry, I'm not
going to be able to apply it until Monday :)
thanks,
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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] 8+ messages in thread
* Re: netdev-dev.d? + udevsend-wait-for-udev?
2004-03-27 0:59 netdev-dev.d? + udevsend-wait-for-udev? Kay Sievers
` (2 preceding siblings ...)
2004-03-27 1:33 ` Greg KH
@ 2004-03-27 1:42 ` Kay Sievers
2004-03-27 8:58 ` Marco d'Itri
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Kay Sievers @ 2004-03-27 1:42 UTC (permalink / raw)
To: linux-hotplug
On Fri, Mar 26, 2004 at 05:33:06PM -0800, Greg KH wrote:
> On Sat, Mar 27, 2004 at 02:26:15AM +0100, Kay Sievers wrote:
> > > > I have a patch pending for udevsend which waits for the real udev to
> > > > come back and let udevsend exit with the return code of the real udev.
> > > > It is possible with it, to resubmit the event if we receive a recoverable
> > > > error from udev. Don't know if it's useful.
> > >
> > > I think I lost the last version you sent me of this. I still don't feel
> > > it's necessary, and possibly dangerous if we have a heavy system load,
> > > right?
> >
> > It's not really dangerous and it doesn't take longer for hundreds of
> > debug disks.
>
> I was thinking the problem where we don't get around to servicing the
> event in time, and it gets resent. Wasn't that part of this patch?
>
> If not, nevermind, can you resend it to me?
udevsend just waits for udev to come back and sends back the return value
to udevsend. There is no auto-resend or something. The udevsend-caller can
decide what to do with a failing udev call.
> I'm going to be away this weekend, so you don't have to hurry, I'm not
> going to be able to apply it until Monday :)
Oh, I will prepare a whole bunch of patches for you in the meantime :)
Kay
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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] 8+ messages in thread
* Re: netdev-dev.d? + udevsend-wait-for-udev?
2004-03-27 0:59 netdev-dev.d? + udevsend-wait-for-udev? Kay Sievers
` (3 preceding siblings ...)
2004-03-27 1:42 ` Kay Sievers
@ 2004-03-27 8:58 ` Marco d'Itri
2004-03-27 11:12 ` Kay Sievers
2004-03-27 11:37 ` Marco d'Itri
6 siblings, 0 replies; 8+ messages in thread
From: Marco d'Itri @ 2004-03-27 8:58 UTC (permalink / raw)
To: linux-hotplug
On Mar 27, Greg KH <greg@kroah.com> wrote:
> I think I lost the last version you sent me of this. I still don't feel
> it's necessary, and possibly dangerous if we have a heavy system load,
> right?
Let's not forget about the effect this could have on boot length as
well.
--
ciao, |
Marco | [5384 cou8MmCOsq7dc]
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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] 8+ messages in thread
* Re: netdev-dev.d? + udevsend-wait-for-udev?
2004-03-27 0:59 netdev-dev.d? + udevsend-wait-for-udev? Kay Sievers
` (4 preceding siblings ...)
2004-03-27 8:58 ` Marco d'Itri
@ 2004-03-27 11:12 ` Kay Sievers
2004-03-27 11:37 ` Marco d'Itri
6 siblings, 0 replies; 8+ messages in thread
From: Kay Sievers @ 2004-03-27 11:12 UTC (permalink / raw)
To: linux-hotplug
On Sat, Mar 27, 2004 at 09:58:51AM +0100, Marco d'Itri wrote:
> On Mar 27, Greg KH <greg@kroah.com> wrote:
>
> > I think I lost the last version you sent me of this. I still don't feel
> > it's necessary, and possibly dangerous if we have a heavy system load,
> > right?
> Let's not forget about the effect this could have on boot length as
> well.
What do you mean? Events running in parallel and if udevsend sleeps in
parrallel a bit longer, doesn't mean anything, right? Did you try it?
Kay
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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] 8+ messages in thread
* Re: netdev-dev.d? + udevsend-wait-for-udev?
2004-03-27 0:59 netdev-dev.d? + udevsend-wait-for-udev? Kay Sievers
` (5 preceding siblings ...)
2004-03-27 11:12 ` Kay Sievers
@ 2004-03-27 11:37 ` Marco d'Itri
6 siblings, 0 replies; 8+ messages in thread
From: Marco d'Itri @ 2004-03-27 11:37 UTC (permalink / raw)
To: linux-hotplug
On Mar 27, Kay Sievers <kay.sievers@vrfy.org> wrote:
> What do you mean? Events running in parallel and if udevsend sleeps in
> parrallel a bit longer, doesn't mean anything, right? Did you try it?
No... :-)
If udevstart runs everything in parallel then this will obviously not be
a problem.
--
ciao, |
Marco | [5386 zaEkbOllPlRng]
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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] 8+ messages in thread
end of thread, other threads:[~2004-03-27 11:37 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-27 0:59 netdev-dev.d? + udevsend-wait-for-udev? Kay Sievers
2004-03-27 1:05 ` Greg KH
2004-03-27 1:26 ` Kay Sievers
2004-03-27 1:33 ` Greg KH
2004-03-27 1:42 ` Kay Sievers
2004-03-27 8:58 ` Marco d'Itri
2004-03-27 11:12 ` Kay Sievers
2004-03-27 11:37 ` Marco d'Itri
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).