Bug 158548
| Summary: | cannot eject IDE-floppy disc | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Balažic <david.balazic> |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4 | CC: | tao, wtogami, zaitcev |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-09-14 15:14:43 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: | |||
|
Description
David Balažic
2005-05-23 14:36:22 UTC
if you press the eject-button on your floppy drive, does it work? Could you please try eject-2.0.13-15.1. It's available on ftp://people.redhat.com/than/fc4 Thanks Yes, unless the drive is locked by OS (when it is mounted). Surely this is incorrect:
+ if ((ioctl(fd, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000)) {
+ printf("not an sg device, or old sg driver\n");
+ return 0;
+ }
Either it has to be an fprintf(stderr, foo), or if(v_option) printf().
I suggest the second form, because this is how the user would get
the actual device name, and the diagnostic has no meaning without
knowing that, due to the complicated discovery eject performs.
See also bug 154955.
David, i suppose the eject-2.0.13-15.1 has already fixed the problem. if it's the case, i will do FC4 update for this. ok, it seems a bug in ide-floppy driver, please take a look at http://www.gossamer-threads.com/lists/linux/kernel/568526 |