LinHES Forums
http://forum.linhes.org/

R5A16->R5A22 DVD drive won't work
http://forum.linhes.org/viewtopic.php?f=14&t=6709
Page 1 of 1

Author:  prometheus [ Mon Oct 31, 2005 7:03 pm ]
Post subject:  R5A16->R5A22 DVD drive won't work

I have upgraded from R5A16, mostly without a hitch. I am impressed with the upgrade process, as I found everything easy to re-install. The only thing that doesn't seem to be working is my DVD drive. This was working fine previously, but now produces lots of the following errors:

Oct 31 08:31:20 mythtv kernel: ide: failed opcode was: unknown
Oct 31 08:31:20 mythtv kernel: end_request: I/O error, dev hdc, sector 1219472
Oct 31 08:31:20 mythtv kernel: hdc: command error: status=0x51 { DriveReady SeekComplete Error }
Oct 31 08:31:20 mythtv kernel: hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
Oct 31 08:31:20 mythtv kernel: ide: failed opcode was: unknown
Oct 31 08:31:20 mythtv kernel: end_request: I/O error, dev hdc, sector 1219476
Oct 31 08:31:20 mythtv kernel: hdc: command error: status=0x51 { DriveReady SeekComplete Error }
Oct 31 08:31:20 mythtv kernel: hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }

I saved the old install and have compared all the files that I think are pertinent, such as /etc/fstab & moving around the symbolic links. I have two drives and orginally the symbolic links were both referencing /dev/hdd for /dev/cdrom & /dev/cdrom1. Also I have noticed that there are now some entries in fstab called cdromhdd or something to this effect (I have removed them...).

Has anyone else had this problem? Thanks in advance for the help!

Author:  prometheus [ Tue Nov 01, 2005 12:46 pm ]
Post subject:  /usr/local/bin/cd_link.sh

Maybe knoppmyth only supports a single drive, but I found a bug in the cd_link.sh that was setting the /dev/cdrom & /dev/dvd devices to the last IDE device on the chain. In this case /dev/hdd, which was not the dvd player, but the CD-ROM drive.

Resotring the links manually, I forgot to assign group rights to cdrom for all of the links, like the cd_link.sh script does. Hope this helps somebody.

Now I am playing DVDs fine and still recommend updating to R5A22!

Author:  ratm183 [ Tue Nov 01, 2005 8:08 pm ]
Post subject: 

I've been having the same problem. I'm not sure why the script links everything to the last ide device. After changing all the links I couldn't figure out what was still wrong. I didn't think about changing the group rights until seeing this post.

after running
Code:
chgrp -v cdrom /dev/hdc /dev/dvd /dev/cdrom >& /dev/null

(hdc being the location of your drive)
everything worked fine. Thanks for the fix prometheus.

Author:  tjc [ Tue Nov 01, 2005 8:14 pm ]
Post subject: 

Since symbolic links are always "wide open" there is no need to change the permission on /dev/dvd and /dev/cdrom since neither one is actually a real device.

Author:  prometheus [ Tue Nov 01, 2005 10:02 pm ]
Post subject: 

Thanks tjc, that is good to know. We were just mimicing what the script cd_link.sh does on the very last line.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/