Control: tag -1 moreinfo On Sun, 26 Jul 2015 04:32:23 -0700 "Dallas E. Legan" <aw...@lafn.org> wrote: > Package: mount > Version: 2.26.2-6 > Severity: normal > Tags: upstream > > Dear Maintainer, > I've found trying to mount an optical disk that turns out to be bad, > (this is the case I've encountered, may possibly happen with other media) > can cause the mount command to go into a noninteruptable sleep state, > waiting for response from the hardware that never arrives.
Block device I/O is normally uninterruptible; that's standard Unix behaviour that is unlikely to be changed. However there should be a timeout in the driver. How long did you wait? > This latter can interfere in placing the computer in hibernate or > performing a clean shutdown. > My understanding is that the command could alternatively be implimented to > use a "killable" state, similar to the uninteruptable sleep, > except that the process can be killed. > If there are reason's the noninteruptable sleep must be used > most of the time, perhaps providing a switch to enforce > "killable" when the media is of unproven quality would be possible. Well, it's not as simple as that. The driver would have to allow the I/O to be cancelled. > Thanks for any consideration. Ben. -- Ben Hutchings Hoare's Law of Large Problems: Inside every large problem is a small problem struggling to get out.
signature.asc
Description: This is a digitally signed message part