Re: [hatari-devel] SCSI DMA Control

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


> Hatari TT / SCSI / 2nd MFP emulation is quite bare bones.  It for 
> example does not work with m68k Linux (like IDE emulation does), 
> mounting root FS from SCSI fails to:
> ------------------------------------------------------------
> DEBUG: raw_scsi: selected id 0
> DEBUG: raw_scsi_put_data got message c0 (1/1)
> DEBUG: raw_scsi_put_data got message c0 (1 bytes)
> DEBUG: raw_scsi: got command byte 1a (1/6)
> DEBUG: raw_scsi: got command byte 00 (2/6)
> DEBUG: raw_scsi: got command byte 3f (3/6)
> DEBUG: raw_scsi: got command byte 00 (4/6)
> DEBUG: raw_scsi: got command byte 04 (5/6)
> DEBUG: raw_scsi: got command byte 00 (6/6)
> TODO : HDC: Unsupported MODE SENSE command

At least this error should be resolvable by implementing the respective mode
page. I think it is one of the well-documented pages. If not, the RaSCSI
project implements this page, and Linux-68k is happy with it. The MPF is not
involved here.

> DEBUG: raw_scsi: no data, status = 2
> DEBUG: raw_scsi: status byte read 02. Next=1
> DEBUG: raw_scsi: message byte read 00. Next=1
> DEBUG: raw_scsi: arbitration initiator id 7 (80)
> DEBUG: raw_scsi: arbitration
> DEBUG: raw_scsi: selected id 0
> DEBUG: raw_scsi_put_data got message 80 (1/1)
> DEBUG: raw_scsi_put_data got message 80 (1 bytes)
> DEBUG: raw_scsi: got command byte 03 (1/6)
> DEBUG: raw_scsi: got command byte 00 (2/6)
> DEBUG: raw_scsi: got command byte 00 (3/6)
> DEBUG: raw_scsi: got command byte 00 (4/6)
> DEBUG: raw_scsi: got command byte 60 (5/6)
> DEBUG: raw_scsi: got command byte 00 (6/6)
> WARN : HDC: *** Strange REQUEST SENSE ***!
> DEBUG: raw_scsi: data in 22 bytes waiting

This also does not appear to be an MFP-related issue, but rather an issue
with the implementation of REQUEST SENSE.

> DEBUG: raw_scsi: data in finished, 22 bytes: status phase
> DEBUG: DMA initiator recv PC=001839da
> DEBUG: SCSI BUS reset
> sd 0:0:0:0: Device offlined - not ready after error recovery
> sd 0:0:0:0: rejecting I/O to offline device
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Mode Sense: 00 00 1f ff
> sd 0:0:0:0: rejecting I/O to offline device
> sd 0:0:0:0: [sda] Asking for cache data failed
> sd 0:0:0:0: [sda] Assuming drive cache: write through
> sd 0:0:0:0: rejecting I/O to offline device
> sd 0:0:0:0: rejecting I/O to offline device
> sd 0:0:0:0: [sda] Attached SCSI disk
> VFS: Cannot open root device "sda" or unknown-block(8,0): error -6
> ------------------------------------------------------------

The problem with Atari's SVR4 (posted here quite some time ago) looks a lot
like an MFP issue, though.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/