[mythtv-users] PVR-150 defaulting to /dev/video1

R. G. Newbury newbury at mandamus.org
Wed Jul 19 22:22:34 UTC 2006


Comments in-line

Frank Armstrong wrote:
> 
> okay...i've done what you guys have suggested...both the modprobe.conf 
> fix and the blacklist...and it still doesn't work...it scans the 
> channels fine as /dev/video1 it starts fine on whatever station i set it 
> to start on...but when i try to change channels...it crashes...now this 
> is what my mythfrontend terminal session looked like...below that is 
> what my mythbackend session looked like...can you tell me what's wrong 
> based on that???
> 
> 
> 2006-07-18 22:14:43.002 New DB connection, total: 2
> 2006-07-18 22:14:43.003 Connected to database 'mythconverg' at host: 
> localhost
> 2006-07-18 22:14:43.019 Connecting to backend server: 127.0.0.1:6543 
> <http://127.0.0.1:6543> (try 1 of 5)
> 2006-07-18 22:14:43.031 Using protocol version 26
> 2006-07-18 22:14:43.142 TV: Attempting to change from None to WatchingLiveTV
> 2006-07-18 22:14:43.151 Using protocol version 26
> 2006-07-18 22:14:43.995 RingBuf(/var/video//2009_20060718221443.mpg): 



> Invalid file (fd 17) when opening '/var/video//2009_20060718221443.mpg'. 
> 12 retries remaining.

Looks like you may have added an inadvertent '/' to the end of 
'/var/video' when you defined where your video is to be recorded...the 
'//' confuses mythbackend.

The failure of the rest of it is likely a result of that first error.

Try try again.

<big snip>


> here is my myth backend...it just kept saying this over and over...
> 
> Query was:
> INSERT INTO recordedmarkup (chanid, starttime, mark, type, offset) 
> VALUES ( '1281' , '2006-07-18T22:14:59' , '1440' , 9 , '44786112' );
> Driver error was [2/145]:
> QMYSQL3: Unable to execute query
> Database error was:
> Table './mythconverg/recordedmarkup' is marked as crashed and should be 
> repaired

You need to start by running mysqlcheck and then myth.rebuilddatabase.pl 
to fix that table.
If you are just starting out and using svn, it may actually be easier 
for your to drop the mythconverg datebase and start again. Probably not 
so easy with a precompiled setup. But remember, if you are just 
starting, you have no history to save, and your channels can be scanned, 
or inserted with mythfilldatabase. It's not worth a lot of time fighting 
with a bad database structure when there is nothing but the structure there.

Geoff



More information about the mythtv-users mailing list