Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Problem playing DVDs

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
ejfinneran
n00b
n00b
Posts: 18
Joined: Mon Feb 24, 2003 9:42 pm
Contact:
Contact ejfinneran
Website

Problem playing DVDs

  • Quote

Post by ejfinneran » Thu Jul 17, 2003 2:31 am

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: Select all

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
Top
Petyr
Guru
Guru
User avatar
Posts: 471
Joined: Wed Jan 08, 2003 9:00 am
Location: San Diego, CA, USA

  • Quote

Post by Petyr » Thu Jul 17, 2003 7:24 am

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
Top
ejfinneran
n00b
n00b
Posts: 18
Joined: Mon Feb 24, 2003 9:42 pm
Contact:
Contact ejfinneran
Website

  • Quote

Post by ejfinneran » Thu Jul 17, 2003 1:52 pm

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!
Top
ejfinneran
n00b
n00b
Posts: 18
Joined: Mon Feb 24, 2003 9:42 pm
Contact:
Contact ejfinneran
Website

  • Quote

Post by ejfinneran » Sat Jul 19, 2003 5:37 am

I took off DMA

Code: Select all

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: Select all

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
Top
Jimbow
Guru
Guru
User avatar
Posts: 597
Joined: Tue Feb 18, 2003 11:41 pm
Location: Silver City, NM

  • Quote

Post by Jimbow » Sat Jul 19, 2003 8:11 am

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. :x :x :x

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.
Top
Petyr
Guru
Guru
User avatar
Posts: 471
Joined: Wed Jan 08, 2003 9:00 am
Location: San Diego, CA, USA

  • Quote

Post by Petyr » Sat Jul 19, 2003 6:35 pm

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 :wink:

Best of luck,

Petyr

when in doubt, blame the hardware ^^;;;
Top
Squinky86
Retired Dev
Retired Dev
Posts: 309
Joined: Tue Mar 25, 2003 5:51 am
Location: Alabama, USA
Contact:
Contact Squinky86
Website

  • Quote

Post by Squinky86 » Sun Aug 17, 2003 5:50 pm

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
Top
Post Reply

7 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic