mount cdrom, error: cannot read superblock
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" /boot/grub/menu.lst contains: kernel (hd1,7)/vmlinuz root=/dev/hdb9 hdc=ide-scsi vga=791 pilchard:/boot/grub # lsmod Module Size Used by Not tainted ide-cd 29404 0 (autoclean) cdrom 28192 0 (autoclean) [ide-cd] It would be great if anyone knows how to solve the superblock error message! -- Richard Bos Without a home the journey is endless
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
Op dinsdag 17 juni 2003 21:44, schreef Ken Schneider:
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
That got me going :) At this point the mount fails with an error like: "not a valid mount device". After I execute: "modprobe ide-scsi", I can access the cdrom via: mount /media/cdrom :) Where should I put the "modprobe ide-scsi" command, so it is executed during the boot process? Isn't it already specified on the boot prompt command? /boot/grub/menu.lst contains: kernel (hd1,7)/vmlinuz root=/dev/hdb9 hdc=ide-scsi vga=791
The "sr0" device should be the correct one to use. Check your boot log for the cdrom to make sure.
dmesg says "hdc: ... cdrom" -- Richard Bos Without a home the journey is endless
participants (2)
-
Ken Schneider
-
Richard Bos