Mailing List archive

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

[linux-dvb] Re: All Timers Deleted! Re: Re: Power key



Klaus.Schmidinger@cadsoft.de(Klaus Schmidinger)  09.09.01 17:42

Once upon a time Klaus Schmidinger shaped the electrons to say...

>Rainer Zocholl wrote:
>>
>> Klaus.Schmidinger@cadsoft.de(Klaus Schmidinger)  08.09.01 15:08
>>
>> Once upon a time Klaus Schmidinger shaped the electrons to say...
>>
>>
>> ALL my times are gone! :-(.....
>> (Of cause i don't have a fresh back up... ;-) )


>VDR takes great care to not just write over these files. It first
>writes into temporary files and then renames them to the target file.
>So I really can't imagine why you are losing your conf files.

I think i got a solution now:

After investigation in the bash history, to validate
that i did not delete timer.conf manually(wrong wild card or so,
shit happnes) i realized that the disc was full!


I wondered why VDR "happily" started a new record (i set
a one time timer via "schedule") but 
df tells 100% in use. (OK, currently it runs as "root")


So, imagine what will happen, if one try to write or to move
the new, larger timers.conf oder setup.conf to the full disc...


Maybe this helps:

Move the new file with a temp name to the 
  destination disk/partition/directory(that might be on an other disk)
check if file size is the same
rename old file to .bak (just in case, it can't fail)
rename new file to the final file name.
check file size.

This will waste one file size of cause, 
and ".bak" file are "lame", but it is easy to implement, and
the infomation in all ".conf" is very precious.







That's the critial part of the log file:
There is no warning that the disc is full!

Sep  8 21:34:38 msi vdr[1943]: System Time = Sat Sep  8 21:34:38 2001  (999977678)
Sep  8 21:34:38 msi vdr[1943]: Local Time  = Sat Sep  8 21:34:41 2001  (999977681)
Sep  8 22:23:24 msi vdr[1941]: timer 25 added
Sep  8 22:23:31 msi vdr[1943]: System Time = Sat Sep  8 22:23:31 2001  (999980611)
Sep  8 22:23:31 msi vdr[1943]: Local Time  = Sat Sep  8 22:23:24 2001  (999980604)
Sep  8 22:23:24 msi vdr[1941]: timer 25 start

Here we have had 25 timers...


Sep  8 22:23:24 msi vdr[1941]: switching to channel 26
Sep  8 22:23:24 msi vdr[1941]: Title: '...
Sep  8 22:23:24 msi vdr[1941]: record /video/...
Sep  8 22:23:24 msi vdr[1941]: creating directory /video/...
Sep  8 22:23:25 msi vdr[1943]: System Time = Sat Sep  8 22:23:25 2001  (999980605)
Sep  8 22:23:25 msi vdr[1943]: Local Time  = Sat Sep  8 22:23:34 2001  (999980614)
Sep  8 22:52:02 msi vdr[1941]: caught signal 15

Emmm????

Sep  8 22:52:02 msi vdr[1941]: saved setup to /video/setup.conf

Uiiii. the disc is full!

Sep  8 22:52:02 msi vdr[1943]: EIT processing thread ended (pid=1943) - master
Sep  8 22:52:02 msi vdr[1944]: EIT processing thread ended (pid=1944)
Sep  8 22:52:02 msi vdr[1941]: max. latency time 6 seconds
Sep  8 22:52:02 msi vdr[1941]: exiting

Sep  8 22:52:16 msi vdr[3446]: VDR version 0.94 started
Sep  8 22:52:16 msi vdr[3446]: loading /video/setup.conf
Sep  8 22:52:16 msi vdr[3446]: loading /video/channels.conf
Sep  8 22:52:16 msi vdr[3446]: loading /video/timers.conf
Sep  8 22:52:16 msi vdr[3446]: loading /video/commands.conf
Sep  8 22:52:16 msi vdr[3446]: probing /dev/ost/qpskfe0
Sep  8 22:52:16 msi vdr[3448]: EIT processing thread started (pid=3448) - master
Sep  8 22:52:16 msi vdr[3446]: probing /dev/ost/qpskfe1
Sep  8 22:52:16 msi vdr[3449]: EIT processing thread started (pid=3449)
Sep  8 22:52:16 msi vdr[3446]: probing /dev/ost/qpskfe2
Sep  8 22:52:16 msi vdr[3446]: probing /dev/ost/qamfe2
Sep  8 22:52:16 msi vdr[3446]: found 2 video devices
Sep  8 22:52:16 msi vdr[3446]: setting primary DVB to 1
Sep  8 22:52:16 msi vdr[3446]: switching to channel 26
Sep  8 22:52:16 msi vdr[3450]: LIRC remote control thread started (pid=3450)
Sep  8 22:52:16 msi vdr[3446]: SVDRP listening on port 2001
Sep  8 22:52:16 msi vdr[3446]: setting watchdog timer to 60 seconds
Sep  8 22:52:21 msi vdr[3446]: assuming manual start of VDR


Sep  8 22:52:22 msi vdr[3446]: max. latency time 1 seconds
Sep  8 23:18:15 msi vdr[3448]: System Time = Sat Sep  8 23:18:15 2001  (999983895)
Sep  8 23:18:15 msi vdr[3448]: Local Time  = Sat Sep  8 23:18:18 2001  (999983898)
...

emm, no resume of the interrupted record?
Aha-> timers.conf is empty now!
That signal 15 caused the lost. (because of the full disc)


Sep  9 02:39:39 msi vdr[3448]: System Time = Sun Sep  9 02:39:39 2001  (999995979)
Sep  9 02:39:39 msi vdr[3448]: Local Time  = Sun Sep  9 02:39:42 2001  (999995982)
Sep  9 03:33:09 msi vdr[3448]: System Time = Sun Sep  9 03:33:09 2001  (999999189)
Sep  9 03:33:09 msi vdr[3448]: Local Time  = Sun Sep  9 03:33:12 2001  (999999192)
Sep  9 04:19:59 msi vdr[3446]: confirm: Press any key to cancel shutdown
Sep  9 04:25:01 msi vdr[3446]: confirmed
Sep  9 04:25:01 msi vdr[3446]: executing './pwroff 0 0'

Next start 0.0 Because timer.conf was empty!


Sep  9 04:25:01 msi vdr[3446]: max. latency time 60 seconds

DefaultPowerOn:

Sep  9 10:55:59 msi vdr[440]: VDR version 0.94 started
Sep  9 10:55:59 msi vdr[440]: loading /video/setup.conf
...
Rainer---<=====>                         Vertraulich
             //  
           //                              
         <=====>--------------ocholl, Kiel, Germany ------------


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


Home | Main Index | Thread Index