LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 06-10-2004, 08:04 PM   #1
cddesjar
Member
 
Registered: Jan 2004
Location: Maine/Minnesota/Alberta
Distribution: Debian Sid
Posts: 125

Rep: Reputation: 15
/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
 
Old 06-10-2004, 09:28 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,331

Rep: Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597
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?

Last edited by michaelk; 06-10-2004 at 09:31 PM.
 
Old 06-11-2004, 12:55 PM   #3
cddesjar
Member
 
Registered: Jan 2004
Location: Maine/Minnesota/Alberta
Distribution: Debian Sid
Posts: 125

Original Poster
Rep: Reputation: 15
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
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CDROM problems Dell Inspiron 1100 Fedora Core 1.0 cddesjar Linux - Hardware 3 07-02-2004 03:24 AM
CD Writer Gnome Toaster 1.0Beta6 for Fedora Core 1.0 on Dell Inspiron 1100 cddesjar Linux - Software 14 02-29-2004 10:25 PM
ACPI Patch for BIOS 25 Dell Inspiron 1100 w/ Fedora Core 1.0 cddesjar Linux - Laptop and Netbook 4 02-19-2004 07:18 PM
Broadcom V.92 MDC Modem for Dell Inspiron 1100 not being recognized by Fedora Core 1. cddesjar Linux - Hardware 1 02-07-2004 08:07 PM
ACPI Patch for BIOS 25 Dell Inspiron 1100 w/ Fedora Core 1.0 cddesjar Linux - Laptop and Netbook 0 01-22-2004 09:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:41 PM.

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