[MPlayer-users] Re: [BUG] Lock up when resuming after long pause on removable media

Adam Nielsen a.nielsen at optushome.com.au
Sun Sep 21 04:18:57 CEST 2003


> > But then how come it works perfectly with everything else?  If, once it's 
> > locked up, I open a terminal window and do something like "less 
> > /mnt/cdrom/abc" it spins up and reads off the data as you'd expect.
 
> Does less behave the same way if you leave it until the CD spins down and
> then try to do something?

No, I've spent some time playing with it now and it seems only mplayer has 
this problem.  If I run "less -f /dev/dvd" before I load mplayer, then play a 
DVD, pause it and wait for the drive to spin down, then if I unpause it 
mplayer locks up as I said before, however I've now found that if I scroll 
around in less a bit the drive will spin up again and if I then unpause 
mplayer it keeps going fine.

So it seems as though the way mplayer is accessing the drive isn't causing it 
to spin up again (which I believe the drive does automatically as soon as it 
gets a read request.)  Is it possible that the kernel is putting the drive 
into some kind of sleep mode or something which doesn't get deactivated by 
mplayer?

Cheers,
Adam.



More information about the MPlayer-users mailing list