[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45E2F8C5.3080905@gmail.com>
Date: Mon, 26 Feb 2007 16:12:05 +0100
From: Jiri Slaby <jirislaby@...il.com>
To: Jiri Slaby <jirislaby@...il.com>
Cc: Uwe Bugla <uwe.bugla@....de>, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, bunk@...sta.de,
linux-kernel@...r.kernel.org,
Stephane Eranian <eranian@....hp.com>, Andi Kleen <ak@...e.de>
Subject: Re: 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@....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@....hp.com>
Signed-off-by: Andrew Morton <akpm@...l.org>
Signed-off-by: Andi Kleen <ak@...e.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@...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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists