Bug 134822
Summary: | scd* does not seem to respond to SC_INQUIRY - sg* works | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Harald Hoyer <harald> |
Component: | kernel | Assignee: | Doug Ledford <dledford> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | barryn, davej, dff, hongjiu.lu, jh6x, josh, masahase, mpeters, redhat-bugzilla, tburke, tsui.tony, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-12-07 17:47:17 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: | 127685, 136155, 136451, 136982, 138739, 140506, 147461 |
Description
Harald Hoyer
2004-10-06 15:11:46 UTC
$ cdrecord -VVVVVVVVVVVVV -inq dev=/dev/hdc ... Executing 'inquiry' command on Bus 1 Target 0, Lun 0 timeout 40s CDB: 12 00 00 00 24 00 cmd finished after 0.000s timeout 40s Got 36 (0x24), expecting 36 (0x24) bytes of data. Received Data: 05 80 00 32 5B 00 00 00 50 49 4F 4E 45 45 52 20 44 56 44 2D 5257 20 20 44 56 52 2D 31 30 35 20 31 2E 30 30 Inquiry Data : 05 80 00 32 5B 00 00 00 50 49 4F 4E 45 45 52 20 44 56 44 2D 52 57 20 20 44 56 52 2D 31 30 35 20 31 2E 30 30 ... $ uname -r 2.6.8-1.541smp oh... funny... after I inserted a medium.. $ dvd+rw-mediainfo /dev/scd0 INQUIRY: [YAMAHA ][CRW4416S ][1.0e] :-( not a DVD unit Expected result: INQUIRY should work without a medium inserted, just like talking to /dev/sg0 More evidence found in bug #129671 *** Bug 129671 has been marked as a duplicate of this bug. *** Still present in $ uname -r 2.6.8-1.603smp *** Bug 137212 has been marked as a duplicate of this bug. *** and btw, this is no "drive problem", cause it works with /dev/sg0, only not with /dev/scd0 *** Bug 127685 has been marked as a duplicate of this bug. *** *** Bug 141433 has been marked as a duplicate of this bug. *** Trying to reproduce, give me a bit. If I can reproduce, then I should be able to fix it fairly easily. From the looks of it, it sounds like the SG_IO based cooked ioctl interface on /dev/scd* devices is doing a medium check on a few commands that it shouldn't do a medium check on (such as INQUIRY and eject). Reproduced. Working on it now. OK, I reproduced this with 2.6.9-1.784_EL. However, when I compiled a kernel from a fresh cvs update as of today, version 2.6.9-1.850_EL, the problem was gone. So, as far as I can tell, this is fixed CURRENTRELEASE, but setting state to MODIFIED for tracking purposes. If you have problems with the next tree built with a post 1.850_EL kernel, please set back to ASSIGNED. ok... new kernel fixes it :) Please do not forgot the FC2 and FC3 users! Many of them would love to see an updated kernel! *** Bug 137105 has been marked as a duplicate of this bug. *** *** Bug 140506 has been marked as a duplicate of this bug. *** |