Your message dated Sat, 21 Feb 2026 18:40:57 +0000
with message-id <[email protected]>
and subject line Re: Bug#607304: dosbox: locks up because SDL tries to access 
cdrom
has caused the Debian Bug report #607304,
regarding dosbox: locks up because SDL tries to access cdrom
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
607304: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607304
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libsdl1.2
Severity: grave
Tags: upstream
Justification: renders package unusable


This is actually Bug 487811 reported on Dosbox:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487811

Afflicts all kernels above 2.6.27-something. This happens on
starting dosbox: 

read(5, "# /etc/fstab: static file system"..., 4096) = 806
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb781b000, 4096)                = 0
stat64("/dev/cdrom", 0xbfc6030c)        = -1 ENOENT (No such file or directory)
stat64("/dev/hda", {st_mode=S_IFBLK|0660, st_rdev=makedev(3, 0), ...}) = 0
open("/dev/hda", O_RDONLY|O_NONBLOCK

And stays there. And gets you an un-killable process hanging: 
root     27380  0.0  0.0   5124   664 ?        D    Dec10   0:00 udisks-daemon: 
polling /dev/hda

Proposed Fix: Add an environment variable: 

It should not eb a problem to put something like this into 
SDL_SYS_CDInit(void) of src/cdrom/linux/SDL_syscdrom.c,
making it at least possible for those affected to completely
turn off cdrom-detection without recompiling. 

SDLcdromNone = SDL_getenv("SDL_CDROM_NONE");
if ( SDLcdromNone != NULL ) {
    return(-1);
}


-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (700, 'unstable'), (500, 'experimental'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.36.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.ISO-8859-1, LC_CTYPE=en_GB.ISO-8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
On Thu, 16 Dec 2010 at 21:17:57 +0100, Peter Keel wrote:
Afflicts all kernels above 2.6.27-something. This happens on
starting dosbox:

read(5, "# /etc/fstab: static file system"..., 4096) = 806
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb781b000, 4096)                = 0
stat64("/dev/cdrom", 0xbfc6030c)        = -1 ENOENT (No such file or directory)
stat64("/dev/hda", {st_mode=S_IFBLK|0660, st_rdev=makedev(3, 0), ...}) = 0
open("/dev/hda", O_RDONLY|O_NONBLOCK

And stays there. And gets you an un-killable process hanging

SDL no longer supports accessing real hardware CD drives in this way, so this bug report is no longer applicable.

    smcv

--- End Message ---

Reply via email to