Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Was hoping someone could help with a problem I recently encountered. I had been running RedHat 7.2 on a dual-processor workstation quite happily. Because RedHat discontinued support for the older versions, I decided to upgrade to RedHat Enterprise Linux ES (kernal 2.4.21-4.ELsmp). I took that opportunity to get a new hard drive for hda, where I keep the system. The install went okay (there are some network issues that I may ask about later), but I am having trouble mounting one of my existing drives, which was working just fine under the last system.
With the new system and drive in place, I have three 250 Gb drives and a DVD. The two drives on the first IDE channel mount just fine. I can also mount CDs/DVDs (slave on the second IDE channel). However, the hard drive that is on hdc will not mount. When I run 'fdisk -l' it doesn't see the drive, and issuing a mount command gives the following error:
mount: /dev/hdc1: can't read superblock
This puzzles me, because the drive worked just fine under the old 7.2 release. I changed the drive configuration around and confirmed that the problem was not with the drive itself. For some reason, whatever hard drive is on the hdc channel cannot be seen. Cables and jumpers are set correctly. This seems like it should be a pretty basic issue, but I can't seem to find any threads that have dealt with it. Any ideas?
phaedros had a problem where he installed an additional disk and Linux would not recognize it. he eventually installed a new kernel which solved the problem.
Thanks for the suggeestions. First, both the DVD and hard drive use the same cables. Second, the Secondary master is turned on in the BIOS. In fact, the BIOS recognizes all three of the 250GB drives and the DVD in their proper places. In the previous (version 7.2) configuration I had it set up exactly the same way - disk with OS on hda, 250 GB drive on hdb, 250 GB drive on hdc, and DVD on hdd. The only change I made was to put a new drive into hda and install the new OS on that drive. And suddenly I can't mount that drive, or even see it with commands like 'fdisk -l', even though the BIOS recognizes the drive.
As far as the kernal goes, I looked at the threads from phaedros and there are many similarities. I even get the 'modprobe: modprobe: Can't locate module ide-disk' warning on boot. But I have the exact same drive in hdb (capacity, speed, manufacuter - the drives are identical). So why would it only be a problem for the drive in hdc?
"So why would it only be a problem for the drive in hdc?"
I don't know. I think that phaedros solved the problem without ever proving a logical cause and effect relationship between the problem and the solution.
Sounds like it is not seeing the drive.
What is the output from
dmesg;
cat /proc/ide/hda/model;
cat /proc/ide/hdb/model;
cat /proc/ide/hdc/model;
cat /proc/ide/hdd/model;
lsmod;
lspci -v;
Sorry to bother everyone with this thread. I just tried something I should have done a while ago. I switched jumpers so that the DVD was the master (hdc) and the hard drive was the slave (hdd). It mounts just fine now. For whatever reason, it seems that hdc was just a bad channel for the hard drive. Perhaps this was the same problem that phaedros had? Anyway, it's all working now. Thank you all for your suggestions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.