Linuxers,
Thanks to all who have reported recent experience with Linux 2.2.1
and CD writers. Thanks for a job well done to the CD-Writing HOWTO editor,
Winfried Trumper <[EMAIL PROTECTED]>. My recent installation of a CD-Writer
has been rendered practical by reference to others' experience found in
dejanews and elsewhere.
Since the frequency of questions is still high, I suspect that
this summary may be useful as a single source of pointers, despite
incompleteness. I will submit another summary when installation is
complete (est. 99-03-15), and further details are available by mailing
to me direct.
* Summation
CD Re-Writable installation to Slackware 3.5 system required
upgrading to at least linux-2.0.36.
Upgrading to linux-2.2.1 required upgrading most utilities.
"(Failed)" indicates elements that unexpectedly required upgrade.
* Prior Configuration
Hardware: Dell Dimension XPS-133c
CPU: Intel Pentium 133 MHz 256 KB cache
Memory: 128 MB
Software: Slackware 3.5
OS: Linux-2.0.35
Boot Loader: lilo-0.16 (Failed)
PPP Driver: pppd-2.2.0 (Failed)
Module Support: modutils-2.0.0 (Failed)
CD Player: workman-1.3
Hard Disk: Western Digital 1.6 G IDE
Hard Disk Bus: IDE Primary, channel 0
CDROM: Teac 56E
CDROM Bus: IDE Secondary, channel 0
Sound Card: SoundBlaster 16
* Target Configuration (changes from Prior Configuration)
CD Recorder: cdrecord-1.6.1
2nd Hard Disk: Seagate Barracuda 9.1 G SCSI
2nd Disk Bus: SCSI Ultra 2 Wide
SCSI Adapter: Adaptec 2940 U2W
CDROM: (removed)
CD RW: HP Surestore CD-Writer Plus 8100i
CD RW Bus: IDE Secondary, channel 0 (Failed)
* Upgraded Configuration (changes from Prior Configuration)
Software: Slackware 3.6
OS: Linux-2.2.1
Boot Loader: lilo-0.21
PPP Driver: pppd-2.3.5
Module Support: modutils-2.1.121
2nd Hard Disk: Seagate Barracuda 9.1 G SCSI
2nd Disk Bus: SCSI Ultra 2 Wide
SCSI Adapter: Adaptec 2940 U2W
CDROM: (removed)
CD RW: HP Surestore CD-Writer Plus 8100i
CD RW Bus: SCSI emulation
* Kernel Configuration excerpts (linux-2.2.1:make xconfig:Save ... file)
# CONFIG_EXPERIMENTAL is not set
CONFIG_M586TSC=y
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y # Required for auto module support
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_BLK_DEV_IDE=y # Required for IDE Hard Disk
CONFIG_BLK_DEV_IDEDISK=y # Required for IDE Hard Disk
# CONFIG_BLK_DEV_IDECD is not set # Incompatible with SCSI CD
CONFIG_BLK_DEV_IDESCSI=y # Required for cdrecord-1.6.1
# +HP8100i IDE
CONFIG_BLK_DEV_LOOP=m # Required to test images produced
# by mkisofs supplied with
# cdrecord-1.6.1
CONFIG_SCSI=y # cdrecord-1.6.1 requires SCSI
CONFIG_BLK_DEV_SD=y # Required for SCSI hard disk
CONFIG_BLK_DEV_SR=y # Required for data CD
CONFIG_CHR_DEV_SG=y # Required for HP8100i+SCSI emulation
# CONFIG_SCSI_MULTI_LUN is not set # Incompatible with HP8100i
CONFIG_SCSI_CONSTANTS=y # Makes debugging practical
CONFIG_SCSI_LOGGING=y # Makes debugging practical
CONFIG_SCSI_AIC7XXX=y # Required for Adaptec 2940 U2W
CONFIG_PPP=y # Required for pppd-2.3.5
CONFIG_RTC=y # Required? for cdrecord-1.6.1
# failed when not enabled
CONFIG_ISO9660_FS=y # Required for data CD
CONFIG_JOLIET=y # Recommended for Windows CD
CONFIG_SOUND=y # Required for workman
CONFIG_SOUND_SB=y # Required for SoundBlaster 16
* Discoveries
linux-2.0.35 does not support SCSI Ultra 2 Wide.
linux-2.0.36 reportedly provides support.
I upgraded to linux-2.2.1.
pppd-2.2.0 is incompatible with linux-2.2.1.
linux-2.2.1:linux/Documentation/Changes lists the minimum
required version of various utilities.
I upgraded to pppd-2.3.5.
PPPD-2.3.5 INTRODUCES SOURCE DEPENDENCY INTO THE LINUX-2.2.1 KERNEL!!!
pppd-2.3.5 supplies headers that REPLACE and add to the
linux-2.2.1 kernel source.
I await the next upgrade that eliminates this dependency.
linux-2.2.1 is too large for some purposes
make zImage failed.
make zdisk failed.
make bzImage succeeded.
lilo-0.16 is incompatible with bzImage.
lilo-0.21 succeeded.
cdrecord-1.6.1 requires SCSI CD Writer.
cdrecord-1.6.1 does not directly provide IDE support for
HP 8100i.
I compiled SCSI emulation in the kernel.
HP 8100i requires SCSI emulation.
SCSI emulation is required to wrap an IDE device for
with SCSI-only software like cdrecord-1.6.1.
I compiled SCSI emulation in the kernel.
I compiled SCSI generic driver in the kernel.
workman reads /dev/cdrom by default.
/dev/cdrom is linked to /dev/hdc by default?
When using SCSI emulation, the first cdrom probably
appears as /dev/scd0
sudo rm /dev/cdrom required.
sudo ln -s /dev/scd0 /dev/cdrom succeeded.
/dev/sr* is required.
cd /dev; sudo ./MAKEDEV scd0 succeeded.
* Tests
data read
# insert a known good data CD
mkdir -p /cdrom
sudo mount -t iso9660 /dev/scd0 /cdrom
ls /cdrom # Should list known contents
sudo umount /cdrom
audio read
# insert a known good audio CD
sudo workman -V 0
SCSI address determination
cdrecord -scanbus
CD RW format
# Insert a CD RW
sudo cdrecord -v -v -v -multi dev=1,0,0 blank=all
multi-session data read (incomplete)
# Insert a disk packet-written under Win95
sudo cdrecord -v -v -v -multi -toc dev=1,0,0
# This produced a reasonable toc
# I don't know how to read or decipher the track.
track-at-once data write
# Generate a filesystem image
mkisofs -r -o /var/tmp/cdimage.iso9660 /archive
# Test the image
sudo mount -t iso9660 -o ro,loop=/dev/loop0 \
/var/tmp/cdimage.iso9660 /cdrom
cd /cdrom;
for f in `find . -type f; do cmp $f /archive/$f; done
# Record the image
# Close all applications and suspend all nonessential processes
sudo cdrecord -v speed=2 dev=1,0,0 /var/tmp/cdimage.iso9660
# Wait ~40min
# Reload and test the image
sudo mount -t iso9660 /dev/cdrom /cdrom
cd /cdrom
for f in `find . -type f; do cmp $f /archive/$f; done
sudo umount /cdrom
* References
CD-Writing-HOWTO-2.6.1
SCSI-HOWTO-2.15
linux-2.2.1:linux/Documentation/Changes
* Remaining Tasks
Upgrade all utilities the minimum versions required by linux-2.2.1.
Fix module problem (... can't locate module net-pf-5 ...).
Fix ftape problems.
* Remaining Questions
Who is working on a pppd upgrade to disentangle its source
dependency from the linux kernel?
Who would like to help me investigate disentangling the pppd source
from the linux kernel?
What errors or omissions are in the above?
How can one read and decipher under linux a track packet-written
(multi-session) under Win95?
How does one packet-write a (multi-session) disk?
Good luck,
--
Dr. Robert J. Meier
1-248-650-9488
[EMAIL PROTECTED]