https://qa.mandrakesoft.com/show_bug.cgi?id=480

           Product: hdparm
         Component: hdparm
           Summary: hdparm reports error reading parameters about cdrom
                    device on mandrake-9.0
           Version: 5.2-1mdk
          Platform: Other
        OS/Version: All
            Status: RESOLVED
          Severity: normal
          Priority: P2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have an ATAPI cdrom attached to /dev/hdc . The drive is working fine.       
However, "hdparm /dev/hdc" gives this output containing error messages:       
       
/dev/hdc:       
 HDIO_GET_MULTCOUNT failed: Invalid argument       
 IO_support   =  0 (default 16-bit)       
 unmaskirq    =  0 (off)       
 using_dma    =  1 (on)       
 keepsettings =  0 (off)       
 readonly     =  1 (on)       
 readahead    =  8 (on)       
 HDIO_GETGEO failed: Invalid argument      
      
In case its relevant:       
        - the cd drive is using the usual ide-cd kernel module       
        - supermount is enabled    
    
I have noted this behavior irrespective of whether:    
        - dma is enabled or disabled    
        - scsi-emulation is enabled or disabled  
 
 
On another machine running mandrake-9.0 with a cdrw drive having 
scsi-emulation, there is an additional error message about "BLKRAGET": 
 
/dev/hdc: 
 HDIO_GET_MULTCOUNT failed: Input/output error 
 IO_support   =  1 (32-bit) 
 unmaskirq    =  1 (on) 
 using_dma    =  1 (on) 
 keepsettings =  0 (off) 
 readonly     =  0 (off) 
 BLKRAGET failed: Input/output error 
 HDIO_GETGEO failed: Invalid argument

------- Additional Comments From [EMAIL PROTECTED]  2002-12-04 09:30 -------
unlinke hard disks (which are segmented in cylinders, tracks and sectors), cdrom
devices do not have a geometry, hance the ioctl faillure.
This is just a warning telling you hdparm cannot get the ata unit geometry which
is fine with cdrom since they have not one (they do have one spirale track
segmented in sectors which length vary with burning mode but not what ata/eide
expects to be a geometry).



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to