Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 95 22:00:03 +0300
From:      vak@cronyx.ru
To:        current@freebsd.org
Subject:   [patch] version 1.9 of ATAPI CD-ROM driver available
Message-ID:  <AApMMVmum0@crox.net.kiae.su>

next in thread | raw e-mail | index | archive | help
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                 <vak@cronyx.msk.su>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AApMMVmum0>