Re: bug: cd-rom autoclose no longer works (fix attempt)

From: Stas Sergeev (stsp_at_aknet.ru)
Date: 12/30/04

  • Next message: Linus Torvalds: "Re: PROBLEM: Kernel 2.6.10 crashing repeatedly and hard"
    Date:	Thu, 30 Dec 2004 23:35:03 +0300
    To: Alexander Kern <alex.kern@gmx.de>
    
    
    

    Hello.

    Alexander Kern wrote:
    > Can agree with you, but a modern cdrom should be able to konwn, is it open or
    > not. This patch change basic behaviour for all cdroms.
    But I think those modern cdroms will
    return 1 or 2 but not 0, in which case
    my patch should not affect them. This
    is of course something I can't say for
    sure, just assuming.

    > Old behaviour has another problems, and revert to 2.4.20 code base is a bad
    > solution.
    Very probably. My patch was only "what
    I did to get it to work again" kind of
    thing.

    > The patch must be minimal...
    > if (sense.sense_key == NOT_READY) {
    OK, but the cdrom.c change is still needed
    either. So attached is the new one. Does it
    get us any closer to having this fixed?

    > P.S. S Novym Godom!
    OK, thanks, and to you too:)

    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



  • Next message: Linus Torvalds: "Re: PROBLEM: Kernel 2.6.10 crashing repeatedly and hard"

    Relevant Pages

    • Re: [parisc-linux] Re: [PATCH 3/9] mm: parisc pte atomicity
      ... using your own tmpalias area sounds much better than getting ... I've simply not wrapped my head around the races, ... it looks like we agree that my patch is necessary and valid as is; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: keyboard - was: Re: Linux 2.6.0-test4
      ... >> I was able to get the key unstuck by switching back and forth between ... I rebuild my kernel including your patch; ... I'll get back to you once I verify that the problem doesn't occur ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.0-test8/test9 io scheduler needs tuning?
      ... interactivity with regard to desktop use. ... Going to improve the time info output of the ddd loops to get better data and ... with the patch the hang reported earlier was not encountered again so ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [CFT][PATCH] 2.6.4-rc1 remove x86 boot page tables
      ... > For VISWS I think you actually need to turn paging off explicitly. ... The patch will need a few tweaks but it should be fairly straight forward. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] clarify message and give support contact for non-GPL modules
      ... The author of the second module ... So here is another attempt at the patch. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)