[haiku-bugs] [Haiku] #7485: Unable to perform raw read of ATAPI disk device

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Sun, 01 May 2011 01:19:23 -0000

#7485: Unable to perform raw read of ATAPI disk device
--------------------------+-------------------------------
 Reporter:  kallisti5     |        Owner:  marcusoverhagen
     Type:  bug           |       Status:  new
 Priority:  normal        |    Milestone:  R1/beta1
Component:  Drivers/Disk  |      Version:  R1/Development
 Keywords:  ATAPI CDROM   |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+-------------------------------
 r41154, GCC4 Hybrid

 Example:
 {{{
 ~> dd if=/dev/disk/atapi/2/master/raw of=test.iso
 dd: reading `/dev/disk/atapi/2/master/raw': General system error
 0+0 records in
 0+0 records out
 0 bytes (0 B) copied, 0.039913 s, 0.0 kB/s
 }}}

 Syslog:
 {{{
 KERN: IOCache: falling back to uncached transfer, offset 0, length 512
 KERN: ata 2 error: command failed, error bit is set. status 0x51, error
 0x54
 KERN: atapi 2-0 error: device indicates transfer error after dma
 KERN: check_sense: Illegal request
 }}}

 The reason I stumbled on this is because I was attempting to do a lseek
 and read in an emulator that reads game cds on the raw cd device.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7485>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: