I have been on quite a sleigh ride for the last 3 weeks while I have been
desparately trying to get things working with my first MythTV install.

My Linux experience is hampering me, but I will try to give you a brief
history, output and my current issues with the release candidate I
downloaded tonight.

I installed Ubuntu Edgy ( with the ivtv 0.7.1 drivers.
I have a Hauppauge PVR-500 with the Samsung tuners.

Hauppauge pvr-500 with updated firmware to 2.0.28.23053 Myth 0.20 (Edgy
packaged)

I am connected via a cable company.

The image from the tuners (cat /dev/video0 >/tmp/test.mpg) is so snowy it is
unusable.  Lower channels 3-20 is difficult to make out what the image is.
Higher channels 42-44 the image has colour and the image is pretty good,
still a bit snowy though.  The second tuner on it is even worse than the
first tuner.

Having read up on it, it looks like I need to patch the tuner_types.c with
the samsung patch.  This meant compiling the kernel (I have tried 2.6.17,
2.6.17-14) and it always results in:
*****************
...
LD      .tmp_vmlinux1
arch/x86_64/kernel/built-in.o: In function `get_smp_config':
(.init.text+0x7c3f): undefined reference to `__stack_chk_fail'
arch/x86_64/kernel/built-in.o: In function `clustered_apic_check':
(.init.text+0x7d94): undefined reference to `__stack_chk_fail'
arch/x86_64/kernel/built-in.o: In function `setup_early_printk':
(.init.text+0x813f): undefined reference to `__stack_chk_fail'
arch/x86_64/kernel/built-in.o: In function `iommu_hole_init':
(.init.text+0x8e33): undefined reference to `__stack_chk_fail'
arch/x86_64/kernel/built-in.o: In function `printk_address':
(.text.printk_address+0xb9): undefined reference to `__stack_chk_fail'
arch/x86_64/kernel/built-in.o:(.text.arch_ptrace+0x7e4): more undefined
references to `__stack_chk_fail' follow
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.17.14'
make: *** [debian/stamp-build-kernel] Error 2
*****************

I am running the AMD64 version of Ubuntu Edgy (6.10).


I can compile the 2.6.18 kernels just fine, following the standard howtos on
the web.  Since these kernels already have the samsung fixes in them
(supposedly) I thought okay I will just go with one of these.

Linux 2.6.18.2-custom #1 SMP Wed Nov 15 21:07:51 EST 2006 x86_64 GNU/Linux

This of course means I need to upgrade my ivtv to 0.8, and I see the 0.8.1
is in release candidate state.  So I downloaded it and ran make:
*****************
...
  LD [M]  /usr/src/ivtv-0.8.1/driver/ivtv-fb.o
  Building modules, stage 2.
  MODPOST
WARNING: "cx2341x_mpeg_ctrls" [/usr/src/ivtv-0.8.1/driver/ivtv.ko]
undefined!
WARNING: "cx2341x_fill_defaults" [/usr/src/ivtv-0.8.1/driver/ivtv.ko]
undefined!
WARNING: "cx2341x_log_status" [/usr/src/ivtv-0.8.1/driver/ivtv.ko]
undefined!
WARNING: "cx2341x_ctrl_get_menu" [/usr/src/ivtv-0.8.1/driver/ivtv.ko]
undefined!
WARNING: "cx2341x_update" [/usr/src/ivtv-0.8.1/driver/ivtv.ko] undefined!
WARNING: "cx2341x_ctrl_query" [/usr/src/ivtv-0.8.1/driver/ivtv.ko]
undefined!
WARNING: "cx2341x_ext_ctrls" [/usr/src/ivtv-0.8.1/driver/ivtv.ko] undefined!
  CC      /usr/src/ivtv-0.8.1/driver/ivtv-fb.mod.o
  LD [M]  /usr/src/ivtv-0.8.1/driver/ivtv-fb.ko
  CC      /usr/src/ivtv-0.8.1/driver/ivtv.mod.o
  LD [M]  /usr/src/ivtv-0.8.1/driver/ivtv.ko
...
cc -I../driver -I../utils -I/lib/modules/2.6.18.2-custom/build/include
-D_GNU_SOURCE -O2 -Wall  -lm  ivtv-pcm-tester.c   -o ivtv-pcm-tester
make[1]: Leaving directory `/usr/src/ivtv-0.8.1/test'
*****************


I get a lot of warnings on a make install
*****************
[EMAIL PROTECTED]:/usr/src/ivtv-0.8.1# make install
make -C driver install
make[1]: Entering directory `/usr/src/ivtv-0.8.1/driver'
created ivtv-svnversion.h
make -C /lib/modules/2.6.18.2-custom/build M=/usr/src/ivtv-0.8.1/driver
modules
make[2]: Entering directory `/usr/src/linux-2.6.18.2'
  CC [M]  /usr/src/ivtv-0.8.1/driver/ivtv-driver.o
  CC [M]  /usr/src/ivtv-0.8.1/driver/ivtv-ioctl.o
  LD [M]  /usr/src/ivtv-0.8.1/driver/ivtv.o
  LD [M]  /usr/src/ivtv-0.8.1/driver/ivtv-fb.o
  Building modules, stage 2.
  MODPOST
WARNING: "cx2341x_mpeg_ctrls" [/usr/src/ivtv-0.8.1/driver/ivtv.ko]
undefined!
WARNING: "cx2341x_fill_defaults" [/usr/src/ivtv-0.8.1/driver/ivtv.ko]
undefined!
WARNING: "cx2341x_log_status" [/usr/src/ivtv-0.8.1/driver/ivtv.ko]
undefined!
WARNING: "cx2341x_ctrl_get_menu" [/usr/src/ivtv-0.8.1/driver/ivtv.ko]
undefined!
WARNING: "cx2341x_update" [/usr/src/ivtv-0.8.1/driver/ivtv.ko] undefined!
WARNING: "cx2341x_ctrl_query" [/usr/src/ivtv-0.8.1/driver/ivtv.ko]
undefined!
WARNING: "cx2341x_ext_ctrls" [/usr/src/ivtv-0.8.1/driver/ivtv.ko] undefined!
  LD [M]  /usr/src/ivtv-0.8.1/driver/ivtv-fb.ko
  CC      /usr/src/ivtv-0.8.1/driver/ivtv.mod.o
  LD [M]  /usr/src/ivtv-0.8.1/driver/ivtv.ko
make[2]: Leaving directory `/usr/src/linux-2.6.18.2'
make INSTALL_MOD_PATH= INSTALL_MOD_DIR=kernel/drivers/media/video/ivtv \
                -C /lib/modules/2.6.18.2-custom/build
M=/usr/src/ivtv-0.8.1/driver modules_install
make[2]: Entering directory `/usr/src/linux-2.6.18.2'
  INSTALL /usr/src/ivtv-0.8.1/driver/ivtv-fb.ko
  INSTALL /usr/src/ivtv-0.8.1/driver/ivtv.ko
  DEPMOD  2.6.18.2-custom
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_ext_ctrls
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_ctrl_query
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_update
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_ctrl_get_menu
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_log_status
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_fill_defaults
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_mpeg_ctrls
make[2]: Leaving directory `/usr/src/linux-2.6.18.2'
/sbin/depmod -a

v4l-cx2341x-init.mpg needs copying to the hotplug firmware
directory if needed for PVR350 mpeg initialization
make[1]: Leaving directory `/usr/src/ivtv-0.8.1/driver'
make -C i2c-drivers install
make[1]: Entering directory `/usr/src/ivtv-0.8.1/i2c-drivers'
make -C /lib/modules/2.6.18.2-custom/build M=/usr/src/ivtv-0.8.1/i2c-drivers
modules
make[2]: Entering directory `/usr/src/linux-2.6.18.2'
  Building modules, stage 2.
  MODPOST
make[2]: Leaving directory `/usr/src/linux-2.6.18.2'
make INSTALL_MOD_PATH= INSTALL_MOD_DIR=kernel/drivers/media/video \
                -C /lib/modules/2.6.18.2-custom/build
M=/usr/src/ivtv-0.8.1/i2c-drivers modules_install
make[2]: Entering directory `/usr/src/linux-2.6.18.2'
  INSTALL /usr/src/ivtv-0.8.1/i2c-drivers/saa717x.ko
  DEPMOD  2.6.18.2-custom
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_ext_ctrls
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_ctrl_query
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_update
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_ctrl_get_menu
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_log_status
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_fill_defaults
WARNING:
/lib/modules/2.6.18.2-custom/kernel/drivers/media/video/ivtv/ivtv.ko needs
unknown symbol cx2341x_mpeg_ctrls
make[2]: Leaving directory `/usr/src/linux-2.6.18.2'
/sbin/depmod -a
make[1]: Leaving directory `/usr/src/ivtv-0.8.1/i2c-drivers'
make -C utils install
make[1]: Entering directory `/usr/src/ivtv-0.8.1/utils'
make -C ../driver ivtv-svnversion.h
make[2]: Entering directory `/usr/src/ivtv-0.8.1/driver'
created ivtv-svnversion.h
make[2]: Leaving directory `/usr/src/ivtv-0.8.1/driver'
make CFLAGS="-I/usr/src/ivtv-0.8.1/utils/../driver
-I/lib/modules/2.6.18.2-custom/build/include -D_GNU_SOURCE -O2 -Wall -g" -C
ivtv-tune
make[2]: Entering directory `/usr/src/ivtv-0.8.1/utils/ivtv-tune'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/ivtv-0.8.1/utils/ivtv-tune'
make CFLAGS="-I/usr/src/ivtv-0.8.1/utils/../driver
-I/lib/modules/2.6.18.2-custom/build/include -D_GNU_SOURCE -O2 -Wall -g" -C
cx25840ctl
make[2]: Entering directory `/usr/src/ivtv-0.8.1/utils/cx25840ctl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/ivtv-0.8.1/utils/cx25840ctl'
install -d //usr/include/linux
install -m 0644 ../driver/ivtv.h //usr/include/linux
install -d //usr/local/bin
install -m 0755 v4l2-ctl ivtvctl ivtvfbctl ivtv-radio ivtvplay
ivtv-mpegindex  ivtv-tune/ivtv-tune cx25840ctl/cx25840ctl //usr/local/bin
make[1]: Leaving directory `/usr/src/ivtv-0.8.1/utils'
make -C test install
make[1]: Entering directory `/usr/src/ivtv-0.8.1/test'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/usr/src/ivtv-0.8.1/test'
*****************


Originally the "checkinstall" was failing, but I found some links on google
which indicated I should poweroff the machine for sometime (4 mintues)
before attempting the install.  That appears to have worked.

Now after a reboot and checking dmesg I see:

*****************
[EMAIL PROTECTED]:/usr/src/ivtv-0.8.1# dmesg |grep ivtv
[   32.281660] ivtv: Unknown symbol cx2341x_ext_ctrls
[   32.281806] ivtv: Unknown symbol cx2341x_ctrl_query
[   32.282067] ivtv: Unknown symbol cx2341x_update
[   32.282173] ivtv: Unknown symbol cx2341x_ctrl_get_menu
[   32.282252] ivtv: Unknown symbol cx2341x_log_status
[   32.282295] ivtv: Unknown symbol cx2341x_fill_defaults
[   32.282421] ivtv: Unknown symbol cx2341x_mpeg_ctrls
[   32.283972] ivtv: Unknown symbol cx2341x_ext_ctrls
[   32.284118] ivtv: Unknown symbol cx2341x_ctrl_query
[   32.284375] ivtv: Unknown symbol cx2341x_update
[   32.284481] ivtv: Unknown symbol cx2341x_ctrl_get_menu
[   32.284568] ivtv: Unknown symbol cx2341x_log_status
[   32.284611] ivtv: Unknown symbol cx2341x_fill_defaults
[   32.284737] ivtv: Unknown symbol cx2341x_mpeg_ctrls
[   32.569847] ivtv: Unknown symbol cx2341x_ext_ctrls
[   32.569994] ivtv: Unknown symbol cx2341x_ctrl_query
[   32.570255] ivtv: Unknown symbol cx2341x_update
[   32.570362] ivtv: Unknown symbol cx2341x_ctrl_get_menu
[   32.570440] ivtv: Unknown symbol cx2341x_log_status
[   32.570484] ivtv: Unknown symbol cx2341x_fill_defaults
[   32.570610] ivtv: Unknown symbol cx2341x_mpeg_ctrls
[  213.142438] ivtv: Unknown symbol cx2341x_ext_ctrls
[  213.142592] ivtv: Unknown symbol cx2341x_ctrl_query
[  213.142869] ivtv: Unknown symbol cx2341x_update
[  213.142989] ivtv: Unknown symbol cx2341x_ctrl_get_menu
[  213.143083] ivtv: Unknown symbol cx2341x_log_status
[  213.143130] ivtv: Unknown symbol cx2341x_fill_defaults
[  213.143267] ivtv: Unknown symbol cx2341x_mpeg_ctrls
[  438.868828] ivtv: Unknown symbol cx2341x_ext_ctrls
[  438.868982] ivtv: Unknown symbol cx2341x_ctrl_query
[  438.869268] ivtv: Unknown symbol cx2341x_update
[  438.869383] ivtv: Unknown symbol cx2341x_ctrl_get_menu
[  438.869475] ivtv: Unknown symbol cx2341x_log_status
[  438.869521] ivtv: Unknown symbol cx2341x_fill_defaults
[  438.869658] ivtv: Unknown symbol cx2341x_mpeg_ctrls
*****************

My firmware directory has not changed at all since the 0.7.1 install:

*****************
[EMAIL PROTECTED]:/lib/firmware# ls -la
total 1084
drwxr-xr-x  4 root root   4096 2006-11-17 23:16 .
drwxr-xr-x 16 root root   4096 2006-11-01 04:06 ..
drwxr-xr-x  4 root root   4096 2006-11-09 18:03 2.6.17-10-generic
drwxr-xr-x  2 root root   4096 2006-11-17 21:44 ivtv-0.7.1-backup
-rw-r--r--  1 root root 262144 2006-11-04 22:35 ivtv-fw-dec.bin
-rw-r--r--  1 root root 262144 2006-11-04 22:35 ivtv-fw-enc.bin
lrwxrwxrwx  1 root root     29 2006-11-04 22:45 v4l-cx2341x-dec.fw ->
/lib/firmware/ivtv-fw-dec.bin
-rw-r--r--  1 root root 376836 2006-11-15 10:47 v4l-cx2341x-enc.fw
-rw-r--r--  1 root root 155648 2006-11-17 23:16 v4l-cx2341x-init.mpg
-rw-r--r--  1 root root  14264 2006-11-04 20:54 v4l-cx25840.fw
*****************
        

I googled for the dmesg statements, and found 3 links that did not give me
any direction.


Can anyone get me a bit further?

TIA,
Dave


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to