Bug 9119
Summary: | floppy device fails; floppy unexpected interrupt' and 'floppy timeout called' | ||
---|---|---|---|
Product: | Drivers | Reporter: | Heiko Munz (heiko.munz) |
Component: | Other | Assignee: | drivers_other |
Status: | REJECTED DOCUMENTED | ||
Severity: | normal | CC: | bunk, mingo |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.22.9 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
config files (2.6.17.14, 2.6.18.2), syslog (boot 2.6.18.2) and output '$lspci -vnn'
Possibly guilty commit 3e541a4ae534a7e59ad464af9abea382b3035724 modified patch (Ingo Molnar), syslogs and config files |
Description
Heiko Munz
2007-10-03 08:24:00 UTC
Created attachment 13050 [details] config files (2.6.17.14, 2.6.18.2), syslog (boot 2.6.18.2) and output '$lspci -vnn' Hi, i worked out that kernel 2.6.17.14 from www.kernel.org is the last one, where the above described problem does not ocour. With 2.6.18.1 i got problemes like these http://www.mail-archive.com/linux-acpi@vger.kernel.org/msg03557.html and the newer one i build (2.6.18.2, 2.6.22.4) behave like 2.6.22.9 (see previous message). The added tar.bz2 contains the configuration files 2.6.17.14 and 2.6.18.2. It also contains the output of '$lspci -vnn' and the syslog (booting 2.6.18.2). All sources downloaded from www.kernel.org. Regards Heiko Steps to reproduce: $tar jxf linux-2.6.18.2.tar.bz2 $cd linux-2.6.18.2 $cp /boot/config-2.6.18.1 .config $make oldconfig $make && make modules_install $mkinitramfs -k -o /boot/initrd.img-2.6.18.2 2.6.18.2 $cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.18.2 $cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.18.2 $cp System.map /boot/System.map-2.6.18.2 Created attachment 13060 [details]
Possibly guilty commit 3e541a4ae534a7e59ad464af9abea382b3035724
Does _reverting_ this patch fix it?
* bugme-daemon@bugzilla.kernel.org <bugme-daemon@bugzilla.kernel.org> wrote: > Possibly guilty commit 3e541a4ae534a7e59ad464af9abea382b3035724 > > Does _reverting_ this patch fix it? yep, would be nice to test with that commit reverted. (The patch below is also needed to make the resulting reverted code build.) Ingo --- drivers/block/floppy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux/drivers/block/floppy.c =================================================================== --- linux.orig/drivers/block/floppy.c +++ linux/drivers/block/floppy.c @@ -253,12 +253,12 @@ static int irqdma_allocated; * Interrupt freeing also means /proc VFS work - dont do it * from interrupt context. We push this work into keventd: */ -static void fd_free_irq_fn(void *data) +static void fd_free_irq_fn(struct work_struct *work) { fd_free_irq(); } -static DECLARE_WORK(fd_free_irq_work, fd_free_irq_fn, NULL); +static DECLARE_WORK(fd_free_irq_work, fd_free_irq_fn); static struct request *current_req; Created attachment 13076 [details]
modified patch (Ingo Molnar), syslogs and config files
I reverted the patch #1 (from Adrian Bunk) in the 2.6.22.9 source and applied the patch #2 (from Ingo Molnar), but i still have the same behaviour at boot (see syslog-2.6.22.9 in the attachement). Then i reverted the patch #1 in the 2.6.18.2 source (applying the patch #2 to this source makes it unable to build), but the result is still the same (see syslog-2.6.18.2 in the attachement). Unfortunately the patches doesn't work for me.
PS: In the patch from Ingo Molnar was a 'tab' missing, so that '$patch -p1 --verbose <../patch2' doesn't work. The modified patch is added to the attachement (patch-IngoMolnar).
Steps to reproduce:
(i called the patch from Adrian Bunk patch1 and the patch from Ingo Molnar patch2)
$tar jxf linux-2.6.22.9.tar.bz2
$cd linux-2.6.22.9
$patch -p1 -R --verbose <../patch1
$patch -p1 --verbose <../patch2
$cp /boot/config-2.6.22.9 .config
$make oldconfig
$make && make modules_install
$mkinitramfs -k -o /boot/initrd.img-2.6.22.9 2.6.22.9
$cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.22.9
$cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.22.9
$cp System.map /boot/System.map-2.6.22.9
or
$tar jxf linux-2.6.18.2.tar.bz2
$cd linux-2.6.18.2
$patch -p1 -R --verbose <../patch1
$cp /boot/config-2.6.18.2 .config
$make oldconfig
$make && make modules_install
$mkinitramfs -k -o /boot/initrd.img-2.6.18.2 2.6.18.2
$cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.18.2
$cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.18.2
$cp System.map /boot/System.map-2.6.18.2
Hi, i get rid of this problem by a BIOS update. The floppy works well and everything is fine. Regards Heiko |