Xen on Ubuntu: DomU hangs on boot

Markus Schönhaber ubuntu-users at schoenhaber.de
Fri Nov 30 21:42:27 UTC 2007


Allen Fowler wrote:

> How do I disable the "hwclock" at boot up, and is it
> safe to do so?  

find /etc -name '*clock*'
in your DomU should give you a good first hint on what deals with clock
settings.
On my DomU (which doesn't have this problem) this results in:

/etc/rcS.d/S08hwclockfirst.sh
/etc/udev/rules.d/85-hwclock.rules
/etc/init.d/hwclockfirst.sh
/etc/init.d/hwclock.sh

hwclockfirst.sh and hwclock.sh can be told to effectively do nothing if
/etc/default/rcS contains a line reading
HWCLOCKACCESS=no

That leaves the udev rule. My /etc/udev/rules.d/85-hwclock.rules looks
like this:

----- snip -----
# This file causes the hardware clock to be set when /dev/rtc is available.

KERNEL=="rtc", ACTION=="add", RUN+="set_hwclock"
----- snap -----

Commenting the line beginning with "KERNEL..." should make that do
nothing too.

Try modifying /etc/default/rcS and /etc/udev/rules.d/85-hwclock.rules as
described and see if that helps.

>> BTW: it would be nice if you could stop top posting.
>> And it would be
>> even nicer if you could get a mail client that
>> doesn't break threading.
> 
> Sorry about that.. How is the treading now?  

It's OK now, thanks for changing that.

Regards
  mks





More information about the ubuntu-users mailing list