Bug 134717 - [PATCH] idefloppy suppress media not present errors
Summary: [PATCH] idefloppy suppress media not present errors
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Alan Cox
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: 135876
TreeView+ depends on / blocked
 
Reported: 2004-10-05 18:15 UTC by Matt Domsch
Modified: 2007-11-30 22:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-11-24 00:00:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
linux-2.6.9-rc3-idefloppy-medium-not-present.patch (1.92 KB, patch)
2004-10-05 18:16 UTC, Matt Domsch
no flags Details | Diff

Description Matt Domsch 2004-10-05 18:15:01 UTC
Description of problem:
Patch submitted to kernel.org on 05-Oct-2004 for review and inclusion.

Date: Tue, 5 Oct 2004 13:13:39 -0500
From: Matt Domsch <Matt_Domsch>
To: Paul Bristow <paul>, 
B.Zolnierkiewicz.edu.pl,
        alan
Cc: linux-ide.org, linux-kernel.org
Subject: [PATCH] idefloppy suppress media not present errors

Paul, Bartlomiej, Alan:

Below is a patch to suppress printing uninformative errors from
ide-floppy.c in response to commands to floppy drives in which no
media is present.

Without this patch, commands sent to ide-floppy devices without media
inserted cause error messages on the console (KERN_ERR level) such as:

ide-floppy: ide: I/O error, pc = 0 key = 2, asc = 3a asq = 0
ide-floppy: ide: I/O error, pc = 1b key = 2, asc = 3a asq = 0
ide-floppy: ide: I/O error, pc = 23 key = 2, asc = 3a asq = 0
ide-floppy: ide: I/O error, pc = 1e key = 2, asc = 3a asq = 0
ide-floppy: ide: I/O error, pc = 1e key = 2, asc = 3a asq = 0

Dell's Virtual Floppy (system management presents to the local system
an IDE floppy device, which is actually a floppy device in a remote
system connected over an IP link) exhibits this also, when connecting
to a remote floppy drive with no media present.

Please review and apply.

Thanks,
Matt


Version-Release number of selected component (if applicable):
kernel <= 2.6.9-rc3

Comment 1 Matt Domsch 2004-10-05 18:16:01 UTC
Created attachment 104792 [details]
linux-2.6.9-rc3-idefloppy-medium-not-present.patch

Comment 2 Matt Domsch 2004-10-21 14:34:34 UTC
This patch was just committed to Linus's 2.6 bitkeeper repo.

Comment 4 Alan Cox 2004-10-28 10:34:02 UTC
Linus accepted it for 2.6.10-rc1

Comment 10 Dave Jones 2004-11-16 03:43:08 UTC
fixed in cvs


Comment 11 Amit Bhutani 2004-11-24 00:00:48 UTC
Verified patch has been included in kernel 2.6.9-1.751_EL. Thanks. 

Closing.



Note You need to log in before you can comment on or make changes to this bug.