Bug 157667
| Summary: | I/O Errors when swtiching Blade USB Media Tray | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 3 | Reporter: | Francisco J. Garcia Humphries <francisco.garcia> | ||||
| Component: | kernel | Assignee: | Pete Zaitcev <zaitcev> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3.0 | CC: | petrides, stuart_hayes | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | RHSA-2006-0437 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-07-20 13:23:52 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 181405 | ||||||
| Attachments: |
|
||||||
|
Description
Francisco J. Garcia Humphries
2005-05-13 16:15:56 UTC
Yes, it's terrible, but I do not want to go and touch this area at RHEL 3
if it can be avoided. It's too fragile.
Please do this: edit /etc/hotplug/usb.agent; comment these lines:
if [ -x /sbin/devlabel ]; then
/sbin/devlabel restart
fi
Suggested change is to add '#':
# if [ -x /sbin/devlabel ]; then
# /sbin/devlabel restart
# fi
Please try again and see if it helped. You do not need to restart
devlabel if R/W devices are not reconfigured.
Changed status to Needinfo - until results of the workaround are known. (In reply to comment #2) > Changed status to Needinfo - until results of the workaround are known. > Commented out devlabel from usb.agent. We are getting a lot less errors, but we still get a few. Guess there's no going around that. Thanx By looking at the log, I notice that it appears to be the floppy only. CD is silent. This gives me an idea... I do not promise that it will work, but perhaps I can silence messages for ASC==0x3a. I would like to see a complete, unedited segment of /var/log/messages where the media tray owner changes away then back, with devlabel commented. Please attach it to the bug, but do not drop it into the comment box. Created attachment 114860 [details] Candidate #1 - like in idefloppy This is one small step for the mankind - only suppress the READ CAPACITY. To work best, this needs a fix to go on top of bug 156831. But in order to keep these bugs non-conflicting, no refactoring was done. A fix for this problem has just been committed to the RHEL3 U8 patch pool this evening (in kernel version 2.4.21-40.3.EL). Anyone who needs to switch USB with KVM has to comment devlabel from /etc/hotplug.d/usb.agent, and logs from Fujitsu make it clear that they did not. The patch suppresses half of the messages which they would otherwise see, but it only suppresses those with ASC 0x3A. That is safe, because they are reported to applications (in a contrieved way, admittedly - open() waits). The Not Ready messages are not supporessed by the patch. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2006-0437.html |