LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-21-2008, 06:18 PM   #1
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 220
Blog Entries: 2

Rep: Reputation: 33
Mounting cdrom: can't read superblock


Hey all,
Working on getting the audio on this new laptop to work with Slack 12, so I thought I'd just nab a test file from one of my CDs. I tried mounting it and I got the following message:

Code:
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: /dev/cdrom: can't read superblock
My fstab looks like this:

Code:
/dev/sda3        swap             swap        defaults         0   0
/dev/sda2        /                ext2        defaults         1   1
/dev/sda1        /windows         ntfs        ro               1   0
/dev/cdrom       /mnt/cdrom       auto        noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
I did some digging and found out that audio CDs use some file system called iso9660. Ok fine, so I tried that:

Code:
root@thethinker:/mnt# mount -t iso9660 /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Typing in dmesg | tail gave me:

Code:
wmaster0: RX WEP frame with unknown keyidx 0 (A1=ff:ff:ff:ff:ff:ff A2=00:13:46:10:99:ea A3=00:13:46:10:99:ea)
Like 12 times. This is a brand new laptop, I've tried different CDs and it works in Vista (I am dual booting). Any thoughts?
 
Old 01-21-2008, 06:33 PM   #2
Mr. Bond
LQ Newbie
 
Registered: Aug 2007
Posts: 14

Rep: Reputation: 0
I think iso9660 is a default type so you don`t need to type it. I don`t type that and have no problem with mounting. So that`s not a problem. Problem can be if disk is damaged. But you said that it works on Vista ... I have no clue (you are asking why then I`m typing this - well only wanted to say that iso9660 is a default).
 
Old 01-21-2008, 06:38 PM   #3
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 220

Original Poster
Blog Entries: 2

Rep: Reputation: 33
Well ok that's good to know. What about the fact that it's a DVD/CD drive? Could it be expecting a DVD drive and getting unhappy about it?
 
Old 01-21-2008, 06:51 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,069

Rep: Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369
FYI iso9660 is a data filesystem. The name is derived from the International Organization for Standardization (ISO) specification 9660 which describes how data is written to CD.

Audio CDs can not be mounted since they do not contain a filesystem. BTW the standard for audio CDs is known as redbook which is something like IEC 60908 which also includes CD-DA I do believe.

The windows driver can read the contents but linux can not. Actually, there is a filesystem called cdfs that can read a audio CD like windows. Its not part of the main stream kernel but there are patches.

So you will need to use one of the many apps to rip a track from the CD.

Last edited by michaelk; 01-21-2008 at 06:53 PM.
 
Old 01-21-2008, 07:05 PM   #5
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 220

Original Poster
Blog Entries: 2

Rep: Reputation: 33
Ah HA!! Thank you so much, I will note that and pursue another avenue.
 
Old 01-21-2008, 11:50 PM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Actually, you can read the cds but you can't access them as a filesystem (unless, as michaelk mentioned, you'll patch your kernel). Almost all music players have an option to play music from cd.
 
Old 01-24-2008, 09:13 AM   #7
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by michaelk View Post
[...]
The windows driver can read the contents but linux can not. Actually, there is a filesystem called cdfs that can read a audio CD like windows. Its not part of the main stream kernel but there are patches.

So you will need to use one of the many apps to rip a track from the CD.
What about the FUSE filesystem cddfs? I personally haven't used it but I saw it and wondered if anyone had any experiences with it and if it would do the same thing for you that his cdfs kernel patch would do.
 
Old 01-24-2008, 03:46 PM   #8
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
I use KDE and I can just open up audio CDs in Konqueror (through media:/) and it gives me everything I would ever want. Konqueror seems to create a fake filesystem that has folders containing songs ripped to different formats (plus the original CD), which is really nifty. To rip the CD I can just copy the files from the "Ogg Vorbis" folder over to a local directory and all is done. It names them too! Very convenient. If you don't use KDE, there are, of course, many ripping programs etc., and most music programs will play audio CDs as stated above.
 
Old 01-24-2008, 04:49 PM   #9
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
I use k3b in KDE to do my ripping. I don't think I even have to mount it using Konqueror (via HAL) as k3b does this for you.
 
Old 01-24-2008, 09:53 PM   #10
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Yeah, I usually use k3b too, but thought I would point out the Konqueror thing (just because it's nifty). I was very surprised (in a good way) when I explored a CD in Konqueror for the first time (coming from a Windows world, I would NEVER expect to see such cleverness -- it's only logical to present the CD as ripped tracks since you can't actually do ANYTHING with the raw cda files anyway, on any OS).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I get mount: /dev/cdrom: can't read superblock, How to fix? zLinuxz Linux - General 12 06-18-2008 02:42 AM
CDROM can't read/can't read superblock microomran Red Hat 1 07-05-2007 03:29 AM
error mounting ext3 filesystem... mount: /dev/hdd1: can't read superblock versaulis Linux - Software 5 11-26-2006 08:34 PM
mount: /dev/cdrom: can't read superblock raynmune Linux - Hardware 7 07-09-2005 04:02 PM
problems mounting a cdrom in redhat (from rockscluster.org OS install) >>> bad superblock akay Linux - Hardware 6 12-01-2004 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration