Project

General

Profile

Crashes

Added by piotr w about 9 years ago

Using Build: 4.1-897~gb589a31 (2015-11-07T13:19:03+0000)
Raspberry PI2
Debain Jessie

Details:

Configure arguments:
  --build=arm-linux-gnueabihf --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking

Compiler:
  Using C compiler:                        cc
  Build for arch:                          armv7l

Binaries:
  Using PYTHON:                            python
  Using GZIP:                              gzip
  Using BZIP2:                             bzip2

Options:
  cwc                                      yes
  capmt                                    yes
  constcw                                  yes
  linuxdvb                                 yes
  satip_server                             yes
  satip_client                             yes
  hdhomerun_client                         no
  hdhomerun_static                         no
  iptv                                     yes
  tsfile                                   yes
  dvbscan                                  yes
  timeshift                                yes
  trace                                    yes
  imagecache                               yes
  avahi                                    yes
  zlib                                     yes
  libav                                    no
  libffmpeg_static                         no
  libx264_static                           yes
  libx265                                  no
  libx265_static                           yes
  vdpau                                    no
  libmfx                                   no
  libmfx_static                            yes
  inotify                                  yes
  epoll                                    yes
  uriparser                                yes
  ccache                                   no
  tvhcsa                                   yes
  bundle                                   no
  dvbcsa                                   no
  dvben50221                               no
  kqueue                                   no
  dbus_1                                   yes
  android                                  no
  tsdebug                                  no
  gtimer_check                             no
  libsystemd_daemon                        no
  execinfo                                 yes
  W_unused_result                          yes
  getloadavg                               yes
  atomic64                                 yes
  lockowner                                yes
  qsort_r                                  yes
  stime                                    yes
  gmtoff                                   yes
  recvmmsg                                 yes
  sendmmsg                                 yes
  py_gzip                                  yes
  bin_pkg_config                           yes
  bin_xgettext                             yes
  bin_msgmerge                             yes
  bin_gzip                                 yes
  bin_bzip2                                yes
  ssl                                      yes
  linuxdvbapi                              yes
  upnp                                     yes
  inotify_h                                yes
  mpegts                                   yes
  mpegts_dvb                               yes

Packages:
  openssl                                  1.0.1k
  zlib                                     1.2.8
  liburiparser                             0.8.0.1
  avahi-client                             0.6.31
  dbus-1                                   1.8.20

Installation paths:
  Prefix:                                  /usr
  Binaries:                                ${prefix}/bin
  Libraries:                               ${prefix}/lib
  Data files:                              ${prefix}/share
  Man pages:                               /usr/share/man

Syslog

Message from syslogd@tvheadend at Nov 16 22:27:51 ...
 kernel:[174252.420684] Internal error: Oops: 817 [#2] PREEMPT SMP ARM

Message from syslogd@tvheadend at Nov 16 22:27:51 ...
 kernel:[174252.663250] Process kdvb-ad-1-fe-0 (pid: 3897, stack limit = 0xb4872210)

Message from syslogd@tvheadend at Nov 16 22:27:51 ...
 kernel:[174252.676741] Stack: (0xb4873da8 to 0xb4874000)

Message from syslogd@tvheadend at Nov 16 22:27:51 ...
 kernel:[174252.691044] 3da0:                   b4873de4 b4873db8 7f0d6d3c 805a8a74 b4873e2c 0000afdb

Message from syslogd@tvheadend at Nov 16 22:27:51 ...
 kernel:[174252.718984] 3dc0: 80050003 7f0d70a4 afdb4800 b5371078 ffffffed 00000001 b4873e0c b4873de8

Message from syslogd@tvheadend at Nov 16 22:27:51 ...
 kernel:[174252.747415] 3de0: 7f0d2144 7f0d6cc4 7f0d20d4 00000001 00000001 afdb4800 00000001 b4873e74

Message from syslogd@tvheadend at Nov 16 22:27:51 ...
 kernel:[174252.776818] 3e00: b4873e4c b4873e10 8044b310 7f0d20e0 b4873e2c b4873e20 805a959c 805a9384

Any thoughts ?


Replies (7)

RE: Crashes - Added by Mark Clarkstone about 9 years ago

That looks like a kernel oops, dodgy driver maybe?

RE: Crashes - Added by piotr w about 9 years ago

According to this: http://www.linuxtv.org/wiki/index.php/TechnoTrend_TT-TVStick_CT2-4400#Driver_support the drivers are included in kernel v3.17 or v3.19.
My raspberry runs on Debian Jessie, (custom) kernel v3.18 (http://sjoerd.luon.net/posts/2015/02/debian-jessie-on-rpi2/)

Would this be a good place to start ? https://github.com/Barracuda09/media_build-bst

RE: Crashes - Added by piotr w about 9 years ago

Can anyone give some directions on how to compile the latest drivers ?

Questions:

- How do I select the correct drivers from http://www.linuxtv.org/downloads/drivers/
- How do I compile these drivers on my rpi2 ?

RE: Crashes - Added by Mark Clarkstone about 9 years ago

piotr w wrote:

Can anyone give some directions on how to compile the latest drivers ?

Questions:

- How do I select the correct drivers from http://www.linuxtv.org/downloads/drivers/
- How do I compile these drivers on my rpi2 ?

See http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

RE: Crashes - Added by piotr w about 9 years ago

Thanks. Following that guide. Stuck at this:

make[2]: Leaving directory '/home/pi/drivers/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/4.1.7v7-aufs/build /lib/modules/4.1.7v7-aufs/build 1
Preparing to compile for kernel version 4.1.7
File not found: /lib/modules/4.1.7v7-aufs/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
Makefile:368: recipe for target 'allyesconfig' failed
make[1]: *** [allyesconfig] Error 2
make[1]: Leaving directory '/home/pi/drivers/media_build/v4l'
Makefile:26: recipe for target 'allyesconfig' failed
make: *** [allyesconfig] Error 2
can't select all drivers at ./build line 490.

RE: Crashes - Added by Mark Clarkstone about 9 years ago

piotr w wrote:

Thanks. Following that guide. Stuck at this:

[...]

Install the kernel source, see this: http://raspberrypi.stackexchange.com/questions/1273/where-is-the-kernel-source-for-raspbians-default-3-1-9-kernel

Obviously change the version numbers to match and instead of doing the git clone copy over the source you used to build the kernel and place it in /usr/src then use ln to link it as shown in the above link.

RE: Crashes - Added by piotr w almost 9 years ago

following that guide, stuck here:

pi@tvheadend /usr/src $ sudo zcat /proc/config.gz > /lib/modules/4.1.7v7-aufs/build/.config
-bash: /lib/modules/4.1.7v7-aufs/build/.config: Permission denied
    (1-7/7)