Go Back   DaemonForums > Other Operating Systems > Other BSD and UNIX/UNIX-like

Other BSD and UNIX/UNIX-like Any other flavour of BSD or UNIX that does not have a section of its own.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th June 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thumbs up v4l - dtv device stops working after kernel upgrade

I had this problem. I have fixed it, and am documenting the procedure here so for the benefit of anyone having this problem.

After an update on my muthbuntu box which included a kernel update from 2.6.24-16 to 2.6.24-18, the dvico "dual digital 4" dtv devices stopped working. I was using a v4l tree provided by Christopher Pascoe.
Of course, the solution should have been simple - the v4l drivers needed to be rebuilt. But a make clean; make; sudo make install didn't fix the problem. Cue extensive troubleshooting.
To cut a long story short, the make clean target in the v4l tree is broken. It leaves various generated configuration files in place, which prevents the tree from correctly building for the new kernel.

My solution was to re-do the clone from mercurial. Diffing the new and old trees gave me the following output - deleting the mentioned files (apart from the .dirstat file, of course) may well work, but I am not about to risk breaking my machine to test.
~$ diff -r xc-test.1 xc-test
Binary files xc-test.1/.hg/dirstate and xc-test/.hg/dirstate differ
Only in xc-test.1/v4l: .config
Only in xc-test.1/v4l: Kconfig
Only in xc-test.1/v4l: .kconfig.dep
Only in xc-test.1/v4l: Kconfig.kern
Only in xc-test.1/v4l: Makefile.media
Only in xc-test.1/v4l: .myconfig
Only in xc-test.1/v4l: oss
Only in xc-test.1/v4l: .tmp_versions
Only in xc-test.1/v4l: .version
To help yourself in future, take of copy of your v4l tree (cp -r dirname dirname.build) and build in that copy. That will leave your original tree clean for when you need to rebuild.
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote

dvb, linux, mythtv, solutions, v4l

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Randomly Stops Working plexter OpenBSD Packages and Ports 21 4th May 2009 04:41 PM
Problem during kernel-build for a 6.x-to-7 upgrade clevershark FreeBSD Installation and Upgrading 2 1st February 2009 10:45 PM
Apache with php stopped working after upgrade map7 FreeBSD Ports and Packages 7 7th December 2008 10:39 PM
identifying device associated with USB device? spiderpig OpenBSD General 2 7th July 2008 05:18 AM
Do I need to Upgrade my Kernel yet Marred FreeBSD Ports and Packages 10 19th June 2008 05:33 PM

All times are GMT. The time now is 11:15 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick