Author Topic: SCSI Linux  (Read 2425 times)

0 Members and 1 Guest are viewing this topic.

Offline rckantaTopic starter

  • Contributor
  • Posts: 31
  • Country: in
    • http://www.fimage.ml/
SCSI Linux
« on: July 25, 2020, 05:56:24 pm »
 have installed sg3 utils software.

I want to send a command to the SCSI device (/dev/sr0).

command = ef 01 ff ff ff ff 01 00 03 01 00 05

How can send above command to the SCSI device using
sg_raw?

Thank you for your help.
 

Offline Nominal Animal

  • Super Contributor
  • ***
  • Posts: 8349
  • Country: fi
    • My home page and email address
Re: SCSI Linux
« Reply #1 on: July 25, 2020, 10:11:32 pm »
As man sg_raw says,
    sg_raw /dev/sr0 ef 01 ff ff ff ff 01 00 03 01 00 05
 

Offline rckantaTopic starter

  • Contributor
  • Posts: 31
  • Country: in
    • http://www.fimage.ml/
Re: SCSI Linux
« Reply #2 on: July 26, 2020, 04:49:04 am »
As man sg_raw says,
    sg_raw /dev/sr0 ef 01 ff ff ff ff 01 00 03 01 00 05

There is error

Sense Information: Fixed format, current; Sense key: Illegal Request Additional sense: Invalid field in parameter list
 

Offline Nominal Animal

  • Super Contributor
  • ***
  • Posts: 8349
  • Country: fi
    • My home page and email address
Re: SCSI Linux
« Reply #3 on: July 26, 2020, 11:25:49 am »
That means that the sequence either needs changing (because it requires data, or produces a response), or is incorrect for some other reason.

Why don't you tell us what it is you are trying to achieve by sending that command sequence?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->