* technisat-usb2: i2c-error
@ 2014-10-07 17:27 JPT
2014-10-09 15:26 ` Patrick Boettcher
0 siblings, 1 reply; 4+ messages in thread
From: JPT @ 2014-10-07 17:27 UTC (permalink / raw)
To: linux-media
[-- Attachment #1: Type: text/plain, Size: 1183 bytes --]
Hi,
my vdr crashed tonight during a recording.
The cause seems to be a problem with the recording device.
Hardware: ReadyNAS RN104, 512 MB RAM, Armada XP 370 (arm cpu)
DVB: Technisat SkyStar USB DVB-S2
Software: Debian Wheezy, selfbuilt kernel 3.16.3
technisat-usb2.c was modified to reduce buffer sizes:
framesperurb: reduced from 32 to 8
>From the log you can see:
00:30:00 recording starts
01:12:18 vdr finishes some EPG update (how if it currently is recording?)
01:14:30 vdr is killed by some watchdog
This is only 2 mins after the last entry in the syslog.
The CPU is very slow and VDR might be busy with something.
for comparison: Bringing up VDR-Admin takes 60 secs of CPU time
DVB device is shut down after vdr died. who does this? udev?
01:14:34 DVB device comes up again but fails because of
"technisat-usb2: i2c-error: in failed 53 = -110"
01:14:52 VDR fails to start because there is no recording device.
I was able to get things running by unloading the modules and loading
them again. After that I started VDR.
What exactly do the i2c-errors mean? Find attached a
"grep i2c-error syslog*"
Is there anything I could do to solve this problem?
thanks,
Jan
[-- Attachment #2: i2c-error.log --]
[-- Type: text/x-log, Size: 1276 bytes --]
Oct 2 11:25:04 NAS kernel: [ 9.361314] technisat-usb2: i2c-error: 60 = 7
Oct 2 12:06:59 NAS kernel: [ 2526.872118] technisat-usb2: i2c-error: out failed 68 = -110
(last message repeats about 600 times)
Oct 2 12:25:34 NAS kernel: [ 3642.092133] technisat-usb2: i2c-error: out failed 68 = -110
Oct 6 15:01:45 NAS kernel: [ 8.903217] technisat-usb2: i2c-error: 60 = 7
Oct 6 15:03:26 NAS kernel: [ 112.690932] technisat-usb2: i2c-error: 60 = 7
Oct 6 16:03:03 NAS kernel: [ 3689.973270] technisat-usb2: i2c-error: 68 = 7
Oct 6 20:14:33 NAS kernel: [25361.311927] technisat-usb2: i2c-error: 68 = 7
Oct 6 23:09:03 NAS kernel: [35802.931257] technisat-usb2: i2c-error: 60 = 7
Oct 6 23:24:53 NAS kernel: [36749.793242] technisat-usb2: i2c-error: 68 = 7
Oct 7 00:30:20 NAS kernel: [40665.993697] technisat-usb2: i2c-error: 68 = 7
Oct 7 00:51:33 NAS kernel: [41935.932000] technisat-usb2: i2c-error: 68 = 7
Oct 7 01:14:35 NAS kernel: [43315.482001] technisat-usb2: i2c-error: in failed 53 = -110
Oct 7 01:14:36 NAS kernel: [43316.511949] technisat-usb2: i2c-error: in failed 68 = -110
Oct 7 18:14:34 NAS kernel: [104348.021889] technisat-usb2: i2c-error: in failed 53 = -110
Oct 7 18:14:35 NAS kernel: [104349.042024] technisat-usb2: i2c-error: in failed 68 = -110
[-- Attachment #3: vdr.log --]
[-- Type: text/x-log, Size: 8196 bytes --]
00:29:07 NAS vdr: [29981] switching device 1 to channel 68
00:29:51 NAS vdr: [29981] switching device 1 to channel 68
00:30:00 NAS vdr: [29981] switching device 1 to channel 68
00:30:00 NAS vdr: [29981] timer 1 (68 0030-0228 'Tatort Winternebel HD') start
00:30:00 NAS vdr: [29981] Title: 'Tatort: Winternebel' Subtitle: 'Fernsehfilm Deutschland 2014'
00:30:00 NAS vdr: [29981] executing '/usr/lib/vdr/vdr-recordingaction before "/var/lib/video.00/Tatort_Winternebel_HD/2014-10-07.00.30.68-0.rec"'
00:30:00 NAS recordingaction: executing /usr/share/vdr/recording-hooks/R90.custom before recording /var/lib/video.00/Tatort_Winternebel_HD/2014-10-07.00.30.68-0.rec as shell script
00:30:00 NAS vdr: [29981] record /var/lib/video.00/Tatort_Winternebel_HD/2014-10-07.00.30.68-0.rec
00:30:00 NAS vdr: [29981] creating directory /var/lib/video.00/Tatort_Winternebel_HD
00:30:00 NAS vdr: [29981] creating directory /var/lib/video.00/Tatort_Winternebel_HD/2014-10-07.00.30.68-0.rec
00:30:01 NAS vdr: [29981] recording to '/var/lib/video.00/Tatort_Winternebel_HD/2014-10-07.00.30.68-0.rec/00001.ts'
00:30:01 NAS vdr: [30459] recording thread started (pid=29981, tid=30459, prio=high)
00:30:01 NAS vdr: [30460] receiver on device 1 thread started (pid=29981, tid=30460, prio=high)
00:30:01 NAS vdr: [30461] TS buffer on device 1 thread started (pid=29981, tid=30461, prio=high)
00:30:20 NAS kernel: [40665.993697] technisat-usb2: i2c-error: 68 = 7
01:12:18 NAS vdr: [29990] EPGSearch: search timer update finished
01:13:29 NAS vdr: [29981] connect from 127.0.0.1, port 46920 - accepted
01:14:30 NAS vdr: [29981] PANIC: watchdog timer expired - exiting!
01:14:30 NAS vdr: [29989] fatal error, server exiting: Bad file descriptor
01:14:30 NAS vdr: [29989] streamdev server thread ended (pid=29981, tid=29989)
01:14:32 NAS runvdr: restarting VDR
01:14:32 NAS kernel: [43312.189196] usbcore: deregistering interface driver dvb_usb_technisat_usb2
01:14:32 NAS kernel: [43312.200786] evbug: Event. Dev: input12, Type: 0, Code: 0, Value: 1
01:14:32 NAS kernel: [43312.201235] evbug: Disconnected device: input12
01:14:32 NAS kernel: [43312.201490] evbug: Event. Dev: input11, Type: 0, Code: 0, Value: 1
01:14:32 NAS kernel: [43312.201593] evbug: Disconnected device: input11
01:14:32 NAS kernel: [43312.202697] dvb-usb: Technisat SkyStar USB HD (DVB-S/S2) successfully deinitialized and disconnected.
01:14:32 NAS systemd[1]: Stopping LSB: Starts LIRC daemon....
01:14:32 NAS systemd[1]: Stopped LSB: Starts LIRC daemon..
01:14:34 NAS kernel: [43314.440400] technisat-usb2: set alternate setting
01:14:34 NAS kernel: [43314.445729] technisat-usb2: firmware version: 17.63
01:14:34 NAS kernel: [43314.450649] dvb-usb: found a 'Technisat SkyStar USB HD (DVB-S/S2)' in warm state.
01:14:34 NAS kernel: [43314.460799] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
01:14:34 NAS kernel: [43314.475540] DVB: registering new adapter (Technisat SkyStar USB HD (DVB-S/S2))
01:14:35 NAS kernel: [43315.482001] technisat-usb2: i2c-error: in failed 53 = -110
01:14:35 NAS kernel: [43315.487506] dvb-usb: MAC address reading failed.
01:14:36 NAS kernel: [43316.511949] technisat-usb2: i2c-error: in failed 68 = -110
01:14:36 NAS kernel: [43316.518091] dvb-usb: no frontend was attached by 'Technisat SkyStar USB HD (DVB-S/S2)'
01:14:36 NAS kernel: [43316.526560] Registered IR keymap rc-technisat-usb2
01:14:36 NAS kernel: [43316.539433] input: IR-receiver inside an USB DVB receiver as
/devices/soc/soc:pcie-controller/pci0000:00/0000:00:01.0/0000:01:00.0/usb2/2-1/rc/rc0/input13
01:14:36 NAS kernel: [43316.556872] evbug: Connected device: input13 (IR-receiver inside an USB DVB receiver at usb-0000:01:00.0-1/ir0)
01:14:36 NAS kernel: [43316.556893] rc0: IR-receiver inside an USB DVB receiver as
/devices/soc/soc:pcie-controller/pci0000:00/0000:00:01.0/0000:01:00.0/usb2/2-1/rc/rc0
01:14:36 NAS kernel: [43316.574388] input: MCE IR Keyboard/Mouse (technisat-usb2) as /devices/virtual/input/input14
01:14:36 NAS kernel: [43316.588958] evbug: Connected device: input14 (MCE IR Keyboard/Mouse (technisat-usb2) at /input0)
01:14:36 NAS kernel: [43316.592443] rc rc0: lirc_dev: driver ir-lirc-codec (technisat-usb2) registered at minor = 0
01:14:36 NAS kernel: [43316.600845] dvb-usb: schedule remote query interval to 100 msecs.
01:14:36 NAS kernel: [43316.619452] dvb-usb: Technisat SkyStar USB HD (DVB-S/S2) successfully initialized and connected.
01:14:36 NAS kernel: [43316.646349] usbcore: registered new interface driver dvb_usb_technisat_usb2
01:14:36 NAS systemd[1]: Starting LSB: Starts LIRC daemon....
01:14:36 NAS lirc[31477]: No valid /etc/lirc/lircd.conf has been found..
01:14:36 NAS lirc[31477]: Remote control support has been disabled..
01:14:36 NAS lirc[31477]: Reconfigure LIRC or manually replace /etc/lirc/lircd.conf to enable..
01:14:36 NAS systemd[1]: Started LSB: Starts LIRC daemon..
01:14:51 NAS vdr: [31484] VDR version 2.0.3 started
01:14:51 NAS vdr: [31484] switched to user 'vdr'
01:14:51 NAS vdr: [31484] codeset is 'UTF-8' - known
01:14:51 NAS vdr: [31484] found 28 locales in /usr/share/locale
01:14:51 NAS vdr: [31484] loading plugin: /usr/lib/vdr/plugins/libvdr-live.so.2.0.0
01:14:52 NAS vdr: [31484] [live] INFO: validating server ip '0.0.0.0'
01:14:52 NAS vdr: [31484] loading plugin: /usr/lib/vdr/plugins/libvdr-streamdev-server.so.2.0.0
01:14:52 NAS vdr: [31484] loading plugin: /usr/lib/vdr/plugins/libvdr-epgsearch.so.2.0.0
01:14:52 NAS vdr: [31484] loading plugin: /usr/lib/vdr/plugins/libvdr-quickepgsearch.so.2.0.0
01:14:52 NAS vdr: [31484] loading plugin: /usr/lib/vdr/plugins/libvdr-epgsearchonly.so.2.0.0
01:14:52 NAS vdr: [31484] loading plugin: /usr/lib/vdr/plugins/libvdr-conflictcheckonly.so.2.0.0
01:14:52 NAS vdr: [31484] loading /var/lib/vdr/setup.conf
01:14:52 NAS vdr: [31484] loading /var/lib/vdr/sources.conf
01:14:52 NAS vdr: [31484] loading /var/lib/vdr/diseqc.conf
01:14:52 NAS vdr: [31484] loading /var/lib/vdr/scr.conf
01:14:52 NAS vdr: [31484] loading /var/lib/vdr/channels.conf
01:14:52 NAS vdr: [31484] loading /var/lib/vdr/timers.conf
01:14:52 NAS vdr: [31484] loading /var/lib/vdr/commands.conf
01:14:52 NAS vdr: [31484] loading /var/lib/vdr/reccmds.conf
01:14:52 NAS vdr: [31484] loading /var/lib/vdr/svdrphosts.conf
01:14:52 NAS vdr: [31484] loading /var/lib/vdr/keymacros.conf
01:14:52 NAS vdr: [31484] registered source parameters for 'A - ATSC'
01:14:52 NAS vdr: [31484] registered source parameters for 'C - DVB-C'
01:14:52 NAS vdr: [31484] registered source parameters for 'S - DVB-S'
01:14:52 NAS vdr: [31484] registered source parameters for 'T - DVB-T'
01:14:52 NAS vdr: [31484] no DVB device found
01:14:52 NAS vdr: [31484] initializing plugin: live (0.2.0): Live Interactive VDR Environment
01:14:52 NAS vdr: [31484] initializing plugin: streamdev-server (0.6.0-git): VDR Streaming Server
01:14:52 NAS vdr: [31484] initializing plugin: epgsearch (1.0.1.beta3): search the EPG for repeats and more
01:14:52 NAS vdr: [31484] initializing plugin: quickepgsearch (0.0.1): Quick search for broadcasts
01:14:52 NAS vdr: [31484] initializing plugin: epgsearchonly (0.0.1): Direct access to epgsearch's search menu
01:14:52 NAS vdr: [31484] initializing plugin: conflictcheckonly (0.0.1): Direct access to epgsearch's conflict check menu
01:14:52 NAS vdr: [31484] ERROR: invalid primary device number: 2
01:14:52 NAS vdr: [31484] ERROR: no primary device found - using first device!
01:14:52 NAS vdr: [31484] ERROR: invalid primary device number: 1
01:14:52 NAS vdr: [31484] deleting plugin: conflictcheckonly
01:14:52 NAS vdr: [31484] deleting plugin: epgsearchonly
01:14:52 NAS vdr: [31484] deleting plugin: quickepgsearch
01:14:52 NAS vdr: [31484] deleting plugin: epgsearch
01:14:52 NAS vdr: [31484] deleting plugin: streamdev-server
01:14:52 NAS vdr: [31484] deleting plugin: live
01:14:52 NAS vdr: [31486] video directory scanner thread started (pid=31484, tid=31486, prio=high)
01:14:52 NAS vdr: [31485] video directory scanner thread ended (pid=31484, tid=31485)
01:14:52 NAS runvdr: stopping after fatal fail (INFO: validating live server ip '0.0.0.0'#012vdr: no primary device found - using first device!)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: technisat-usb2: i2c-error
2014-10-07 17:27 technisat-usb2: i2c-error JPT
@ 2014-10-09 15:26 ` Patrick Boettcher
2014-10-10 10:09 ` JPT
0 siblings, 1 reply; 4+ messages in thread
From: Patrick Boettcher @ 2014-10-09 15:26 UTC (permalink / raw)
To: JPT; +Cc: linux-media
Hi Jan,
On Tue, 07 Oct 2014 19:27:07 +0200 JPT <j-p-t@gmx.net> wrote:
> 01:14:52 VDR fails to start because there is no recording device.
>
> I was able to get things running by unloading the modules and loading
> them again. After that I started VDR.
>
> What exactly do the i2c-errors mean? Find attached a
> "grep i2c-error syslog*"
I can't tell you exactly what happens in the device, but I can tell you
that I have the same problem with my device on my PC sometimes.
In addition to this I2c-failures from time to time the box is quite
sensitive regarding: repowering, replugging and host-rebooting. This is
a USB-device-firmware problem which makes the device crash and all
subsequent USB-transfers are failed. Reloading the module or replugging
the device will make it work again.
I lost contact with Technisat some time ago and wouldn't be able easily
to get the information (and I doubt they have a solution for this
problem - up to them to prove me wrong).
How many days without interruption did you use the device?
I was following quietly you're discussion with Antti. Has someone taken
care of the your changes regarding the transfer-size?
I think it should included.
regards,
--
Patrick.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: technisat-usb2: i2c-error
2014-10-09 15:26 ` Patrick Boettcher
@ 2014-10-10 10:09 ` JPT
2014-10-11 15:45 ` Patrick Boettcher
0 siblings, 1 reply; 4+ messages in thread
From: JPT @ 2014-10-10 10:09 UTC (permalink / raw)
To: Patrick Boettcher; +Cc: linux-media
Hi Patrick,
Am 09.10.2014 um 17:26 schrieb Patrick Boettcher:
> Hi Jan,
>
>> What exactly do the i2c-errors mean?
>
> I can't tell you exactly what happens in the device, but I can tell you
> that I have the same problem with my device on my PC sometimes.
>
> In addition to this I2c-failures from time to time the box is quite
> sensitive regarding: repowering, replugging and host-rebooting. This is
> a USB-device-firmware problem which makes the device crash and all
> subsequent USB-transfers are failed. Reloading the module or replugging
> the device will make it work again.
That's bad news. Could you please add this info on the Wikipage?
http://www.linuxtv.org/wiki/index.php/Technisat_SkyStar_USB_HD
> How many days without interruption did you use the device?
Well, this was about 2 days and 1.5 ;) recordings
It's now another 3 days. and there were only a few i2c errors, but
nothing serious.
I did only two SD recordings in the meantime. No problems yet.
I changed the watchdog from 60 secs to 10 mins.
I added a delay of 10 secs between unload and reload of the modules in
the runvdr script.
I hope the machine will be able to recover automatically next time.
> I was following quietly you're discussion with Antti. Has someone taken
> care of the your changes regarding the transfer-size?
No. Since I don't understand anything about what I did ;)
And I don't know the process of officially working on the kernel...
(Just wondered if I will ever learn that much about kernel programming;)
> I think it should included.
Then someone with more insight should change the buffers and create a
patch. o.O
Jan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: technisat-usb2: i2c-error
2014-10-10 10:09 ` JPT
@ 2014-10-11 15:45 ` Patrick Boettcher
0 siblings, 0 replies; 4+ messages in thread
From: Patrick Boettcher @ 2014-10-11 15:45 UTC (permalink / raw)
To: JPT; +Cc: linux-media
On Fri, 10 Oct 2014 12:09:12 +0200
JPT <j-p-t@gmx.net> wrote:
> Hi Patrick,
>
> Am 09.10.2014 um 17:26 schrieb Patrick Boettcher:
> > Hi Jan,
> >
> >> What exactly do the i2c-errors mean?
> >
> > I can't tell you exactly what happens in the device, but I can tell
> > you that I have the same problem with my device on my PC sometimes.
> >
> > In addition to this I2c-failures from time to time the box is quite
> > sensitive regarding: repowering, replugging and host-rebooting.
> > This is a USB-device-firmware problem which makes the device crash
> > and all subsequent USB-transfers are failed. Reloading the module
> > or replugging the device will make it work again.
>
> That's bad news. Could you please add this info on the Wikipage?
> http://www.linuxtv.org/wiki/index.php/Technisat_SkyStar_USB_HD
>
> > How many days without interruption did you use the device?
>
> Well, this was about 2 days and 1.5 ;) recordings
Matches my experience.
> > I was following quietly you're discussion with Antti. Has someone
> > taken care of the your changes regarding the transfer-size?
>
> No. Since I don't understand anything about what I did ;)
Could you resent the changes figured out by you and Antti ? (ideally in
a form of a patch).
> And I don't know the process of officially working on the kernel...
> (Just wondered if I will ever learn that much about kernel
> programming;)
There you can be helped: http://eudyptula-challenge.org/
> > I think it should included.
>
> Then someone with more insight should change the buffers and create a
> patch. o.O
Create the patch, I will try it with my box and when it's ok after some
time we'll get it in.
regards,
--
Patrick.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-10-11 15:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-07 17:27 technisat-usb2: i2c-error JPT
2014-10-09 15:26 ` Patrick Boettcher
2014-10-10 10:09 ` JPT
2014-10-11 15:45 ` Patrick Boettcher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).