Subject: Re: ntpdate hangs on 4.99.33
To: Erik Bertelsen <bertelsen.erik@gmail.com>
From: Michael <macallan1888@gmail.com>
List: current-users
Date: 10/16/2007 03:40:12
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Oct 16, 2007, at 03:01, Erik Bertelsen wrote:
> 2007/10/16, Michael <macallan1888@gmail.com>:
>
>>
>> Can you reproduce the hang by setting the real time clock using
>> something else than ntpdate?
>
> Yups: issuing just the command
>
> date 200710160710
>
> also makes it hang solidly.
So /writing/ to the real time clock kills it. Since reading
apparently works and ADB too it's probably somewhere above the adb
driver. If the problem was talking to CUDA I'd expect other
weirdnesses with ADB devices, reboot & power down and so on. ( just
in case - CUDA is a microcontroller, we talk to it through a simple
serial packet oriented interface and it controls ADB, the real time
clock, power, reset, an I2C bus and a few other things. If
communication were bad we'd likely see funkiness with other commands
as well )
>>> And the ADB keyboard (which I normally only use to reset the
>>> machine)
>>> does act funny: it seems to be locked in CAPS LOCK state.
>>
>> Hit caps lock a few times, I've seen that on my G3 as well. That's a
>> bug in the akbd driver's state machine - CUDA apparently sends a caps
>> lock up event as first thing after we probe the ADB bus which the
>> keyboard driver misinterprets as caps lock on. Things like that
>> prompted me to write the new ADB subsystem, as a side effect you'd
>> also get working audio on that kind of hardware.
>
> Actually I did hit caps lock several times, but it stayed in caps
> lock state,
> however this is a minor issue for me right now.
This is weird. I usually had to hit it twice to get out of caps lock,
after that everything was normal.
> Anyway it seems that you got closer to the problem by removing the
> focus
> from ntp(date) and to just setting the real time clock.
Yeah, ntp doesn't seem to have much to do with it.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBRxRq3cpnzkX8Yg2nAQJ1Twf+LLi1a3duOG1+ifo/FHEDKTXqHM8wOsnV
xeoEpGvY+yPKvPzTnWb0EblD6QxaTjKACjgP+W0V7Yid7N7+nZ5RBW5t+w+kMH55
cppxg1H5KWOEkL57XKZgY3PXx8ZOpsoUI5X+BYtcWxoKZyajQSHnBo7X3FJ0Y4xz
e0F4tsqNe380/xEFSBOAFUbFul/6GNiQkyte8PiIZcJ/SmIgmAYHkfLOCs8S6evI
Cnt0UcrtSqX8f79N/qSgzNj50FlviDBbiO/dk37E400LsheBSpp+TBX4KbE27FXd
G7OYf08JNOJ09BiAVSaevCD2gKNtaUX0bW1/A9e2C/zNnswdc5j6Lw==
=mZSu
-----END PGP SIGNATURE-----