|
Packit |
45fded |
|
|
Packit |
45fded |
Requirements of cdrkit on Linux:
|
|
Packit |
45fded |
|
|
Packit |
45fded |
- Linux kernel 2.4 or newer
|
|
Packit |
45fded |
- Glibc 2.2 or newer
|
|
Packit |
45fded |
- libcap library package is required, with development files (headers)
|
|
Packit |
45fded |
- kernel headers useable with the combination of glibc and kernel, as approved
|
|
Packit |
45fded |
by the distribution. Do not blindly use random kernel headers, do not
|
|
Packit |
45fded |
symlink them to /usr/include/linux or /usr/include/asm*.
|
|
Packit |
45fded |
|
|
Packit |
45fded |
Notes about support on Linux:
|
|
Packit |
45fded |
|
|
Packit |
45fded |
- Linux kernel versions between 2.6.8 and 2.6.11 are known to have invasive
|
|
Packit |
45fded |
SCSI command filtering which makes the use of wodim almost inpossible or
|
|
Packit |
45fded |
complicated for non-root users. Avoid those kernel versions, unless they
|
|
Packit |
45fded |
have been patched to disable that filtering.
|
|
Packit |
45fded |
|
|
Packit |
45fded |
- support of generic scsi was limited on 2.4, ie. not available directly with
|
|
Packit |
45fded |
IDE/ATAPI devices. The ide-scsi driver could be used map ATAPI devices to
|
|
Packit |
45fded |
SCSI ids, however this driver had other problems. See README.ATAPI for
|
|
Packit |
45fded |
details. Note that there also the ATAPI:... device access method which uses
|
|
Packit |
45fded |
deprecated funtionality of kernel 2.4. Don't use it unless it is really
|
|
Packit |
45fded |
neccessary. The support for it may be removed in future versions of cdrkit.
|
|
Packit |
45fded |
|
|
Packit |
45fded |
- the DMA transfer size is limited with some device controllers and the Linux
|
|
Packit |
45fded |
kernel 2.6.x (2.6.19 currently) provides no method to retrieve it for
|
|
Packit |
45fded |
exactly one device. Wodim scans sysfs to retrieve this information, but it
|
|
Packit |
45fded |
needs to be mounted. Use the ts= option of wodim to limit the transfer size
|
|
Packit |
45fded |
on problems.
|
|
Packit |
45fded |
|
|
Packit |
45fded |
|
|
Packit |
45fded |
Additional comments moved from the wodim.1 manpage (originaly cdrecord.1):
|
|
Packit |
45fded |
|
|
Packit |
45fded |
The sg driver on Linux has several severe bugs:
|
|
Packit |
45fded |
|
|
Packit |
45fded |
- It cannot see if a SCSI command could not be sent at all.
|
|
Packit |
45fded |
- It cannot get the SCSI status byte. wodim for that reason cannot report
|
|
Packit |
45fded |
failing SCSI commands in some situations.
|
|
Packit |
45fded |
- It cannot get real DMA count of transfer. wodim cannot tell you if there is
|
|
Packit |
45fded |
an DMA residual count.
|
|
Packit |
45fded |
- It cannot get number of bytes valid in auto sense data. wodim cannot tell
|
|
Packit |
45fded |
you if device transfers no sense data at all.
|
|
Packit |
45fded |
- It fetches too few data in auto request sense (CCS/SCSI-2/SCSI-3 needs
|
|
Packit |
45fded |
>= 18).
|
|
Packit |
45fded |
|
|
Packit |
45fded |
-- Reviewed by Eduard Bloch -- 12/2006
|