From: Jiri Slaby <jirislaby@gmail.com>
To: Jiri Slaby <jirislaby@gmail.com>
Cc: Uwe Bugla <uwe.bugla@gmx.de>,
torvalds@linux-foundation.org, akpm@linux-foundation.org,
bunk@stusta.de, linux-kernel@vger.kernel.org,
Stephane Eranian <eranian@hpl.hp.com>, Andi Kleen <ak@suse.de>
Subject: Re: bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannot be mounted without hanging up the whole system
Date: Mon, 26 Feb 2007 16:12:05 +0100 [thread overview]
Message-ID: <45E2F8C5.3080905@gmail.com> (raw)
In-Reply-To: <45E2B88B.1090706@gmail.com>
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
next prev parent reply other threads:[~2007-02-26 15:11 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-24 17:54 bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannot be mounted without hanging up the whole system Uwe Bugla
2007-02-24 18:07 ` Andrew Morton
2007-02-24 18:29 ` Uwe Bugla
2007-02-24 19:23 ` Uwe Bugla
2007-02-24 19:49 ` Ray Lee
2007-02-26 10:38 ` Jiri Slaby
2007-02-26 15:12 ` Jiri Slaby [this message]
2007-02-26 15:51 ` Linus Torvalds
2007-02-26 16:28 ` Jiri Slaby
2007-02-26 16:34 ` Benjamin LaHaise
2007-02-26 17:10 ` Linus Torvalds
2007-02-26 17:45 ` Stephane Eranian
2007-02-26 17:28 ` Stephane Eranian
2007-02-26 17:37 ` Linus Torvalds
-- strict thread matches above, loose matches on Subject: below --
2007-02-25 18:29 Uwe Bugla
2007-02-25 21:04 ` Alexey Dobriyan
2007-02-26 3:55 ` Mike Galbraith
2007-02-26 18:06 Oleg Nesterov
2007-02-26 18:13 ` Linus Torvalds
2007-02-26 20:55 ` Rene Herman
2007-02-26 21:14 ` Linus Torvalds
2007-02-28 2:42 ` Bill Davidsen
2007-02-28 13:04 ` Alan
2007-02-28 12:20 ` Rene Herman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45E2F8C5.3080905@gmail.com \
--to=jirislaby@gmail.com \
--cc=ak@suse.de \
--cc=akpm@linux-foundation.org \
--cc=bunk@stusta.de \
--cc=eranian@hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=uwe.bugla@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox