View previous topic :: View next topic |
Author |
Message |
ejfinneran n00b
Joined: 24 Feb 2003 Posts: 18
|
Posted: Thu Jul 17, 2003 2:31 am Post subject: Problem playing DVDs |
|
|
I'm able to open and play encrypted DVDs fine at first, but sometimes in the middle of watching the DVD, the read light just starts blinking at a constant rate and the movie freezes. I checked my /var/log/messages and it outputs this:
Code: |
Jul 16 21:13:26 localhost kernel: hdd: ATAPI reset complete
Jul 16 21:13:36 localhost kernel: hdd: irq timeout: status=0xd0 { Busy }
Jul 16 21:13:36 localhost kernel: hdd: irq timeout: error=0x01IllegalLengthIndication
Jul 16 21:13:36 localhost kernel: hdd: ATAPI reset complete
Jul 16 21:13:46 localhost kernel: hdd: irq timeout: status=0xd0 { Busy }
Jul 16 21:13:46 localhost kernel: hdd: irq timeout: error=0x01IllegalLengthIndication
Jul 16 21:13:46 localhost kernel: end_request: I/O error, dev 16:40 (hdd), sector 1759340
Jul 16 21:13:46 localhost kernel: hdd: status timeout: status=0xd0 { Busy }
Jul 16 21:13:46 localhost kernel: hdd: status timeout: error=0x00
Jul 16 21:13:46 localhost kernel: hdd: ATAPI reset complete
|
This happens on more than one disc.
Has anyone seen this before? Know what it means? I can't kill mplayer once this has happened no matter what signal I send. I have to reboot the machine to get it back.
I'm running 2.4.21 kernel and mplayer 0.90-r2.
Thanks in advance |
|
Back to top |
|
|
Petyr Guru
Joined: 08 Jan 2003 Posts: 471 Location: San Diego, CA, USA
|
Posted: Thu Jul 17, 2003 7:24 am Post subject: |
|
|
wow someone else with wierd DMA issues.
This might affect performance of the DVD-ROM drive, but you can just disable DMA access for it. You're going to see an impact on being able to read disc's because now the CPU is going to have to do a lot more work just to read stuff off a CD/DVD, but it should at least solve the issue for now
hdparm -d0 /dev/hdd
This is a kludge though, and you should really spend some time checking out the phsyical connections on the drive and whatnot to see if anything else is affecting it. Also does this only happen when you're playing dvd's or does it do this if you're copying a large file off of a CD.
One other thing, if you want to prevent the computer from automagically setting up DMA on the DVD drive, then you should go and mess around with /etc/conf.d/hdparm and set things in there
One last question for you, what kind of mothboard are you using?
Best of luck!
Petyr |
|
Back to top |
|
|
ejfinneran n00b
Joined: 24 Feb 2003 Posts: 18
|
Posted: Thu Jul 17, 2003 1:52 pm Post subject: |
|
|
Petyr wrote: | Also does this only happen when you're playing dvd's or does it do this if you're copying a large file off of a CD.
|
If I remeber correctly, a while back when I was ripping a bunch of CDs it might have happened once of twice but not as often as it happens with DVD playback. I'll check out physical connections to see if there is any problem there.
Petyr wrote: |
One last question for you, what kind of mothboard are you using?
|
Its an Asus P4T.
Thanks for the help! |
|
Back to top |
|
|
ejfinneran n00b
Joined: 24 Feb 2003 Posts: 18
|
Posted: Sat Jul 19, 2003 5:37 am Post subject: |
|
|
I took off DMA
Code: |
hdparm -d0 /dev/hdd
|
but I got the same problem with a different set of error messages (perhaps because I'm now running 2.6.0-test)
Code: |
Jul 19 00:28:37 localhost kernel: hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Jul 19 00:28:37 localhost kernel: hdd: cdrom_decode_status: error=0x30LastFailedSense 0x03
Jul 19 00:28:42 localhost kernel: hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Jul 19 00:28:42 localhost kernel: hdd: cdrom_decode_status: error=0x30LastFailedSense 0x03
Jul 19 00:28:42 localhost kernel: hdd: ATAPI reset complete
Jul 19 00:28:47 localhost kernel: hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Jul 19 00:28:47 localhost kernel: hdd: cdrom_decode_status: error=0x30LastFailedSense 0x03
Jul 19 00:28:47 localhost kernel: end_request: I/O error, dev hdd, sector 7469496
Jul 19 00:28:52 localhost kernel: hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Jul 19 00:28:52 localhost kernel: hdd: cdrom_decode_status: error=0x30LastFailedSense 0x03
|
Could this be hardware related? The DVD drive is rather old.
Any tips would be appreciated. Thanks |
|
Back to top |
|
|
Jimbow Guru
Joined: 18 Feb 2003 Posts: 597 Location: Silver City, NM
|
Posted: Sat Jul 19, 2003 8:11 am Post subject: |
|
|
I started to get a really annoying problem playing DVD's: most of them would crash my player (mplayer, xine, ogle, it didn't matter which) when there was about 5 minutes left in the DVD.
It turns out that this was related to running my CDROM/DVD drive as ATAPI instead of SCSI via ide-scsi. I recompiled my kernel with ide-scsi, etc. instead of ide-cdrom and the DVD problem went away!
Strange but true. _________________ After Perl everything else is just assembly language. |
|
Back to top |
|
|
Petyr Guru
Joined: 08 Jan 2003 Posts: 471 Location: San Diego, CA, USA
|
Posted: Sat Jul 19, 2003 6:35 pm Post subject: |
|
|
ejfinneran: The ide-scsi trick I've heard of before as having worked for a few people, so your milage on it may vary but it's always worth a shot.
I'm kinda grasping at straws here but maybe the laser head on the DVD drive itself got dirty somehow. You mention that the drive is fairly old, and it seems to be having difficulty decoding everything properly, so it kinda fits. Cleaning discs are cheap too, like $5, but your call on it
Best of luck,
Petyr
when in doubt, blame the hardware ^^;;; |
|
Back to top |
|
|
Squinky86 Retired Dev
Joined: 25 Mar 2003 Posts: 309 Location: Alabama, USA
|
Posted: Sun Aug 17, 2003 5:50 pm Post subject: |
|
|
Petyr wrote: | when in doubt, blame the hardware ^^;;; |
That's right. I have had lots of trouble with ASUS P4T's in linux. Just a suggestion that seems to work for some of the ide problems- try compiling floppy and cdrom support as modules; the mobo seems to have less trouble if they're probed through modules.autoload than by already being in the kernel. It's some weird quirk, and it may or may not help. _________________ Me |
|
Back to top |
|
|
|