Eli se info jota etsin oli:
sudo ./configure --dvb-dir=/usr/src/v4l-dvb
Pitää kertoa sascille että mistä tuo uusi v4l-dvb module löytyy. Ongelmia esiintyy vaan kun ajan make:
In file included from /usr/src/v4l-dvb/linux/include/linux/videodev.h:16,
from sc/dvbdevice.cpp:13:
/usr/src/v4l-dvb/linux/include/linux/videodev2.h:550: error: field ‘__user’ has incomplete type
/usr/src/v4l-dvb/linux/include/linux/videodev2.h:550: error: expected ‘;’ before ‘*’ token
/usr/src/v4l-dvb/linux/include/linux/videodev2.h:557: error: expected ‘;’ before ‘*’ token
/usr/src/v4l-dvb/linux/include/linux/videodev2.h:559: error: variable or field ‘__user’ declared void
/usr/src/v4l-dvb/linux/include/linux/videodev2.h:559: error: expected ‘;’ before ‘*’ token
In file included from sc/dvbdevice.cpp:13:
/usr/src/v4l-dvb/linux/include/linux/videodev.h:148: error: expected ‘;’ before ‘*’ token
In file included from sc/dvbdevice.cpp:17:
/usr/src/v4l-dvb/linux/include/linux/dvb/video.h:162: error: expected ‘;’ before ‘*’ token
/usr/src/v4l-dvb/linux/include/linux/dvb/video.h:195: error: expected ‘;’ before ‘*’ token
make: *** [objs/dvbdevice.o] Error 1
Make module kuitenkin luo dvbloopback.ko tiedoston mutta jos insmodaan sen syntyy:
[ 114.149796] dvbloopback: registering 1 adapters
[ 114.150224] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000001
[ 114.150229] printing eip: f8bd52b4 *pde = 00000000
[ 114.150235] Oops: 0000 [#1] SMP
[ 114.150238] Modules linked in: dvbloopback nls_cp437 cifs ppdev ipv6 video output sbs sbshc container dock battery iptable_filter ip_tables x_tables ext3 jbd mbcache af_packet ac sbp2 lp arc4 ecb blkcipher ieee80211_crypt_wep analog snd_mpu401 snd_mpu401_uart tda10021 parport_pc parport gameport nvidia(P) tda827x pcspkr tda10023 budget_av saa7146_vv videobuf_dma_sg videobuf_core zd1211rw videodev v4l1_compat ieee80211softmac evdev budget_ci budget_core ieee80211 dvb_core ieee80211_crypt ftdi_sio saa7146 ir_common ttpci_eeprom usbserial lirc_mceusb2 lirc_dev snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device button shpchp pci_hotplug snd soundcore snd_page_alloc nvidia_agp i2c_nforce2 agpgart i2c_core usbhid hid xfs sr_mod cdrom sg sd_mod pata_amd pata_acpi floppy ohci1394 ieee1394 sata_sil ata_generic 3c59x mii libata scsi_mod ehci_hcd ohci_hcd forcedeth usbcore thermal processor fan fbcon tileblit font bitblit softcursor fuse
[ 114.150286]
[ 114.150289] Pid: 6581, comm: insmod Tainted: P (2.6.24-19-generic #1)
[ 114.150292] EIP: 0060:[<f8bd52b4>] EFLAGS: 00010246 CPU: 0
[ 114.150310] EIP is at dvb_register_adapter+0x24/0xf0 [dvb_core]
[ 114.150312] EAX: f8be83c8 EBX: e2780000 ECX: 00000000 EDX: e2566000
[ 114.150314] ESI: e2780000 EDI: 00000001 EBP: 00000001 ESP: e2567e80
[ 114.150317] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 114.150320] Process insmod (pid: 6581, ti=e2566000 task=e2587700 task.ti=e2566000)
[ 114.150322] Stack: e8ca2808 c02802e9 00000000 f94069ff e2780000 00000000 00000000 f9409000
[ 114.150326] f92f11ae e8ca2808 00000001 f9409000 f9409000 f9409000 00000014 c01507c6
[ 114.150331] 00000002 00000000 ffffffb2 00000000 f94083e0 00000020 00000000 f9489fd8
[ 114.150335] Call Trace:
[ 114.150339] [<c02802e9>] device_initialize+0x69/0x90
[ 114.150353] [<f92f11ae>] dvblb_init+0x1ae/0x2ab [dvbloopback]
[ 114.150365] [<c01507c6>] sys_init_module+0x126/0x19c0
[ 114.150392] [<f8a8d680>] xfs_release+0x160/0x240 [xfs]
[ 114.150445] [<c0214587>] _atomic_dec_and_lock+0x47/0x70
[ 114.150466] [<c01043c2>] sysenter_past_esp+0x6b/0xa9
[ 114.150482] =======================
[ 114.150484] Code: 00 8d bf 00 00 00 00 55 57 bf 01 00 00 00 56 89 c6 53 b8 c8 83 be f8 83 ec 10 89 54 24 0c 8b 6c 24 28 89 4c 24 08 e8 7c 61 74 c7 <0f> bf 5c 7d fe 83 fb 07 0f 87 9d 00 00 00 89 d8 e8 b7 fd ff ff
[ 114.150504] EIP: [<f8bd52b4>] dvb_register_adapter+0x24/0xf0 [dvb_core] SS:ESP 0068:e2567e80
[ 114.150515] ---[ end trace 6c727fe48def02b2 ]---
Eli jotain ongelmaa vielä...