Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CDROM Drive problem with Cedega [PROBLEM FIXED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
flbiggs
n00b
n00b


Joined: 18 Feb 2005
Posts: 10
Location: Richmond, VA

PostPosted: Fri Jul 22, 2005 3:51 am    Post subject: CDROM Drive problem with Cedega [PROBLEM FIXED] Reply with quote

Not sure whether to post this in this forum or in a hardware forum. I also posted this at the Transgaming forum in case it is a Cedega problem, as opposed to a Gentoo or hardware problem.

I am having intermittant, annoying problems with my cd rom drives when using Cedega. I am able to install smaller games through Cedega, including Max Payne and Stronghold Crusader. Recently, I have tried to install both BF1942 and Half-Life 2 (large, multi-disk games).

During installation of each of these games, at various, seemingly random places, and on various disks, the program will complain that it cannot find a file. I unmount the drive, put the correct disk back in, and when I try to remount, I get the "No medium found" error. I try to mount other data CDs and get the same error. I try to use the other CD drive in the box and it wont recognize disks either! In fact, I cannot get either drive to work until I reboot! After rebooting, the drives will mount and read CDs as if nothing had ever occurred.

I have never had this problem using the CD drives outside of installing Windows games through Cedega. Kids watch DVDs using one of the drives all the time and ot never even suffered a hiccup. That suggests to me that the MB, cable and drives are okay.

Any ideas? My system is an AMD64 3000 running Gentoo linux 2.6.11-gentoo-r11. Drives are dev/hdc and /dev/hdd. Permissions are set as per the Cedega manual.

Thanks!


Last edited by flbiggs on Sun Jul 24, 2005 5:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
Noyan
Apprentice
Apprentice


Joined: 24 Mar 2005
Posts: 212

PostPosted: Fri Jul 22, 2005 3:28 pm    Post subject: Reply with quote

i hv quite similar system .Do u use automounter?
Back to top
View user's profile Send private message
flbiggs
n00b
n00b


Joined: 18 Feb 2005
Posts: 10
Location: Richmond, VA

PostPosted: Fri Jul 22, 2005 4:49 pm    Post subject: Reply with quote

Nope. I mount the CD drives manually. When the problem arises, the drive will remain mounted, but just will not read any files on the CD (and neither will the other drive). I can then unmount the drive. But, when I try to remount it, it gives to "no media found" error until I reboot.
Back to top
View user's profile Send private message
Noyan
Apprentice
Apprentice


Joined: 24 Mar 2005
Posts: 212

PostPosted: Fri Jul 22, 2005 4:55 pm    Post subject: Reply with quote

install one cd game and when u want to umount try :

#fuser -km /mnt/cdrom (or what u have)

after this command can yo mount ?


pS: i said one cd game cuz if u try this with 3-4-5 etc cd games ur install ll be close.


and can u paste your fstab?


Edit : did u try point2play ?
Back to top
View user's profile Send private message
flbiggs
n00b
n00b


Joined: 18 Feb 2005
Posts: 10
Location: Richmond, VA

PostPosted: Fri Jul 22, 2005 9:26 pm    Post subject: Reply with quote

Below is my fstab. I just noticed for the first time that there are 2 separate entries for each of the CDROM drives. I did not know that the ones at the bottom were there, as I never scroll down that far. I am going to comment out the first set of references and see what that does. Thanks for the help!!!



# This file is edited by fstab-sync - see 'man fstab-sync' for details
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs> <mountpoint> <type> <opts> <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot ext3 defaults,noatime 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/hdb1 /mnt/hdb ntfs ro,auto,users,gid=users,umask=027 0 0
/dev/cdroms/cdrom0 /mnt/cdrom0 iso9660 noauto,user,ro 0 0
/dev/cdroms/cdrom1 /mnt/cdrom1 iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
/dev/sda1 /mnt/usb vfat noauto,user 0 0

# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none /dev/shm tmpfs defaults 0 0

/dev/hdd /media/cdrom auto user,exec,noauto,managed 0 0
/dev/hdc /media/cdrecorder auto user,exec,noauto,managed 0 0
Back to top
View user's profile Send private message
Noyan
Apprentice
Apprentice


Joined: 24 Mar 2005
Posts: 212

PostPosted: Fri Jul 22, 2005 9:55 pm    Post subject: Reply with quote

disable two /dev/cdroms (delete ur put # )

and

change /dev/hdc and hdd options to this
noauto,users
Back to top
View user's profile Send private message
flbiggs
n00b
n00b


Joined: 18 Feb 2005
Posts: 10
Location: Richmond, VA

PostPosted: Fri Jul 22, 2005 10:26 pm    Post subject: Reply with quote

Okay, now the applicable entries in fstab read as follows:

/dev/hdc /mnt/cdrom0 iso9660 noauto,user 0 0
/dev/hdd /mnt/cdrom1 iso9660 noauto,user 0 0

After reboot (just in case) I experimented mounting and unmounting each BF1942 cd. Did it repeatedly with each and did not have any problems. Tried other drive. No problem mounting. Fired up Point2Play, mounted CDROM0 and began install. It prompted for the 2nd installation CD. Unmounted through Point2Play. Tried to mount the 2nd CD (which I had just mounted repeatedly before running Point2Play). Oops. Got the "no medium found" error. Ejected and tried again x 3. Same thing. Tried to mount other CDs, which are known to be good. Same thing! Tried to mount CDs in the other drive. No good. Exited Point2Play. Tried fuser -km command as suggested above, but that knocked me all the way out of X back to gdm. Logged back in without reboot, but CDROMS still would not mount any known-good CDROMs until I rebooted.

This the goofiest Linux problem I have ever seen! :cry:
Back to top
View user's profile Send private message
Noyan
Apprentice
Apprentice


Joined: 24 Mar 2005
Posts: 212

PostPosted: Fri Jul 22, 2005 10:51 pm    Post subject: Reply with quote

ok lets start then with all cedega

be sure user in cdrom and cdrw group.

$id

if doesnt add user to these groups:

#gpasswd -a username group

then


#modprobe binfmt_misc (and write binfmt_misc to /etc/modules.autoload.d/kernel-2.6)

open fstab and add this line

none /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0

reboot and open point2play...in menus there is an option like "monitor cdrom ejecting" (srry i dont have point2play now.it should be like that) be sure its ticked..


again look to cdrom and cdrw permissons.be sure all okey.


reboot and try to install...(can miss something i m not using cedega anymore)



if u have same error try an automounter :

http://gentoo-wiki.com/HOWTO_Auto_mount_filesystems_%28AUTOFS%29

m using this.no problem with cedega.just insert cd and click ok :D no umount or mount.
Back to top
View user's profile Send private message
flbiggs
n00b
n00b


Joined: 18 Feb 2005
Posts: 10
Location: Richmond, VA

PostPosted: Sun Jul 24, 2005 5:34 pm    Post subject: Reply with quote

Those are all good suggestions, and I have enjoyed figuring out how to use automount. That is pretty useful and I am going to keep using it for cds and flash drives. It did not fix my original problem, however. Here is what did the trick --

I decided that the problem must be hardware related, so I removed the dvd burner (Samsung TS-H552U) and the slave CDROM drive (Generic). I took a CDRW drive from another box, hooked it up as master (hdc) and it worked fine installing both games. I did some more testing on the DVD burner outside of Cedega, and determined that it only sometimes recognizes and mountS CD media (although it seems to work well with DVD media). The drive is supposed to read and write CD-R and CD-RWs as well as DVDs, so I may start another thread to see if anyone else has had similar problems with DVD burners insofar as CD media is concerned.

Thanks!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum