mantis build error on vanilla kernel 2.6.28.6 [Re: Terratec Cinergy C HD (PCI, DVB-C): how to make it work?]
Ok, I was told at #linuxtv on freenode to use a vanilla kernel, so I did:
$ wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.6.tar.bz2 $ tar xjf linux-2.6.28.6.tar.bz2 $ cd linux-2.6.28.6/ $ make menuconfig $ sudo make modules_install install (reboot)
$ wget -c http://jusst.de/hg/mantis/archive/tip.tar.bz2 $ tar xjf tip.tar.bz2 $ cd mantis-5292a47772ad/ $ make ... /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c: In function 'snd_card_saa7134_hw_params': /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c:496: error: implicit declaration of function 'snd_assert' /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c:497: error: expected expression before 'return' /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c:498: error: expected expression before 'return' /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c:499: error: expected expression before 'return' /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c: In function 'snd_card_saa7134_new_mixer': /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c:950: error: expected expression before 'return' make[3]: *** [/home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.o] Error 1 make[2]: *** [_module_/home/gronslet/Download/mantis-5292a47772ad/v4l] Error 2 make[2]: Leaving directory `/mythmedia/buffer/linux-2.6.28.6' make[1]: *** [default] Error 2 make[1]: Leaving directory `/home/gronslet/Download/mantis-5292a47772ad/v4l' make: *** [all] Error 2
What did I miss here?
-MartinG
Hi,
Am Freitag, den 20.02.2009, 21:29 +0100 schrieb MartinG:
Quoted 37 lines
Ok, I was told at #linuxtv on freenode to use a vanilla kernel, so I did:
$ wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.6.tar.bz2 $ tar xjf linux-2.6.28.6.tar.bz2 $ cd linux-2.6.28.6/ $ make menuconfig $ sudo make modules_install install (reboot)$ wget -c http://jusst.de/hg/mantis/archive/tip.tar.bz2 $ tar xjf tip.tar.bz2 $ cd mantis-5292a47772ad/ $ make ... /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c: In function 'snd_card_saa7134_hw_params': /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c:496: error: implicit declaration of function 'snd_assert' /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c:497: error: expected expression before 'return' /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c:498: error: expected expression before 'return' /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c:499: error: expected expression before 'return' /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c: In function 'snd_card_saa7134_new_mixer': /home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.c:950: error: expected expression before 'return' make[3]: *** [/home/gronslet/Download/mantis-5292a47772ad/v4l/saa7134-alsa.o] Error 1 make[2]: *** [_module_/home/gronslet/Download/mantis-5292a47772ad/v4l] Error 2 make[2]: Leaving directory `/mythmedia/buffer/linux-2.6.28.6' make[1]: *** [default] Error 2 make[1]: Leaving directory `/home/gronslet/Download/mantis-5292a47772ad/v4l' make: *** [all] Error 2
Quoted 3 lines
What did I miss here?
-MartinG
you can see changes on saa7134-alsa here.
http://linuxtv.org/hg/v4l-dvb/log/359d95e1d541/linux/drivers/media/video/saa7134/saa7134-alsa.c
Likely this kernel backport is missing.
http://linuxtv.org/hg/v4l-dvb/rev/b4d664a2592a
Cheers,
Hermann
Quoted 5 lines · hermann pitton
you can see changes on saa7134-alsa here.
http://linuxtv.org/hg/v4l-dvb/log/359d95e1d541/linux/drivers/media/video/saa7134/saa7134-alsa.cLikely this kernel backport is missing.
http://linuxtv.org/hg/v4l-dvb/rev/b4d664a2592a
Thank you for your reply!
I think I got it working, thanks to you. This is what I did (on the vanilla 2.6.28.6 kernel):
$ cd mantis-5292a47772ad/ $ make distclean clean $ cp v4l/saa7134-alsa.c v4l/saa7134-alsa.c.orig $ emacs -nw v4l/saa7134-alsa.c Patch according to: http://linuxtv.org/hg/v4l-dvb/diff/b4d664a2592a/linux/drivers/media/video/saa7134/saa7134-alsa.c $ make -j2 (works)
# make install
remove all other (dvb) modules
# modprobe mantis
This gave me at least /dev/dvb/adapter0/{demux0,dvr0,frontend0,net0}
But then the computer froze when I did:
# scandvb dvb-apps/util/scan/dvb-c/no-Oslo-Get scanning dvb-apps/util/scan/dvb-c/no-Oslo-Get using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' initial transponder 241000000 6900000 0 5 initial transponder 272000000 6900000 0 5 initial transponder 280000000 6900000 0 5 initial transponder 290000000 6900000 0 5 initial transponder 298000000 6900000 0 5 initial transponder 306000000 6900000 0 5 initial transponder 314000000 6900000 0 5 initial transponder 322000000 6900000 0 5 initial transponder 330000000 6900000 0 5 initial transponder 338000000 6900000 0 5 initial transponder 346000000 6900000 0 5 initial transponder 354000000 6900000 0 5 initial transponder 362000000 6900000 0 5 initial transponder 370000000 6900000 0 5 initial transponder 378000000 6900000 0 5 initial transponder 386000000 6900000 0 5 initial transponder 394000000 6900000 0 5 initial transponder 410000000 6900000 0 5 initial transponder 442000000 6952000 0 5 initial transponder 482000000 6900000 0 5 initial transponder 498000000 6900000 0 5
Quoted 1 line
Quoted 1 line
Quoted 1 line
tune to: 241000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256
(total freeze here, not even ssh access to the box)
I think I had the scandvb tool from a binary install, maybe I'll try to compile from sources.
And I'll try to read some more docs.
Thank you for helping me out on this!
-MartinG
Am Samstag, den 21.02.2009, 01:06 +0100 schrieb MartinG:
Quoted 59 lines
Quoted 5 lines · hermann pitton
you can see changes on saa7134-alsa here.
http://linuxtv.org/hg/v4l-dvb/log/359d95e1d541/linux/drivers/media/video/saa7134/saa7134-alsa.cLikely this kernel backport is missing.
http://linuxtv.org/hg/v4l-dvb/rev/b4d664a2592aThank you for your reply!
I think I got it working, thanks to you. This is what I did (on the vanilla 2.6.28.6 kernel):
$ cd mantis-5292a47772ad/ $ make distclean clean $ cp v4l/saa7134-alsa.c v4l/saa7134-alsa.c.orig $ emacs -nw v4l/saa7134-alsa.c Patch according to: http://linuxtv.org/hg/v4l-dvb/diff/b4d664a2592a/linux/drivers/media/video/saa7134/saa7134-alsa.c $ make -j2 (works)# make installremove all other (dvb) modules
# modprobe mantisThis gave me at least
/dev/dvb/adapter0/{demux0,dvr0,frontend0,net0}But then the computer froze when I did:
# scandvb dvb-apps/util/scan/dvb-c/no-Oslo-Get scanning dvb-apps/util/scan/dvb-c/no-Oslo-Get using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' initial transponder 241000000 6900000 0 5 initial transponder 272000000 6900000 0 5 initial transponder 280000000 6900000 0 5 initial transponder 290000000 6900000 0 5 initial transponder 298000000 6900000 0 5 initial transponder 306000000 6900000 0 5 initial transponder 314000000 6900000 0 5 initial transponder 322000000 6900000 0 5 initial transponder 330000000 6900000 0 5 initial transponder 338000000 6900000 0 5 initial transponder 346000000 6900000 0 5 initial transponder 354000000 6900000 0 5 initial transponder 362000000 6900000 0 5 initial transponder 370000000 6900000 0 5 initial transponder 378000000 6900000 0 5 initial transponder 386000000 6900000 0 5 initial transponder 394000000 6900000 0 5 initial transponder 410000000 6900000 0 5 initial transponder 442000000 6952000 0 5 initial transponder 482000000 6900000 0 5 initial transponder 498000000 6900000 0 5Quoted 1 line
Quoted 1 line
Quoted 1 line
tune to: 241000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256
(total freeze here, not even ssh access to the box)
Quoted 7 lines
I think I had the scandvb tool from a binary install, maybe I'll try to compile from sources.
And I'll try to read some more docs.Thank you for helping me out on this!
-MartinG
I am sorry for that.
To give an example.
If we are seated in a chair looking to the wall in front of us or better to the horizon in the height of our eyes, without moving our eyes we can see something like 180 degrees horizontally.
If we move our eyes we can see already a lot in our backs, if we move our heads we can see already almost all in our backs, to move the body is a further step only taken if really needed.
Now, from the first just sitting there, the vertical reception is a little different, at least for me. Without moving the eyes we can see our feet, not that sharp, but enough to be aware of.
In the upper direction it seems to be a little bit different, only the half of what is present on the bottom is visible without moving ...
This seems to be a part of the conditio humanum we share with others :)
It is the same with out of kernel drivers.
Await Manu's instructions what to use for testing and if a 2.6.28 is safe.
Cheers,
Hermann