LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-22-2003, 12:54 PM   #1
passenger
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
Question unable to mount cd on RH 9.1


Hello out there

I have trouble with ide-scsi on kernel 2.4.20-8

When I try to mount the cd I get the messages below.
Is there a problem with ide-scsi module or kernel ?
I also tried MDK 9.1 and have the same problem.....

No problems on RH 7.3 with this device.

Any idea ?

Axel

# 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,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)

The message I got from the kernel is:

Sep 18 17:41:26 localhost kernel: Unable to identify CD-ROM format.
Sep 18 17:51:06 localhost kernel: FAT: bogus logical sector size 0
Sep 18 17:51:06 localhost kernel: VFS: Can't find a valid FAT filesystem
on
dev 0b:00.
Sep 18 17:51:22 localhost kernel: Unable to identify CD-ROM format.

GRUB is configured with hdc=ide-scsi
The inserted CD is the RH9 installation cd (where I installed this version from)

The output of cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: {ONY Model: CD-R CzX810E Rev: y.0a
Type: CD-ROM ANSI SCSI revision: 02

looks very funny to me

The output of cat /proc/ide/hdc/model
SONY CD-RW/DVD-ROM CRX810E
is correct.

cdrecord give me also a funny output
# cdrecord -scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
cdrecord: Warning: using inofficial libscg transport code version (schily
-
Red
Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21
Copyright
1997 J. Schilling').
scsibus0:
0,0,0 0) '{ONY ' 'KDoR CzX810E ' 'y.0a' Removable CD-ROM
0,1,0 1) *
.
.
.
 
Old 09-22-2003, 01:44 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
# Managing drives
LNAG - Accessing my drives
Rute - Device Mounting

Some questions. What CD devices do you have installed? Are they actual SCSI or IDE drives? If all are IDE, where are they connected in the IDE chain?

/dev/cdrom is a symbolic link. What actual device does it point to? Does it point to the correct device, possibly /dev/scd0 if only one IDE CD burner drive?

# CD burning copying ripping info
Is it configured and what is the device? Command this to find out:
cdrecord -scanbus
Adding an IDE CD-Writer to Linux
CD Writing HOWTO
Burning CDs on Linux
# Burn an ISO to disk
cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso
# Burn from disk to disk
cdrecord -v dev=<your device> speed=<burning speed> -isosize /dev/cdrom
# Generate an ISO from a directory.
mkisofs -Jr -o foo.iso /path/to/directory
mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory
# Generate an ISO from a CD
dd if=/dev/cdrom of=foo.iso
# cdparanoia - search for a drive with reporting of autosense:
cdparanoia -vsQ
# Rip a complete audio CD with cdparanoia
cdparanoia -B "1-"
Linux MP3 CD Burning mini-HOWTO
# Convert mp3 to wav with lame
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
# Burn a CD from wav files
cdrecord -v -audio -pad speed=<burning speed> dev=<your device> /path/to/*.wav
# Erase a CDRW
cdrecord -v dev=<your device> speed=<burning speed> blank=fast

Last edited by fancypiper; 09-22-2003 at 01:52 PM.
 
Old 09-23-2003, 02:09 AM   #3
passenger
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Hi
As you can see in the listing above it is an ide CD installed. It is
linked /dev/cdrom -> /dev/scd0.
If I run cdrecord -scanbus from my RH 7.3 installation it will give me the correct output, same in /proc/scs/scsi.

BTW: I have the same trouble with MDK 9.1 but not with MDK 8.2

Axel

cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SONY Model: CD-RW CRX810E Rev: 1.0a
Type: CD-ROM ANSI SCSI revision: 02


cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'SONY ' 'CD-RW CRX810E ' '1.0a' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
 
Old 09-23-2003, 02:27 AM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
My output for a sample
Code:
root@uilleann #  cat /proc/scsi/scsi
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATAPI    Model: CD-RW 32/12/40X  Rev: 170C
  Type:   CD-ROM                           ANSI SCSI revision: 02
Are the modules loaded?
Code:
root@uilleann # lsmod
<snip>
ide-scsi               10816   0 
scsi_mod              107244   1  [ide-scsi]
ide-cd                 32064   0 
cdrom                  31904   0  [ide-cd]
<snip>
The code tag is the #, btw, which makes looking at files, output, etc easier.

Last edited by fancypiper; 09-23-2003 at 02:31 AM.
 
Old 09-23-2003, 02:33 AM   #5
passenger
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Yep, that's why I have a output on /proc/scsi/scsi

I see in my RH 7.3 installation more drivers modules and tried to load them, but it didn't help:

<snip>
sg 33476 0 (autoclean)
sr_mod 16920 2 (autoclean)
ide-scsi 9664 1
scsi_mod 108608 3 [sg sr_mod ide-scsi]
ide-cd 30272 0
cdrom 32192 0 [sr_mod ide-cd]
<snap>
 
Old 09-23-2003, 03:00 AM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Perhaps your BIOS has gotten confused. I have had strange characters show up in certain outputs for my drives before and doing the BIOS auto-detct drives thing cured mine.

The 4 modules I listed are all my Red Hat 7.3 has loaded. I am running the 2.4.20-18.7 kernel.
 
  


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
unable to mount device latuzim Linux - General 8 10-23-2004 08:03 PM
Unable to mount root fs EcceVery Debian 6 07-18-2004 03:31 PM
unable to mount root recon2 Linux - Software 18 10-13-2003 05:55 PM
Unable to mount goverd Linux - Newbie 14 12-20-2001 05:33 AM
Unable to mount floppy Caeca Invidia Es Linux - General 1 05-14-2001 11:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:20 AM.

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