[pvrusb2] Compile issue

cardboil cardboil at gmail.com
Thu Dec 8 09:29:07 CST 2005


Sorry, I forgot to include my lsmod output (in case that matters)

# lsmod
Module                  Size  Used by
saa7115                13968  0
msp3400                25264  0
tuner                  22312  0
v4l2_common             5504  0
v4l1_compat            12676  0
tveeprom               12332  0
tda9887                12304  0
nls_utf8                2241  0
ivtv                  204308  0
i2c_algo_bit            9289  1 ivtv
videodev                9793  1 ivtv
parport_pc             28037  0
lp                     12937  0
parport                35721  2 parport_pc,lp
autofs4                19781  2
rfcomm                 39001  0
l2cap                  26049  5 rfcomm
sunrpc                141821  1
pcmcia                 38645  2
hci_usb                16337  2
bluetooth              48197  7 rfcomm,l2cap,hci_usb
dm_mod                 57437  0
video                  16325  0
button                  6737  0
battery                 9541  0
ac                      4933  0
fglrx                 427936  7
ipv6                  249889  10
ohci1394               35593  0
ieee1394              298009  1 ohci1394
yenta_socket           25805  2
rsrc_nonstatic         13505  1 yenta_socket
pcmcia_core            41441  3 pcmcia,yenta_socket,rsrc_nonstatic
uhci_hcd               32464  0
ehci_hcd               34509  0
snd_intel8x0m          17797  0
i2c_i801                9165  0
i2c_core               22209  7
saa7115,msp3400,tuner,tveeprom,tda9887,i2c_algo_bit,i2c_i801
snd_intel8x0           32929  2
snd_ac97_codec         88893  2 snd_intel8x0m,snd_intel8x0
snd_ac97_bus            2497  1 snd_ac97_codec
snd_seq_dummy           3781  0
snd_seq_oss            31937  0
snd_seq_midi_event      7105  1 snd_seq_oss
snd_seq                49873  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          9165  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            51057  0
snd_mixer_oss          18113  1 snd_pcm_oss
snd_pcm                87749  5
snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              25285  3 snd_seq,snd_pcm
snd                    54949  12
snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               9889  1 snd
snd_page_alloc         10825  3 snd_intel8x0m,snd_intel8x0,snd_pcm
ipw2200                72073  0
ieee80211              22793  1 ipw2200
ieee80211_crypt         5701  1 ieee80211
b44                    21957  0
mii                     5441  1 b44
ext3                  130505  2
jbd                    57941  1 ext3
ata_piix                9541  3
libata                 47437  1 ata_piix
sd_mod                 18881  4
scsi_mod              135785  2 libata,sd_mod


On 12/8/05, cardboil <cardboil at gmail.com> wrote:
>
> Thanks Mike.  Yes, I see them now.  I copied them over to lib/modules...,
> but now I have a different problem.
>
> # modprobe pvrusb2
> FATAL: Error inserting pvrusb2 (/lib/modules/2.6.14-
> 1.1644_FC4/kernel/drivers/pvrusb2/pvrusb2.ko): Unknown symbol in module,
> or unknown parameter (see dmesg)
>
> When do dmesg|grep -i pvrusb2, this is what I get:
> pvrusb2: disagrees about version of symbol tveeprom_hauppauge_analog
> pvrusb2: Unknown symbol tveeprom_hauppauge_analog
>
> I had already installed ivtv already using yum install (ivtv-firmware,
> ivtv-kmdl, ivtv-kernheaders, ivtv).  Should I go back and build the ivtv in
> your directory (I thought the website said not to do so, if I had already
> installed ivtv).
>
> Appreciate your help!
>
> On 12/8/05, Mike Isely <isely at isely.net> wrote:
> >
> > On Thu, 8 Dec 2005, cardboil wrote:
> >
> > > I just installed the latest version of pvrusb2.  When I do make, it
> > created
> > > a bunch of pvrusb2-*.o files.  No, ko files.  What am I doing
> > wrong?  After
> > > copying these files to
> > > /lib/modules/2.6.14_1.1644_FC4/kernel/drivers/pvrusb2, I can't seem to
> > load
> > > the module.
> >
> > The output *does* show *.ko file being made...  See comment below.
> >
> > >
> > > Here is the output of make:
> > >
> > > make INSTALL_MOD_DIR=pvrusb2 -C /lib/modules/2.6.14-1.1644_FC4/build
> > > M=/home/mythtv/pvrusb2-mci-20051206/driver CONFIG_VIDEO_PVRUSB2=m
> > > modules
> > > make[1]: Entering directory `/usr/src/kernels/2.6.14- 1.1644_FC4-i686'
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-audio.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-encoder.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2- video.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-v4l.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-ivtv.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2- eeprom.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-tuner.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-i2c.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2- main.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-hdw.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-v4l2.o
> > > /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-v4l2.c: In function
> > > 'pvr2_v4l2_read':
> > > /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-v4l2.c:1138: warning:
> > > ignoring return value of 'copy_to_user', declared with attribute
> > > warn_unused_result
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2- sysfs.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-context.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-io.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2- ioread.o
> > >  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-debugifc.o
> > >  LD [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2.o
> > >  Building modules, stage 2.
> > >  MODPOST
> > >  CC      /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2.mod.o
> >
> >
> > >  LD [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2.ko
> >
> > Do you not see this file anywhere?
> >
> > The *.o files you can ignore; the modules are only *.ko.  You need to
> > copy
> > pvrusb2.ko, which is built right here.
> >
> > If you need the support modules (you might not need them), don't forget
> > to
> > also build the ivtv subdirectory as well - this is described on the web
> > page.
> >
> >
> > > make[1]: Leaving directory `/usr/src/kernels/2.6.14- 1.1644_FC4-i686'
> > > _______________________________________________
> > > pvrusb2 mailing list
> > > pvrusb2 at isely.net
> > > http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
> > >
> >
> >    -Mike
> >
> >
> > --
> >                          |         Mike Isely          |     PGP
> > fingerprint
> >       Spammers Die!!     |                             | 03 54 43 4D 75
> > E5 CC 92
> >                          |   isely @ pobox (dot) com   | 71 16 01 E2 B5
> > F5 C1 E8
> >                          |                             |
> > _______________________________________________
> > pvrusb2 mailing list
> > pvrusb2 at isely.net
> > http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
> >
>
>


More information about the pvrusb2 mailing list