Author |
Message |
shplad
|
Posted: Sun Dec 18, 2005 10:22 am |
|
Joined: Sun Nov 14, 2004 10:04 am
Posts: 263
Location:
Toronto, Canada
|
Hi folks:
Well, I seem to be moving backwards. I've double-checked now, and any recordings
I schedule do not actually record. On top of that, if I schedule any recordings, it seems
to make any other recordings disappear. In other words, the only way I can record is
to press "R" during live tv. And if I schedule anything, the recordings I can make,
(ie. by pressing "R" during livetv) disappear from the recorded programs list.
All this is in addition to the problems mentioned in my other post, which describes
the fact that I can't view anything on the second tuner from within Myth (but can
record from Linux prompt).
Something(s) is obviously really messed up.
Where do I start with this? I know precisely zero about SQL.
Thanks in advance for any help.
shplad
_________________ KnoppMyth R5C7
Abit NF7-S
Athlon XP Mobile 2500+
Hauppauge PVR-150 + PVR-150MCE
nVidia Geforce 6600GT
Samsung Spinpoint SATA 120GB
NEC ND-3520A DVD
Seasonic Super Tornado 350
BTC 9019URF Wireless Kbd. w. Joystick
|
|
Top |
|
 |
tjc
|
Posted: Sun Dec 18, 2005 11:24 am |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Do you have mythweb working? If so:
- What does the "Backend Status" page show for encoders? - Are there any entries on the "Recording Schedules" page? - When you schedule a recording, does it show up on the "Scheduled Recordings" page? - Finally, is there anything listed on the "Recorded Programs" page?
It really sounds like you have a thoroughly roached install.
|
|
Top |
|
 |
shplad
|
Posted: Sun Dec 18, 2005 3:08 pm |
|
Joined: Sun Nov 14, 2004 10:04 am
Posts: 263
Location:
Toronto, Canada
|
tjc:
For your first two questions, when should I check? While it's supposed to be recording? Any time after I've scheduled?
shplad
tjc wrote: Do you have mythweb working? If so: - What does the "Backend Status" page show for encoders? - Are there any entries on the "Recording Schedules" page? - When you schedule a recording, does it show up on the "Scheduled Recordings" page? - Finally, is there anything listed on the "Recorded Programs" page? It really sounds like you have a thoroughly roached install.
_________________ KnoppMyth R5C7
Abit NF7-S
Athlon XP Mobile 2500+
Hauppauge PVR-150 + PVR-150MCE
nVidia Geforce 6600GT
Samsung Spinpoint SATA 120GB
NEC ND-3520A DVD
Seasonic Super Tornado 350
BTC 9019URF Wireless Kbd. w. Joystick
|
|
Top |
|
 |
mjl
|
Posted: Sun Dec 18, 2005 7:17 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi shplad,
Have you checked to see if there is any storeage space left?
do in an $ xterm df -h if /myth is at a100%
Unless you have been in diddling with the "inerds" things should be ok, just a matter of getting the settings tweaked a little.
cesman has made KnoppMyth very stable and the Debian under that is like a rock.
Mike
|
|
Top |
|
 |
tjc
|
Posted: Sun Dec 18, 2005 7:33 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
shplad wrote: For your first two questions, when should I check? While it's supposed to be recording? Any time after I've scheduled?
Encoders anytime, scheduled recordings anytime after you've scheduled.
We're looking at two things here, first are there recording devices that the system thinks are available to assign (you won't see anything get scheduled if there aren't), and second are there really recording there that you've accidentally got hidden in the front end. Mike's disk space suggestion bears checking too.
|
|
Top |
|
 |
shplad
|
Posted: Mon Dec 19, 2005 9:22 am |
|
Joined: Sun Nov 14, 2004 10:04 am
Posts: 263
Location:
Toronto, Canada
|
mjl:
Hmmm...I think your suggestion may have prompted something I didn't notice before. If I run cfdisk to view the partitions, it lists:
Code: cfdisk 2.12p
Disk Drive: /dev/sda Size: 120060444672 bytes, 120.0 GB Heads: 255 Sectors per Track: 63 Cylinders: 14596
Name Flags Part Type FS Type [Label] Size (MB) ---------------------------------------------------------------------------------------------------- sda1 Boot Primary Linux ext3 8003.20 sda5 Logical Linux swap / Solaris 1003.49 sda3 Primary Linux ext2 [cache] 10503.69 sda4 Primary Linux 100545.83
Now, as you can guess, sda4 is /myth. However, if I run mount, I get: Code: root@box:/# mount /dev/sda1 on / type ext3 (rw,errors=remount-ro) none on /proc type proc (rw,nodiratime) sysfs on /sys type sysfs (rw) /dev/sda3 on /cache type ext2 (rw,nosuid,nodev) automount(pid4846) on /mnt/auto type autofs (rw,fd=4,pgrp=4846,minproto=2,maxproto=4)
Again, I'm a Linux newbie, but doesn't that mean /myth is not properly mounted?
Don't the results of the mount command suggest only two partitions are mounted?
Could that be the part of my problem? Oh, and do you need to have a statement in
fstab for the /swap partition?
tjc:
Well, to restate: both tuners will record and playback video from the Linux command prompt.
The first tuner will record from within Myth, but only if I press "R" while
a show is currently playing. And if I press "Y" during live tv, Myth returns
to the main menu. Should I redo my card settings for the second tuner or ??
Thanks.
shplad
mjl wrote: Hi shplad, Have you checked to see if there is any storeage space left? do in an $ xterm df -h if /myth is at a100%  Unless you have been in diddling with the "inerds" things should be ok, just a matter of getting the settings tweaked a little. cesman has made KnoppMyth very stable and the Debian under that is like a rock. Mike
_________________ KnoppMyth R5C7
Abit NF7-S
Athlon XP Mobile 2500+
Hauppauge PVR-150 + PVR-150MCE
nVidia Geforce 6600GT
Samsung Spinpoint SATA 120GB
NEC ND-3520A DVD
Seasonic Super Tornado 350
BTC 9019URF Wireless Kbd. w. Joystick
|
|
Top |
|
 |
tjc
|
Posted: Mon Dec 19, 2005 8:26 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
No, even though you didn't answer my questions, I'm guesisng the disk thing is your problem. Add a line to your /etc/fstab that looks ike this: Code: /dev/sda4 /myth auto defaults,auto 0 2
HOWEVER before you do the mount command, back up the current contents of the /myth directory and clean it out. I post directions for doing that not too long ago for someone with almost exactly the same problem... Ah, here's the thread: http://mysettopbox.tv/phpBB2/viewtopic.php?t=7185
|
|
Top |
|
 |
shplad
|
Posted: Mon Dec 19, 2005 10:57 pm |
|
Joined: Sun Nov 14, 2004 10:04 am
Posts: 263
Location:
Toronto, Canada
|
Muchas Gracias tjc:
The mount insisted: "you must specify the filesystem type"
But when I tried, whatever filesystem I specified, it then complained:
"mount: wrong fs type, bad option, bad superblock on /dev/sda4,
or too many mounted file systems"
I'm starting to wonder if the the /myth partition is even formatted. Is there some
way to check?
Thanks again for your newbie patience.
_________________ KnoppMyth R5C7
Abit NF7-S
Athlon XP Mobile 2500+
Hauppauge PVR-150 + PVR-150MCE
nVidia Geforce 6600GT
Samsung Spinpoint SATA 120GB
NEC ND-3520A DVD
Seasonic Super Tornado 350
BTC 9019URF Wireless Kbd. w. Joystick
|
|
Top |
|
 |
tjc
|
Posted: Mon Dec 19, 2005 11:21 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Well if you've got a valid looking /myth directory right now, I'd be pretty sure that there's nothing on sda4 and it's not formatted. I certainly don't see any harm in reformating it... I don't even remember the right command off the top of my head but i'm sure a quick search will turn it up. Maybe "mkfs.ext3"? I always have to look this up...
|
|
Top |
|
 |
mjl
|
Posted: Mon Dec 19, 2005 11:27 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi
If you refer to the Xsecerts wiki, and look around a bit, you will see how to make sda4 ready for myth. Obviously. change the hda4 to be sda4 like so..
edit your /etc/fstab
add a line as mentioned earlier
/dev/sda4 /myth auto defaults,auto 0 2
Now format the partion,
# mke2fs -j -O sparse_super -m0 -i8000000 -L myth -M /myth /dev/sda4
It is a pain setting up the serial stuff, however once there it is good. After it is formated, you need to copy all the /myth to /dev/sda4. First look in the /mnt for an empty place and mount /dev/sda4 /mnt/empty_place
At this time you should be able to cp -r /myth/* /mnt/empty_place
When done, change ownership
chown mythtv:mythtv /mnt/empty_place/*
chown mythtv:mythtv /mnt/empty_place/*/*
chown mythtv:mythtv /mnt/empty_place/*/*/*
repeat until it complains and yells uncle
There will be a couple of directories missing, you need to add those and change the ownership there also.
One that comes to mind is the image_cache and needs to be www-data:www-data
Since you don't ready have a myth directory, you don't have to worry about backups yet. Oh yes make sure you have a backup directory also.
Once /mnt/empty_place is built, umount /mnt/empty_place then try a mount /dev/sda4 followed with a df -h
should look simular to this, numbers will of course be different
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 4.7G 2.1G 2.5G 46% /
/dev/sda3 18G 24K 18G 1% /cache
/dev/sda4 257G 168G 90G 66% /myth
Enjoy
Mike
|
|
Top |
|
 |
shplad
|
Posted: Tue Dec 20, 2005 8:49 pm |
|
Joined: Sun Nov 14, 2004 10:04 am
Posts: 263
Location:
Toronto, Canada
|
Thanks Mike. Awww...crap. Nothing ever works for me.
Code: root@box:/# mke2fs -j -O sparse_super -m0 i8000000 -L myth -M /myth /dev/sda4 mke2fs 1.36 (05-Feb-2005) mke2fs: bad blocks count - /dev/sda4
I somehow doubt there are bad blocks on the drive, since it's brand new.
Suggestions?
Thanks
shplad
mjl wrote: Hi
If you refer to the Xsecerts wiki, and look around a bit, you will see how to make sda4 ready for myth. Obviously. change the hda4 to be sda4 like so.. Mike
_________________ KnoppMyth R5C7
Abit NF7-S
Athlon XP Mobile 2500+
Hauppauge PVR-150 + PVR-150MCE
nVidia Geforce 6600GT
Samsung Spinpoint SATA 120GB
NEC ND-3520A DVD
Seasonic Super Tornado 350
BTC 9019URF Wireless Kbd. w. Joystick
|
|
Top |
|
 |
mjl
|
Posted: Tue Dec 20, 2005 9:44 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi shplad,
Not sure what the msg is trying to say, however all the line of code is suppose to do is format your drive partition #4 to be ext3 and ready for your recordings. Since there weren't any numbers for bad blocks, assume there aren't any.
Try the rest, good practice anyway as with the serial you still have to do it the hard way.
Keep smiling, it's almost Christmas
Mike
|
|
Top |
|
 |
shplad
|
Posted: Tue Dec 20, 2005 10:35 pm |
|
Joined: Sun Nov 14, 2004 10:04 am
Posts: 263
Location:
Toronto, Canada
|
You're the best, Mike. But even with my beginner skills at Linux, I'm pretty sure
I can't do any of the other steps until the partition is formatted. Ahhhh...wait.
There are a couple other mount points in fstab that might be extraneous. I'll delete them
and see what happens.
shplad
mjl wrote: Hi shplad, Not sure what the msg is trying to say, however all the line of code is suppose to do is format your drive partition #4 to be ext3 and ready for your recordings. Since there weren't any numbers for bad blocks, assume there aren't any. Try the rest, good practice anyway as with the serial you still have to do it the hard way. Keep smiling, it's almost Christmas  Mike
_________________ KnoppMyth R5C7
Abit NF7-S
Athlon XP Mobile 2500+
Hauppauge PVR-150 + PVR-150MCE
nVidia Geforce 6600GT
Samsung Spinpoint SATA 120GB
NEC ND-3520A DVD
Seasonic Super Tornado 350
BTC 9019URF Wireless Kbd. w. Joystick
|
|
Top |
|
 |
shplad
|
Posted: Wed Dec 21, 2005 9:17 am |
|
Joined: Sun Nov 14, 2004 10:04 am
Posts: 263
Location:
Toronto, Canada
|
Nope-still doesn't work.
Any suggestions as to why I'm getting that error would really be appreciated. I did a Google
for it, but found very few results. And most of those were for old, dying drives.
shplad
_________________ KnoppMyth R5C7
Abit NF7-S
Athlon XP Mobile 2500+
Hauppauge PVR-150 + PVR-150MCE
nVidia Geforce 6600GT
Samsung Spinpoint SATA 120GB
NEC ND-3520A DVD
Seasonic Super Tornado 350
BTC 9019URF Wireless Kbd. w. Joystick
|
|
Top |
|
 |
tjc
|
Posted: Wed Dec 21, 2005 11:18 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Verify that the partition is set up correctly with cfdisk or parted. Be VERY careful about changing any of the three good partitions.
|
|
Top |
|
 |