Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DOS won't run on AMD64?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Thu Apr 06, 2006 11:55 pm    Post subject: dosbox sleeping Reply with quote

I started this thread about 5 months ago and dosbox has been running fine for me on a dual opterton -- until now.
(I don't run it frequently.) Just recently it has started sleeping (lazy dos). Sometimes just ordinary sleep and sometimes uninterruptible sleep. I'm running kernel 2.6.16-gentoo-r1 and dosbox-0.65. Any ideas on why it wants to sleep? Any ideas on how to wake it up would also be most welcome. Thanks
Fred
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Sat Apr 08, 2006 3:07 pm    Post subject: Reply with quote

A bit more detail. Just typing dosbox puts it into uninterruptible sleep. So the problem is in the start up. I'm getting the following messages after the start
Quote:
CONFIG:Loading settings from config file dosbox.conf
MIDI:Opened device:none
which seems to be innocuous. It used to start right up. I've been through the documentation at http://dosbox.sourceforge.net/wiki/ and tried to get everything out of the configuration file that might slow things down or cause a problem.
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Sat Apr 08, 2006 9:49 pm    Post subject: A Fix, but not through the portage system. Reply with quote

At line 1276 of sdlmain.cpp there is a statement
Quote:
if ( SDL_Init( SDL_INIT_AUDIO|SDL_INIT_VIDEO|SDL_INIT_TIMER|SDL_INIT_CDROM
|SDL_INIT_NOPARACHUTE
Removing "|SDL_INIT_CDROM" gets rid if the problem.
Discovering this got me out of the portage system which I would prefer not to do. Is there some way to get this setup in way that it could be done through portage? Thanks,
Fred
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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