umount problem with sbpcd

Mirko Manea (mami@juliet.dsi.univr.it)
Mon, 27 May 96 13:25:11 METDST


I notice a problem with sbpcd driver. When an ordinary (non root) user
mounts a cdrom everything seems ok, i.e. he/she can do ls, cp, etc...,
but then there are no ways to umount it: the only chance is to log in
as root and type an umount /cdrom.
Autoprobing gives me:

Drive 0 (ID=0): CR-563 (0.81) at 0x230 (type 1)

It is an original Creative 2x cdrom connected to SB 16 (no DSP)

I know that in a scsi system with AIC7770 and a scsi cdrom there are
no problems, so I think it may be a bug in the sbpcd driver.

I am using a Slackware 3.0 with 1.99.7 (pre2.0.7). I also use libc5.2.18,
gcc 2.7.2, binutils 2.6.0.10.

Now a typical session:

gulliver:~$ uname -a
Linux gulliver 1.99.7 #1-pre-2.0 Wed May 22 21:31:38 MET DST 1996 i486
gulliver:~$ cat /etc/fstab
/dev/hda1 / ext2 defaults 1 1
none /proc proc defaults 1 1
/dev/cdrom /cdrom iso9660 defaults,user,noauto,ro 0 0
/dev/fd0 /floppy/msdos msdos defaults,user,noauto 0 0
/dev/fd0 /floppy/ext2 ext2 defaults,user,noauto 0 0
gulliver:~$ mount -V
(u)mount: version from util-linux-2.4
gulliver:~$ mount /cdrom
gulliver:~$ fuser -vm /cdrom # Nobody is using the mounted cdrom
gulliver:~$ umount /cdrom
umount: /cdrom mount disagrees with the fstab
gulliver:~$

--
Bye,
   mami (manea mirko)