From: Oliver Paschke Date: Fri, 26 Mar 2004 20:13:39 +0000 Subject: Re: udev fails to add/remove devices Message-Id: <20040326211339.602d8062.elfy666@gmx.de> List-Id: References: <20040326180855.37deecab.elfy666@gmx.de> In-Reply-To: <20040326180855.37deecab.elfy666@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Fri, 26 Mar 2004 18:39:58 +0100 Kay Sievers wrote: > What says your syslog after doing this as root? These are my results for the manual send calls: ACTION=ADd DEVPATH=3D/test /sbin/udevsend test Mar 26 20:40:03 pandora udevsend[1233]: main: version 023 Mar 26 20:40:03 pandora udevsend[1233]: main: subsystem =3D 'test' Mar 26 20:40:03 pandora udevsend[1233]: main: DEVPATH =3D '/test' Mar 26 20:40:03 pandora udevsend[1233]: main: ACTION =3D 'add' Mar 26 20:40:03 pandora udevsend[1233]: main: SEQNUM =3D '-1' Mar 26 20:40:03 pandora udev[1234]: get_dirs: sysfs_path=3D'/sys' Mar 26 20:40:03 pandora udev[1234]: parse_config_file: reading '/etc/udev= /udev.conf' as config file Mar 26 20:40:03 pandora udevd[226]: udev_run: =3D> exec seq -1 [1234] wor= king at '/test' Mar 26 20:40:03 pandora udevd[226]: exec_queue_manager: moved seq -1 to r= unning list Mar 26 20:40:03 pandora udevd[226]: udev_done: <=3D exec seq -1 came back SEQNUM=1000000 ACTION=ADd DEVPATH=3D/test /sbin/udevsend test Mar 26 20:40:38 pandora udevsend[1243]: main: version 023 Mar 26 20:40:38 pandora udevsend[1243]: main: subsystem =3D 'test' Mar 26 20:40:38 pandora udevsend[1243]: main: DEVPATH =3D '/test' Mar 26 20:40:38 pandora udevsend[1243]: main: ACTION =3D 'add' Mar 26 20:40:38 pandora udevsend[1243]: main: SEQNUM =3D '1000000' Mar 26 20:40:38 pandora udevd[226]: msg_queue_insert: queued message seq = 1000000 Mar 26 20:40:38 pandora udevd[226]: msg_queue_manager: msg queue manager,= next expected is 0 Mar 26 20:40:38 pandora udevd[226]: msg_dump_queue: sequence 116 in queue [...] Mar 26 20:40:38 pandora udevd[226]: msg_dump_queue: sequence 153 in queue Mar 26 20:40:38 pandora udevd[226]: msg_dump_queue: sequence 1000000 in q= ueue Mar 26 20:40:38 pandora udevd[226]: msg_queue_manager: next event expires= in 3199 seconds Seems like some problem with udevd handeling the sequence numbers.. > > Mar 26 16:53:08 pandora udevd[226]: msg_queue_manager: next event expir= es in 2907 seconds > Huh, what's this 2907 seconds? Sounds a bit too much :) This seems to be the problem with udevd queueing the event forever. > > Mar 26 16:51:00 pandora udev[1412]: udev_add_device: udevdb_add_dev fai= led, but we are going to try to create the node anyway. But remove might no= t work properly for this device. >=20 > Are you sure, that you have removed to old db after upgrading? > Normally 'make install' should do this. I resolved this issue by increasing the size of my tmpfs mounted /dev. The = db grew too big for the 100k size limit. thanks, Oli ------------------------------------------------------- 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=1470&alloc_id638&op=3Dclick _______________________________________________ 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