Hello All,

IMPORTANT UPDATE (very good news!!)

As of 06/03/2011 12:34:00 AM (German time), my issue
was removed by the new 2.6.39.1 release.
As soon as I reached line 3502 (of 4164 overall) in reading the 
ChangeLog-2.6.39.1:
"block: always allocate genhd->ev if check_events is implemented",
I knew my dear floppies would start whirring again like in the old times.

I thank and acknowledge all the tireless and dedicated people
who kept my problem (oops, "issue") under wraps until working
unfailingly again (as it did for the past 25 years or so).
It comforts one beyond words to see the code of omerta still
respected in certain circles, in these hectic and uncertain times.
Hopefully, this attitude to extract the foot from our mouth as
delicately and as quietly as it was inserted therein should
always remain the basic principle in our lives.
The enemy must NEVER find out about our little, _private_ indiscretions.
Use (if you have to) only our secret code-words like "genhd->ev"
above when dealing with them.

Thank you very much for the total silence you met this thread with.
It warms the cockles of my heart to see there are still people
of character around in this wild and crazy world of ours.

Thanks again,
-- Alex

PS
1.  I attached the full ChangeLog-2.6.39.1 section covering this.
2.  I've been wondering who the enemy is after all.
    Micro$oft?  We're really in trouble then.
3.  I was much afraid my OP would trigger yet another side show
    about who still uses floppies at this day and age.
    Luckily for me, like I said, omerta is still omerta.
------
commit 9206053d7efb79adb564ccf7055342318b22475c
Author: Tejun Heo <[email protected]>
Date:   Thu May 26 21:06:50 2011 +0200

    block: always allocate genhd->ev if check_events is implemented
    
    commit 75e3f3ee3c64968d42f4843ec49e579f84b5aa0c upstream.
    
    9fd097b149 (block: unexport DISK_EVENT_MEDIA_CHANGE for legacy/fringe
    drivers) removed DISK_EVENT_MEDIA_CHANGE from legacy/fringe block
    drivers which have inadequate ->check_events().  Combined with earlier
    change 7c88a168da (block: don't propagate unlisted DISK_EVENTs to
    userland), this enables using ->check_events() for internal processing
    while avoiding enabling in-kernel block event polling which can lead
    to infinite event loop.
    
    Unfortunately, this made many drivers including floppy without any bit
    set in disk->events and ->async_events in which case disk_add_events()
    simply skipped allocation of disk->ev, which disables whole event
    handling.  As ->check_events() is still used during open processing
    for revalidation, this can lead to open failure.
    
    This patch always allocates disk->ev if ->check_events is implemented.
    In the long term, it would make sense to simply include the event
    structure inline into genhd as it's now used by virtually all block
    devices.
    
    Signed-off-by: Tejun Heo <[email protected]>
    Reported-by: Ondrej Zary <[email protected]>
    Reported-by: Alex Villacis Lasso <[email protected]>
    Signed-off-by: Jens Axboe <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to