From owner-FreeBSD-tech-jp@jp.freebsd.org  Tue Sep 29 09:50:59 1998
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id JAA05117;
	Tue, 29 Sep 1998 09:50:59 +0900 (JST)
	(envelope-from owner-FreeBSD-tech-jp@jp.FreeBSD.org)
Received: from bulls.mei.co.jp (bulls.mei.co.jp [202.224.189.102])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id JAA05109
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 29 Sep 1998 09:50:56 +0900 (JST)
	(envelope-from kana@saijo.mke.mei.co.jp)
Received: by bulls.mei.co.jp (8.9.1/3.7W) with ESMTP id JAA03213
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 29 Sep 1998 09:50:18 +0900 (JST)
Received: by dodgers.mei.co.jp (8.9.1/3.7W) with SMTP id JAA22815
	for <FreeBSD-tech-jp@jp.freebsd.org>; Tue, 29 Sep 1998 09:50:17 +0900 (JST)
Received: from mkegate0.mke.mei.co.jp by mkews1.ho.mke.mei.co.jp (SMI-8.6/3.5Wpl7)
	id JAA21559; Tue, 29 Sep 1998 09:50:14 +0900
Received: from soft.saijo.mke.mei.co.jp by mkegate0.mke.mei.co.jp (8.8.8/3.6W-980819)
	id JAA05668; Tue, 29 Sep 1998 09:50:13 +0900 (JST)
Received: from vepc03.saijo.mke.mei.co.jp by soft.saijo.mke.mei.co.jp (8.8.8/3.6W-980803)
	id JAA15195; Tue, 29 Sep 1998 09:49:03 +0900 (JST)
Received: from localhost by vepc03.saijo.mke.mei.co.jp (8.8.8/3.7W)
	id JAA08215; Tue, 29 Sep 1998 09:56:56 +0900 (JST)
To: FreeBSD-tech-jp@jp.freebsd.org
In-Reply-To: Your message of "Mon, 28 Sep 1998 12:39:37 +0900"
	<199809280342.MAA07063@smtp.kw.netlaputa.ne.jp>
References: <199809280342.MAA07063@smtp.kw.netlaputa.ne.jp>
X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19980929095655F.kana@saijo.mke.mei.co.jp>
Date: Tue, 29 Sep 1998 09:56:55 +0900
From: Masanori Kanaoka <kana@saijo.mke.mei.co.jp>
X-Dispatcher: imput version 980905(IM100)
Lines: 68
Reply-To: FreeBSD-tech-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: FreeBSD-tech-jp 1742
Subject: [FreeBSD-tech-jp 1742] ATAPI PD
Errors-To: owner-FreeBSD-tech-jp@jp.freebsd.org
Sender: owner-FreeBSD-tech-jp@jp.freebsd.org

$B6b2,!w>>2<<wEE;R9)6H$G$9!#(B

FreeBSD-stable@FreeBSD.ORG $B$K!"<!$N$h$&$J(B Mail $B$,N.$l$F$$$^$7$?!#(B
header $B$N0lIt$HK\J80zMQ$7$^$9!#(B

----------------< FreeBSD-stable@FreeBSD.ORG $B$h$j(B >-------------------
Message-Id: <199809281528.QAA04233@labinfo.iet.unipi.it>
Subject: diffs for atapi cd-rw support
From: Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To: stable@FreeBSD.ORG
Date: Mon, 28 Sep 1998 16:28:00 +0100 (MET)


The diffs (slightly hand edited) for ATAPI CD-RW support on -stable are
available at

	http://www.iet.unipi.it/~luigi/cdr980928.diffs

I have compiled them on a 2.2.6 system although am diffing sources
against -stable cvsupped today. Apart from "patch" complaining
for malformed diffs (I have hand-edited them) the only problem
you _might_ have is in the ioctl "cmd" argument (acdioctl).

Affected files are

        sys/i386/isa/atapi.c \
        sys/i386/isa/wcd.c \
        sys/i386/isa/atapi-cd.c \
        sys/i386/isa/atapi-cd.h \
        sys/sys/cdio.h \
        sys/sys/wormio.h \
        usr.sbin/wormcontrol/wormcontrol.c \
        usr.sbin/wormcontrol/wormcontrol.8 \

To try these you have to add

	device acd0

in your kernel config. The wormcontrol program will then let you write disks
etc. (read the manpage, it has additional, more compact, commands).

The above code also includes the hack to mount different data
tracks from a CDROM.

Remember, if you try these to actually write disks, I suggest to use
CD-RW media. I don't take responsibility for the production of
frisbees.

I have tested this code with an HP7200 internal IDE cd writer,
on both a P90/24MB ram and P133/32MB ram, writing at double speed.

	luigi
-----------------------------+--------------------------------------
Luigi Rizzo                  |  Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it    |  Universita' di Pisa
tel: +39-50-568533           |  via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522           |  http://www.iet.unipi.it/~luigi/
_____________________________|______________________________________

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message

----------------< FreeBSD-stable@FreeBSD.ORG $B$h$j(B >-------------------

-------- $B>>2<<wEE;R9)6H3t<02q<R(B  $B@>>r;v6HIt!!1GA|5;=QIt(B ----------
$B!!6b2,!!@57{!!!!!!(BTEL:0897-56-1111($BFb(B518)  FAX:0897-56-8142
------------------ Masanori Kanaoka <kana@saijo.mke.mei.co.jp>----

