Google
  Web www.spinics.net

Re: [linuxtv-commits] [hg:v4l-dvb] Improve make install to work properly with a distro that use non-standard dir for V4L/DVB modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Mauro,

Please see some additional information, below...

On Sat, Oct 25, 2008 at 8:38 PM, Michael Krufky <mkrufky@xxxxxxxxxxx> wrote:
> Mauro Carvalho Chehab wrote:
>> On Sat, 25 Oct 2008, Michael Krufky wrote:
>>
>>> Please see below:
>>>
>>> On Fri, Oct 24, 2008 at 11:25 PM, Patch from Mauro Carvalho Chehab
>>> <hg-commit@xxxxxxxxxxx> wrote:
>>> [snip]
>>>> From: Mauro Carvalho Chehab  <mchehab@xxxxxxxxxx>
>>>> Improve make install to work properly with a distro that use
>>>> non-standard dir for V4L/DVB modules
>>> [snip]
>>>
>>> Mauro,
>>>
>>> I explained in a previous email that your script does not work.
>>
>> This patch changed the rm command. What does it print when you run
>> make rminstall? Also, please make sure that you have all drivers
>> compiled. it will only remove the drivers if you actually have another
>> version compiled.
>>
>
> Mauro Carvalho Chehab wrote:
>> Btw, this will only work if you remove your previous Makefile.media.
>>
>> Cheers,
>> Mauro.
>
> Mauro,
>
> I did a fresh hg clone of the master branch.  I built the entire tree,
> so all drivers were compiled.  Still, not all of the modules were removed.
>
> You asked for the output of "make rminstall" ... output follows:
>
>
> mk@hiro:~/v4l-dvb-tip$ sudo make rminstall
> [sudo] password for mk:
> make -C /home/mk/v4l-dvb-tip/v4l rminstall
> make[1]: Entering directory `/home/mk/v4l-dvb-tip/v4l'
> -e
> Removing obsolete files from
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video:
>
> -e
> Removing obsolete files from
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/dvb/cinergyT2:
>
> -e
> Removing obsolete files from
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/dvb/frontends:
>
>
> Hmm... distro kernel with a non-standard place for module backports
> detected.
> Please always prefer to use vanilla upstream kernel with V4L/DVB
> I'll try to remove old/obsolete LUM files from
> /lib/modules/2.6.24-21-generic/ubuntu/media:
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/gspca/m5602 files:
> gspca_m5602.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/dvb/dvb-usb files:
> dvb-usb-dtv5100.ko dvb-usb-opera.ko dvb-usb-cxusb.ko dvb-usb-vp7045.ko
> dvb-usb-af9005-remote.ko dvb-usb-ttusb2.ko dvb-usb-af9015.ko
> dvb-usb-dib0700.ko dvb-usb-a800.ko dvb-usb-gp8psk.ko
> dvb-usb-dibusb-common.ko dvb-usb-au6610.ko dvb-usb-digitv.ko dvb-usb.ko
> dvb-usb-dibusb-mc.ko dvb-usb-af9005.ko dvb-usb-nova-t-usb2.ko
> dvb-usb-dtt200u.ko dvb-usb-vp702x.ko dvb-usb-umt-010.ko
> dvb-usb-anysee.ko dvb-usb-dibusb-mb.ko dvb-usb-dw2102.ko
> dvb-usb-gl861.ko dvb-usb-m920x.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/zoran files:
> videocodec.ko zr36050.ko zr36016.ko zr36060.ko zr36067.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/cx18 files:
> cx18.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/cpia2 files:
> cpia2.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/dvb/b2c2 files:
> b2c2-flexcop-pci.ko b2c2-flexcop.ko b2c2-flexcop-usb.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/ivtv files:
> ivtvfb.ko ivtv.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/common/tuners files:
> tuner-xc2028.ko mt2060.ko tda9887.ko mt2131.ko qt1010.ko mt20xx.ko
> tda827x.ko tda18271.ko xc5000.ko mxl5007t.ko tea5761.ko tuner-types.ko
> tda8290.ko tuner-simple.ko mt2266.ko tea5767.ko mxl5005s.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/sn9c102 files:
> sn9c102.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/dvb/dvb-core files:
> dvb-core.ko
> -e
> Removing old /lib/modules/2.6.24-21-generic/kernel/drivers/media/video
> files:
> videobuf-dma-contig.ko vpx3220.ko videobuf-dma-sg.ko pms.ko bt856.ko
> upd64083.ko stradis.ko videobuf-core.ko tda9840.ko saa7191.ko cx2341x.ko
> wm8775.ko meye.ko w9968cf.ko saa7185.ko tuner.ko zr364xx.ko ks0127.ko
> stv680.ko videobuf-dvb.ko tvaudio.ko bt866.ko tea6420.ko cafe_ccic.ko
> saa5246a.ko msp3400.ko tcm825x.ko wm8739.ko stkwebcam.ko saa5249.ko
> cpia_pp.ko tda7432.ko w9966.ko upd64031a.ko ir-kbd-i2c.ko ov511.ko
> tea6415c.ko dabusb.ko bt819.ko cpia_usb.ko videodev.ko tda9875.ko
> adv7175.ko mxb.ko vivi.ko cs53l32a.ko s2255drv.ko btcx-risc.ko se401.ko
> saa7110.ko saa7115.ko saa6588.ko saa7111.ko v4l2-common.ko saa7114.ko
> hexium_orion.ko hexium_gemini.ko tvp5150.ko vp27smpx.ko adv7170.ko
> ov7670.ko saa7127.ko m52790.ko v4l1-compat.ko videobuf-vmalloc.ko
> compat_ioctl32.ko v4l2-int-device.ko c-qcam.ko tveeprom.ko cs5345.ko
> saa717x.ko cpia.ko tlv320aic23b.ko bw-qcam.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/cx23885 files:
> cx23885.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/dvb/bt8xx files:
> dst_ca.ko dvb-bt8xx.ko bt878.ko dst.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/dvb/siano files:
> sms1xxx.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/cx25840 files:
> cx25840.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/dvb/ttusb-dec files:
> ttusbdecfe.ko ttusb_dec.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/dvb/dm1105 files:
> dm1105.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/saa7134 files:
> saa6752hs.ko saa7134-empress.ko saa7134-dvb.ko saa7134.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/dvb/ttpci files:
> dvb-ttpci.ko budget-patch.ko ttpci-eeprom.ko budget-av.ko budget.ko
> budget-core.ko budget-ci.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/et61x251 files:
> et61x251.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/dvb/frontends files:
> nxt6000.ko dib7000m.ko drx397xD.ko s5h1411.ko si21xx.ko au8522.ko
> s5h1420.ko stv0288.ko nxt200x.ko mt352.ko isl6405.ko s5h1409.ko
> sp887x.ko dibx000_common.ko isl6421.ko mt312.ko or51132.ko dib3000mb.ko
> tda1004x.ko lgs8gl5.ko dib3000mc.ko itd1000.ko sp8870.ko l64781.ko
> dib7000p.ko ves1x93.ko tda8083.ko dib0070.ko ves1820.ko stv0297.ko
> tda10086.ko cx22700.ko zl10353.ko cx24110.ko stv0299.ko dvb_dummy_fe.ko
> cx24123.ko dvb-pll.ko lgdt330x.ko lnbp21.ko cx22702.ko stb6000.ko
> cx24116.ko tda10023.ko tua6100.ko bcm3510.ko tda10021.ko tda10048.ko
> or51211.ko tda826x.ko af9013.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/cx88 files:
> cx8802.ko cx8800.ko cx88-blackbird.ko cx88xx.ko cx88-vp3054-i2c.ko
> cx88-dvb.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/bt8xx files:
> bttv.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/gspca files:
> gspca_pac207.ko gspca_stk014.ko gspca_spca501.ko gspca_spca500.ko
> gspca_mars.ko gspca_spca508.ko gspca_t613.ko gspca_sunplus.ko
> gspca_vc032x.ko gspca_spca561.ko gspca_tv8532.ko gspca_spca505.ko
> gspca_spca506.ko gspca_sonixj.ko gspca_zc3xx.ko gspca_main.ko
> gspca_conex.ko gspca_pac7311.ko gspca_sonixb.ko gspca_ov519.ko
> gspca_finepix.ko gspca_etoms.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/dvb/pluto2 files:
> pluto2.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/usbvideo files:
> ibmcam.ko usbvideo.ko vicam.ko ultracam.ko konicawc.ko
> quickcam_messenger.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/usbvision files:
> usbvision.ko
> -e
> Removing old /lib/modules/2.6.24-21-generic/kernel/drivers/media/common
> files:
> saa7146_vv.ko ir-common.ko saa7146.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/em28xx files:
> em28xx-dvb.ko em28xx.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/pvrusb2 files:
> pvrusb2.ko
> -e
> Removing old /lib/modules/2.6.24-21-generic/kernel/drivers/media/radio
> files:
> dsbr100.ko radio-maestro.ko radio-zoltrix.ko radio-terratec.ko
> radio-aimslab.ko radio-maxiradio.ko radio-gemtek.ko radio-trust.ko
> radio-sf16fmr2.ko radio-typhoon.ko radio-cadet.ko radio-aztech.ko
> radio-si470x.ko radio-sf16fmi.ko radio-rtrack2.ko radio-gemtek-pci.ko
> radio-mr800.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/uvc files:
> uvcvideo.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/dvb/ttusb-budget files:
> dvb-ttusb-budget.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/pwc files:
> pwc.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/zc0301 files:
> zc0301.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/ovcamchip files:
> ovcamchip.ko
> -e
> Removing old
> /lib/modules/2.6.24-21-generic/kernel/drivers/media/video/au0828 files:
> au0828.ko
> make[1]: Leaving directory `/home/mk/v4l-dvb-tip/v4l'
>
>
>
> After the above, these are the modules that still remain in ubuntu/media:
>
>
> mk@hiro:~/v4l-dvb-tip$ find /lib/modules/`uname -r`/ubuntu/media
> /lib/modules/2.6.24-21-generic/ubuntu/media
> /lib/modules/2.6.24-21-generic/ubuntu/media/sms1xxx
> /lib/modules/2.6.24-21-generic/ubuntu/media/sms1xxx/sms1xxx.ko
> /lib/modules/2.6.24-21-generic/ubuntu/media/cx88
> /lib/modules/2.6.24-21-generic/ubuntu/media/gspcav1
> /lib/modules/2.6.24-21-generic/ubuntu/media/gspcav1/gspca.ko
> /lib/modules/2.6.24-21-generic/ubuntu/media/usbvideo
> /lib/modules/2.6.24-21-generic/ubuntu/media/usbvideo/uvcvideo.ko
> /lib/modules/2.6.24-21-generic/ubuntu/media/saa7134
> /lib/modules/2.6.24-21-generic/ubuntu/media/quickcam
> /lib/modules/2.6.24-21-generic/ubuntu/media/quickcam/quickcam.ko
> /lib/modules/2.6.24-21-generic/ubuntu/media/au0828
> /lib/modules/2.6.24-21-generic/ubuntu/media/au0828/au0828.ko
> /lib/modules/2.6.24-21-generic/ubuntu/media/ov511
> /lib/modules/2.6.24-21-generic/ubuntu/media/ov511/ov511_decomp.ko
> /lib/modules/2.6.24-21-generic/ubuntu/media/ov511/ov518_decomp.ko
> /lib/modules/2.6.24-21-generic/ubuntu/media/stk11xx
> /lib/modules/2.6.24-21-generic/ubuntu/media/stk11xx/stk11xx.ko
> /lib/modules/2.6.24-21-generic/ubuntu/media/lirc
> [lirc stuff snipped]
>
>
> I did build sms1xxx, uvcvideo and au0828, but they were not removed from
> the backport area.
>
> I hope this helps you to fix the problem.
>


Here is output of the same process on a different machine.  As you can
see, some of the modules did get removed, but some did not.

Hmm... distro kernel with a non-standard place for module backports detected.
Please always prefer to use vanilla upstream kernel with V4L/DVB
I'll try to remove old/obsolete LUM files from
/lib/modules/2.6.24-21-generic/ubuntu/media:
/lib/modules/2.6.24-21-generic/ubuntu/media/au0828/xc5000.ko
/lib/modules/2.6.24-21-generic/ubuntu/media/ov511/ov511.ko
/lib/modules/2.6.24-21-generic/ubuntu/media/saa7134/saa7134-alsa.ko
/lib/modules/2.6.24-21-generic/ubuntu/media/au0828/au8522.ko
/lib/modules/2.6.24-21-generic/ubuntu/media/cx88/cx88-alsa.ko
-e


We didn't see this in the quoted output, because I had run the "sudo
make rminstall" multiple times already by then.


These modules still remain:

mk@codes:~/v4l-dvb-tip$ find /lib/modules/`uname -r`/ubuntu/media | grep -v lirc
/lib/modules/2.6.24-21-generic/ubuntu/media
/lib/modules/2.6.24-21-generic/ubuntu/media/gspcav1
/lib/modules/2.6.24-21-generic/ubuntu/media/gspcav1/gspca.ko
/lib/modules/2.6.24-21-generic/ubuntu/media/usbvideo
/lib/modules/2.6.24-21-generic/ubuntu/media/usbvideo/uvcvideo.ko
/lib/modules/2.6.24-21-generic/ubuntu/media/au0828
/lib/modules/2.6.24-21-generic/ubuntu/media/au0828/au0828.ko
/lib/modules/2.6.24-21-generic/ubuntu/media/quickcam
/lib/modules/2.6.24-21-generic/ubuntu/media/quickcam/quickcam.ko
/lib/modules/2.6.24-21-generic/ubuntu/media/cx88
/lib/modules/2.6.24-21-generic/ubuntu/media/ov511
/lib/modules/2.6.24-21-generic/ubuntu/media/ov511/ov518_decomp.ko
/lib/modules/2.6.24-21-generic/ubuntu/media/ov511/ov511_decomp.ko
/lib/modules/2.6.24-21-generic/ubuntu/media/saa7134
/lib/modules/2.6.24-21-generic/ubuntu/media/sms1xxx
/lib/modules/2.6.24-21-generic/ubuntu/media/sms1xxx/sms1xxx.ko
/lib/modules/2.6.24-21-generic/ubuntu/media/stk11xx
/lib/modules/2.6.24-21-generic/ubuntu/media/stk11xx/stk11xx.ko


uvcvideo.ko, au0828.ko and sms1xxx.ko should have been removed :-(


I suspect that the list of module names has not yet been fully
populated by the time it goes and tries to remove them... but thats
just my guess.

Please let me know if you have something new to test.

Cheers,

Mike

_______________________________________________
v4l-dvb-maintainer mailing list
v4l-dvb-maintainer@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/v4l-dvb-maintainer

[Linux Media]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [SSH]     [Linux USB]

-->
Add to Google Powered by Linux

Google PageRank Checking tool