Mailing List archive

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

[vdr] Re: nvram-wakeup: service start up hangs



Hello Sergei,

On Tue, Feb 11, 2003 at 10:57:37PM +0100, Sergei Haller wrote:
> 
> Hi Andreas,
> 
> On Tue, 11 Feb 2003, Birgit Böttger (BB) wrote:
> 
> BB> the tests with my A7V133 had nothing to do with any special tool.
> BB>
> BB> 1. setting "Automatic Power Up" in BIOS SETUP
> BB> 2. saving changes, power off, waiting ...
> BB> 3. BIOS starts on time
> BB> 4. linux hangs accessing the clock
> 
> hmm, this clears up things a bit. could others with this problem confirm
> the same?

Yes. Tried this this morning and the behaviour was identical, i.e. setting 
the wakeup time from BIOS caused the Linux boot sequence to hang when 
setting the system time from the hwclock. This also happened when setting 
the wakeup time via nvram-wakeup.

> BB> With deactivated "Automatic Power Up" there are no problems at all.
> BB> Wake on time was not really important for me...
> BB>
> BB> Maybe I find some time for further tests ;)
> 
> if  you  find  the  time  for  testing, please try, if hwclock --directisa
> works. thanks

I tried this also this morning. And it does work. Adding --directisa to 
all hwclock calls made during the boot process fixes the problem. That is, 
I can now set the wakeup time both from the BIOS and via nvram-wakeup, and 
the box boots up properly at the right time!

So in short: everything works great after addign the --directisa parameter 
to all hwclock calls in init. 

My board is ASUS A7V-133 and BIOS is v.1009.

Note that the boot process hanged once at the same stage although there
was no wakeup time set neither from the BIOS nor via nvram-wakeup, so
accessing /dev/rtc might be a general problem. Also, I have not compiled
/dev/nvram into my kernel previously (module or static), I did it now
since nvraw-wakeup required it. Now I have it as a module. Did not try 
statically compiling it.

Thanks for all the help! I'm happy now ;)

-- 
  Lauri


--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index