Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76188 - Loading bttv with modprobe gives a syntax error
Summary: Loading bttv with modprobe gives a syntax error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-30 17:00 UTC by Markus Baertschi
Modified: 2005-01-01 12:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Baertschi 2004-12-30 17:00:37 UTC
gentoo root # modprobe bttv
sh: -c: line 1: syntax error near unexpected token `;;'
sh: -c: line 1: `{ modprobe -k tuner;; } ; /sbin/modprobe --first-time --ignore-install bttv'
FATAL: Error running install command for bttv

I'm running gentoo-dev-sources-2.6.9-r13

Reproducible: Always
Steps to Reproduce:
gentoo root # modprobe bttv
sh: -c: line 1: syntax error near unexpected token `;;'
sh: -c: line 1: `{ modprobe -k tuner;; } ; /sbin/modprobe --first-time --ignore-install bttv'
FATAL: Error running install command for bttv
Actual Results:  
The bttv drive can not load with the broken modprobe.conf file

Expected Results:  
Loaded the bttv driver :-)

It looks like the /etc/modules.d/bttv file is broken. 

The line:
  pre-install bttv modprobe -k tuner; #modprobe -k msp3400 debug=1 simple=0x20
should read:
  pre-install bttv modprobe -k tuner #modprobe -k msp3400 debug=1 simple=0x20

(note the removed semicolon)

After this modification and running modules-update the bttv module loads just fine.
Comment 1 Sven Wegener gentoo-dev 2004-12-30 17:58:48 UTC
Which packages does install that file?
Comment 2 Stian Skjelstad 2004-12-31 13:50:05 UTC
I believed that was a file the user has to create on his own.
Comment 3 Andreas Korinek 2005-01-01 01:27:57 UTC
I don't even have that file and can use bttv ;-)
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2005-01-01 12:39:19 UTC
As far as I know that's a user created file. Nothing in portage creates that file. Unless the user can give us a qpkg -f /etc/modules.d/bttv that proves otherwise this is an INVALID bug.

User needs to delete said file and try again. Or if the user created this file then the user needs to fix the syntax.