LinuxQuestions.org
Help answer threads with 0 replies.
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 03-20-2006, 04:56 PM   #1
nmayotte
Member
 
Registered: Jan 2004
Location: Minnesota
Distribution: SuSE 8.0-9.0
Posts: 37

Rep: Reputation: 15
promise ultra 133 tx2 problems


I have a system with two promise ultra 133 tx2's in it. For what ever reason it will not boot when I hook a hard drive up to these. I did the RHEL 4 install with the cards in the system, but no hard drives hooked up to them. Now when I reboot and plug a hard drive into one of them it gets to the grub screen then just stops. It doesn't seem froozen, since I can press the caps lock and numlock buttons and the lights go on and off respectivly, but it doesn't do anything. The screen says :

Booting 'Red Hat Enterprise Linux WS (2.6.9-22.EL)'

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/1 rhgb quiet
[Linux-bzImage, setup=0x1400, size=0x1644e8]
initrd /initrd-2.6.9-22.EL.img
[Linux-initrd @ 0x37f77000, 0x78694 bytes]


And then it just sits after that.

When I boot with no drives attached to the two controller cards it works fine. And whe I do lspci it dectects both cards correctly. What else do I need to do in order to get these to work??
 
Old 03-21-2006, 11:15 AM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Provided that you removed all hard drives from your on-board IDE controller, I would have expected what you did to work, since you are using the LABEL= method to identify the partitions.

One thing that I have noticed when using more than one Promise Ultra100/133 TX2 card in a system is that which card will get the lower device names (i.e., hde, hdf, hdg, hdh) is not always obvious from one motherboard to another.

One theory about your problem would be that you may have placed what you think is (hd0) on the “second” Promise card and that it is really (hd1), (hd2), etc., assuming you have hard drives on both cards.

Now for some diagnostics. Connect your drives to the cards and then boot into rescue mode using your installation media (boot: linux rescue). Don’t search for or mount the installation (although you may want to do that later to fix any problems).

From the prompt, run “fdisk -l” and/or “fdisk -l /dev/hd[e-l]” to verify that the drives are recognized and to see which drive letters they are identified by.

You may find that you need to reorder your drives on the cards to move what you think is (hd0) to the correct position.

If the order seems to be correct, then boot into rescue mode again and search for/mount the installation (i.e., chroot) and change all LABEL= references in /boot/grub/grub.conf and /etc/fstab to the device names. For example, root=LABEL=/1 might be changed to something like root=/dev/hde2, based on what you see using fdisk.

Be sure to back up both files before you modify them (i.e., “cp grub.conf grub.conf.backup").

Last edited by WhatsHisName; 03-21-2006 at 11:20 AM.
 
Old 03-22-2006, 06:01 PM   #3
nmayotte
Member
 
Registered: Jan 2004
Location: Minnesota
Distribution: SuSE 8.0-9.0
Posts: 37

Original Poster
Rep: Reputation: 15
Wait, so I can't use the onboard ide controller card and the ultra 133tx2 at the same time? I was under the impression that this was possible.

also, about the LABEL=, what exactly is the purpose of having that. I don't remember doing anything different but I see that it is in the fstab:
LABEL=/1 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
etc...

how does it know which device (sda1,hdb3, etc) I want these partitions to be?
 
Old 03-22-2006, 06:43 PM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Quote:
Wait, so I can't use the onboard ide controller card and the ultra 133tx2 at the same time? I was under the impression that this was possible.
Sure, you can use as many of the onboard controller and the Promise card IDE channels as you want. But when you relocate some of the drives to the Promise card and leave some on the motherboard controller, the BIOS drive order probably changes.

The physical drive that was (hd0) might become (hd3), for example. Grub gets “confused” when that happens, because it will be looking for your stuff on the wrong drive. So you need to manually modify /boot/grub/grub.conf to reflect the new order.

You probably need to go through and reconfigure/reinstall grub, too.

Quote:
also, about the LABEL=, what exactly is the purpose of having that. I don't remember doing anything different but I see that it is in the fstab:
LABEL=/1 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
etc...
The installer created ext2 labels for the partitions (e.g., /1) and has used those labels instead of the actual device names. Personally, I prefer using the device names.

If you revert to using device names, then you need to modify /boot/grub/grub.conf and /etc/fstab and replace the LABEL= designations with the actual device names.

Quote:
how does it know which device (sda1,hdb3, etc) I want these partitions to be?
You need to rephrase the question, because I don’t understand what you want to know.

But the answer will probably be “Connect the drives to the Promise cards and run “fdisk -l” from rescue mode.”
 
Old 03-22-2006, 06:59 PM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Redhat likes to use labels instead device nodes because it is easier for SCSI users to add new hard drives with out messing up the setup. Setting labels for IDE devices is optional. Labels are set during formatting.

IDE devices range from /dev/hda to /dev/hdz so you can use as many controllers as you want.

You will have to run mkinitrd if Redhat did not include the module to load up your controllers in the initrd file.
 
Old 03-23-2006, 05:53 PM   #6
nmayotte
Member
 
Registered: Jan 2004
Location: Minnesota
Distribution: SuSE 8.0-9.0
Posts: 37

Original Poster
Rep: Reputation: 15
just a thought- this computer has two sata drive hooked up to it as well. RHEL4 is installed on those two sata drives, is it possible that they are conflicting with the drives I try to plug into the controller card?

I tried plugging the two ide drives that are normally plugged into the motherboard into the controller card, and it gave the same results, doesn't this mean that the problem is something else? Since its trying to boot from the sata drives, it really shouldn't matter as far as booting goes where the ide drives are plugged into. To me this seems like its something else, but I'm not sure.
 
Old 03-23-2006, 07:52 PM   #7
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Depending on the SATA controller that you are using. The module (driver) can use either IDE node layout (/dev/hda to /dev/hdz) or SCSI node layout (/dev/sda to /dev/sdz). If it is SCSI, you have to use labels for each partition and have permanent device for the /boot partition that stores grub's config. IDE controllers are pernament even if you add new hard drives. The controller on the motherboard always comes first unless there is a BIOS option to change this behavior.

At the grub screen try going into console mode. Then type root (hd<tab>. <tab> means hit the tab key and not actually typing the word <tab>. You will get a list of devices. After you select a device, you can get a list on the partition. You may have to repeat root (hd<tab> to find the correct device. By typing root (hd0,<tab> will print a list of partitions for the first hard drive. The grub console can help you view files, but I suggest that you do not write to any files.

Take out quiet at the kernel line. It does help to find out what the kernel is doing. It is probably probing other IDE or SATA devices that are not yet connected. Usually it is IDE. On IDE channels that are not connected include hdX=noprobe. X designates the device such as hda=noprobe for the primary master.
 
Old 03-27-2006, 03:36 PM   #8
nmayotte
Member
 
Registered: Jan 2004
Location: Minnesota
Distribution: SuSE 8.0-9.0
Posts: 37

Original Poster
Rep: Reputation: 15
OK, so far I've tried pretty much all of the suggestions in this thread so far and its still a no-go. One thing I did notice today: I unplugged the two sata drives (one of those hat the /boot partition) and had an ide cdrom plugged into the onboard controller and an ide drive plugged into one of the pci cards, and tried going into rescue mode in linux. This froze the computer. Doesn't this seem like something else is going on besides it looking for the wrong partition? I think I'm going to try installing the updated bios to one of the pci cards to see if that makes a difference.

edit- at this point I think this is just a compatability problem between the motherboard and these pci cards. I put one of the pci cards in a different computer and hooked an ide drive up to it and its working like it should.

Last edited by nmayotte; 03-27-2006 at 04:19 PM.
 
Old 03-28-2006, 04:01 PM   #9
nmayotte
Member
 
Registered: Jan 2004
Location: Minnesota
Distribution: SuSE 8.0-9.0
Posts: 37

Original Poster
Rep: Reputation: 15
well apparently it is just a software thing. I connected a drive to the pci card and loaded up knoppix and did an fdisk -l. And there it listed /dev/hde as the drive that was connected. I'm really at a loss now. I tried adding hde=noprobe to the grub line and that didn't help. Any other suggestions?
 
  


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
BIG PROBLEM ASUS A7V8X + SATA + Promise Ultra 133 TX lunitic Linux - Hardware 4 01-11-2004 02:56 PM
Lilo dual-booting problems (L 99 99 ...) with a Maxtor Ultra ATA/133 PCI Adapter ThrowAwayAccoun Linux - Hardware 3 12-06-2003 09:56 AM
Promise TX2 133 controller and installation ge-flopt Debian 1 11-25-2003 08:16 PM
Multiple PROMISE Ultra 133 :( lunitic Linux - Hardware 0 09-28-2003 10:45 AM
promise ultra 100 tx2 ISOmorph Linux - Hardware 2 07-05-2003 10:17 PM

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

All times are GMT -5. The time now is 01:34 AM.

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