usb floppy delays in /sys

Luke Kenneth Casson Leighton lkcl at lkcl.net
Thu Sep 16 10:34:16 PDT 2004


On Thu, Sep 16, 2004 at 07:00:16PM +0200, David Zeuthen wrote:
> On Thu, 2004-09-16 at 17:58 +0100, Luke Kenneth Casson Leighton wrote:
> > > Cool, you got a patch for this? It works out of the box for me with my
> > > Lacie USB Floppy Drive so I can't really reproduce the problem.
> >  
> >  i'm using selinux [on debian.  with udev. don't ask] so
> >  there's a significant delay of about 1/3 to 1/2 a second on device
> >  inode creation as it is.
> > 
> 
> I presume you mean device node creation.
 
 yes.

> >  so it's a more a matter of you _would_ possibly come across it -
> >  on a particularly busy computer - and have things inexplicably fail.
> > 
> 
> Oh, but we already take this into account! In fact we reliably handle
> (or at least we will 100% once udev passes the SEQNUM) much larger
> delays - see this message discussing the delays incurred by hotplugging
> an entire USB hub worth of devices for some background

 oh gawd.

> >  regarding a patch: to hal_hotplug.c?
> > 
> >  i wouldn't know where to start... okay... how would i determine the
> >  correct sysfs file type?
> > 
> 
> So, basically, yeah, if you can remove your "ItWorksForMe(tm)" patch and

 *grin*

> send the output of 'hald --daemon=no --verbose=yes' from when you plugin
> the drive I'm sure we can easily track down what sysfs files makes this
> fail. Then we can patch hal_hotplug.c to cope with that and all should
> be good.


okay, it's a 55k file, i object to doing things like sending big files
to lists so it's at http://hands.com/~lkcl/hal-hotplug-fail.typescript

.... can i go back to my happy hacking now, pleeeeaase? :)

l.

_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list