From owner-freebsd-stable Mon Sep 28 10:29:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17704 for freebsd-stable-outgoing; Mon, 28 Sep 1998 10:29:10 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA17690 for ; Mon, 28 Sep 1998 10:29:02 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id QAA04233; Mon, 28 Sep 1998 16:28:01 +0100 From: Luigi Rizzo Message-Id: <199809281528.QAA04233@labinfo.iet.unipi.it> Subject: diffs for atapi cd-rw support To: stable@FreeBSD.ORG Date: Mon, 28 Sep 1998 16:28:00 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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