LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-09-2011, 01:49 PM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
CD drive is not recognized, but is in BIOS?


Hello everyone,

I have been trying to breath some new life into an old P4 desktop that was an ex-security camera control box from my company. They were just going to throw it away, so I took it home and put the latest Ubuntu (10.10) on it. It has three hard drives, each 500GB, with one Primary and two secondary. They are all IDE. When I tried to run a live CD in the Sony DVD drive, it would get to a start screen, then fail with "Cannot find media with a kernel." Which of course meant that the CD drive with the live CD could not be read. This same result happened with every live CD I tried EXCEPT Ubuntu 9.04, which I went ahead and installed, then upgraded online all the way to Lucid. Everything has been working fine, quick and snappy.

However, I tried to put a DVD in the drive and discovered it was not recognized as even existing. wodim -scanbus command yielded this:

Code:

wodim: No such file or directory.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation

Clicking on the icon in the Computer location of the desktop resulted in the error in the title of this thread.

So, I checked to make sure the BIOS recognized it. It did, and it is connected as an IDE secondary slave. I tried moving the jumpers around to make it a master or cable select, and unless it is connected as a slave, the BIOS won't recognize it. There is no file /dev/cdrom, but I manually added an entry into fstab. There is nothing found in dmesg. There is no doubt that it works because I installed the operating system from a live dvfd.

Can anyone offer an clue what this might be? I know the device is function as it installed Jaunty fine and does run other live cd's to the point of selecting run. This must be the same issue that does not allow the other live cd's to find the kernel.

Thanks in advance for any thoughts or help

Bob
 
Old 01-09-2011, 02:39 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Old systems stink when you put in two drives and may get worse when you try a dvd or other newer drive for booting. The bios was not made to do that and I have had to fool with stuff like that before. Try to remove the dvd or put it on the ide only as master with no other cd/dvd on the system.

Linux distros have changed the way it accesses IDE too. Most call it sdx but really it is not a scsi drive, the os simply is "fooled" or uses it like a scsi.


Try ultimate boot cd too and run some tests.
 
Old 01-09-2011, 03:22 PM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thanks, Jefro for your reply. I seemed to have resolved it, but I am not sure how I did it. I switched the ribbon cables around so that the middle connector when to the board and the end went to dvd drive (it was originally the other way around.) There was, of course, no entry in fstab or a cdrom folder in /media, so I created those and on the next reboot it worked as normal. That is all I did, and after switching the ribbon cable around, dmesg discovered it on the next boot. To tell you the truth, I do not know why which part of the cable is connect to what makes any difference, but it obviously did.

I would normally agree with you about older systems, but this one is a P4 3.00ghz with a 128mb ATI card and I felt like it could still have some life rather than just throwing it away. P4's were always workhorses for me. My company used this computer to control 8 security cameras, so it ran 24/7 for five years. I didn't expect much when I got home, but to my surprise everything is in good shape and Ubuntu 10.10 runs very fast on it.

I will test it a few more days, then try to find a family who may be able to use it and can't afford a new one.

Thanks for your help

Bob
 
Old 01-09-2011, 05:12 PM   #4
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Normally the middle connector should be connected to slave drive, the nearer end to master drive and the further end to motherboard. Cable select option not always work as expected, so better is setting jumpers manually, and using 80 pins cable. The other way of connecting may lead to undetectable drives or bad performance. If your drive work as you described, it can be possible that cable is damaged. Better will be buying new cable.
 
Old 01-10-2011, 04:29 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Sorry, when I read older p4 I was thinking like a 700 to 1.5 or so processor.
 
  


Reply



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
slave hdd not recognized by the bios anotherpenguin Linux - Hardware 5 11-28-2008 11:08 AM
Fantom Drive MTT40 (USB 2.0) drive not being recognized. indienick Linux - Hardware 0 08-19-2007 10:49 AM
Compaq RA4000/4100 Controller not recognized by bios in Redhat 9.. rld1025 Linux - Hardware 1 10-21-2005 09:05 AM
old BIOS (1992) won't detect my cdrom drive; BIOS says: neither IDE prots enabled carbono Linux - Hardware 5 05-18-2004 11:07 AM
Large HDD not recognized by BIOS charon79m Linux - Hardware 10 04-21-2004 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:55 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
Open Source Consulting | Domain Registration