View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Jul 15, 2007 8:57 pm 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
I just started having trouble with MythArchive. I'm not sure what has happened because it has been working fine in R5F1.

The symptoms are:
I select recorded files to archive to a DVD and then choose the MAKE DVD option. I have been burning 2 files per single layer dvd. Each file is a 1 hour tv show with a file size of 4GB. I choose that Mytharchive does NOT reencode the mpeg files, so TCREQUANT is used to shirnk the 8GB of total file size down to 4GB for the dvd-r disc. This setup has worked fine for months. All looks fine when the video file processing starts.
The computer works on the 2 files and then creates the DVD file structure.
Then the dvd-r drive starts to burn a dvd. The burn process only goes halfway and then stops and ejects the dvd-r disc. The log files show that the process completed fine. When I look at the dvd-r disc I can see it is only 1/2 written. I don't know how to troubleshoot this or what files or settings to fix. This bad behavior just started within the last 7 days.

Here are the 2 relavant log files from the /myth/tmp/logs folder:
www.geocities.com/neutron68/mythburn.log
www.geocities.com/neutron68/progress.log

In an attempt to fix any corrupted program files in Mythtv and MythArchive, I did an auto-upgrade of R5F1 - with the thought that any missing or corrupted files would be replaced. It has not worked.

I have been able to take the DVD files from the /myth/tmp/work/dvd folder and copy them over to one of my other pcs and burn the dvd. Since the burned dvd turns out fine, I am sure that the dvd creation process is working in MythArchive, it's just the burn part that is having a problem.

I do see an error message during the burn part of the process.
Does this seem like a software problem or a hardware problem?

Help and advice needed!
Eric

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Last edited by neutron68 on Mon Aug 27, 2007 9:13 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 16, 2007 6:34 am 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
Quote:
I have been able to take the DVD files from the /myth/tmp/work/dvd folder and copy them over to one of my other pcs and burn the dvd. Since the burned dvd turns out fine, I am sure that the dvd creation process is working in MythArchive, it's just the burn part that is having a problem.


I think this bit just points to it being a hardware problem. From the logfiles, all the disk creation stuff is happened and it's in the middle of writing to disk.
The obvious things to check out is your IDE cable/connections and for dust in the drive. Though it does appear it's going to be a DVD drive replacement.

Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
PostPosted: Sun Aug 12, 2007 11:40 am 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
I swapped dvd-r drives with the same symptoms/results.

I just tried a cd burn of an ISO image and got the following feedback.
Code:
Verifying the md5sum of the file ...
md5sum checks disc.iso OK!


Burn the image disc.iso ...
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'PIONEER '
Identification : 'DVD-RW  DVR-111D'
Revision       : '1.29'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Speed set to 1764 KB/s
Starting to write CD/DVD at speed  10.0 in real SAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Errno: 0 (Success), write_g1 scsi sendcmd: no error
CDB:  2A 00 00 00 00 1F 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0E 00 00 00 00 08 03 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x08 Qual 0x03 (logical unit communication crc error (ultra-dma/32)) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 63488
cmd finished after 0.003s timeout 200s
write track data: error after 63488 bytes
wodim: A write error occured.
wodim: Please properly read the error message above.
Errno: 0 (Success), flush cache scsi sendcmd: no error
CDB:  35 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0E 00 00 00 00 44 00 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x44 Qual 0x00 (internal target failure) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 17.543s timeout 200s
Trouble flushing the cache


I'll try swapping the IDE cable next.

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 12, 2007 2:24 pm 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
Well that either points to an OS problem, or a motherboard/cable problem.
Have you checked or swapped the IDE cable as well?

Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
 Post subject: changed hard drive cable
PostPosted: Sun Aug 12, 2007 6:58 pm 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
I just changed the ribbon cable for the dvd-r drive - same symptoms.

Here are the parameters of the dvd-r drive (/dev/hdc):
Code:
root@mythtv:~# hdparm /dev/hdc

/dev/hdc:
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Inappropriate ioctl for device

See any problems here?
I just checked my motherboard settings and I have all the parameters for this drive set to AUTO in the bios - including DMA mode.

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 12, 2007 9:03 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi

If I recall correctly, just a few days ago a gent was experiencing a very similar issue. I think the solution was to delete something the /myth/tmp/config? stuff and then re do the process.

I usually make the iso then check it to see if I got it right then burn it. Simply make a link to the /myth/tmp/work/mythburn.iso into your video folder then your last dvd creation is available without getting off the couch :)
link is something like: ln -s /myth/tmp/work/mythburn.iso /myth/video

I also made a button in my archivemenu.xml menu
<button>
<type>ARCHIVE_EXPORT_VIDEO</type>
<text>Burn Latest DVD ISO</text>
<action>EXEC /usr/bin/run-reburn-iso</action>
</button>

that calls this script:
Code:
#<code>
#!/bin/sh
# /usr/bin/run-reburn-iso
#
export DISPLAY=:0
echo 'Starting DVD Burn of mythburn.iso...'  | osd_cat --shadow=3  --delay=15 --
color=red -f -*-*-*-*-*-*-32-*-*-*-*-*-*-* -A center -p top &

growisofs -dvd-compat -Z /dev/dvd=/myth/tmp/work/mythburn.iso&
#festival preparing to burn a dvd, please wait.
sleep 30
export DISPLAY=:0
echo 'You should eject DVD when completed ...'  | osd_cat --shadow=3  --delay=20
 --color=green -f -*-*-*-*-*-*-32-*-*-*-*-*-*-* -A center -P top&

#<end code>


so that way I can burn the iso when happy with the edits and make an extra burn later. I do need to start putting in credits from the pieces of code I borrow... some is from ver.sh. It may not be pretty but does seem to work.

Mike


Top
 Profile  
 
PostPosted: Mon Aug 13, 2007 10:34 am 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
mjl wrote:
I usually make the iso then check it to see if I got it right then burn it. Simply make a link to the /myth/tmp/work/mythburn.iso into your video folder then your last dvd creation is available without getting off the couch :)

That sounds like a nice tweak to the system after I get the disc burn problem solved. Thanks for the idea.

Note that disc burn problem extends outside the boundaries of the Mytharchive software. If you look at a message or 2 back, you can see that I have a cd-r burn of an ISO running from a script and it bombs out, too.

Thus far, I've reinstalled R5F1 (using auto upgrade so it kept my system settings and database), replaced the DVD-R drive and replaced the IDE cable going to the DVD-R drive.

I think my next diagnostic step is to swap motherboards, unfortunately...

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 13, 2007 9:29 pm 
Offline
Joined: Fri Sep 15, 2006 12:16 pm
Posts: 292
I would try re-burning that iso that burns ok on the other box.
First use hdparm to turn unmask irq off and keep settings on.
Something like:
Code:
    hdparm -u0 -d1 -k1 -K1 /dev/hdc


Then burn at a lower speed (from memory):
Code:
    growisofs -dvd-compat -speed=2 -Z /dev/dvd=pathtoimage.iso


Top
 Profile  
 
PostPosted: Sun Aug 26, 2007 3:31 pm 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
I didn't think to mention it before, but one of the events that occurred around the time of the failed dvd burns was the swap of my original motherboard with motherboard #2 (same brand and model) in an attempt to isolate and eliminate another problem I was having with the system locking up randomly. The swap from #1 to #2 didn't fix the lockups. But, around that time, I found that dvd burns would not work any more - with all hardware the same except the motherboard.

Is there some file in Knoppmyth that records and retains chip id numbers for the IDE controller chips? That's about the only guess I have to explain why Knoppmyth would stop burning dvds as a result of changing the motherboard.

I have just swapped out motherboard #2 and put back motherboard #1. I have started Mytharchive and will see if it can complete a dvd burn...

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 26, 2007 6:03 pm 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
Quote:
I didn't think to mention it before, but one of the events that occurred around the time of the failed dvd burns was the swap of my original motherboard with motherboard #2 (same brand and model) in an attempt to isolate and eliminate another problem I was having with the system locking up randomly. The swap from #1 to #2 didn't fix the lockups. But, around that time, I found that dvd burns would not work any more - with all hardware the same except the motherboard.

That would have been useful to know. Just because the MB is the same make and model, doesn't mean it's the same, often manufacturers change chips.

Quote:
Is there some file in Knoppmyth that records and retains chip id numbers for the IDE controller chips? That's about the only guess I have to explain why Knoppmyth would stop burning dvds as a result of changing the motherboard.

Most, if not all distros can be shifted between completely different motherboards, without much of a problem.

It could be that there is a problem with the IDE controller on the 2nd motherboard, or there is a problem with the connector.

Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
PostPosted: Mon Aug 27, 2007 9:12 am 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
Well, that was it. The swap back to motherboard #1 fixed the dvd burn problem. It looks like motherboard #2 has a problem with it's IDE controller.

It's amazing the troubles that I've been chasing for the last year. Most have been caused by hardware problems which have not been obvious to find without spending a lot of time swapping parts. :(

At this point, I'm running with a very stable Knoppmyth box. All the hardware bugs and snakes have been shaken out. It's just a little depressing that it has taken a year to find all the bad pieces.

Thanks for all your input and feedback!

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu