Next-in-Thread Next Message

Question cannot mount cdrom 

Forum: PCMCIA ATA/IDE Device Issues
Date: 2000, Feb 28
From: Robert Rosenbaum rrosen

when I try to mount my cdrom, it says: mount: /dev/cdrom is not a valid block device

It sure looks like a block device:

$ls -l /dev/cdrom /dev/hdc
 ... /dev/cdrom -> /dev/hdc
 brwx-rw---- 1 root 22, 0 May 5 1998 /dev/hdc

The strange thing is that it worked fine under Red Hat 5 (Linux 2.0.36), but it stopped working when I upgraded. I am running Red Hat 6.1 , on a Toshiba Portege 300CT. The BIOS is set for PCIC mode.

$uname -a
 Linux umbar 2.2.12-20 #1 Mon Sep 27 10:25:54 EDT 1999 i586 unknown
$cat /proc/devices
 Character devices
 ...
 254 pcmcia
 Block Devices
 ...
 3 ide0
 ...
 22 ide1
$cat /proc/modules
 ide_cs 2916 1
 pcnet_cs 7572 1
 8390 5920 0 [pcnet_cs]
 ds 5740 2 [ide_cs pcnet_cs]
 i82365 22640 2
 pcmcia_core 39912 0 [ide_cs pcnet_cs ds i82365]
$cat /proc/interrupts
 ...
 5: 8 XT-PIC ide1
 ...
$cat /var/run/stab
 Socket 0:KTI ETHER-C16 Fast ethernet
 0 network pcnet_cs 0 eth0
 Socket 1:ATA/IDE Fixed Disk
 1 ide ide_cs 0 hdc 22 0
$cardctl status
 Socket 0:
  5V 16-bit card present
  Function 0: ready
 Socket 1:
  5V 16-bit card present
  Function 0: ready, battery low 
   {cdrom using AC adaptor, but can use batteries}
$dmesg
 hdd: CRN-8240, ATAPI CDROM drive
 ide1 at 0x100-0x107,0x10e on irq 5
 hdd: ATAPI 24X CDROM drive, 128kB Cache
 ide_cs: hdc: Vcc = 5.0, Vpp = 0.0

One odd thing... The file /sbin/ide_info was missing from my distribution. I grabbed the latest source, compiled it, and copied it to /sbin. Then when I insert the card, I see in /var/log/messages:

 /sbin/ide_info /dev/hdc
 open() failed: Device not configured.

So the open() call is returning EXNIO, but /proc/devices says it exists.

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None A closer look by David Hinds, 2000, Feb 28
(_ Ok success! by Robert Rosenbaum, 2000, Mar 01

Add Message to: "cannot mount cdrom"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10