[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 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 turned off, and it's started running once the
> >> clock is set. Typically this happens if you use the web interface that
> >> ships on the slug to set the clock. If you don't do so before installing
> >> Debian, you might still not have a running clock.
> >>
> >> 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.
> 
> Have you tried installing the Linksys vendor firmware, booting, then
> reinstalling the debian firmware?
> 
> You can backup the flash first with cat /dev/mtdblock* > backup.bin and
> then reflash that with upslug2 (but I expect you know all that already).

Is that the state of the art?  Seems like we should be able to add
some i2c commands to the driver to start the clock.

I may take this route for the time being.  Thanks.




Reply to: