LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   /dev/cdrom problems with Fedora Core on Dell Inspiron 1100 (https://www.linuxquestions.org/questions/linux-general-1/dev-cdrom-problems-with-fedora-core-on-dell-inspiron-1100-a-192116/)

cddesjar 06-10-2004 08:04 PM

/dev/cdrom problems with Fedora Core on Dell Inspiron 1100
 
Hello everyone!
I have a brain buster for someone out there. I think I may have deleted my /dev/cdrom and therefore I am unable to use my CDrom drive. I was trying to delete some symlinks but I think I accidently deleted /dev/cdrom and the /dev/scd0. Does anyone have any suggestions how I can either recover it or create a new /dev/cdrom?
This is what I am getting when I looks it under my terminal.

[chris@localhost chris]$ su -
> Password:
> [root@localhost root]# mount /dev/cdrom
> mount: special device /dev/cdrom does not exist

And here is what I did earlier...
root@localhost chris]# mount /mnt/cdrom
> > > mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
> > > or too many mounted file systems
> > > (could this be the IDE device where you in fact use
> > > ide-scsi so that sr0 or sda or so is needed?)
> > > [root@localhost chris]# vi /etc/fstab
> > > [root@localhost chris]# ln -s /dev/cdrom /mnt/cdrom
> > > ln: `/mnt/cdrom/cdrom': File exists
> > > [root@localhost chris]# ln -s /dev/hda /mnt/cdrom
> > > root@localhost chris]# mount /dev/cdrom
> > > mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
> > > or too many mounted file systems
> > > (could this be the IDE device where you in fact use
> > > ide-scsi so that sr0 or sda or so is needed?)
> > > [root@localhost chris]# mount /mnt/cdrom
> > > mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
> > > or too many mounted file systems
> > > (could this be the IDE device where you in fact use
> > > ide-scsi so that sr0 or sda or so is needed?)
> > > [root@localhost chris]# ln -s /dev/cdrom /mnt/cdrom
> > > ln: `/mnt/cdrom/cdrom': File exists
> > > [root@localhost chris]# cd /mnt
> > > [root@localhost mnt]# ls
> > > camera cdrom
> > > [root@localhost mnt]# cd /cdrom
> > > bash: cd: /cdrom: No such file or directory
> > > [root@localhost mnt]# ls
> > > camera cdrom
> > > [root@localhost mnt]# cd cdrom
> > > [root@localhost cdrom]# ls
> > > cdrom hda
> > > [root@localhost cdrom]# cdrom
> > > bash: cdrom: command not found
> > > [root@localhost cdrom]# mount cdrom
> > > mount: can't find /mnt/cdrom/cdrom in /etc/fstab or /etc/mtab

But then as I was saying earlier I did rm /dev/cdrom and rm /dev/hda.
Please someone help. Also I am going to be upgrading to Fedora Core 2.0 in about a week do you think that this will solve my problems and I shouldn't worry to much about this? Initially when I first installed Fedora Core 1.0 I had no problems at all with my cdrom. Will this happen when I install 2.0?
Thanks,
Chris

michaelk 06-10-2004 09:28 PM

Quote:

Will this happen when I install 2.0?
Yes, if you delete the device files again. :)

Where is your CD drive connected? Was it /dev/hda,
Are you using ide-scsi emulation? i.e /dev/scd0

The slightly painless method:
Look at /etc/sysconfig/hwconf file if it exists then look for an entry for your CDROM drive. Delete the entry, save the file and either run kudzu or reboot the PC.

If that doesn't work we can recreate the device files using the mknod command.
BTW device files do not take up much disk space. Was there a reason for deleting the symlinks?

cddesjar 06-11-2004 12:55 PM

Hi...thanks for the help! I check out /etc/sysconfig/hwconf and this is what I got


class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corp.|82845G/GL [Brookdale-G] Chipset Host Bridge"
vendorId: 8086
deviceId: 2560
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcibus: 0
pcidev: 0
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: i810_rng
desc: "Intel Corp.|82801BA/CA/DB/EB PCI Bridge"
vendorId: 8086
deviceId: 244e
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcibus: 0
pcidev: 1e
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: i810-tco
desc: "Intel Corp.|82801DB LPC Interface Controller"
vendorId: 8086
deviceId: 24c0
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcibus: 0
pcidev: 1f
pcifn: 0

I don't see anything that resembles a cdrom entry. Yes I believe my cdrom is at /dev/hda and i think i am using an emulator at /dev/scd0. the reason I started deleting symlinks is because I mount my cdrom at /mnt/cdrom and it was completely messed up. I look forward to all the help that you can give me! And if you could explain everything in the most lucid manner possible that would be great. I am a newbie with linux (January 2004).
thanks for all the help and also if when I upgrade fedora core 1.0 to 2.0 this problem will be fixed we don't have to worry about it too much.
thanks again,
chris


All times are GMT -5. The time now is 02:00 PM.