LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   trouble mounting CD drive. 'can't read superblock' (https://www.linuxquestions.org/questions/slackware-14/trouble-mounting-cd-drive-cant-read-superblock-4175672294/)

burning 03-31-2020 11:44 AM

trouble mounting CD drive. 'can't read superblock'
 
Following this tutorial here on how to mount my cd drive, I ran lsblk which listed my hard disk's partitions as well as
Code:

sr0  11:0  1  560M  0  rom
running dmesg | egrep -i --color 'cdrom|dvd|cd/rw|writer'
got me:
Code:

[    1.282433] ata2.00: ATAPI: MATSHITA DVD-RAM UJ-862, RB01, max UDMA/33
[    3.892214] scsi 3:0:0:0: CD-ROM    MATSHITA DVD-RAM UJ-862
 RB01 PQ: 0 ANSI: 5
[    3.904345] sr 3:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[    3.904508] cdrom: Uniform CD-ROM driver Revision: 3.20

upon attempting to mount the cd drive by doing mount -t iso9660 -o ro /dev/sr0 /mnt/cdrom , I got:
'mount: wrong fs type, bad option, bad superblock on dev/sr0, missing codepage or helper program or other error'

upon then trying mount -o ro /dev/sr0 /mnt/cdrom , instead it then gave me:
'mount: /dev/sr0: can't read superblock'

running dmesg | tail gives:
Code:

[1572.414852] sr 3:0:0:0: [sr0] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[1572.414866] sr 3:0:0:0: [sr0] tag#0 Sense key : 0x5 [current]
[1572.414874] sr 3:0:0:0: [sr0] tag#0 ASC=0x64  ASCQ=0x0
[1572.414882] sr 3:0:0:0: [sr0] tag#0 CDB: opcode=0x28 28 00 00 00 00 10 00 00 01 00
[1572.414889] blk_update_request: I/O error, dev sr0, sector 64
[1572.414930] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16

For context, this is my first time trying to use the optical drive in this laptop. I put a music CD in the laptop's CD tray and upon trying the CD in my portable CD player, it plays perfectly fine, which implies the problem here is with the drive, not the disc.

Did I forget to do something?
for context, my cd drive is not in my /etc/fstab file

TSquaredF 03-31-2020 12:33 PM

You don't have to mount an audio CD in order to play it. Insert your CD, start your player of choice, & go.
Regards,
Bill

fatmac 03-31-2020 01:07 PM

A music CD has its own way of being created & does not have a regular file system.

If you just want to play it, use an audio program, if you want to put the tracks onto your computer, use a ripper, (cdparanoia is a good command line one).

TheRealGrogan 04-01-2020 02:29 PM

Also, if you insert a blank DVD, you may see i/o errors in dmesg depending on your kernel version. Doesn't mean there's anything wrong, the kernel is just being silly.

uteck 04-01-2020 02:50 PM

If the CD you are using is one you burnt yourself, or someone else did, it might have degraded and be unreadable. Writable drives use a layer of ink in the plastic that the laser etches, and that ink breaks down over time.

Didier Spaier 04-01-2020 03:09 PM

Hi,

Please insert the CD, then type in a terminal as root:
cd-info > info.txt
cd-drive > cddrive.txt
and attach both files info.txt and cddrive.txt to your next post.

slacker1337 04-01-2020 03:58 PM

Are you sure it's an iso9660 format? Sounds like an issue I see at work on CDROM/DVD's that are burned from Windows as UDF.

marcinblondyn 04-10-2021 05:44 PM

Hello,

I have the same problem:
Code:

mount: /dev/sr0: can't read superblock
I'm trying to play audio cd, and command
Code:

cdinfo
makes my cdrom spin and gives me even all track names but I still cannot mount it to play it. Anyone could assist, please?

marcinblondyn 04-10-2021 06:04 PM

oups I just found answer for audio-cd. This command played my cd:
Code:

mplayer -cdrom-device /dev/sr0 cdda://


All times are GMT -5. The time now is 10:05 AM.