Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-21-2003, 02:10 AM
|
#1
|
Senior Member
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216
Rep:
|
I get mount: /dev/cdrom: can't read superblock, How to fix?
Hi guys, I know it must be some dumb mistake I did, but when I'm trying to mount my drives, they say
mount: /dev/cdrom: can't read superblock
I just compiled my new 2.4.21 kernel, how can I fix this?
thanks for the help,
|
|
|
08-21-2003, 03:33 AM
|
#2
|
Senior Member
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263
Rep:
|
have you got isofs built into the kernel or as a module, if its a module try modprobing it before you mount, also might be worth a check where /dev/cdrom points to
|
|
|
08-21-2003, 03:40 AM
|
#3
|
Senior Member
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216
Original Poster
Rep:
|
ehmm, well, it works with my previous kernel, why won't it work with this one?, did I forget something, or what?
I'll check the isofs thing, thanks.
|
|
|
08-21-2003, 03:44 AM
|
#4
|
Senior Member
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216
Original Poster
Rep:
|
yes, ISO file system for CD-ROM's is built into the kernel.
what can I do next?, need more help, thank you
|
|
|
08-21-2003, 04:03 AM
|
#5
|
Senior Member
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263
Rep:
|
does the output of cat /proc/filesystems contain either isofs or iso9660
|
|
|
08-21-2003, 10:59 AM
|
#6
|
Senior Member
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216
Original Poster
Rep:
|
OKay, I did that command, and YES, it is in there man. Thanks, any other thoughts?
cat /proc/filesystems
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev shm
nodev pipefs
nodev binfmt_misc
ext3
ext2
cramfs
nodev ramfs
minix
msdos
msdos
vfat
iso9660
vxfs
nodev nfs
ntfs
efs
nodev autofs
nodev devpts
nodev usbdevfs
nodev usbfs
|
|
|
08-21-2003, 11:03 AM
|
#7
|
Senior Member
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263
Rep:
|
what does your /etc/fstab say? specifically the line with /mnt/cdrom in it?
|
|
|
08-21-2003, 11:15 AM
|
#8
|
Senior Member
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216
Original Poster
Rep:
|
here's the Fstab:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
|
|
|
08-21-2003, 11:21 AM
|
#9
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
zLinuxz,
Are you getting the same errors you were getting when you posted this thread ?
...... just kidding
(For those you want to understand this joke, refer to this thread.
http://www.linuxquestions.org/questi...threadid=84028
)
I had a similar problem where my two NICs were switched when I recompiled my kernel.
Perhaps something similar occurred with your CD-ROMs.
Did you check the /dev/cdrom and the /dev/cdrom1 soft links to make sure they point to the correct devices.
Last edited by Mathieu; 08-21-2003 at 11:23 AM.
|
|
|
08-21-2003, 11:27 AM
|
#10
|
Senior Member
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216
Original Poster
Rep:
|
hey, hehhe,
yes, I did, and I even tried mounting them directly from /dev to /mnt, and still I get the Can't read SuperBlock error....it's frustating,
zLinuxz
|
|
|
08-21-2003, 11:38 AM
|
#11
|
Senior Member
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263
Rep:
|
i have pretty much no expertise with scsi so i'll end my contribution to this thread with this silly question: have you tried other cd's in the drive, cos it could be scratched cd?
|
|
|
08-21-2003, 02:07 PM
|
#12
|
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Rep:
|
Hmm... Try it by not using the symlinks...
Find out if the cdrom drive is hdc, hdd, hde, whatever...
mount -t iso9660 /dev/hdc /mnt/cdrom
Are you getting specifically, "can't read superblock"
or is it the usual
"bad superblock, too many filesystems mounted, or wrong filesystem" etc... ?
You're sure the drive is OK, right? If not, try booting from a bootable cd and see what happens.
-Shade
|
|
|
06-18-2008, 02:42 AM
|
#13
|
Member
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205
Rep:
|
I'm trying to mount my DVD drive to /dvdrom. I tried the commands prescribed to zLinuxz. Here is the error message I get:
Code:
bash-3.1# mkdir /dvdrom
bash-3.1# mount -t iso9660 /dev/hdc /dvdrom
mount: block device /dev/hdc is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
And here is dmesg |tail as the above error message suggests:
Code:
bash-3.1# dmesg | tail
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
The failed "Read 10" packet command was:
"28 00 00 00 00 10 00 00 01 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdc, sector 64
isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16
bash-3.1# exit
exit
bash-3.1$
Here is my fstab:
Code:
/dev/hda5 swap swap defaults 0 0
/dev/hda1 / ext3 defaults 1 1
/dev/hdb1 /home/ntfs ntfs-3g umask=000 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
tmpfs /dev/shm tmpfs defaults 0 0
Here are the contents of /mnt/cdrom:
Code:
bash-3.1# cd /mnt/cdrom
bash-3.1# ls
bash-3.1# exit
exit
bash-3.1$
Here is mount if interested:
Code:
bash-3.1# mount
/dev/hda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hdb1 on /home/ntfs type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
tmpfs on /dev/shm type tmpfs (rw)
bash-3.1#
I installed a new PSU, which means I was playing with the power cord connected to the DVD rom bay, however the bay opens and closes easily, allowing me to insert and audio disk.
I am btw running Slackware 12.1 stock kernel.
Last edited by Drone4four; 06-18-2008 at 02:44 AM.
|
|
|
All times are GMT -5. The time now is 07:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|