ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: Re[2]: [Comm] ide-scsi
Date: Fri, 12 Dec 2003 10:49:15 +0300
Message-ID: <20031212074915.GA1756@sirius.home> (raw)
In-Reply-To: <20031212025625.530717a1.ziga@udm.ru>

[-- Attachment #1: Type: text/plain, Size: 1982 bytes --]

On Fri, Dec 12, 2003 at 02:56:25AM +0400, Aleksey Korotkov wrote:
> On Thu, 11 Dec 2003 09:23:46 +0300
> Sergey Krivulja <skrivulja@erec.ru> wrote:
> 
> Зачем-то (интересно было бы узнать соображения :/) решили
> вроде как в 2.6.х отказаться от ide-scsi, _естественного_
> способа употребления CD-R/CD-RW. Об этом можно прочитать
> до фига где, в том же /usr/share/doc/cdrtools-2.0/README.ATAPI,
> например:
> 
>         Opening/closing the door, playing audio and similar things
> 	cannot be done using vanilla IDE commands - you will need SCSI commands
> 	to do this. But how do we do this with a drive that uses an IDE
> 	interface?
> 
> 	The ATAPI standard describes method of sending SCSI commands over IDE
> 	transport with some small limitations to the "real" SCSI standard.
> 	SCSI commands are send via IDE transport using the 'ATA packet'
> 	command. There is no SCSI emulation - ATAPI drives include native
> 	SCSI command support. For this reason, sending SCSI commands to ATAPI
> 	drives is the native method of supporting ATAPI devices. Just imagine
> 	that IDE is one of many SCSI low level transport mechanisms. 
> 
> И зачем вот это решили поломать -- ума не приложу, вопрос
> уже не ко мне (по-моему, просто идиотизм).

На самом деле команды SCSI там никуда не делись.  Изменился только
способ их передачи в устройство - вместо /dev/sg* используется
/dev/hd*, и для передачи команд используется ioctl.

Совсем недавно в LKML была очередная перепалка по этому поводу.  Линус
считает, что метод именования устройств в libscg (cdrecord) - номер
шины, номер устройства, номер LUN (dev=0,0,0) - никуда не годится, и
вместо этого следовало бы указывать имя файла устройства (как, кстати,
сейчас и делается в cdrecord при использовании ide-cd (dev=/dev/hdc),
но в README.ATAPI написано, что этот метод официально не
поддерживается).  На самом деле при работе через /dev/sg*
действительно приходится открывать все устройства подряд и искать
устройство с нужными номерами.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-12-12  7:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-10 14:35 Kolya Grechukh
2003-12-10 23:09 ` Aleksey Korotkov
2003-12-11  6:23   ` Re[2]: " Sergey Krivulja
2003-12-11 22:56     ` Aleksey Korotkov
2003-12-12  7:49       ` Sergey Vlasov [this message]
2003-12-12 10:26         ` Nick Grechukh
2003-12-12 10:40           ` Sergey Vlasov
2003-12-12 10:46             ` Nick Grechukh
2003-12-12 10:54               ` Denis S. Filimonov
2003-12-12 11:21               ` Sergey Vlasov
2003-12-12 22:07                 ` Aleksey Korotkov
2003-12-13  9:32                   ` Sergey Vlasov
2003-12-13 21:34                     ` Aleksey Korotkov
2003-12-13 18:47               ` some_x
2003-12-13  6:11         ` Re[2]: " Alexey Morozov
2003-12-14 16:03           ` Sergey Vlasov
2003-12-14 17:43           ` Andrey Rahmatullin
2003-12-15  3:00             ` Alexey Morozov
2003-12-15 13:21               ` Andrey Rahmatullin
2003-12-16 11:29                 ` Alexey Morozov
2003-12-12  7:57       ` Andrey Rahmatullin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031212074915.GA1756@sirius.home \
    --to=vsu@altlinux.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git