After my last post about the TV modules not being loaded, I kept looking and 
found /etc/modprobe.conf. I noticed it contained the following line:

install saa7134 ; /bin/true

Since the original error message (included here again) included reference to 
`; /bin/true', I decided to try fixing that line and was able to manually 
load the module with modprobe.

Here's the error message I got before the fix:

[EMAIL PROTECTED] solomon]# modprobe  saa7134
sh: -c: line 1: syntax error near unexpected token `;'
sh: -c: line 1: `; /bin/true'
FATAL: Error running install command for saa7134

And here's how I fixed it:

## shlomo 25/4/04
##install saa7134 ; /bin/true
alias saa7134 saa7134

I know the fix looks wierd, but it worked - no idea why - it was a lucky 
guess. But wait - things get stranger. I then fixed the references to the 
other modules that weren't getting loaded (tuner and tvaudio) and was able to 
load them too.

To be on the safe side (in case this happens again), I then made a copy of the 
new file and called it /etc/modprobe.conf-good-250404. That would have been 
the end of the story, but I ecided to re-boot to make sure the change 
**really** solved the problem.

After booting, I checked and all modules were correctly loaded (and, of 
course, the TV card works). But when I checked /etc/modprobe.conf, I 
discovered that it somehow reverted to the old version. So, on one hand, 
everything is working OK, but on the other hand, the changes I made are gone. 
So I don't know how what I did fixed the problem. 

Here are some more details:

[EMAIL PROTECTED] solomon]$ ls -la /etc/modprobe*
-rw-r--r--  1 root root  732 Apr 25 02:08 /etc/modprobe.conf
-rw-r--r--  1 root root  762 Apr 25 01:40 /etc/modprobe.conf~
-rw-r--r--  1 root root  733 Apr 25 01:56 /etc/modprobe.conf-bad-250404
-rw-r--r--  1 root root  936 Apr 25 01:53 /etc/modprobe.conf-bad-250404~
-rw-r--r--  1 root root  936 Apr 25 01:58 /etc/modprobe.conf-good-250404
-rw-r--r--  1 root root 3489 Mar 16 14:50 /etc/modprobe.devfs
-rw-r--r--  1 root root  453 Apr 25 02:08 /etc/modprobe.preload
-rw-r--r--  1 root root  379 Apr  4 08:10 /etc/modprobe.preload~
[EMAIL PROTECTED] solomon]$ uptime
 02:16:28 up 15 min,  1 user,  load average: 3.68, 3.09, 2.18

As you can see, both modeprobe.conf and modprobe.preload were saved AFTER 
re-booting and modprobe.conf is not the same size as 
modprobe.conf-good-250404 (it was identical before booting). And here are the 
contents of both files. You can see that my changes are gone. So again - why 
is my TV card now working????

[EMAIL PROTECTED] solomon]$ cat /etc/modprobe.conf-good-250404
##note changes made 25/4/04 to solve TV problem (modules were not loading)

alias sound-slot-0 snd-emu10k1
alias eth0 dmfe

## shlomo 25/4/04
##install saa7134 ; /bin/true
alias saa7134 saa7134

install scsi_hostadapter /sbin/modprobe imm; /sbin/modprobe ppa; /bin/true
install snd-emu10k1 /sbin/modprobe --first-time --ignore-install snd-emu10k1 
&& { /sbin/modprobe snd-pcm-oss; /bin/true; }
install snd-es1938 /sbin/modprobe --first-time --ignore-install snd-es1938 && 
{ /sbin/modprobe snd-pcm-oss; /bin/true; }

## shlomo 25/4/04
##install tuner ; /bin/true
alias tuner tuner

## shlomo 25/4/04
##install tvaudio ; /bin/true
alias tvaudia tvaudio

install usb-interface /sbin/modprobe usb-uhci; /bin/true
remove snd-emu10k1 { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r 
--first-time --ignore-remove snd-emu10k1
remove snd-es1938 { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r 
--first-time --ignore-remove snd-es1938



[EMAIL PROTECTED] solomon]$ cat /etc/modprobe.conf
alias sound-slot-0 snd-es1938
alias eth0 dmfe
install saa7134 ; /bin/true
install scsi_hostadapter /sbin/modprobe imm; /sbin/modprobe ppa; /bin/true
install snd-emu10k1 /sbin/modprobe --first-time --ignore-install snd-emu10k1 
&& { /sbin/modprobe snd-pcm-oss; /bin/true; }
install snd-es1938 /sbin/modprobe --first-time --ignore-install snd-es1938 && 
{ /sbin/modprobe snd-pcm-oss; /bin/true; }
install tuner ; /bin/true
install tvaudio ; /bin/true
install usb-interface /sbin/modprobe usb-uhci; /bin/true
remove snd-emu10k1 { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r 
--first-time --ignore-remove snd-emu10k1
remove snd-es1938 { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r 
--first-time --ignore-remove snd-es1938
[EMAIL PROTECTED] solomon]$




-- 
Shlomo Solomon
http://come.to/shlomo.solomon
Sent by KMail 1.6.1 (KDE 3.2) on LINUX Mandrake 10.0


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to