On Tue, 2003-06-17 at 15:30, Richard Bos wrote:
After upgrading my box from 8.1 to 8.2 I get the following error while mounting the cdrom
pilchard:~ # mount /dev/cdrom mount: /dev/cdrom: can't read superblock
pilchard:~ # mount /dev/cdrom /mnt mount: /dev/cdrom: can't read superblock
There is a cd inside the cd-tray (suse-8.2), that works.
Some system information: pilchard:~ # cd /dev/ pilchard:/dev # ls -l cdrom lrwxrwxrwx 1 root root 3 Jun 17 21:15 cdrom -> hdc pilchard:/dev # ls -l hdc brw------- 1 richard disk 22, 0 Mar 14 14:07 hdc
pilchard:/dev # ls -l sg[01] crw-r----- 1 root disk 21, 0 Mar 14 14:07 sg0 crw-r----- 1 root disk 21, 1 Mar 14 14:07 sg1
I performed the procedure as explained on the link underneath: http://sdb.suse.de/en/sdb/html/aoezcan_cdrom.html, but no changes same superblock error message.
pilchard:/dev # hwscan --list| grep cdrom hY5p.PBJpFDLGuBD: (cfg=yes, avail=yes, need=no) cdrom HL-DT-ST RW/DVD GCC-4320B
The file hY5p.PBJpFDLGuBD is present and contains: pilchard:/dev # cat /var/lib/hardware/unique-keys/hY5p.PBJpFDLGuBD [General] UniqueID=hY5p.PBJpFDLGuBD HWClass=cdrom Model=HL-DT-ST RW/DVD GCC-4320B
[Status] Configured=yes Available=yes Needed=no
[Hardware] Bus=0x85 Slot=0x2 BaseClass=0x106 SubClass=0x2 ProgIF=0x3 DeviceName=HL-DT-ST RW/DVD GCC-4320B RevisionName=1.01 Serial= UnixDevice=/dev/hdc
If I'm not mistaken the cdrom treatment in suse-8.1 and 8.2 differ. 8.1 uses ide-scsi while 8.2 has already the plain ide treatment isn't it.
May this be a problem?
pilchard:/etc/sysconfig # grep INITRD * kernel:INITRD_MODULES="ide-scsi"
Richard, Since you are using ide-scsi emulation you will need to change the link for the /dev/cdrom device as follows (as root): cd /dev rm cdrom ln -s sr0 cdrom The "sr0" device should be the correct one to use. Check your boot log for the cdrom to make sure. Ken