lkml.org 
[lkml]   [2007]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannot be mounted without hanging up the whole system
    Jiri Slaby napsal(a):
    >> Once again and for the last time: I do not state that floppy.c is
    >> broken. I only state that it is immpossible to mount a floppy drive
    >> with kernel 2.6.21-rc1-git1. Kernel 2.6.20 is OK. But 2.6.21-rc1-git1
    >> is definitely buggy!
    >> I did some work already:
    >> a. I copied the following modules from the intact and sane kernel
    >> 2.6.20 into the 2.6.21-rc1-git1 tree:
    >> cdrom.h, floppy.c, init.h, io.h, proc_misc.c, setup.c, timer.h, uaccess.h
    >> b. I adjusted some hunks of the patch for module main.c (part of
    >> patch-2.6.21-rc1) to make the kernel compile without errors.
    >> But the problem still persists, and I do not have any idea anymore
    >> where the offensive hunks in patch-2.6.21-rc1 could reside.
    >>
    >> Questions:
    >> a. Can someone please confirm the described problem?
    >
    > Yup (last -mm).

    Ok, this commit is the culprit:
    Commit: 2ff2d3d74705d34ab71b21f54634fcf50d57bdd5
    Author: Stephane Eranian <eranian@hpl.hp.com> Tue, 13 Feb 2007 13:26:22 +0100

    [PATCH] i386: add idle notifier

    Add a notifier mechanism to the low level idle loop. You can register a
    callback function which gets invoked on entry and exit from the low level id
    loop. The low level idle loop is defined as the polling loop, low-power cal
    or the mwait instruction. Interrupts processed by the idle thread are not
    considered part of the low level loop.

    The notifier can be used to measure precisely how much is spent in useless
    execution (or low power mode). The perfmon subsystem uses it to turn on/off
    monitoring.

    Signed-off-by: stephane eranian <eranian@hpl.hp.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Andi Kleen <ak@suse.de>

    ---

    Reverting (some manual work due to irq.c changes) this on latest -mm allows me
    to mount floppy again.

    regards,
    --
    http://www.fi.muni.cz/~xslaby/ Jiri Slaby
    faculty of informatics, masaryk university, brno, cz
    e-mail: jirislaby gmail com, gpg pubkey fingerprint:
    B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E

    Hnus <hnus@fi.muni.cz> is an alias for /dev/null
    -
    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/

    \
     
     \ /
      Last update: 2007-02-26 16:15    [W:3.547 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site