On Saturday 04 December 2004 08:24, Cameron Booth wrote: > OK guys, > > Thank again for all your advice. Sorry I'm so helpless at this....I'm > learning a little bit more with every round ;-) > > Anyways, I've tried: > > Workaround 1: > > o rename tuner.*o from the /kernel/ subdir > > I tried just renaming the file to tuner.old.ko, but modprobe -nv tuner > still seemed to find that, so I actually moved it to a totally different > place...both the versions in .....kernel/ and ....update/ right away from > there....
You need the one in update/ to stay put, that's the kernel module you want. After removing the old one out of kernel/, you need to run depmod -ae to get the new one picked up. > Then I tried: > > Workaround 2: > > o Get > > http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS > >/modu le-init-tools-3.1-0.pre5.4.src.rpm > > and rebuild it on your platform. > > --> At first I wasn't sure how to do this really, but then I found a couple > HOWTOs, and did it like this: > > # rpm -Uvh > http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/m >o dule-init-tools-3.1-0.pre5.4.src.rpm > # cd /usr/src/redhat/SPECS > # rpmbuild -ba module-init-tools.spec > # cd ../RPMS/ > # rpm -Uvh module-init-tools-3.1-0.pre5.4.i386.rpm > # rpm -Uvh module-init-tools-debuginfo-3.1-0.pre5.4.i386.rpm This should suffice, actually: # wget http://.../module-init-tools-3.1-0.pre5.4.src.rpm # rpmbuild --rebuild module-init-tools-3.1-0.pre5.4.src.rpm # rpm -Uvh /usr/src/redhat/RPMS/i386/module-init-tools-3.1-0.pre5.4.i386.rpm > --> That all seemed to work well, so I did a test or two: > > # apt-cache policy modutils > <OUTPUT> > modutils: > Installed: (none) > Candidate: 2.4.26-16 > Version Table: > 2.4.26-16 0 > 996 http://ayo.freshrpms.net fedora/linux/2/i386/core pkglist > </OUTPUT> > > # apt-cache policy module-init-tools > <OUTPUT> > module-init-tools: > Installed: 3.1-0.pre5.4 > Candidate: 3.1-0.pre5.4 > Version Table: > *** 3.1-0.pre5.4 0 > 100 RPM Database > </OUTPUT> > > --> It seems like I got module-init-tools alright, but I now don't have > modutils installed? Strange....so I tried: Not strange, its actually the correct behavior. module-init-tools provides all the functionality of modutils and then some. It actually obsoletes module-init-tools. > [EMAIL PROTECTED] root]# apt-get install modutils > <OUTPUT> > Reading Package Lists... Done > Building Dependency Tree... Done > The following packages will be REMOVED: > module-init-tools > The following NEW packages will be installed: > modutils > WARNING: The following essential packages will be removed > This should NOT be done unless you know exactly what you are doing! > module-init-tools (due to kernel#2.6.5-1.358) > 0 upgraded, 1 newly installed, 1 removed and 1 not upgraded. > Need to get 405kB of archives. > After unpacking 109kB of additional disk space will be used. > You are about to do something potentially harmful > To continue type in the phrase 'Yes, do as I say!' > </OUTPUT> > > --> I cancelled out of this, wasn't sure if it would screw things up, or > potentially revert back to an older modutils version again. It would have given you the old one, cancelling was correct. > Looking now at modprobe I get: > # modprobe -nv ivtv > <OUTPUT> > insmod /lib/modules/2.6.9-1.6_FC2/updates/drivers/media/video/ivtv.ko > </OUTPUT> > > # modprobe -nv tuner > <OUTPUT> > FATAL: Could not open > '/lib/modules/2.6.9-1.6_FC2/kernel/drivers/media/video/tuner.bad.ko': No > such file or directory > </OUTPUT> > > This doesn't look very good ;-) What should it do? I believe if depmod -ae were run before modprobe'ing the tuner, you'd be okay. > After restarting I still get "tuner not set" lines in my /var/log/messages > and I still am not able to get output from the tuner. Hm, that's odd... Could just force the issue and copy the tuner out of updates/ into the right place in kernel/... I'm surprised it didn't work after a reboot, but maybe RH's module-init-tools doesn't respect updates/ overriding kernel/ either... -- Jarod C. Wilson, RHCE [EMAIL PROTECTED] Got a question? Read this first... http://catb.org/~esr/faqs/smart-questions.html MythTV, Fedora Core & ATrpms documentation: http://wilsonet.com/mythtv/ MythTV Searchable Mailing List Archive http://www.gossamer-threads.com/lists/mythtv/
pgp8VXY7vVg2w.pgp
Description: PGP signature
