Re: NSLU2 hang on "Setting system clock.."

2007-07-22 Thread Marc Singer
On Sun, Jul 22, 2007 at 05:00:22PM +1000, Nathan Coad wrote: > >>Try using hwclock to set the clock, and see if that clears up the > >>problem. > > > >I tried that as well. No dice. > > > > # hwclock --systohc > > > >This causes the system to lock-up as well. > > > > I had this problem with an n

Re: NSLU2 hang on "Setting system clock.."

2007-07-22 Thread Nathan Coad
On 22/07/2007, at 1:30 PM, Marc Singer wrote: On Sat, Jul 21, 2007 at 07:33:59PM -0400, Joey Hess wrote: Marc Singer wrote: I've been looking for clues as to why one of my slugs would hang on calling hwclock --show. The initial symptom is that it fails when it attempts to run the hwclock.

Re: NSLU2 hang on "Setting system clock.."

2007-07-21 Thread Marc Singer
On Sun, Jul 22, 2007 at 01:00:56PM +0930, Rod Whitby wrote: > Marc Singer wrote: > > On Sat, Jul 21, 2007 at 07:33:59PM -0400, Joey Hess wrote: > >> Marc Singer wrote: > >>> I've been looking for clues as to why one of my slugs would hang on > >>> calling hwclock --show. The initial symptom is tha

Re: NSLU2 hang on "Setting system clock.."

2007-07-21 Thread Rod Whitby
Marc Singer wrote: > On Sat, Jul 21, 2007 at 07:33:59PM -0400, Joey Hess wrote: >> Marc Singer wrote: >>> I've been looking for clues as to why one of my slugs would hang on >>> calling hwclock --show. The initial symptom is that it fails when it >>> attempts to run the hwclock.sh script. >> IIRC

Re: NSLU2 hang on "Setting system clock.."

2007-07-21 Thread Marc Singer
On Sat, Jul 21, 2007 at 07:33:59PM -0400, Joey Hess wrote: > Marc Singer wrote: > > I've been looking for clues as to why one of my slugs would hang on > > calling hwclock --show. The initial symptom is that it fails when it > > attempts to run the hwclock.sh script. > > IIRC this can happen if y

Re: NSLU2 hang on "Setting system clock.."

2007-07-21 Thread Joey Hess
Marc Singer wrote: > I've been looking for clues as to why one of my slugs would hang on > calling hwclock --show. The initial symptom is that it fails when it > attempts to run the hwclock.sh script. IIRC this can happen if your clock isn't running. nslu2s ship with a hardware clock that's turne

NSLU2 hang on "Setting system clock.."

2007-07-21 Thread Marc Singer
I've been looking for clues as to why one of my slugs would hang on calling hwclock --show. The initial symptom is that it fails when it attempts to run the hwclock.sh script. In hwclock, it is looping on this call (using strace) ioctl(3, RTC_RD_TIME, {tm_sec=36, tm_min=40, tm_hour=3, tm_mday=