ATA_SCSI_TRANSLATE(9) libata SCSI translation/emulat ATA_SCSI_TRANSLATE(9)NAME
ata_scsi_translate - Translate then issue SCSI command to ATA device
SYNOPSIS
int ata_scsi_translate(struct ata_device * dev, struct scsi_cmnd * cmd, void (*done) (struct scsi_cmnd *), ata_xlat_func_t xlat_func);
ARGUMENTS
dev
ATA device to which the command is addressed
cmd
SCSI command to execute
done
SCSI command completion function
xlat_func
Actor which translates cmd to an ATA taskfile
DESCRIPTION
Our ->queuecommand function has decided that the SCSI command issued can be directly translated into an ATA command, rather than handled
internally.
This function sets up an ata_queued_cmd structure for the SCSI command, and sends that ata_queued_cmd to the hardware.
The xlat_func argument (actor) returns 0 if ready to execute ATA command, else 1 to finish translation. If 1 is returned then cmd->result
(and possibly cmd->sense_buffer) are assumed to be set reflecting an error condition or clean (early) termination.
LOCKING
spin_lock_irqsave(host lock)
RETURNS
0 on success, SCSI_ML_QUEUE_DEVICE_BUSY if the command needs to be deferred.
AUTHOR
Jeff Garzik
Author.
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 ATA_SCSI_TRANSLATE(9)
Check Out this Related Man Page
SCSI_SATL(8) SG3_UTILS SCSI_SATL(8)NAME
scsi_satl - check SCSI to ATA Translation (SAT) device support
SYNOPSIS
scsi_satl [--help] [--log] [--quiet] [--verbose] DEVICE
DESCRIPTION
This Bourne shell script calls several SCSI commands on the given DEVICE that is assumed to be an ATA device behind a SCSI to ATA Transla-
tion (SAT) layer (SATL). The results of each test and a pass/fail count are output.
OPTIONS
Arguments to long options are mandatory for short options as well.
-h, --help
print out the usage message then exit.
-L, --log
the output to stderr (from each SCSI command executed) is appended to a file called 'scsi_satl.err' in the current working direc-
tory.
-q, --quiet
the amount of output is reduced and typically only the pass/fail count is output.
-v, --verbose
increase level or verbosity.
EXIT STATUS
The exit status of this script is the number of "bad" errors found. So an exit status of 0 means all mandatory SCSI commands worked as
expected.
AUTHORS
Written by D. Gilbert
COPYRIGHT
Copyright (C) 2011 Douglas Gilbert
This software is distributed under a FreeBSD license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR-
POSE.
SEE ALSO
sg_inq, sg_luns, sg_turs, sg_requests, sg_vpd, sg_senddiag, sg_modes, sg_sat_identify (sg3_utils)
sg3_utils-1.33 December 2011 SCSI_SATL(8)
Can't setup OpenBSD 3.4 with Maxtor Diamond Plus 9 80Gb ATA/133 HDD... Install process stops at hardware initialize, before installing... :confused:
Any Comments...
Thanks (2 Replies)
CPU/Speed: PowerPC 603ev 200Mhz
Ram: 92M EDO Ram
Motherboard: Apple
Bus: 2 PCI
Cache: L1 32k and L2 256k
Controller: ATA
Disk: 2GB ATA
Load: 1 user, running httpd, Xwin, various daemons
Kernel: Linux 2.4.22-2f
Kernel ELF?: ???
pgms: gcc versión 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a);... (0 Replies)
These are some of the mail command:
Usage:
? print this help message
# display message number #
- print previous
+ next (no delete)
! cmd execute cmd
<CR> next (no delete)
a position at and read... (5 Replies)
Hi guys,
I have this quick question , is it posible to isntall SCO 5.0.7 on a serial ATA and if it is can you tell me how or maybe a website that has some info about this.
I'm not using any raid, just one HDD.
Thanks a lot (0 Replies)
Hello,
I get the following in one of my error logs:
Device /dev/sda, SATA disks accessed
via libata are not currently supported by smartmontools. When libata is
given an ATA
pass-thru ioctl() then an additional '-d libata' device type will be
added to smartmontools.
---------------
I... (0 Replies)
Hi ,
We have a Application running on AIX5.3 .It built by collection of c and pc programs. Now , i got a file "core" generated by "ProcessIse" executable. Really i do not have idea about core file analysis.
can any one please help me?How do i fix this issue ?
we have installed dbx
can... (1 Reply)
Hello,
I get the following in one of my error logs:
Device /dev/sda, SATA disks accessed
via libata are not currently supported by smartmontools. When libata is
given an ATA
pass-thru ioctl() then an additional '-d libata' device type will be
added to smartmontools.
---------------
... (1 Reply)
cmd='date | wc' or cmd="date | wc"
$cmdIf this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument". What is meant by expansion of pipe. When we execute date | wc on the command line, it... (2 Replies)
Hi,
I'm unable to execute the below command completely ; it's not allowing me to type the complete command. It is allowing till "xargs" and i cannot even press enter after that.
I'm using Solaris. Let me know if anything needs to be added so as to execute the complete command. Appreciate... (12 Replies)
I have a known good external SCSI HD running SCO UNIX OpenServer 5.0.7. I decided that I wanted to be able to run this drive on another computer, so I bought the same SCSI card as before (LSI) and then attempted to boot on the other system. The bootup process hung with the error F painit. I've... (13 Replies)