Kudzu CDROM bug or User Error?

Tom Caudron caudron at digitalelite.com
Thu Jan 15 20:49:10 UTC 2004


I've installed Fedora on my wife's main system.  For several days it ran
fine.  No problems.  Three days ago, however, it started exhibiting
strange behavior.

When I boot up, updfstab never creates the symlink from /dev/hdc or
/dev/scd0 to /dev/cdrom.  Nor does it create the /mnt/cdrom directory. 
It does however, add the entry to fstab...TWICE:

# cat /etc/fstab | grep cdrom
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0

Consequently, on bootup during the hardware detection phase, I get the
error that it cannot stat /dev/cdrom becuase the file or directory
doesn't exist.  I concur by looking in /dev once it boots up:

# ls -la /dev/cd*
brw-rw----    1 root     disk      15,   0 Sep 15 09:40 /dev/cdu31a
brw-rw----    1 root     disk      24,   0 Sep 15 09:40 /dev/cdu535
lrwxrwxrwx    1 root     root            8 Jan  9 16:21 /dev/cdwriter -> /dev/sg1

Of course, I note that it sees the device (the CDROM is also my
CDWriter).  Now, I look in /dev to see if the base device even exists
anymore and both /dev/hdc and /dev/scd0 exist.  While I cannot say with
certainty, I thought that my hdc was the cdrom, but according to the
system, it ain't.  I had no idea that /dev/scd0 was a CDROM until I
opened the Hardware Browser and it told me that the CDROM (it shows up
there even though the symlink isn't created, of course) is found at
/dev/scd0.  Still /dev/hdc exists along with hdc1 through hdc20 or so. 
Not sure what hdc is, if not the cdrom, but that's not important here.

Before going further, I looked in /etc/sysconfig/hwconf to see if the
device was being detected by the system and I find this section:

class: CDROM
bus: SCSI
detached: 0
device: scd0
driver: ignore
desc: "Iomega ZIPCD 4x650"
host: 2
id: 0
channel: 0
lun: 0
generic: sg2

Which both tells me that it is detecting just fine and that it is,
indeed, mapped to /dev/scd0.  I then looked at /etc/updfstab to see if
the entry had been messed with.  It looks good to me:

device cdrom {
    symlink true
    match   cdrom
}
 
device cdwriter {
    symlink true
    nofstab true
    match   cdwriter
}

So now I am stuck.  I cannot mount CD's without manually adding the
symlink, and the mount folder and manually mounting them, since the
symlink isn't created and the fstab entries (remember there are two of
them!) are looking for that /dev/cdrom symlink.  Moreover, when I
reboot, the symlink I created goes away and I have to go through the
whole process all over again to mount a CD.

Any help at all would be appreciated.  I've googled to no avail and the
archives of this list don't reveal a similar problem either.  Everywhere
else I saw a problem close to mine, it was fixed by adding the symlink
once.  Mine is not so easy to fix.  :(  Ideas?

Thanks in advance for the help.

-Tom Caudron





More information about the fedora-list mailing list