LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-17-2003, 01:49 PM   #1
bynaar
Member
 
Registered: Jul 2002
Posts: 141

Rep: Reputation: 15
Question cd-rom access running wine


hello !

here's my problem . .

while trying to run application foo.exe with wine, the app do not start, but it
says that it can't access the cd-rom.
The output from the console says:
fixme:cdrom:CDROM_GetStatusCode Unmapped error code 13: Permission denied

My guess is that I have to change some permissions, the question is what to
change.

http://www.virtualstapler.com/office_space/
 
Old 01-17-2003, 01:54 PM   #2
LSD
Member
 
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321

Rep: Reputation: 30
Is the drive both mounted and defined in the Wine config file (`/.wine/config)?
 
Old 01-17-2003, 01:57 PM   #3
bynaar
Member
 
Registered: Jul 2002
Posts: 141

Original Poster
Rep: Reputation: 15
The cd-rom is mounted.

here's the config-file:

[Drive X]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Label" = "CD-Rom"
"Filesystem" = "win95"
; make sure that device is correct and has proper permissions !
"Device" = "/dev/cdrom"
 
Old 01-18-2003, 05:46 AM   #4
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Customised Slackware64-14.1 with multilib
Posts: 237

Rep: Reputation: 55
My first guess is that you need to mount the cdrom with "exec" as an option in your fstab.
 
Old 01-18-2003, 10:05 AM   #5
bynaar
Member
 
Registered: Jul 2002
Posts: 141

Original Poster
Rep: Reputation: 15
Ok, here is my entry in fstab:

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro,user 0 0

where do I put the 'exec' ?
 
Old 01-18-2003, 03:01 PM   #6
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Customised Slackware64-14.1 with multilib
Posts: 237

Rep: Reputation: 55
Just stick it in there with the other options, e.g.

/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro,exec 0 0

I think you might as well drop the "owner" mount option seeing as you've got "user" in there.
 
Old 01-18-2003, 03:44 PM   #7
bynaar
Member
 
Registered: Jul 2002
Posts: 141

Original Poster
Rep: Reputation: 15
Cool

I have now tried to change those fstab setting , but with no succes.
The same error message remains.

Thanks for showing interest anyway !

1001 things to configure in linux. . .
 
Old 01-20-2003, 01:27 AM   #8
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Lightbulb

Is it possible that you are running an application that is copy protected and checks the CD-ROM upon access? In Windows certain copy protected programs make calls to a windows DLL KERNEL32 that do certain CD rom checks such as KERNEL32.GetDriveTypeA (returns a 5 if the drive is a CD-ROM), KERNEL32.GetVolumeInformationA (checks the label on the CD-ROM) and KERNEL32.GetDiskFreeSpaceA (should be zero space free if it's a CD-ROM) to make sure you have the original CD in the drive, if these calls aren't emulated under WINE then they won't pass and could produce an error like what you get. I could be off since I don't run anything that does a CD check under WINE but if this is your case you would need to find a way to make the program not check the CD or to get WINE to emulate the checks.
 
Old 01-20-2003, 07:53 AM   #9
bynaar
Member
 
Registered: Jul 2002
Posts: 141

Original Poster
Rep: Reputation: 15
The CD I use is a copy of the original one.
there is no problem to use the copy when running Windows.
 
Old 01-20-2003, 12:07 PM   #10
Martin37
LQ Newbie
 
Registered: Jan 2003
Posts: 10

Rep: Reputation: 0
In your post #3 , in the config-file why the file system for the CD-ROM is labelled "win 95" shouldn't it be "iso9660" ??????????
 
Old 01-20-2003, 01:33 PM   #11
bynaar
Member
 
Registered: Jul 2002
Posts: 141

Original Poster
Rep: Reputation: 15
Already tried that !
 
Old 01-20-2003, 01:41 PM   #12
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
In reference to my post on the kernel32 checks, that was my point, this CD would work in Windows but if wine isn't emulating the CD drive exactly the way the copy protected software expects Windows to behave then it will fail or error out when it asks wine to do something it doesn't know how to emulate.
 
Old 01-20-2003, 02:02 PM   #13
bynaar
Member
 
Registered: Jul 2002
Posts: 141

Original Poster
Rep: Reputation: 15
Thanks for trying out to help !

I have solved my problem !
I just have to copy the label of the cd into /.wine/config
I'ts a quick & dirty solution , but it's ok for now .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble running wine from src wine:error while loading shared libraries: libwine.so.1 brynjarh Linux - Newbie 2 05-28-2013 11:59 AM
Configuring Wine to see a DVD-ROM Baddox Linux - Software 2 11-12-2004 04:55 PM
CD Rom cant access jjreid Linux - Software 8 03-23-2004 07:55 PM
Running Linux from CD Rom yrraja Linux - General 10 06-05-2003 03:51 AM
Wine CD-Rom Problems Parksy Linux - Software 7 05-20-2003 06:02 PM


All times are GMT -5. The time now is 11:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration