From owner-freebsd-current Thu Oct 12 12:01:17 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA25292 for current-outgoing; Thu, 12 Oct 1995 12:01:17 -0700 Received: from crox.net.kiae.su (crox.net.kiae.su [144.206.130.72]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA25283 for ; Thu, 12 Oct 1995 12:00:58 -0700 Received: by crox.net.kiae.su id WAA00787; (8.6.11/vak/1.8a) Thu, 12 Oct 1995 22:00:04 +0300 To: current@freebsd.org Message-ID: Organization: Cronyx Ltd. Date: Thu, 12 Oct 95 22:00:03 +0300 X-Mailer: BML [UNIX Beauty Mail v.1.39] From: vak@cronyx.ru Subject: [patch] version 1.9 of ATAPI CD-ROM driver available Sender: owner-current@freebsd.org Precedence: bulk The patches for ATAPI CD-ROM driver, version 1.9, are available as ftp://ftp.freebsd.org/FreeBSD/incoming/wcd-cur-pch.tgz. I tried to solve the problem of IDE probing compatibility in this version. When compiled without an ATAPI option, the wd driver is fully backward compatible with 2.0.5. With ATAPI option, the wdprobe becomes strictly weaker. That is, if wdprobe works without ATAPI option, it will always work with it too. Another problem was with the CD-ROM drive attached as a slave in the IDE bus, where there is no master. All IDE CD-ROM drives are shipped in slave configuration, and most users just plug them in, never thinking about jumpers. It works fine with ms-dos and ms-windows, and this version of the driver supports it as well. The eject op can now load disks. Just repeat it twice, and the disk will be ejected and then loaded back. The disc cannot be ejected if it is mounted. The driver is now loadable (by default). To compile it as loadable: 1. Apply patches to i386/isa/atapi.c, i386/isa/atapi.h, i386/isa/wcd.c, i386/isa/wd.c, i386/i386/conf.c. 2. Remove "device wcd0" from the config file, "options ATAPI" should be present. 3. Recompile the kernel. 4. Move lkm/atapi and lkm/wcd directories to /usr/src/lkm directory, run "make all install" in /usr/src/lkm/atapi and /usr/src/lkm/wcd. 5. Reboot. 6. Run "modload -q -u -e atapi /lkm/atapi_mod.o" and "modload -q -u -e wcd /lkm/wcd_mod.o". To make it static, as before, add "options ATAPI_STATIC" and "device wcd0..." to config file. Regards, Serge --- Serge Vakulenko Cronyx Ltd., Moscow Unix consulting and custom programming phone: +7 (095) 939-23-23 FreeBSD support fax: +7 (095) 939-03-00 Relcom network development