public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [udev/vcs] tons of creating/removing /dev/vcs* during boot
@ 2005-09-12 15:06 Edgar Toernig
  2005-09-13  5:55 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Edgar Toernig @ 2005-09-12 15:06 UTC (permalink / raw)
  To: linux-kernel

Hi,

switching from SuSE's 2.6.11.4 to vanilla 2.6.13 I noticed
that I get tons of these lines in the log during boot:

udev[2124]: configured rule in '/etc/udev/rules.d/50-udev.rules[98]' ...
udev[2121]: creating device node '/dev/vcs5'
udev[2124]: creating device node '/dev/vcsa3'
udev[2140]: configured rule in '/etc/udev/rules.d/50-udev.rules[98]' ...
udev[2144]: configured rule in '/etc/udev/rules.d/50-udev.rules[98]' ...
udev[2140]: creating device node '/dev/vcs3'
udev[2144]: creating device node '/dev/vcsa6'
udev[2147]: removing device node '/dev/vcs6'
udev[2149]: configured rule in '/etc/udev/rules.d/50-udev.rules[98]' ...
udev[2158]: removing device node '/dev/vcs4'
udev[2157]: removing device node '/dev/vcsa3'
udev[2149]: creating device node '/dev/vcsa5'
udev[2172]: configured rule in '/etc/udev/rules.d/50-udev.rules[98]' ....
udev[2171]: removing device node '/dev/vcsa2'
udev[2172]: creating device node '/dev/vcs5'

It's caused by various loadkeys, setleds, etc performed early in an
init script.  It seems, that every open/close of a tty generates
a hotplug event for the appropriate vcs/vcsa device.  It stops at
the moment gettys are spawned.

Looking at the 2.6.11.4 source of drivers/char/vc_screen.c I see
that hotplug events are explicitly disabled for the vcs and vcsa
devices (not sure whether this was done by SuSE).  In 2.6.13 all
of that code is gone, including the class_simple that was used to
disable hotplug events.

How can I avoid all of these hotplug events?  Best would be of
course to generate only a single event at the same time the
tty device is create.  But I could also live with no hotplug
events for vcs* at all.

Ciao, ET.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-13 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-12 15:06 [udev/vcs] tons of creating/removing /dev/vcs* during boot Edgar Toernig
2005-09-13  5:55 ` Greg KH
2005-09-13 13:14   ` Andreas Jellinghaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox