All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with disks and dhcp
@ 2006-04-03 21:27 Piter PUNK
  0 siblings, 0 replies; only message in thread
From: Piter PUNK @ 2006-04-03 21:27 UTC (permalink / raw)
  To: linux-hotplug

Hi,

I am making experimental packages of newer udev for slackware. But i got
some bug reports and can't solve (ok, i solve the problems, but i think
i solve it in the "wrong way").

What i was doing:

1) mount / ro
2) mounting sysfs and starting udev
	2.1) mounting new /dev
	2.2) copying devices from /lib/udev/devices
	2.3) starting udevd and populating /dev
	2.4) running udev.count_events.sh to wait
3) running fsck, if needed
4) remounting / rw

But, sometimes, in 3 i got error messages and the system
hangs, because my / device isn't created yet. In 2.3 i run
a loop, looking /dev/.udev/queue and waiting and in 2.4 i
run udev.count_events.sh. This is my first problem. A disk
problem.

The second problem is with dhcp. It hangs sometimes if is
called before 4. And my udev rules calls the network configuration
tools in 2.3.

I solve both problems, changing the order to 1,3,4,2. But i think
is wrong run udev after remounting /.

I am doing the things in the right way? If this is the wrong way,
what i can do to solve these problems?

Thanks for your help

Piter PUNK


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x110944&bid$1720&dat\x121642
_______________________________________________
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] only message in thread

only message in thread, other threads:[~2006-04-03 21:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-03 21:27 Problems with disks and dhcp Piter PUNK

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.