PROBLEM STATEMENT - Cannot access CDROM in Dual Boot
Mandrake 7.2 system at any time except after initial boot with CD in drive.
 
After unmounting drive any attempt to mount gives following errors. Note that
initially with supermount enabled all access to all removable media failed! 
 
Currently not using supermount, i.e have disabled supermount module 
and installed absolutely stock fstab (see below).  Floppy now OK, Windows access
now OK.
 
Problems may be related to fact that Cdrom is hdb although can't think why.
Other facts, one can mount and umount the cdrom with full access as long as the
drive is not opened either manually or via 'eject'. Everything else is working
fine except for bugs in KDE,I have the 1.99 version from McMillan Cd's.
Not using KDE, and mount errors occur identically from X or Terminal.
Checked all usual sources of error in Dist.
 
Output from /var/log/messages
 
-----------------------------------------------------------------------------
Dec 12 17:15:48 localhost kernel: attempt to access beyond end of device
Dec 12 17:15:48 localhost kernel: 03:40: rw=0, want=33, limit=0
Dec 12 17:15:48 localhost kernel: dev 03:40 blksize=1024 blocknr=32
sector=64 size=1024 count=1
Dec 12 17:15:48 localhost kernel: isofs_read_super: bread failed,
dev=03:40, iso_blknum=16, block=32
-----------------------------------------------------------------------------
 
error echoed to xterm following mount /dev/hdb or other equivalent
invocation is:
 
-----------------------------------------------------------------------------
mount: wrong fs type, bad option, bad superblock on /dev/hdb,
       or too many mounted file systems
----------------------------------------------------------------------------
 
Reference to /dev shows that the device referenced ( 03:40) is
ttyr8 !!! Obviously a block read will fail as this is a character device,
or else the '40' is hex and refers to 3, 64 which is hdb.
 
My current fstab is ---
_____________________________________________________________________________
 
/dev/hda5 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda7 /home ext2 defaults 1 2
/dev/cdrom      /mnt/cdrom      iso9660 user,noauto,nosuid,exec,nodev,ro 0 0
/dev/fd0        /mnt/floppy     vfat sync,nosuid,noauto,nodev,user,unhide 0 0
/dev/hda1       /mnt/windows    vfat umask=0,nosuid,noauto,user,exec,nodev 0 0
none /proc proc defaults 0 0
/dev/hda6 /usr ext2 defaults 1 2
/dev/hda8 /usr/local ext2 defaults 1 2
/dev/hda9 swap swap defaults 0 0
------------------------------------------------------------------------------
 
My hard drive (hdax )is QUANTUM FIREBALL EL2.5A, with ATA DRIVE
my cdrom (hdb) is identified in Dmesg as ATAPI CDOM, ATAPI CDROM drive, other info the
system identified about the drive is obviously correct such as speed, single tray etc
(from /proc/sys/dev/cdrom) other than 'capacity' which is given as 1264916 in
/proc/ide/ide0/hdb/settings, which has me puzzled.
 
All sym links are correct, permissions seem to be compatible 
I have tried changing fstab in all possible correct ways including setting up my
own references to /dev/hdb as /dev/cd with appropriate mount points. Also mounting
directly with full -t iso9660 input string etc.
 
mounting with verbose option on, ie info but no mount, DIRECTLY after boot gives
"/dev/hdb on mount /mnt/cdrom type unknown (rw)"
 
For initial mount gives "block device /dev/hdb is write protected, mounting
 read only"
 
After first umount and changing disk, mount gives "/dev/hdb does not exist"
 
At this point I am inclined to think this is either a "mount" program error or
possibly something not getting set into one of the config files, although not
being conversent with the distribution I cannot find same.
 
I have just sent this in to Mandrake official support as have just last week installed,
however in light of fairly slow response from them I am hoping someone on the list may
have some insight or previous experience solving same or similar.
I am a pretty experienced Linux user since spring 94 and have never come across
this type of error in other setups, Yggdrasil, Slack, RedHat etc.
 
Thanks in advance for any info,
 
Alan

Reply via email to