DVD-R

Installation history

I got the file cdrecord-prodvd-1.11b19-i586-pc-linux-gnu from Joerg Schelling's cdrecorder site, under ProDVD (an ftp directory with binary files only).

I followed the instructions in xcdroast and copied the file above over /usr/bin/cdrecorder, after first making a copy of that file called /usr/bin/cdrecorder-original.

The new file kept the same file permissions as the old, but I had to manually modify the ownership with chown.

I created a bash scrip /home/steen/.prodvd that looks like this:

#!/bin/sh
CDR_SECURITY=8:dvd,clone,lowspeed:sparc-sun-solaris2,i386-pc-solaris2,i586-pc-linux
,powerpc-apple,hppa,powerpc-ibm-aix:1.11::1042635989:::private/research/educational
_non-ommercial_use:3NaRjwt1W9tnGJ7Wu7EvWScX93MUiiKKwYB6ABoUFRJ2j8bgW9YjTzDOk17
export CDR_SECURITY
exec xcdroast "$@"

The long line in the middle is the license key; I wrote the author for a personal license but he said he don't need one.

This means that you can start the proDVD program with this command:

bash ./.prodvd

and xcdroast will still be the interface. It seems to be working fine (I mastered a disk but didn't burn one).

DVD-R: regionset

In order to play DVDs on my new DVD-R, I had to do this on 21 June 2002:

gubbio:~ # ./regionset /dev/sr1
Current Region Code settings:
RPC Phase: II
type: NONE
vendor resets available: 4
user controlled changes resets available: 5
drive plays discs from region(s):, mask=0xFF

Would you like to change the region setting of your drive? [y/n]:y
Enter the new region number for your drive [1..8]:1
New mask: 0xFFFFFFFE, correct? [y/n]:y
Region code set successfully!

CODE REGIONS
1. USA & Canada
2. Europe & Japan
3. South East Asia
4. Latin America & Australia
5. Russia & Africa
6. (People's Republic of) China
7. Reserved
8. Special international venues (airplanes, cruise ships, etc.)

Summary

Both drives are now DVD -- one reader and one DVD-R. Whether CD or DVD doesn't seem to matter at all to Linux -- it's simply handled through hardware detection on boot. What matters is that the drives must be defined in fstab, including mount points in /mnt, and the /dev files must link to the sr1 or sr0 defined during boot. Lilo must pass boot parameters defining both drives as scsi devices. It's a little nightmare to set up the first time, when you don't know what you're doing, and trivial after that.

Kernel 2.4.16p
April/May 2002

Summary

After building a new kernel, complete with a patch for the 160GB drive, the CD Recorder no longer worked. I had no problems with the CD-ROM. Note that under SuSE's installation, the CD-Recorder works fine.

Possible developments

  1. Persiste in figuring out why this isn't working -- it ought to be pretty trivial as the problem is well know and has long since ben resolved.

  2. Upgrade SuSE's kernel. The problem with this is that you probably couldn't patch it -- which you'd need to do to see the new gigadrive.

  3. Wait until you've built your own LFS; by that time, the gigadriver may be in the kernel anyway.

Narrative

Boot of Saturday 29 - Sunday 30 December 2001, after reinstallation of soundcard, which now works fine. You should list the kernel elements systematically. Now just some error messages:

  ACPI: System description tables not found
ACPI-0068: *** Error: Acpi_load_tables: Could not get RSDP, AE_ERROR
ACPI-0116: *** Error: Acpi_load_tables: Could not load tables: AE_ERROR
ACPI: System description table load failed

Note that all drives are recognized at the outset:

  hda: Maxtor 91360D8, ATA DISK drive
hdc: Maxtor 51536U3, ATA DISK drive
hdd: CD-RW CRX100E, ATAPI CD/DVD-ROM drive
hde: Maxtor 4G160J8, ATA DISK drive

Really, this is a remarkably good boot, with an excellent kernel that makes the most out of the hardware in some detail. Linux is great for building systems stepwise, I mean if you get some things right, they stay right.

Now, the CDRW drive is having some weird problems. The booting process recognizes it fine and assigns it to hdd. YAST2's hardware detection program finds it with no problem at device name /dev/hdd. It for some reason lists it as "notready: Yes", but sees that it's a CD-RW CRX100E on the IDE bus. Yet YAST is unable to mount it. If I try, I get the same result:

  mount /dev/hdd cdrecorder
mount: /dev/hdd is not a valid block device

So there's a problem with hdd as a block device -- it could be that this requires a change in the kernel. The problem seems to be that /etc/fstab lacks the necessary definition!

  /dev/hdd /mnt/cdrecorder iso9660 noauto,ro,usr 0 0

What I had was this:

  /dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0

Now, it may be that you should just change the auto to iso9660 and leave the rest -- but I know the boot process labels it hdd. As for /media/cdrecorder, it does indeed exist. However, nothing works. When I try mount /dev/hdd I get a surprising result:

  mount: mount point /mnt/cdrecorder does not exist

This suggests that the system recognizes that /dev/hdd is a cdrecorder and is about to use /mnt/cdrecorder to mount it. However, I think it's likely the problem is deeper -- mounting to /cdrecorder just gives "/dev/hdd is not a valid block device".

Actually, now I know why it's looking for /mnt/cdrecorder -- that's what I just entered in /etc/fstab. So I changed that to /cdrecorder. Now I get simply the old error message, "/dev/hdd is not a valid block device." There's a problem in the kernel, most likely.

It turns out it's been a common problem with RedHat 7.2. Here's one of their fixes: the problem was that the installer failed to include the following line in modules.conf:

  alias scsi_hostadapter ide-scsi

Now, they all assume I'm using modules, which I'm not. But I do need the alias scsi_hostadapter for an "ide-scsi" -- and my kernel configuration says this:

  more kernel-2.4.16p.config | grep SCSI_*
# CONFIG_BLK_DEV_IDESCSI is not set
# SCSI support
# CONFIG_SCSI is not set
# CONFIG_I2O_SCSI is not set
# Old CD-ROM drivers (not SCSI, not IDE)
# CONFIG_CD_NO_IDESCSI is not set
# CONFIG_USB_HPUSBSCSI is not set

Now my guess is that I need the first one, though maybe not the others. Here's the guide for it:

  SCSI emulation support
CONFIG_BLK_DEV_IDESCSI
This will provide SCSI host adapter emulation for IDE ATAPI devices,
and will allow you to use a SCSI device driver instead of a native
ATAPI driver.
This is useful if you have an ATAPI device for which no native driver has
been written (for example, an ATAPI PD-CD or CDR drive); you can then use
this emulation together with an appropriate SCSI device driver. In order to
do this, say Y here and to "SCSI support" and "SCSI generic support", below.

So it looks like I need three things I left out:

   * CONFIG_BLK_DEV_IDESCSI
* SCSI support
* SCSI generic support ( CONFIG_SCSI?)

That should be the problem. At least you're getting better at this stuff now! Now note that in the working first installation, you simply had

   /dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0

You didn't have to specify the ISO9660 in fstab. Instead, I believe that is done when defining the mount point, or the device cdrecorder. It could be that the classification hdd stems from the lack of the pseudo-scsi support -- it should turn out differently with a new kernel. So I'll take fstab back to the line above. I'll try building a new kernel.

I had to switch user to root -- make xconfig wouldn't let me use su. So remember to read the old configuration, and then find the new element. For a handy overview, see http://www.linuxdoc.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap7sec80.html

Basically, I reloaded the old values from /boot/kernel-2.4.16p.config and then found the CONFIG_BLK_DEV_IDESCSI in "IDE, ATA, and ATAPI block devices". I also found SCSI support and SCSI generic support in the SCSI section, and added all three.

That should do it for tonight. Later, when the CD is working, you can remove the firewall, which is just for the modem, which I never use.

Now, the remaking of the kernel went without a hitch -- while it was "make dep" I realized I should also at some point (no hurry) deal with the power-off problem and perhaps also remove the ipv6 (Internet 6) which I have no use for. Recall also that your ACPI is giving this error message -- this could mean you have to enable more if you want it, or leave it out altogether:

  ACPI: System description tables not found
ACPI-0068: *** Error: Acpi_load_tables: Could not get RSDP, AE_ERROR
ACPI-0116: *** Error: Acpi_load_tables: Could not load tables: AE_ERROR
ACPI: System description table load failed

But the CDRW fix ran into opposition. Here are some of the messages:

First, it finds the drive:

  hdd: CD-RW CRX100E, ATAPI CD/DVD-ROM drive

Then, it installs the scsi-ide support -- this looks good:

  SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SONY Model: CD-RW CRX100E Rev: 1.0j
Type: CD-ROM ANSI SCSI revision: 02

In fact, this looks extremely promising -- it gets it all right. Then it runs into a very peculiar problem:

  VFS: Disk change detected on device ide1(22,64)
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 0
FAT: unable to read boot sector

Now, ide1 is the 15GB 7200rpm drive -- my main Linux drive. It's absurd to suggest there was a disk change on it. What is the "unsupported command in request quue (0)? This message repeats several times, culminating in

  isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32

Now, I'd left a CD in the drive and it could be it was trying to read it and for some reason failed -- not too likely. It is conceivable that the first and fourth error message refer to hdc (my main Linux drive), while the second and third refer to the CDRW. Try once more -- and power down first.

Well, the second boot produced none of these last error messages -- again, a perfectly clean boot. However, now the system has decided to place the CDRW at /dev/sr0 -- and it is of course "not a valid block device". Now, /etc/fstab hasn't changed -- so here the system has tried something new and decided that it should mount on sr0 -- which then doesn't work. It's peculiar I have such a problem with this -- maybe the redhat 7.2 problem really is the same one -- this could be a problem with the 2.4.16 kernel. I guess I could try swapping out the other CD ROM and use that instead?

That would be one solution. The other would be what? Looking at dmesg, I'm getting "hdd: CD-RW CRX100E, ATAPI CD/DVD-ROM drive" and then

  SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SONY Model: CD-RW CRX100E Rev: 1.0j
Type: CD-ROM ANSI SCSI revision: 02

But wait: at the end you're getting just the same junk:

  VFS: Disk change detected on device ide1(22,64)
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 0
FAT: unable to read boot sector
VFS: Disk change detected on device ide1(22,64)
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 0
FAT: unable to read boot sector
VFS: Disk change detected on device ide1(22,64)
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
VFS: Disk change detected on device ide1(22,64)
ide-scsi: hdd: unsupported command in request queue (0)
end_request: I/O error, dev 16:40 (hdd), sector 64
isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32

Here's the identical problem from a 1999 Debian mailing list:

  VFS: Disk change detected on device ide1(22,0)
ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:00 (hdc), sector 64
isofs_read_super: bread failed, dev=16:00, iso_blknum=16, block=32

Wow. So it's not likely kernel 2.4.16. Here's a howto:

http://www.linuxdoc.org/HOWTO/CD-Writing-HOWTO.html -- here's what they say:

".. you have to load the compatibility driver ide-scsi. But this driver can only access your CD-Writer if no other driver has already done so. In other words, you have to tell the regular IDE driver to leave your CD-writer unrecognized, so the ide-scsi driver can grab it.
  hda = IDE bus/connector 0 master device
hdb = IDE bus/connector 0 slave device
hdc = IDE bus/connector 1 master device
hdd = IDE bus/connector 1 slave device
Table: device file names of IDE/ATAPI devices
The table above showsthe relation of device file names and the placing of devices on the IDE busses. The device file name representing your CD-Writer has to be passed to the driver in the Linux kernel. Example: hdb=ide-scsi. Such a setting should be added to lilo.conf or chos.conf if the driver is statically compiled into your kernel, which seems to be the most common setup. If you need to pass more than one parameter to the kernel, then seperate them with spaces (like shown in the chos example). The next two listings show example configurations containing more lines than just the relevant append-line. Please note the append- and cmdline-entries are image-specific (ie. don't add them immediatly at the top)."

Now at least this clears up why the cdrecorder is referred to as hdd -- but is it in fact till the slave on the second drive? I think this is still correct, so this is not that helpful. Maybe you should just swap it out with the normal drive for the moment. Try that.

Well, if you do that, you'd have to change Lilo -- and the whole thing was working so well at first! So here's a simpler solution: the zip drive had an extra jumper. I'll try to install both CD drives. If only one works, I can leave the other for the moment.

Having said that I now read the manual for the CD-ROM drive and it said the second jumper -- the one I lost -- was only to disable UDMA, and thus of no consequence. So I put back the jumper for the Zip disk, just in case.

Now, to be on the same side, I rebooted to the SuSE 2.4.10 kernel, with modules, which had worked for both CD drives before. Here's the result:

First details on APIC (which works in this installation):

  Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 451.0115 MHz.
..... host bus clock speed is 100.2246 MHz.

Second, APM seems to also be enabled:

  apm: BIOS version 1.2 Flags 0x07 (Driver version 1.14)

It finds the four disks (but of course not the new one):

  hda: Maxtor 91360D8, ATA DISK drive
hdb: CD-ROM 48X/AKU, ATAPI CD/DVD-ROM drive
hdc: Maxtor 51536U3, ATA DISK drive
hdd: CD-RW CRX100E, ATAPI CD/DVD-ROM drive

It diagnoses the first correctly:

  hdb: ATAPI 48X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12

Then you get this:

  SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted

Now, the scsi_hostadapter -- can you compile, or have you compiled, that into the kernel? Not sure about this -- it could be what you need.

Then you get:

  VFS: Mounted root (ext2 filesystem).
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SONY Model: CD-RW CRX100E Rev: 1.0j
Type: CD-ROM ANSI SCSI revision: 02

Note that you get a problem iwth VFS on the other kernel: it won't mount and complains of "Disk change detected on device ide1(22,64)." This seems to be symptomatic of the problem. You then get:

  Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
VFS: Mounted root (ext2 filesystem) readonly.

This is what the other kernel is not managing to do. One more detail:

  eth0: no IPv6 routers present

This likely means I can remove IPv6 from the other kernel.

So, that's the story. It works perfectly in the other kernel. And it likely works because of the "SCSI host adapter emulation", which is handled by the module [scsi_hostadapter].

Well, it turns out that [scsi_hostadapter] is an optional name for a module -- it's hard to see that I really need it. There is some little tweak I need to do -- in fact, it could be that now that the other CD drive is in place, it will work again. Or at least one of them will work, which is fine for now! So try that.

A final idea: when you do make dep after making your kernel selections, you could pipe that to a file and inspect it for warnings later. This might tell you about features that aren't going to be implemented anyway.

After rebooting, I got these results. First, the four drives are found:

  hda: Maxtor 91360D8, ATA DISK drive
hdb: CD-ROM 48X/AKU, ATAPI CD/DVD-ROM drive
hdc: Maxtor 51536U3, ATA DISK drive
hdd: CD-RW CRX100E, ATAPI CD/DVD-ROM drive
hde: Maxtor 4G160J8, ATA DISK drive

Next, there is some gratifying recognition of the CD-ROM:

  hdb: ATAPI 48X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12

This is identical to the SuSE kernel. Then you get as before:

  SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SONY Model: CD-RW CRX100E Rev: 1.0j
Type: CD-ROM ANSI SCSI revision: 02

You also get this one:

  VFS: Mounted root (ext2 filesystem) readonly.

Note that you got that already before the SCSI subsystem detection in the SuSE kernel -- and not "readonly". On the other hand, the usb detection works much better in the new kernel -- likely because of improvements in the kernel itself, rather than in my configuration of it.

In addition, of course, you get the huge drive and then firewire with the new kernel -- the stuff you really want to use. Question: are the drives working? Should I add a line in /etc/fstab? Do I need to define valid mount points? These could still be issues.

I first get an error message:

  VFS: Could not mount the source medium.
mount: block device /dev/hdb is write-protected, mounting read-only.

However, when I inserted the CD, it works fine! So at least you have a functioning CD -- you can figure out the details on the CD-RW later.

As I write this it's 6:30 am. I've spent another night on Linux. I made things work, but at a huge price.

Kernel 2.4.16m3
30 May 2002

I still cannot figure out the CDRW problem. The disadvantage in going with SuSE is that they have their own non-standard configuration that's hard to penetrate.

The guide is at http://www.linuxgazette.com/issue57/stoddard.html
Another simple one for SuSE is at http://www.apexdesignsllc.com/linux_6.htm

The brief point is that the CDRW should be fully detected during boot:

Vendor: SAMSUNG Model: CD-R/RW SW-208B Rev: BS01
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi1,channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 8x/32x writercd/rw xa/form2 cdda tray

In my case, the first two lines do appear, but the last two do not (see kernel 2.4.16m3). The CD-ROM is found, the scsi driver is also loaded, but the two are never linked.

It is possible that I need to edit /etc/modules.conf:

alias scsi_hostadapter off

I replaced this line with:

alias scsi_hostadapter ide-scsi

It could be it's that simple -- yet this should only have to do with modules, so it doesn't make sense to me.

Some claims and voices from various places:

In any case, you need to disable generic IDE/ATAPI CDROM support in
order to make ATAPI SCSI emulation working. WARNING: Disable generic IDE/ATAPI support. If you don't do this, the SCSI emulation will not work

Source: http://www.drahthaar.clara.net/cdr/atapi.html

On making nodes:

cd /dev
mknod scd8 b 11 8

Then make links, in my case:

ln -s scd0 cdrom
ln -s scd8 cdr

Names of the devices under devfs: CD-ROM will be something like /dev/scsi/host1/bus0/target0/lun0/cd or
/dev/ide/host0/bus1/target0/lun0/cd ... in the SCSI case a /dev/sr0 symlink is set up for you. Dunno about IDE as I'm using SCSI-emulation anyway. CD-writing generally needs SCSI-emulation and SCSI generic devices,

So /dev/sr* (reading) and /dev/sg* (writing) are what you need. You obviously need SCSI generic and CD-ROM support in the kernel or as modules as well as SCSI-emulation compiled into the kernel or as a module.

The cd rom drive:
/dev/ide/host2/bus0/target0/lun0: p1

The cdrw drive:
/dev/sr0/host2/bus1/target0/lun0 (read)
/dev/sg0/host2/bus1/target0/lun0 (write)

Become root, setup devices:

cd /dev
MAKEDEV sg scd
ln -s scd0 cdrom # NOTE: or cdrw, first check which drive is here
ln -s scd1 cdrw # NOTE: see above, maybe cdrom

Check the new SCSI settings:

cdrecord -scanbus

Setup cdrecord's environment - edit /etc/default/cdrecord:

CDR_DEVICE=cdrw
cdrw=1,0,0 4 8m
cdrom=1,2,0 0 0m

Input the right values, the fields are described in the manpage of cdrecord. Alternatively, you may use this values as
cdrecord-parameter or take a frontend with an own configuration scheme, then you don't need to modify /etc/default/cdrecord.

It's done! Insert a CD and try "cdrecord -v -toc"

http://www.lugatgt.org/articles/cd_burning/

1.2. Copying a CD
There are several ways to do this. My preferred method is to use cat and create an image, then burn that.

cat /dev/sr0 > image.raw
cdrecord -v dev=0,4,0 speed=12 -data -eject image.raw

Or you could burn directly from CD to CD assuming you have two drives:

cdrecord -v -dev=0,4,0 speed=12 -eject -isosize /dev/sr1

Lastly, you can use dd and produce an image and then burn that, like the cat example above.

Kernel choices

In a weak moment, I made the idescsi in the kernel into a module! So it must be called -- insmod -- and I have to know where it is and what it's called. Here's a diff from this and the previous kernel's configuration file:

CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDESCSI=m

# SCSI support type (disk, tape, CD-ROM)
#
# CONFIG_BLK_DEV_SD is not set
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
CONFIG_CHR_DEV_SG=m

So it looks like you didn't set DEV_SR, which you need to read! the DEV_SG is for writing.

Kernel 2.4.16m4

Whatever I did between kernel 2.416m3 and m4 made the CDRW work!

SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SONY Model: CD-RW CRX100E Rev: 1.0j
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray

As you can see, it ended up on sr0, and I now have no problem mounting it.

Here is the diff file:

I turned the scsi emulator from module to yes:

< CONFIG_BLK_DEV_IDESCSI=m
---
> CONFIG_BLK_DEV_IDESCSI=y

I also turned the scsi general from module to yes:

< CONFIG_SCSI=m
---
> CONFIG_SCSI=y

I turned on DEV_SD in m4 -- SD_EXTRA_DEVS=40 may also have been added:

< # CONFIG_BLK_DEV_SD is not set
---
> CONFIG_BLK_DEV_SD=y
> CONFIG_SD_EXTRA_DEVS=40

I turned on DEV_SR in m4 and converted CHR_DEV_SG from module to yes:

< # CONFIG_BLK_DEV_SR is not set
< CONFIG_CHR_DEV_SG=m
---
> CONFIG_BLK_DEV_SR=y
> CONFIG_SR_EXTRA_DEVS=2
> CONFIG_CHR_DEV_SG=y

I turned off devfs in m4:

662,664c673
< CONFIG_DEVFS_FS=y
---
> # CONFIG_DEVFS_FS is not set


kernel 2.4.16m5
4 June 2002

xcdroast

On 4 June 2002 I installed the following SuSE rpms for X-CD-Roast 0.98 a10 on cyberspace. I did it because the program supposedly can read DVDs and possibly rip them -- it may not be necessary, as I should likely use another program for DVD ripping, but the package is very well made and works great on gubbio. I got them here: http://www.xcdroast.org

cdrtools-cdda2wav-1.11a21-1.i386.rpm
cdrtools-cdrecord-1.11a21-1.i386.rpm
cdrtools-libscg-1.11a21-1.i386.rpm
cdrtools-mkisofs-1.11a21-1.i386.rpm
xcdroast-0.98alpha10-1.i386.rpm

The rpms for SuSE 7.3 are all here:
http://xcdroast.sourceforge.net/RPMS/a10/suse-7.3/

I downloaded the rpms (according to the instructions) and issued

rpm -U cdrtools*.rpm

They installed nicely. Then I did the same for xcdroast:

rpm -U xcdroast*.rpm

There was some kind of conflict and I uninstalled the cdrtools and koncd and tried again. The second time is was like a hot knife through butter.

I had to be root to run it the first time -- and my machine is tied up with transcoder! But still, this is fine.

modules.conf

I then messed around with /etc/modules.conf

#
# Define both CD devices as SCSI, for xcdroast
# See http://www.xcdroast.org/xcdr098/faq-a10.html#2
#
alias scsi_hostadapter ide-scsi
options ide-cd ignore='hdb hdd'

# Used by i2c and lm_sensors (not currently working -- a /dev problem?)
alias char-major-89 i2c-dev

I also uncommented the following:

# Creative SB Live! (ALSA will find it with the kernel's PCI support):
#
alias snd-card-0 snd-card-emu10k1
options snd-card-emu10k1 snd_index=0

I also uncommented these:

#*****************************************************************************
# Example configs for ALSA
# You don't need to run isapnp with ALSA, it has full PnP support.
# See /usr/share/doc/packages/alsa/README.SuSE
#*****************************************************************************

#
# ALSA native device support and OSS emulation support. Uncomment these
# lines to enable ALSA:
#
alias char-major-14 soundcore
alias char-major-116 snd
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

# Uncomment this line too, you can setup your ALSA device permissions here:
#
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0666 snd_device_gid=17 snd_devic$

Now, I might live to regret it -- indeed, I had to just comment it up again immediately. I don't even recall the error messages, but there was massive protest.

June 2002 update

Since early June 2002, I've been using xcdroast to burn CDs with no problems. On 14 June I finally figured out how to let user steen burn and not just root -- the trick is to allow hosts and not just users. The current setting is allow all users and hosts, which can hardly be a problem.

Here is the output from a CD-burning session. Note that you're using cdrecord 1.11a19 (1.11b19 is now out), and that packet writing (see below) may be supported:

Calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDRECORD dev= "0,1,0" fs=16384k -v
-useinfo speed=4 -eject -multi -data -pad -data
"/giant/iso9660images/Jirina_ball-01.img" ...

Early September 2002

On 5 September I started using the 2.4.19-ac4 kernel; this made no difference to my CD and DVD-R setup -- that is to say, I haven't actually tried writing, but it didn't seem to make any difference.

On 9 September 2002, I installed a new DVD, which replaced the previous CD driver. I also did this:

1. /etc/fstab -- change the existing /media/dvd to dvd-r
-- change the existing /media/cdrom to dvd

2. /media -- change the existing /media/dvd to dvd-r
-- change the existing /media/cdrom to dvd

3. /dev -- change the existing /dev/dvd to dvd-r
-- change the existing /dev/cdrom to dvd

This worked. Hell if you don't know it, heaven if you do.

Lilo

On the CD front, I also added this to lilo.conf --

append="hdb=ide-scsi hdd=ide-scsi"

This works great -- see the 2.4.16m5 kernel log.


 

 

top

 

Home
Dissertation
Articles
Conferences
RPC
Grain
Research

CogWeb