Skip to contentSkip to conversation

timeout udevd too hort

DISCUSSION Kay Sievers 2 participants 2 messages Apr 1, 2004

lore
Share & tools
lore
#0 lore raw

Bahh, I thought we introduced a bug in udevd with the recent changes, but it seems I have a really slow device here.

We currently have a event timeout of 5 seconds to wait for a missing event. I can catch it by activating my Thinkpad's builtin bluetooth hardware. Sometimes the kernel needs 6 seconds to submit all the hotplug events for this device.
Should we increase it to 10 seconds?

thanks,
Kay

device:
Bus 001 Device 004: ID 0aec:3260 Neodio Technologies Corp.

udevdsend log:

  Apr  1 02:54:08 pim udevsend[12119]: main: version 023_bk
  Apr  1 02:54:08 pim udevsend[12119]: main: subsystem = 'tty'
  Apr  1 02:54:08 pim udevsend[12119]: main: DEVPATH = '/class/tty/ttyUB0'
  Apr  1 02:54:08 pim udevsend[12119]: main: ACTION = 'remove'
  Apr  1 02:54:08 pim udevsend[12119]: main: SEQNUM = '340'
  Apr  1 02:54:08 pim udevsend[12120]: main: version 023_bk
  Apr  1 02:54:08 pim udevsend[12120]: main: subsystem = 'usb'
  Apr  1 02:54:08 pim udevsend[12120]: main: DEVPATH = '/devices/pci0000:00/0000:00:1d.2/usb4/4-1'
  Apr  1 02:54:08 pim udevsend[12120]: main: ACTION = 'remove'
  Apr  1 02:54:08 pim udevsend[12120]: main: SEQNUM = '344'
  Apr  1 02:54:09 pim udevsend[12133]: main: version 023_bk
  Apr  1 02:54:09 pim udevsend[12133]: main: subsystem = 'usb'
  Apr  1 02:54:09 pim udevsend[12133]: main: DEVPATH = '/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.1'
  Apr  1 02:54:09 pim udevsend[12133]: main: ACTION = 'remove'
  Apr  1 02:54:09 pim udevsend[12133]: main: SEQNUM = '342'
  Apr  1 02:54:10 pim udevsend[12136]: main: version 023_bk
  Apr  1 02:54:10 pim udevsend[12136]: main: subsystem = 'usb'
  Apr  1 02:54:10 pim udevsend[12136]: main: DEVPATH = '/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.2'
  Apr  1 02:54:10 pim udevsend[12136]: main: ACTION = 'remove'
  Apr  1 02:54:10 pim udevsend[12136]: main: SEQNUM = '343'
  Apr  1 02:54:13 pim udevsend[12141]: main: version 023_bk
  Apr  1 02:54:13 pim udevsend[12141]: main: subsystem = 'usb'
  Apr  1 02:54:13 pim udevsend[12141]: main: DEVPATH = '/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0'
  Apr  1 02:54:13 pim udevsend[12141]: main: ACTION = 'remove'
  Apr  1 02:54:13 pim udevsend[12141]: main: SEQNUM = '341'

-------------------------------------------------------
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_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 7 lines · Kay Sievers

Bahh, I thought we introduced a bug in udevd with the recent changes, but it seems I have a really slow device here.

We currently have a event timeout of 5 seconds to wait for a missing event. I can catch it by activating my Thinkpad's builtin bluetooth hardware. Sometimes the kernel needs 6 seconds to submit all the hotplug events for this device.

Ouch, that log trail was pretty bad. It's nice to see we can duplicate out-of-order messages :)

Quoted 1 line

Should we increase it to 10 seconds?

I don't have a problem with doing that. Anyone else?

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_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel