I'm using Fedora FC1 with a self built kernel 2.6.5. mount /dev/cdrom
returns "/dev/cdrom is not a valid block device". Same with "mount -t
iso9660 /dev/hdc1 /mnt/cdrom/"
I also tried sdc0 instead of hdc1, without success.
my fstab:
/dev/cdrom /mnt/cdrom udf,iso9669 noauto,owner,kudzu,ro 0 0
ls -l /proc/ide
r--r--r-- 1 root root 0 May 10 12:16 drivers
lrwxrwxrwx 1 root root 8 May 10 12:16 hda -> ide0/hda
lrwxrwxrwx 1 root root 8 May 10 12:16 hdc -> ide1/hdc
dr-xr-xr-x 3 root root 0 May 10 12:16 ide0
dr-xr-xr-x 3 root root 0 May 10 12:16 ide1
-r--r--r-- 1 root root 0 May 10 12:16 piix
modprobe cdrom returns "Module cdrom already in kernel"
what am I doing wrong?
kuisi
Did you perhaps miss the IDE-SCSI emulation configuration when you created
your custom 2.6.5 kernel?
CONFIG_BLK_DEV_IDESCSI=m
The CD does not have a partition so 'mount -t iso9660 /dev/hdc /mnt/cdrom'
or 'mount -t iso9660 /dev/sda /mnt/cdrom' (assuming the CD device is the
first scssi device on your system) should work. Also check the symbolic
link 'ls -al /dev/cdrom' and make sure it is to /dev/hdc.
IDE-SCSI emulation is no longer needed with the 2.6 kernels and has not
really been needed since kernel 2.4.20 or so for 'burning' CD media. So
you might want to remove the 'hdc=ide-scsi' section from your boot loader
and re-create your symbolic link (/dev/cdrom).
--
"In short, without this exclusive franchise, called the Windows API,
we would have been dead a long time ago." M$ Senior VP Bob Muglia '96
In comp.os.linux.setup Lenard <len...@127.0.0.1> suggested:
> On Mon, 10 May 2004 12:19:39 +0200, sepp wrote:
[ problems mounting cdrom ]
> The CD does not have a partition so 'mount -t iso9660 /dev/hdc /mnt/cdrom'
> or 'mount -t iso9660 /dev/sda /mnt/cdrom' (assuming the CD device is the
> first scssi device on your system) should work. Also check the symbolic
/dev/sda is usually the first scsi disk, the first scsi cdrom is
/dev/scd0.
--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo zvp...@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFAn7hfAkPEju3Se5QRAjgsAJ0Rm/SEa/zQdJ+1Ws+jFfxgJObd5QCgpmnF
cn7o8oKg8LcvhE1NNU9oTVM=
=v67X
-----END PGP SIGNATURE-----
Michael Heiming wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> NotDashEscaped: You need GnuPG to verify this message
>
> In comp.os.linux.setup Lenard <len...@127.0.0.1> suggested:
>
>>On Mon, 10 May 2004 12:19:39 +0200, sepp wrote:
>
>
> [ problems mounting cdrom ]
>
>
>>The CD does not have a partition so 'mount -t iso9660 /dev/hdc /mnt/cdrom'
>>or 'mount -t iso9660 /dev/sda /mnt/cdrom' (assuming the CD device is the
>>first scssi device on your system) should work. Also check the symbolic
>
>
> /dev/sda is usually the first scsi disk, the first scsi cdrom is
> /dev/scd0.
Or /dev/sr0
lpitcher@merlin:~$ ls -l /dev/scd0 /dev/scd0
brw-r----- 1 root disk 11, 0 Jul 18 1994 /dev/scd0
brw-r----- 1 root disk 11, 0 Jul 18 1994 /dev/scd0
- From /usr/src/linux/Documentation/devices.txt
11 char Raw keyboard device
0 = /dev/kbd Raw keyboard device
The raw keyboard device is used on Linux/SPARC only.
block SCSI CD-ROM devices
0 = /dev/sr0 First SCSI CD-ROM
1 = /dev/sr1 Second SCSI CD-ROM
...
The prefix /dev/scd instead of /dev/sr has been used
as well, and might make more sense.
- --
Lew Pitcher
IT Consultant, Enterprise Application Architecture,
Enterprise Technology Solutions, TD Bank Financial Group
(Opinions expressed are my own, not my employers')
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
iD8DBQFAn7qragVFX4UWr64RApFBAKDrQyaJE38bEly5cEm0y8PvLlLiKwCeI5cU
O3MPudVG17j/63eEhrRmzoo=
=Jv7w
-----END PGP SIGNATURE-----
In comp.os.linux.setup Lew Pitcher <Lew.P...@td.com> suggested:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Michael Heiming wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> NotDashEscaped: You need GnuPG to verify this message
>>
>> In comp.os.linux.setup Lenard <len...@127.0.0.1> suggested:
>>
>>>On Mon, 10 May 2004 12:19:39 +0200, sepp wrote:
>>
>>
>> [ problems mounting cdrom ]
[..]
>> /dev/sda is usually the first scsi disk, the first scsi cdrom is
>> /dev/scd0.
> Or /dev/sr0
> lpitcher@merlin:~$ ls -l /dev/scd0 /dev/scd0
> brw-r----- 1 root disk 11, 0 Jul 18 1994 /dev/scd0
Typo?
> - From /usr/src/linux/Documentation/devices.txt
[..]
> block SCSI CD-ROM devices
> 0 = /dev/sr0 First SCSI CD-ROM
> 1 = /dev/sr1 Second SCSI CD-ROM
> ...
> The prefix /dev/scd instead of /dev/sr has been used
> as well, and might make more sense.
Seems to depend on your distro, no sr[0-9] devices here (RH) at
all, but I'm sure I have been using them on other distro.
--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo zvp...@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFAn8jTAkPEju3Se5QRAqPeAJ0Wr+xkkTH4lar8lLGfmG3tWiY97gCfY+5l
MfKVPFj37w0geyQ2cBdhpZo=
=IbGC
-----END PGP SIGNATURE-----
when I remove the 'hdc=ide-scsi' parameter,during mounting I get the error
wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file system
do I really need the scsi emulation?
Is the drive jumpered (master, slave) correctly?
--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.26 SMP i686 (GCC) 3.3.3
Uptime: 8 days, 12:47, 2 users, load average: 0.01, 0.15, 0.68
> hi
>
> I'm using Fedora FC1 with a self built kernel 2.6.5. mount /dev/cdrom
> returns "/dev/cdrom is not a valid block device". Same with "mount -t
> iso9660 /dev/hdc1 /mnt/cdrom/"
> I also tried sdc0 instead of hdc1, without success.
Perhaps you are trying to use the wrong device:
# ls -l /dev/cdrom
lrwxrwxrwx 1 root root 8 Apr 4 16:28 /dev/cdrom -> /dev/sr0
> sepp wrote:
>>
>> when I remove the 'hdc=ide-scsi' parameter,during mounting I get the
>> error
>>
>> wrong fs type, bad option, bad superblock on /dev/cdrom,
>> or too many mounted file system
>>
>> do I really need the scsi emulation?
>
> Is the drive jumpered (master, slave) correctly?
>
I was installing Fedora Linux from CDs, and under WindowsXP, there is no
problem acessing the CD-drive. btw my machine is a Dell Inspiron 8600